You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Krishna <re...@gmail.com> on 2014/09/26 02:22:37 UTC

Restoring HBase from backup

Hi,

We are trying to restore HBase from a backup saved to AWS S3 but "hbase
shell" command is stuck at this step:

> DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> sessionid:0x148af374d1f0031, packet:: clientPath:null serverPath:null
> finished:false header:: 8,4  replyHeader:: 8,262,-101  request::
> '/hbase/root-region-server,T  response::


Its not clear why "zookeeper.znode.parent" is not using hbase.rootdir.

hbase-site.xml:

>
> <property><name>hbase.zookeeper.quorum</name><value>ip-xx-xx-xx-xx.compute.internal</value></property>
>
> <property><name>hbase.rootdir</name><value>s3://bucketname/hbasebackup/</value></property>
>
> <property><name>hbase.cluster.distributed</name><value>true</value></property>
>
> <property><name>hbase.tmp.dir</name><value>s3://bucketname/hbase-tmp/</value></property>


Here are the versions:

> HBase 0.94
> Hadoop:Amazon 2.4.0


Following files exist in: s3://bucketname/hbasebackup/

> -ROOT-
> .META.
> .logs
> hbase_table
> hbase.id
> hbase.version



Thanks