ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-17115) [Change log directory prefix for service FLUME] Flume service not starting after changing the log directory
Date Wed, 08 Jun 2016 13:36:21 GMT

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

Hudson commented on AMBARI-17115:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #5032 (See [https://builds.apache.org/job/Ambari-trunk-Commit/5032/])
AMBARI-17115. [Change log directory prefix for service FLUME] Flume (aonishuk: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=71cbc0254bcfa3f2d12a1a59ffbe1f4809f5a6d7])
* ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/flume.py
* ambari-server/src/test/python/stacks/2.0.6/FLUME/test_flume.py


> [Change log directory prefix for service FLUME] Flume service not starting after changing
the log directory
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-17115
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17115
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-17115.patch
>
>
> **Scenario** \- Modify log directory for FLUME (Key - Flume Log Dir)
> Expected - Service Should start successfully  
> Output - Service Failed to start (New log folder was not created )
>     
>     
>     
>     Traceback (most recent call last):
>       File "/var/lib/ambari-agent/cache/common-services/FLUME/1.4.0.2.0/package/scripts/flume_handler.py",
line 126, in <module>
>         FlumeHandler().execute()
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 257, in execute
>         method(env)
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 681, in restart
>         self.start(env, upgrade_type=upgrade_type)
>       File "/var/lib/ambari-agent/cache/common-services/FLUME/1.4.0.2.0/package/scripts/flume_handler.py",
line 54, in start
>         self.configure(env)
>       File "/var/lib/ambari-agent/cache/common-services/FLUME/1.4.0.2.0/package/scripts/flume_handler.py",
line 39, in configure
>         flume(action='config')
>       File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line
89, in thunk
>         return fn(*args, **kwargs)
>       File "/var/lib/ambari-agent/cache/common-services/FLUME/1.4.0.2.0/package/scripts/flume.py",
line 109, in flume
>         mode=0755,
>       File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line
155, in __init__
>         self.env.run()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 160, in run
>         self.run_action(resource, action)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 124, in run_action
>         provider_action()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
line 189, in action_create
>         raise Fail("Applying %s failed, parent directory %s doesn't exist" % (self.resource,
dirname))
>     resource_management.core.exceptions.Fail: Applying Directory['/grid/0/_QE-7627_/_logRMP5891_/FLUME']
failed, parent directory /grid/0/_QE-7627_/_logRMP5891_ doesn't exist



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

Mime
View raw message