原文鏈接:Spark中加載本地(或者hdfs)文件以及SparkContext實例的textFile使用默認是從hdfs讀取文件,也可以指定sc.textFile("路徑").在路徑前面加上hdfs://表示從hdfs ...
確定! 回上一頁