[ https://issues.apache.org/jira/browse/FLINK-2823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14947596#comment-14947596 ]
ASF GitHub Bot commented on FLINK-2823: --------------------------------------- Github user mxm commented on the pull request: https://github.com/apache/flink/pull/1235#issuecomment-146330037 The Hadoop configuration may also be set through resource files in the classpath. IMHO throwing an exception is only acceptable when we're sure no configuration has been loaded. > YARN client should report a proper exception if Hadoop Env variables are not > set > -------------------------------------------------------------------------------- > > Key: FLINK-2823 > URL: https://issues.apache.org/jira/browse/FLINK-2823 > Project: Flink > Issue Type: Bug > Components: YARN Client > Affects Versions: 0.10 > Reporter: Stephan Ewen > Fix For: 0.10 > > > The important variables are {{HADOOP_HOME}} and {{HADOOP_CONF_DIR}}. > If none of the two environment variables are set, the YARN client does not > pick the correct settings / file system to successfully deploy a job. > The YARN client should throw a good exception. Right now, this requires some > tricky debugging to find the cause of the problem. -- This message was sent by Atlassian JIRA (v6.3.4#6332)