Ok, I solved the problem copying the required jars in $HADOOP_HOME/lib folder.
Thanks,
Alberto
On 13 September 2012 10:22, Alberto Cordioli wrote:
> Cheolsoo, doing so I obtain a ClassNotFoundException:
> ERROR 2998: Unhandled internal error.
> org/apache/hadoop/hbase/filter/WritableByteArrayCo
Cheolsoo, doing so I obtain a ClassNotFoundException:
ERROR 2998: Unhandled internal error.
org/apache/hadoop/hbase/filter/WritableByteArrayComparable
That's a very strange thing since I'm sure that package is in the CLASSPATH.
Are you using Hadoop 1.0.0 or 1.0.1?
Alberto
On 13 September 2012 0
Hi Alberto,
Here is my local setup that works. Please change them accordingly to your
environment.
1) I started hbase-0.94 in standalone mode.
2) I downloaded hadoop-1.0.0.
3) I built "pig-withouthadoop.jar" from the source and ran the following
commands:
export HADOOP_HOME=/home/cheolsoo/worksp
Thanks Cheolsoo.
I've already seen that link. But it is not so much clear to me how Pig
makes use of HBase jars.
Even if I use Pig in MapReduce mode (real or pseudo-distributed) it
needs HBase on the client, right?
In my particular case I use Pig in a real distributed cluster (but I
tested it also
Hi Alberto,
Are you running in local mode using "pig.jar", or in mapreduce mode using
"pig-withouthadoop.jar"?
The error that you're seeing can happen when there is a version mismatch in
the HBase client and server. The pig.jar by default contains hbase-0.90, so
if you use pig.jar against hbase-0
Hi all,
I'm currently working with Pig 0.10.0. I'd like to load some data from
an HBase table, but I encountered some problems. When I try to load
the data it seems to work:
grunt> raw = LOAD 'hbase://table_test' USING
org.apache.pig.backend.hadoop.hbase.HBaseStorage('d:data1', '-loadKey
true -li
That was it! I don't think that I even had my HBase path on the
PIG_CLASSPATH, at all. I simply put HBase on the path and now it works.
Thank you,
Ryan
On Fri, Mar 23, 2012 at 10:02 AM, Ryan Cole wrote:
> The classpath for Pig, correct?
>
> Ryan
>
>
> On Fri, Mar 23, 2012 at 4:00 AM, Sam Willia
The classpath for Pig, correct?
Ryan
On Fri, Mar 23, 2012 at 4:00 AM, Sam William wrote:
> Ryan,
> This message is specific to Hbase 0.92.1 . Make sure HBase 0.90.1 jar
> is not in the classpath before the 0.92.1 jar files
>
> Sam
> On Mar 22, 2012, at 8:20 PM, Ryan Cole wrote:
>
> > Hmm.
Ryan,
This message is specific to Hbase 0.92.1 . Make sure HBase 0.90.1 jar is
not in the classpath before the 0.92.1 jar files
Sam
On Mar 22, 2012, at 8:20 PM, Ryan Cole wrote:
> Hmm. The data in my tables is not important. So, I dropped the table and
> recreated it. This doesn't seem to
Hmm. The data in my tables is not important. So, I dropped the table and
recreated it. This doesn't seem to have resolved the issue, though.
Is there perhaps a Pig query I can run that would use a built in HBase table,
like that .META. table, and see if it works? I don't know if that'd help or
Actually on second glance, this seems like an issue not with the HBase
config, but with the server:port info inside your .META. table. Have you
tried LOADing from a different table besides "events"? From the HBase
shell, you can use the following command to extract server hostnames for
each of yo
I was thinking that maybe it was because I did not have HBase config path
on PIG_CLASSPATH, so I added it. This did not help, though.
Ryan
On Thu, Mar 22, 2012 at 9:07 PM, Ryan Cole wrote:
> Norbert,
>
> I have confirmed that this is indeed an issue connecting to HBase. I tried
> just running a
Norbert,
I have confirmed that this is indeed an issue connecting to HBase. I tried
just running a Pig script that did not use HBaseStorage, and it works. Here
is my hbase-site.xml config file, as well as my query that I'm running:
https://gist.github.com/2166187
Also, for ease of reference, her
You're encountering problems connecting to HBase (presumably your Pig
script uses HBaseStorage). How does your hbase/conf/hbase-site.xml look?
Norbert
On Thu, Mar 22, 2012 at 9:16 PM, Ryan Cole wrote:
> Hello,
>
> I'm new to these lists. I'm trying to get Pig working, for my first time. I
> ha
Hello,
I'm new to these lists. I'm trying to get Pig working, for my first time. I
have setup Hadoop and HBase (on HDFS) using the psuedo-distributed setup,
all on one machine. I am able to run MapReduce jobs, using the example.jar
file included with the Hadoop release.
Whenever I try to run even
15 matches
Mail list logo