You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2014/02/11 19:58:21 UTC

[jira] [Resolved] (AMBARI-4611) ZKFailoverController start fails in security wizard after enabling HA

     [ https://issues.apache.org/jira/browse/AMBARI-4611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Onischuk resolved AMBARI-4611.
-------------------------------------

    Resolution: Fixed

committed to trunk

> ZKFailoverController start fails in security wizard after enabling HA
> ---------------------------------------------------------------------
>
>                 Key: AMBARI-4611
>                 URL: https://issues.apache.org/jira/browse/AMBARI-4611
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 1.5.0
>
>         Attachments: AMBARI-4611.patch
>
>
> 1. Install cluster and enable HA
> 2. ZKFailoverController start fails in security wizard
> {code}
> stderr:   /var/lib/ambari-agent/data/errors-317.txt
> Traceback (most recent call last):
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HDFS/package/scripts/zkfc_slave.py", line 62, in <module>
>     ZkfcSlave().execute()
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 95, in execute
>     method(env)
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HDFS/package/scripts/zkfc_slave.py", line 38, in start
>     create_log_dir=True
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HDFS/package/scripts/utils.py", line 46, in service
>     principal_replaced = principal.replace("_HOST", params.hostname)
> AttributeError: 'NoneType' object has no attribute 'replace'
> stdout:   /var/lib/ambari-agent/data/output-317.txt
> 2014-02-06 20:09:02,909 - Writing File['/etc/hadoop/conf/capacity-scheduler.xml'] because contents don't match
> 2014-02-06 20:09:02,909 - XmlConfig['hdfs-site.xml'] {'owner': 'hdfs', 'group': 'hadoop', 'conf_dir': '/etc/hadoop/conf', 'configurations': ...}
> 2014-02-06 20:09:02,914 - Generating config: /etc/hadoop/conf/hdfs-site.xml
> 2014-02-06 20:09:02,915 - File['/etc/hadoop/conf/hdfs-site.xml'] {'owner': 'hdfs', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': None}
> 2014-02-06 20:09:02,917 - Writing File['/etc/hadoop/conf/hdfs-site.xml'] because contents don't match
> 2014-02-06 20:09:02,917 - File['/etc/hadoop/conf/configuration.xsl'] {'owner': 'hdfs', 'group': 'hadoop'}
> 2014-02-06 20:09:02,918 - File['/etc/hadoop/conf/ssl-client.xml.example'] {'owner': 'mapred', 'group': 'hadoop'}
> 2014-02-06 20:09:02,918 - File['/etc/hadoop/conf/ssl-server.xml.example'] {'owner': 'mapred', 'group': 'hadoop'}
> 2014-02-06 20:09:03,187 - Directory['/var/run/hadoop/hdfs'] {'owner': 'hdfs', 'recursive': True}
> 2014-02-06 20:09:03,188 - Directory['/grid/0/log/hadoop/hdfs'] {'owner': 'hdfs', 'recursive': True}
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)