Hi,

Hbase version: cdh3-u0/0.90.1

I m trying to use the copytable

The arguments are:
copytable --peer.adr=<dest:2181:/hbase> --new.name=<table>_backup <src_table>
hbase-site.xml of the src hbase should be in the classpath


My command:
copytable --peer.adr=dest_host:2181:/hbase --new.name=TestBackup  Test

I m sure that hbase-site.xml  (for src table) is in the classpath, but
still, get src table not found
org.apache.hadoop.hbase.TableNotFoundException: Cannot find row in
.META. for table: Test, row=Test,,99999999999999
        at 
org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:136)
        at 
org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:95)
        at 
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.prefetchRegionCache(HConnectionManager.java:648)
        at 
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:702)
        at 
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:593)
        at 
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:558)
        at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:171)
        at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:145)
        at 
org.apache.hadoop.hbase.mapreduce.TableInputFormat.setConf(TableInputFormat.java:91)
        at 
org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:62)
        at 
org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:117)


When I took in the remote debugger, I realised that TableOutputFormat
overwrites the zookeeper info (src becomes dest).

I am sure this is well-used feature , so it must be something I missed.

Pl help me to get this working


Thanks
-Sagar






-Sagar

Reply via email to