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.

Hbase.Thrift file

Solved Go to solution
Highlighted

Hbase.Thrift file

Champion Alumni

Hi,

Is the  hbase thrift  file distributed as  part of CDH?I have read in  one of the  cloudera blogs that it is not but will soon be intgerated into.But that's an old blog.So can  some one clarify?.

 

 

Thanks,

Nishanth

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Hbase.Thrift file

Explorer
Hey Nishan,

If we are talking about Thrift vs. REST, I am partial to Thrift as it has
the most development behind it. Avro is preferred file format for almost
all things Hadoop. It will depend on what you are trying to accomplish at
the end of the day.

6 REPLIES 6

Re: Hbase.Thrift file

Explorer

Hi Nishan,

 

  It is distributed with the Parcels of CDH.  You can have Cloudera Manager easily setup and deploy thrift and/or REST.

Re: Hbase.Thrift file

Champion Alumni
Thanks Kevin.I was able to do this.I am also planning to use hbase lily indexer service to index the data stored in hbase to solr cloud.Which of thrift ,rest or avro would you prefer?

Re: Hbase.Thrift file

Explorer
Hey Nishan,

If we are talking about Thrift vs. REST, I am partial to Thrift as it has
the most development behind it. Avro is preferred file format for almost
all things Hadoop. It will depend on what you are trying to accomplish at
the end of the day.

Re: Hbase.Thrift file

Champion Alumni

Thank you Kevin.I see that  hbase do not support an AVRO gate way.So I would need to write my own in this case.My use case is pretty simple.

 

Need to  store large amount of data(randon writes) and then use this information for  analytics later.

 

Thanks,

Nishanth

Re: Hbase.Thrift file

Explorer
Nishan,


That is correct. You would typically use the Java API to write to HBase
using Avro, but if you can go down that path, I highly recommend it.

Re: Hbase.Thrift file

Champion Alumni
Thank you.I am a newbie in this.Is there some difference in the way in which data is stored in hbase when you use thrift and rest?.Can data that was inserted using thrift be retrieved using rest?.

Also from what I understand so far Avro is just a serialization framework which should not be directly compared to thrift or rest with respect to hbase.