hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From satish <satishkorit...@gmail.com>
Subject Need to update dfs.data.dir in Data Nodes. Best approach ?
Date Tue, 22 Oct 2013 14:53:19 GMT
Hi All, 

We have hbase 0.94 running with 6 slave nodes. I need to change the
dfs.data.dir (Data Node Storage Path) on two of the data nodes. What is the
cleanest  way to update the path. I googled and found two options
1. Remove the node from cluster (stop hbase region server, datanode,
tasktracker) --> update the path in xml -->  add the node to the cluster
2. Remove the node (stop hbase region server, datanode, tasktracker) -->Copy
the data manually from old dfs.data.dir to the new dfs.data.dir -->  Update
the  path in xml  ---> add the node back to the cluster.

which is cleanest option of above two. Is there any disadvantage of any of
the approach.

View this message in context: http://apache-hbase.679495.n3.nabble.com/Need-to-update-dfs-data-dir-in-Data-Nodes-Best-approach-tp4051992.html
Sent from the HBase User mailing list archive at Nabble.com.

View raw message