SANSA-Stack/Archived-SANSA-Examples

NTripleReader can not load file from HDFS

earthquakesan opened this issue · 0 comments

input: String = hdfs://namenode:8020/data/rdf.nt
<console>:120: error: type mismatch;
 found   : java.net.URI
 required: java.io.File
       val triplesRDD = NTripleReader.load(spark, JavaURI.create(input))