GitHub user unsleepy22 opened a pull request:

    https://github.com/apache/storm/pull/1161

    [Storm-1579] Fix NoSuchFileException when running tests in storm-core

    The old code takes "storm.local.dir" property as logDir while changes in 
STORM-1552 used ConfigUtils.getLogDir, which doesn't take this property, 
causing the ultimate event log directory to be "/logs/xxxx" and resulting in 
NoSuchFileException because permission is denied to create /logs directory.
    
    The change of code causes 3 test cases to fail in supervisor_test, so I 
changed them accordingly to make all tests pass.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/unsleepy22/storm STORM-1579

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/storm/pull/1161.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1161
    
----
commit 034f0cf107403100650d6eb65e7168f62133864a
Author: 卫乐 <[email protected]>
Date:   2016-02-28T14:33:21Z

    fix STORM-1579, checks storm.local.dir property/conf when getting storm log 
dir

commit 504c11b8ead80e186ff0de83dbdece2337cd1162
Author: 卫乐 <[email protected]>
Date:   2016-02-28T14:42:56Z

    append "/logs" to "storm.local.dir" property when non-null

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to