Hadoop收到数据错误

时间:2015-04-28 20:42:58

标签: java hadoop hive

我正在尝试使用java程序从表中获取数据。我在eclipse中将所有罐子添加到我的项目中但是我收到了这个错误:

Exception in thread "main" java.sql.SQLException: Query returned non-zero code: 40000, 
cause: FAILED: RuntimeException MetaException(message:java.lang.ClassNotFoundException 
                Class com.cloudera.hive.serde.JSONSerDe not found)
        at org.apache.hadoop.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:189)
        at hive.HiveQLWhere.main(HiveQLWhere.java:27)

0 个答案:

没有答案