私はkerberos認証で認証するアプリケーションを持っています。アプリケーションはうまくいきます。しかし、私はoozieワークフローを起動するときに、_HOST値を知りたいと思います。あなたは高可用性セットアップを持っている場合、私はJAVAのプログラムから、またはworkflow.xmlhive-site.xmlの_HOSTの値を確認してください
<property>
<name>hive.metastore.kerberos.principal</name>
<value>hive/[email protected]</value>
<description>The service principal for the metastore thrift server. The
special string _HOST will be replaced automatically with the correct
hostname.</description>
</property>
シェルコマンド "list_principals"を使用して、プリンシパル名を知り、必要なホスト情報を解析することができます。 –
@KSNidhinご返信ありがとうございます。それが十分に単純ならば、詳しく教えてもらえますか? – Prashanth