Hive2:Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
解决办法
hive.metastore.schema.verification
set 为false
<property>
<name>hive.metastore.schema.verification</name>
<value>false</value>
<description>
Enforce metastore schema version consistency.
True: Verify thatversion information stored inis compatible with one from Hive jars. Also disable automatic
schema migration attempt. Users are required to manually migrate schema after Hive upgrade which ensures
proper metastore schema migration. (Default)
False: Warn iftheversion information stored in metastore doesn't match with one fromin Hive jars.
</description>
</property>
需要进行初始化
message:Hive metastore database isnot initialized. Please use schematool (e
mysql为数据源类型 Oracle 或者其他
./schematool -initSchema -dbType mysql
Exception in thread "main" java.lang.RuntimeException: java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: ${system:java.io.tmpdir%7D/$%7Bsystem:user.name%7D
路径的问题
{system:java.io.temdir}/${system:user.name}改为一个绝对路径如/usr/log/