메뉴 건너뛰기

Bigdata, Semantic IoT, Hadoop, NoSQL

Bigdata, Hadoop ecosystem, Semantic IoT등의 프로젝트를 진행중에 습득한 내용을 정리하는 곳입니다.
필요한 분을 위해서 공개하고 있습니다. 문의사항은 gooper@gooper.com로 메일을 보내주세요.


Hadoop에서 Discommission시킨 노드를 ./conf/regionservers에서 제거하고 HBase를 restart했는데 Dead regionserver 목록에 표시되면서 HBase의 전반적인 성능에 악영향을 주는 경우가 있는데 이는 HDFS상에 있는 HBase의 dead regionserver가 여전히 WAL(보통 /hbase/WALs)에 존재하기 때문이다.

이때는 HDFS상에 존재하는 dead regionserver의 정보를 삭제해주면 된다.


1. HDFS상의 WALs목록을 확인한다.

hdfs dfs -ls /hbase/WALs

->

drwxr-xr-x   - root supergroup          0 2017-07-18 18:02 /hbase/WALs/gsda9,16020,1500283210109


2. 해당 폴더를 삭제한다.

hdfs dfs -rm -R /hbase/WALs/gsda9,16020,1500283210109


3. HBase를 재기동한다.

./bin/stop-hbase.sh

./bin/start-hbase.sh

A personal place to organize information learned during the development of such Hadoop, Hive, Hbase, Semantic IoT, etc.
We are open to the required minutes. Please send inquiries to gooper@gooper.com.

위로