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: 522)
At org, apache hadoop. Hive. Cli. CliDriver. Run (677) CliDriver. Java:
At org, apache hadoop. Hive. Cli. CliDriver. Main (621) 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 (498) 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: 1523)
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: 3005)
At org, apache hadoop. Hive. Ql. Metadata. Hive. GetMSC (hive. Java: 3024)
At org, apache hadoop. Hive. Ql. Session. The SessionState. Start (SessionState. Java: 503)
. 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 (423) Constructor. Java:
At org, apache hadoop. Hive. Metastore. MetaStoreUtils. NewInstance (MetaStoreUtils. Java: 1521)
. 14 more
Under Caused by: javax.mail. Jdo. JDOFatalDataStoreException: Unable to open a test connection to the given database. The JDBC url=JDBC: mysql://192.168.1.100:3306/metastore? CreateDatabaseIfNotExist=true, the username=root. Terminating the connection pool (set lazyInit to true if you expect to start your database after your app). The Original Exception: -- -- -- -- -- --
Com.mysql.jdbc.exceptions.jdbc4.Com municationsException: Communications link failure
The at org. Datanucleus. Store. RDBMS. RDBMSStoreManager. & lt; Init> (RDBMSStoreManager. Java: 298)
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 (423) Constructor. Java:
The at org. Datanucleus. Plugin. NonManagedPluginRegistry. CreateExecutableExtension (NonManagedPluginRegistry. Java: 631)
The at org. Datanucleus. Plugin. The PluginManager. CreateExecutableExtension (PluginManager. Java: 301)
The at org. Datanucleus. NucleusContext. CreateStoreManagerForProperties (NucleusContext. Java: 1187)
The at org. Datanucleus. NucleusContext. Initialise (NucleusContext. Java: 356)
The at org. Datanucleus. API. Jdo. JDOPersistenceManagerFactory. FreezeConfiguration (JDOPersistenceManagerFactory. Java: 775)
The at org. Datanucleus. API. Jdo. JDOPersistenceManagerFactory. CreatePersistenceManagerFactory (JDOPersistenceManagerFactory. Java: 333)
The at org. Datanucleus. API. Jdo. JDOPersistenceManagerFactory. GetPersistenceManagerFactory (JDOPersistenceManagerFactory. Java: 202)
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 (498) Method. The Java:
The at javax.mail. Jdo. JDOHelper $16. The run (JDOHelper. Java: 1965)
The at Java. Security. The AccessController. DoPrivileged (Native Method)
The at javax.mail. Jdo. JDOHelper. Invoke (JDOHelper. Java: 1960)
The at javax.mail. Jdo. JDOHelper. InvokeGetPersistenceManagerFactoryOnImplementation (JDOHelper. Java: 1166)
The at javax.mail. Jdo. JDOHelper. GetPersistenceManagerFactory (JDOHelper. Java: 808)
The at javax.mail. Jdo. JDOHelper. GetPersistenceManagerFactory (JDOHelper. Java: 701)
At org, apache hadoop. Hive. Metastore. ObjectStore. GetPMF (365) the ObjectStore. Java:
At org, apache hadoop. Hive. Metastore. ObjectStore. GetPersistenceManager (394) the ObjectStore. Java:
At org, apache hadoop. Hive. Metastore. ObjectStore. The initialize (291) the ObjectStore. Java:
At org, apache hadoop. Hive. Metastore. ObjectStore. SetConf (258) the ObjectStore. Java:
At org, apache hadoop. Util. ReflectionUtils. SetConf (ReflectionUtils. Java: 76)
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull