hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Wampler <dean.wamp...@thinkbiganalytics.com>
Subject Re: Hive 0.10.0 metastore thrift server installation error
Date Thu, 14 Mar 2013 12:42:45 GMT
You have to upgrade the existing metastore, although I'm not sure this is
the cause. Did you do that?

See the README in the Hive installation directory and scripts to do the
upgrade in scripts/metastore/upgrade.

dean

On Thu, Mar 14, 2013 at 3:51 AM, Shangzhong zhu <shanzhong@gmail.com> wrote:

> 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, Ph.D.*
thinkbiganalytics.com
+1-312-339-1330

Mime
View raw message