title: how to load data in hbase using Pig
body: <p>I want load data through pig &amp; process it into HBase.
  I have load text file on to HDFS. 
   and then I have used  below commands on pig.</p>
  
  <pre><code>A = LOAD '/tmp/hive-Vijay.Shinde/file.txt' USING PigStorage(',')
   as (strdata1:chararray, strdata2:int); 
  </code></pre>
  
  <p>then i used ,</p>
  
  <pre><code>STORE A INTO 'mydata' USING org.apache.pig.backend.hadoop.hbase.HBaseStorage('mycf:strdata2');
  </code></pre>
  
  <p>mydata is table in HBase.</p>
  
  <p>It gives error: <code>Unhandled internal error</code></p>