This is an automated email from the ASF dual-hosted git repository.

lesun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/gobblin.git

commit 569cdb762367a132e691936b341f5cea0c3047f1
Author: Zihan Li <[email protected]>
AuthorDate: Thu May 13 13:06:11 2021 -0700

    address comments
---
 .../main/java/org/apache/gobblin/hive/writer/HiveMetadataWriter.java   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/gobblin-hive-registration/src/main/java/org/apache/gobblin/hive/writer/HiveMetadataWriter.java
 
b/gobblin-hive-registration/src/main/java/org/apache/gobblin/hive/writer/HiveMetadataWriter.java
index b11948c..ae35657 100644
--- 
a/gobblin-hive-registration/src/main/java/org/apache/gobblin/hive/writer/HiveMetadataWriter.java
+++ 
b/gobblin-hive-registration/src/main/java/org/apache/gobblin/hive/writer/HiveMetadataWriter.java
@@ -103,8 +103,7 @@ public class HiveMetadataWriter implements MetadataWriter {
         try {
           execution.getValue().get(timeOutSeconds, TimeUnit.SECONDS);
         } catch (InterruptedException | ExecutionException | TimeoutException 
e) {
-          log.error("Error when getting the result of registration for table" 
+ tableKey);
-          throw new RuntimeException(e);
+          throw new RuntimeException("Error when getting the result of 
registration for table" + tableKey, e);
         }
       }
       executionMap.clear();

Reply via email to