flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavio Pompermaier <pomperma...@okkam.it>
Subject Re: NPE stacktrace
Date Tue, 25 Nov 2014 10:15:33 GMT
No..they report just a null pointer in a taskmanager during a certain
function

On Tue, Nov 25, 2014 at 10:59 AM, Stephan Ewen <sewen@apache.org> wrote:

> The TaskManager log or the JobManager log or the JobManager WebFrontend
> show nothing?
>
> On Tue, Nov 25, 2014 at 10:30 AM, Flavio Pompermaier <pompermaier@okkam.it
> > wrote:
>
>> The problem is that RuntimeExceptions are not catched by user code so
>> (IMO) Flink should log somewhere all the stacktrace of those exceptions..
>> At the moment I see only that during a step there was a
>> NullPointerException but I don't know nothing more (no class or line or
>> stacktrace) :(
>>
>> On Tue, Nov 25, 2014 at 10:24 AM, Stephan Ewen <sewen@apache.org> wrote:
>>
>>> Your functions can alway print to sysout or syserr (for example on
>>> exceptions). It will be redirected to the *.out files in the Flink log
>>> directory.
>>>
>>> The TaskManagers themselves should log the exceptions that cause tasks
>>> to fail.
>>>
>>> The JobManager should also display exceptions that cause failure in the
>>> web frontend.
>>>
>>> This is not specific to NullPointerExceptions, however.
>>>
>>> Does this help?
>>> Am 25.11.2014 09:24 schrieb "Flavio Pompermaier" <pompermaier@okkam.it>:
>>>
>>> Hy to all,
>>>>
>>>> is there a way to print/log all the stacktrace of NullPointerExceptions
>>>> during the execution of a function in Flink..?
>>>>
>>>> Best,
>>>> Flavio
>>>>
>>>
>>
>

Mime
View raw message