[
https://issues.apache.org/jira/browse/FLINK-17978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17128815#comment-17128815
]
Yang Wang commented on FLINK-17978:
-----------------------------------
If hadoop dependency is missing in client side, the following exception will be
thrown.
{code:java}
-------------------------------------------------------------------------------------------------
The program finished with the following exception:
java.lang.IllegalStateException: No Executor found. Please make sure to export
the HADOOP_CLASSPATH environment variable or have hadoop in your classpath. For
more information refer to the "Deployment & Operations" section of the official
Apache Flink documentation. at
org.apache.flink.yarn.cli.FallbackYarnSessionCli.isActive(FallbackYarnSessionCli.java:59)
at
org.apache.flink.client.cli.CliFrontend.validateAndGetActiveCommandLine(CliFrontend.java:1090)
at org.apache.flink.client.cli.CliFrontend.run(CliFrontend.java:218) at
org.apache.flink.client.cli.CliFrontend.parseParameters(CliFrontend.java:916)
at org.apache.flink.client.cli.CliFrontend.lambda$main$10(CliFrontend.java:992)
at
org.apache.flink.runtime.security.contexts.NoOpSecurityContext.runSecured(NoOpSecurityContext.java:30)
at org.apache.flink.client.cli.CliFrontend.main(CliFrontend.java:992)
{code}
> Test Hadoop dependency change
> -----------------------------
>
> Key: FLINK-17978
> URL: https://issues.apache.org/jira/browse/FLINK-17978
> Project: Flink
> Issue Type: Sub-task
> Components: Runtime / Coordination
> Affects Versions: 1.11.0
> Reporter: Till Rohrmann
> Assignee: Yang Wang
> Priority: Critical
> Labels: release-testing
> Fix For: 1.11.0
>
>
> Test the Hadoop dependency change:
> * Run Flink with HBase/ORC (maybe add e2e test)
> * Validate meaningful exception message if Hadoop dependency is missing
--
This message was sent by Atlassian Jira
(v8.3.4#803005)