apache/spark — pull request #1276 by dianacarroll (2014-07-01 17:10:03+00:00)
Title: [SPARK-2334] fix rdd.id() Attribute Error

rdd.id() was returning an Attribute Error in some cases because self._id is not getting set. So instead of returning the _id attribute, return the value of id() from the jrdd. Fixes bug SPARK-2334.
Test with: sc.parallelize([1,2,3]).map(lambda x: x+1).id()