私は、Apache から ambari を使用して Hadoop を学習する初心者の 1 人であり、VirtualBox 環境の Ubuntu に ambari をインストールしようとしていますが、問題が発生して疲れ果てています。
まず、システムは、次のように「Ambari サーバーの「開始」が正常に完了した」ことを通知します。
~# ambari-server start
Using python /usr/bin/python2.7
Starting ambari-server
Ambari Server running with administrator privileges.
Organizing resource files at /var/lib/ambari-server/resources...
Server PID at: /var/run/ambari-server/ambari-server.pid
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log
Waiting for server start...................
Ambari Server 'start' completed successfully.
ただし、「 http://127.0.0.1:8080 」経由で ambari サービスにアクセスできず、サーバーのステータスを次のように確認すると
~# ambari-server status
Using python /usr/bin/python2.7
Ambari-server status
Ambari Server not running. Stale PID File at: /var/run/ambari-server/ambari-server.pid
/var/run/ambari-server/ambari-server.pid のファイルを確認すると
~# cat /var/run/ambari-server/ambari-server.pid
2875
ログファイルをチェックインすると、次の行が表示されます
22 May 2015 10:59:42,876 INFO [main] Configuration:527 - Reading password from existing file
22 May 2015 10:59:43,073 INFO [main] Configuration:747 - Hosts Mapping File null
22 May 2015 10:59:43,074 INFO [main] HostsMap:60 - Using hostsmap file null
22 May 2015 10:59:45,169 INFO [main] ControllerModule:172 - Detected MYSQL as the database type from the JDBC URL
22 May 2015 10:59:45,253 INFO [main] ControllerModule:214 - Using c3p0 ComboPooledDataSource as the EclipsLink DataSource
22 May 2015 10:59:45,416 INFO [main] MLog:80 - MLog clients using log4j logging.
22 May 2015 10:59:46,124 INFO [main] C3P0Registry:204 - Initializing c3p0-0.9.1.1 [built 15-March-2007 01:32:31; debug? true; trace: 10]
22 May 2015 10:59:59,830 ERROR [main] DBAccessorImpl:99 - Error while creating database accessor
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
インターネットを検索しましたが、この問題の解決策は見つかりませんでした。
ところで、私はまだ Hadoop をインストールしていませんが、これが問題なのですか?
前もって感謝します。