hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hashut...@apache.org
Subject hive git commit: HIVE-17302 : ReduceRecordSource should not add batch string to Exception message (Slim B via Prasanth J)
Date Tue, 22 Aug 2017 19:46:44 GMT
Repository: hive
Updated Branches:
  refs/heads/master f0b0cc268 -> 8fe6e41af


HIVE-17302 : ReduceRecordSource should not add batch string to Exception message (Slim B via
Prasanth J)

Signed-off-by: Ashutosh Chauhan <hashutosh@apache.org>


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

Branch: refs/heads/master
Commit: 8fe6e41afdee0bd044fd004f322f78162a0b41b5
Parents: f0b0cc2
Author: Slim Bouguerra <slim.bouguerra@gmail.com>
Authored: Fri Aug 11 15:02:00 2017 -0700
Committer: Ashutosh Chauhan <hashutosh@apache.org>
Committed: Tue Aug 22 12:45:56 2017 -0700

----------------------------------------------------------------------
 .../apache/hadoop/hive/ql/exec/tez/ReduceRecordSource.java    | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/8fe6e41a/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/ReduceRecordSource.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/ReduceRecordSource.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/ReduceRecordSource.java
index bdde81a..872c223 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/ReduceRecordSource.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/ReduceRecordSource.java
@@ -384,7 +384,7 @@ public class ReduceRecordSource implements RecordSource {
   }
 
   /**
-   * 
+   *
    * @param keyWritable
    * @param values
    * @param tag
@@ -470,9 +470,10 @@ public class ReduceRecordSource implements RecordSource {
         rowString = "[Error getting row data with exception "
             + StringUtils.stringifyException(e2) + " ]";
       }
+      l4j.error("Hive Runtime Error while processing vector batch (tag=" + tag
+              + ") (vectorizedVertexNum " + vectorizedVertexNum + ") " + rowString, e);
       throw new HiveException("Hive Runtime Error while processing vector batch (tag="
-          + tag + ") (vectorizedVertexNum " + vectorizedVertexNum + ") " +
-          rowString, e);
+          + tag + ") (vectorizedVertexNum " + vectorizedVertexNum + ")", e);
     }
   }
 


Mime
View raw message