20140709 namenode bug2

Source: Internet
Author: User

Run the following command: Bin/HDFS namenode-format to format namenode:

14/07/09 17:12:49 warn namenode. namenode: encountered exception during format: Org. apache. hadoop. HDFS. qjournal. client. quorumexception: unable to check if JNS are ready for formatting. 1 EXCEPTIONS thrown: 192.168.56.200: 8485: call from hadoop0/192.168.56.200 to hadoop0: 8485 failed on connection exception: java.net. connectexception: Connection refused; for more details see: http://wiki.apache.org/hadoop/ConnectionRefusedat Org. apache. hadoop. HDFS. qjournal. client. quorumexception. create (quorumexception. java: 81) at Org. apache. hadoop. HDFS. qjournal. client. quorumcall. rethrowexception (quorumcall. java: 223) at Org. apache. hadoop. HDFS. qjournal. client. quorumjournalmanager. hassomedata (quorumjournalmanager. java: 232) at Org. apache. hadoop. HDFS. server. common. storage. confirmformat (storage. java: 871) at Org. apache. hadoop. HDFS. server. namenode. fsimage. confirmformat (fsimage. java: 171) at Org. apache. hadoop. HDFS. server. namenode. namenode. format (namenode. java: 841) at Org. apache. hadoop. HDFS. server. namenode. namenode. createnamenode (namenode. java: 1256) at Org. apache. hadoop. HDFS. server. namenode. namenode. main (namenode. java: 1370, 14/07/09 17:12:49 info IPC. client: retrying connect to server: hadoop1/192.168.56.201: 8485. already tried 9 time (s); retry policy is retryuptomaximumcountwithfixedsleep (maxretries = 10, sleeping time = 1000 milliseconds) 14/07/09 17:12:49 info IPC. client: retrying connect to server: hadoop2/192.168.56.202: 8485. already tried 9 time (s); retry policy is retryuptomaximumcountwithfixedsleep (maxretries = 10, sleeptime = 1000 milliseconds) 14/07/09 17:12:49 fatal namenode. namenode: exception in namenode joinorg. apache. hadoop. HDFS. qjournal. client. quorumexception: unable to check if JNS are ready for formatting. 1 EXCEPTIONS thrown: 192.168.56.200: 8485: call from hadoop0/192.168.56.200 to hadoop0: 8485 failed on connection exception: java.net. connectexception: Connection refused; for more details see: http://wiki.apache.org/hadoop/ConnectionRefusedat Org. apache. hadoop. HDFS. qjournal. client. quorumexception. create (quorumexception. java: 81) at Org. apache. hadoop. HDFS. qjournal. client. quorumcall. rethrowexception (quorumcall. java: 223) at Org. apache. hadoop. HDFS. qjournal. client. quorumjournalmanager. hassomedata (quorumjournalmanager. java: 232) at Org. apache. hadoop. HDFS. server. common. storage. confirmformat (storage. java: 871) at Org. apache. hadoop. HDFS. server. namenode. fsimage. confirmformat (fsimage. java: 171) at Org. apache. hadoop. HDFS. server. namenode. namenode. format (namenode. java: 841) at Org. apache. hadoop. HDFS. server. namenode. namenode. createnamenode (namenode. java: 1256) at Org. apache. hadoop. HDFS. server. namenode. namenode. main (namenode. java: 1370, 14/07/09 17:12:49 info util. exitutil: exiting with status 114/07/09 17:12:49 info namenode. namenode: shutdown_msg:

Cause: NN and NN are used for data sharing.Journalnode

Resolution: sbin/hadoop-daemon.sh start journalnode

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.