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

ASF GitHub Bot commented on STORM-901:
--------------------------------------

Github user revans2 commented on the pull request:

    https://github.com/apache/storm/pull/822#issuecomment-151580821
  
    @zhuoliu all of the tests are failing with
    ```
    java.nio.file.NoSuchFileException: 
/tmp/667af8d4-e62c-4bee-a874-118c019c478d/workers-artifacts/test-1-1445964515/1027/events.log
        at 
sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) 
~[?:1.8.0_31]
        at 
sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) 
~[?:1.8.0_31]
        at 
sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) 
~[?:1.8.0_31]
        at 
sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
 ~[?:1.8.0_31]
        at 
java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
 ~[?:1.8.0_31]
        at java.nio.file.Files.newOutputStream(Files.java:216) ~[?:1.8.0_31]
        at java.nio.file.Files.newBufferedWriter(Files.java:2860) ~[?:1.8.0_31]
        at 
backtype.storm.metric.FileBasedEventLogger.initLogWriter(FileBasedEventLogger.java:32)
 [classes/:?]
        at 
backtype.storm.metric.FileBasedEventLogger.prepare(FileBasedEventLogger.java:85)
 [classes/:?]
        at 
backtype.storm.metric.EventLoggerBolt.prepare(EventLoggerBolt.java:39) 
[classes/:?]
        at 
backtype.storm.daemon.executor$fn__7917$fn__7930.invoke(executor.clj:819) 
[classes/:?]
        at backtype.storm.util$async_loop$fn__1152.invoke(util.clj:480) 
[classes/:?]
        at clojure.lang.AFn.run(AFn.java:22) [clojure-1.7.0.jar:?]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_31]
    ```
    
    It looks like the event logger test is trying to write to a directory that 
does not exist.


> Worker Artifacts Directory
> --------------------------
>
>                 Key: STORM-901
>                 URL: https://issues.apache.org/jira/browse/STORM-901
>             Project: Apache Storm
>          Issue Type: New Feature
>          Components: storm-core
>            Reporter: Robert Joseph Evans
>            Assignee: Zhuo Liu
>
> At Yahoo we have added in a separate directory that stores a workers log 
> files, but also provides a place where the worker can place other files that 
> it might help with debugging.  It is a new directory in the current working 
> directory of the worker process.  The files in there are cleaned up if they 
> get too large, but provides a place for heap dumps GC logs, etc.
> This work is already done, but needs to be put back into open source.



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

Reply via email to