Zhen Peng created AMBARI-6250:
---------------------------------
Summary: After enable HDFS HA, HDFS service restart failed
Key: AMBARI-6250
URL: https://issues.apache.org/jira/browse/AMBARI-6250
Project: Ambari
Issue Type: Bug
Components: agent
Affects Versions: 1.6.0
Reporter: Zhen Peng
when I enabled HDFS HA, the HDFS service(Restart ZKFailoverController Failed)
restart failed.
In the ambari agent stderr:
2014-06-24 05:22:06,306 - Error while executing command 'restart':
Traceback (most recent call last):
File
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 105, in execute
method(env)
File
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 207, in restart
self.start(env)
File
"/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HDFS/package/scripts/zkfc_slave.py",
line 39, in start
create_log_dir=True
File
"/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HDFS/package/scripts/utils.py",
line 63, in service
not_if=service_is_up
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py",
line 148, in __init__
self.env.run()
File
"/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 149, in run
self.run_action(resource, action)
File
"/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 115, in run_action
provider_action()
File
"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
line 239, in action_run
raise ex
Fail: Execution of 'ulimit -c unlimited; export
HADOOP_LIBEXEC_DIR=/usr/lib/hadoop/libexec &&
/usr/lib/hadoop/sbin/hadoop-daemon.sh --config /etc/hadoop/conf start zkfc'
returned 1. starting zkfc, logging to
/var/log/hadoop/hdfs/hadoop-hdfs-zkfc-hdp-21-ha-test-hdp-mini-master-copy-001.novalocal.out\
--
This message was sent by Atlassian JIRA
(v6.2#6252)