You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@impala.apache.org by Mars Xu <xu...@gmail.com> on 2017/01/10 02:20:30 UTC

Could not initialize class com.cloudera.impala.util.MetaStoreUtil when using impala cdh rpm on apache hadoop

Hello all,
     
      I’m using impala on apache hadoop cluster, the installation of impala using the rpm package from cdh, I have start up all service ,but now the any ddl or dml statement will through out this error:


Query: select * from value_list_web
Query submitted at: 2017-01-10 10:13:51 (Coordinator: http://master:25000)
ERROR: AnalysisException: Failed to load metadata for table: 'value_list_web'
CAUSED BY: TableLoadingException: java.lang.NoClassDefFoundError: Could not initialize class com.cloudera.impala.util.MetaStoreUtil
CAUSED BY: ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class com.cloudera.impala.util.MetaStoreUtil
CAUSED BY: NoClassDefFoundError: Could not initialize class com.cloudera.impala.util.MetaStoreUtil

I replace hive related jars and sentry related jars from hive-cdh and sentry cdh, what can I do to solve this problem ?

thanks very much.

Re: Could not initialize class com.cloudera.impala.util.MetaStoreUtil when using impala cdh rpm on apache hadoop

Posted by Tim Armstrong <ta...@cloudera.com>.
Hi Mars,
 It would help if you let us know what version of the Impala, Hadoop, Hive,
etc you have installed.

We haven't done any testing of Impala on Apache Hadoop. It looks like the
catalog daemon is missing some things from its classpath, but I don't know
enough of the context to guess why that is.

On Mon, Jan 9, 2017 at 6:20 PM, Mars Xu <xu...@gmail.com> wrote:

> Hello all,
>
>       I’m using impala on apache hadoop cluster, the installation of
> impala using the rpm package from cdh, I have start up all service ,but now
> the any ddl or dml statement will through out this error:
>
>
> Query: select * from value_list_web
> Query submitted at: 2017-01-10 10:13:51 (Coordinator: http://master:25000)
> ERROR: AnalysisException: Failed to load metadata for table:
> 'value_list_web'
> CAUSED BY: TableLoadingException: java.lang.NoClassDefFoundError: Could
> not initialize class com.cloudera.impala.util.MetaStoreUtil
> CAUSED BY: ExecutionException: java.lang.NoClassDefFoundError: Could not
> initialize class com.cloudera.impala.util.MetaStoreUtil
> CAUSED BY: NoClassDefFoundError: Could not initialize class
> com.cloudera.impala.util.MetaStoreUtil
>
> I replace hive related jars and sentry related jars from hive-cdh and
> sentry cdh, what can I do to solve this problem ?
>
> thanks very much.