Hi, I need to cache a file in a distributed fashion like Hadoop Distributed Cache and to be able to use it when needed. Is doing the following a right way of doing the same? Also, by doing SparkFiles.get(fileName) , would it just give all the contents in the form of a String?
SparkContext.addFile() SparkFiles.get(fileName) Thanks, Swetha -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Distributed-caching-of-a-file-in-SPark-Streaming-tp25157.html Sent from the Apache Spark User List mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org