at (:99)
at (:51)
at (:1155)
at (:360)
at (:685)
at (:374)
at (:133)
at (:438)
at (:60)
at $(:1139)
at $(:1106)
at $(:1080)
at (:291)
at (:138)
at (:124)
at $(:310)
at $(:291)
at $(:334)
at (:166)
at (:1145)
at $(:615)
at (:724)
2015-09-06 06:17:38,921 ERROR [hconnection-0x4373e9ea-shared--pool1-t270] : hconnection-0x4373e9ea-0x14fa2c980720004, quorum=localhost:2181, baseZNode=/hbase Received unexpected KeeperException, re-throwing exception
$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/meta-region-server
at (:99)
at (:51)
at (:1155)
at (:360)
at (:685)
at (:374)
at (:133)
at (:438)
at (:60)
at $(:1139)
at $(:1106)
at $(:1080)
at (:291)
at (:138)
at (:124)
at $(:310)
at $(:291)
at $(:334)
at (:166)
at (:1145)
at $(:615)
at (:724
发生以上错误,主要是因为在单机上跑HBase导入数据的时候,单机的内存过小,导致zookeeper连接HBase的出现错误,进一步会使得HMaster进程死掉。加大单机的内存之后,在HBase中导入数据将变得正常。
2,使用MR导入数据进入HBase,若没有设置(setOutputFormatClassclass)类,将会导致数据无法导入HBase,必须加上该条信息。