kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From guozh...@apache.org
Subject kafka git commit: KAFKA-5893: more logging for investigating ResetIntegrationTest failures
Date Mon, 18 Sep 2017 12:22:34 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk ed0e69214 -> b363901cb


KAFKA-5893: more logging for investigating ResetIntegrationTest failures

 - improve stderr output for better debugging

Author: Matthias J. Sax <matthias@confluent.io>

Reviewers: Bill Bejeck <bill@confluent.io>, Guozhang Wang <wangguoz@gmail.com>

Closes #3859 from mjsax/kafka-5893-reset-integration-test


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

Branch: refs/heads/trunk
Commit: b363901cbe9451bc5fc7ce55053aab1ffa9d7d49
Parents: ed0e692
Author: Matthias J. Sax <matthias@confluent.io>
Authored: Mon Sep 18 20:22:24 2017 +0800
Committer: Guozhang Wang <wangguoz@gmail.com>
Committed: Mon Sep 18 20:22:24 2017 +0800

----------------------------------------------------------------------
 core/src/main/scala/kafka/tools/StreamsResetter.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/b363901c/core/src/main/scala/kafka/tools/StreamsResetter.java
----------------------------------------------------------------------
diff --git a/core/src/main/scala/kafka/tools/StreamsResetter.java b/core/src/main/scala/kafka/tools/StreamsResetter.java
index 55989f4..7ee5424 100644
--- a/core/src/main/scala/kafka/tools/StreamsResetter.java
+++ b/core/src/main/scala/kafka/tools/StreamsResetter.java
@@ -123,7 +123,8 @@ public class StreamsResetter {
 
         } catch (final Throwable e) {
             exitCode = EXIT_CODE_ERROR;
-            System.err.println("ERROR: " + e.getMessage());
+            System.err.println("ERROR: " + e);
+            e.printStackTrace(System.err);
         } finally {
             if (adminClient != null) {
                 adminClient.close();


Mime
View raw message