Hadoop O & M -- HA throws journalnode can not write

Source: Internet
Author: User

Hadoop version cdh4.3.2

Exception description

Journalnode prompts that the data cannot be written, and an exception is thrown at the backend.
1.6.small: 50854: error: org. apache. hadoop. hdfs. qjournal. protocol. JournalNotFormattedException: Journal Storage Directory/data/hadoop/journalnode/journaldata/jn/mycluster not formatted
Org. apache. hadoop. hdfs. qjournal. protocol. JournalNotFormattedException: Journal Storage Directory/data/hadoop/journalnode/journaldata/jn/mycluster not formatted
At org. apache. hadoop. hdfs. qjournal. server. Journal. checkFormatted (Journal. java: 451)
At org. apache. hadoop. hdfs. qjournal. server. Journal. getEditLogManifest (Journal. java: 634)
At org. apache. hadoop. hdfs. qjournal. server. JournalNodeRpcServer. getEditLogManifest (JournalNodeRpcServer. java: 177)
At org. apache. hadoop. hdfs. qjournal. protocolPB. QJournalProtocolServerSideTranslatorPB. getEditLogManifest (QJournalProtocolServerSideTranslatorPB. java: 196)
At org. apache. hadoop. hdfs. qjournal. protocol. QJournalProtocolProtos $ QJournalProtocolService $2. callBlockingMethod (QJournalProtocolProtos. java: 14028)
At org. apache. hadoop. ipc. ProtobufRpcEngine $ Server $ ProtoBufRpcInvoker. call (ProtobufRpcEngine. java: 453)
At org. apache. hadoop. ipc. RPC $ Server. call (RPC. java: 1002)
At org. apache. hadoop. ipc. Server $ Handler $ 1.run( Server. java: 1701)
At org. apache. hadoop. ipc. Server $ Handler $ 1.run( Server. java: 1697)
At java. security. AccessController. doPrivileged (Native Method)
At javax. security. auth. Subject. doAs (Subject. java: 415)
At org. apache. hadoop. security. UserGroupInformation. doAs (UserGroupInformation. java: 1408)
At org. apache. hadoop. ipc. Server $ Handler. Execute (Server. java: 1695)

Solution

Copy another normal journalnode to the specified journaldata directory, restart the service, done

Build a Hadoop environment on Ubuntu 13.04

Cluster configuration for Ubuntu 12.10 + Hadoop 1.2.1

Build a Hadoop environment on Ubuntu (standalone mode + pseudo Distribution Mode)

Configuration of Hadoop environment in Ubuntu

Detailed tutorial on creating a Hadoop environment for standalone Edition

Build a Hadoop environment (using virtual machines to build two Ubuntu systems in a Winodws environment)

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.