Erin, Please provide an exported blueprint for your cluster so that we can take a look at your configs.
http://AMBARI_HOST:8080/api/v1/clusters/CLUSTER_NAME?format=blueprint Thanks, John On Tue, Oct 28, 2014 at 11:52 AM, Erin Boyd <[email protected]> wrote: > Hi, > Has anyone else had an issue where the Hive Server and mysql will start > but not the hive metastore? > I am getting this in the hiveserver2.log logs: > > java.lang.RuntimeException: java.lang.RuntimeException: Unable to > instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient > at > org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:347) > at > org.apache.hive.service.cli.session.SessionManager.applyAuthorizationConfigPolicy(SessionManager.java:96) > at > org.apache.hive.service.cli.session.SessionManager.init(SessionManager.java:64) > at > org.apache.hive.service.CompositeService.init(CompositeService.java:59) > at org.apache.hive.service.cli.CLIService.init(CLIService.java:109) > at > org.apache.hive.service.CompositeService.init(CompositeService.java:59) > at > org.apache.hive.service.server.HiveServer2.init(HiveServer2.java:68) > at > org.apache.hive.service.server.HiveServer2.startHiveServer2(HiveServer2.java:100) > at > org.apache.hive.service.server.HiveServer2.main(HiveServer2.java:149) > 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:606) > at org.apache.hadoop.util.RunJar.main(RunJar.java:212) > Caused by: java.lang.RuntimeException: Unable to instantiate > org.apache.hadoop.hive.metastore.HiveMetaStoreClient > at > org.apache.hadoop.hive.metastore.MetaStoreUtils.newInstance(MetaStoreUtils.java:1422) > at > org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.<init>(RetryingMetaStoreClient.java:62) > at > org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.getProxy(RetryingMetaStoreClient.java:72) > at > org.apache.hadoop.hive.ql.metadata.Hive.createMetaStoreClient(Hive.java:2457) > at org.apache.hadoop.hive.ql.metadata.Hive.getMSC(Hive.java:2469) > at > org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:341) > ... 13 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:526) > at > org.apache.hadoop.hive.metastore.MetaStoreUtils.newInstance(MetaStoreUtils.java:1420) > ... 18 more > Caused by: MetaException(message:Could not connect to meta store using any > of the URIs provided. Most recent failure: > org.apache.thrift.transport.TTransportException: java.net.ConnectException: > Connection refused > > This is running local (not remote). THe URI has been the FQDN, locallost, > 0.0.0.0 -> yet I still get the same error. > I have tried changing ports... > > Anyone seen this and knows how to fix/debug it? > > Erin > -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You.
