|| at Nov 19, 2012 at 10:38 pm
It really depends on the exact failure vector you are protecting against.
1) If your namenode crashes but your datanodes are fine, then you could
restore the dfs.name.dir contents and you should be ok.
2) If your entire hbase cluster went down, and you needed to restore the
data, you could import the data into hbase as per the link provided
3) If your Cloudera Manager server went down, and you had to bring up a new
one, you could do so and retain the history using the postgres data as
To your questions, if your 2 node cluster were blown away and you wanted to
get back up to where you were, you would have to architect something
robust, encompassing these pieces but more as well (likely an entire data
dump somewhere given that it's only 2 nodes, but that may change as you
On Mon, Nov 19, 2012 at 12:56 PM, Mike wrote:
Could you please respond?
On Friday, September 21, 2012 2:35:16 PM UTC-4, Mike wrote:
So, in case of cluster crash, reinstall CM4.0 and CDH4 and copy
backed up dfs.name.dir to new dfs.name.dir
import the hbase table
import postgres data and
start the new cluster right? Will that work?
On Thursday, September 20, 2012 3:02:49 PM UTC-4, Adam Smieszny wrote:
For HDFS you would want to back up the metadata (copy off everything
from dfs.name.dir to a separate location)
For HBase, http://hbase.apache.**org/book/ops.backup.html<http://hbase.apache.org/book/ops.backup.html
For CM, you would also want to back up the Postgres DB that stores the
CM data http://www.postgresql.**org/docs/8.1/static/backup.**html<http://www.postgresql.org/docs/8.1/static/backup.html
Hope this helps
On Thu, Sep 20, 2012 at 12:16 PM, Mike wrote:
I have 2 nodes Centos cluster(Master/Slave) running CM/hadoop/hbase and
used the default config came with the CM4.0/CDH4.
Node 1 has:
Cloudera manager server + CM agent + postgres DB
Hbase Master/Regional Server.
Job/Task Tracker Node 2:
I need to take the backup for this setup.
What is the best way please?
Cloudera | Systems Engineer | http://tiny.cloudera.com/**about<http://tiny.cloudera.com/about
917.830.4156 | http://www.linkedin.com/in/**adamsmieszny<http://www.linkedin.com/in/adamsmieszny
Cloudera | Systems Engineer | http://tiny.cloudera.com/about
917.830.4156 | http://www.linkedin.com/in/adamsmieszny