You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by girish hilage <gi...@yahoo.com.INVALID> on 2017/05/26 03:37:55 UTC

get partition locations in spark

Hi,
In order to get the preferred locations for partitions I executed below statement,
r1.preferredLocations(part);but it returned an empty List().
How can I print the hostnames the partition is likely on?
Regards,Girish