[
https://issues.apache.org/jira/browse/FLINK-2823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14947439#comment-14947439
]
ASF GitHub Bot commented on FLINK-2823:
---------------------------------------
Github user rmetzger commented on the pull request:
https://github.com/apache/flink/pull/1235#issuecomment-146303645
I don't think that we can merge this change. We can not assume that
file:/// is an invalid path.
Also, I don't think there is a good way to check whether the hadoop
configuration has been loaded or whether the user is just running on the
default configuration.
I think the only thing we can do is throw an exception if none of the
common environment variable are set. But even then, users can put the path to
the hadoop configuration into the flink-conf.yaml.
But I think its okay, a workaround for these users would be to just set one
of the environment variables to make the exception go away.
> 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)