Hive metastore mysql

bin/hive后,运行sql语句,报错:

SemanticException org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient

解决方法:

在bin下,执行:./schematool -dbType mysql -initSchema

你可能感兴趣的:(hive)