Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Apache HBase Shaded Client 1.1.x with Cloudera Hbase 1.0.0 (CDH 5.4.7)?

Apache HBase Shaded Client 1.1.x with Cloudera Hbase 1.0.0 (CDH 5.4.7)?

New Contributor

Hi,

 

I'm running into a trouble when trying to create an Java based client which is used to query data from both Cloudera HBase 1.0.0 (CDH 5.4.7) and ElasticSearch 2.1.0. The issue is about dependency conflicts on guava library. 

 

This bug describes exactly the same issue as I met:

https://issues.apache.org/jira/browse/HBASE-14126

 

At least in my case using explicity a lower versio of guava (lower than 17.0 from where the breaks happens) is out of the table because it will lead Elasticsearch JAVA search API failure. And now I'm trying the Apache HBase Shaded Client 1.1.2 (which is designed for HBase 1.1.0 I suppose), at least so far some of the simple HBase operations (I tried only get/scan so far) are all suceeded.

 

https://issues.apache.org/jira/browse/HBASE-13517

http://mvnrepository.com/artifact/org.apache.hbase/hbase-shaded-client

 

I'm wondering if there is any known risk or issue about using Apache HBase Shaded Client 1.1.x with CDH Hbase 1.0.0?

I need to understand this because we are considering using this solution in production enviroment very soon.

 

Your helps will be much apprecated!

 

Thanks,

Zheng

 

5 REPLIES 5

Re: Apache HBase Shaded Client 1.1.x with Cloudera Hbase 1.0.0 (CDH 5.4.7)?

New Contributor

Not sure why my previous reply to this thread got lost....

 

So far we've tried GET/SCAN/PUT with reasonable load and all of them works in our environment (shad cliet 1.1.2 + HBase 1.0.0). It should be sufficient for our requirement so far.

 

But it's still good to understand what is the design rules for Hadoop/Hbase client on backward/forward compatibilityes, so that we can evaluate the necessary of upgrading all of our applications based on Hadoop/Hbase client libaries, when there is any updates happnes on server end.

 

Thanks,

Zheng

Re: Apache HBase Shaded Client 1.1.x with Cloudera Hbase 1.0.0 (CDH 5.4.7)?

Community Manager

Sorry about the lost reply. For some reason it ended up getting caught in the site's spam filter. Very odd.



Cy Jervis, Community Manager

Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Learn more about the Cloudera Community:
Community Guidelines
How to use the forum

Re: Apache HBase Shaded Client 1.1.x with Cloudera Hbase 1.0.0 (CDH 5.4.7)?

New Contributor

Thanks for letting me know!

 

Still waiting for the replies to my questions :)

Re: Apache HBase Shaded Client 1.1.x with Cloudera Hbase 1.0.0 (CDH 5.4.7)?

New Contributor

I am facing the same issue, Even after applying all the suggestion no luck.

 

I am using Hbase 1.0.0 and ElasticSearch 2.3.4  In Spark-scala built using sbt.

 

Any pointer highly appreciated. 

Re: Apache HBase Shaded Client 1.1.x with Cloudera Hbase 1.0.0 (CDH 5.4.7)

Master Guru
We're shipping a proper hbase shaded client only from 5.8.0 onwards. This
is noted in the rel-notes of 5.8:

"""
Downstream users of CDH who build on top of Apache HBase can now pull in
fewer transitive dependencies by relying on shaded client artifacts. To do
so, use the maven artifact hbase-shaded-client where you would normally use
the hbase-client artifact. All HBase APIs remain the same.
""" -
http://www.cloudera.com/documentation/enterprise/release-notes/topics/cdh_rn_new_in_cdh_58.html#conc...

More on using Maven with CDH versions:
http://www.cloudera.com/documentation/enterprise/release-notes/topics/cdh_vd_cdh5_maven_repo.html