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.

STORE Pig OUTPUT into MULTIPLE HBase TABLES

STORE Pig OUTPUT into MULTIPLE HBase TABLES

New Contributor

Hi All,

 

How can we store the output of pig into multiple hbase tables. Hbase tables are already created, need to store the each specific value into specific table.

For EX:

 

I have got the output as

 

(word1){data}
(word2){data}
(word3){data}
(word4){data}

So I need to store output into already created tables. Table Names are like

 

word1
word2
word3
word4

Now output should be store in already created tables as

 

word1  (word1){data}
word2 (word2){data}
word3  (word3){data}

 

Any suggestions.

thank you.