Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Hbase.Thrift file

avatar
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

avatar
Contributor
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.

View solution in original post

6 REPLIES 6

avatar
Contributor

Hi Nishan,

 

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

avatar
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?

avatar
Contributor
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.

avatar
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

avatar
Contributor
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.

avatar
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.