Metastore on master. Hadoop failed (Traceback (most recent call last) :
The File "/var/lib/ambari - agent/cache/common services/HIVE/0.12.0.2.0/package/alerts/alert_hive_metastore py", line 190, in the execute
Timeout=int (check_command_timeout))
The File "/usr/lib/python2.6/site - packages/resource_management/core/base. Py", line 154, in __init__
The self. The env. The run ()
The File "/usr/lib/python2.6/site - packages/resource_management/core/environment. Py", line 160, in the run
Self. Run_action (resource, action)
The File "/usr/lib/python2.6/site - packages/resource_management/core/environment. Py", line 124, in run_action
Provider_action ()
The File "/usr/lib/python2.6/site - packages/resource_management/core/will/system. Py", line 238, in action_run
Tries=self. Resource. Tries, try_sleep=self. Resource. Try_sleep)
The File "/usr/lib/python2.6/site - packages/resource_management/core/shell py", line 70, in inner
Result=function (command, * * kwargs)
The File "/usr/lib/python2.6/site - packages/resource_management/core/shell py", line 92, in checked_call
Tries=tries, try_sleep=try_sleep)
The File "/usr/lib/python2.6/site - packages/resource_management/core/shell py", line 140, in _call_wrapper
Result=_call (command, * * kwargs_copy)
The File "/usr/lib/python2.6/site - packages/resource_management/core/shell py", line 291, in _call
Raise the Fail (err_msg)
Fail: Execution of 'export HIVE_CONF_DIR='/usr/HDP/current/hive - metastore/conf/conf. The server '; Hive - hiveconf hive. Metastore. Uris,=thrift://master. Hadoop: 9083 - hiveconf hive. The metastore. Client. Connect. Retry. Delay=1 - hiveconf hive. The metastore. Failure. The retries=1 - hiveconf hive. The metastore. Connect. Retries=1 - hiveconf hive. The metastore. Client. Socket. The timeout=14 - hiveconf hive.=Mr - e 'execution. The engine show the databases; 'returned 1. WARNING: Use "yarn jar" to launch yarn applications.
Logging the initialized using the configuration file: in the/etc/hive/2.4.2.0-258/0/conf. Server/hive - log4j. Properties
The Exception in the thread "main" Java. Lang. RuntimeException: Java. Lang. RuntimeException: Unable to instantiate org.. Apache hadoop. Hive. Ql. Metadata. SessionHiveMetaStoreClient
At org, apache hadoop. Hive. Ql. Session. The SessionState. Start (SessionState. Java: 503)
At org, apache hadoop. Hive. Cli. CliDriver. Run (680) CliDriver. Java:
At org, apache hadoop. Hive. Cli. CliDriver. Main (624) CliDriver. Java:
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
At sun. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 62)
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java:
The at Java. Lang. Reflect. Method. Invoke (497) Method. The Java:
At org, apache hadoop. Util. RunJar. Run (221) RunJar. Java:
At org, apache hadoop. Util. RunJar. Main (136) RunJar. Java:
Under Caused by: Java. Lang. RuntimeException: Unable to instantiate. Org. Apache hadoop. Hive. Ql. Metadata. SessionHiveMetaStoreClient
At org, apache hadoop. Hive. Metastore. MetaStoreUtils. NewInstance (MetaStoreUtils. Java: 1533)
At org, apache hadoop. Hive. Metastore. RetryingMetaStoreClient. & lt; init> (RetryingMetaStoreClient. Java: 86)
At org, apache hadoop. Hive. Metastore. RetryingMetaStoreClient. GetProxy (RetryingMetaStoreClient. Java: 132)
At org, apache hadoop. Hive. Metastore. RetryingMetaStoreClient. GetProxy (RetryingMetaStoreClient. Java: 104)
At org, apache hadoop. Hive. Ql. Metadata. Hive. CreateMetaStoreClient (hive. Java: 3000)
At org, apache hadoop. Hive. Ql. Metadata. Hive. GetMSC (hive. Java: 3019)
At org, apache hadoop. Hive. Ql. Session. The SessionState. Start (SessionState. Java: 484)
. Eight more
Under Caused by: Java. Lang. Reflect. InvocationTargetException
At sun. Reflect. NativeConstructorAccessorImpl. NewInstance0 (Native Method)
At sun. Reflect. NativeConstructorAccessorImpl. NewInstance (NativeConstructorAccessorImpl. Java: 62)
At sun. Reflect. DelegatingConstructorAccessorImpl. NewInstance (DelegatingConstructorAccessorImpl. Java: 45)
The at Java. Lang. Reflect. Constructor. NewInstance (422) Constructor. Java:
At org, apache hadoop. Hive. Metastore. MetaStoreUtils. NewInstance (MetaStoreUtils. Java: 1531)
. 14 more
Under Caused by: MetaException (message: Could not connect to meta store using any of the URIs, provided the Most recent failure: org. Apache. Thrift. Transport. TTransportException: java.net.ConnectException: rejected the connection
At org. Apache. Thrift. Transport. TSocket. Open (187) TSocket. Java:
At org, apache hadoop. Hive. Metastore. HiveMetaStoreClient. Open (426) HiveMetaStoreClient. Java:
At org, apache hadoop. Hive. Metastore. HiveMetaStoreClient. & lt; init> (HiveMetaStoreClient. Java: 236)
At org, apache hadoop. Hive. Ql. Metadata. SessionHiveMetaStoreClient. & lt; init> (SessionHiveMetaStoreClient. Java: 74)
At sun. Reflect. NativeConstructorAccessorImpl. NewInstance0 (Native Method)
At sun. Reflect. NativeConstructorAccessorImpl. NewInstance (NativeConstructorAccessorImpl. Java: 62)
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull