Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-9939

Mesos: Not setting TMP dirs causes NPE

    XMLWordPrintableJSON

Details

    Description

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

      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)
      

      Attachments

        Issue Links

          Activity

            People

              gjy Gary Yao
              gjy Gary Yao
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: