pig-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Zhang <zjf...@gmail.com>
Subject Re: Hbase storage from pig
Date Mon, 08 Feb 2010 16:14:30 GMT
Please sync code from here
http://svn.apache.org/repos/asf/hadoop/pig/branches/load-store-redesign/


On Mon, Feb 8, 2010 at 8:08 AM, Jeff Zhang <zjffdu@gmail.com> wrote:

>
> Hi Neil,
>
> You should use the load-store-redesign branch if you want to try this
> patch. You can sync code here:
> http://svn.apache.org/repos/asf/hadoop/pig/
>
>
>
> On Mon, Feb 8, 2010 at 7:58 AM, Neil Blue <Neil.Blue@biowisdom.com> wrote:
>
>> From the log files it is looking for the class:
>> java.lang.ClassNotFoundException: org.apache.hadoop.hbase.util.Bytes
>>
>> Which seem to be in the pig disto hbase-0.18.1.jar file, but not in the
>> hbase-0.18.jar file. I am not sure if these are supplimentary files to
>> hbase
>> and/or if they will work with hbase 0.20.3?
>>
>> Cheers
>> Neil
>>
>> -----Original Message-----
>> From: Neil Blue [mailto:Neil.Blue@biowisdom.com]
>> Sent: 08 February 2010 15:47
>> To: pig-user@hadoop.apache.org
>> Subject: RE: Hbase storage from pig
>>
>> Thanks Jeff,
>>
>> I am stumbling at the first hurdle here, and havn't got as far as needing
>> to
>> define the schema. I am just trying to call the store function:
>>
>> STORE F INTO 'terms' USING
>> org.apache.pig.backend.hadoop.hbase.HBaseStorage
>> ();
>> Or
>> STORE F INTO 'terms' USING
>> org.apache.pig.backend.hadoop.hbase.HBaseStorage
>> ('a,b,c');
>>
>> Just fails to create the HBaseStorage class. I guess you have got further
>> than this?
>>
>> Using pig 0.5.0.
>>
>> Cheers
>> Neil
>>
>> -----Original Message-----
>> From: Jeff Zhang [mailto:zjffdu@gmail.com]
>> Sent: 08 February 2010 15:39
>> To: pig-user@hadoop.apache.org
>> Subject: Re: Hbase storage from pig
>>
>> Hi Neil,
>>
>> I submit a patch for this problem here
>> Pig-1205<https://issues.apache.org/jira/browse/PIG-1205>
>> Any comments and feedback is welcome.
>>
>>
>> On Mon, Feb 8, 2010 at 7:13 AM, Neil Blue <Neil.Blue@biowisdom.com>
>> wrote:
>>
>> > Hello,
>> >
>> > I am looking for a way to store pig data in hbase. There seems to have
>> > been some discussion on this last year on the news group, and a
>> > HBaseStorage class in the API. Does anyone have an example of how to
>> > use
>> this please.
>> >
>> > Thanks
>> > Neil
>> >
>> > *********************************************
>> >
>> > The information contained in this message is likely to be
>> > confidential.  It is intended only for the person named above.  Any
>> > dissemination, distribution, copying, disclosure or use of this
>> > message or its contents unless authorised by BioWisdom Ltd is strictly
>> > prohibited. Any views or opinions expressed within this e-mail are
>> > those of the author and do not necessarily represent those of
>> > BioWisdom Ltd. If you have received this message in error, please
>> immediately notify us and delete it.  Thank you.
>> >  Registered Office: BioWisdom Ltd, Harston Mill, Harston, Cambridge,
>> > CB22 7GG.  Registered in England: (GB) 3861669.  VAT registered: (GB)
>> 750899881.
>> >  Tel: +44 (0)1223 874800, Fax: +44 (0) 1223 874801, Internet:
>> > www.biowisdom.com
>> >
>> > *********************************************
>> >
>> >
>>
>>
>> --
>> Best Regards
>>
>> Jeff Zhang
>>
>> ________________________________________________________________________
>> This email has been scanned for all viruses by Claranet Mail Scanner,
>> powered by MessageLabs. For more information on a proactive email security
>> service working around the clock, around the globe, visit
>> http://www.uk.clara.net
>>
>
>
>
> --
> Best Regards
>
> Jeff Zhang
>



-- 
Best Regards

Jeff Zhang

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message