18/03/18 04:53:44 WARN TaskSchedulerImpl: Initial job has not accepted any resources; check your clu

1:遇到這個問題是在啓動bin/spark-shell以後,然後呢,執行spark實現wordcount的例子的時候出現錯誤了,如: scala> sc.textFile("hdfs://slaver1:9000/hello.txt").flatMap(_.split(" ")).map((_,1)).reduceByKey(_ + _).collect 執行上面操作之前我是這樣啓動我的spark
相關文章
相關標籤/搜索