You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Flink Jira Bot (Jira)" <ji...@apache.org> on 2021/06/01 23:28:01 UTC
[jira] [Updated] (FLINK-19379) Submitting job to running YARN
session fails
[ https://issues.apache.org/jira/browse/FLINK-19379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Flink Jira Bot updated FLINK-19379:
-----------------------------------
Labels: auto-unassigned stale-assigned usability (was: auto-unassigned usability)
I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help the community manage its development. I see this issue is assigned but has not received an update in 14, so it has been labeled "stale-assigned".
If you are still working on the issue, please remove the label and add a comment updating the community on your progress. If this issue is waiting on feedback, please consider this a reminder to the committer/reviewer. Flink is a very active project, and so we appreciate your patience.
If you are no longer working on the issue, please unassign yourself so someone else may work on it. If the "warning_label" label is not removed in 7 days, the issue will be automatically unassigned.
> Submitting job to running YARN session fails
> --------------------------------------------
>
> Key: FLINK-19379
> URL: https://issues.apache.org/jira/browse/FLINK-19379
> Project: Flink
> Issue Type: Bug
> Components: Command Line Client, Deployment / YARN, Documentation
> Affects Versions: 1.11.2
> Reporter: Robert Metzger
> Assignee: Robert Metzger
> Priority: Major
> Labels: auto-unassigned, stale-assigned, usability
> Fix For: 1.14.0
>
>
> Steps to reproduce:
> 1. start a YARN session
> 2. submit a job using: ./bin/flink run -t yarn-session -yid application_1600852002161_0003, where application_1600852002161_0003 is the id of the session started in 1.
> Expected behavior: submit job to running session.
> Actual behavior: Fails with this unhelpful exception:
> {code}
> org.apache.flink.client.program.ProgramInvocationException: The main method caused an error: null
> at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:302)
> at org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:198)
> at org.apache.flink.client.ClientUtils.executeProgram(ClientUtils.java:149)
> at org.apache.flink.client.cli.CliFrontend.executeProgram(CliFrontend.java:699)
> at org.apache.flink.client.cli.CliFrontend.run(CliFrontend.java:232)
> 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 java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:422)
> at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1893)
> at org.apache.flink.runtime.security.contexts.HadoopSecurityContext.runSecured(HadoopSecurityContext.java:41)
> at org.apache.flink.client.cli.CliFrontend.main(CliFrontend.java:992)
> Caused by: java.lang.IllegalStateException
> at org.apache.flink.util.Preconditions.checkState(Preconditions.java:179)
> at org.apache.flink.client.deployment.executors.AbstractSessionClusterExecutor.execute(AbstractSessionClusterExecutor.java:61)
> at org.apache.flink.api.java.ExecutionEnvironment.executeAsync(ExecutionEnvironment.java:973)
> at org.apache.flink.client.program.ContextEnvironment.executeAsync(ContextEnvironment.java:124)
> at org.apache.flink.client.program.ContextEnvironment.execute(ContextEnvironment.java:72)
> at com.ververica.TPCHQuery3.main(TPCHQuery3.java:184)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:288)
> ... 11 more
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)