Reply
Champion Alumni
Posts: 162
Registered: ‎02-11-2014
Accepted Solution

Hbase.Thrift file

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

Explorer
Posts: 20
Registered: ‎07-29-2013

Re: Hbase.Thrift file

Hi Nishan,

 

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

Champion Alumni
Posts: 162
Registered: ‎02-11-2014

Re: Hbase.Thrift file

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?
Explorer
Posts: 20
Registered: ‎07-29-2013

Re: Hbase.Thrift file

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.

Champion Alumni
Posts: 162
Registered: ‎02-11-2014

Re: Hbase.Thrift file

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

Explorer
Posts: 20
Registered: ‎07-29-2013

Re: Hbase.Thrift file

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.

Highlighted
Champion Alumni
Posts: 162
Registered: ‎02-11-2014

Re: Hbase.Thrift file

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.

Announcements