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.

update a Hbase table using PIG

Solved Go to solution

update a Hbase table using PIG

Contributor

Hi,

I want to update a Hbase table using Pig, I have an empty column family and I want to add columns to it from a pig object.

I've done some researches but in vain ... Is this feature exists or not ?

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Re: update a Hbase table using PIG

Have you read the documentation on HBaseStorage from the Apache Pig website?

http://pig.apache.org/docs/r0.15.0/func.html#HBaseStorage

You should be able to just not specify the column family the the columns definition (e.g. a colon with no text before it). If this doesn't work, the parsing logic probably needs to be updated.

1 REPLY 1

Re: update a Hbase table using PIG

Have you read the documentation on HBaseStorage from the Apache Pig website?

http://pig.apache.org/docs/r0.15.0/func.html#HBaseStorage

You should be able to just not specify the column family the the columns definition (e.g. a colon with no text before it). If this doesn't work, the parsing logic probably needs to be updated.

Don't have an account?
Coming from Hortonworks? Activate your account here