You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Timothy Potter (JIRA)" <ji...@apache.org> on 2012/06/19 15:56:43 UTC
[jira] [Created] (MAHOUT-1033) Solution for MAHOUT-848 doesn't
check for the Configuration object being null before using it.
Timothy Potter created MAHOUT-1033:
--------------------------------------
Summary: Solution for MAHOUT-848 doesn't check for the Configuration object being null before using it.
Key: MAHOUT-1033
URL: https://issues.apache.org/jira/browse/MAHOUT-1033
Project: Mahout
Issue Type: Bug
Components: Integration
Affects Versions: 0.7
Environment: oozie integration
Reporter: Timothy Potter
A patch was supplied for MAHOUT-848 but it didn't check for the Configuration object being null before using it, so now Mahout jobs will throw an NPE when run in oozie (which is why I marked this ticket as major).
--
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] (MAHOUT-1033) Solution for MAHOUT-848 doesn't
check for the Configuration object being null before using it.
Posted by "Sean Owen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-1033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen updated MAHOUT-1033:
------------------------------
Resolution: Fixed
Fix Version/s: 0.8
Assignee: Sean Owen
Status: Resolved (was: Patch Available)
> Solution for MAHOUT-848 doesn't check for the Configuration object being null before using it.
> ----------------------------------------------------------------------------------------------
>
> Key: MAHOUT-1033
> URL: https://issues.apache.org/jira/browse/MAHOUT-1033
> Project: Mahout
> Issue Type: Bug
> Components: Integration
> Affects Versions: 0.7
> Environment: oozie integration
> Reporter: Timothy Potter
> Assignee: Sean Owen
> Fix For: 0.8
>
> Attachments: MAHOUT-1033.patch
>
>
> A patch was supplied for MAHOUT-848 but it didn't check for the Configuration object being null before using it, so now Mahout jobs will throw an NPE when run in oozie (which is why I marked this ticket as major).
--
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] (MAHOUT-1033) Solution for MAHOUT-848 doesn't
check for the Configuration object being null before using it.
Posted by "Timothy Potter (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-1033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Potter updated MAHOUT-1033:
-----------------------------------
Attachment: MAHOUT-1033.patch
a simple one-liner to check for null
> Solution for MAHOUT-848 doesn't check for the Configuration object being null before using it.
> ----------------------------------------------------------------------------------------------
>
> Key: MAHOUT-1033
> URL: https://issues.apache.org/jira/browse/MAHOUT-1033
> Project: Mahout
> Issue Type: Bug
> Components: Integration
> Affects Versions: 0.7
> Environment: oozie integration
> Reporter: Timothy Potter
> Attachments: MAHOUT-1033.patch
>
>
> A patch was supplied for MAHOUT-848 but it didn't check for the Configuration object being null before using it, so now Mahout jobs will throw an NPE when run in oozie (which is why I marked this ticket as major).
--
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] (MAHOUT-1033) Solution for MAHOUT-848 doesn't
check for the Configuration object being null before using it.
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-1033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13399368#comment-13399368 ]
Hudson commented on MAHOUT-1033:
--------------------------------
Integrated in Mahout-Quality #1556 (See [https://builds.apache.org/job/Mahout-Quality/1556/])
MAHOUT-1033 avoid NPE on null conf (Revision 1352837)
Result = SUCCESS
srowen : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1352837
Files :
* /mahout/trunk/core/src/main/java/org/apache/mahout/common/AbstractJob.java
> Solution for MAHOUT-848 doesn't check for the Configuration object being null before using it.
> ----------------------------------------------------------------------------------------------
>
> Key: MAHOUT-1033
> URL: https://issues.apache.org/jira/browse/MAHOUT-1033
> Project: Mahout
> Issue Type: Bug
> Components: Integration
> Affects Versions: 0.7
> Environment: oozie integration
> Reporter: Timothy Potter
> Assignee: Sean Owen
> Fix For: 0.8
>
> Attachments: MAHOUT-1033.patch
>
>
> A patch was supplied for MAHOUT-848 but it didn't check for the Configuration object being null before using it, so now Mahout jobs will throw an NPE when run in oozie (which is why I marked this ticket as major).
--
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] (MAHOUT-1033) Solution for MAHOUT-848 doesn't
check for the Configuration object being null before using it.
Posted by "Sean Owen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-1033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13425245#comment-13425245 ]
Sean Owen commented on MAHOUT-1033:
-----------------------------------
Grant I committed his one-liner patch a while ago.
> Solution for MAHOUT-848 doesn't check for the Configuration object being null before using it.
> ----------------------------------------------------------------------------------------------
>
> Key: MAHOUT-1033
> URL: https://issues.apache.org/jira/browse/MAHOUT-1033
> Project: Mahout
> Issue Type: Bug
> Components: Integration
> Affects Versions: 0.7
> Environment: oozie integration
> Reporter: Timothy Potter
> Assignee: Sean Owen
> Fix For: 0.8
>
> Attachments: MAHOUT-1033.patch
>
>
> A patch was supplied for MAHOUT-848 but it didn't check for the Configuration object being null before using it, so now Mahout jobs will throw an NPE when run in oozie (which is why I marked this ticket as major).
--
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] (MAHOUT-1033) Solution for MAHOUT-848 doesn't
check for the Configuration object being null before using it.
Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-1033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13425275#comment-13425275 ]
Grant Ingersoll commented on MAHOUT-1033:
-----------------------------------------
Sean, I know. It's just not released and I'm trying to upgrade to 0.7 and hitting this and I wanted to avoid being on trunk or a patched version so I was curious if there was a workaround.
> Solution for MAHOUT-848 doesn't check for the Configuration object being null before using it.
> ----------------------------------------------------------------------------------------------
>
> Key: MAHOUT-1033
> URL: https://issues.apache.org/jira/browse/MAHOUT-1033
> Project: Mahout
> Issue Type: Bug
> Components: Integration
> Affects Versions: 0.7
> Environment: oozie integration
> Reporter: Timothy Potter
> Assignee: Sean Owen
> Fix For: 0.8
>
> Attachments: MAHOUT-1033.patch
>
>
> A patch was supplied for MAHOUT-848 but it didn't check for the Configuration object being null before using it, so now Mahout jobs will throw an NPE when run in oozie (which is why I marked this ticket as major).
--
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] [Comment Edited] (MAHOUT-1033) Solution for MAHOUT-848
doesn't check for the Configuration object being null before using it.
Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-1033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13425240#comment-13425240 ]
Grant Ingersoll edited comment on MAHOUT-1033 at 7/30/12 9:30 PM:
------------------------------------------------------------------
Hey Tim,
Is there a workaround for this for 0.7 that you are aware of other than overriding the method?
was (Author: gsingers):
Hey Tim,
Is there a workaround for this for 0.7 that you are aware of?
> Solution for MAHOUT-848 doesn't check for the Configuration object being null before using it.
> ----------------------------------------------------------------------------------------------
>
> Key: MAHOUT-1033
> URL: https://issues.apache.org/jira/browse/MAHOUT-1033
> Project: Mahout
> Issue Type: Bug
> Components: Integration
> Affects Versions: 0.7
> Environment: oozie integration
> Reporter: Timothy Potter
> Assignee: Sean Owen
> Fix For: 0.8
>
> Attachments: MAHOUT-1033.patch
>
>
> A patch was supplied for MAHOUT-848 but it didn't check for the Configuration object being null before using it, so now Mahout jobs will throw an NPE when run in oozie (which is why I marked this ticket as major).
--
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] (MAHOUT-1033) Solution for MAHOUT-848 doesn't
check for the Configuration object being null before using it.
Posted by "Timothy Potter (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-1033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Potter updated MAHOUT-1033:
-----------------------------------
Status: Patch Available (was: Open)
> Solution for MAHOUT-848 doesn't check for the Configuration object being null before using it.
> ----------------------------------------------------------------------------------------------
>
> Key: MAHOUT-1033
> URL: https://issues.apache.org/jira/browse/MAHOUT-1033
> Project: Mahout
> Issue Type: Bug
> Components: Integration
> Affects Versions: 0.7
> Environment: oozie integration
> Reporter: Timothy Potter
> Attachments: MAHOUT-1033.patch
>
>
> A patch was supplied for MAHOUT-848 but it didn't check for the Configuration object being null before using it, so now Mahout jobs will throw an NPE when run in oozie (which is why I marked this ticket as major).
--
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] (MAHOUT-1033) Solution for MAHOUT-848 doesn't
check for the Configuration object being null before using it.
Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-1033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13425240#comment-13425240 ]
Grant Ingersoll commented on MAHOUT-1033:
-----------------------------------------
Hey Tim,
Is there a workaround for this for 0.7 that you are aware of?
> Solution for MAHOUT-848 doesn't check for the Configuration object being null before using it.
> ----------------------------------------------------------------------------------------------
>
> Key: MAHOUT-1033
> URL: https://issues.apache.org/jira/browse/MAHOUT-1033
> Project: Mahout
> Issue Type: Bug
> Components: Integration
> Affects Versions: 0.7
> Environment: oozie integration
> Reporter: Timothy Potter
> Assignee: Sean Owen
> Fix For: 0.8
>
> Attachments: MAHOUT-1033.patch
>
>
> A patch was supplied for MAHOUT-848 but it didn't check for the Configuration object being null before using it, so now Mahout jobs will throw an NPE when run in oozie (which is why I marked this ticket as major).
--
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