You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Robert Metzger (Jira)" <ji...@apache.org> on 2020/09/23 12:05:00 UTC

[jira] [Created] (FLINK-19378) Running "./bin/flink run" without HADOOP_CLASSPATH to submit job to running YARN session fails

Robert Metzger created FLINK-19378:
--------------------------------------

             Summary: Running "./bin/flink run" without HADOOP_CLASSPATH to submit job to running YARN session fails
                 Key: FLINK-19378
                 URL: https://issues.apache.org/jira/browse/FLINK-19378
             Project: Flink
          Issue Type: Bug
          Components: Command Line Client, Deployment / YARN
    Affects Versions: 1.11.2
            Reporter: Robert Metzger


Steps to reproduce:

Shell A: 
1. export HADOOP_CLASSPATH
2. start YARN session

Shell B
(unset HADOOP_CLASSPATH if it is set automatically)
3. start a Flink job using {{./bin/flink run}}.

It will fail with {{Connection refused: localhost/127.0.0.1:8081}}.
Expected behavior: connect to YARN cluster using YARN properties file.

Workaround: set HADOOP_CLASSPATH, then the client will find the properties file.



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