[ https://issues.apache.org/jira/browse/MAHOUT-1939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15884592#comment-15884592 ]
ASF GitHub Bot commented on MAHOUT-1939: ---------------------------------------- GitHub user andrewpalumbo opened a pull request: https://github.com/apache/mahout/pull/285 MAHOUT-1939: Shade fastutil jar conflicictng with CDH Spark Reports of fastutils versions conflicting on CDH. Shade our fastutils in `mahout-math`. You can merge this pull request into a Git repository by running: $ git pull https://github.com/andrewpalumbo/mahout MAHOUT-1939 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/mahout/pull/285.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #285 ---- commit 4095c32e99b69f48ff5e091d612eb65569c25f73 Author: Andrew Palumbo <apalu...@apache.org> Date: 2017-02-26T07:25:35Z MAHOUT-1939: Shade fastutil jar conflicictng with CDH ---- > fastutil version clash with spark distributions > ----------------------------------------------- > > Key: MAHOUT-1939 > URL: https://issues.apache.org/jira/browse/MAHOUT-1939 > Project: Mahout > Issue Type: Bug > Reporter: Dmitriy Lyubimov > Assignee: Andrew Palumbo > Priority: Critical > Fix For: 0.13.0 > > > 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) > ... -- This message was sent by Atlassian JIRA (v6.3.15#6346)