java.lang.IllegalStateException: iterator() can only be called once on this Iterable

crunch-user | Nathan Schile | 11 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    MemGroupedTable - iterator() can only be called once on this Iterable

    crunch-user | 11 months ago | Nathan Schile
    java.lang.IllegalStateException: iterator() can only be called once on this Iterable

    Root Cause Analysis

    1. java.lang.IllegalStateException

      iterator() can only be called once on this Iterable

      at org.apache.crunch.impl.SingleUseIterable.iterator()
    2. org.apache.crunch
      MemGroupedTable.ungroup
      1. org.apache.crunch.impl.SingleUseIterable.iterator(SingleUseIterable.java:43)
      2. org.apache.crunch.impl.mem.collect.MemGroupedTable$UngroupFn.process(MemGroupedTable.java:148)
      3. org.apache.crunch.impl.mem.collect.MemGroupedTable$UngroupFn.process(MemGroupedTable.java:145)
      4. org.apache.crunch.impl.mem.collect.MemCollection.parallelDo(MemCollection.java:155)
      5. org.apache.crunch.impl.mem.collect.MemCollection.parallelDo(MemCollection.java:143)
      6. org.apache.crunch.impl.mem.collect.MemGroupedTable.ungroup(MemGroupedTable.java:142)
      6 frames