Did you try? sc.textFile("file:\\\\networklocation\\README.md")
Thanks Best Regards On Sun, Dec 21, 2014 at 5:34 PM, Shuai Zheng <szheng.c...@gmail.com> wrote: > Hi, > > I am running a code which takes a network file (not HDFS) location as > input. But sc.textFile("\\\\networklocation\\README.md") can't recognize > the network location start with "\\\\" as a valid location, because it only > accept HDFS and local like file name format? > > Anyone has idea how can I use a network file location as input for create > RDD? > > Regards, > > Shuai >