[ 
https://issues.apache.org/jira/browse/PIG-2644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mathias Herberts updated PIG-2644:
----------------------------------

    Attachment: PIG-2644.patch

The following patch adds nullity tests prior to accessing a value which may 
otherwise lead to an NPE being thrown.
                
> Piggybank's HadoopJobHistoryLoader throws NPE when reading broken history file
> ------------------------------------------------------------------------------
>
>                 Key: PIG-2644
>                 URL: https://issues.apache.org/jira/browse/PIG-2644
>             Project: Pig
>          Issue Type: Bug
>          Components: piggybank
>    Affects Versions: 0.8.1
>            Reporter: Mathias Herberts
>            Priority: Minor
>         Attachments: PIG-2644.patch
>
>
> When a history file has incomplete infos, HadoopJobHistoryLoader may throw 
> NPE, thus making the whole job fail which can be cumbersome when analyzing 
> thousands of files at once.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to