[
https://issues.apache.org/jira/browse/FLINK-19378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Metzger closed FLINK-19378.
----------------------------------
Resolution: Won't Fix
> 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
> Priority: Major
>
> 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)