You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2015/05/29 11:29:18 UTC

[jira] [Commented] (AMBARI-11521) [WinTP2] Starting a service which is already running fails

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

Hadoop QA commented on AMBARI-11521:
------------------------------------

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

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

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {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:green}+1 core tests{color}.  The patch passed unit tests in .

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

This message is automatically generated.

> [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
>
>         Attachments: AMBARI-11521.0.patch
>
>
> 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)