Reply
New Contributor
Posts: 4
Registered: ‎12-07-2015

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

[ Edited ]

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

 

New Contributor
Posts: 4
Registered: ‎12-07-2015

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

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

Posts: 1,039
Kudos: 129
Solutions: 62
Registered: ‎04-06-2015

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

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:

Terms of Service

Community Guidelines

How to use the forum

New Contributor
Posts: 4
Registered: ‎12-07-2015

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

Thanks for letting me know!

 

Still waiting for the replies to my questions :)

New Contributor
Posts: 1
Registered: ‎07-19-2016

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

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. 

Posts: 1,903
Kudos: 435
Solutions: 305
Registered: ‎07-31-2013

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

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