Hi Chesnay,

I’ve created the ticket here - https://issues.apache.org/jira/browse/FLINK-12632

From: Chesnay Schepler <ches...@apache.org>
Date: Thursday, 23 May 2019 at 5:48 PM
To: Wouter Zorgdrager <w.d.zorgdra...@tudelft.nl>, Harshith Kumar Bolar 
<hk...@arity.com>
Cc: user <user@flink.apache.org>
Subject: [External] Re: Flink not giving full reason as to why job submission 
failed

Please open a new JIRA. FLINK-11902 modified the REST API to no longer hide the 
exception, but the WebUI isn't handling the error response properly (it only 
reads and displays part of it).

On 20/05/2019 16:24, Wouter Zorgdrager wrote:
Hi Harshith,

This is indeed an issue not resolved in 1.8. I added a comment to the (closed) 
Jira issue, so this might be fixed in further releases.

Cheers,
Wouter

Op ma 20 mei 2019 om 16:18 schreef Kumar Bolar, Harshith 
<hk...@arity.com<mailto:hk...@arity.com>>:
Hi Wouter,

I’ve upgraded Flink to 1.8, but now I only see Internal server error on the 
dashboard when a job deployment fails.

[cid:part2.D1A84AB0.D9A46688@apache.org]

But in the logs I see the correct exception -
                Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
      at 
functions.PersistPIDMessagesToCassandra.main(PersistPIDMessagesToCassandra.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__PersistPIDMessagesToCassandra.java&d=DwQDaQ&c=gtIjdLs6LnStUpy9cTOW9w&r=61bFb6zUNKZxlAQDRo_jKA&m=nRUk8cmqhwhHL8TyqbNWZ4Nvht3-hwnzZu3KGqj5qbI&s=5Lwm96VC3RdMziLSpFnppCoKK_14Zp3b49CJOSX3rKo&e=>:59)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__NativeMethodAccessorImpl.java&d=DwQDaQ&c=gtIjdLs6LnStUpy9cTOW9w&r=61bFb6zUNKZxlAQDRo_jKA&m=nRUk8cmqhwhHL8TyqbNWZ4Nvht3-hwnzZu3KGqj5qbI&s=e2RuVWtWwhDG3USZwQ9P84h7ljCJCZRrSzJDSqbkwEQ&e=>:62)
      at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__DelegatingMethodAccessorImpl.java&d=DwQDaQ&c=gtIjdLs6LnStUpy9cTOW9w&r=61bFb6zUNKZxlAQDRo_jKA&m=nRUk8cmqhwhHL8TyqbNWZ4Nvht3-hwnzZu3KGqj5qbI&s=kTdo5BIrZ83HcIRlcYdw63CHaibTWfukz5PwaGSdQdA&e=>:43)
      at 
java.lang.reflect.Method.invoke(Method.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__Method.java&d=DwQDaQ&c=gtIjdLs6LnStUpy9cTOW9w&r=61bFb6zUNKZxlAQDRo_jKA&m=nRUk8cmqhwhHL8TyqbNWZ4Nvht3-hwnzZu3KGqj5qbI&s=y7yW_D_UVGqBU95zvgAEFjid5J7e27YeVZX_AOjcE9U&e=>:498)
      at 
org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__PackagedProgram.java&d=DwQDaQ&c=gtIjdLs6LnStUpy9cTOW9w&r=61bFb6zUNKZxlAQDRo_jKA&m=nRUk8cmqhwhHL8TyqbNWZ4Nvht3-hwnzZu3KGqj5qbI&s=qPTNCVsS5k-6MwsAWjwJJ_CUAaWBYt4kbfpLYu6iYSc&e=>:529)
      ... 9 more

Is there any way to show these errors on the dashboard? Because many 
application teams deploy jobs through the dashboard and don’t have ready access 
to the logs.

Thanks,
Harshith

From: Wouter Zorgdrager 
<w.d.zorgdra...@tudelft.nl<mailto:w.d.zorgdra...@tudelft.nl>>
Date: Thursday, 16 May 2019 at 7:56 PM
To: Harshith Kumar Bolar <hk...@arity.com<mailto:hk...@arity.com>>
Cc: user <user@flink.apache.org<mailto:user@flink.apache.org>>
Subject: [External] Re: Flink not giving full reason as to why job submission 
failed

Hi Harshith,

This was indeed an issue in 1.7.2, but fixed in 1.8.0. See the corresponding 
Jira issue [1].

Cheers,
Wouter

[1]: 
https://issues.apache.org/jira/browse/FLINK-11902<https://urldefense.proofpoint.com/v2/url?u=https-3A__issues.apache.org_jira_browse_FLINK-2D11902&d=DwMFaQ&c=gtIjdLs6LnStUpy9cTOW9w&r=61bFb6zUNKZxlAQDRo_jKA&m=mnxsj0sRDEDo66PWXKz0vcnqyR6N6FFcRT1a8fQQ_tQ&s=ExTlIDAtlDhFXbfvmWEX7sSHnlu6sLz3SdyB9-1Hv60&e=>

Op do 16 mei 2019 om 16:05 schreef Kumar Bolar, Harshith 
<hk...@arity.com<mailto:hk...@arity.com>>:
Hi all,

After upgrading Flink to 1.7.2, when I try to submit a job from the dashboard 
and there's some issue with the job, the job submission fails with the 
following error.

    Exception occurred in REST handler: 
org.apache.flink.client.program.ProgramInvocationException: The main method 
caused an error.
There's no other reason given as to why the job failed to submit. This was not 
the case in 1.4.2. Is there a way to see the full reason why the job failed to 
deploy? I see the same error in the logs too with no additional information.
Thanks,
Harshith


Reply via email to