EMR Spark - TransportClient: Failed to send RPC

后端 未结 2 1585
独厮守ぢ
独厮守ぢ 2021-01-04 03:00

I\'m getting this error, I tried to increase memory on cluster instances and in the executor and driver parameters without success.

17/05/07 23:17:07 ERROR T         


        
2条回答
  •  感情败类
    2021-01-04 03:27

    When I setup hadoop and spark in my laptop and try to launch spark as "spark-shell --master yarn" I got the same error message.

    Solution:

    sudo vim /usr/local/hadoop/etc/hadoop/yarn-site.xml

    Add the following property:

           
    yarn.nodemanager.vmem-pmem-ratio      
    5  
    
    

    Then restart hadoop service

    stop-all.sh 
    start-all.sh
    

提交回复
热议问题