Hi, No matter how many versions of HBase class in your jar, the classloader will choose the first one on the classpath. Perhaps you could consider OSGi (A kind of module system).
2017-11-17 18:57 GMT+08:00 apple <greatwall...@126.com>: > Hi: > I expect synchrodata between hbase 0.9 and hbase 1.2. > What's more,I find several ways to do it. > Follow : > 1.replication (need modify) > 2.sync hlog before delete to hdfs .oldlog (need modify) > 3.client writes data to two hbase > > 4.client writes data to kafka and consume to two hbase > This is a good choice to satisfy your scenario. > But, I think the bigest question is one java client how to use two > hbase-cliet jar,It must be conflict,How can I do? >