Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - Fwd: org.apache.hadoop.conf.Configuration - error parsing conf file


Copy link to this message
-
Fwd: org.apache.hadoop.conf.Configuration - error parsing conf file
Something Something 2012-03-08, 16:45
---------- Forwarded message ----------
From: Something Something <[EMAIL PROTECTED]>
Date: Thu, Mar 8, 2012 at 8:43 AM
Subject: Re: org.apache.hadoop.conf.Configuration - error parsing conf file
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
*Stack*:

Explicit message would be one that would tell me which configuration file
it is ;)  This message tells me what's wrong but doesn't tell me the source
of the problem, even though, it (probably) knows which one it is!  Anyway,
I will see if I can find the name somehow.

As for JVM:

java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-10M3425)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-384, mixed mode)

on Mac Book Pro.
*Manish*:

My PIG_CLASSPATH is set as follows:

export PIG_CLASSPATH=/Users/xyz/pig-0.8.1-cdh3u3/pig-0.8.1-cdh3u3-core.jar

export PIG_CLASSPATH=”`${HADOOP_HOME}/bin/hadoop
classpath`:`${HBASE_HOME}/bin/hbase classpath`:$PIG_CLASSPATH”

Is this correct?
Thank you both for your help.

On Wed, Mar 7, 2012 at 11:53 PM, Manish Bhoge <[EMAIL PROTECTED]>wrote:

> Hi,
>
> There are 2 important configuration that PIG look for: namenode path and
> job tracker path. Make sure you have set up PiG_CLASSPATH for the same.
> By looking at error detail it doesn't look like configuration error. It
> talks about the utf-8 error which is related to the data which your reading
> from hbase.
>
> Thank you,
> Manish
> Sent from my BlackBerry, pls excuse typo
>
> -----Original Message-----
> From: Something Something <[EMAIL PROTECTED]>
> Date: Wed, 7 Mar 2012 22:30:05
> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]
> >
> Reply-To: [EMAIL PROTECTED]
> Subject: org.apache.hadoop.conf.Configuration - error parsing conf file
>
> 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.
>
>