报错:
Exception in thread "main" java.lang.IllegalArgumentException: java.net.URISyntaxException: Illegal character in scheme name at index 0: D://MyBigData/Aspark/data/ipsearch/ip.txt
原因:
val rdd1: RDD[(String, String, String)] = sc.textFile(" D://MyBigData/Aspark/data/ipsearch/ip.txt").map(x => { val f = x.split("|")
路径前面有空格!!!(字母D前面)