flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uce <...@git.apache.org>
Subject [GitHub] flink pull request: [FLINK-2731][web-dashboard] Adds access to Job...
Date Wed, 07 Oct 2015 14:17:16 GMT
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)
    ```


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message