You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2016/06/08 10:46:21 UTC

[jira] [Commented] (AMBARI-17115) [Change log directory prefix for service FLUME] Flume service not starting after changing the log directory

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

Hadoop QA commented on AMBARI-17115:
------------------------------------

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

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

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified test files.

    {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:red}-1 core tests{color}.  The test build failed in ambari-server 

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

This message is automatically generated.

> [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)