ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-14491) Cannot change Zookeeper Server from Ambari to different node
Date Fri, 08 Jan 2016 20:23:39 GMT

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

Hadoop QA commented on AMBARI-14491:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12781183/AMBARI-14491_v2.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 2 new or modified
test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:red}-1 core tests{color}.  The patch failed these unit tests in ambari-server:

                  org.apache.ambari.server.upgrade.UpgradeCatalog221Test

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/4825//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/4825//console

This message is automatically generated.

> Cannot change Zookeeper Server from Ambari to different node
> ------------------------------------------------------------
>
>                 Key: AMBARI-14491
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14491
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Jeffrey Barr
>            Assignee: Olivér Szabó
>             Fix For: 2.2.1
>
>         Attachments: AMBARI-14491_v2.patch
>
>
> While adding a master node, any attempts to change the zookeeper server from Ambari are
not allowed as the params.zookeeper_hosts value is not updated or changed whether I attempt
to move the zookeeper hosts to the master or a different data node.  All attempts at installing
the zookeeper server fail.
> {code}ValueError when adding ZooKeeper Server to a new master node.
> Traceback (most recent call last):
>   File "/var/lib/ambari-agent/cache/common-services/ZOOKEEPER/3.4.5.2.0/package/scripts/zookeeper_server.py",
line 179, in <module>
>     ZookeeperServer().execute()
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 219, in execute
>     method(env)
>   File "/var/lib/ambari-agent/cache/common-services/ZOOKEEPER/3.4.5.2.0/package/scripts/zookeeper_server.py",
line 70, in install
>     self.configure(env)
>   File "/var/lib/ambari-agent/cache/common-services/ZOOKEEPER/3.4.5.2.0/package/scripts/zookeeper_server.py",
line 49, in configure
>     zookeeper(type='server', upgrade_type=upgrade_type)
>   File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89,
in thunk
>     return fn(*args, **kwargs)
>   File "/var/lib/ambari-agent/cache/common-services/ZOOKEEPER/3.4.5.2.0/package/scripts/zookeeper.py",
line 82, in zookeeper
>     myid = str(sorted(params.zookeeper_hosts).index(params.hostname) + 1)
> ValueError: list.index(x): x not in list
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message