incubator-bigtop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Mahé (Commented) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (BIGTOP-259) Most of the mahout tests can't be executed out-of-the box
Date Wed, 16 Nov 2011 23:09:52 GMT

    [ https://issues.apache.org/jira/browse/BIGTOP-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151610#comment-13151610
] 

Bruno Mahé commented on BIGTOP-259:
-----------------------------------

+1
                
> Most of the mahout tests can't be executed out-of-the box
> ---------------------------------------------------------
>
>                 Key: BIGTOP-259
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-259
>             Project: Bigtop
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 0.2.0
>            Reporter: Roman Shaposhnik
>            Assignee: Roman Shaposhnik
>             Fix For: 0.3.0
>
>         Attachments: BIGTOP-259.patch.txt
>
>
> Here's what the problem looks like:
>    Error: java.lang.ClassNotFoundException: org.apache.mahout.math.Vector
> First the good news: it is fixed upstream: MAHOUT-680. The root cause of the problem
is the fact that /usr/lib/mahout/bin/mahout constructs HADOOP_CLASSPATH in such a way that
it puts mahout-examples-0.5-job.jar *after* mahout-core-0.5-job.jar. That trips up job submission
code into putting mahout-core-0.5-job.jar into distributed cache instead of  mahout-examples-0.5-job.jar
(which has the missing class definitions).
> A proposed workaround to sustain us for as long as MAHOUT-680 hasn't been put into any
release yet is to manually initialize HADOOP_CLASSPATH with mahout-examples-0.5-job.jar at
the level of /usr/bin/mahout. This is ugly but it works.

--
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

       

Mime
View raw message