[
https://issues.apache.org/jira/browse/FLINK-13744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17329673#comment-17329673
]
Flink Jira Bot commented on FLINK-13744:
----------------------------------------
This issue has been labeled "stale-minor" for 7 days. It is closed now. If you
are still affected by this or would like to raise the priority of this ticket
please re-open, removing the label "auto-closed" and raise the ticket priority
accordingly.
> Improper error message when submit flink job in yarn-cluster mode without
> hadoop lib bundled
> --------------------------------------------------------------------------------------------
>
> Key: FLINK-13744
> URL: https://issues.apache.org/jira/browse/FLINK-13744
> Project: Flink
> Issue Type: Improvement
> Components: Command Line Client
> Affects Versions: 1.9.0
> Reporter: Jeff Zhang
> Priority: Minor
> Labels: stale-minor
>
> Here's the error message I see when I submit flink job in yarn-cluster mode.
> The root cause is that I didn't build flink with profile include-hadoop. But
> the error message here doesn't tell user what's wrong here. We should improve
> the error message in this case.
>
> {code:java}
> ➜ build-target git:(FLINK-13415) ✗ bin/flink run -m yarn-cluster
> examples/batch/WordCount.jar
> ------------------------------------------------------------
> The program finished with the following exception:
> java.lang.RuntimeException: Could not identify hostname and port in
> 'yarn-cluster'.
> at
> org.apache.flink.client.ClientUtils.parseHostPortAddress(ClientUtils.java:47)
> at
> org.apache.flink.client.cli.AbstractCustomCommandLine.applyCommandLineOptionsToConfiguration(AbstractCustomCommandLine.java:83)
> at
> org.apache.flink.client.cli.DefaultCLI.createClusterDescriptor(DefaultCLI.java:60)
> at
> org.apache.flink.client.cli.DefaultCLI.createClusterDescriptor(DefaultCLI.java:35)
> at
> org.apache.flink.client.cli.CliFrontend.runProgram(CliFrontend.java:216)
> at org.apache.flink.client.cli.CliFrontend.run(CliFrontend.java:205)
> at
> org.apache.flink.client.cli.CliFrontend.parseParameters(CliFrontend.java:1010)
> at
> org.apache.flink.client.cli.CliFrontend.lambda$main$10(CliFrontend.java:1083)
> at
> org.apache.flink.runtime.security.NoOpSecurityContext.runSecured(NoOpSecurityContext.java:30)
> at org.apache.flink.client.cli.CliFrontend.main(CliFrontend.java:1083)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)