You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Mathias Herberts (Created) (JIRA)" <ji...@apache.org> on 2012/04/10 14:17:17 UTC
[jira] [Created] (PIG-2644) Piggybank's HadoopJobHistoryLoader
throws NPE when reading broken history file
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
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
[jira] [Commented] (PIG-2644) Piggybank's HadoopJobHistoryLoader
throws NPE when reading broken history file
Posted by "Prashant Kommireddi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13258712#comment-13258712 ]
Prashant Kommireddi commented on PIG-2644:
------------------------------------------
Is there any documentation on how this is used?
> 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
> Assignee: Mathias Herberts
> Priority: Minor
> Fix For: 0.11
>
> 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
[jira] [Updated] (PIG-2644) Piggybank's HadoopJobHistoryLoader
throws NPE when reading broken history file
Posted by "Mathias Herberts (Updated) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Resolved] (PIG-2644) Piggybank's HadoopJobHistoryLoader
throws NPE when reading broken history file
Posted by "Daniel Dai (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Dai resolved PIG-2644.
-----------------------------
Resolution: Fixed
Fix Version/s: 0.11
Assignee: Mathias Herberts
Hadoop Flags: Reviewed
Patch committed to trunk. Thanks Mathias! Glad to see JobHistoryLoader is being used outside Yahoo.
> 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
> Assignee: Mathias Herberts
> Priority: Minor
> Fix For: 0.11
>
> 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