You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2017/05/22 19:44:04 UTC

[jira] [Closed] (FLINK-6610) WebServer could not be created,when set the "jobmanager.web.submit.enable" to false

     [ https://issues.apache.org/jira/browse/FLINK-6610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chesnay Schepler closed FLINK-6610.
-----------------------------------
    Resolution: Fixed

1.3: f72b8737912f5546aa97c3cfcde86d9d1aebc60e
1.4: 60fa0d4da38eb0e724304903fe42471264ff7e2d

> WebServer could not be created,when set the "jobmanager.web.submit.enable" to false
> -----------------------------------------------------------------------------------
>
>                 Key: FLINK-6610
>                 URL: https://issues.apache.org/jira/browse/FLINK-6610
>             Project: Flink
>          Issue Type: Bug
>          Components: Webfrontend
>    Affects Versions: 1.3.0, 1.4.0
>            Reporter: zhihao chen
>            Assignee: Chesnay Schepler
>
> WebServer could not be created,when set the "jobmanager.web.submit.enable" to false  
> because the WebFrontendBootstrap will check uploadDir not allow be null 
> this.uploadDir = Preconditions.checkNotNull(directory);
> {code}
> 2017-05-17 15:15:46,938 ERROR org.apache.flink.runtime.webmonitor.WebMonitorUtils           - WebServer could not be created
> java.lang.NullPointerException
> 	at org.apache.flink.util.Preconditions.checkNotNull(Preconditions.java:58)
> 	at org.apache.flink.runtime.webmonitor.utils.WebFrontendBootstrap.<init>(WebFrontendBootstrap.java:73)
> 	at org.apache.flink.runtime.webmonitor.WebRuntimeMonitor.<init>(WebRuntimeMonitor.java:359)
> 	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:423)
> 	at org.apache.flink.runtime.webmonitor.WebMonitorUtils.startWebRuntimeMonitor(WebMonitorUtils.java:135)
> 	at org.apache.flink.runtime.clusterframework.BootstrapTools.createWebMonitorIfConfigured(BootstrapTools.java:242)
> 	at org.apache.flink.yarn.YarnApplicationMasterRunner.runApplicationMaster(YarnApplicationMasterRunner.java:352)
> 	at org.apache.flink.yarn.YarnApplicationMasterRunner$1.call(YarnApplicationMasterRunner.java:195)
> 	at org.apache.flink.yarn.YarnApplicationMasterRunner$1.call(YarnApplicationMasterRunner.java:192)
> 	at org.apache.flink.runtime.security.HadoopSecurityContext$1.run(HadoopSecurityContext.java:43)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.security.auth.Subject.doAs(Subject.java:422)
> 	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
> 	at org.apache.flink.runtime.security.HadoopSecurityContext.runSecured(HadoopSecurityContext.java:40)
> 	at org.apache.flink.yarn.YarnApplicationMasterRunner.run(YarnApplicationMasterRunner.java:192)
> 	at org.apache.flink.yarn.YarnApplicationMasterRunner.main(YarnApplicationMasterRunner.java:116)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)