Problem with hive

I am unable to see the tables. I am getting this message.

hive> show tables;
OK
Exception in thread “main” java.lang.NoClassDefFoundError: org/apache/hadoop/util/StopWatch
at org.apache.hadoop.mapred.FileInputFormat.getSplits(FileInputFormat.java:314)
at org.apache.hadoop.hive.ql.exec.FetchOperator.getNextSplits(FetchOperator.java:362)
at org.apache.hadoop.hive.ql.exec.FetchOperator.getRecordReader(FetchOperator.java:294)
at org.apache.hadoop.hive.ql.exec.FetchOperator.getNextRow(FetchOperator.java:445)

Which environment are you talking about?

It is vm. With cloudera hadoop

Sir, also could you please share the orders data file that you are using in hive demos.

Pls see link

1 Like