[ 
https://issues.apache.org/jira/browse/FLINK-2823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14946615#comment-14946615
 ] 

Stephan Ewen commented on FLINK-2823:
-------------------------------------

+1 for an exception

Logging is good, but experience shows many users don't consider logs.

I would write the exception is the env variable is not set. Users may actually 
use {{file://}} for the default file system, in case of MapR FS, so when they 
explicitly set that file system scheme, it should be accepted. Only when it 
defaults to that file system because of completely missing configs, it should 
fail.

> 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)

Reply via email to