You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Vineet Garg (JIRA)" <ji...@apache.org> on 2018/05/22 21:13:04 UTC

[jira] [Updated] (HIVE-18880) Change Log to Debug in CombineHiveInputFormat

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

Vineet Garg updated HIVE-18880:
-------------------------------
    Fix Version/s:     (was: 3.1.0)
                   4.0.0

> 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
>             Fix For: 4.0.0
>
>         Attachments: HIVE-18880.2.patch, HIVE-18880.patch
>
>
> [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)