Created on 03-04-2018 05:13 PM - edited 09-16-2022 05:56 AM
Hi,
I've succeed to create hive table by reflection from druid datasource . after restarting the hdp cluster I'm not able to query anymore this hive table I get
Error: Error while compiling statement: FAILED: RuntimeException java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
Now I would like to understand what the problem where can I check log file or something to understand what the problem.
Inneractive query is enable and running as expected, druid also work as expected
Thanks for help @Slim
|
Created 03-06-2018 01:12 PM
Hi
I've tried to check all the possible logs and I can't get any clue on what's going on
I only get this in all log beeline and hive-server2-interactive.err
Do you know what else I can check ?
Here the hive-server2-interative.err
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. null
Added [/usr/hdp/2.6.4.0-91/hive2/lib/hive-druid-handler.jar] to class path
Added resources: [/usr/hdp/2.6.4.0-91/hive2/lib/hive-druid-handler.jar]
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. null
OK
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. null
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. null
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. null
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. null
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. null
Thanks
Created 03-06-2018 03:44 PM
i believe HS2 logs are under /var/log/hive/hiveserver2.log
Created 03-13-2018 08:36 PM
Hello @Richard Grossman,
Please follow this article to enable debug for Beeline. That might help you. Please paste the relevant debug log here if you want us to have a look.
Hope this helps!
Created 03-13-2018 09:49 PM
For full stack of error message from hive you could look into hiveserver log like @Slim was mentioning. Since hive interactive is enabled I believe you should look into hsihiveserver log on the node where HiveServer2 Interactive is running