You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Paritosh Ranjan (JIRA)" <ji...@apache.org> on 2012/10/31 08:43:13 UTC
[jira] [Comment Edited] (MAHOUT-1108) cluster-reuters.sh executes
seqdirectory with MAHOUT_LOCAL=true
[ https://issues.apache.org/jira/browse/MAHOUT-1108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13487603#comment-13487603 ]
Paritosh Ranjan edited comment on MAHOUT-1108 at 10/31/12 7:42 AM:
-------------------------------------------------------------------
The code tries to put reuters-out-seqdir directly in hdfs. It will hamper the execution of cluster-reuters in local mode. The code also removes the hadoop cluster status check and cleanup and directly puts everything in hdfs, which I think is not desired.
I think the problem faced while execution in distributed environment happened due to absence of HADOOP_HOME property. Can you retry with HADOOP_HOME set?
was (Author: paritoshranjan):
The code tries to put reuters-out-seqdir directly in hdfs. It will hamper the execution of cluster-reuters in local mode. The code also removes the hadoop cluster statu check and cleanup and directly puts everything in hdfs, which I think is not desired.
I think the problem faced while execution in distributed environment happened due to absence of HADOOP_HOME property. Can you retry with HADOOP_HOME set?
> cluster-reuters.sh executes seqdirectory with MAHOUT_LOCAL=true
> ---------------------------------------------------------------
>
> Key: MAHOUT-1108
> URL: https://issues.apache.org/jira/browse/MAHOUT-1108
> Project: Mahout
> Issue Type: Bug
> Affects Versions: 0.7
> Reporter: Elmer Garduno
> Priority: Minor
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Got the following exception when running the command with HADOOP_CONF and HADOOP_CONF_DIR
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/util/ProgramDriver
> at org.apache.mahout.driver.MahoutDriver.main(MahoutDriver.java:96)
> Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.util.ProgramDriver
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> ... 1 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira