Hdb查询在jdbc上失败

时间:2016-02-24 12:33:20

标签: hadoop jdbc hive cloudera

我的查询失败就像

select * from example_table where (...) OR (...) OR (...)

其中(...)表示简单的布尔运算。 但是,相同的查询在Hue接口上成功运行;它在jdbc驱动程序上失败,我用类“com.cloudera.hive.jdbc4.HS2Driver”连接到hiveserver2 thrift端口。 java失败的消息是:

FeatureNotSupportedException: Error message not found: FEATURE_NOT_SUPPORTED. Can't find bundle for base name com.cloudera.hive.sqlengine.SQLEngineMessages, locale en_US

顺便说一下,我在eclipse中接受了这个错误,一个简单的查询就像“show tables”或一个简单的select语句在我的eclipse上成功运行。 谢谢,

0 个答案:

没有答案