Yes I think, you may try following steps:-
* Copy hbase-site.xml of cluster B to cluster A (say under folder
/somepath/confB)
* Run copy table command through cluster A by setting config to confB
folder and giving peer address of cluster A(itself).
hbase --config /somepath/confB/ org.apache.hadoop.hbase.mapreduce.CopyTable
--starttime=1265875194289 --endtime=1265878794289
--peer.adr=cluster_A_zk_1,cluster_A_zk_2,cluster_A_zk_3:2181:/hbase
TestTable
Regards,
Ankit Singhal
On Thu, Jan 17, 2019 at 12:09 PM Vitaliy Semochkin <vitaliy.se@gmail.com>
wrote:
> Hi,
>
> I have two Hadoop clusters with HBase
> Cluster A can access cluster B, but B can not access A.
>
> Is it possible to setup CopyTable to run on A to pull data from B.
>
> Best Regards,
> Vitaliy
>
|