hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laszlo Kovari (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (HIVE-18880) Change Log to Debug in CombineHiveInputFormat
Date Mon, 23 Apr 2018 12:42:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-18880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Laszlo Kovari reassigned HIVE-18880:
------------------------------------

    Assignee: Antal Sinkovits

> Change Log to Debug in CombineHiveInputFormat
> ---------------------------------------------
>
>                 Key: HIVE-18880
>                 URL: https://issues.apache.org/jira/browse/HIVE-18880
>             Project: Hive
>          Issue Type: Improvement
>          Components: HiveServer2
>    Affects Versions: 3.0.0
>            Reporter: BELUGA BEHR
>            Assignee: Antal Sinkovits
>            Priority: Trivial
>              Labels: noob
>
> [https://github.com/apache/hive/blob/1e74aca8d09ea2ef636311d2168b4d34198f7194/ql/src/java/org/apache/hadoop/hive/ql/io/CombineHiveInputFormat.java#L467]
> {code:java}
>   private InputSplit[] getCombineSplits(JobConf job, int numSplits,
>       Map<Path, PartitionDesc> pathToPartitionInfo) {
> ...
>   LOG.info("number of splits " + result.size());
> ...
> }
> {code}
> [https://github.com/apache/hive/blob/1e74aca8d09ea2ef636311d2168b4d34198f7194/ql/src/java/org/apache/hadoop/hive/ql/io/CombineHiveInputFormat.java#L587]
> {code:java}
> public InputSplit[] getSplits(JobConf job, int numSplits) throws IOException {
> ...
>   LOG.info("Number of all splits " + result.size());
> ...
> }
> {code}
>  # Capitalize "N"umber in the first logging to be consistent across all logging statements
>  # Change the first logging message to be _debug_ level seeing as it's in a private method.
>  It's an implementation logging and the entire total (most useful for a client) is captured
in _info_ level at the end of the public method.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message