[
https://issues.apache.org/jira/browse/MAHOUT-637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012529#comment-13012529
]
Ted Dunning commented on MAHOUT-637:
------------------------------------
Regarding lines like this:
{code}
items.add(new String(data, Charset.forName("UTF-8")));
{code}
We have a dependency on guava, I think. It would allow
{code}
items.add(new String(data, Charsets.UTF8));
{code}
The benefit is that no exception has to be propagated or caught.
> Remove direct HBase dependency
> ------------------------------
>
> Key: MAHOUT-637
> URL: https://issues.apache.org/jira/browse/MAHOUT-637
> Project: Mahout
> Issue Type: Improvement
> Components: Classification
> Affects Versions: 0.4
> Reporter: Sean Owen
> Assignee: Sean Owen
> Priority: Minor
> Labels: bayesian, gora, hbase
> Fix For: 0.5
>
> Attachments: MAHOUT-637.patch
>
>
> As discussed on the mailing list, seems desirable to remove the direct
> dependence on HBase for now. The integration only exists for the Naive Bayes
> Classifier, and is based on an old version. A more comprehensive strategy for
> integrating with data sources, such as via Gora, is viewed as a desirable
> goal for later. This is a step in that direction.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira