Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-1939

fastutil version clash with spark distributions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 0.13.0
    • None
    • None

    Description

      Version difference in fast util breaks sparse algebra (specifically, RandomAccessSparseVector in assign, e.g., vec *= 5).

      observed version in CDH:

      file:/opt/cloudera/parcels/CDH-5.9.0-1.cdh5.9.0.p0.21/jars/fastutil-6.3.jar

      mahout uses 7.0.12

      java.lang.UnsupportedOperationException
      at it.unimi.dsi.fastutil.ints.AbstractInt2DoubleMap$BasicEntry.setValue(AbstractInt2DoubleMap.java:146)
      at org.apache.mahout.math.RandomAccessSparseVector$RandomAccessElement.set(RandomAccessSparseVector.java:235)
      at org.apache.mahout.math.VectorView$DecoratorElement.set(VectorView.java:181)
      at org.apache.mahout.math.AbstractVector.assign(AbstractVector.java:536)
      at org.apache.mahout.math.scalabindings.RLikeVectorOps.$div$eq(RLikeVectorOps.scala:45)
      ...

      Attachments

        Activity

          People

            Andrew_Palumbo Andrew Palumbo
            dlyubimov Dmitriy Lyubimov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: