HBase META.Region起動(dòng)不成功怎么解決
3 回答

拉莫斯之舞
TA貢獻(xiàn)1820條經(jīng)驗(yàn) 獲得超10個(gè)贊
在網(wǎng)上查看Region is not online: -ROOT-,,0相關(guān)的錯(cuò)誤,也沒(méi)有得到正確的答案,后來(lái)看了一下源碼,報(bào)這個(gè)錯(cuò)誤的地方是在:
protected HRegion getRegion(final byte[] regionName)
throws NotServingRegionException {
HRegion region = null;
region = getOnlineRegion(regionName);
if (region == null) {
throw new NotServingRegionException("Region is not online: " +
Bytes.toStringBinary(regionName));
}
return region;
}
也就是說(shuō),regionName不再M(fèi)ap中,就會(huì)報(bào)這個(gè)錯(cuò)誤,具體問(wèn)題還得具體分析
- 3 回答
- 0 關(guān)注
- 1079 瀏覽
添加回答
舉報(bào)
0/150
提交
取消