[ 
https://issues.apache.org/jira/browse/NUTCH-2923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17467687#comment-17467687
 ] 

Lewis John McGibbney commented on NUTCH-2923:
---------------------------------------------

Hi Prakhar, I agree with you. Are you able to provide a patch or pull request? 
This will touch quite a few classes but it should be trivial to implement. 
Thanks 

> Add Job Id in Job Failure messages
> ----------------------------------
>
>                 Key: NUTCH-2923
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2923
>             Project: Nutch
>          Issue Type: Improvement
>          Components: crawldb, fetcher, generator, injector
>            Reporter: Prakhar Chaube
>            Priority: Minor
>
> In Job classes in case job doesn't succeed a failure message is initialized 
> as follows:
> _String message = "Generator job did not succeed, job status:"_
>               _+ job.getStatus().getState() + ", reason: "_
>               _+ job.getStatus().getFailureInfo();_
> However, this message doesn't contain JobId which can make it really hard to 
> reach the exact job from the logs. Adding JodId to this message will make it 
> easier to track and locate for debugging.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to