Aaron Davidson created SPARK-2412:
-------------------------------------

             Summary: CoalescedRDD throws exception with certain pref locs
                 Key: SPARK-2412
                 URL: https://issues.apache.org/jira/browse/SPARK-2412
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 1.0.0
            Reporter: Aaron Davidson
            Assignee: Aaron Davidson


If the first pass of CoalescedRDD does not find the target number of locations 
AND the second pass finds new locations, an exception is thrown, as 
"groupHash.get(nxt_replica).get" is not valid.

The fix is just to add an ArrayBuffer to groupHash for that replica if it 
didn't already exist.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to