You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Gary Yao (JIRA)" <ji...@apache.org> on 2018/07/24 16:34:00 UTC

[jira] [Created] (FLINK-9939) Mesos: Not setting TMP dirs causes NPE

Gary Yao created FLINK-9939:
-------------------------------

             Summary: Mesos: Not setting TMP dirs causes NPE
                 Key: FLINK-9939
                 URL: https://issues.apache.org/jira/browse/FLINK-9939
             Project: Flink
          Issue Type: Bug
          Components: Mesos
    Affects Versions: 1.6.0
            Reporter: Gary Yao
            Assignee: Gary Yao


Relying on the default tmp dirs can cause an NPE when deploying on Mesos. Find the stacktrace below.

{noformat}
Exception in thread "main" java.lang.NullPointerException: Value must not be null.
        at org.apache.flink.configuration.Configuration.setValueInternal(Configuration.java:766)
        at org.apache.flink.configuration.Configuration.setString(Configuration.java:189)
        at org.apache.flink.runtime.clusterframework.BootstrapTools.updateTmpDirectoriesInConfiguration(BootstrapTools.java:490)
        at org.apache.flink.mesos.entrypoint.MesosEntrypointUtils.loadConfiguration(MesosEntrypointUtils.java:176)
        at org.apache.flink.mesos.entrypoint.MesosSessionClusterEntrypoint.main(MesosSessionClusterEntrypoint.java:177)
{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)