java.lang.IndexOutOfBoundsException: v1.size != v2.size (25 != 23)

incubator-hama-user | Andrew Milkowski | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Hama "add, multi, norms, similarity" examples problems

    incubator-hama-user | 7 years ago | Andrew Milkowski
    java.lang.IndexOutOfBoundsException: v1.size != v2.size (25 != 23)
  2. 0

    Hama "add, multi, norms, similarity" examples problems

    incubator-hama-user | 7 years ago | Andrew Milkowski
    java.lang.IndexOutOfBoundsException: v1.size != v2.size (25 != 23)

    Root Cause Analysis

    1. java.lang.IndexOutOfBoundsException

      v1.size != v2.size (25 != 23)

      at org.apache.hama.matrix.AbstractVector.checkComformantSize()
    2. org.apache.hama
      MatrixAdditionMap.map
      1. org.apache.hama.matrix.AbstractVector.checkComformantSize(AbstractVector.java:92)
      2. org.apache.hama.matrix.DenseVector.add(DenseVector.java:150)
      3. org.apache.hama.matrix.algebra.MatrixAdditionMap.map(MatrixAdditionMap.java:35)
      4. org.apache.hama.matrix.algebra.MatrixAdditionMap.map(MatrixAdditionMap.java:18)
      4 frames
    3. Hadoop
      Child.main
      1. org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:144)
      2. org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:583)
      3. org.apache.hadoop.mapred.MapTask.run(MapTask.java:305)
      4. org.apache.hadoop.mapred.Child.main(Child.java:170)
      4 frames