mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Anil (JIRA)" <j...@apache.org>
Subject [jira] Updated: (MAHOUT-431) NPE in CBayesThetaNormalizerReducer when using HBase
Date Wed, 30 Jun 2010 05:14:50 GMT

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

Robin Anil updated MAHOUT-431:
------------------------------

        Status: Resolved  (was: Patch Available)
    Resolution: Fixed

Committed

> NPE in CBayesThetaNormalizerReducer when using HBase
> ----------------------------------------------------
>
>                 Key: MAHOUT-431
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-431
>             Project: Mahout
>          Issue Type: Bug
>          Components: Classification
>    Affects Versions: 0.3, 0.4
>            Reporter: Jeremy Handcock
>             Fix For: 0.4
>
>         Attachments: CBayesThetaNormalizerReducer.patch
>
>
> I'm trying to use the complementary Bayes classifier and store the model in HBase (using
BayesParameters.set("dataSource", "hbase")).  When I run the MR jobs using CBayesDrvier, I
get a NullPointerException in CBayesThetaNormalizerReducer at line 92:
> hBconf.set(new HBaseConfiguration(job));
> 'hBconf' is a ThreadLocal<HBaseConfiguration> field and it looks like it has not
been initialized.  I initialized it and the model built successfully.  I observed the same
bug in the 0.3 release and in 0.4-SNAPSHOT.  I'll attach a patch that initializes the field.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message