java.util.NoSuchElementException: iterate past last value

incubator-crunch-user | Rahul | 5 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

    Exception due to same iterator returned back by PGroupedTableType

    incubator-crunch-user | 5 years ago | Rahul
    java.util.NoSuchElementException: iterate past last value

    Root Cause Analysis

    1. java.util.NoSuchElementException

      iterate past last value

      at org.apache.hadoop.mapreduce.ReduceContext$ValueIterator.next()
    2. Hadoop
      ReduceContext$ValueIterator.next
      1. org.apache.hadoop.mapreduce.ReduceContext$ValueIterator.next(ReduceContext.java:159)
      1 frame
    3. com.cloudera.crunch
      PGroupedTableType$PTypeIterable$1.next
      1. com.cloudera.crunch.types.PGroupedTableType$PTypeIterable$1.next(PGroupedTableType.java:56)
      1 frame
    4. com.mylearning.crunch
      TuplesTest$ScoreCalculator.process
      1. com.mylearning.crunch.TuplesTest$ScoreCalculator.process(TuplesTest.java:52)
      2. com.mylearning.crunch.TuplesTest$ScoreCalculator.process(TuplesTest.java:1)
      2 frames
    5. com.cloudera.crunch
      IntermediateEmitter.emit
      1. com.cloudera.crunch.impl.mr.run.RTNode.process(RTNode.java:85)
      2. com.cloudera.crunch.impl.mr.emit.IntermediateEmitter.emit(IntermediateEmitter.java:39)
      2 frames