On Sat, Jan 29, 2011 at 11:01 PM, Dmitriy Lyubimov (JIRA)
<[email protected]>wrote:

> * apache commons dependencies is a mess. math module depends on 2.1 but
> core module depends on 1.2 so when run, there are all sorts of linkage
> errors because of classes being ocasionally picked up from either 1.2 or 2.1
> . I switched both modules to 2.1. Actually 2.1 dependency in math was test
> scope only, but i removed that as i assumed math module is intended to have
> math dependencies and hadoop module is intended to have hadoop (MR) stuff.
> But it turns out core module has math-commons dependency anyway... so please
> review commons-math dependency, i really need it working either in core or
> math and i had all SSVD tests ever with 2.1 (fyi).
>

One way around all of this is for you to post a test case for in-memory SVD
based on the test case from commons-math.  Then all of us can together tweak
mahout-math eigen and svd decompositions to match the desired behavior.

That gets rid of the entire dependency.


> on a side note, the issue with dependencies above is in part caused by
> inconsistent use of <dependencyManagement> tag: some dependencies use single
> versioning thru parent's <dependencyManagement> and some (most, actually)
> declare their own versioning in subprojects. I think Mahout really needs
> dependencies housecleaning work done and move all versions under dependency
> management in the parent pom.
>

That would be an excellent idea.

Can you suggest a patch leading in that direction?  It doesn't have to be
everything, but an example would allow lots of people who don't quite know
how to do this to also jump in to help.

Reply via email to