Andrew Sherman created HIVE-18877:

             Summary: HiveSchemaTool.validateSchemaTables() should wrap a 
SQLException when rethrowing
                 Key: HIVE-18877
             Project: Hive
          Issue Type: Bug
            Reporter: Andrew Sherman
            Assignee: Andrew Sherman

If schematool is run with the -verbose flag then it will print a stack trace 
for an exception that occurs. If a SQLException is caught during 
HiveSchemaTool.validateSchemaTables() then a HiveMetaException is rethrown 
containing the text of the SQLException. If we instead throw  a 
HiveMetaException that wraps the SQLException then the stacktrace will help 
with diagnosis of issues where the SQLException contains a generic error text. 

This message was sent by Atlassian JIRA

Reply via email to