BELUGA BEHR created HIVE-18880:
----------------------------------

             Summary: 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


[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)

Reply via email to