My guess could be wrong too. But I think that's what is needed here. The pref matrix is conceptually 2147483647 x 2147483647, and very very sparse. There may be a "UI" issue here -- perhaps these flags could take a value "infinity" too.
But see if that value works, and others can comment on this assessment. On Wed, Jul 14, 2010 at 9:32 PM, Richard Simon Just <[email protected]> wrote: > I'm not quite getting it. > >> org.apache.mahout.math.CardinalityException: Required cardinality >> 2147483647 but got 7 > > In the exception message the 2147483647 = Integer.MAX_VALUE, while the > 7 is what has been passed as --numCols to DistributedLanczosSolver. It > seems a little strange to pass 2147483647 as numCols. haha. Not to > mention the fact that doing so gives a nice OutOfMemoryError. > > >
