How to update a record in hbase
Hi, Can we update a particular record in hbase? If we can pls help in sharing the command. Regards, Rams
Re: How to update a record in hbase
Nothing is updated in place in HBase. All write operation create new versions. Have a look at this: http://hbase.apache.org/book.html#datamodel - Original Message - From: Ramasubramanian ramasubramanian.naraya...@gmail.com To: user@hbase.apache.org Cc: Sent: Wednesday, September 12, 2012 11:23 PM Subject: How to update a record in hbase Hi, Can we update a particular record in hbase? If we can pls help in sharing the command. Regards, Rams
Re: How to update a record in hbase
HTable is the usual java interface to interact with a table in HBase. You can see the api for that here: http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/HBaseAdmin.html The Ref guide has a more comprehensive overview of the client here: http://hbase.apache.org/book/client.html On Wed, Sep 12, 2012 at 11:23 PM, Ramasubramanian ramasubramanian.naraya...@gmail.com wrote: Hi, Can we update a particular record in hbase? If we can pls help in sharing the command. Regards, Rams
Re: How to update a record in hbase
You can use the shell too http://wiki.apache.org/hadoop/Hbase/Shell Update is again a put. Incase of multiple version support the older values could be retained. Regards, Samar On 13/09/12 12:04 PM, Elliott Clark ecl...@stumbleupon.com wrote: HTable is the usual java interface to interact with a table in HBase. You can see the api for that here: http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/HBaseAdmin. html The Ref guide has a more comprehensive overview of the client here: http://hbase.apache.org/book/client.html On Wed, Sep 12, 2012 at 11:23 PM, Ramasubramanian ramasubramanian.naraya...@gmail.com wrote: Hi, Can we update a particular record in hbase? If we can pls help in sharing the command. Regards, Rams