hive起動エラー要約および解決方法

1071 ワード

1、Relative path in absolute URI: ${system:java.io.tmpdir%7D/$%7Bsystem:user.name%7D
hive-site.xmlプロファイルで値として使用される${system:java.io.tmpdir}/${system:user.name}はすべて/path/to/hive/logsに置き換えられます
2、Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
これはhiveメタデータベースが初期化に成功しなかったためである.xバージョンでは手動で初期化する必要があります.
bin/schematool -dbType mysql -initScheme

3、expected a semi-colon after the reference for entity "useSLL"
xmlプロファイルのurlパラメータ値の後ろに複数の値がある場合は、直接&を使用することはできません.&を使用してエスケープする必要があります.

     javax.jdo.option.ConnectionURL
	 jdbc:mysql://localhost:3306/hive?createDatabaseIfNotExist=true&useSSL=false
	 &->&:expected a semi-colon after the reference for entity

最終的にはjavaxが解析されます.jdo.option.接続URLの&は&
Metastore connection URL: jdbc:mysql://localhost:3306/hive?createDatabaseIfNotExist=true&useSSL=false