def taskAttemptId(self):
    "\n        An ID that is unique to this task attempt (within the same SparkContext, no two task\n        attempts will share the same attempt ID).  This is roughly equivalent to Hadoop's\n        TaskAttemptID.\n        "
    return self._taskAttemptId
An ID that is unique to this task attempt (within the same SparkContext, no two task
attempts will share the same attempt ID).  This is roughly equivalent to Hadoop's
TaskAttemptID.
def taskAttemptId(self):
    "\n        An ID that is unique to this task attempt (within the same SparkContext, no two task\n        attempts will share the same attempt ID).  This is roughly equivalent to Hadoop's\n        TaskAttemptID.\n        "
    return self._taskAttemptId