hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject hive git commit: HIVE-13174: Remove Vectorizer noise in logs (Wei Zheng, reviewed by Matt McCline)
Date Tue, 01 Mar 2016 22:45:16 GMT
Repository: hive
Updated Branches:
  refs/heads/branch-1 82c2acdbe -> 9b36bbb04


HIVE-13174: Remove Vectorizer noise in logs (Wei Zheng, reviewed by Matt McCline)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/9b36bbb0
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/9b36bbb0
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/9b36bbb0

Branch: refs/heads/branch-1
Commit: 9b36bbb042fae311434545f6c4e69b7370d7fd2f
Parents: 82c2acd
Author: Daniel Dai <daijy@hortonworks.com>
Authored: Tue Mar 1 14:43:16 2016 -0800
Committer: Daniel Dai <daijy@hortonworks.com>
Committed: Tue Mar 1 14:44:46 2016 -0800

----------------------------------------------------------------------
 .../hadoop/hive/ql/optimizer/physical/Vectorizer.java       | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/9b36bbb0/ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/Vectorizer.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/Vectorizer.java b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/Vectorizer.java
index 5d010cc..84c1b35 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/Vectorizer.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/Vectorizer.java
@@ -1539,7 +1539,10 @@ public class Vectorizer implements PhysicalPlanResolver {
         return false;
       }
     } catch (Exception e) {
-      LOG.info("Failed to vectorize", e);
+      if (LOG.isDebugEnabled()) {
+        LOG.debug("Failed to vectorize", e);
+      }
+
       return false;
     }
     return true;
@@ -1600,7 +1603,9 @@ public class Vectorizer implements PhysicalPlanResolver {
         vectorAggrExpr = vc.getAggregatorExpression(aggDesc, isReduce);
     } catch (Exception e) {
       // We should have already attempted to vectorize in validateAggregationDesc.
-      LOG.info("Vectorization of aggreation should have succeeded ", e);
+      if (LOG.isDebugEnabled()) {
+        LOG.debug("Vectorization of aggreation should have succeeded ", e);
+      }
       return false;
     }
 


Mime
View raw message