Hi,

We are trying to upgrade hive from 0.9.0 to 0.10.0 (apache). When we deploy
the 0.10.0 binaries and start meta thrift server, we got the following
error:

hadoop@ip-10-4-106-145:~/hive$ ./bin/hive --service metastore
Starting Hive Metastore Server
WARNING: org.apache.hadoop.metrics.jvm.EventCounter is deprecated. Please
use org.apache.hadoop.log.metrics.EventCounter in all the log4j.properties
files.
java.lang.NoSuchFieldError: METASTORE_USE_THRIFT_FRAMED_TRANSPORT
    at
org.apache.hadoop.hive.metastore.HiveMetaStore.startMetaStore(HiveMetaStore.java:4178)
    at
org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:4138)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
Exception in thread "main" java.lang.NoSuchFieldError:
METASTORE_USE_THRIFT_FRAMED_TRANSPORT
    at
org.apache.hadoop.hive.metastore.HiveMetaStore.startMetaStore(HiveMetaStore.java:4178)
    at
org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:4138)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.apache.hadoop.util.RunJar.main(RunJar.java:156)

Any clue what's going on here?

Thanks,
Shanzhong

Reply via email to