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

Jayush Luniya commented on AMBARI-9441:
---------------------------------------

commit 90e05a9c55282b25ecfcb0ede443818b992d8f51
Author: Jayush Luniya <[email protected]>
Date:   Tue Feb 3 12:17:02 2015 -0800

    AMBARI-9441 : Flume service from HDPWIN 2.2 fails to start because it is 
disabled (jluniya)

> Flume service from HDPWIN 2.2 fails to start because it is disabled
> -------------------------------------------------------------------
>
>                 Key: AMBARI-9441
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9441
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.0.0
>         Environment: Windows
>            Reporter: Jayush Luniya
>            Assignee: Jayush Luniya
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9441.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> We should enable Flume service before starting the service.
> Traceback (most recent call last):
>   File 
> "cache\common-services\FLUME\1.4.0.2.0\package\scripts/flume_handler.py", 
> line 125, in <module>
>     FlumeHandler().execute()
>   File 
> "C:\ambari\ambari-agent\sbin\resource_management\libraries\script\script.py", 
> line 184, in execute
>     method(env)
>   File "C:\ambari\ambari-agent\sbin\ambari_commons\os_family_impl.py", line 
> 89, in thunk
>     return fn(*args, **kwargs)
>   File 
> "cache\common-services\FLUME\1.4.0.2.0\package\scripts/flume_handler.py", 
> line 63, in start
>     Service(service_mapping.flume_win_service_name, action="start")
>   File "C:\ambari\ambari-agent\sbin\resource_management\core\base.py", line 
> 148, in __init__
>     self.env.run()
>   File "C:\ambari\ambari-agent\sbin\resource_management\core\environment.py", 
> line 151, in run
>     self.run_action(resource, action)
>   File "C:\ambari\ambari-agent\sbin\resource_management\core\environment.py", 
> line 117, in run_action
>     provider_action()
>   File 
> "C:\ambari\ambari-agent\sbin\resource_management\core\providers\windows\service.py",
>  line 35, in action_start
>     win32service.StartService(self._service_handle, None)
> pywintypes.error: (1058, 'StartService', 'The service cannot be started, 
> either because it is disabled or because it has no enabled devices associated 
> with it.')



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

Reply via email to