资源描述:
《Programming Hive》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、ProgrammingHiveEdwardCapriolo,DeanWampler,andJasonRutherglenBeijing•Cambridge•Farnham•Köln•Sebastopol•TokyoProgrammingHivebyEdwardCapriolo,DeanWampler,andJasonRutherglenCopyright©2012EdwardCapriolo,AspectResearchAssociates,andJasonRutherglen.Allrightsre-served.PrintedintheU
2、nitedStatesofAmerica.PublishedbyO’ReillyMedia,Inc.,1005GravensteinHighwayNorth,Sebastopol,CA95472.O’Reillybooksmaybepurchasedforeducational,business,orsalespromotionaluse.Onlineeditionsarealsoavailableformosttitles(http://my.safaribooksonline.com).Formoreinformation,contact
3、ourcorporate/institutionalsalesdepartment:800-998-9938orcorporate@oreilly.com.Editors:MikeLoukidesandCourtneyNashIndexer:BobPfahlerProductionEditors:IrisFebresandRachelSteelyCoverDesigner:KarenMontgomeryProofreaders:StacieArellanoandKielVanHornInteriorDesigner:DavidFutatoIl
4、lustrator:RebeccaDemarestOctober2012:FirstEdition.RevisionHistoryfortheFirstEdition:2012-09-17FirstreleaseSeehttp://oreilly.com/catalog/errata.csp?isbn=9781449319335forreleasedetails.NutshellHandbook,theNutshellHandbooklogo,andtheO’ReillylogoareregisteredtrademarksofO’Reill
5、yMedia,Inc.ProgrammingHive,theimageofahornet’shive,andrelatedtradedressaretrade-marksofO’ReillyMedia,Inc.Manyofthedesignationsusedbymanufacturersandsellerstodistinguishtheirproductsareclaimedastrademarks.Wherethosedesignationsappearinthisbook,andO’ReillyMedia,Inc.,wasawareo
6、fatrademarkclaim,thedesignationshavebeenprintedincapsorinitialcaps.Whileeveryprecautionhasbeentakeninthepreparationofthisbook,thepublisherandauthorsassumenoresponsibilityforerrorsoromissions,orfordamagesresultingfromtheuseoftheinformationcon-tainedherein.ISBN:978-1-449-3193
7、3-5[LSI]1347905436TableofContentsPreface....................................................................xiii1.Introduction...........................................................1AnOverviewofHadoopandMapReduce3HiveintheHadoopEcosystem6Pig8HBase8Cascading,Crunch,andOt
8、hers9JavaVersusHive:TheWordCountAlgorithm10What’sNext132.GettingStarted...........