Slave1 (active)
Slave2
Zookeeper nodes:
[zookeeper, yarn - leader - election, hadoop - ha, hbase]
Start the HBase in HA environment, according to the log analysis slave2 regionserver I obtain the namenode connected to the standby machine, seemingly can't identify the active and standby, is very strange, please the great god guide,,,
The 2016-06-08 00:33:09, 873 INFO [regionserver/slave2/0.0.0.0:16020] regionserver. HRegionServer: STOPPED: Failed initialization
The 2016-06-08 00:33:09, 882 ERROR [regionserver/slave2/0.0.0.0:16020] regionserver. HRegionServer: Failed init
Org, apache hadoop. Ipc. StandbyException: Operation category READ is not supported in the state standby
At org, apache hadoop. HDFS. Server. The namenode. Ha.. StandbyState checkOperation (StandbyState. Java: 87)
At org, apache hadoop. HDFS. Server. The namenode. The namenode $NameNodeHAContext. CheckOperation (1774). The namenode Java:
At org, apache hadoop. HDFS. Server. The namenode. FSNamesystem. CheckOperation (FSNamesystem. Java: 1313)
At org, apache hadoop. HDFS. Server. The namenode. FSNamesystem. GetFileInfo (FSNamesystem. Java: 3856)
At org, apache hadoop. HDFS. Server. The namenode. NameNodeRpcServer. GetFileInfo (NameNodeRpcServer. Java: 1006)
At org, apache hadoop. HDFS. ProtocolPB. ClientNamenodeProtocolServerSideTranslatorPB. GetFileInfo (ClientNamenodeProtocolServerSideTranslatorPB. Java: 843)
At org, apache hadoop. HDFS. Protocol. The proto. ClientNamenodeProtocolProtos $ClientNamenodeProtocol $2. CallBlockingMethod (ClientNamenodeProtocolProtos. Java)
At org, apache hadoop. Ipc. ProtobufRpcEngine $$ProtoBufRpcInvoker Server. Call (616) ProtobufRpcEngine. Java:
At org, apache hadoop. Ipc. RPC $Server. The call (RPC) Java: 969)
At org, apache hadoop. Ipc. Server $Handler $1. The run (2049) Server. Java:
At org, apache hadoop. Ipc. Server $Handler $1. The run (2045) Server. Java:
The at Java. Security. The AccessController. DoPrivileged (Native Method)
The configuration file:
XML HBase - site.
HDFS:
XML HDFS - site.
.
.
.