Member since
04-15-2016
3
Posts
0
Kudos Received
0
Solutions
05-28-2016
07:36 AM
I installed HDP2.4.0 failed with ambari Command start time 2016-05-28 15:29:40 ('ERROR 2016-05-28 15:28:47,329 main.py:309 - Fatal exception occurred:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 306, in <module>
main(heartbeat_stop_callback)
File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 259, in main
perform_prestart_checks(expected_hostname)
File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 144, in perform_prestart_checks
sys.exit(1)
SystemExit: 1
INFO 2016-05-28 15:28:47,329 ExitHelper.py:53 - Performing cleanup before exiting...
INFO 2016-05-28 15:29:41,997 main.py:71 - loglevel=logging.INFO
INFO 2016-05-28 15:29:41,997 main.py:71 - loglevel=logging.INFO
INFO 2016-05-28 15:29:41,998 DataCleaner.py:39 - Data cleanup thread started
INFO 2016-05-28 15:29:42,000 DataCleaner.py:120 - Data cleanup started
INFO 2016-05-28 15:29:42,001 DataCleaner.py:122 - Data cleanup finished
INFO 2016-05-28 15:29:42,054 PingPortListener.py:50 - Ping port listener started on port: 8670
WARNING 2016-05-28 15:29:42,122 main.py:285 - Unable to determine the IP address of the Ambari server \'hdp.localdomain.localdomain.localdomain.localdomain.localdomain\'
INFO 2016-05-28 15:29:42,122 NetUtil.py:60 - Connecting to https://hdp.localdomain.localdomain.localdomain.localdomain.localdomain:8440/ca
WARNING 2016-05-28 15:29:42,197 NetUtil.py:89 - Failed to connect to https://hdp.localdomain.localdomain.localdomain.localdomain.localdomain:8440/ca due to [Errno -2] Name or service not known
WARNING 2016-05-28 15:29:42,197 NetUtil.py:112 - Server at https://hdp.localdomain.localdomain.localdomain.localdomain.localdomain:8440 is not reachable, sleeping for 10 seconds...
', None)
('ERROR 2016-05-28 15:28:47,329 main.py:309 - Fatal exception occurred:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 306, in <module>
main(heartbeat_stop_callback)
File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 259, in main
perform_prestart_checks(expected_hostname)
File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 144, in perform_prestart_checks
sys.exit(1)
SystemExit: 1
INFO 2016-05-28 15:28:47,329 ExitHelper.py:53 - Performing cleanup before exiting...
INFO 2016-05-28 15:29:41,997 main.py:71 - loglevel=logging.INFO
INFO 2016-05-28 15:29:41,997 main.py:71 - loglevel=logging.INFO
INFO 2016-05-28 15:29:41,998 DataCleaner.py:39 - Data cleanup thread started
INFO 2016-05-28 15:29:42,000 DataCleaner.py:120 - Data cleanup started
INFO 2016-05-28 15:29:42,001 DataCleaner.py:122 - Data cleanup finished
INFO 2016-05-28 15:29:42,054 PingPortListener.py:50 - Ping port listener started on port: 8670
WARNING 2016-05-28 15:29:42,122 main.py:285 - Unable to determine the IP address of the Ambari server \'hdp.localdomain.localdomain.localdomain.localdomain.localdomain\'
INFO 2016-05-28 15:29:42,122 NetUtil.py:60 - Connecting to https://hdp.localdomain.localdomain.localdomain.localdomain.localdomain:8440/ca
WARNING 2016-05-28 15:29:42,197 NetUtil.py:89 - Failed to connect to https://hdp.localdomain.localdomain.localdomain.localdomain.localdomain:8440/ca due to [Errno -2] Name or service not known
WARNING 2016-05-28 15:29:42,197 NetUtil.py:112 - Server at https://hdp.localdomain.localdomain.localdomain.localdomain.localdomain:8440 is not reachable, sleeping for 10 seconds...
my hosts file:
127.0.0.1 localhost.localdomain localhost
::1 hdp
192.168.1.115 hdp
... View more
Labels:
- Labels:
-
Apache Ambari
05-26-2016
12:31 PM
thanks, I changed my acount to hdfs and enter hdfs dfsadmin -safemode leave.
... View more
05-26-2016
12:17 PM
I installed HDP2.4 with ambari2.1.0,It is first time.then i restarted my notebook. NameNode not be start. 2016-05-26 12:07:26,882 - Directory['/var/run/hadoop/hdfs'] {'owner': 'hdfs', 'recursive': True}
2016-05-26 12:07:26,882 - Directory['/var/log/hadoop/hdfs'] {'owner': 'hdfs', 'recursive': True}
2016-05-26 12:07:26,882 - File['/var/run/hadoop/hdfs/hadoop-hdfs-namenode.pid'] {'action': ['delete'], 'not_if': 'ambari-sudo.sh -H -E test -f /var/run/hadoop/hdfs/hadoop-hdfs-namenode.pid && ambari-sudo.sh -H -E pgrep -F /var/run/hadoop/hdfs/hadoop-hdfs-namenode.pid'}
2016-05-26 12:07:27,023 - Execute['ambari-sudo.sh su hdfs -l -s /bin/bash -c 'ulimit -c unlimited ; /usr/hdp/current/hadoop-client/sbin/hadoop-daemon.sh --config /usr/hdp/current/hadoop-client/conf start namenode''] {'environment': {'HADOOP_LIBEXEC_DIR': '/usr/hdp/current/hadoop-client/libexec'}, 'not_if': 'ambari-sudo.sh -H -E test -f /var/run/hadoop/hdfs/hadoop-hdfs-namenode.pid && ambari-sudo.sh -H -E pgrep -F /var/run/hadoop/hdfs/hadoop-hdfs-namenode.pid'}
2016-05-26 12:07:31,432 - Must wait to leave safemode since High Availability is not enabled.
2016-05-26 12:07:31,432 - Stay in safe mode: False
2016-05-26 12:07:31,432 - Wait to leafe safemode since must transition from ON to OFF.
2016-05-26 12:07:31,433 - Execute['/usr/hdp/current/hadoop-hdfs-namenode/bin/hdfs dfsadmin -fs hdfs://node1:8020 -safemode get | grep 'Safe mode is OFF''] {'logoutput': True, 'tries': 115, 'user': 'hdfs', 'try_sleep': 10}
2016-05-26 12:07:38,161 - Retrying after 10 seconds. Reason: Execution of '/usr/hdp/current/hadoop-hdfs-namenode/bin/hdfs dfsadmin -fs hdfs://node1:8020 -safemode get | grep 'Safe mode is OFF'' returned 1.
2016-05-26 12:07:51,692 - Retrying after 10 seconds. Reason: Execution of '/usr/hdp/current/hadoop-hdfs-namenode/bin/hdfs dfsadmin -fs hdfs://node1:8020 -safemode get | grep 'Safe mode is OFF'' returned 1.
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop