Advantage of setting name to RDD

Viewed 3336

There are API available for assigning name to RDD .

For example

val y = sc.parallelize(List(1,2,3))
y.setName("New Name")

What is the advantage of it ? Any specific reason for this feature to be available in Spark?

Thanks in advance.

2 Answers
Related