1
我是新來的apache火花。我試圖運行https://github.com/prabeesh/SparkTwitterAnalysis/tree/0.2.0的例子,但控制檯是給我下面的錯誤:推特在Apache Spark上的熱門標籤
WARN scheduler.TaskSchedulerImpl: Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient memory
我已經使用nc -lk 9999
啓動服務器和我已經SBT/SBT包
編譯的代碼,並excecuted使用sbt
代碼/ sbt 'run spark://localhost:9999 <keys as specifies> hashtag'
,這是什麼錯誤的原因以及如何解決它
在此先感謝。
嘿,anas謝謝你的迴應。我已經檢查過它們併爲它們分配了高達5GB的節點內存。 http://stackoverflow.com/questions/25975250/apache-spark-streaming-data-initial-job-has-not-accepted-any-resources我已經詳細解釋了我的問題 – 2014-09-22 13:24:52
我認爲你的集羣工作不正常。你是否重新啓動了羣集? – Anas 2014-09-23 11:53:57
您可以在您正在初始化火花上下文的位置共享代碼。 – Anas 2014-09-25 07:16:55