ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florian Barca (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-11521) [WinTP2] Starting a service which is already running fails
Date Fri, 29 May 2015 06:35:17 GMT
Florian Barca created AMBARI-11521:
--------------------------------------

             Summary: [WinTP2] Starting a service which is already running fails
                 Key: AMBARI-11521
                 URL: https://issues.apache.org/jira/browse/AMBARI-11521
             Project: Ambari
          Issue Type: Task
          Components: ambari-server
    Affects Versions: 2.1.0
            Reporter: Florian Barca
            Assignee: Florian Barca
             Fix For: 2.1.0


Repro Steps:
1. Start a HDPWIN service say MetricsCollector manually from "Services"
2. From the Ambari UI, start the MetricsCollector. 
3. Notice the following failures.
Traceback (most recent call last):
File "cache\common-services\AMBARI_METRICS\0.1.0\package\scripts/metrics_collector.py", line
126, in <module>
AmsCollector().execute()
File "C:\ambari\ambari-agent\sbin\resource_management\libraries\script\script.py", line 215,
in execute
method(env)
File "cache\common-services\AMBARI_METRICS\0.1.0\package\scripts/metrics_collector.py", line
47, in start
action = 'start'
File "C:\ambari\ambari-agent\sbin\ambari_commons\os_family_impl.py", line 89, in thunk
return fn(*args, **kwargs)
File "C:\ambari\ambari-agent\cache\common-services\AMBARI_METRICS\0.1.0\package\scripts\ams_service.py",
line 30, in ams_service
Service(params.ams_collector_win_service_name, action=action)
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\service.py",
line 58, in action_start
raise Fail(msg)
resource_management.core.exceptions.Fail: Error starting service: An instance of the service
is already running.



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

Mime
View raw message