Also add getConf to NewHadoopRDD

This commit is contained in:
Mikhail Bautin 2013-08-30 11:03:57 -07:00
parent 5e30172f70
commit 35090958b3

View file

@ -120,4 +120,7 @@ class NewHadoopRDD[K, V](
val theSplit = split.asInstanceOf[NewHadoopPartition] val theSplit = split.asInstanceOf[NewHadoopPartition]
theSplit.serializableHadoopSplit.value.getLocations.filter(_ != "localhost") theSplit.serializableHadoopSplit.value.getLocations.filter(_ != "localhost")
} }
def getConf: Configuration = confBroadcast.value.value
} }