I install hadoop and hive ,hadoop version is 0.20.2 ,hive version is 0.70.0 ,

Step I : bin/hive --service hiveserver &
I find hive server start atrer  I run jps  .the result is :
6314 HMaster
12746 RunJar
13189 Jps
9152 JobTracker
8886 NameNode
12203 NetworkServerControl
6251 HQuorumPeer
9052 SecondaryNameNode

Step 2  bin/hive ,some exception is thown.

Exception in thread "main" java.lang.NoSuchMethodError: 
org.apache.hadoop.hive.cli.CliSessionState.setIsVerbose(Z)V
        at 
org.apache.hadoop.hive.cli.OptionsProcessor.process_stage2(OptionsProcessor.java:115)
        at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:394)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:156)

Reply via email to