开发者

Hive doesn't respond when I try to make a query

开发者 https://www.devze.com 2023-03-07 06:26 出处:网络
I have a setup on a EC2 instance that uses Whirr to spin up new hadoop instances. I have been trying to get Hive开发者_如何学JAVA to work with this setup. Hive should be configured to use mysql as the

I have a setup on a EC2 instance that uses Whirr to spin up new hadoop instances. I have been trying to get Hive开发者_如何学JAVA to work with this setup. Hive should be configured to use mysql as the local metastore. The issue that I am having is that every time I try to run a query like( CREATE TABLE testers (foo INT, bark STRING); ) via the hive interface it just hangs there and doesn't seem like it is doing anything.

Any help would be appreciated.


I would first get the debug output from the hive command line to see where it is hanging. Run the hive shell with this parameter, and then paste the output of your command.

hive -hiveconf hive.root.logger=DEBUG,console

0

精彩评论

暂无评论...
验证码 换一张
取 消