Also add getConf to NewHadoopRDD
This commit is contained in:
parent
5e30172f70
commit
35090958b3
|
@ -120,4 +120,7 @@ class NewHadoopRDD[K, V](
|
|||
val theSplit = split.asInstanceOf[NewHadoopPartition]
|
||||
theSplit.serializableHadoopSplit.value.getLocations.filter(_ != "localhost")
|
||||
}
|
||||
|
||||
def getConf: Configuration = confBroadcast.value.value
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue