1

Cloudera Manager 4.1 Free Version に、EC2 でホストを解決する手順を教えてくれる人はいますか?

Cloudera Manager 4.1 Free Version を EC2 m1.large インスタンスにインストールしました。外部ホスト名 (dn1.example.com) を使用してホストを検索すると、正しく表示され、パッケージが正しくインストールされます。しかし、調べてみると出てこない。起動する唯一のサーバーは、Cloudera Manager がインストールされているサーバー (ip-#-#-#-136.ec2.internal) です。ホスト検索で、dn1 (ec2-#-#-#-47.compute-1.amazonaws.com、ip-#-#-#-152.ec2.internal) に他のホスト名を使用しようとさえしました。どちらも正常にインストールされますが、検査には表示されません。私は途方に暮れています。

私たちの管理者は、/etc/hosts、/etc/resolv.conf、/etc/sysconfig/network をいじってみました。どの組み合わせも機能しないようです。

助けてくれる専門家がいる場合は、何をすべきか説明してもらえますか?

とても感謝しています、ベン

4

1 に答える 1

0

I could solve the issue of cloudera successfully adding a host and not showing it in the host list by following changes

  1. in all the host machines(including the one having cloudera manager), add similar contents to /etc/hosts file(note, i have removed the default entry localhost.localdomain)

    127.0.0.1 localhost

    ::1 localhost6.localdomain6 localhost6

    X.X.X.X master.cloudera.mydomain master

    Y.Y.Y.Y slave1.cloudera.mydomain slave1

  2. Add this extra search entry to /etc/resolv.conf(keep the default search entry as it is)

    search cloudera.mydomain

Restart system/network interface for the changes to take effect. /etc/rc.d/init.d/network restart

Now, try adding both the machines. it worked for me.

Source: Cloudera Manager fails to add hosts

于 2012-11-09T14:11:32.280 に答える