hadoop錯誤org.apache.hadoop.yarn.exceptions.YarnException Unauthorized request to start container

來源:互聯網
上載者:User

標籤:

錯誤:

    14/04/29 02:45:07 INFO mapreduce.Job: Job job_1398704073313_0021 failed with state FAILED due to: Application application_1398704073313_0021 failed 2 times due to Error launching appattempt_1398704073313_0021_000002. Got exception:     org.apache.hadoop.yarn.exceptions.YarnException: Unauthorized request to start container.

    This token is expired. current time is 1398762692768 found 1398711306590

問題原因:

    namenode,datanode時間同步問題

解決辦法

    多個datanode與namenode進行時間同步,在每台伺服器執行如下兩個命令進行同步

    1)輸入“cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime”

    2)輸入“ntpdate pool.ntp.org”

 

如果,您認為閱讀這篇部落格讓您有些收穫,不妨點擊一下右下角的【推薦】。
如果,您希望更容易地發現我的新部落格,不妨點擊一下左下角的【關注我】。
如果,您對我的部落格所講述的內容有興趣,請繼續關注我的後續部落格,我是【劉超★ljc】。

本文著作權歸作者和部落格園共有,歡迎轉載,但未經作者同意必須保留此段聲明,且在文章頁面明顯位置給出原文串連,否則保留追究法律責任的權利。

hadoop錯誤org.apache.hadoop.yarn.exceptions.YarnException Unauthorized request to start container

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.