Reply
Explorer
Posts: 15
Registered: ‎05-01-2015

Regarding Hbase connection using KiteAPI

Hi All,

 

I am trying to connect to Hbase using KiteAPI as shown below.

 

DatasetRepository repo = DatasetRepositories.open("repo:hbase:zk1,zk2,zk3");//getting error at this line....
DatasetDescriptor descriptor = new DatasetDescriptor.Builder().schemaUri("weblog.avsc").build();
repo.create("weblogs",descriptor);

 

zk1: replaced with zookeeperserver1ipaddress:2181

zk2:replaced with zookeeperserver2ipaddress:2181

zk3:replaced with zookeeperserver3ipaddress:2181

 

but getting the unknown storage URI error....

 

Anyone worked with Hbase using Kite API.  Please advice me..........

 

 

Announcements
The Kite SDK is a collection of docs, sample code, APIs, and tools to make Hadoop application development faster. Learn more at http://kitesdk.org.