parquet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jul...@apache.org
Subject parquet-mr git commit: PARQUET-806: Parquet-tools silently suppresses error messages
Date Thu, 26 Jan 2017 23:38:02 GMT
Repository: parquet-mr
Updated Branches:
  refs/heads/master 6fb60857b -> 3634821fa


PARQUET-806: Parquet-tools silently suppresses error messages

The "error message" that used to be

org/apache/hadoop/conf/Configuration

now becomes:

NoClassDefFoundError: org/apache/hadoop/conf/Configuration

Author: Zoltan Ivanfi <zi@cloudera.com>

Closes #396 from zivanfi/PARQUET-806 and squashes the following commits:

b1fe699 [Zoltan Ivanfi] PARQUET-806: Parquet-tools silently suppresses error messages


Project: http://git-wip-us.apache.org/repos/asf/parquet-mr/repo
Commit: http://git-wip-us.apache.org/repos/asf/parquet-mr/commit/3634821f
Tree: http://git-wip-us.apache.org/repos/asf/parquet-mr/tree/3634821f
Diff: http://git-wip-us.apache.org/repos/asf/parquet-mr/diff/3634821f

Branch: refs/heads/master
Commit: 3634821fa515365618209f0452443728e7290fca
Parents: 6fb6085
Author: Zoltan Ivanfi <zi@cloudera.com>
Authored: Thu Jan 26 15:37:57 2017 -0800
Committer: Julien Le Dem <julien@dremio.com>
Committed: Thu Jan 26 15:37:57 2017 -0800

----------------------------------------------------------------------
 parquet-tools/src/main/java/org/apache/parquet/tools/Main.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/parquet-mr/blob/3634821f/parquet-tools/src/main/java/org/apache/parquet/tools/Main.java
----------------------------------------------------------------------
diff --git a/parquet-tools/src/main/java/org/apache/parquet/tools/Main.java b/parquet-tools/src/main/java/org/apache/parquet/tools/Main.java
index d41ae57..96a483f 100644
--- a/parquet-tools/src/main/java/org/apache/parquet/tools/Main.java
+++ b/parquet-tools/src/main/java/org/apache/parquet/tools/Main.java
@@ -162,7 +162,7 @@ public class Main {
   }
 
   public static void die(Throwable th, boolean usage, String name, Command command) {
-    die(th.getMessage(), usage, name, command);
+    die(th.toString(), usage, name, command);
   }
 
   public static void main(String[] args) {


Mime
View raw message