user3093774
user3093774

Reputation: 31

updating Hbase table using pig

I am aware that different columns of a row in HBase can be updated using Put. I am using Pig + HBase with HBaseStorage. I'm able to store and load in HBase without any issues with Pig expression where keys don't exist in the table. But, the job is failing when I've started trying to update a table with HBaseStorage() where the keys exist.

Could someone please clarify if HBaseStorage can only be used to store new records or update columns in existing records as well.

Thanks in advance.

Upvotes: 3

Views: 521

Answers (1)

Alexander Davliatov
Alexander Davliatov

Reputation: 863

Actually, you can use HBaseStorage to update columns in existing records. If you provide us with your error message for more details.

Upvotes: 1

Related Questions