[file://]代表本地, 如果是window要话,路径可以是:file:///E:/aa/bb/cc.txt, 或 file:///E:\aa\bb\cc.txt
val conf = new SparkConf().setAppName("").setMaster("local[*]")
val sc = new SparkContext(conf)
sc.textFile("file:///C:\\Users\\LUMI\\Desktop\\oath2.txt")
[file://]代表本地, 如果是window要话,路径可以是:file:///E:/aa/bb/cc.txt, 或 file:///E:\aa\bb\cc.txt
val conf = new SparkConf().setAppName("").setMaster("local[*]")
val sc = new SparkContext(conf)
sc.textFile("file:///C:\\Users\\LUMI\\Desktop\\oath2.txt")