Problem with hive

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

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

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