Hello,
I am using: hadoop-0.20.2-cdh3u2, hbase-0.90.4-cdh3u3, pig-0.8.1-cdh3u3
I have successfully loaded data into HBase tables (implying my Hadoop &
HBase setup is good). I can look at the data using HBase shell.
Now I am trying to read data from HBase via a Pig Script. My test script
looks very simple:
------------------------------------------------------------------------------------------------------------------------------
raw = LOAD 'hbase://MY_TEST_TABLE'
USING org.apache.pig.backend.hadoop.hbase.HBaseStorage('id:*',
'-loadKey true');
STORE raw INTO '/user/temp/output';
------------------------------------------------------------------------------------------------------------------------------
When I run this locally using this:
pig -x local test.pig
I keep getting the following message:
2012-03-07 22:09:29,828 [Thread-4] FATAL
org.apache.hadoop.conf.Configuration - error parsing conf file:
com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException:
Invalid byte 2 of 2-byte UTF-8 sequence.
Sounds like it doesn't like some configuration file from Hadoop, but don't
know which one. Can someone give me some pointers, please? Thanks.