Created 06-06-2016 08:24 AM
Hi mates,
when i login into hbase shell and input "zk_dump", found lots of wrong hbase replication job in here.
/hbase-unsecure/replication/rs/my_domain2,16020,1460444986940/2/my_domain2%2C16020%2C1460444986940.default.1462278662155: /hbase-unsecure/replication/rs/my_domain2,16020,1460444986940/2/my_domain2%2C16020%2C1460444986940.default.1462545079305: /hbase-unsecure/replication/rs/my_domain2,16020,1460444986940/2/my_domain2%2C16020%2C1460444986940.default.1462746690994: /hbase-unsecure/replication/rs/my_domain2,16020,1460444986940/2/my_domain2%2C16020%2C1460444986940.default.1462642284491: /hbase-unsecure/replication/rs/my_domain2,16020,1460444986940/2/my_domain2%2C16020%2C1460444986940.default.1462343465691: /hbase-unsecure/replication/rs/my_domain2,16020,1460444986940/2/my_domain2%2C16020%2C1460444986940.default.1462775492864: /hbase-unsecure/replication/rs/my_domain2,16020,1460444986940/2/my_domain2%2C16020%2C1460444986940.default.1462617083162: /hbase-unsecure/replication/rs/my_domain2,16020,1460444986940/2/my_domain2%2C16020%2C1460444986940.default.1462365066743: /hbase-unsecure/replication/rs/my_domain2,16020,1460444986940/2/my_domain2%2C16020%2C1460444986940.default.1462347065832: /hbase-unsecure/replication/rs/my_domain2,16020,1460444986940/2/my_domain2%2C16020%2C1460444986940.default.1462246260405: /hbase-unsecure/replication/rs/my_domain2,16020,1460444986940/2/my_domain2%2C16020%2C1460444986940.default.1462613482930: /hbase-unsecure/replication/rs/my_domain2,16020,1460444986940/2/my_domain2%2C16020%2C1460444986940.default.1461940242084: /hbase-unsecure/replication/rs/my_domain2,16020,1460444986940/2/my_domain2%2C16020%2C1460444986940.default.1461947442418: /hbase-unsecure/replication/rs/my_domain2,16020,1460444986940/2/my_domain2%2C16020%2C1460444986940.default.1462073450646: /hbase-unsecure/replication/rs/my_domain2,16020,1460444986940/2/my_domain2%2C16020%2C1460444986940.default.1462739490242: /hbase-unsecure/replication/rs/my_domain2,16020,1460444986940/2/my_domain2%2C16020%2C1460444986940.default.1461918640536: /hbase-unsecure/replication/rs/my_domain2,16020,1460444986940/2/my_domain2%2C16020%2C1460444986940.default.1462645884799: /hbase-unsecure/replication/rs/my_domain2,16020,1460444986940/2/my_domain2%2C16020%2C1460444986940.default.1462426270067:
but `status 'simple'` didn't show the wrong domain "my_domain1, my_domain2, my_domain3 ..." region server information,
It was caused by wrong configuration at first. Now all Datanode use FQCN like "my_domain1.domain.org, my_domain2.domain.org, my_domain3.domain.org ...", and we have the correct data in new FQCN replication.
How to delete the wrong/unfinished replication?
Created 06-06-2016 08:35 AM
never mind, i've just found the solutions, just delete the wrong replication path in zookeeper.
zookeeper-client -server my_domain2.domain.org:2181
[zk:my_domain2.domain.org:2181[CONNENTED] 0] rmr /hbase-unsecure/replication/rs/my_domain2,16020,.....
Created 06-06-2016 08:35 AM
never mind, i've just found the solutions, just delete the wrong replication path in zookeeper.
zookeeper-client -server my_domain2.domain.org:2181
[zk:my_domain2.domain.org:2181[CONNENTED] 0] rmr /hbase-unsecure/replication/rs/my_domain2,16020,.....