0
私は、Ubuntu 16.04LTSを実行している3つの仮想ボックスVMを持つambariクラスタを設定しています。Ambariクラスタ:ホストの登録に失敗しました
私はこれに続いてhortonworks tutorialです。
しかし、アンバリクラスタインストールウィザードを使用してクラスタを作成するときは、手順3 - 「ホストの確認」で以下のエラーが表示されます。
26 Jun 2017 16:41:11,553 WARN [Thread-34] BSRunner:292 - Bootstrap process timed out. It will be destroyed.
26 Jun 2017 16:41:11,554 INFO [Thread-34] BSRunner:309 - Script log Mesg
INFO:root:BootStrapping hosts ['thanuja.ambari-agent1.com', 'thanuja.ambari-agent2.com'] using /usr/lib/python2.6/site-packages/ambari_server cluster primary OS: ubuntu16 with user 'thanuja'with ssh Port '22' sshKey File /var/run/ambari-server/bootstrap/5/sshKey password File null using tmp dir /var/run/ambari-server/bootstrap/5 ambari: thanuja.ambari-server.com; server_port: 8080; ambari version: 2.5.0.3; user_run_as: root
INFO:root:Executing parallel bootstrap
Bootstrap process timed out. It was destroyed.
これは、パスワードなしのSSHをホストに対して有効にしないことに関連する投稿の数を読みました。しかし、私はサーバーからパスワードなしでホストにsshすることができます。
root権限を持つ非rootユーザーとしてambariを実行しています。
これは正しい方法です。 https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.0.0/bk_ambari-security/content/sudoer_configuration_agent.html – Dmitriusan
ありがとう@ドミトリーサン – thanuja