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

ASF GitHub Bot commented on FLINK-2731:
---------------------------------------

Github user uce commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1233#discussion_r41395253
  
    --- Diff: 
flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/WebRuntimeMonitor.java
 ---
    @@ -139,7 +148,14 @@ else if (flinkRoot != null) {
                        throw new IllegalConfigurationException("The path to 
the static contents (" + 
                                        webRootDir.getAbsolutePath() + ") is 
not a readable directory.");
                }
    -           
    +
    +           final File logStdoutDir = new File(flinkRoot, 
LOG_OUTPUT_DIRECTORY);
    --- End diff --
    
    please use the same kind of checks as for the resources. its fails for my 
machine after building:
    ```
    org.apache.flink.configuration.IllegalConfigurationException: The path to 
the log and stdout directory 
(/Users/ufuk/code/flink-2/flink-dist/target/flink-0.10-SNAPSHOT-bin/flink-0.10-SNAPSHOT/conf/../log)
 is not a readable directory.
        at 
org.apache.flink.runtime.webmonitor.WebRuntimeMonitor.<init>(WebRuntimeMonitor.java:156)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
        at 
org.apache.flink.runtime.jobmanager.JobManager$.startWebRuntimeMonitor(JobManager.scala:1772)
        at 
org.apache.flink.runtime.jobmanager.JobManager$.runJobManager(JobManager.scala:1322)
        at 
org.apache.flink.runtime.jobmanager.JobManager$.main(JobManager.scala:1194)
        at org.apache.flink.runtime.jobmanager.JobManager.main(JobManager.scala)
    ```


> Add JobManager log file access
> ------------------------------
>
>                 Key: FLINK-2731
>                 URL: https://issues.apache.org/jira/browse/FLINK-2731
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Webfrontend
>    Affects Versions: 0.10
>            Reporter: Stephan Ewen
>            Assignee: Sachin Goel
>             Fix For: 0.10
>
>
> Add access to the JobManager log file and out file in the web dashboard



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

Reply via email to