flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maximilian Michels <...@apache.org>
Subject Re: flink run throws NPE, JobSubmissionResult is null when interactive and not isDetached()
Date Tue, 20 Sep 2016 11:49:07 GMT
Hi Luis,

That looks like a bug but looking at the code I don't yet see how it may
occur. We definitely need more information to reproduce it. Do you have an
example job? Are you using master or a Flink release? Are your Flink
cluster and your job compiled with the exact same version of Flink?

Cheers,
Max

On Tue, Sep 20, 2016 at 12:06 PM, Luis Mariano Guerra <
mariano@event-fabric.com> wrote:

> On Mon, Sep 19, 2016 at 8:02 PM, Fabian Hueske <fhueske@gmail.com> wrote:
>
>> Hi Luis,
>>
>> this looks like a bug.
>> Can you open a JIRA [1] issue and provide a more detailed description of
>> what you do (Environment, DataStream / DataSet, how do you submit the
>> program, maybe add a small program that reproduce the problem on your
>> setup)?
>>
>
> The problem was that I was catching an exception during setup and logging
> the error, but for some reason logging doesn't log at that point, is there
> a way to avoid the "log and print" problem during setup? or should I just
> print?
>
>
>>
>> Thanks, Fabian
>>
>> 2016-09-19 17:30 GMT+02:00 Luis Mariano Guerra <mariano@event-fabric.com>
>> :
>>
>>> context: I have two other similar jobs in the same project that run
>>> without problem.
>>>
>>> On Mon, Sep 19, 2016 at 4:28 PM, Luis Mariano Guerra <
>>> mariano@event-fabric.com> wrote:
>>>
>>>> hi
>>>>
>>>> submitting a job I get a NPE here:
>>>> https://github.com/apache/flink/blob/master/flink-clients/sr
>>>> c/main/java/org/apache/flink/client/CliFrontend.java#L781
>>>>
>>>> building from source and adding some prints I got that this.lastJobExecutionResult
>>>> here seems to be null: https://github.com/apache/flin
>>>> k/blob/master/flink-clients/src/main/java/org/apache/flink/c
>>>> lient/program/ClusterClient.java#L329
>>>>
>>>> any hint of what may I be doing wrong for this to fail like this?
>>>>
>>>
>>>
>>
>

Mime
View raw message