Support Questions

Find answers, ask questions, and share your expertise
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

Who agreed with this topic

Hive Fails to start


Hello Community,


I've been trying to execute the next step in the documentation.


I have done every step on Enabling the HDFS-Sentry Plugin Using Cloudera Manager and stepped into an error on starting HDFS Service that HDFS didn't find Sentry Plugin Class, that got solved by executing


# yum install sentry-hdfs-plugin

I managed, then, to start HDFS Service, but then Hive Metastore Server stopped with the next error.


[main]: Metastore Thrift Server threw an exception...
MetaException(message:Failed to instantiate listener named: org.apache.sentry.binding.metastore.SentryMetastorePostEventListener, reason: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.sentry.hdfs.MetastorePlugin not found)
	at org.apache.hadoop.hive.metastore.MetaStoreUtils.getMetaStoreListeners(
	at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.init(
	at org.apache.hadoop.hive.metastore.RetryingHMSHandler.<init>(
	at org.apache.hadoop.hive.metastore.RetryingHMSHandler.getProxy(
	at org.apache.hadoop.hive.metastore.HiveMetaStore.newRetryingHMSHandler(
	at org.apache.hadoop.hive.metastore.HiveMetaStore.newRetryingHMSHandler(
	at org.apache.hadoop.hive.metastore.HiveMetaStore.startMetaStore(
	at org.apache.hadoop.hive.metastore.HiveMetaStore.main(
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at org.apache.hadoop.util.RunJar.main(

I was looking for some answer as it seems to be an easy problem, but I found nothing related so I think it will be interesting to have it here to help others.


Now I am working with Cloudera Trial Enterprise Virtual Machine, before passing this to our production environment with more hosts, so I am trying to prevent most of the errors here before passing to the new scenario.


Thank you

Who agreed with this topic