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 2019/01/07 14:07:04 UTC

hive git commit: HIVE-20160: Do Not Print StackTraces to STDERR in OperatorFactory (BELUGA BEHR reviewed by Prasanth Jayachandran and Peter Vary)

Repository: hive
Updated Branches:
  refs/heads/master 16d39c6ab -> ac73ad80b


HIVE-20160: Do Not Print StackTraces to STDERR in OperatorFactory (BELUGA BEHR reviewed by Prasanth Jayachandran 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/ac73ad80
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/ac73ad80
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/ac73ad80

Branch: refs/heads/master
Commit: ac73ad80b903a16e38958e04ea80bf52c5b7bdf7
Parents: 16d39c6
Author: BELUGA BEHR <da...@gmail.com>
Authored: Mon Jan 7 15:06:13 2019 +0100
Committer: Peter Vary <pv...@cloudera.com>
Committed: Mon Jan 7 15:06:13 2019 +0100

----------------------------------------------------------------------
 ql/src/java/org/apache/hadoop/hive/ql/exec/OperatorFactory.java | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/ac73ad80/ql/src/java/org/apache/hadoop/hive/ql/exec/OperatorFactory.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/OperatorFactory.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/OperatorFactory.java
index b61d37e..e97fcef 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/OperatorFactory.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/OperatorFactory.java
@@ -159,7 +159,6 @@ public final class OperatorFactory {
           CompilationOpContext.class, OperatorDesc.class,
           VectorizationContext.class, VectorDesc.class);
     } catch (Exception e) {
-      e.printStackTrace();
       throw new HiveException(
           "Constructor " + opClass.getSimpleName() +
           "(CompilationOpContext, OperatorDesc, VectorizationContext, VectorDesc) not found", e);
@@ -170,7 +169,6 @@ public final class OperatorFactory {
           cContext, conf, vContext, vectorDesc);
       return op;
     } catch (Exception e) {
-      e.printStackTrace();
       throw new HiveException(
           "Error encountered calling constructor " + opClass.getSimpleName() +
           "(CompilationOpContext, OperatorDesc, VectorizationContext, VectorDesc)", e);
@@ -197,7 +195,6 @@ public final class OperatorFactory {
         return (Operator<T>)opClass.getDeclaredConstructor(
           CompilationOpContext.class).newInstance(cContext);
       } catch (Exception e) {
-        e.printStackTrace();
         throw new RuntimeException(e);
       }
     }