Support Questions

Find answers, ask questions, and share your expertise

how can we select jars(for hbase,hive) that are present in the hortonworks sandbox(generally in a folder)

avatar
 
1 ACCEPTED SOLUTION

avatar
Super Guru

@krishna sampath

Ok, so for integrating custom java program to hbase, you probably need to add below path into your client java env for hbase. I believe it contains all required jars to connect.

/usr/hdp/current/hbase-client/lib/

Or you also look on below path for more habse jars.

/usr/hdp/current/hbase-master/lib/

For hive you can find all jars from below location.

/usr/hdp/current/hive-client/lib/

Will that help?

View solution in original post

3 REPLIES 3

avatar
Super Guru

@krishna sampath

Hi, Can you please explain it bit more? like what is the use case and what jars and where you want to put them?

avatar

like for hbase mapreduce integration, I need jars for hbase of 1.1.2 version. I think there will be some folder where we can get jars for the hbase 1.1.2 in hortonworks sandbox hdp2.3. My question where will be those folder residing. so that I can include in my program

avatar
Super Guru

@krishna sampath

Ok, so for integrating custom java program to hbase, you probably need to add below path into your client java env for hbase. I believe it contains all required jars to connect.

/usr/hdp/current/hbase-client/lib/

Or you also look on below path for more habse jars.

/usr/hdp/current/hbase-master/lib/

For hive you can find all jars from below location.

/usr/hdp/current/hive-client/lib/

Will that help?