Great, thanks Jeff :) -----Original Message----- From: Jeff Zhang [mailto:[email protected]] Sent: 08 February 2010 16:15 To: [email protected] Subject: Re: Hbase storage from pig
And then apply the patch On Mon, Feb 8, 2010 at 8:14 AM, Jeff Zhang <[email protected]> wrote: > Please sync code from here > http://svn.apache.org/repos/asf/hadoop/pig/branches/load-store-redesig > n/ > > > > On Mon, Feb 8, 2010 at 8:08 AM, Jeff Zhang <[email protected]> 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 <[email protected]>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:[email protected]] >>> Sent: 08 February 2010 15:47 >>> To: [email protected] >>> 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:[email protected]] >>> Sent: 08 February 2010 15:39 >>> To: [email protected] >>> 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 <[email protected]> >>> 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 > -- Best Regards Jeff Zhang
