Re: [Feature]Returning RuntimeException to REST client while job submission

2019-01-24 Thread Lavkesh Lahngir
Hello, I created a Jira. Can somebody review it, please? Or suggest if this is useful? https://issues.apache.org/jira/browse/FLINK-11423 Thank you. ~Lavkesh On Thu, Jan 24, 2019 at 11:40 AM Lavkesh Lahngir wrote: > Hi, > It's not fixed in the master. I compiled and ran it yesterday. > I am not

Re: [Feature]Returning RuntimeException to REST client while job submission

2019-01-23 Thread Lavkesh Lahngir
Hi, It's not fixed in the master. I compiled and ran it yesterday. I am not if that is an issue or design choice. On Thu, Jan 24, 2019 at 11:38 AM Lavkesh Lahngir wrote: > Hello, > I mentioned in the first email. > > Version: 1.6.2, Commit ID: 3456ad0 > > On Thu, Jan 24, 2019 at 12:33 AM Chesnay

Re: [Feature]Returning RuntimeException to REST client while job submission

2019-01-23 Thread Lavkesh Lahngir
Hello, I mentioned in the first email. Version: 1.6.2, Commit ID: 3456ad0 On Thu, Jan 24, 2019 at 12:33 AM Chesnay Schepler wrote: > I suggest that you first tell me which version you are using so that I > can a) reproduce the issue and b) check that this issue wasn't fixed in > master or a rec

Re: [Feature]Returning RuntimeException to REST client while job submission

2019-01-23 Thread Chesnay Schepler
I suggest that you first tell me which version you are using so that I can a) reproduce the issue and b) check that this issue wasn't fixed in master or a recent bugfix release. On 23.01.2019 17:16, Lavkesh Lahngir wrote: Actually, I realized my mistake that JarRunHandler is being used in the

Re: [Feature]Returning RuntimeException to REST client while job submission

2019-01-23 Thread Lavkesh Lahngir
Actually, I realized my mistake that JarRunHandler is being used in the jar/run API call. And the changes are done in RestClusterClient. The problem I was facing was that It always gives me "The main method caused an error" without any more details. I am thinking when we throw ProgramInvocationExce

Re: [Feature]Returning RuntimeException to REST client while job submission

2019-01-23 Thread Chesnay Schepler
Which version are you using? On 23.01.2019 08:00, Lavkesh Lahngir wrote: Or maybe I am missing something? It looks like the JIRA is trying to solve the same issues I stated 🤔 In the main method, I just threw a simple new Exception("Some message") and I got the response I mentioned from the rest

[Feature]Returning RuntimeException to REST client while job submission

2019-01-22 Thread Lavkesh Lahngir
Hello, The change in FLINK-10312 makes REST response of the API not very informative. It strips the stack trace and returns a generic message. People

Re: [Feature]Returning RuntimeException to REST client while job submission

2019-01-22 Thread Lavkesh Lahngir
Or maybe I am missing something? It looks like the JIRA is trying to solve the same issues I stated 🤔 In the main method, I just threw a simple new Exception("Some message") and I got the response I mentioned from the rest API. Thanks. On Wed, Jan 23, 2019 at 2:50 PM Lavkesh Lahngir wrote: > He