Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.
The "Hbase/FAQ" page has been changed by JeanDanielCryans. The comment on this change is: added new entry for adding/removing nodes. http://wiki.apache.org/hadoop/Hbase/FAQ?action=diff&rev1=59&rev2=60 -------------------------------------------------- 1. [[#18|What version of Hadoop do I need to run HBase?]] 1. [[#10|Any other troubleshooting pointers for me?]] 1. [[#20|Are there any schema design examples?]] + 1. [[#21|How do I add/remove a node?]] == Answers == @@ -205, +206 @@ This schema gives you fast access to the queries, show all classes for a student (student table, courses family), or all students for a class (courses table, students family). + '''21. <<Anchor(21)>> How do I add/remove a node?''' + + Adding and removing nodes works the same way in HBase and Hadoop. To add a new node, do the following steps: + + 1. Edit $HBASE_HOME/conf/regionservers on the Master node and add the new address. + 2. Setup the new node with needed software, permissions. + 3. On that node run $HBASE_HOME/bin/hbase-daemon.sh start regionserver + 4. Confirm it worked by looking at the Master's web UI or in that region server's log. + + Removing a node is as easy, first issue "stop" instead of start then remove the address from the regionservers file. + + For Hadoop, use the same kind of script (starts with hadoop-*), their process names (datanode, tasktracker), and edit the slaves file. Removing datanodes is tricky, please review the dfsadmin command before doing it. +
