I need to load data in to Hbase using Mapreduce, How I need to start with Hbase, to integrate Hbase with Java do I need to use any jar file.
To Access Hbase from java, use below code:
conf = new HBaseConfiguration();
conf.set("hbase.zookeeper.quorum", "ip1,ip2,ip3");
conf.addResource(new Path("/etc/hbase/conf/hbase-site.xml"));
hbase = new HBaseAdmin(conf);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.