namenode 格式化错误 Unable to check if JNs are ready for formatting

  • bin/hadoop namenode -format   时候出现以下错误 org.apache.hadoop.hdfs.qjournal.client.QuorumException: Unable to check if JNs are ready for formatting. n

15/12/04 04:52:50 WARN namenode.NameNode: Encountered exception during format:

org.apache.hadoop.hdfs.qjournal.client.QuorumException: Unable to check if JNs are ready for formatting. 3 exceptions thrown:

10.165.114.138:8485: Call From hd1/10.172.153.46 to hd3:8485 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused

10.172.218.18:8485: Call From hd1/10.172.153.46 to hd2:8485 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused

10.172.153.46:8485: Call From hd1/10.172.153.46 to hd1:8485 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused

at 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:884)

at org.apache.hadoop.hdfs.server.namenode.FSImage.confirmFormat(FSImage.java:171)

at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:937)

at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1379)

at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1504)

15/12/04 04:52:50 FATAL namenode.NameNode: Failed to start namenode.

org.apache.hadoop.hdfs.qjournal.client.QuorumException: Unable to check if JNs are ready for formatting. 3 exceptions thrown:

10.165.114.138:8485: Call From hd1/10.172.153.46 to hd3:8485 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused

10.172.218.18:8485: Call From hd1/10.172.153.46 to hd2:8485 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused

10.172.153.46:8485: Call From hd1/10.172.153.46 to hd1:8485 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused

at 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:884)

at org.apache.hadoop.hdfs.server.namenode.FSImage.confirmFormat(FSImage.java:171)

at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:937)

at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1379)

at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1504)

15/12/04 04:52:50 INFO util.ExitUtil: Exiting with status 1

15/12/04 04:52:50 INFO namenode.NameNode: SHUTDOWN_MSG:

/************************************************************

SHUTDOWN_MSG: Shutting down NameNode at hd1/10.172.153.46

************************************************************/

HA模式第一次或删除格式化版本后格式化失败,报如上错误:

解决方案: 

先启动 ./start-dfs.sh
再进行 格式化,则成功

时间: 2024-08-13 10:02:58

namenode 格式化错误 Unable to check if JNs are ready for formatting的相关文章

file_get_contents()获取https出现这个错误Unable to find the wrapper “https” – did

file_get_contents()获取https出现这个错误Unable to find the wrapper “https” – did 解决办法 ,如果你是用的服务器,可以参考这个办法,修改php配置文件(win主机),来支持https 在php.ini中找到并修改 extension=php_openssl.dll allow_url_include = On 重启服务就可以了,如果你的是linux服务器,linux下的PHP,就必须安装openssl模块,安装好了以后就可以访了.

UITableView错误 ‘unable to dequeue a cell with identifier Cell'

- (id)dequeueReusableCellWithIdentifier:(NSString *)identifier; - (id)dequeueReusableCellWithIdentifier:(NSString *)identifier forIndexPath:(NSIndexPath *)indexPath NS_AVAILABLE_IOS(6_0); // newer 1 第二个方法在SDK5.0是运行不起来的.2 如果需要使用这个方法,你必须使用配套的方法来一起用,下面两

namenode格式化找不到NameNode类错误的解决办法

找到?hadoop-config.sh(2.6.0的是在libexec文件夹下)找到最后一行if [ "$HADOOP_CLASSPATH" != "" ]; then  # Prefix it if its to be preceded  if [ "$HADOOP_USER_CLASSPATH_FIRST" != "" ]; then    CLASSPATH=${HADOOP_CLASSPATH}:${CLASSPATH

RAD Studio 10 安装失败 提示错误 License status check failure解决办法

最近在安装RAD Studio 10.1 Berlin 时,运行光盘中的setup.exe,在第一页勾选 lincense agreement后下一步,提示如下错误,无法进行安装. License status check failure License status check failure (Error code: 255). Please try again later, or contact support. 通过一番搜索和尝试得到以下解决办法: 问题原因: 由于电脑中已经安装过其他版

安装Firefly错误-Unable to find vcvarsall.bat

晚上尝试安装Firefly时,在安装twisted时出现错误而退出. 根据错误提示如下: error: Setup script exited with error: Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat) 发现我当前安装的Python 2.7.5搜索的是Visual Studio 2008.但是,我电脑里只有VS2010,真心不想再装个2008.网络搜索找到如下的初始答案如下: 第一种方案-欺骗法

namenode无法启动(namenode格式化失败)

格式化namenode [email protected] bin]# sudo -u hdfs hdfs namenode –format 16/11/14 10:56:51 INFO namenode.NameNode: STARTUP_MSG: /************************************************************ STARTUP_MSG: Starting NameNode STARTUP_MSG: host = node04/172.

[hadoop] hdfs 格式化错误 java.net.UnknownHostException

执行 hdfs namenode -format 抛出错误 主机名称异常,查看主机信息 原来 通过 bogon 无法找到主机 ,在host 中也没有对应的映射信息 修改后即可 再次执行 hdfs namenode -format 正常启动. 参考: 深入理解Linux修改hostname

virtualbox提示错误"Unable to load R3 module"

virtualbox提示错误 不能为虚拟电脑 centos7 打开一个新任务. Unable to load R3 module C:\Program Files\Oracle\VirtualBox/VBoxDD.DLL (VBoxDD): GetLastError=1790 (VERR_UNRESOLVED_ERROR). 返回 代码:E_FAIL (0x80004005) 组件:Console 界面:IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6

Andoird Studio 错误 Unable to compute hash of

Error:Execution failed for task ':kksdk11_full_sample_abov:packageRelease'. > Unable to compute hash of C:\Users\gaoshuai\Desktop\10\AbovSDK_AS\kk-sdk-sample-abov1\kksdk11_full_sample_abov\build\intermediates\classes-proguard\release\classes.jar 在pro