[
https://issues.apache.org/jira/browse/MAHOUT-1108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13489189#comment-13489189
]
Elmer Garduno commented on MAHOUT-1108:
---------------------------------------
@Paritosh I have updated the pull request to do the check before the first
call, and also made sure the directory is available on HDFS or locally if
that's the case.
@Lance I think this change doesn't affect the way you currently use it, as the
rest of the commands where already invoked without using MAHOUT_LOCAL.
> 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