You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Florian Barca (JIRA)" <ji...@apache.org> on 2015/07/25 00:29:04 UTC

[jira] [Created] (AMBARI-12539) Windows TP: Agent fails to start the Zookeeper

Florian Barca created AMBARI-12539:
--------------------------------------

             Summary: Windows TP: Agent fails to start the Zookeeper
                 Key: AMBARI-12539
                 URL: https://issues.apache.org/jira/browse/AMBARI-12539
             Project: Ambari
          Issue Type: Bug
          Components: ambari-agent, ambari-server
    Affects Versions: 2.1.0
            Reporter: Florian Barca
            Assignee: Florian Barca
            Priority: Critical
             Fix For: 2.1.0


When deploying a Windows cluster, everything goes as expected until the services start phase. At that step, the Zookeeper start script reports error:
Traceback (most recent call last):
File "cache\common-services\ZOOKEEPER\3.4.5.2.0\package\scripts/zookeeper_server.py", line 176, in <module>
ZookeeperServer().execute()
File "C:\ambari\ambari-agent\sbin\resource_management\libraries\script\script.py", line 218, in execute
method(env)
File "cache\common-services\ZOOKEEPER\3.4.5.2.0\package\scripts/zookeeper_server.py", line 55, in start
zookeeper_service(action='start', rolling_restart=rolling_restart)
File "C:\ambari\ambari-agent\sbin\ambari_commons\os_family_impl.py", line 89, in thunk
return fn(*args, **kwargs)
TypeError: zookeeper_service() got an unexpected keyword argument 'rolling_restart'
Subsequently, the ZK smoke tests fail:
Traceback (most recent call last):
File "cache\common-services\ZOOKEEPER\3.4.5.2.0\package\scripts/service_check.py", line 69, in <module>
ZookeeperServiceCheck().execute()
File "C:\ambari\ambari-agent\sbin\resource_management\libraries\script\script.py", line 218, in execute
method(env)
File "cache\common-services\ZOOKEEPER\3.4.5.2.0\package\scripts/service_check.py", line 66, in service_check
Execute(format("cmd /C
{smoke_cmd}
{service}
"), user=params.zk_user, logoutput=True, tries=3, try_sleep=20)
File "C:\ambari\ambari-agent\sbin\resource_management\core\base.py", line 157, in _init_
self.env.run()
File "C:\ambari\ambari-agent\sbin\resource_management\core\environment.py", line 152, in run
self.run_action(resource, action)
File "C:\ambari\ambari-agent\sbin\resource_management\core\environment.py", line 118, in run_action
provider_action()
File "C:\ambari\ambari-agent\sbin\resource_management\core\providers\windows\system.py", line 320, in action_run
raise ex
resource_management.core.exceptions.Fail: Failed to execute cmd /C C:\hdp
Run-SmokeTests.cmd Zookeeper



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