Github user eastcirclek commented on the pull request:

    https://github.com/apache/flink/pull/1945#issuecomment-218727955
  
    @mxm 
    
    Yes, I tested it by simply assigning a non-existent directory to 
taskmanager.tmp.dirs in $FLINK_CONF_DIR/flink-conf.yaml which is read and 
parsed by GlobalConfiguration.loadConfiguration().
    
    I got the following error messages:
    ~/flink/flink-dist/target/flink-1.1-SNAPSHOT-bin/flink-1.1-SNAPSHOT/bin$ 
start-scala-shell.sh local
    Starting Flink Shell:
    Exception in thread "main" java.io.IOException: Temporary file directory 
/tmp/east does not exist.
            at 
org.apache.flink.runtime.taskmanager.TaskManager$$anonfun$checkTempDirs$1.apply(TaskManager.scala:2162)
            at 
org.apache.flink.runtime.taskmanager.TaskManager$$anonfun$checkTempDirs$1.apply(TaskManager.scala:2157)
        at 
scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
            at 
scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:108)
            at 
org.apache.flink.runtime.taskmanager.TaskManager$.checkTempDirs(TaskManager.scala:2157)
            at 
org.apache.flink.runtime.taskmanager.TaskManager$.startTaskManagerComponentsAndActor(TaskManager.scala:1752)
        at 
org.apache.flink.runtime.minicluster.LocalFlinkMiniCluster.startTaskManager(LocalFlinkMiniCluster.scala:142)
            at 
org.apache.flink.runtime.minicluster.FlinkMiniCluster$$anonfun$3.apply(FlinkMiniCluster.scala:319)
            at 
org.apache.flink.runtime.minicluster.FlinkMiniCluster$$anonfun$3.apply(FlinkMiniCluster.scala:312)
            at 
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
            at 
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
            at scala.collection.immutable.Range.foreach(Range.scala:141)
            at 
scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
            at scala.collection.AbstractTraversable.map(Traversable.scala:105)
            at 
org.apache.flink.runtime.minicluster.FlinkMiniCluster.start(FlinkMiniCluster.scala:312)
            at 
org.apache.flink.runtime.minicluster.FlinkMiniCluster.start(FlinkMiniCluster.scala:269)
            at 
org.apache.flink.api.scala.FlinkShell$.fetchConnectionInfo(FlinkShell.scala:148)
            at 
org.apache.flink.api.scala.FlinkShell$.liftedTree1$1(FlinkShell.scala:187)
            at 
org.apache.flink.api.scala.FlinkShell$.startShell(FlinkShell.scala:186)
            at org.apache.flink.api.scala.FlinkShell$.main(FlinkShell.scala:134)
            at org.apache.flink.api.scala.FlinkShell.main(FlinkShell.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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to