You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Antonenko Alexander (JIRA)" <ji...@apache.org> on 2014/07/13 14:46:06 UTC
[jira] [Updated] (AMBARI-6472) Add Service Wizard corrupts the
zookeeper config for existing Storm service
[ https://issues.apache.org/jira/browse/AMBARI-6472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonenko Alexander updated AMBARI-6472:
----------------------------------------
Attachment: BUG-20099_branch-1.6.1.patch
BUG-20099_trunk.patch
> Add Service Wizard corrupts the zookeeper config for existing Storm service
> ---------------------------------------------------------------------------
>
> Key: AMBARI-6472
> URL: https://issues.apache.org/jira/browse/AMBARI-6472
> Project: Ambari
> Issue Type: Bug
> Components: client
> Affects Versions: 1.6.1
> Reporter: Antonenko Alexander
> Assignee: Antonenko Alexander
> Priority: Critical
> Fix For: 1.6.1
>
> Attachments: BUG-20099_branch-1.6.1.patch, BUG-20099_trunk.patch
>
>
> STR:
> 1. On a cluster with Storm already installed, run Add Service Wizard to install an additional service not already part of the cluster (say, Falcon, but it doesn't matter which service).
> 2. Try to restart Storm. Nimbus/Supervisor will not be able to start
> Note that adding Storm itself via Add Service Wizard works fine.
> This corruption happens when adding a non-Storm service.
> The reason is Add Service Wizard updates storm-site and in doing so, corrupts *storm.zookeeper.servers* property.
> Before running Add Service Wizard:
> {noformat}
> storm.zookeeper.servers: "['c6401.ambari.apache.org','c6402.ambari.apache.org','c6403.ambari.apache.org']"
> {noformat}
> After completing Add Service Wizard to add another service:
> {noformat}
> storm.zookeeper.servers: "'['c6401.ambari.apache.org','c6402.ambari.apache.org','c6403.ambari.apache.org']'",
> {noformat}
> After completing Add Service Wizard again to add another service:
> {noformat}
> storm.zookeeper.servers: "''['c6401.ambari.apache.org','c6402.ambari.apache.org','c6403.ambari.apache.org']''",
> {noformat}
> Note that every time Add Service Wizard runs, extra single quotes are added around the ZK array.
> *Workaround*
> After running Add Service Wizard, go to Services > Storm > Config and hit Save. This fixes *storm.zookeeper.servers* and Nimbus/Supervisors will be able to start.
--
This message was sent by Atlassian JIRA
(v6.2#6252)