My issue is similar to this one: How do I build/run this simple Mahout program without getting exceptions?, but a bit more complicated.
I'm writing Hadoop code, and would like to use Mahout math libs (e.g. SparseRowMatrix & VectorWritable classes).
The problem is that the former example class lies at math folder of latest SNAPSHOT of Mahout, while the latter is placed under core folder, and both share the same path as of the point after the root folder (org.apache.mahout.math)
.
The problem is that I have found no way to make Hadoop jar file to import properly the classes that concern math stuff, but lie under the Core folder of Mahout project.
I'm working with Eclipse and to run successfully my jobs, I have ,each time I export a new jar, to search down the classpath
tree of core folder & bundle the respective math folder into my project.
How can I avoid this procedure?