Nishant Bangarwa created HIVE-20626:
---------------------------------------

             Summary: Log more details when druid metastore transaction fails 
in callback
                 Key: HIVE-20626
                 URL: https://issues.apache.org/jira/browse/HIVE-20626
             Project: Hive
          Issue Type: Task
          Components: Druid integration
            Reporter: Nishant Bangarwa
            Assignee: Nishant Bangarwa


Below exception does not give much details on what is the actual cause of the 
error. 
We also need to log the callback exception when we get it. 
{code} 
Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: 
MetaException(message:Transaction failed do to exception being thrown from 
within the callback. See cause for the original exception.)
        at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:932) 
~[hive-exec-3.1.0.3.0.0.0-1634.jar:3.1.0.3.0.0.0-1634]
        at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:937) 
~[hive-exec-3.1.0.3.0.0.0-1634.jar:3.1.0.3.0.0.0-1634]
        at 
org.apache.hadoop.hive.ql.exec.DDLTask.createTable(DDLTask.java:4954) 
~[hive-exec-3.1.0.3.0.0.0-1634.jar:3.1.0.3.0.0.0-1634]
        at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:428) 
~[hive-exec-3.1.0.3.0.0.0-1634.jar:3.1.0.3.0.0.0-1634]
        at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:205) 
~[hive-exec-3.1.0.3.0.0.0-1634.jar:3.1.0.3.0.0.0-1634]
        at 
org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:97) 
~[hive-exec-3.1.0.3.0.0.0-1634.jar:3.1.0.3.0.0.0-1634]
        at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:2668) 
~[hive-exec-3.1.0.3.0.0.0-1634.jar:3.1.0.3.0.0.0-1634]
{code} 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to