You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by pv...@apache.org on 2018/02/05 13:54:47 UTC
hive git commit: HIVE-16805: Utilities isEmptyPath Logging Too Chatty
and Uses Bad Format (BELUGA BEHR, reviewed by Zoltan Haindrich and Peter Vary)
Repository: hive
Updated Branches:
refs/heads/master 0a328f030 -> d1098536f
HIVE-16805: Utilities isEmptyPath Logging Too Chatty and Uses Bad Format (BELUGA BEHR, reviewed by Zoltan Haindrich and Peter Vary)
Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/d1098536
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/d1098536
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/d1098536
Branch: refs/heads/master
Commit: d1098536f72ad254dabbb0d7471fa6c7e8b9933c
Parents: 0a328f0
Author: Peter Vary <pv...@cloudera.com>
Authored: Mon Feb 5 14:54:02 2018 +0100
Committer: Peter Vary <pv...@cloudera.com>
Committed: Mon Feb 5 14:54:02 2018 +0100
----------------------------------------------------------------------
ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hive/blob/d1098536/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java
index 7348faa..cf108e3 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java
@@ -2588,14 +2588,14 @@ public final class Utilities {
if (ctx != null) {
ContentSummary cs = ctx.getCS(dirPath);
if (cs != null) {
- if (LOG.isInfoEnabled()) {
- LOG.info("Content Summary {} length: {} num files: {}" +
- " num directories: {}", dirPath, cs.getLength(), cs.getFileCount(),
- cs.getDirectoryCount());
+ if (LOG.isDebugEnabled()) {
+ LOG.debug("Content Summary cached for {} length: {} num files: {} " +
+ "num directories: {}", dirPath, cs.getLength(), cs.getFileCount(),
+ cs.getDirectoryCount());
}
return (cs.getLength() == 0 && cs.getFileCount() == 0 && cs.getDirectoryCount() <= 1);
} else {
- LOG.info("Content Summary not cached for {}", dirPath);
+ LOG.debug("Content Summary not cached for {}", dirPath);
}
}
return isEmptyPath(job, dirPath);