SparkStreaming: error in fileStream()
问题 I am trying to implement spark streaming application in scala. I want to use fileStream() method to process newly arrived files as well as older files present in hadoop directory. I have followed fileStream() implementation from following two threads from stackoverflow as: Scala Spark streaming fileStream spark streaming fileStream I am using fileStream() as following: val linesRDD = ssc.fileStream[LongWritable, Text, TextInputFormat](inputDirectory, (t: org.apache.hadoop.fs.Path) => true,