Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

NameNode HA configuration : Hive Metatsore update to HA URI not listing the FS Roots

Highlighted

NameNode HA configuration : Hive Metatsore update to HA URI not listing the FS Roots

Explorer

Hi All,

NameNode HA was configured fine and it works. but when I was trying to upgrade the Hive Metastore URL to the HA URL.

Hive Metatool does not list the Current FS "-listFSRoot" was executed. Also, During the Deployment phase, Mysql has been configured as backend db for the Hive, but Metatool shows DerbyDb being used.

Has anyone observed this challenge.

instance-1 ~]$ hive --config /etc/hive/conf.server --service metatool -listFSRoot
WARNING: Use "yarn jar" to launch YARN applications.
Initializing HiveMetaTool..
16/10/31 07:41:51 INFO metastore.ObjectStore: ObjectStore, initialize called
16/10/31 07:41:51 INFO DataNucleus.Persistence: Property hive.metastore.integral.jdo.pushdown unknown - will be ignored
16/10/31 07:41:51 INFO DataNucleus.Persistence: Property datanucleus.cache.level2 unknown - will be ignored
16/10/31 07:41:54 INFO metastore.ObjectStore: Setting MetaStore object pin classes with hive.metastore.cache.pinobjtypes="Table,StorageDescriptor,SerDeInfo,Partition,Database,Type,FieldSchema,Order"
16/10/31 07:41:57 INFO DataNucleus.Datastore: The class "org.apache.hadoop.hive.metastore.model.MFieldSchema" is tagged as "embedded-only" so does not have its own datastore table.
16/10/31 07:41:57 INFO DataNucleus.Datastore: The class "org.apache.hadoop.hive.metastore.model.MOrder" is tagged as "embedded-only" so does not have its own datastore table.
16/10/31 07:41:57 INFO DataNucleus.Datastore: The class "org.apache.hadoop.hive.metastore.model.MFieldSchema" is tagged as "embedded-only" so does not have its own datastore table.
16/10/31 07:41:57 INFO DataNucleus.Datastore: The class "org.apache.hadoop.hive.metastore.model.MOrder" is tagged as "embedded-only" so does not have its own datastore table.
16/10/31 07:41:57 INFO metastore.MetaStoreDirectSql: Using direct SQL, underlying DB is DERBY
16/10/31 07:41:57 INFO metastore.ObjectStore: Initialized ObjectStore
Listing FS Roots..
1 REPLY 1
Highlighted

Re: NameNode HA configuration : Hive Metatsore update to HA URI not listing the FS Roots

@rmanimkr

Was there any recent activity performed on the cluster ?

Is the Current FS "-listFSRoot" working without HA url?

Don't have an account?
Coming from Hortonworks? Activate your account here