[jira] [Created] (FLINK-19379) Submitting job to running YARN session fails

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-19379) Submitting job to running YARN session fails

Shang Yuanchun (Jira)
Robert Metzger created FLINK-19379:
--------------------------------------

             Summary: 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
    Affects Versions: 1.11.2
            Reporter: Robert Metzger


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)