You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Kostas Kloudas (Jira)" <ji...@apache.org> on 2020/05/29 07:53:00 UTC

[jira] [Comment Edited] (FLINK-17819) Yarn error unhelpful when forgetting HADOOP_CLASSPATH

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

Kostas Kloudas edited comment on FLINK-17819 at 5/29/20, 7:52 AM:
------------------------------------------------------------------

Merged on master with c8ab94f2107d28c0f3e356a4d4c801a88e719ed0
and on release-1.11 with e3208463f01ce52b07ca89d470d3702719dc2696
and on release-1.10 with 8730b5b73a43a75a70627d1ab60231bb3e06afc2 


was (Author: kkl0u):
Merged on master with c8ab94f2107d28c0f3e356a4d4c801a88e719ed0
and on release-1.11 with e3208463f01ce52b07ca89d470d3702719dc2696

pending merge on 1.9 and 1.10 

> Yarn error unhelpful when forgetting HADOOP_CLASSPATH
> -----------------------------------------------------
>
>                 Key: FLINK-17819
>                 URL: https://issues.apache.org/jira/browse/FLINK-17819
>             Project: Flink
>          Issue Type: Improvement
>          Components: Deployment / YARN
>    Affects Versions: 1.9.3, 1.10.1
>            Reporter: Arvid Heise
>            Assignee: Kostas Kloudas
>            Priority: Critical
>              Labels: pull-request-available, usability
>             Fix For: 1.11.0
>
>
> When running
> {code:bash}
> flink run -m yarn-cluster -yjm 1768 -ytm 50072 -ys 32 ...
> {code}
> without some export HADOOP_CLASSPATH, we get the unhelpful message
> {noformat}
> Could not build the program from JAR file: JAR file does not exist: -yjm
> {noformat}
> I'd expect something like
> {noformat}
> yarn-cluster can only be used with exported HADOOP_CLASSPATH, see <url> for more information{noformat}
>  
> I suggest to load a stub for YarnCluster deployment if the actual implementation fails to load, which prints this error when used.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)