I'd like to know whether it is possible to access the HDFS from the driver in a Spark application. That means, how to read/write a file from/to HDFS in the driver program. One possible solution is to read a file as a RDD (sc.textFile) and then collect it in the driver. However, this is not I'm looking for.
