Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive, mail # user - Hive 0.10.0 metastore thrift server installation error


Copy link to this message
-
Hive 0.10.0 metastore thrift server installation error
Shangzhong zhu 2013-03-14, 08:51
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
+
Dean Wampler 2013-03-14, 12:42
+
Shangzhong zhu 2013-03-14, 17:05
+
Abdelrhman Shettia 2013-03-15, 00:03