Home > other >  Hive cannot be started, hadoop is normal, don't know why, a great god
Hive cannot be started, hadoop is normal, don't know why, a great god

Time:09-25

The Exception in the thread "main" Java. Lang. RuntimeException: org.. Apache hadoop. Hive. Ql. Metadata. HiveException: 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: 578)
At org, apache hadoop. Hive. Ql. Session. The SessionState. BeginStart (SessionState. Java: 518)
At org, apache hadoop. Hive. Cli. CliDriver. Run (705) CliDriver. Java:
At org, apache hadoop. Hive. Cli. CliDriver. Main (641) 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: org. Apache. Hadoop. Hive. Ql. Metadata. HiveException: Java. Lang. RuntimeException: Unable to instantiate org.. Apache hadoop. Hive. Ql. Metadata. SessionHiveMetaStoreClient
At org, apache hadoop. Hive. Ql. Metadata. Hive. RegisterAllFunctionsOnce (hive. Java: 226)
At org, apache hadoop. Hive. Ql. Metadata. Hive. & lt; init> (Hive. Java: 366)
At org, apache hadoop. Hive. Ql. Metadata. Hive. The create (hive. Java: 310)
At org, apache hadoop. Hive. Ql. Metadata. Hive. GetInternal (hive. Java: 290)
At org, apache hadoop. Hive. Ql. Metadata. Hive. Get (266) hive. Java:
At org, apache hadoop. Hive. Ql. Session. The SessionState. Start (SessionState. Java: 545)
. Nine more
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: 1627)
At org, apache hadoop. Hive. Metastore. RetryingMetaStoreClient. & lt; init> (RetryingMetaStoreClient. Java: 80)
At org, apache hadoop. Hive. Metastore. RetryingMetaStoreClient. GetProxy (RetryingMetaStoreClient. Java: 130)
At org, apache hadoop. Hive. Metastore. RetryingMetaStoreClient. GetProxy (RetryingMetaStoreClient. Java: 101)
At org, apache hadoop. Hive. Ql. Metadata. Hive. CreateMetaStoreClient (hive. Java: 3317)
At org, apache hadoop. Hive. Ql. Metadata. Hive. GetMSC (hive. Java: 3356)
At org, apache hadoop. Hive. Ql. Metadata. Hive. GetMSC (hive. Java: 3336)
At org, apache hadoop. Hive. Ql. Metadata. Hive. GetAllFunctions (hive. Java: 3590)
At org, apache hadoop. Hive. Ql. Metadata. Hive. ReloadFunctions (hive. Java: 236)
At org, apache hadoop. Hive. Ql. Metadata. Hive. RegisterAllFunctionsOnce (hive. Java: 221)
. 14 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: 1625)
. 23 more
Under Caused by: javax.mail. Jdo. JDOFatalDataStoreException: Unable to open a test connection to the given database. The JDBC url=JDBC: mysql://itcast01:3306/hive? 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: -- -- -- -- -- --
Java. SQL. SQLException: Access denied for user 'root' @ 'itcast01' (using password: YES)
At com. Mysql. JDBC. SQLError. CreateSQLException (SQLError. Java: 963)
At com. Mysql. JDBC. MysqlIO. CheckErrorPacket (MysqlIO. Java: 3966)
At com. Mysql. JDBC. MysqlIO. CheckErrorPacket (MysqlIO. Java: 3902)
At com. Mysql. JDBC. MysqlIO. CheckErrorPacket (MysqlIO. Java: 875)
At com. Mysql. JDBC. MysqlIO. SecureAuth411 (MysqlIO. Java: 4414)
At com. Mysql. JDBC. MysqlIO. DoHandshake (MysqlIO. Java: 1280)
At com. Mysql. JDBC. ConnectionImpl. CoreConnect (ConnectionImpl. Java: 2253)
At com. Mysql. JDBC. ConnectionImpl. ConnectOneTryOnly (ConnectionImpl. Java: 2284)
At com. Mysql. JDBC. ConnectionImpl. CreateNewIO (ConnectionImpl. Java: 2083)
At com. Mysql. JDBC. ConnectionImpl. & lt; init> (ConnectionImpl. Java: 806)
At com. Mysql. JDBC. JDBC4Connection. & lt; init> (JDBC4Connection. Java: 47)
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 com. Mysql. JDBC. Util. HandleNewInstance (Util. Java: 404)
At com. Mysql. JDBC. ConnectionImpl. GetInstance (ConnectionImpl. Java: 410)
At com. Mysql. JDBC. NonRegisteringDriver. Connect (NonRegisteringDriver. Java: 328)
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related