You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Zhen Peng (JIRA)" <ji...@apache.org> on 2014/06/24 08:16:25 UTC

[jira] [Commented] (AMBARI-6250) After enable HDFS HA, HDFS service restart failed

    [ https://issues.apache.org/jira/browse/AMBARI-6250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14041751#comment-14041751 ] 

Zhen Peng commented on AMBARI-6250:
-----------------------------------

The reason for this error is missing "ha.zookeeper.quorum" config in core-site.xml. After I added this config manually, the  DFSZKFailoverController started successfully. 

> 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)