hadoop-mapred_0.21.0.xml 1.3 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240
  1. <?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
  2. <!-- Generated by the JDiff Javadoc doclet -->
  3. <!-- (http://www.jdiff.org) -->
  4. <!-- on Tue Aug 24 11:40:41 PDT 2010 -->
  5. <api
  6. xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
  7. xsi:noNamespaceSchemaLocation='api.xsd'
  8. name="hadoop-mapred 0.21.0"
  9. jdversion="1.0.9">
  10. <!-- Command line arguments = -doclet org.apache.hadoop.classification.tools.ExcludePrivateAnnotationsJDiffDoclet -docletpath /Users/tom/workspace/hadoop-mapreduce-0.21-committer/build/ivy/lib/Hadoop/common/hadoop-common-0.21.0.jar:/Users/tom/workspace/hadoop-mapreduce-0.21-committer/build/ivy/lib/Hadoop/jdiff/jdiff-1.0.9.jar:/Users/tom/workspace/hadoop-mapreduce-0.21-committer/build/ivy/lib/Hadoop/jdiff/xerces-1.4.4.jar -classpath /Users/tom/workspace/hadoop-mapreduce-0.21-committer/build/classes:/Users/tom/workspace/hadoop-mapreduce-0.21-committer/conf:/Users/tom/.ivy2/cache/org.apache.hadoop/hadoop-common/jars/hadoop-common-0.21.0-SNAPSHOT.jar:/Users/tom/.ivy2/cache/commons-cli/commons-cli/jars/commons-cli-1.2.jar:/Users/tom/.ivy2/cache/xmlenc/xmlenc/jars/xmlenc-0.52.jar:/Users/tom/.ivy2/cache/commons-httpclient/commons-httpclient/jars/commons-httpclient-3.1.jar:/Users/tom/.ivy2/cache/commons-codec/commons-codec/jars/commons-codec-1.4.jar:/Users/tom/.ivy2/cache/commons-net/commons-net/jars/commons-net-1.4.1.jar:/Users/tom/.ivy2/cache/oro/oro/jars/oro-2.0.8.jar:/Users/tom/.ivy2/cache/org.mortbay.jetty/jetty/jars/jetty-6.1.14.jar:/Users/tom/.ivy2/cache/org.mortbay.jetty/jetty-util/jars/jetty-util-6.1.14.jar:/Users/tom/.ivy2/cache/org.mortbay.jetty/servlet-api-2.5/jars/servlet-api-2.5-6.1.14.jar:/Users/tom/.ivy2/cache/tomcat/jasper-runtime/jars/jasper-runtime-5.5.12.jar:/Users/tom/.ivy2/cache/tomcat/jasper-compiler/jars/jasper-compiler-5.5.12.jar:/Users/tom/.ivy2/cache/org.mortbay.jetty/jsp-api-2.1/jars/jsp-api-2.1-6.1.14.jar:/Users/tom/.ivy2/cache/org.mortbay.jetty/jsp-2.1/jars/jsp-2.1-6.1.14.jar:/Users/tom/.ivy2/cache/org.eclipse.jdt/core/jars/core-3.1.1.jar:/Users/tom/.ivy2/cache/ant/ant/jars/ant-1.6.5.jar:/Users/tom/.ivy2/cache/commons-el/commons-el/jars/commons-el-1.0.jar:/Users/tom/.ivy2/cache/net.java.dev.jets3t/jets3t/jars/jets3t-0.7.1.jar:/Users/tom/.ivy2/cache/commons-logging/commons-logging/jars/commons-logging-1.1.1.jar:/Users/tom/.ivy2/cache/net.sf.kosmosfs/kfs/jars/kfs-0.3.jar:/Users/tom/.ivy2/cache/junit/junit/jars/junit-4.8.1.jar:/Users/tom/.ivy2/cache/hsqldb/hsqldb/jars/hsqldb-1.8.0.10.jar:/Users/tom/.ivy2/cache/org.apache.hadoop/avro/jars/avro-1.3.2.jar:/Users/tom/.ivy2/cache/org.codehaus.jackson/jackson-mapper-asl/jars/jackson-mapper-asl-1.4.2.jar:/Users/tom/.ivy2/cache/org.codehaus.jackson/jackson-core-asl/jars/jackson-core-asl-1.4.2.jar:/Users/tom/.ivy2/cache/org.slf4j/slf4j-api/jars/slf4j-api-1.5.11.jar:/Users/tom/.ivy2/cache/com.thoughtworks.paranamer/paranamer/jars/paranamer-2.2.jar:/Users/tom/.ivy2/cache/com.thoughtworks.paranamer/paranamer-ant/jars/paranamer-ant-2.2.jar:/Users/tom/.ivy2/cache/com.thoughtworks.paranamer/paranamer-generator/jars/paranamer-generator-2.2.jar:/Users/tom/.ivy2/cache/com.thoughtworks.qdox/qdox/jars/qdox-1.10.1.jar:/Users/tom/.ivy2/cache/asm/asm/jars/asm-3.2.jar:/Users/tom/.ivy2/cache/commons-lang/commons-lang/jars/commons-lang-2.5.jar:/Users/tom/.ivy2/cache/org.apache.hadoop/hadoop-common-test/jars/hadoop-common-test-0.21.0-SNAPSHOT.jar:/Users/tom/.ivy2/cache/org.apache.ftpserver/ftplet-api/bundles/ftplet-api-1.0.0.jar:/Users/tom/.ivy2/cache/org.apache.mina/mina-core/bundles/mina-core-2.0.0-M5.jar:/Users/tom/.ivy2/cache/org.apache.ftpserver/ftpserver-core/bundles/ftpserver-core-1.0.0.jar:/Users/tom/.ivy2/cache/org.apache.ftpserver/ftpserver-deprecated/jars/ftpserver-deprecated-1.0.0-M2.jar:/Users/tom/.ivy2/cache/org.apache.hadoop/hadoop-hdfs/jars/hadoop-hdfs-0.21.0-SNAPSHOT.jar:/Users/tom/.ivy2/cache/log4j/log4j/jars/log4j-1.2.15.jar:/Users/tom/.ivy2/cache/org.slf4j/slf4j-log4j12/jars/slf4j-log4j12-1.5.11.jar:/Users/tom/.ivy2/cache/org.aspectj/aspectjrt/jars/aspectjrt-1.6.5.jar:/Users/tom/.ivy2/cache/org.aspectj/aspectjtools/jars/aspectjtools-1.6.5.jar:/Users/tom/.ivy2/cache/jdiff/jdiff/jars/jdiff-1.0.9.jar:/Users/tom/.ivy2/cache/xerces/xerces/jars/xerces-1.4.4.jar:/usr/share/ant/lib/ant-launcher.jar:/Users/tom/.ant/lib/ivy.jar:/usr/share/ant/lib/ant-antlr.jar:/usr/share/ant/lib/ant-jai.jar:/usr/share/ant/lib/ant-jmf.jar:/usr/share/ant/lib/ant-junit.jar:/usr/share/ant/lib/ant-nodeps.jar:/usr/share/ant/lib/ant-swing.jar:/usr/share/ant/lib/ant-testutil.jar:/usr/share/ant/lib/ant-trax.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ivy-2.1.0.jar:/usr/share/ant/lib/xercesImpl.jar:/usr/share/ant/lib/xml-apis.jar -sourcepath /Users/tom/workspace/hadoop-mapreduce-0.21-committer/src/java:/Users/tom/workspace/hadoop-mapreduce-0.21-committer/src/tools -apidir /Users/tom/workspace/hadoop-mapreduce-0.21-committer/lib/jdiff -apiname hadoop-mapred 0.21.0 -->
  11. <package name="org.apache.hadoop.filecache">
  12. <!-- start class org.apache.hadoop.filecache.DistributedCache -->
  13. <class name="DistributedCache" extends="org.apache.hadoop.mapreduce.filecache.DistributedCache"
  14. abstract="false"
  15. static="false" final="false" visibility="public"
  16. deprecated="Use methods on {@link Job}.">
  17. <constructor name="DistributedCache"
  18. static="false" final="false" visibility="public"
  19. deprecated="not deprecated">
  20. </constructor>
  21. <doc>
  22. <![CDATA[Distribute application-specific large, read-only files efficiently.
  23. <p><code>DistributedCache</code> is a facility provided by the Map-Reduce
  24. framework to cache files (text, archives, jars etc.) needed by applications.
  25. </p>
  26. <p>Applications specify the files, via urls (hdfs:// or http://) to be cached
  27. via the {@link org.apache.hadoop.mapred.JobConf}. The
  28. <code>DistributedCache</code> assumes that the files specified via urls are
  29. already present on the {@link FileSystem} at the path specified by the url
  30. and are accessible by every machine in the cluster.</p>
  31. <p>The framework will copy the necessary files on to the slave node before
  32. any tasks for the job are executed on that node. Its efficiency stems from
  33. the fact that the files are only copied once per job and the ability to
  34. cache archives which are un-archived on the slaves.</p>
  35. <p><code>DistributedCache</code> can be used to distribute simple, read-only
  36. data/text files and/or more complex types such as archives, jars etc.
  37. Archives (zip, tar and tgz/tar.gz files) are un-archived at the slave nodes.
  38. Jars may be optionally added to the classpath of the tasks, a rudimentary
  39. software distribution mechanism. Files have execution permissions.
  40. Optionally users can also direct it to symlink the distributed cache file(s)
  41. into the working directory of the task.</p>
  42. <p><code>DistributedCache</code> tracks modification timestamps of the cache
  43. files. Clearly the cache files should not be modified by the application
  44. or externally while the job is executing.</p>
  45. <p>Here is an illustrative example on how to use the
  46. <code>DistributedCache</code>:</p>
  47. <p><blockquote><pre>
  48. // Setting up the cache for the application
  49. 1. Copy the requisite files to the <code>FileSystem</code>:
  50. $ bin/hadoop fs -copyFromLocal lookup.dat /myapp/lookup.dat
  51. $ bin/hadoop fs -copyFromLocal map.zip /myapp/map.zip
  52. $ bin/hadoop fs -copyFromLocal mylib.jar /myapp/mylib.jar
  53. $ bin/hadoop fs -copyFromLocal mytar.tar /myapp/mytar.tar
  54. $ bin/hadoop fs -copyFromLocal mytgz.tgz /myapp/mytgz.tgz
  55. $ bin/hadoop fs -copyFromLocal mytargz.tar.gz /myapp/mytargz.tar.gz
  56. 2. Setup the application's <code>JobConf</code>:
  57. JobConf job = new JobConf();
  58. DistributedCache.addCacheFile(new URI("/myapp/lookup.dat#lookup.dat"),
  59. job);
  60. DistributedCache.addCacheArchive(new URI("/myapp/map.zip", job);
  61. DistributedCache.addFileToClassPath(new Path("/myapp/mylib.jar"), job);
  62. DistributedCache.addCacheArchive(new URI("/myapp/mytar.tar", job);
  63. DistributedCache.addCacheArchive(new URI("/myapp/mytgz.tgz", job);
  64. DistributedCache.addCacheArchive(new URI("/myapp/mytargz.tar.gz", job);
  65. 3. Use the cached files in the {@link org.apache.hadoop.mapred.Mapper}
  66. or {@link org.apache.hadoop.mapred.Reducer}:
  67. public static class MapClass extends MapReduceBase
  68. implements Mapper&lt;K, V, K, V&gt; {
  69. private Path[] localArchives;
  70. private Path[] localFiles;
  71. public void configure(JobConf job) {
  72. // Get the cached archives/files
  73. localArchives = DistributedCache.getLocalCacheArchives(job);
  74. localFiles = DistributedCache.getLocalCacheFiles(job);
  75. }
  76. public void map(K key, V value,
  77. OutputCollector&lt;K, V&gt; output, Reporter reporter)
  78. throws IOException {
  79. // Use data from the cached archives/files here
  80. // ...
  81. // ...
  82. output.collect(k, v);
  83. }
  84. }
  85. </pre></blockquote></p>
  86. It is also very common to use the DistributedCache by using
  87. {@link org.apache.hadoop.util.GenericOptionsParser}.
  88. This class includes methods that should be used by users
  89. (specifically those mentioned in the example above, as well
  90. as {@link DistributedCache#addArchiveToClassPath(Path, Configuration)}),
  91. as well as methods intended for use by the MapReduce framework
  92. (e.g., {@link org.apache.hadoop.mapred.JobClient}). For implementation
  93. details, see {@link TrackerDistributedCacheManager} and
  94. {@link TaskDistributedCacheManager}.
  95. @see org.apache.hadoop.mapred.JobConf
  96. @see org.apache.hadoop.mapred.JobClient
  97. @see org.apache.hadoop.mapreduce.Job
  98. @deprecated Use methods on {@link Job}.]]>
  99. </doc>
  100. </class>
  101. <!-- end class org.apache.hadoop.filecache.DistributedCache -->
  102. </package>
  103. <package name="org.apache.hadoop.mapred">
  104. <!-- start class org.apache.hadoop.mapred.ClusterStatus -->
  105. <class name="ClusterStatus" extends="java.lang.Object"
  106. abstract="false"
  107. static="false" final="false" visibility="public"
  108. deprecated="not deprecated">
  109. <implements name="org.apache.hadoop.io.Writable"/>
  110. <method name="getTaskTrackers" return="int"
  111. abstract="false" native="false" synchronized="false"
  112. static="false" final="false" visibility="public"
  113. deprecated="not deprecated">
  114. <doc>
  115. <![CDATA[Get the number of task trackers in the cluster.
  116. @return the number of task trackers in the cluster.]]>
  117. </doc>
  118. </method>
  119. <method name="getActiveTrackerNames" return="java.util.Collection"
  120. abstract="false" native="false" synchronized="false"
  121. static="false" final="false" visibility="public"
  122. deprecated="not deprecated">
  123. <doc>
  124. <![CDATA[Get the names of task trackers in the cluster.
  125. @return the active task trackers in the cluster.]]>
  126. </doc>
  127. </method>
  128. <method name="getBlacklistedTrackerNames" return="java.util.Collection"
  129. abstract="false" native="false" synchronized="false"
  130. static="false" final="false" visibility="public"
  131. deprecated="not deprecated">
  132. <doc>
  133. <![CDATA[Get the names of task trackers in the cluster.
  134. @return the blacklisted task trackers in the cluster.]]>
  135. </doc>
  136. </method>
  137. <method name="getBlacklistedTrackers" return="int"
  138. abstract="false" native="false" synchronized="false"
  139. static="false" final="false" visibility="public"
  140. deprecated="not deprecated">
  141. <doc>
  142. <![CDATA[Get the number of blacklisted task trackers in the cluster.
  143. @return the number of blacklisted task trackers in the cluster.]]>
  144. </doc>
  145. </method>
  146. <method name="getNumExcludedNodes" return="int"
  147. abstract="false" native="false" synchronized="false"
  148. static="false" final="false" visibility="public"
  149. deprecated="not deprecated">
  150. <doc>
  151. <![CDATA[Get the number of excluded hosts in the cluster.
  152. @return the number of excluded hosts in the cluster.]]>
  153. </doc>
  154. </method>
  155. <method name="getTTExpiryInterval" return="long"
  156. abstract="false" native="false" synchronized="false"
  157. static="false" final="false" visibility="public"
  158. deprecated="not deprecated">
  159. <doc>
  160. <![CDATA[Get the tasktracker expiry interval for the cluster
  161. @return the expiry interval in msec]]>
  162. </doc>
  163. </method>
  164. <method name="getMapTasks" return="int"
  165. abstract="false" native="false" synchronized="false"
  166. static="false" final="false" visibility="public"
  167. deprecated="not deprecated">
  168. <doc>
  169. <![CDATA[Get the number of currently running map tasks in the cluster.
  170. @return the number of currently running map tasks in the cluster.]]>
  171. </doc>
  172. </method>
  173. <method name="getReduceTasks" return="int"
  174. abstract="false" native="false" synchronized="false"
  175. static="false" final="false" visibility="public"
  176. deprecated="not deprecated">
  177. <doc>
  178. <![CDATA[Get the number of currently running reduce tasks in the cluster.
  179. @return the number of currently running reduce tasks in the cluster.]]>
  180. </doc>
  181. </method>
  182. <method name="getMaxMapTasks" return="int"
  183. abstract="false" native="false" synchronized="false"
  184. static="false" final="false" visibility="public"
  185. deprecated="not deprecated">
  186. <doc>
  187. <![CDATA[Get the maximum capacity for running map tasks in the cluster.
  188. @return the maximum capacity for running map tasks in the cluster.]]>
  189. </doc>
  190. </method>
  191. <method name="getMaxReduceTasks" return="int"
  192. abstract="false" native="false" synchronized="false"
  193. static="false" final="false" visibility="public"
  194. deprecated="not deprecated">
  195. <doc>
  196. <![CDATA[Get the maximum capacity for running reduce tasks in the cluster.
  197. @return the maximum capacity for running reduce tasks in the cluster.]]>
  198. </doc>
  199. </method>
  200. <method name="getJobTrackerState" return="org.apache.hadoop.mapred.JobTracker.State"
  201. abstract="false" native="false" synchronized="false"
  202. static="false" final="false" visibility="public"
  203. deprecated="not deprecated">
  204. <doc>
  205. <![CDATA[Get the current state of the <code>JobTracker</code>,
  206. as {@link JobTracker.State}
  207. @return the current state of the <code>JobTracker</code>.]]>
  208. </doc>
  209. </method>
  210. <method name="getUsedMemory" return="long"
  211. abstract="false" native="false" synchronized="false"
  212. static="false" final="false" visibility="public"
  213. deprecated="not deprecated">
  214. <doc>
  215. <![CDATA[Get the total heap memory used by the <code>JobTracker</code>
  216. @return the size of heap memory used by the <code>JobTracker</code>]]>
  217. </doc>
  218. </method>
  219. <method name="getMaxMemory" return="long"
  220. abstract="false" native="false" synchronized="false"
  221. static="false" final="false" visibility="public"
  222. deprecated="not deprecated">
  223. <doc>
  224. <![CDATA[Get the maximum configured heap memory that can be used by the <code>JobTracker</code>
  225. @return the configured size of max heap memory that can be used by the <code>JobTracker</code>]]>
  226. </doc>
  227. </method>
  228. <method name="getBlackListedTrackersInfo" return="java.util.Collection"
  229. abstract="false" native="false" synchronized="false"
  230. static="false" final="false" visibility="public"
  231. deprecated="not deprecated">
  232. <doc>
  233. <![CDATA[Gets the list of blacklisted trackers along with reasons for blacklisting.
  234. @return the collection of {@link BlackListInfo} objects.]]>
  235. </doc>
  236. </method>
  237. <method name="write"
  238. abstract="false" native="false" synchronized="false"
  239. static="false" final="false" visibility="public"
  240. deprecated="not deprecated">
  241. <param name="out" type="java.io.DataOutput"/>
  242. <exception name="IOException" type="java.io.IOException"/>
  243. </method>
  244. <method name="readFields"
  245. abstract="false" native="false" synchronized="false"
  246. static="false" final="false" visibility="public"
  247. deprecated="not deprecated">
  248. <param name="in" type="java.io.DataInput"/>
  249. <exception name="IOException" type="java.io.IOException"/>
  250. </method>
  251. <doc>
  252. <![CDATA[Status information on the current state of the Map-Reduce cluster.
  253. <p><code>ClusterStatus</code> provides clients with information such as:
  254. <ol>
  255. <li>
  256. Size of the cluster.
  257. </li>
  258. <li>
  259. Name of the trackers.
  260. </li>
  261. <li>
  262. Task capacity of the cluster.
  263. </li>
  264. <li>
  265. The number of currently running map & reduce tasks.
  266. </li>
  267. <li>
  268. State of the <code>JobTracker</code>.
  269. </li>
  270. <li>
  271. Details regarding black listed trackers.
  272. </li>
  273. </ol></p>
  274. <p>Clients can query for the latest <code>ClusterStatus</code>, via
  275. {@link JobClient#getClusterStatus()}.</p>
  276. @see JobClient]]>
  277. </doc>
  278. </class>
  279. <!-- end class org.apache.hadoop.mapred.ClusterStatus -->
  280. <!-- start class org.apache.hadoop.mapred.ClusterStatus.BlackListInfo -->
  281. <class name="ClusterStatus.BlackListInfo" extends="java.lang.Object"
  282. abstract="false"
  283. static="true" final="false" visibility="public"
  284. deprecated="not deprecated">
  285. <implements name="org.apache.hadoop.io.Writable"/>
  286. <method name="getTrackerName" return="java.lang.String"
  287. abstract="false" native="false" synchronized="false"
  288. static="false" final="false" visibility="public"
  289. deprecated="not deprecated">
  290. <doc>
  291. <![CDATA[Gets the blacklisted tasktracker's name.
  292. @return tracker's name.]]>
  293. </doc>
  294. </method>
  295. <method name="getReasonForBlackListing" return="java.lang.String"
  296. abstract="false" native="false" synchronized="false"
  297. static="false" final="false" visibility="public"
  298. deprecated="not deprecated">
  299. <doc>
  300. <![CDATA[Gets the reason for which the tasktracker was blacklisted.
  301. @return reason which tracker was blacklisted]]>
  302. </doc>
  303. </method>
  304. <method name="getBlackListReport" return="java.lang.String"
  305. abstract="false" native="false" synchronized="false"
  306. static="false" final="false" visibility="public"
  307. deprecated="not deprecated">
  308. <doc>
  309. <![CDATA[Gets a descriptive report about why the tasktracker was blacklisted.
  310. @return report describing why the tasktracker was blacklisted.]]>
  311. </doc>
  312. </method>
  313. <method name="readFields"
  314. abstract="false" native="false" synchronized="false"
  315. static="false" final="false" visibility="public"
  316. deprecated="not deprecated">
  317. <param name="in" type="java.io.DataInput"/>
  318. <exception name="IOException" type="java.io.IOException"/>
  319. </method>
  320. <method name="write"
  321. abstract="false" native="false" synchronized="false"
  322. static="false" final="false" visibility="public"
  323. deprecated="not deprecated">
  324. <param name="out" type="java.io.DataOutput"/>
  325. <exception name="IOException" type="java.io.IOException"/>
  326. </method>
  327. <method name="toString" return="java.lang.String"
  328. abstract="false" native="false" synchronized="false"
  329. static="false" final="false" visibility="public"
  330. deprecated="not deprecated">
  331. </method>
  332. <doc>
  333. <![CDATA[Class which encapsulates information about a blacklisted tasktracker.
  334. The information includes the tasktracker's name and reasons for
  335. getting blacklisted. The toString method of the class will print
  336. the information in a whitespace separated fashion to enable parsing.]]>
  337. </doc>
  338. </class>
  339. <!-- end class org.apache.hadoop.mapred.ClusterStatus.BlackListInfo -->
  340. <!-- start class org.apache.hadoop.mapred.Counters -->
  341. <class name="Counters" extends="java.lang.Object"
  342. abstract="false"
  343. static="false" final="false" visibility="public"
  344. deprecated="not deprecated">
  345. <implements name="org.apache.hadoop.io.Writable"/>
  346. <implements name="java.lang.Iterable"/>
  347. <constructor name="Counters"
  348. static="false" final="false" visibility="public"
  349. deprecated="not deprecated">
  350. </constructor>
  351. <method name="getGroupNames" return="java.util.Collection"
  352. abstract="false" native="false" synchronized="true"
  353. static="false" final="false" visibility="public"
  354. deprecated="not deprecated">
  355. <doc>
  356. <![CDATA[Returns the names of all counter classes.
  357. @return Set of counter names.]]>
  358. </doc>
  359. </method>
  360. <method name="iterator" return="java.util.Iterator"
  361. abstract="false" native="false" synchronized="true"
  362. static="false" final="false" visibility="public"
  363. deprecated="not deprecated">
  364. </method>
  365. <method name="getGroup" return="org.apache.hadoop.mapred.Counters.Group"
  366. abstract="false" native="false" synchronized="true"
  367. static="false" final="false" visibility="public"
  368. deprecated="not deprecated">
  369. <param name="groupName" type="java.lang.String"/>
  370. <doc>
  371. <![CDATA[Returns the named counter group, or an empty group if there is none
  372. with the specified name.]]>
  373. </doc>
  374. </method>
  375. <method name="findCounter" return="org.apache.hadoop.mapred.Counters.Counter"
  376. abstract="false" native="false" synchronized="true"
  377. static="false" final="false" visibility="public"
  378. deprecated="not deprecated">
  379. <param name="key" type="java.lang.Enum"/>
  380. <doc>
  381. <![CDATA[Find the counter for the given enum. The same enum will always return the
  382. same counter.
  383. @param key the counter key
  384. @return the matching counter object]]>
  385. </doc>
  386. </method>
  387. <method name="findCounter" return="org.apache.hadoop.mapred.Counters.Counter"
  388. abstract="false" native="false" synchronized="true"
  389. static="false" final="false" visibility="public"
  390. deprecated="not deprecated">
  391. <param name="group" type="java.lang.String"/>
  392. <param name="name" type="java.lang.String"/>
  393. <doc>
  394. <![CDATA[Find a counter given the group and the name.
  395. @param group the name of the group
  396. @param name the internal name of the counter
  397. @return the counter for that name]]>
  398. </doc>
  399. </method>
  400. <method name="findCounter" return="org.apache.hadoop.mapred.Counters.Counter"
  401. abstract="false" native="false" synchronized="true"
  402. static="false" final="false" visibility="public"
  403. deprecated="deprecated, no comment">
  404. <param name="group" type="java.lang.String"/>
  405. <param name="id" type="int"/>
  406. <param name="name" type="java.lang.String"/>
  407. <doc>
  408. <![CDATA[Find a counter by using strings
  409. @param group the name of the group
  410. @param id the id of the counter within the group (0 to N-1)
  411. @param name the internal name of the counter
  412. @return the counter for that name
  413. @deprecated]]>
  414. </doc>
  415. </method>
  416. <method name="incrCounter"
  417. abstract="false" native="false" synchronized="true"
  418. static="false" final="false" visibility="public"
  419. deprecated="not deprecated">
  420. <param name="key" type="java.lang.Enum"/>
  421. <param name="amount" type="long"/>
  422. <doc>
  423. <![CDATA[Increments the specified counter by the specified amount, creating it if
  424. it didn't already exist.
  425. @param key identifies a counter
  426. @param amount amount by which counter is to be incremented]]>
  427. </doc>
  428. </method>
  429. <method name="incrCounter"
  430. abstract="false" native="false" synchronized="true"
  431. static="false" final="false" visibility="public"
  432. deprecated="not deprecated">
  433. <param name="group" type="java.lang.String"/>
  434. <param name="counter" type="java.lang.String"/>
  435. <param name="amount" type="long"/>
  436. <doc>
  437. <![CDATA[Increments the specified counter by the specified amount, creating it if
  438. it didn't already exist.
  439. @param group the name of the group
  440. @param counter the internal name of the counter
  441. @param amount amount by which counter is to be incremented]]>
  442. </doc>
  443. </method>
  444. <method name="getCounter" return="long"
  445. abstract="false" native="false" synchronized="true"
  446. static="false" final="false" visibility="public"
  447. deprecated="not deprecated">
  448. <param name="key" type="java.lang.Enum"/>
  449. <doc>
  450. <![CDATA[Returns current value of the specified counter, or 0 if the counter
  451. does not exist.]]>
  452. </doc>
  453. </method>
  454. <method name="incrAllCounters"
  455. abstract="false" native="false" synchronized="true"
  456. static="false" final="false" visibility="public"
  457. deprecated="not deprecated">
  458. <param name="other" type="org.apache.hadoop.mapred.Counters"/>
  459. <doc>
  460. <![CDATA[Increments multiple counters by their amounts in another Counters
  461. instance.
  462. @param other the other Counters instance]]>
  463. </doc>
  464. </method>
  465. <method name="sum" return="org.apache.hadoop.mapred.Counters"
  466. abstract="false" native="false" synchronized="false"
  467. static="true" final="false" visibility="public"
  468. deprecated="not deprecated">
  469. <param name="a" type="org.apache.hadoop.mapred.Counters"/>
  470. <param name="b" type="org.apache.hadoop.mapred.Counters"/>
  471. <doc>
  472. <![CDATA[Convenience method for computing the sum of two sets of counters.]]>
  473. </doc>
  474. </method>
  475. <method name="size" return="int"
  476. abstract="false" native="false" synchronized="true"
  477. static="false" final="false" visibility="public"
  478. deprecated="not deprecated">
  479. <doc>
  480. <![CDATA[Returns the total number of counters, by summing the number of counters
  481. in each group.]]>
  482. </doc>
  483. </method>
  484. <method name="write"
  485. abstract="false" native="false" synchronized="true"
  486. static="false" final="false" visibility="public"
  487. deprecated="not deprecated">
  488. <param name="out" type="java.io.DataOutput"/>
  489. <exception name="IOException" type="java.io.IOException"/>
  490. <doc>
  491. <![CDATA[Write the set of groups.
  492. The external format is:
  493. #groups (groupName group)*
  494. i.e. the number of groups followed by 0 or more groups, where each
  495. group is of the form:
  496. groupDisplayName #counters (false | true counter)*
  497. where each counter is of the form:
  498. name (false | true displayName) value]]>
  499. </doc>
  500. </method>
  501. <method name="readFields"
  502. abstract="false" native="false" synchronized="true"
  503. static="false" final="false" visibility="public"
  504. deprecated="not deprecated">
  505. <param name="in" type="java.io.DataInput"/>
  506. <exception name="IOException" type="java.io.IOException"/>
  507. <doc>
  508. <![CDATA[Read a set of groups.]]>
  509. </doc>
  510. </method>
  511. <method name="log"
  512. abstract="false" native="false" synchronized="false"
  513. static="false" final="false" visibility="public"
  514. deprecated="not deprecated">
  515. <param name="log" type="org.apache.commons.logging.Log"/>
  516. <doc>
  517. <![CDATA[Logs the current counter values.
  518. @param log The log to use.]]>
  519. </doc>
  520. </method>
  521. <method name="toString" return="java.lang.String"
  522. abstract="false" native="false" synchronized="true"
  523. static="false" final="false" visibility="public"
  524. deprecated="not deprecated">
  525. <doc>
  526. <![CDATA[Return textual representation of the counter values.]]>
  527. </doc>
  528. </method>
  529. <method name="makeCompactString" return="java.lang.String"
  530. abstract="false" native="false" synchronized="true"
  531. static="false" final="false" visibility="public"
  532. deprecated="not deprecated">
  533. <doc>
  534. <![CDATA[Convert a counters object into a single line that is easy to parse.
  535. @return the string with "name=value" for each counter and separated by ","]]>
  536. </doc>
  537. </method>
  538. <method name="makeEscapedCompactString" return="java.lang.String"
  539. abstract="false" native="false" synchronized="true"
  540. static="false" final="false" visibility="public"
  541. deprecated="not deprecated">
  542. <doc>
  543. <![CDATA[Represent the counter in a textual format that can be converted back to
  544. its object form
  545. @return the string in the following format
  546. {(groupname)(group-displayname)[(countername)(displayname)(value)][][]}{}{}]]>
  547. </doc>
  548. </method>
  549. <method name="fromEscapedCompactString" return="org.apache.hadoop.mapred.Counters"
  550. abstract="false" native="false" synchronized="false"
  551. static="true" final="false" visibility="public"
  552. deprecated="not deprecated">
  553. <param name="compactString" type="java.lang.String"/>
  554. <exception name="ParseException" type="java.text.ParseException"/>
  555. <doc>
  556. <![CDATA[Convert a stringified counter representation into a counter object. Note
  557. that the counter can be recovered if its stringified using
  558. {@link #makeEscapedCompactString()}.
  559. @return a Counter]]>
  560. </doc>
  561. </method>
  562. <method name="hashCode" return="int"
  563. abstract="false" native="false" synchronized="true"
  564. static="false" final="false" visibility="public"
  565. deprecated="not deprecated">
  566. </method>
  567. <method name="equals" return="boolean"
  568. abstract="false" native="false" synchronized="true"
  569. static="false" final="false" visibility="public"
  570. deprecated="not deprecated">
  571. <param name="obj" type="java.lang.Object"/>
  572. </method>
  573. <doc>
  574. <![CDATA[A set of named counters.
  575. <p><code>Counters</code> represent global counters, defined either by the
  576. Map-Reduce framework or applications. Each <code>Counter</code> can be of
  577. any {@link Enum} type.</p>
  578. <p><code>Counters</code> are bunched into {@link Group}s, each comprising of
  579. counters from a particular <code>Enum</code> class.]]>
  580. </doc>
  581. </class>
  582. <!-- end class org.apache.hadoop.mapred.Counters -->
  583. <!-- start class org.apache.hadoop.mapred.Counters.Counter -->
  584. <class name="Counters.Counter" extends="org.apache.hadoop.mapreduce.Counter"
  585. abstract="false"
  586. static="true" final="false" visibility="public"
  587. deprecated="not deprecated">
  588. <method name="setDisplayName"
  589. abstract="false" native="false" synchronized="false"
  590. static="false" final="false" visibility="public"
  591. deprecated="not deprecated">
  592. <param name="newName" type="java.lang.String"/>
  593. </method>
  594. <method name="makeEscapedCompactString" return="java.lang.String"
  595. abstract="false" native="false" synchronized="true"
  596. static="false" final="false" visibility="public"
  597. deprecated="not deprecated">
  598. <doc>
  599. <![CDATA[Returns the compact stringified version of the counter in the format
  600. [(actual-name)(display-name)(value)]]]>
  601. </doc>
  602. </method>
  603. <method name="getCounter" return="long"
  604. abstract="false" native="false" synchronized="true"
  605. static="false" final="false" visibility="public"
  606. deprecated="not deprecated">
  607. <doc>
  608. <![CDATA[What is the current value of this counter?
  609. @return the current value]]>
  610. </doc>
  611. </method>
  612. <doc>
  613. <![CDATA[A counter record, comprising its name and value.]]>
  614. </doc>
  615. </class>
  616. <!-- end class org.apache.hadoop.mapred.Counters.Counter -->
  617. <!-- start class org.apache.hadoop.mapred.Counters.Group -->
  618. <class name="Counters.Group" extends="java.lang.Object"
  619. abstract="false"
  620. static="true" final="false" visibility="public"
  621. deprecated="not deprecated">
  622. <implements name="org.apache.hadoop.io.Writable"/>
  623. <implements name="java.lang.Iterable"/>
  624. <method name="getName" return="java.lang.String"
  625. abstract="false" native="false" synchronized="false"
  626. static="false" final="false" visibility="public"
  627. deprecated="not deprecated">
  628. <doc>
  629. <![CDATA[Returns raw name of the group. This is the name of the enum class
  630. for this group of counters.]]>
  631. </doc>
  632. </method>
  633. <method name="getDisplayName" return="java.lang.String"
  634. abstract="false" native="false" synchronized="false"
  635. static="false" final="false" visibility="public"
  636. deprecated="not deprecated">
  637. <doc>
  638. <![CDATA[Returns localized name of the group. This is the same as getName() by
  639. default, but different if an appropriate ResourceBundle is found.]]>
  640. </doc>
  641. </method>
  642. <method name="setDisplayName"
  643. abstract="false" native="false" synchronized="false"
  644. static="false" final="false" visibility="public"
  645. deprecated="not deprecated">
  646. <param name="displayName" type="java.lang.String"/>
  647. <doc>
  648. <![CDATA[Set the display name]]>
  649. </doc>
  650. </method>
  651. <method name="makeEscapedCompactString" return="java.lang.String"
  652. abstract="false" native="false" synchronized="false"
  653. static="false" final="false" visibility="public"
  654. deprecated="not deprecated">
  655. <doc>
  656. <![CDATA[Returns the compact stringified version of the group in the format
  657. {(actual-name)(display-name)(value)[][][]} where [] are compact strings for the
  658. counters within.]]>
  659. </doc>
  660. </method>
  661. <method name="hashCode" return="int"
  662. abstract="false" native="false" synchronized="false"
  663. static="false" final="false" visibility="public"
  664. deprecated="not deprecated">
  665. </method>
  666. <method name="equals" return="boolean"
  667. abstract="false" native="false" synchronized="true"
  668. static="false" final="false" visibility="public"
  669. deprecated="not deprecated">
  670. <param name="obj" type="java.lang.Object"/>
  671. <doc>
  672. <![CDATA[Checks for (content) equality of Groups]]>
  673. </doc>
  674. </method>
  675. <method name="getCounter" return="long"
  676. abstract="false" native="false" synchronized="true"
  677. static="false" final="false" visibility="public"
  678. deprecated="not deprecated">
  679. <param name="counterName" type="java.lang.String"/>
  680. <doc>
  681. <![CDATA[Returns the value of the specified counter, or 0 if the counter does
  682. not exist.]]>
  683. </doc>
  684. </method>
  685. <method name="getCounter" return="org.apache.hadoop.mapred.Counters.Counter"
  686. abstract="false" native="false" synchronized="true"
  687. static="false" final="false" visibility="public"
  688. deprecated="use {@link #getCounter(String)} instead">
  689. <param name="id" type="int"/>
  690. <param name="name" type="java.lang.String"/>
  691. <doc>
  692. <![CDATA[Get the counter for the given id and create it if it doesn't exist.
  693. @param id the numeric id of the counter within the group
  694. @param name the internal counter name
  695. @return the counter
  696. @deprecated use {@link #getCounter(String)} instead]]>
  697. </doc>
  698. </method>
  699. <method name="getCounterForName" return="org.apache.hadoop.mapred.Counters.Counter"
  700. abstract="false" native="false" synchronized="true"
  701. static="false" final="false" visibility="public"
  702. deprecated="not deprecated">
  703. <param name="name" type="java.lang.String"/>
  704. <doc>
  705. <![CDATA[Get the counter for the given name and create it if it doesn't exist.
  706. @param name the internal counter name
  707. @return the counter]]>
  708. </doc>
  709. </method>
  710. <method name="size" return="int"
  711. abstract="false" native="false" synchronized="true"
  712. static="false" final="false" visibility="public"
  713. deprecated="not deprecated">
  714. <doc>
  715. <![CDATA[Returns the number of counters in this group.]]>
  716. </doc>
  717. </method>
  718. <method name="write"
  719. abstract="false" native="false" synchronized="true"
  720. static="false" final="false" visibility="public"
  721. deprecated="not deprecated">
  722. <param name="out" type="java.io.DataOutput"/>
  723. <exception name="IOException" type="java.io.IOException"/>
  724. </method>
  725. <method name="readFields"
  726. abstract="false" native="false" synchronized="true"
  727. static="false" final="false" visibility="public"
  728. deprecated="not deprecated">
  729. <param name="in" type="java.io.DataInput"/>
  730. <exception name="IOException" type="java.io.IOException"/>
  731. </method>
  732. <method name="iterator" return="java.util.Iterator"
  733. abstract="false" native="false" synchronized="true"
  734. static="false" final="false" visibility="public"
  735. deprecated="not deprecated">
  736. </method>
  737. <doc>
  738. <![CDATA[<code>Group</code> of counters, comprising of counters from a particular
  739. counter {@link Enum} class.
  740. <p><code>Group</code>handles localization of the class name and the
  741. counter names.</p>]]>
  742. </doc>
  743. </class>
  744. <!-- end class org.apache.hadoop.mapred.Counters.Group -->
  745. <!-- start class org.apache.hadoop.mapred.FileAlreadyExistsException -->
  746. <class name="FileAlreadyExistsException" extends="java.io.IOException"
  747. abstract="false"
  748. static="false" final="false" visibility="public"
  749. deprecated="not deprecated">
  750. <constructor name="FileAlreadyExistsException"
  751. static="false" final="false" visibility="public"
  752. deprecated="not deprecated">
  753. </constructor>
  754. <constructor name="FileAlreadyExistsException" type="java.lang.String"
  755. static="false" final="false" visibility="public"
  756. deprecated="not deprecated">
  757. </constructor>
  758. <doc>
  759. <![CDATA[Used when target file already exists for any operation and
  760. is not configured to be overwritten.]]>
  761. </doc>
  762. </class>
  763. <!-- end class org.apache.hadoop.mapred.FileAlreadyExistsException -->
  764. <!-- start class org.apache.hadoop.mapred.FileInputFormat -->
  765. <class name="FileInputFormat" extends="java.lang.Object"
  766. abstract="true"
  767. static="false" final="false" visibility="public"
  768. deprecated="not deprecated">
  769. <implements name="org.apache.hadoop.mapred.InputFormat"/>
  770. <constructor name="FileInputFormat"
  771. static="false" final="false" visibility="public"
  772. deprecated="not deprecated">
  773. </constructor>
  774. <method name="setMinSplitSize"
  775. abstract="false" native="false" synchronized="false"
  776. static="false" final="false" visibility="protected"
  777. deprecated="not deprecated">
  778. <param name="minSplitSize" type="long"/>
  779. </method>
  780. <method name="isSplitable" return="boolean"
  781. abstract="false" native="false" synchronized="false"
  782. static="false" final="false" visibility="protected"
  783. deprecated="not deprecated">
  784. <param name="fs" type="org.apache.hadoop.fs.FileSystem"/>
  785. <param name="filename" type="org.apache.hadoop.fs.Path"/>
  786. <doc>
  787. <![CDATA[Is the given filename splitable? Usually, true, but if the file is
  788. stream compressed, it will not be.
  789. <code>FileInputFormat</code> implementations can override this and return
  790. <code>false</code> to ensure that individual input files are never split-up
  791. so that {@link Mapper}s process entire files.
  792. @param fs the file system that the file is on
  793. @param filename the file name to check
  794. @return is this file splitable?]]>
  795. </doc>
  796. </method>
  797. <method name="getRecordReader" return="org.apache.hadoop.mapred.RecordReader"
  798. abstract="true" native="false" synchronized="false"
  799. static="false" final="false" visibility="public"
  800. deprecated="not deprecated">
  801. <param name="split" type="org.apache.hadoop.mapred.InputSplit"/>
  802. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  803. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  804. <exception name="IOException" type="java.io.IOException"/>
  805. </method>
  806. <method name="setInputPathFilter"
  807. abstract="false" native="false" synchronized="false"
  808. static="true" final="false" visibility="public"
  809. deprecated="not deprecated">
  810. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  811. <param name="filter" type="java.lang.Class"/>
  812. <doc>
  813. <![CDATA[Set a PathFilter to be applied to the input paths for the map-reduce job.
  814. @param filter the PathFilter class use for filtering the input paths.]]>
  815. </doc>
  816. </method>
  817. <method name="getInputPathFilter" return="org.apache.hadoop.fs.PathFilter"
  818. abstract="false" native="false" synchronized="false"
  819. static="true" final="false" visibility="public"
  820. deprecated="not deprecated">
  821. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  822. <doc>
  823. <![CDATA[Get a PathFilter instance of the filter set for the input paths.
  824. @return the PathFilter instance set for the job, NULL if none has been set.]]>
  825. </doc>
  826. </method>
  827. <method name="addInputPathRecursively"
  828. abstract="false" native="false" synchronized="false"
  829. static="false" final="false" visibility="protected"
  830. deprecated="not deprecated">
  831. <param name="result" type="java.util.List"/>
  832. <param name="fs" type="org.apache.hadoop.fs.FileSystem"/>
  833. <param name="path" type="org.apache.hadoop.fs.Path"/>
  834. <param name="inputFilter" type="org.apache.hadoop.fs.PathFilter"/>
  835. <exception name="IOException" type="java.io.IOException"/>
  836. <doc>
  837. <![CDATA[Add files in the input path recursively into the results.
  838. @param result
  839. The List to store all files.
  840. @param fs
  841. The FileSystem.
  842. @param path
  843. The input path.
  844. @param inputFilter
  845. The input filter that can be used to filter files/dirs.
  846. @throws IOException]]>
  847. </doc>
  848. </method>
  849. <method name="listStatus" return="org.apache.hadoop.fs.FileStatus[]"
  850. abstract="false" native="false" synchronized="false"
  851. static="false" final="false" visibility="protected"
  852. deprecated="not deprecated">
  853. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  854. <exception name="IOException" type="java.io.IOException"/>
  855. <doc>
  856. <![CDATA[List input directories.
  857. Subclasses may override to, e.g., select only files matching a regular
  858. expression.
  859. @param job the job to list input paths for
  860. @return array of FileStatus objects
  861. @throws IOException if zero items.]]>
  862. </doc>
  863. </method>
  864. <method name="makeSplit" return="org.apache.hadoop.mapred.FileSplit"
  865. abstract="false" native="false" synchronized="false"
  866. static="false" final="false" visibility="protected"
  867. deprecated="not deprecated">
  868. <param name="file" type="org.apache.hadoop.fs.Path"/>
  869. <param name="start" type="long"/>
  870. <param name="length" type="long"/>
  871. <param name="hosts" type="java.lang.String[]"/>
  872. <doc>
  873. <![CDATA[A factory that makes the split for this class. It can be overridden
  874. by sub-classes to make sub-types]]>
  875. </doc>
  876. </method>
  877. <method name="getSplits" return="org.apache.hadoop.mapred.InputSplit[]"
  878. abstract="false" native="false" synchronized="false"
  879. static="false" final="false" visibility="public"
  880. deprecated="not deprecated">
  881. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  882. <param name="numSplits" type="int"/>
  883. <exception name="IOException" type="java.io.IOException"/>
  884. <doc>
  885. <![CDATA[Splits files returned by {@link #listStatus(JobConf)} when
  886. they're too big.]]>
  887. </doc>
  888. </method>
  889. <method name="computeSplitSize" return="long"
  890. abstract="false" native="false" synchronized="false"
  891. static="false" final="false" visibility="protected"
  892. deprecated="not deprecated">
  893. <param name="goalSize" type="long"/>
  894. <param name="minSize" type="long"/>
  895. <param name="blockSize" type="long"/>
  896. </method>
  897. <method name="getBlockIndex" return="int"
  898. abstract="false" native="false" synchronized="false"
  899. static="false" final="false" visibility="protected"
  900. deprecated="not deprecated">
  901. <param name="blkLocations" type="org.apache.hadoop.fs.BlockLocation[]"/>
  902. <param name="offset" type="long"/>
  903. </method>
  904. <method name="setInputPaths"
  905. abstract="false" native="false" synchronized="false"
  906. static="true" final="false" visibility="public"
  907. deprecated="not deprecated">
  908. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  909. <param name="commaSeparatedPaths" type="java.lang.String"/>
  910. <doc>
  911. <![CDATA[Sets the given comma separated paths as the list of inputs
  912. for the map-reduce job.
  913. @param conf Configuration of the job
  914. @param commaSeparatedPaths Comma separated paths to be set as
  915. the list of inputs for the map-reduce job.]]>
  916. </doc>
  917. </method>
  918. <method name="addInputPaths"
  919. abstract="false" native="false" synchronized="false"
  920. static="true" final="false" visibility="public"
  921. deprecated="not deprecated">
  922. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  923. <param name="commaSeparatedPaths" type="java.lang.String"/>
  924. <doc>
  925. <![CDATA[Add the given comma separated paths to the list of inputs for
  926. the map-reduce job.
  927. @param conf The configuration of the job
  928. @param commaSeparatedPaths Comma separated paths to be added to
  929. the list of inputs for the map-reduce job.]]>
  930. </doc>
  931. </method>
  932. <method name="setInputPaths"
  933. abstract="false" native="false" synchronized="false"
  934. static="true" final="false" visibility="public"
  935. deprecated="not deprecated">
  936. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  937. <param name="inputPaths" type="org.apache.hadoop.fs.Path[]"/>
  938. <doc>
  939. <![CDATA[Set the array of {@link Path}s as the list of inputs
  940. for the map-reduce job.
  941. @param conf Configuration of the job.
  942. @param inputPaths the {@link Path}s of the input directories/files
  943. for the map-reduce job.]]>
  944. </doc>
  945. </method>
  946. <method name="addInputPath"
  947. abstract="false" native="false" synchronized="false"
  948. static="true" final="false" visibility="public"
  949. deprecated="not deprecated">
  950. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  951. <param name="path" type="org.apache.hadoop.fs.Path"/>
  952. <doc>
  953. <![CDATA[Add a {@link Path} to the list of inputs for the map-reduce job.
  954. @param conf The configuration of the job
  955. @param path {@link Path} to be added to the list of inputs for
  956. the map-reduce job.]]>
  957. </doc>
  958. </method>
  959. <method name="getInputPaths" return="org.apache.hadoop.fs.Path[]"
  960. abstract="false" native="false" synchronized="false"
  961. static="true" final="false" visibility="public"
  962. deprecated="not deprecated">
  963. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  964. <doc>
  965. <![CDATA[Get the list of input {@link Path}s for the map-reduce job.
  966. @param conf The configuration of the job
  967. @return the list of input {@link Path}s for the map-reduce job.]]>
  968. </doc>
  969. </method>
  970. <method name="getSplitHosts" return="java.lang.String[]"
  971. abstract="false" native="false" synchronized="false"
  972. static="false" final="false" visibility="protected"
  973. deprecated="not deprecated">
  974. <param name="blkLocations" type="org.apache.hadoop.fs.BlockLocation[]"/>
  975. <param name="offset" type="long"/>
  976. <param name="splitSize" type="long"/>
  977. <param name="clusterMap" type="org.apache.hadoop.net.NetworkTopology"/>
  978. <exception name="IOException" type="java.io.IOException"/>
  979. <doc>
  980. <![CDATA[This function identifies and returns the hosts that contribute
  981. most for a given split. For calculating the contribution, rack
  982. locality is treated on par with host locality, so hosts from racks
  983. that contribute the most are preferred over hosts on racks that
  984. contribute less
  985. @param blkLocations The list of block locations
  986. @param offset
  987. @param splitSize
  988. @return array of hosts that contribute most to this split
  989. @throws IOException]]>
  990. </doc>
  991. </method>
  992. <field name="LOG" type="org.apache.commons.logging.Log"
  993. transient="false" volatile="false"
  994. static="true" final="true" visibility="public"
  995. deprecated="not deprecated">
  996. </field>
  997. <field name="NUM_INPUT_FILES" type="java.lang.String"
  998. transient="false" volatile="false"
  999. static="true" final="true" visibility="public"
  1000. deprecated="not deprecated">
  1001. </field>
  1002. <doc>
  1003. <![CDATA[A base class for file-based {@link InputFormat}.
  1004. <p><code>FileInputFormat</code> is the base class for all file-based
  1005. <code>InputFormat</code>s. This provides a generic implementation of
  1006. {@link #getSplits(JobConf, int)}.
  1007. Subclasses of <code>FileInputFormat</code> can also override the
  1008. {@link #isSplitable(FileSystem, Path)} method to ensure input-files are
  1009. not split-up and are processed as a whole by {@link Mapper}s.
  1010. instead.]]>
  1011. </doc>
  1012. </class>
  1013. <!-- end class org.apache.hadoop.mapred.FileInputFormat -->
  1014. <!-- start class org.apache.hadoop.mapred.FileOutputCommitter -->
  1015. <class name="FileOutputCommitter" extends="org.apache.hadoop.mapred.OutputCommitter"
  1016. abstract="false"
  1017. static="false" final="false" visibility="public"
  1018. deprecated="not deprecated">
  1019. <constructor name="FileOutputCommitter"
  1020. static="false" final="false" visibility="public"
  1021. deprecated="not deprecated">
  1022. </constructor>
  1023. <method name="setupJob"
  1024. abstract="false" native="false" synchronized="false"
  1025. static="false" final="false" visibility="public"
  1026. deprecated="not deprecated">
  1027. <param name="context" type="org.apache.hadoop.mapred.JobContext"/>
  1028. <exception name="IOException" type="java.io.IOException"/>
  1029. </method>
  1030. <method name="commitJob"
  1031. abstract="false" native="false" synchronized="false"
  1032. static="false" final="false" visibility="public"
  1033. deprecated="not deprecated">
  1034. <param name="context" type="org.apache.hadoop.mapred.JobContext"/>
  1035. <exception name="IOException" type="java.io.IOException"/>
  1036. </method>
  1037. <method name="cleanupJob"
  1038. abstract="false" native="false" synchronized="false"
  1039. static="false" final="false" visibility="public"
  1040. deprecated="not deprecated">
  1041. <param name="context" type="org.apache.hadoop.mapred.JobContext"/>
  1042. <exception name="IOException" type="java.io.IOException"/>
  1043. </method>
  1044. <method name="abortJob"
  1045. abstract="false" native="false" synchronized="false"
  1046. static="false" final="false" visibility="public"
  1047. deprecated="not deprecated">
  1048. <param name="context" type="org.apache.hadoop.mapred.JobContext"/>
  1049. <param name="runState" type="int"/>
  1050. <exception name="IOException" type="java.io.IOException"/>
  1051. </method>
  1052. <method name="setupTask"
  1053. abstract="false" native="false" synchronized="false"
  1054. static="false" final="false" visibility="public"
  1055. deprecated="not deprecated">
  1056. <param name="context" type="org.apache.hadoop.mapred.TaskAttemptContext"/>
  1057. <exception name="IOException" type="java.io.IOException"/>
  1058. </method>
  1059. <method name="commitTask"
  1060. abstract="false" native="false" synchronized="false"
  1061. static="false" final="false" visibility="public"
  1062. deprecated="not deprecated">
  1063. <param name="context" type="org.apache.hadoop.mapred.TaskAttemptContext"/>
  1064. <exception name="IOException" type="java.io.IOException"/>
  1065. </method>
  1066. <method name="abortTask"
  1067. abstract="false" native="false" synchronized="false"
  1068. static="false" final="false" visibility="public"
  1069. deprecated="not deprecated">
  1070. <param name="context" type="org.apache.hadoop.mapred.TaskAttemptContext"/>
  1071. <exception name="IOException" type="java.io.IOException"/>
  1072. </method>
  1073. <method name="needsTaskCommit" return="boolean"
  1074. abstract="false" native="false" synchronized="false"
  1075. static="false" final="false" visibility="public"
  1076. deprecated="not deprecated">
  1077. <param name="context" type="org.apache.hadoop.mapred.TaskAttemptContext"/>
  1078. <exception name="IOException" type="java.io.IOException"/>
  1079. </method>
  1080. <field name="LOG" type="org.apache.commons.logging.Log"
  1081. transient="false" volatile="false"
  1082. static="true" final="true" visibility="public"
  1083. deprecated="not deprecated">
  1084. </field>
  1085. <field name="TEMP_DIR_NAME" type="java.lang.String"
  1086. transient="false" volatile="false"
  1087. static="true" final="true" visibility="public"
  1088. deprecated="not deprecated">
  1089. <doc>
  1090. <![CDATA[Temporary directory name]]>
  1091. </doc>
  1092. </field>
  1093. <field name="SUCCEEDED_FILE_NAME" type="java.lang.String"
  1094. transient="false" volatile="false"
  1095. static="true" final="true" visibility="public"
  1096. deprecated="not deprecated">
  1097. </field>
  1098. <doc>
  1099. <![CDATA[An {@link OutputCommitter} that commits files specified
  1100. in job output directory i.e. ${mapreduce.output.fileoutputformat.outputdir}.]]>
  1101. </doc>
  1102. </class>
  1103. <!-- end class org.apache.hadoop.mapred.FileOutputCommitter -->
  1104. <!-- start class org.apache.hadoop.mapred.FileOutputFormat -->
  1105. <class name="FileOutputFormat" extends="java.lang.Object"
  1106. abstract="true"
  1107. static="false" final="false" visibility="public"
  1108. deprecated="not deprecated">
  1109. <implements name="org.apache.hadoop.mapred.OutputFormat"/>
  1110. <constructor name="FileOutputFormat"
  1111. static="false" final="false" visibility="public"
  1112. deprecated="not deprecated">
  1113. </constructor>
  1114. <method name="setCompressOutput"
  1115. abstract="false" native="false" synchronized="false"
  1116. static="true" final="false" visibility="public"
  1117. deprecated="not deprecated">
  1118. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  1119. <param name="compress" type="boolean"/>
  1120. <doc>
  1121. <![CDATA[Set whether the output of the job is compressed.
  1122. @param conf the {@link JobConf} to modify
  1123. @param compress should the output of the job be compressed?]]>
  1124. </doc>
  1125. </method>
  1126. <method name="getCompressOutput" return="boolean"
  1127. abstract="false" native="false" synchronized="false"
  1128. static="true" final="false" visibility="public"
  1129. deprecated="not deprecated">
  1130. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  1131. <doc>
  1132. <![CDATA[Is the job output compressed?
  1133. @param conf the {@link JobConf} to look in
  1134. @return <code>true</code> if the job output should be compressed,
  1135. <code>false</code> otherwise]]>
  1136. </doc>
  1137. </method>
  1138. <method name="setOutputCompressorClass"
  1139. abstract="false" native="false" synchronized="false"
  1140. static="true" final="false" visibility="public"
  1141. deprecated="not deprecated">
  1142. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  1143. <param name="codecClass" type="java.lang.Class"/>
  1144. <doc>
  1145. <![CDATA[Set the {@link CompressionCodec} to be used to compress job outputs.
  1146. @param conf the {@link JobConf} to modify
  1147. @param codecClass the {@link CompressionCodec} to be used to
  1148. compress the job outputs]]>
  1149. </doc>
  1150. </method>
  1151. <method name="getOutputCompressorClass" return="java.lang.Class"
  1152. abstract="false" native="false" synchronized="false"
  1153. static="true" final="false" visibility="public"
  1154. deprecated="not deprecated">
  1155. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  1156. <param name="defaultValue" type="java.lang.Class"/>
  1157. <doc>
  1158. <![CDATA[Get the {@link CompressionCodec} for compressing the job outputs.
  1159. @param conf the {@link JobConf} to look in
  1160. @param defaultValue the {@link CompressionCodec} to return if not set
  1161. @return the {@link CompressionCodec} to be used to compress the
  1162. job outputs
  1163. @throws IllegalArgumentException if the class was specified, but not found]]>
  1164. </doc>
  1165. </method>
  1166. <method name="getRecordWriter" return="org.apache.hadoop.mapred.RecordWriter"
  1167. abstract="true" native="false" synchronized="false"
  1168. static="false" final="false" visibility="public"
  1169. deprecated="not deprecated">
  1170. <param name="ignored" type="org.apache.hadoop.fs.FileSystem"/>
  1171. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  1172. <param name="name" type="java.lang.String"/>
  1173. <param name="progress" type="org.apache.hadoop.util.Progressable"/>
  1174. <exception name="IOException" type="java.io.IOException"/>
  1175. </method>
  1176. <method name="checkOutputSpecs"
  1177. abstract="false" native="false" synchronized="false"
  1178. static="false" final="false" visibility="public"
  1179. deprecated="not deprecated">
  1180. <param name="ignored" type="org.apache.hadoop.fs.FileSystem"/>
  1181. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  1182. <exception name="FileAlreadyExistsException" type="org.apache.hadoop.mapred.FileAlreadyExistsException"/>
  1183. <exception name="InvalidJobConfException" type="org.apache.hadoop.mapred.InvalidJobConfException"/>
  1184. <exception name="IOException" type="java.io.IOException"/>
  1185. </method>
  1186. <method name="setOutputPath"
  1187. abstract="false" native="false" synchronized="false"
  1188. static="true" final="false" visibility="public"
  1189. deprecated="not deprecated">
  1190. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  1191. <param name="outputDir" type="org.apache.hadoop.fs.Path"/>
  1192. <doc>
  1193. <![CDATA[Set the {@link Path} of the output directory for the map-reduce job.
  1194. @param conf The configuration of the job.
  1195. @param outputDir the {@link Path} of the output directory for
  1196. the map-reduce job.]]>
  1197. </doc>
  1198. </method>
  1199. <method name="getOutputPath" return="org.apache.hadoop.fs.Path"
  1200. abstract="false" native="false" synchronized="false"
  1201. static="true" final="false" visibility="public"
  1202. deprecated="not deprecated">
  1203. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  1204. <doc>
  1205. <![CDATA[Get the {@link Path} to the output directory for the map-reduce job.
  1206. @return the {@link Path} to the output directory for the map-reduce job.
  1207. @see FileOutputFormat#getWorkOutputPath(JobConf)]]>
  1208. </doc>
  1209. </method>
  1210. <method name="getWorkOutputPath" return="org.apache.hadoop.fs.Path"
  1211. abstract="false" native="false" synchronized="false"
  1212. static="true" final="false" visibility="public"
  1213. deprecated="not deprecated">
  1214. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  1215. <doc>
  1216. <![CDATA[Get the {@link Path} to the task's temporary output directory
  1217. for the map-reduce job
  1218. <h4 id="SideEffectFiles">Tasks' Side-Effect Files</h4>
  1219. <p><i>Note:</i> The following is valid only if the {@link OutputCommitter}
  1220. is {@link FileOutputCommitter}. If <code>OutputCommitter</code> is not
  1221. a <code>FileOutputCommitter</code>, the task's temporary output
  1222. directory is same as {@link #getOutputPath(JobConf)} i.e.
  1223. <tt>${mapreduce.output.fileoutputformat.outputdir}$</tt></p>
  1224. <p>Some applications need to create/write-to side-files, which differ from
  1225. the actual job-outputs.
  1226. <p>In such cases there could be issues with 2 instances of the same TIP
  1227. (running simultaneously e.g. speculative tasks) trying to open/write-to the
  1228. same file (path) on HDFS. Hence the application-writer will have to pick
  1229. unique names per task-attempt (e.g. using the attemptid, say
  1230. <tt>attempt_200709221812_0001_m_000000_0</tt>), not just per TIP.</p>
  1231. <p>To get around this the Map-Reduce framework helps the application-writer
  1232. out by maintaining a special
  1233. <tt>${mapreduce.output.fileoutputformat.outputdir}/_temporary/_${taskid}</tt>
  1234. sub-directory for each task-attempt on HDFS where the output of the
  1235. task-attempt goes. On successful completion of the task-attempt the files
  1236. in the <tt>${mapreduce.output.fileoutputformat.outputdir}/_temporary/_${taskid}</tt> (only)
  1237. are <i>promoted</i> to <tt>${mapreduce.output.fileoutputformat.outputdir}</tt>. Of course, the
  1238. framework discards the sub-directory of unsuccessful task-attempts. This
  1239. is completely transparent to the application.</p>
  1240. <p>The application-writer can take advantage of this by creating any
  1241. side-files required in <tt>${mapreduce.task.output.dir}</tt> during execution
  1242. of his reduce-task i.e. via {@link #getWorkOutputPath(JobConf)}, and the
  1243. framework will move them out similarly - thus she doesn't have to pick
  1244. unique paths per task-attempt.</p>
  1245. <p><i>Note</i>: the value of <tt>${mapreduce.task.output.dir}</tt> during
  1246. execution of a particular task-attempt is actually
  1247. <tt>${mapreduce.output.fileoutputformat.outputdir}/_temporary/_{$taskid}</tt>, and this value is
  1248. set by the map-reduce framework. So, just create any side-files in the
  1249. path returned by {@link #getWorkOutputPath(JobConf)} from map/reduce
  1250. task to take advantage of this feature.</p>
  1251. <p>The entire discussion holds true for maps of jobs with
  1252. reducer=NONE (i.e. 0 reduces) since output of the map, in that case,
  1253. goes directly to HDFS.</p>
  1254. @return the {@link Path} to the task's temporary output directory
  1255. for the map-reduce job.]]>
  1256. </doc>
  1257. </method>
  1258. <method name="getTaskOutputPath" return="org.apache.hadoop.fs.Path"
  1259. abstract="false" native="false" synchronized="false"
  1260. static="true" final="false" visibility="public"
  1261. deprecated="not deprecated">
  1262. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  1263. <param name="name" type="java.lang.String"/>
  1264. <exception name="IOException" type="java.io.IOException"/>
  1265. <doc>
  1266. <![CDATA[Helper function to create the task's temporary output directory and
  1267. return the path to the task's output file.
  1268. @param conf job-configuration
  1269. @param name temporary task-output filename
  1270. @return path to the task's temporary output file
  1271. @throws IOException]]>
  1272. </doc>
  1273. </method>
  1274. <method name="getUniqueName" return="java.lang.String"
  1275. abstract="false" native="false" synchronized="false"
  1276. static="true" final="false" visibility="public"
  1277. deprecated="not deprecated">
  1278. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  1279. <param name="name" type="java.lang.String"/>
  1280. <doc>
  1281. <![CDATA[Helper function to generate a name that is unique for the task.
  1282. <p>The generated name can be used to create custom files from within the
  1283. different tasks for the job, the names for different tasks will not collide
  1284. with each other.</p>
  1285. <p>The given name is postfixed with the task type, 'm' for maps, 'r' for
  1286. reduces and the task partition number. For example, give a name 'test'
  1287. running on the first map o the job the generated name will be
  1288. 'test-m-00000'.</p>
  1289. @param conf the configuration for the job.
  1290. @param name the name to make unique.
  1291. @return a unique name accross all tasks of the job.]]>
  1292. </doc>
  1293. </method>
  1294. <method name="getPathForCustomFile" return="org.apache.hadoop.fs.Path"
  1295. abstract="false" native="false" synchronized="false"
  1296. static="true" final="false" visibility="public"
  1297. deprecated="not deprecated">
  1298. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  1299. <param name="name" type="java.lang.String"/>
  1300. <doc>
  1301. <![CDATA[Helper function to generate a {@link Path} for a file that is unique for
  1302. the task within the job output directory.
  1303. <p>The path can be used to create custom files from within the map and
  1304. reduce tasks. The path name will be unique for each task. The path parent
  1305. will be the job output directory.</p>ls
  1306. <p>This method uses the {@link #getUniqueName} method to make the file name
  1307. unique for the task.</p>
  1308. @param conf the configuration for the job.
  1309. @param name the name for the file.
  1310. @return a unique path accross all tasks of the job.]]>
  1311. </doc>
  1312. </method>
  1313. <doc>
  1314. <![CDATA[A base class for {@link OutputFormat}.]]>
  1315. </doc>
  1316. </class>
  1317. <!-- end class org.apache.hadoop.mapred.FileOutputFormat -->
  1318. <!-- start class org.apache.hadoop.mapred.FileSplit -->
  1319. <class name="FileSplit" extends="org.apache.hadoop.mapreduce.InputSplit"
  1320. abstract="false"
  1321. static="false" final="false" visibility="public"
  1322. deprecated="not deprecated">
  1323. <implements name="org.apache.hadoop.mapred.InputSplit"/>
  1324. <constructor name="FileSplit"
  1325. static="false" final="false" visibility="protected"
  1326. deprecated="not deprecated">
  1327. </constructor>
  1328. <constructor name="FileSplit" type="org.apache.hadoop.fs.Path, long, long, org.apache.hadoop.mapred.JobConf"
  1329. static="false" final="false" visibility="public"
  1330. deprecated="deprecated, no comment">
  1331. <doc>
  1332. <![CDATA[Constructs a split.
  1333. @deprecated
  1334. @param file the file name
  1335. @param start the position of the first byte in the file to process
  1336. @param length the number of bytes in the file to process]]>
  1337. </doc>
  1338. </constructor>
  1339. <constructor name="FileSplit" type="org.apache.hadoop.fs.Path, long, long, java.lang.String[]"
  1340. static="false" final="false" visibility="public"
  1341. deprecated="not deprecated">
  1342. <doc>
  1343. <![CDATA[Constructs a split with host information
  1344. @param file the file name
  1345. @param start the position of the first byte in the file to process
  1346. @param length the number of bytes in the file to process
  1347. @param hosts the list of hosts containing the block, possibly null]]>
  1348. </doc>
  1349. </constructor>
  1350. <constructor name="FileSplit" type="org.apache.hadoop.mapreduce.lib.input.FileSplit"
  1351. static="false" final="false" visibility="public"
  1352. deprecated="not deprecated">
  1353. </constructor>
  1354. <method name="getPath" return="org.apache.hadoop.fs.Path"
  1355. abstract="false" native="false" synchronized="false"
  1356. static="false" final="false" visibility="public"
  1357. deprecated="not deprecated">
  1358. <doc>
  1359. <![CDATA[The file containing this split's data.]]>
  1360. </doc>
  1361. </method>
  1362. <method name="getStart" return="long"
  1363. abstract="false" native="false" synchronized="false"
  1364. static="false" final="false" visibility="public"
  1365. deprecated="not deprecated">
  1366. <doc>
  1367. <![CDATA[The position of the first byte in the file to process.]]>
  1368. </doc>
  1369. </method>
  1370. <method name="getLength" return="long"
  1371. abstract="false" native="false" synchronized="false"
  1372. static="false" final="false" visibility="public"
  1373. deprecated="not deprecated">
  1374. <doc>
  1375. <![CDATA[The number of bytes in the file to process.]]>
  1376. </doc>
  1377. </method>
  1378. <method name="toString" return="java.lang.String"
  1379. abstract="false" native="false" synchronized="false"
  1380. static="false" final="false" visibility="public"
  1381. deprecated="not deprecated">
  1382. </method>
  1383. <method name="write"
  1384. abstract="false" native="false" synchronized="false"
  1385. static="false" final="false" visibility="public"
  1386. deprecated="not deprecated">
  1387. <param name="out" type="java.io.DataOutput"/>
  1388. <exception name="IOException" type="java.io.IOException"/>
  1389. </method>
  1390. <method name="readFields"
  1391. abstract="false" native="false" synchronized="false"
  1392. static="false" final="false" visibility="public"
  1393. deprecated="not deprecated">
  1394. <param name="in" type="java.io.DataInput"/>
  1395. <exception name="IOException" type="java.io.IOException"/>
  1396. </method>
  1397. <method name="getLocations" return="java.lang.String[]"
  1398. abstract="false" native="false" synchronized="false"
  1399. static="false" final="false" visibility="public"
  1400. deprecated="not deprecated">
  1401. <exception name="IOException" type="java.io.IOException"/>
  1402. </method>
  1403. <doc>
  1404. <![CDATA[A section of an input file. Returned by {@link
  1405. InputFormat#getSplits(JobConf, int)} and passed to
  1406. {@link InputFormat#getRecordReader(InputSplit,JobConf,Reporter)}.
  1407. instead.]]>
  1408. </doc>
  1409. </class>
  1410. <!-- end class org.apache.hadoop.mapred.FileSplit -->
  1411. <!-- start class org.apache.hadoop.mapred.ID -->
  1412. <class name="ID" extends="org.apache.hadoop.mapreduce.ID"
  1413. abstract="true"
  1414. static="false" final="false" visibility="public"
  1415. deprecated="not deprecated">
  1416. <constructor name="ID" type="int"
  1417. static="false" final="false" visibility="public"
  1418. deprecated="not deprecated">
  1419. <doc>
  1420. <![CDATA[constructs an ID object from the given int]]>
  1421. </doc>
  1422. </constructor>
  1423. <constructor name="ID"
  1424. static="false" final="false" visibility="protected"
  1425. deprecated="not deprecated">
  1426. </constructor>
  1427. <doc>
  1428. <![CDATA[A general identifier, which internally stores the id
  1429. as an integer. This is the super class of {@link JobID},
  1430. {@link TaskID} and {@link TaskAttemptID}.
  1431. @see JobID
  1432. @see TaskID
  1433. @see TaskAttemptID]]>
  1434. </doc>
  1435. </class>
  1436. <!-- end class org.apache.hadoop.mapred.ID -->
  1437. <!-- start interface org.apache.hadoop.mapred.InputFormat -->
  1438. <interface name="InputFormat" abstract="true"
  1439. static="false" final="false" visibility="public"
  1440. deprecated="not deprecated">
  1441. <method name="getSplits" return="org.apache.hadoop.mapred.InputSplit[]"
  1442. abstract="false" native="false" synchronized="false"
  1443. static="false" final="false" visibility="public"
  1444. deprecated="not deprecated">
  1445. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  1446. <param name="numSplits" type="int"/>
  1447. <exception name="IOException" type="java.io.IOException"/>
  1448. <doc>
  1449. <![CDATA[Logically split the set of input files for the job.
  1450. <p>Each {@link InputSplit} is then assigned to an individual {@link Mapper}
  1451. for processing.</p>
  1452. <p><i>Note</i>: The split is a <i>logical</i> split of the inputs and the
  1453. input files are not physically split into chunks. For e.g. a split could
  1454. be <i>&lt;input-file-path, start, offset&gt;</i> tuple.
  1455. @param job job configuration.
  1456. @param numSplits the desired number of splits, a hint.
  1457. @return an array of {@link InputSplit}s for the job.]]>
  1458. </doc>
  1459. </method>
  1460. <method name="getRecordReader" return="org.apache.hadoop.mapred.RecordReader"
  1461. abstract="false" native="false" synchronized="false"
  1462. static="false" final="false" visibility="public"
  1463. deprecated="not deprecated">
  1464. <param name="split" type="org.apache.hadoop.mapred.InputSplit"/>
  1465. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  1466. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  1467. <exception name="IOException" type="java.io.IOException"/>
  1468. <doc>
  1469. <![CDATA[Get the {@link RecordReader} for the given {@link InputSplit}.
  1470. <p>It is the responsibility of the <code>RecordReader</code> to respect
  1471. record boundaries while processing the logical split to present a
  1472. record-oriented view to the individual task.</p>
  1473. @param split the {@link InputSplit}
  1474. @param job the job that this split belongs to
  1475. @return a {@link RecordReader}]]>
  1476. </doc>
  1477. </method>
  1478. <doc>
  1479. <![CDATA[<code>InputFormat</code> describes the input-specification for a
  1480. Map-Reduce job.
  1481. <p>The Map-Reduce framework relies on the <code>InputFormat</code> of the
  1482. job to:<p>
  1483. <ol>
  1484. <li>
  1485. Validate the input-specification of the job.
  1486. <li>
  1487. Split-up the input file(s) into logical {@link InputSplit}s, each of
  1488. which is then assigned to an individual {@link Mapper}.
  1489. </li>
  1490. <li>
  1491. Provide the {@link RecordReader} implementation to be used to glean
  1492. input records from the logical <code>InputSplit</code> for processing by
  1493. the {@link Mapper}.
  1494. </li>
  1495. </ol>
  1496. <p>The default behavior of file-based {@link InputFormat}s, typically
  1497. sub-classes of {@link FileInputFormat}, is to split the
  1498. input into <i>logical</i> {@link InputSplit}s based on the total size, in
  1499. bytes, of the input files. However, the {@link FileSystem} blocksize of
  1500. the input files is treated as an upper bound for input splits. A lower bound
  1501. on the split size can be set via
  1502. <a href="{@docRoot}/../mapred-default.html#mapreduce.input.fileinputformat.split.minsize">
  1503. mapreduce.input.fileinputformat.split.minsize</a>.</p>
  1504. <p>Clearly, logical splits based on input-size is insufficient for many
  1505. applications since record boundaries are to respected. In such cases, the
  1506. application has to also implement a {@link RecordReader} on whom lies the
  1507. responsibilty to respect record-boundaries and present a record-oriented
  1508. view of the logical <code>InputSplit</code> to the individual task.
  1509. @see InputSplit
  1510. @see RecordReader
  1511. @see JobClient
  1512. @see FileInputFormat]]>
  1513. </doc>
  1514. </interface>
  1515. <!-- end interface org.apache.hadoop.mapred.InputFormat -->
  1516. <!-- start interface org.apache.hadoop.mapred.InputSplit -->
  1517. <interface name="InputSplit" abstract="true"
  1518. static="false" final="false" visibility="public"
  1519. deprecated="not deprecated">
  1520. <implements name="org.apache.hadoop.io.Writable"/>
  1521. <method name="getLength" return="long"
  1522. abstract="false" native="false" synchronized="false"
  1523. static="false" final="false" visibility="public"
  1524. deprecated="not deprecated">
  1525. <exception name="IOException" type="java.io.IOException"/>
  1526. <doc>
  1527. <![CDATA[Get the total number of bytes in the data of the <code>InputSplit</code>.
  1528. @return the number of bytes in the input split.
  1529. @throws IOException]]>
  1530. </doc>
  1531. </method>
  1532. <method name="getLocations" return="java.lang.String[]"
  1533. abstract="false" native="false" synchronized="false"
  1534. static="false" final="false" visibility="public"
  1535. deprecated="not deprecated">
  1536. <exception name="IOException" type="java.io.IOException"/>
  1537. <doc>
  1538. <![CDATA[Get the list of hostnames where the input split is located.
  1539. @return list of hostnames where data of the <code>InputSplit</code> is
  1540. located as an array of <code>String</code>s.
  1541. @throws IOException]]>
  1542. </doc>
  1543. </method>
  1544. <doc>
  1545. <![CDATA[<code>InputSplit</code> represents the data to be processed by an
  1546. individual {@link Mapper}.
  1547. <p>Typically, it presents a byte-oriented view on the input and is the
  1548. responsibility of {@link RecordReader} of the job to process this and present
  1549. a record-oriented view.
  1550. @see InputFormat
  1551. @see RecordReader]]>
  1552. </doc>
  1553. </interface>
  1554. <!-- end interface org.apache.hadoop.mapred.InputSplit -->
  1555. <!-- start class org.apache.hadoop.mapred.InvalidFileTypeException -->
  1556. <class name="InvalidFileTypeException" extends="java.io.IOException"
  1557. abstract="false"
  1558. static="false" final="false" visibility="public"
  1559. deprecated="not deprecated">
  1560. <constructor name="InvalidFileTypeException"
  1561. static="false" final="false" visibility="public"
  1562. deprecated="not deprecated">
  1563. </constructor>
  1564. <constructor name="InvalidFileTypeException" type="java.lang.String"
  1565. static="false" final="false" visibility="public"
  1566. deprecated="not deprecated">
  1567. </constructor>
  1568. <doc>
  1569. <![CDATA[Used when file type differs from the desired file type. like
  1570. getting a file when a directory is expected. Or a wrong file type.]]>
  1571. </doc>
  1572. </class>
  1573. <!-- end class org.apache.hadoop.mapred.InvalidFileTypeException -->
  1574. <!-- start class org.apache.hadoop.mapred.InvalidInputException -->
  1575. <class name="InvalidInputException" extends="java.io.IOException"
  1576. abstract="false"
  1577. static="false" final="false" visibility="public"
  1578. deprecated="not deprecated">
  1579. <constructor name="InvalidInputException" type="java.util.List"
  1580. static="false" final="false" visibility="public"
  1581. deprecated="not deprecated">
  1582. <doc>
  1583. <![CDATA[Create the exception with the given list.
  1584. @param probs the list of problems to report. this list is not copied.]]>
  1585. </doc>
  1586. </constructor>
  1587. <method name="getProblems" return="java.util.List"
  1588. abstract="false" native="false" synchronized="false"
  1589. static="false" final="false" visibility="public"
  1590. deprecated="not deprecated">
  1591. <doc>
  1592. <![CDATA[Get the complete list of the problems reported.
  1593. @return the list of problems, which must not be modified]]>
  1594. </doc>
  1595. </method>
  1596. <method name="getMessage" return="java.lang.String"
  1597. abstract="false" native="false" synchronized="false"
  1598. static="false" final="false" visibility="public"
  1599. deprecated="not deprecated">
  1600. <doc>
  1601. <![CDATA[Get a summary message of the problems found.
  1602. @return the concatenated messages from all of the problems.]]>
  1603. </doc>
  1604. </method>
  1605. <doc>
  1606. <![CDATA[This class wraps a list of problems with the input, so that the user
  1607. can get a list of problems together instead of finding and fixing them one
  1608. by one.]]>
  1609. </doc>
  1610. </class>
  1611. <!-- end class org.apache.hadoop.mapred.InvalidInputException -->
  1612. <!-- start class org.apache.hadoop.mapred.InvalidJobConfException -->
  1613. <class name="InvalidJobConfException" extends="java.io.IOException"
  1614. abstract="false"
  1615. static="false" final="false" visibility="public"
  1616. deprecated="not deprecated">
  1617. <constructor name="InvalidJobConfException"
  1618. static="false" final="false" visibility="public"
  1619. deprecated="not deprecated">
  1620. </constructor>
  1621. <constructor name="InvalidJobConfException" type="java.lang.String"
  1622. static="false" final="false" visibility="public"
  1623. deprecated="not deprecated">
  1624. </constructor>
  1625. <doc>
  1626. <![CDATA[This exception is thrown when jobconf misses some mendatory attributes
  1627. or value of some attributes is invalid.]]>
  1628. </doc>
  1629. </class>
  1630. <!-- end class org.apache.hadoop.mapred.InvalidJobConfException -->
  1631. <!-- start class org.apache.hadoop.mapred.IsolationRunner -->
  1632. <class name="IsolationRunner" extends="java.lang.Object"
  1633. abstract="false"
  1634. static="false" final="false" visibility="public"
  1635. deprecated="not deprecated">
  1636. <constructor name="IsolationRunner"
  1637. static="false" final="false" visibility="public"
  1638. deprecated="not deprecated">
  1639. </constructor>
  1640. <method name="main"
  1641. abstract="false" native="false" synchronized="false"
  1642. static="true" final="false" visibility="public"
  1643. deprecated="not deprecated">
  1644. <param name="args" type="java.lang.String[]"/>
  1645. <exception name="ClassNotFoundException" type="java.lang.ClassNotFoundException"/>
  1646. <exception name="IOException" type="java.io.IOException"/>
  1647. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  1648. <doc>
  1649. <![CDATA[Run a single task.
  1650. @param args the first argument is the task directory]]>
  1651. </doc>
  1652. </method>
  1653. <doc>
  1654. <![CDATA[IsolationRunner is intended to facilitate debugging by re-running a specific
  1655. task, given left-over task files for a (typically failed) past job.
  1656. Currently, it is limited to re-running map tasks.
  1657. Users may coerce MapReduce to keep task files around by setting
  1658. mapreduce.task.files.preserve.failedtasks. See mapred_tutorial.xml for more documentation.]]>
  1659. </doc>
  1660. </class>
  1661. <!-- end class org.apache.hadoop.mapred.IsolationRunner -->
  1662. <!-- start class org.apache.hadoop.mapred.JobClient -->
  1663. <class name="JobClient" extends="org.apache.hadoop.mapreduce.tools.CLI"
  1664. abstract="false"
  1665. static="false" final="false" visibility="public"
  1666. deprecated="not deprecated">
  1667. <constructor name="JobClient"
  1668. static="false" final="false" visibility="public"
  1669. deprecated="not deprecated">
  1670. <doc>
  1671. <![CDATA[Create a job client.]]>
  1672. </doc>
  1673. </constructor>
  1674. <constructor name="JobClient" type="org.apache.hadoop.mapred.JobConf"
  1675. static="false" final="false" visibility="public"
  1676. deprecated="not deprecated">
  1677. <exception name="IOException" type="java.io.IOException"/>
  1678. <doc>
  1679. <![CDATA[Build a job client with the given {@link JobConf}, and connect to the
  1680. default {@link JobTracker}.
  1681. @param conf the job configuration.
  1682. @throws IOException]]>
  1683. </doc>
  1684. </constructor>
  1685. <constructor name="JobClient" type="org.apache.hadoop.conf.Configuration"
  1686. static="false" final="false" visibility="public"
  1687. deprecated="not deprecated">
  1688. <exception name="IOException" type="java.io.IOException"/>
  1689. <doc>
  1690. <![CDATA[Build a job client with the given {@link Configuration},
  1691. and connect to the default {@link JobTracker}.
  1692. @param conf the configuration.
  1693. @throws IOException]]>
  1694. </doc>
  1695. </constructor>
  1696. <constructor name="JobClient" type="java.net.InetSocketAddress, org.apache.hadoop.conf.Configuration"
  1697. static="false" final="false" visibility="public"
  1698. deprecated="not deprecated">
  1699. <exception name="IOException" type="java.io.IOException"/>
  1700. <doc>
  1701. <![CDATA[Build a job client, connect to the indicated job tracker.
  1702. @param jobTrackAddr the job tracker to connect to.
  1703. @param conf configuration.]]>
  1704. </doc>
  1705. </constructor>
  1706. <method name="init"
  1707. abstract="false" native="false" synchronized="false"
  1708. static="false" final="false" visibility="public"
  1709. deprecated="not deprecated">
  1710. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  1711. <exception name="IOException" type="java.io.IOException"/>
  1712. <doc>
  1713. <![CDATA[Connect to the default {@link JobTracker}.
  1714. @param conf the job configuration.
  1715. @throws IOException]]>
  1716. </doc>
  1717. </method>
  1718. <method name="close"
  1719. abstract="false" native="false" synchronized="true"
  1720. static="false" final="false" visibility="public"
  1721. deprecated="not deprecated">
  1722. <exception name="IOException" type="java.io.IOException"/>
  1723. <doc>
  1724. <![CDATA[Close the <code>JobClient</code>.]]>
  1725. </doc>
  1726. </method>
  1727. <method name="getFs" return="org.apache.hadoop.fs.FileSystem"
  1728. abstract="false" native="false" synchronized="true"
  1729. static="false" final="false" visibility="public"
  1730. deprecated="not deprecated">
  1731. <exception name="IOException" type="java.io.IOException"/>
  1732. <doc>
  1733. <![CDATA[Get a filesystem handle. We need this to prepare jobs
  1734. for submission to the MapReduce system.
  1735. @return the filesystem handle.]]>
  1736. </doc>
  1737. </method>
  1738. <method name="getClusterHandle" return="org.apache.hadoop.mapreduce.Cluster"
  1739. abstract="false" native="false" synchronized="false"
  1740. static="false" final="false" visibility="public"
  1741. deprecated="not deprecated">
  1742. <doc>
  1743. <![CDATA[Get a handle to the Cluster]]>
  1744. </doc>
  1745. </method>
  1746. <method name="submitJob" return="org.apache.hadoop.mapred.RunningJob"
  1747. abstract="false" native="false" synchronized="false"
  1748. static="false" final="false" visibility="public"
  1749. deprecated="not deprecated">
  1750. <param name="jobFile" type="java.lang.String"/>
  1751. <exception name="FileNotFoundException" type="java.io.FileNotFoundException"/>
  1752. <exception name="InvalidJobConfException" type="org.apache.hadoop.mapred.InvalidJobConfException"/>
  1753. <exception name="IOException" type="java.io.IOException"/>
  1754. <doc>
  1755. <![CDATA[Submit a job to the MR system.
  1756. This returns a handle to the {@link RunningJob} which can be used to track
  1757. the running-job.
  1758. @param jobFile the job configuration.
  1759. @return a handle to the {@link RunningJob} which can be used to track the
  1760. running-job.
  1761. @throws FileNotFoundException
  1762. @throws InvalidJobConfException
  1763. @throws IOException]]>
  1764. </doc>
  1765. </method>
  1766. <method name="submitJob" return="org.apache.hadoop.mapred.RunningJob"
  1767. abstract="false" native="false" synchronized="false"
  1768. static="false" final="false" visibility="public"
  1769. deprecated="not deprecated">
  1770. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  1771. <exception name="FileNotFoundException" type="java.io.FileNotFoundException"/>
  1772. <exception name="IOException" type="java.io.IOException"/>
  1773. <doc>
  1774. <![CDATA[Submit a job to the MR system.
  1775. This returns a handle to the {@link RunningJob} which can be used to track
  1776. the running-job.
  1777. @param conf the job configuration.
  1778. @return a handle to the {@link RunningJob} which can be used to track the
  1779. running-job.
  1780. @throws FileNotFoundException
  1781. @throws IOException]]>
  1782. </doc>
  1783. </method>
  1784. <method name="getJob" return="org.apache.hadoop.mapred.RunningJob"
  1785. abstract="false" native="false" synchronized="false"
  1786. static="false" final="false" visibility="public"
  1787. deprecated="not deprecated">
  1788. <param name="jobid" type="org.apache.hadoop.mapred.JobID"/>
  1789. <exception name="IOException" type="java.io.IOException"/>
  1790. <doc>
  1791. <![CDATA[Get an {@link RunningJob} object to track an ongoing job. Returns
  1792. null if the id does not correspond to any known job.
  1793. @param jobid the jobid of the job.
  1794. @return the {@link RunningJob} handle to track the job, null if the
  1795. <code>jobid</code> doesn't correspond to any known job.
  1796. @throws IOException]]>
  1797. </doc>
  1798. </method>
  1799. <method name="getJob" return="org.apache.hadoop.mapred.RunningJob"
  1800. abstract="false" native="false" synchronized="false"
  1801. static="false" final="false" visibility="public"
  1802. deprecated="Applications should rather use {@link #getJob(JobID)}.">
  1803. <param name="jobid" type="java.lang.String"/>
  1804. <exception name="IOException" type="java.io.IOException"/>
  1805. <doc>
  1806. <![CDATA[@deprecated Applications should rather use {@link #getJob(JobID)}.]]>
  1807. </doc>
  1808. </method>
  1809. <method name="getMapTaskReports" return="org.apache.hadoop.mapred.TaskReport[]"
  1810. abstract="false" native="false" synchronized="false"
  1811. static="false" final="false" visibility="public"
  1812. deprecated="not deprecated">
  1813. <param name="jobId" type="org.apache.hadoop.mapred.JobID"/>
  1814. <exception name="IOException" type="java.io.IOException"/>
  1815. <doc>
  1816. <![CDATA[Get the information of the current state of the map tasks of a job.
  1817. @param jobId the job to query.
  1818. @return the list of all of the map tips.
  1819. @throws IOException]]>
  1820. </doc>
  1821. </method>
  1822. <method name="getMapTaskReports" return="org.apache.hadoop.mapred.TaskReport[]"
  1823. abstract="false" native="false" synchronized="false"
  1824. static="false" final="false" visibility="public"
  1825. deprecated="Applications should rather use {@link #getMapTaskReports(JobID)}">
  1826. <param name="jobId" type="java.lang.String"/>
  1827. <exception name="IOException" type="java.io.IOException"/>
  1828. <doc>
  1829. <![CDATA[@deprecated Applications should rather use {@link #getMapTaskReports(JobID)}]]>
  1830. </doc>
  1831. </method>
  1832. <method name="getReduceTaskReports" return="org.apache.hadoop.mapred.TaskReport[]"
  1833. abstract="false" native="false" synchronized="false"
  1834. static="false" final="false" visibility="public"
  1835. deprecated="not deprecated">
  1836. <param name="jobId" type="org.apache.hadoop.mapred.JobID"/>
  1837. <exception name="IOException" type="java.io.IOException"/>
  1838. <doc>
  1839. <![CDATA[Get the information of the current state of the reduce tasks of a job.
  1840. @param jobId the job to query.
  1841. @return the list of all of the reduce tips.
  1842. @throws IOException]]>
  1843. </doc>
  1844. </method>
  1845. <method name="getCleanupTaskReports" return="org.apache.hadoop.mapred.TaskReport[]"
  1846. abstract="false" native="false" synchronized="false"
  1847. static="false" final="false" visibility="public"
  1848. deprecated="not deprecated">
  1849. <param name="jobId" type="org.apache.hadoop.mapred.JobID"/>
  1850. <exception name="IOException" type="java.io.IOException"/>
  1851. <doc>
  1852. <![CDATA[Get the information of the current state of the cleanup tasks of a job.
  1853. @param jobId the job to query.
  1854. @return the list of all of the cleanup tips.
  1855. @throws IOException]]>
  1856. </doc>
  1857. </method>
  1858. <method name="getSetupTaskReports" return="org.apache.hadoop.mapred.TaskReport[]"
  1859. abstract="false" native="false" synchronized="false"
  1860. static="false" final="false" visibility="public"
  1861. deprecated="not deprecated">
  1862. <param name="jobId" type="org.apache.hadoop.mapred.JobID"/>
  1863. <exception name="IOException" type="java.io.IOException"/>
  1864. <doc>
  1865. <![CDATA[Get the information of the current state of the setup tasks of a job.
  1866. @param jobId the job to query.
  1867. @return the list of all of the setup tips.
  1868. @throws IOException]]>
  1869. </doc>
  1870. </method>
  1871. <method name="getReduceTaskReports" return="org.apache.hadoop.mapred.TaskReport[]"
  1872. abstract="false" native="false" synchronized="false"
  1873. static="false" final="false" visibility="public"
  1874. deprecated="Applications should rather use {@link #getReduceTaskReports(JobID)}">
  1875. <param name="jobId" type="java.lang.String"/>
  1876. <exception name="IOException" type="java.io.IOException"/>
  1877. <doc>
  1878. <![CDATA[@deprecated Applications should rather use {@link #getReduceTaskReports(JobID)}]]>
  1879. </doc>
  1880. </method>
  1881. <method name="displayTasks"
  1882. abstract="false" native="false" synchronized="false"
  1883. static="false" final="false" visibility="public"
  1884. deprecated="not deprecated">
  1885. <param name="jobId" type="org.apache.hadoop.mapred.JobID"/>
  1886. <param name="type" type="java.lang.String"/>
  1887. <param name="state" type="java.lang.String"/>
  1888. <exception name="IOException" type="java.io.IOException"/>
  1889. <doc>
  1890. <![CDATA[Display the information about a job's tasks, of a particular type and
  1891. in a particular state
  1892. @param jobId the ID of the job
  1893. @param type the type of the task (map/reduce/setup/cleanup)
  1894. @param state the state of the task
  1895. (pending/running/completed/failed/killed)]]>
  1896. </doc>
  1897. </method>
  1898. <method name="getClusterStatus" return="org.apache.hadoop.mapred.ClusterStatus"
  1899. abstract="false" native="false" synchronized="false"
  1900. static="false" final="false" visibility="public"
  1901. deprecated="not deprecated">
  1902. <exception name="IOException" type="java.io.IOException"/>
  1903. <doc>
  1904. <![CDATA[Get status information about the Map-Reduce cluster.
  1905. @return the status information about the Map-Reduce cluster as an object
  1906. of {@link ClusterStatus}.
  1907. @throws IOException]]>
  1908. </doc>
  1909. </method>
  1910. <method name="getClusterStatus" return="org.apache.hadoop.mapred.ClusterStatus"
  1911. abstract="false" native="false" synchronized="false"
  1912. static="false" final="false" visibility="public"
  1913. deprecated="not deprecated">
  1914. <param name="detailed" type="boolean"/>
  1915. <exception name="IOException" type="java.io.IOException"/>
  1916. <doc>
  1917. <![CDATA[Get status information about the Map-Reduce cluster.
  1918. @param detailed if true then get a detailed status including the
  1919. tracker names
  1920. @return the status information about the Map-Reduce cluster as an object
  1921. of {@link ClusterStatus}.
  1922. @throws IOException]]>
  1923. </doc>
  1924. </method>
  1925. <method name="jobsToComplete" return="org.apache.hadoop.mapred.JobStatus[]"
  1926. abstract="false" native="false" synchronized="false"
  1927. static="false" final="false" visibility="public"
  1928. deprecated="not deprecated">
  1929. <exception name="IOException" type="java.io.IOException"/>
  1930. <doc>
  1931. <![CDATA[Get the jobs that are not completed and not failed.
  1932. @return array of {@link JobStatus} for the running/to-be-run jobs.
  1933. @throws IOException]]>
  1934. </doc>
  1935. </method>
  1936. <method name="getAllJobs" return="org.apache.hadoop.mapred.JobStatus[]"
  1937. abstract="false" native="false" synchronized="false"
  1938. static="false" final="false" visibility="public"
  1939. deprecated="not deprecated">
  1940. <exception name="IOException" type="java.io.IOException"/>
  1941. <doc>
  1942. <![CDATA[Get the jobs that are submitted.
  1943. @return array of {@link JobStatus} for the submitted jobs.
  1944. @throws IOException]]>
  1945. </doc>
  1946. </method>
  1947. <method name="runJob" return="org.apache.hadoop.mapred.RunningJob"
  1948. abstract="false" native="false" synchronized="false"
  1949. static="true" final="false" visibility="public"
  1950. deprecated="not deprecated">
  1951. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  1952. <exception name="IOException" type="java.io.IOException"/>
  1953. <doc>
  1954. <![CDATA[Utility that submits a job, then polls for progress until the job is
  1955. complete.
  1956. @param job the job configuration.
  1957. @throws IOException if the job fails]]>
  1958. </doc>
  1959. </method>
  1960. <method name="monitorAndPrintJob" return="boolean"
  1961. abstract="false" native="false" synchronized="false"
  1962. static="false" final="false" visibility="public"
  1963. deprecated="not deprecated">
  1964. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  1965. <param name="job" type="org.apache.hadoop.mapred.RunningJob"/>
  1966. <exception name="IOException" type="java.io.IOException"/>
  1967. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  1968. <doc>
  1969. <![CDATA[Monitor a job and print status in real-time as progress is made and tasks
  1970. fail.
  1971. @param conf the job's configuration
  1972. @param job the job to track
  1973. @return true if the job succeeded
  1974. @throws IOException if communication to the JobTracker fails]]>
  1975. </doc>
  1976. </method>
  1977. <method name="setTaskOutputFilter"
  1978. abstract="false" native="false" synchronized="false"
  1979. static="false" final="false" visibility="public"
  1980. deprecated="not deprecated">
  1981. <param name="newValue" type="org.apache.hadoop.mapred.JobClient.TaskStatusFilter"/>
  1982. <doc>
  1983. <![CDATA[Sets the output filter for tasks. only those tasks are printed whose
  1984. output matches the filter.
  1985. @param newValue task filter.]]>
  1986. </doc>
  1987. </method>
  1988. <method name="getTaskOutputFilter" return="org.apache.hadoop.mapred.JobClient.TaskStatusFilter"
  1989. abstract="false" native="false" synchronized="false"
  1990. static="true" final="false" visibility="public"
  1991. deprecated="not deprecated">
  1992. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  1993. <doc>
  1994. <![CDATA[Get the task output filter out of the JobConf.
  1995. @param job the JobConf to examine.
  1996. @return the filter level.]]>
  1997. </doc>
  1998. </method>
  1999. <method name="setTaskOutputFilter"
  2000. abstract="false" native="false" synchronized="false"
  2001. static="true" final="false" visibility="public"
  2002. deprecated="not deprecated">
  2003. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  2004. <param name="newValue" type="org.apache.hadoop.mapred.JobClient.TaskStatusFilter"/>
  2005. <doc>
  2006. <![CDATA[Modify the JobConf to set the task output filter.
  2007. @param job the JobConf to modify.
  2008. @param newValue the value to set.]]>
  2009. </doc>
  2010. </method>
  2011. <method name="getTaskOutputFilter" return="org.apache.hadoop.mapred.JobClient.TaskStatusFilter"
  2012. abstract="false" native="false" synchronized="false"
  2013. static="false" final="false" visibility="public"
  2014. deprecated="not deprecated">
  2015. <doc>
  2016. <![CDATA[Returns task output filter.
  2017. @return task filter.]]>
  2018. </doc>
  2019. </method>
  2020. <method name="getCounter" return="long"
  2021. abstract="false" native="false" synchronized="false"
  2022. static="false" final="false" visibility="protected"
  2023. deprecated="not deprecated">
  2024. <param name="cntrs" type="org.apache.hadoop.mapreduce.Counters"/>
  2025. <param name="counterGroupName" type="java.lang.String"/>
  2026. <param name="counterName" type="java.lang.String"/>
  2027. <exception name="IOException" type="java.io.IOException"/>
  2028. </method>
  2029. <method name="getDefaultMaps" return="int"
  2030. abstract="false" native="false" synchronized="false"
  2031. static="false" final="false" visibility="public"
  2032. deprecated="not deprecated">
  2033. <exception name="IOException" type="java.io.IOException"/>
  2034. <doc>
  2035. <![CDATA[Get status information about the max available Maps in the cluster.
  2036. @return the max available Maps in the cluster
  2037. @throws IOException]]>
  2038. </doc>
  2039. </method>
  2040. <method name="getDefaultReduces" return="int"
  2041. abstract="false" native="false" synchronized="false"
  2042. static="false" final="false" visibility="public"
  2043. deprecated="not deprecated">
  2044. <exception name="IOException" type="java.io.IOException"/>
  2045. <doc>
  2046. <![CDATA[Get status information about the max available Reduces in the cluster.
  2047. @return the max available Reduces in the cluster
  2048. @throws IOException]]>
  2049. </doc>
  2050. </method>
  2051. <method name="getSystemDir" return="org.apache.hadoop.fs.Path"
  2052. abstract="false" native="false" synchronized="false"
  2053. static="false" final="false" visibility="public"
  2054. deprecated="not deprecated">
  2055. <doc>
  2056. <![CDATA[Grab the jobtracker system directory path where job-specific files are to be placed.
  2057. @return the system directory where job-specific files are to be placed.]]>
  2058. </doc>
  2059. </method>
  2060. <method name="getRootQueues" return="org.apache.hadoop.mapred.JobQueueInfo[]"
  2061. abstract="false" native="false" synchronized="false"
  2062. static="false" final="false" visibility="public"
  2063. deprecated="not deprecated">
  2064. <exception name="IOException" type="java.io.IOException"/>
  2065. <doc>
  2066. <![CDATA[Returns an array of queue information objects about root level queues
  2067. configured
  2068. @return the array of root level JobQueueInfo objects
  2069. @throws IOException]]>
  2070. </doc>
  2071. </method>
  2072. <method name="getChildQueues" return="org.apache.hadoop.mapred.JobQueueInfo[]"
  2073. abstract="false" native="false" synchronized="false"
  2074. static="false" final="false" visibility="public"
  2075. deprecated="not deprecated">
  2076. <param name="queueName" type="java.lang.String"/>
  2077. <exception name="IOException" type="java.io.IOException"/>
  2078. <doc>
  2079. <![CDATA[Returns an array of queue information objects about immediate children
  2080. of queue queueName.
  2081. @param queueName
  2082. @return the array of immediate children JobQueueInfo objects
  2083. @throws IOException]]>
  2084. </doc>
  2085. </method>
  2086. <method name="getQueues" return="org.apache.hadoop.mapred.JobQueueInfo[]"
  2087. abstract="false" native="false" synchronized="false"
  2088. static="false" final="false" visibility="public"
  2089. deprecated="not deprecated">
  2090. <exception name="IOException" type="java.io.IOException"/>
  2091. <doc>
  2092. <![CDATA[Return an array of queue information objects about all the Job Queues
  2093. configured.
  2094. @return Array of JobQueueInfo objects
  2095. @throws IOException]]>
  2096. </doc>
  2097. </method>
  2098. <method name="getJobsFromQueue" return="org.apache.hadoop.mapred.JobStatus[]"
  2099. abstract="false" native="false" synchronized="false"
  2100. static="false" final="false" visibility="public"
  2101. deprecated="not deprecated">
  2102. <param name="queueName" type="java.lang.String"/>
  2103. <exception name="IOException" type="java.io.IOException"/>
  2104. <doc>
  2105. <![CDATA[Gets all the jobs which were added to particular Job Queue
  2106. @param queueName name of the Job Queue
  2107. @return Array of jobs present in the job queue
  2108. @throws IOException]]>
  2109. </doc>
  2110. </method>
  2111. <method name="getQueueInfo" return="org.apache.hadoop.mapred.JobQueueInfo"
  2112. abstract="false" native="false" synchronized="false"
  2113. static="false" final="false" visibility="public"
  2114. deprecated="not deprecated">
  2115. <param name="queueName" type="java.lang.String"/>
  2116. <exception name="IOException" type="java.io.IOException"/>
  2117. <doc>
  2118. <![CDATA[Gets the queue information associated to a particular Job Queue
  2119. @param queueName name of the job queue.
  2120. @return Queue information associated to particular queue.
  2121. @throws IOException]]>
  2122. </doc>
  2123. </method>
  2124. <method name="getQueueAclsForCurrentUser" return="org.apache.hadoop.mapred.QueueAclsInfo[]"
  2125. abstract="false" native="false" synchronized="false"
  2126. static="false" final="false" visibility="public"
  2127. deprecated="not deprecated">
  2128. <exception name="IOException" type="java.io.IOException"/>
  2129. <doc>
  2130. <![CDATA[Gets the Queue ACLs for current user
  2131. @return array of QueueAclsInfo object for current user.
  2132. @throws IOException]]>
  2133. </doc>
  2134. </method>
  2135. <method name="getDelegationToken" return="org.apache.hadoop.security.token.Token"
  2136. abstract="false" native="false" synchronized="false"
  2137. static="false" final="false" visibility="public"
  2138. deprecated="not deprecated">
  2139. <param name="renewer" type="org.apache.hadoop.io.Text"/>
  2140. <exception name="IOException" type="java.io.IOException"/>
  2141. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  2142. <doc>
  2143. <![CDATA[Get a delegation token for the user from the JobTracker.
  2144. @param renewer the user who can renew the token
  2145. @return the new token
  2146. @throws IOException]]>
  2147. </doc>
  2148. </method>
  2149. <method name="renewDelegationToken" return="long"
  2150. abstract="false" native="false" synchronized="false"
  2151. static="false" final="false" visibility="public"
  2152. deprecated="not deprecated">
  2153. <param name="token" type="org.apache.hadoop.security.token.Token"/>
  2154. <exception name="SecretManager.InvalidToken" type="org.apache.hadoop.security.token.SecretManager.InvalidToken"/>
  2155. <exception name="IOException" type="java.io.IOException"/>
  2156. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  2157. <doc>
  2158. <![CDATA[Renew a delegation token
  2159. @param token the token to renew
  2160. @return true if the renewal went well
  2161. @throws InvalidToken
  2162. @throws IOException]]>
  2163. </doc>
  2164. </method>
  2165. <method name="cancelDelegationToken"
  2166. abstract="false" native="false" synchronized="false"
  2167. static="false" final="false" visibility="public"
  2168. deprecated="not deprecated">
  2169. <param name="token" type="org.apache.hadoop.security.token.Token"/>
  2170. <exception name="SecretManager.InvalidToken" type="org.apache.hadoop.security.token.SecretManager.InvalidToken"/>
  2171. <exception name="IOException" type="java.io.IOException"/>
  2172. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  2173. <doc>
  2174. <![CDATA[Cancel a delegation token from the JobTracker
  2175. @param token the token to cancel
  2176. @throws IOException]]>
  2177. </doc>
  2178. </method>
  2179. <method name="main"
  2180. abstract="false" native="false" synchronized="false"
  2181. static="true" final="false" visibility="public"
  2182. deprecated="not deprecated">
  2183. <param name="argv" type="java.lang.String[]"/>
  2184. <exception name="Exception" type="java.lang.Exception"/>
  2185. </method>
  2186. <doc>
  2187. <![CDATA[<code>JobClient</code> is the primary interface for the user-job to interact
  2188. with the {@link JobTracker}.
  2189. <code>JobClient</code> provides facilities to submit jobs, track their
  2190. progress, access component-tasks' reports/logs, get the Map-Reduce cluster
  2191. status information etc.
  2192. <p>The job submission process involves:
  2193. <ol>
  2194. <li>
  2195. Checking the input and output specifications of the job.
  2196. </li>
  2197. <li>
  2198. Computing the {@link InputSplit}s for the job.
  2199. </li>
  2200. <li>
  2201. Setup the requisite accounting information for the {@link DistributedCache}
  2202. of the job, if necessary.
  2203. </li>
  2204. <li>
  2205. Copying the job's jar and configuration to the map-reduce system directory
  2206. on the distributed file-system.
  2207. </li>
  2208. <li>
  2209. Submitting the job to the <code>JobTracker</code> and optionally monitoring
  2210. it's status.
  2211. </li>
  2212. </ol></p>
  2213. Normally the user creates the application, describes various facets of the
  2214. job via {@link JobConf} and then uses the <code>JobClient</code> to submit
  2215. the job and monitor its progress.
  2216. <p>Here is an example on how to use <code>JobClient</code>:</p>
  2217. <p><blockquote><pre>
  2218. // Create a new JobConf
  2219. JobConf job = new JobConf(new Configuration(), MyJob.class);
  2220. // Specify various job-specific parameters
  2221. job.setJobName("myjob");
  2222. job.setInputPath(new Path("in"));
  2223. job.setOutputPath(new Path("out"));
  2224. job.setMapperClass(MyJob.MyMapper.class);
  2225. job.setReducerClass(MyJob.MyReducer.class);
  2226. // Submit the job, then poll for progress until the job is complete
  2227. JobClient.runJob(job);
  2228. </pre></blockquote></p>
  2229. <h4 id="JobControl">Job Control</h4>
  2230. <p>At times clients would chain map-reduce jobs to accomplish complex tasks
  2231. which cannot be done via a single map-reduce job. This is fairly easy since
  2232. the output of the job, typically, goes to distributed file-system and that
  2233. can be used as the input for the next job.</p>
  2234. <p>However, this also means that the onus on ensuring jobs are complete
  2235. (success/failure) lies squarely on the clients. In such situations the
  2236. various job-control options are:
  2237. <ol>
  2238. <li>
  2239. {@link #runJob(JobConf)} : submits the job and returns only after
  2240. the job has completed.
  2241. </li>
  2242. <li>
  2243. {@link #submitJob(JobConf)} : only submits the job, then poll the
  2244. returned handle to the {@link RunningJob} to query status and make
  2245. scheduling decisions.
  2246. </li>
  2247. <li>
  2248. {@link JobConf#setJobEndNotificationURI(String)} : setup a notification
  2249. on job-completion, thus avoiding polling.
  2250. </li>
  2251. </ol></p>
  2252. @see JobConf
  2253. @see ClusterStatus
  2254. @see Tool
  2255. @see DistributedCache]]>
  2256. </doc>
  2257. </class>
  2258. <!-- end class org.apache.hadoop.mapred.JobClient -->
  2259. <!-- start class org.apache.hadoop.mapred.JobClient.TaskStatusFilter -->
  2260. <class name="JobClient.TaskStatusFilter" extends="java.lang.Enum"
  2261. abstract="false"
  2262. static="true" final="true" visibility="public"
  2263. deprecated="not deprecated">
  2264. <method name="values" return="org.apache.hadoop.mapred.JobClient.TaskStatusFilter[]"
  2265. abstract="false" native="false" synchronized="false"
  2266. static="true" final="false" visibility="public"
  2267. deprecated="not deprecated">
  2268. </method>
  2269. <method name="valueOf" return="org.apache.hadoop.mapred.JobClient.TaskStatusFilter"
  2270. abstract="false" native="false" synchronized="false"
  2271. static="true" final="false" visibility="public"
  2272. deprecated="not deprecated">
  2273. <param name="name" type="java.lang.String"/>
  2274. </method>
  2275. </class>
  2276. <!-- end class org.apache.hadoop.mapred.JobClient.TaskStatusFilter -->
  2277. <!-- start class org.apache.hadoop.mapred.JobConf -->
  2278. <class name="JobConf" extends="org.apache.hadoop.conf.Configuration"
  2279. abstract="false"
  2280. static="false" final="false" visibility="public"
  2281. deprecated="not deprecated">
  2282. <constructor name="JobConf"
  2283. static="false" final="false" visibility="public"
  2284. deprecated="not deprecated">
  2285. <doc>
  2286. <![CDATA[Construct a map/reduce job configuration.]]>
  2287. </doc>
  2288. </constructor>
  2289. <constructor name="JobConf" type="java.lang.Class"
  2290. static="false" final="false" visibility="public"
  2291. deprecated="not deprecated">
  2292. <doc>
  2293. <![CDATA[Construct a map/reduce job configuration.
  2294. @param exampleClass a class whose containing jar is used as the job's jar.]]>
  2295. </doc>
  2296. </constructor>
  2297. <constructor name="JobConf" type="org.apache.hadoop.conf.Configuration"
  2298. static="false" final="false" visibility="public"
  2299. deprecated="not deprecated">
  2300. <doc>
  2301. <![CDATA[Construct a map/reduce job configuration.
  2302. @param conf a Configuration whose settings will be inherited.]]>
  2303. </doc>
  2304. </constructor>
  2305. <constructor name="JobConf" type="org.apache.hadoop.conf.Configuration, java.lang.Class"
  2306. static="false" final="false" visibility="public"
  2307. deprecated="not deprecated">
  2308. <doc>
  2309. <![CDATA[Construct a map/reduce job configuration.
  2310. @param conf a Configuration whose settings will be inherited.
  2311. @param exampleClass a class whose containing jar is used as the job's jar.]]>
  2312. </doc>
  2313. </constructor>
  2314. <constructor name="JobConf" type="java.lang.String"
  2315. static="false" final="false" visibility="public"
  2316. deprecated="not deprecated">
  2317. <doc>
  2318. <![CDATA[Construct a map/reduce configuration.
  2319. @param config a Configuration-format XML job description file.]]>
  2320. </doc>
  2321. </constructor>
  2322. <constructor name="JobConf" type="org.apache.hadoop.fs.Path"
  2323. static="false" final="false" visibility="public"
  2324. deprecated="not deprecated">
  2325. <doc>
  2326. <![CDATA[Construct a map/reduce configuration.
  2327. @param config a Configuration-format XML job description file.]]>
  2328. </doc>
  2329. </constructor>
  2330. <constructor name="JobConf" type="boolean"
  2331. static="false" final="false" visibility="public"
  2332. deprecated="not deprecated">
  2333. <doc>
  2334. <![CDATA[A new map/reduce configuration where the behavior of reading from the
  2335. default resources can be turned off.
  2336. <p/>
  2337. If the parameter {@code loadDefaults} is false, the new instance
  2338. will not load resources from the default files.
  2339. @param loadDefaults specifies whether to load from the default files]]>
  2340. </doc>
  2341. </constructor>
  2342. <method name="getJar" return="java.lang.String"
  2343. abstract="false" native="false" synchronized="false"
  2344. static="false" final="false" visibility="public"
  2345. deprecated="not deprecated">
  2346. <doc>
  2347. <![CDATA[Get the user jar for the map-reduce job.
  2348. @return the user jar for the map-reduce job.]]>
  2349. </doc>
  2350. </method>
  2351. <method name="setJar"
  2352. abstract="false" native="false" synchronized="false"
  2353. static="false" final="false" visibility="public"
  2354. deprecated="not deprecated">
  2355. <param name="jar" type="java.lang.String"/>
  2356. <doc>
  2357. <![CDATA[Set the user jar for the map-reduce job.
  2358. @param jar the user jar for the map-reduce job.]]>
  2359. </doc>
  2360. </method>
  2361. <method name="getJarUnpackPattern" return="java.util.regex.Pattern"
  2362. abstract="false" native="false" synchronized="false"
  2363. static="false" final="false" visibility="public"
  2364. deprecated="not deprecated">
  2365. <doc>
  2366. <![CDATA[Get the pattern for jar contents to unpack on the tasktracker]]>
  2367. </doc>
  2368. </method>
  2369. <method name="setJarByClass"
  2370. abstract="false" native="false" synchronized="false"
  2371. static="false" final="false" visibility="public"
  2372. deprecated="not deprecated">
  2373. <param name="cls" type="java.lang.Class"/>
  2374. <doc>
  2375. <![CDATA[Set the job's jar file by finding an example class location.
  2376. @param cls the example class.]]>
  2377. </doc>
  2378. </method>
  2379. <method name="getLocalDirs" return="java.lang.String[]"
  2380. abstract="false" native="false" synchronized="false"
  2381. static="false" final="false" visibility="public"
  2382. deprecated="not deprecated">
  2383. <exception name="IOException" type="java.io.IOException"/>
  2384. </method>
  2385. <method name="deleteLocalFiles"
  2386. abstract="false" native="false" synchronized="false"
  2387. static="false" final="false" visibility="public"
  2388. deprecated="not deprecated">
  2389. <exception name="IOException" type="java.io.IOException"/>
  2390. <doc>
  2391. <![CDATA[Use MRAsyncDiskService.moveAndDeleteAllVolumes instead.
  2392. @see org.apache.hadoop.mapreduce.util.MRAsyncDiskService#cleanupAllVolumes()]]>
  2393. </doc>
  2394. </method>
  2395. <method name="deleteLocalFiles"
  2396. abstract="false" native="false" synchronized="false"
  2397. static="false" final="false" visibility="public"
  2398. deprecated="not deprecated">
  2399. <param name="subdir" type="java.lang.String"/>
  2400. <exception name="IOException" type="java.io.IOException"/>
  2401. </method>
  2402. <method name="getLocalPath" return="org.apache.hadoop.fs.Path"
  2403. abstract="false" native="false" synchronized="false"
  2404. static="false" final="false" visibility="public"
  2405. deprecated="not deprecated">
  2406. <param name="pathString" type="java.lang.String"/>
  2407. <exception name="IOException" type="java.io.IOException"/>
  2408. <doc>
  2409. <![CDATA[Constructs a local file name. Files are distributed among configured
  2410. local directories.]]>
  2411. </doc>
  2412. </method>
  2413. <method name="getUser" return="java.lang.String"
  2414. abstract="false" native="false" synchronized="false"
  2415. static="false" final="false" visibility="public"
  2416. deprecated="not deprecated">
  2417. <doc>
  2418. <![CDATA[Get the reported username for this job.
  2419. @return the username]]>
  2420. </doc>
  2421. </method>
  2422. <method name="setUser"
  2423. abstract="false" native="false" synchronized="false"
  2424. static="false" final="false" visibility="public"
  2425. deprecated="not deprecated">
  2426. <param name="user" type="java.lang.String"/>
  2427. <doc>
  2428. <![CDATA[Set the reported username for this job.
  2429. @param user the username for this job.]]>
  2430. </doc>
  2431. </method>
  2432. <method name="setKeepFailedTaskFiles"
  2433. abstract="false" native="false" synchronized="false"
  2434. static="false" final="false" visibility="public"
  2435. deprecated="not deprecated">
  2436. <param name="keep" type="boolean"/>
  2437. <doc>
  2438. <![CDATA[Set whether the framework should keep the intermediate files for
  2439. failed tasks.
  2440. @param keep <code>true</code> if framework should keep the intermediate files
  2441. for failed tasks, <code>false</code> otherwise.]]>
  2442. </doc>
  2443. </method>
  2444. <method name="getKeepFailedTaskFiles" return="boolean"
  2445. abstract="false" native="false" synchronized="false"
  2446. static="false" final="false" visibility="public"
  2447. deprecated="not deprecated">
  2448. <doc>
  2449. <![CDATA[Should the temporary files for failed tasks be kept?
  2450. @return should the files be kept?]]>
  2451. </doc>
  2452. </method>
  2453. <method name="setKeepTaskFilesPattern"
  2454. abstract="false" native="false" synchronized="false"
  2455. static="false" final="false" visibility="public"
  2456. deprecated="not deprecated">
  2457. <param name="pattern" type="java.lang.String"/>
  2458. <doc>
  2459. <![CDATA[Set a regular expression for task names that should be kept.
  2460. The regular expression ".*_m_000123_0" would keep the files
  2461. for the first instance of map 123 that ran.
  2462. @param pattern the java.util.regex.Pattern to match against the
  2463. task names.]]>
  2464. </doc>
  2465. </method>
  2466. <method name="getKeepTaskFilesPattern" return="java.lang.String"
  2467. abstract="false" native="false" synchronized="false"
  2468. static="false" final="false" visibility="public"
  2469. deprecated="not deprecated">
  2470. <doc>
  2471. <![CDATA[Get the regular expression that is matched against the task names
  2472. to see if we need to keep the files.
  2473. @return the pattern as a string, if it was set, othewise null.]]>
  2474. </doc>
  2475. </method>
  2476. <method name="setWorkingDirectory"
  2477. abstract="false" native="false" synchronized="false"
  2478. static="false" final="false" visibility="public"
  2479. deprecated="not deprecated">
  2480. <param name="dir" type="org.apache.hadoop.fs.Path"/>
  2481. <doc>
  2482. <![CDATA[Set the current working directory for the default file system.
  2483. @param dir the new current working directory.]]>
  2484. </doc>
  2485. </method>
  2486. <method name="getWorkingDirectory" return="org.apache.hadoop.fs.Path"
  2487. abstract="false" native="false" synchronized="false"
  2488. static="false" final="false" visibility="public"
  2489. deprecated="not deprecated">
  2490. <doc>
  2491. <![CDATA[Get the current working directory for the default file system.
  2492. @return the directory name.]]>
  2493. </doc>
  2494. </method>
  2495. <method name="setNumTasksToExecutePerJvm"
  2496. abstract="false" native="false" synchronized="false"
  2497. static="false" final="false" visibility="public"
  2498. deprecated="not deprecated">
  2499. <param name="numTasks" type="int"/>
  2500. <doc>
  2501. <![CDATA[Sets the number of tasks that a spawned task JVM should run
  2502. before it exits
  2503. @param numTasks the number of tasks to execute; defaults to 1;
  2504. -1 signifies no limit]]>
  2505. </doc>
  2506. </method>
  2507. <method name="getNumTasksToExecutePerJvm" return="int"
  2508. abstract="false" native="false" synchronized="false"
  2509. static="false" final="false" visibility="public"
  2510. deprecated="not deprecated">
  2511. <doc>
  2512. <![CDATA[Get the number of tasks that a spawned JVM should execute]]>
  2513. </doc>
  2514. </method>
  2515. <method name="getInputFormat" return="org.apache.hadoop.mapred.InputFormat"
  2516. abstract="false" native="false" synchronized="false"
  2517. static="false" final="false" visibility="public"
  2518. deprecated="not deprecated">
  2519. <doc>
  2520. <![CDATA[Get the {@link InputFormat} implementation for the map-reduce job,
  2521. defaults to {@link TextInputFormat} if not specified explicity.
  2522. @return the {@link InputFormat} implementation for the map-reduce job.]]>
  2523. </doc>
  2524. </method>
  2525. <method name="setInputFormat"
  2526. abstract="false" native="false" synchronized="false"
  2527. static="false" final="false" visibility="public"
  2528. deprecated="not deprecated">
  2529. <param name="theClass" type="java.lang.Class"/>
  2530. <doc>
  2531. <![CDATA[Set the {@link InputFormat} implementation for the map-reduce job.
  2532. @param theClass the {@link InputFormat} implementation for the map-reduce
  2533. job.]]>
  2534. </doc>
  2535. </method>
  2536. <method name="getOutputFormat" return="org.apache.hadoop.mapred.OutputFormat"
  2537. abstract="false" native="false" synchronized="false"
  2538. static="false" final="false" visibility="public"
  2539. deprecated="not deprecated">
  2540. <doc>
  2541. <![CDATA[Get the {@link OutputFormat} implementation for the map-reduce job,
  2542. defaults to {@link TextOutputFormat} if not specified explicity.
  2543. @return the {@link OutputFormat} implementation for the map-reduce job.]]>
  2544. </doc>
  2545. </method>
  2546. <method name="getOutputCommitter" return="org.apache.hadoop.mapred.OutputCommitter"
  2547. abstract="false" native="false" synchronized="false"
  2548. static="false" final="false" visibility="public"
  2549. deprecated="not deprecated">
  2550. <doc>
  2551. <![CDATA[Get the {@link OutputCommitter} implementation for the map-reduce job,
  2552. defaults to {@link FileOutputCommitter} if not specified explicitly.
  2553. @return the {@link OutputCommitter} implementation for the map-reduce job.]]>
  2554. </doc>
  2555. </method>
  2556. <method name="setOutputCommitter"
  2557. abstract="false" native="false" synchronized="false"
  2558. static="false" final="false" visibility="public"
  2559. deprecated="not deprecated">
  2560. <param name="theClass" type="java.lang.Class"/>
  2561. <doc>
  2562. <![CDATA[Set the {@link OutputCommitter} implementation for the map-reduce job.
  2563. @param theClass the {@link OutputCommitter} implementation for the map-reduce
  2564. job.]]>
  2565. </doc>
  2566. </method>
  2567. <method name="setOutputFormat"
  2568. abstract="false" native="false" synchronized="false"
  2569. static="false" final="false" visibility="public"
  2570. deprecated="not deprecated">
  2571. <param name="theClass" type="java.lang.Class"/>
  2572. <doc>
  2573. <![CDATA[Set the {@link OutputFormat} implementation for the map-reduce job.
  2574. @param theClass the {@link OutputFormat} implementation for the map-reduce
  2575. job.]]>
  2576. </doc>
  2577. </method>
  2578. <method name="setCompressMapOutput"
  2579. abstract="false" native="false" synchronized="false"
  2580. static="false" final="false" visibility="public"
  2581. deprecated="not deprecated">
  2582. <param name="compress" type="boolean"/>
  2583. <doc>
  2584. <![CDATA[Should the map outputs be compressed before transfer?
  2585. Uses the SequenceFile compression.
  2586. @param compress should the map outputs be compressed?]]>
  2587. </doc>
  2588. </method>
  2589. <method name="getCompressMapOutput" return="boolean"
  2590. abstract="false" native="false" synchronized="false"
  2591. static="false" final="false" visibility="public"
  2592. deprecated="not deprecated">
  2593. <doc>
  2594. <![CDATA[Are the outputs of the maps be compressed?
  2595. @return <code>true</code> if the outputs of the maps are to be compressed,
  2596. <code>false</code> otherwise.]]>
  2597. </doc>
  2598. </method>
  2599. <method name="setMapOutputCompressorClass"
  2600. abstract="false" native="false" synchronized="false"
  2601. static="false" final="false" visibility="public"
  2602. deprecated="not deprecated">
  2603. <param name="codecClass" type="java.lang.Class"/>
  2604. <doc>
  2605. <![CDATA[Set the given class as the {@link CompressionCodec} for the map outputs.
  2606. @param codecClass the {@link CompressionCodec} class that will compress
  2607. the map outputs.]]>
  2608. </doc>
  2609. </method>
  2610. <method name="getMapOutputCompressorClass" return="java.lang.Class"
  2611. abstract="false" native="false" synchronized="false"
  2612. static="false" final="false" visibility="public"
  2613. deprecated="not deprecated">
  2614. <param name="defaultValue" type="java.lang.Class"/>
  2615. <doc>
  2616. <![CDATA[Get the {@link CompressionCodec} for compressing the map outputs.
  2617. @param defaultValue the {@link CompressionCodec} to return if not set
  2618. @return the {@link CompressionCodec} class that should be used to compress the
  2619. map outputs.
  2620. @throws IllegalArgumentException if the class was specified, but not found]]>
  2621. </doc>
  2622. </method>
  2623. <method name="getMapOutputKeyClass" return="java.lang.Class"
  2624. abstract="false" native="false" synchronized="false"
  2625. static="false" final="false" visibility="public"
  2626. deprecated="not deprecated">
  2627. <doc>
  2628. <![CDATA[Get the key class for the map output data. If it is not set, use the
  2629. (final) output key class. This allows the map output key class to be
  2630. different than the final output key class.
  2631. @return the map output key class.]]>
  2632. </doc>
  2633. </method>
  2634. <method name="setMapOutputKeyClass"
  2635. abstract="false" native="false" synchronized="false"
  2636. static="false" final="false" visibility="public"
  2637. deprecated="not deprecated">
  2638. <param name="theClass" type="java.lang.Class"/>
  2639. <doc>
  2640. <![CDATA[Set the key class for the map output data. This allows the user to
  2641. specify the map output key class to be different than the final output
  2642. value class.
  2643. @param theClass the map output key class.]]>
  2644. </doc>
  2645. </method>
  2646. <method name="getMapOutputValueClass" return="java.lang.Class"
  2647. abstract="false" native="false" synchronized="false"
  2648. static="false" final="false" visibility="public"
  2649. deprecated="not deprecated">
  2650. <doc>
  2651. <![CDATA[Get the value class for the map output data. If it is not set, use the
  2652. (final) output value class This allows the map output value class to be
  2653. different than the final output value class.
  2654. @return the map output value class.]]>
  2655. </doc>
  2656. </method>
  2657. <method name="setMapOutputValueClass"
  2658. abstract="false" native="false" synchronized="false"
  2659. static="false" final="false" visibility="public"
  2660. deprecated="not deprecated">
  2661. <param name="theClass" type="java.lang.Class"/>
  2662. <doc>
  2663. <![CDATA[Set the value class for the map output data. This allows the user to
  2664. specify the map output value class to be different than the final output
  2665. value class.
  2666. @param theClass the map output value class.]]>
  2667. </doc>
  2668. </method>
  2669. <method name="getOutputKeyClass" return="java.lang.Class"
  2670. abstract="false" native="false" synchronized="false"
  2671. static="false" final="false" visibility="public"
  2672. deprecated="not deprecated">
  2673. <doc>
  2674. <![CDATA[Get the key class for the job output data.
  2675. @return the key class for the job output data.]]>
  2676. </doc>
  2677. </method>
  2678. <method name="setOutputKeyClass"
  2679. abstract="false" native="false" synchronized="false"
  2680. static="false" final="false" visibility="public"
  2681. deprecated="not deprecated">
  2682. <param name="theClass" type="java.lang.Class"/>
  2683. <doc>
  2684. <![CDATA[Set the key class for the job output data.
  2685. @param theClass the key class for the job output data.]]>
  2686. </doc>
  2687. </method>
  2688. <method name="getOutputKeyComparator" return="org.apache.hadoop.io.RawComparator"
  2689. abstract="false" native="false" synchronized="false"
  2690. static="false" final="false" visibility="public"
  2691. deprecated="not deprecated">
  2692. <doc>
  2693. <![CDATA[Get the {@link RawComparator} comparator used to compare keys.
  2694. @return the {@link RawComparator} comparator used to compare keys.]]>
  2695. </doc>
  2696. </method>
  2697. <method name="setOutputKeyComparatorClass"
  2698. abstract="false" native="false" synchronized="false"
  2699. static="false" final="false" visibility="public"
  2700. deprecated="not deprecated">
  2701. <param name="theClass" type="java.lang.Class"/>
  2702. <doc>
  2703. <![CDATA[Set the {@link RawComparator} comparator used to compare keys.
  2704. @param theClass the {@link RawComparator} comparator used to
  2705. compare keys.
  2706. @see #setOutputValueGroupingComparator(Class)]]>
  2707. </doc>
  2708. </method>
  2709. <method name="setKeyFieldComparatorOptions"
  2710. abstract="false" native="false" synchronized="false"
  2711. static="false" final="false" visibility="public"
  2712. deprecated="not deprecated">
  2713. <param name="keySpec" type="java.lang.String"/>
  2714. <doc>
  2715. <![CDATA[Set the {@link KeyFieldBasedComparator} options used to compare keys.
  2716. @param keySpec the key specification of the form -k pos1[,pos2], where,
  2717. pos is of the form f[.c][opts], where f is the number
  2718. of the key field to use, and c is the number of the first character from
  2719. the beginning of the field. Fields and character posns are numbered
  2720. starting with 1; a character position of zero in pos2 indicates the
  2721. field's last character. If '.c' is omitted from pos1, it defaults to 1
  2722. (the beginning of the field); if omitted from pos2, it defaults to 0
  2723. (the end of the field). opts are ordering options. The supported options
  2724. are:
  2725. -n, (Sort numerically)
  2726. -r, (Reverse the result of comparison)]]>
  2727. </doc>
  2728. </method>
  2729. <method name="getKeyFieldComparatorOption" return="java.lang.String"
  2730. abstract="false" native="false" synchronized="false"
  2731. static="false" final="false" visibility="public"
  2732. deprecated="not deprecated">
  2733. <doc>
  2734. <![CDATA[Get the {@link KeyFieldBasedComparator} options]]>
  2735. </doc>
  2736. </method>
  2737. <method name="setKeyFieldPartitionerOptions"
  2738. abstract="false" native="false" synchronized="false"
  2739. static="false" final="false" visibility="public"
  2740. deprecated="not deprecated">
  2741. <param name="keySpec" type="java.lang.String"/>
  2742. <doc>
  2743. <![CDATA[Set the {@link KeyFieldBasedPartitioner} options used for
  2744. {@link Partitioner}
  2745. @param keySpec the key specification of the form -k pos1[,pos2], where,
  2746. pos is of the form f[.c][opts], where f is the number
  2747. of the key field to use, and c is the number of the first character from
  2748. the beginning of the field. Fields and character posns are numbered
  2749. starting with 1; a character position of zero in pos2 indicates the
  2750. field's last character. If '.c' is omitted from pos1, it defaults to 1
  2751. (the beginning of the field); if omitted from pos2, it defaults to 0
  2752. (the end of the field).]]>
  2753. </doc>
  2754. </method>
  2755. <method name="getKeyFieldPartitionerOption" return="java.lang.String"
  2756. abstract="false" native="false" synchronized="false"
  2757. static="false" final="false" visibility="public"
  2758. deprecated="not deprecated">
  2759. <doc>
  2760. <![CDATA[Get the {@link KeyFieldBasedPartitioner} options]]>
  2761. </doc>
  2762. </method>
  2763. <method name="getOutputValueGroupingComparator" return="org.apache.hadoop.io.RawComparator"
  2764. abstract="false" native="false" synchronized="false"
  2765. static="false" final="false" visibility="public"
  2766. deprecated="not deprecated">
  2767. <doc>
  2768. <![CDATA[Get the user defined {@link WritableComparable} comparator for
  2769. grouping keys of inputs to the reduce.
  2770. @return comparator set by the user for grouping values.
  2771. @see #setOutputValueGroupingComparator(Class) for details.]]>
  2772. </doc>
  2773. </method>
  2774. <method name="setOutputValueGroupingComparator"
  2775. abstract="false" native="false" synchronized="false"
  2776. static="false" final="false" visibility="public"
  2777. deprecated="not deprecated">
  2778. <param name="theClass" type="java.lang.Class"/>
  2779. <doc>
  2780. <![CDATA[Set the user defined {@link RawComparator} comparator for
  2781. grouping keys in the input to the reduce.
  2782. <p>This comparator should be provided if the equivalence rules for keys
  2783. for sorting the intermediates are different from those for grouping keys
  2784. before each call to
  2785. {@link Reducer#reduce(Object, java.util.Iterator, OutputCollector, Reporter)}.</p>
  2786. <p>For key-value pairs (K1,V1) and (K2,V2), the values (V1, V2) are passed
  2787. in a single call to the reduce function if K1 and K2 compare as equal.</p>
  2788. <p>Since {@link #setOutputKeyComparatorClass(Class)} can be used to control
  2789. how keys are sorted, this can be used in conjunction to simulate
  2790. <i>secondary sort on values</i>.</p>
  2791. <p><i>Note</i>: This is not a guarantee of the reduce sort being
  2792. <i>stable</i> in any sense. (In any case, with the order of available
  2793. map-outputs to the reduce being non-deterministic, it wouldn't make
  2794. that much sense.)</p>
  2795. @param theClass the comparator class to be used for grouping keys.
  2796. It should implement <code>RawComparator</code>.
  2797. @see #setOutputKeyComparatorClass(Class)]]>
  2798. </doc>
  2799. </method>
  2800. <method name="getUseNewMapper" return="boolean"
  2801. abstract="false" native="false" synchronized="false"
  2802. static="false" final="false" visibility="public"
  2803. deprecated="not deprecated">
  2804. <doc>
  2805. <![CDATA[Should the framework use the new context-object code for running
  2806. the mapper?
  2807. @return true, if the new api should be used]]>
  2808. </doc>
  2809. </method>
  2810. <method name="setUseNewMapper"
  2811. abstract="false" native="false" synchronized="false"
  2812. static="false" final="false" visibility="public"
  2813. deprecated="not deprecated">
  2814. <param name="flag" type="boolean"/>
  2815. <doc>
  2816. <![CDATA[Set whether the framework should use the new api for the mapper.
  2817. This is the default for jobs submitted with the new Job api.
  2818. @param flag true, if the new api should be used]]>
  2819. </doc>
  2820. </method>
  2821. <method name="getUseNewReducer" return="boolean"
  2822. abstract="false" native="false" synchronized="false"
  2823. static="false" final="false" visibility="public"
  2824. deprecated="not deprecated">
  2825. <doc>
  2826. <![CDATA[Should the framework use the new context-object code for running
  2827. the reducer?
  2828. @return true, if the new api should be used]]>
  2829. </doc>
  2830. </method>
  2831. <method name="setUseNewReducer"
  2832. abstract="false" native="false" synchronized="false"
  2833. static="false" final="false" visibility="public"
  2834. deprecated="not deprecated">
  2835. <param name="flag" type="boolean"/>
  2836. <doc>
  2837. <![CDATA[Set whether the framework should use the new api for the reducer.
  2838. This is the default for jobs submitted with the new Job api.
  2839. @param flag true, if the new api should be used]]>
  2840. </doc>
  2841. </method>
  2842. <method name="getOutputValueClass" return="java.lang.Class"
  2843. abstract="false" native="false" synchronized="false"
  2844. static="false" final="false" visibility="public"
  2845. deprecated="not deprecated">
  2846. <doc>
  2847. <![CDATA[Get the value class for job outputs.
  2848. @return the value class for job outputs.]]>
  2849. </doc>
  2850. </method>
  2851. <method name="setOutputValueClass"
  2852. abstract="false" native="false" synchronized="false"
  2853. static="false" final="false" visibility="public"
  2854. deprecated="not deprecated">
  2855. <param name="theClass" type="java.lang.Class"/>
  2856. <doc>
  2857. <![CDATA[Set the value class for job outputs.
  2858. @param theClass the value class for job outputs.]]>
  2859. </doc>
  2860. </method>
  2861. <method name="getMapperClass" return="java.lang.Class"
  2862. abstract="false" native="false" synchronized="false"
  2863. static="false" final="false" visibility="public"
  2864. deprecated="not deprecated">
  2865. <doc>
  2866. <![CDATA[Get the {@link Mapper} class for the job.
  2867. @return the {@link Mapper} class for the job.]]>
  2868. </doc>
  2869. </method>
  2870. <method name="setMapperClass"
  2871. abstract="false" native="false" synchronized="false"
  2872. static="false" final="false" visibility="public"
  2873. deprecated="not deprecated">
  2874. <param name="theClass" type="java.lang.Class"/>
  2875. <doc>
  2876. <![CDATA[Set the {@link Mapper} class for the job.
  2877. @param theClass the {@link Mapper} class for the job.]]>
  2878. </doc>
  2879. </method>
  2880. <method name="getMapRunnerClass" return="java.lang.Class"
  2881. abstract="false" native="false" synchronized="false"
  2882. static="false" final="false" visibility="public"
  2883. deprecated="not deprecated">
  2884. <doc>
  2885. <![CDATA[Get the {@link MapRunnable} class for the job.
  2886. @return the {@link MapRunnable} class for the job.]]>
  2887. </doc>
  2888. </method>
  2889. <method name="setMapRunnerClass"
  2890. abstract="false" native="false" synchronized="false"
  2891. static="false" final="false" visibility="public"
  2892. deprecated="not deprecated">
  2893. <param name="theClass" type="java.lang.Class"/>
  2894. <doc>
  2895. <![CDATA[Expert: Set the {@link MapRunnable} class for the job.
  2896. Typically used to exert greater control on {@link Mapper}s.
  2897. @param theClass the {@link MapRunnable} class for the job.]]>
  2898. </doc>
  2899. </method>
  2900. <method name="getPartitionerClass" return="java.lang.Class"
  2901. abstract="false" native="false" synchronized="false"
  2902. static="false" final="false" visibility="public"
  2903. deprecated="not deprecated">
  2904. <doc>
  2905. <![CDATA[Get the {@link Partitioner} used to partition {@link Mapper}-outputs
  2906. to be sent to the {@link Reducer}s.
  2907. @return the {@link Partitioner} used to partition map-outputs.]]>
  2908. </doc>
  2909. </method>
  2910. <method name="setPartitionerClass"
  2911. abstract="false" native="false" synchronized="false"
  2912. static="false" final="false" visibility="public"
  2913. deprecated="not deprecated">
  2914. <param name="theClass" type="java.lang.Class"/>
  2915. <doc>
  2916. <![CDATA[Set the {@link Partitioner} class used to partition
  2917. {@link Mapper}-outputs to be sent to the {@link Reducer}s.
  2918. @param theClass the {@link Partitioner} used to partition map-outputs.]]>
  2919. </doc>
  2920. </method>
  2921. <method name="getReducerClass" return="java.lang.Class"
  2922. abstract="false" native="false" synchronized="false"
  2923. static="false" final="false" visibility="public"
  2924. deprecated="not deprecated">
  2925. <doc>
  2926. <![CDATA[Get the {@link Reducer} class for the job.
  2927. @return the {@link Reducer} class for the job.]]>
  2928. </doc>
  2929. </method>
  2930. <method name="setReducerClass"
  2931. abstract="false" native="false" synchronized="false"
  2932. static="false" final="false" visibility="public"
  2933. deprecated="not deprecated">
  2934. <param name="theClass" type="java.lang.Class"/>
  2935. <doc>
  2936. <![CDATA[Set the {@link Reducer} class for the job.
  2937. @param theClass the {@link Reducer} class for the job.]]>
  2938. </doc>
  2939. </method>
  2940. <method name="getCombinerClass" return="java.lang.Class"
  2941. abstract="false" native="false" synchronized="false"
  2942. static="false" final="false" visibility="public"
  2943. deprecated="not deprecated">
  2944. <doc>
  2945. <![CDATA[Get the user-defined <i>combiner</i> class used to combine map-outputs
  2946. before being sent to the reducers. Typically the combiner is same as the
  2947. the {@link Reducer} for the job i.e. {@link #getReducerClass()}.
  2948. @return the user-defined combiner class used to combine map-outputs.]]>
  2949. </doc>
  2950. </method>
  2951. <method name="setCombinerClass"
  2952. abstract="false" native="false" synchronized="false"
  2953. static="false" final="false" visibility="public"
  2954. deprecated="not deprecated">
  2955. <param name="theClass" type="java.lang.Class"/>
  2956. <doc>
  2957. <![CDATA[Set the user-defined <i>combiner</i> class used to combine map-outputs
  2958. before being sent to the reducers.
  2959. <p>The combiner is an application-specified aggregation operation, which
  2960. can help cut down the amount of data transferred between the
  2961. {@link Mapper} and the {@link Reducer}, leading to better performance.</p>
  2962. <p>The framework may invoke the combiner 0, 1, or multiple times, in both
  2963. the mapper and reducer tasks. In general, the combiner is called as the
  2964. sort/merge result is written to disk. The combiner must:
  2965. <ul>
  2966. <li> be side-effect free</li>
  2967. <li> have the same input and output key types and the same input and
  2968. output value types</li>
  2969. </ul></p>
  2970. <p>Typically the combiner is same as the <code>Reducer</code> for the
  2971. job i.e. {@link #setReducerClass(Class)}.</p>
  2972. @param theClass the user-defined combiner class used to combine
  2973. map-outputs.]]>
  2974. </doc>
  2975. </method>
  2976. <method name="getSpeculativeExecution" return="boolean"
  2977. abstract="false" native="false" synchronized="false"
  2978. static="false" final="false" visibility="public"
  2979. deprecated="not deprecated">
  2980. <doc>
  2981. <![CDATA[Should speculative execution be used for this job?
  2982. Defaults to <code>true</code>.
  2983. @return <code>true</code> if speculative execution be used for this job,
  2984. <code>false</code> otherwise.]]>
  2985. </doc>
  2986. </method>
  2987. <method name="setSpeculativeExecution"
  2988. abstract="false" native="false" synchronized="false"
  2989. static="false" final="false" visibility="public"
  2990. deprecated="not deprecated">
  2991. <param name="speculativeExecution" type="boolean"/>
  2992. <doc>
  2993. <![CDATA[Turn speculative execution on or off for this job.
  2994. @param speculativeExecution <code>true</code> if speculative execution
  2995. should be turned on, else <code>false</code>.]]>
  2996. </doc>
  2997. </method>
  2998. <method name="getMapSpeculativeExecution" return="boolean"
  2999. abstract="false" native="false" synchronized="false"
  3000. static="false" final="false" visibility="public"
  3001. deprecated="not deprecated">
  3002. <doc>
  3003. <![CDATA[Should speculative execution be used for this job for map tasks?
  3004. Defaults to <code>true</code>.
  3005. @return <code>true</code> if speculative execution be
  3006. used for this job for map tasks,
  3007. <code>false</code> otherwise.]]>
  3008. </doc>
  3009. </method>
  3010. <method name="setMapSpeculativeExecution"
  3011. abstract="false" native="false" synchronized="false"
  3012. static="false" final="false" visibility="public"
  3013. deprecated="not deprecated">
  3014. <param name="speculativeExecution" type="boolean"/>
  3015. <doc>
  3016. <![CDATA[Turn speculative execution on or off for this job for map tasks.
  3017. @param speculativeExecution <code>true</code> if speculative execution
  3018. should be turned on for map tasks,
  3019. else <code>false</code>.]]>
  3020. </doc>
  3021. </method>
  3022. <method name="getReduceSpeculativeExecution" return="boolean"
  3023. abstract="false" native="false" synchronized="false"
  3024. static="false" final="false" visibility="public"
  3025. deprecated="not deprecated">
  3026. <doc>
  3027. <![CDATA[Should speculative execution be used for this job for reduce tasks?
  3028. Defaults to <code>true</code>.
  3029. @return <code>true</code> if speculative execution be used
  3030. for reduce tasks for this job,
  3031. <code>false</code> otherwise.]]>
  3032. </doc>
  3033. </method>
  3034. <method name="setReduceSpeculativeExecution"
  3035. abstract="false" native="false" synchronized="false"
  3036. static="false" final="false" visibility="public"
  3037. deprecated="not deprecated">
  3038. <param name="speculativeExecution" type="boolean"/>
  3039. <doc>
  3040. <![CDATA[Turn speculative execution on or off for this job for reduce tasks.
  3041. @param speculativeExecution <code>true</code> if speculative execution
  3042. should be turned on for reduce tasks,
  3043. else <code>false</code>.]]>
  3044. </doc>
  3045. </method>
  3046. <method name="getNumMapTasks" return="int"
  3047. abstract="false" native="false" synchronized="false"
  3048. static="false" final="false" visibility="public"
  3049. deprecated="not deprecated">
  3050. <doc>
  3051. <![CDATA[Get configured the number of reduce tasks for this job.
  3052. Defaults to <code>1</code>.
  3053. @return the number of reduce tasks for this job.]]>
  3054. </doc>
  3055. </method>
  3056. <method name="setNumMapTasks"
  3057. abstract="false" native="false" synchronized="false"
  3058. static="false" final="false" visibility="public"
  3059. deprecated="not deprecated">
  3060. <param name="n" type="int"/>
  3061. <doc>
  3062. <![CDATA[Set the number of map tasks for this job.
  3063. <p><i>Note</i>: This is only a <i>hint</i> to the framework. The actual
  3064. number of spawned map tasks depends on the number of {@link InputSplit}s
  3065. generated by the job's {@link InputFormat#getSplits(JobConf, int)}.
  3066. A custom {@link InputFormat} is typically used to accurately control
  3067. the number of map tasks for the job.</p>
  3068. <h4 id="NoOfMaps">How many maps?</h4>
  3069. <p>The number of maps is usually driven by the total size of the inputs
  3070. i.e. total number of blocks of the input files.</p>
  3071. <p>The right level of parallelism for maps seems to be around 10-100 maps
  3072. per-node, although it has been set up to 300 or so for very cpu-light map
  3073. tasks. Task setup takes awhile, so it is best if the maps take at least a
  3074. minute to execute.</p>
  3075. <p>The default behavior of file-based {@link InputFormat}s is to split the
  3076. input into <i>logical</i> {@link InputSplit}s based on the total size, in
  3077. bytes, of input files. However, the {@link FileSystem} blocksize of the
  3078. input files is treated as an upper bound for input splits. A lower bound
  3079. on the split size can be set via
  3080. <a href="{@docRoot}/../mapred-default.html#mapreduce.input.fileinputformat.split.minsize">
  3081. mapreduce.input.fileinputformat.split.minsize</a>.</p>
  3082. <p>Thus, if you expect 10TB of input data and have a blocksize of 128MB,
  3083. you'll end up with 82,000 maps, unless {@link #setNumMapTasks(int)} is
  3084. used to set it even higher.</p>
  3085. @param n the number of map tasks for this job.
  3086. @see InputFormat#getSplits(JobConf, int)
  3087. @see FileInputFormat
  3088. @see FileSystem#getDefaultBlockSize()
  3089. @see FileStatus#getBlockSize()]]>
  3090. </doc>
  3091. </method>
  3092. <method name="getNumReduceTasks" return="int"
  3093. abstract="false" native="false" synchronized="false"
  3094. static="false" final="false" visibility="public"
  3095. deprecated="not deprecated">
  3096. <doc>
  3097. <![CDATA[Get configured the number of reduce tasks for this job. Defaults to
  3098. <code>1</code>.
  3099. @return the number of reduce tasks for this job.]]>
  3100. </doc>
  3101. </method>
  3102. <method name="setNumReduceTasks"
  3103. abstract="false" native="false" synchronized="false"
  3104. static="false" final="false" visibility="public"
  3105. deprecated="not deprecated">
  3106. <param name="n" type="int"/>
  3107. <doc>
  3108. <![CDATA[Set the requisite number of reduce tasks for this job.
  3109. <h4 id="NoOfReduces">How many reduces?</h4>
  3110. <p>The right number of reduces seems to be <code>0.95</code> or
  3111. <code>1.75</code> multiplied by (&lt;<i>no. of nodes</i>&gt; *
  3112. <a href="{@docRoot}/../mapred-default.html#mapreduce.tasktracker.reduce.tasks.maximum">
  3113. mapreduce.tasktracker.reduce.tasks.maximum</a>).
  3114. </p>
  3115. <p>With <code>0.95</code> all of the reduces can launch immediately and
  3116. start transfering map outputs as the maps finish. With <code>1.75</code>
  3117. the faster nodes will finish their first round of reduces and launch a
  3118. second wave of reduces doing a much better job of load balancing.</p>
  3119. <p>Increasing the number of reduces increases the framework overhead, but
  3120. increases load balancing and lowers the cost of failures.</p>
  3121. <p>The scaling factors above are slightly less than whole numbers to
  3122. reserve a few reduce slots in the framework for speculative-tasks, failures
  3123. etc.</p>
  3124. <h4 id="ReducerNone">Reducer NONE</h4>
  3125. <p>It is legal to set the number of reduce-tasks to <code>zero</code>.</p>
  3126. <p>In this case the output of the map-tasks directly go to distributed
  3127. file-system, to the path set by
  3128. {@link FileOutputFormat#setOutputPath(JobConf, Path)}. Also, the
  3129. framework doesn't sort the map-outputs before writing it out to HDFS.</p>
  3130. @param n the number of reduce tasks for this job.]]>
  3131. </doc>
  3132. </method>
  3133. <method name="getMaxMapAttempts" return="int"
  3134. abstract="false" native="false" synchronized="false"
  3135. static="false" final="false" visibility="public"
  3136. deprecated="not deprecated">
  3137. <doc>
  3138. <![CDATA[Get the configured number of maximum attempts that will be made to run a
  3139. map task, as specified by the <code>mapreduce.map.maxattempts</code>
  3140. property. If this property is not already set, the default is 4 attempts.
  3141. @return the max number of attempts per map task.]]>
  3142. </doc>
  3143. </method>
  3144. <method name="setMaxMapAttempts"
  3145. abstract="false" native="false" synchronized="false"
  3146. static="false" final="false" visibility="public"
  3147. deprecated="not deprecated">
  3148. <param name="n" type="int"/>
  3149. <doc>
  3150. <![CDATA[Expert: Set the number of maximum attempts that will be made to run a
  3151. map task.
  3152. @param n the number of attempts per map task.]]>
  3153. </doc>
  3154. </method>
  3155. <method name="getMaxReduceAttempts" return="int"
  3156. abstract="false" native="false" synchronized="false"
  3157. static="false" final="false" visibility="public"
  3158. deprecated="not deprecated">
  3159. <doc>
  3160. <![CDATA[Get the configured number of maximum attempts that will be made to run a
  3161. reduce task, as specified by the <code>mapreduce.reduce.maxattempts</code>
  3162. property. If this property is not already set, the default is 4 attempts.
  3163. @return the max number of attempts per reduce task.]]>
  3164. </doc>
  3165. </method>
  3166. <method name="setMaxReduceAttempts"
  3167. abstract="false" native="false" synchronized="false"
  3168. static="false" final="false" visibility="public"
  3169. deprecated="not deprecated">
  3170. <param name="n" type="int"/>
  3171. <doc>
  3172. <![CDATA[Expert: Set the number of maximum attempts that will be made to run a
  3173. reduce task.
  3174. @param n the number of attempts per reduce task.]]>
  3175. </doc>
  3176. </method>
  3177. <method name="getJobName" return="java.lang.String"
  3178. abstract="false" native="false" synchronized="false"
  3179. static="false" final="false" visibility="public"
  3180. deprecated="not deprecated">
  3181. <doc>
  3182. <![CDATA[Get the user-specified job name. This is only used to identify the
  3183. job to the user.
  3184. @return the job's name, defaulting to "".]]>
  3185. </doc>
  3186. </method>
  3187. <method name="setJobName"
  3188. abstract="false" native="false" synchronized="false"
  3189. static="false" final="false" visibility="public"
  3190. deprecated="not deprecated">
  3191. <param name="name" type="java.lang.String"/>
  3192. <doc>
  3193. <![CDATA[Set the user-specified job name.
  3194. @param name the job's new name.]]>
  3195. </doc>
  3196. </method>
  3197. <method name="getSessionId" return="java.lang.String"
  3198. abstract="false" native="false" synchronized="false"
  3199. static="false" final="false" visibility="public"
  3200. deprecated="not deprecated">
  3201. <doc>
  3202. <![CDATA[Get the user-specified session identifier. The default is the empty string.
  3203. The session identifier is used to tag metric data that is reported to some
  3204. performance metrics system via the org.apache.hadoop.metrics API. The
  3205. session identifier is intended, in particular, for use by Hadoop-On-Demand
  3206. (HOD) which allocates a virtual Hadoop cluster dynamically and transiently.
  3207. HOD will set the session identifier by modifying the mapred-site.xml file
  3208. before starting the cluster.
  3209. When not running under HOD, this identifer is expected to remain set to
  3210. the empty string.
  3211. @return the session identifier, defaulting to "".]]>
  3212. </doc>
  3213. </method>
  3214. <method name="setSessionId"
  3215. abstract="false" native="false" synchronized="false"
  3216. static="false" final="false" visibility="public"
  3217. deprecated="not deprecated">
  3218. <param name="sessionId" type="java.lang.String"/>
  3219. <doc>
  3220. <![CDATA[Set the user-specified session identifier.
  3221. @param sessionId the new session id.]]>
  3222. </doc>
  3223. </method>
  3224. <method name="setMaxTaskFailuresPerTracker"
  3225. abstract="false" native="false" synchronized="false"
  3226. static="false" final="false" visibility="public"
  3227. deprecated="not deprecated">
  3228. <param name="noFailures" type="int"/>
  3229. <doc>
  3230. <![CDATA[Set the maximum no. of failures of a given job per tasktracker.
  3231. If the no. of task failures exceeds <code>noFailures</code>, the
  3232. tasktracker is <i>blacklisted</i> for this job.
  3233. @param noFailures maximum no. of failures of a given job per tasktracker.]]>
  3234. </doc>
  3235. </method>
  3236. <method name="getMaxTaskFailuresPerTracker" return="int"
  3237. abstract="false" native="false" synchronized="false"
  3238. static="false" final="false" visibility="public"
  3239. deprecated="not deprecated">
  3240. <doc>
  3241. <![CDATA[Expert: Get the maximum no. of failures of a given job per tasktracker.
  3242. If the no. of task failures exceeds this, the tasktracker is
  3243. <i>blacklisted</i> for this job.
  3244. @return the maximum no. of failures of a given job per tasktracker.]]>
  3245. </doc>
  3246. </method>
  3247. <method name="getMaxMapTaskFailuresPercent" return="int"
  3248. abstract="false" native="false" synchronized="false"
  3249. static="false" final="false" visibility="public"
  3250. deprecated="not deprecated">
  3251. <doc>
  3252. <![CDATA[Get the maximum percentage of map tasks that can fail without
  3253. the job being aborted.
  3254. Each map task is executed a minimum of {@link #getMaxMapAttempts()}
  3255. attempts before being declared as <i>failed</i>.
  3256. Defaults to <code>zero</code>, i.e. <i>any</i> failed map-task results in
  3257. the job being declared as {@link JobStatus#FAILED}.
  3258. @return the maximum percentage of map tasks that can fail without
  3259. the job being aborted.]]>
  3260. </doc>
  3261. </method>
  3262. <method name="setMaxMapTaskFailuresPercent"
  3263. abstract="false" native="false" synchronized="false"
  3264. static="false" final="false" visibility="public"
  3265. deprecated="not deprecated">
  3266. <param name="percent" type="int"/>
  3267. <doc>
  3268. <![CDATA[Expert: Set the maximum percentage of map tasks that can fail without the
  3269. job being aborted.
  3270. Each map task is executed a minimum of {@link #getMaxMapAttempts} attempts
  3271. before being declared as <i>failed</i>.
  3272. @param percent the maximum percentage of map tasks that can fail without
  3273. the job being aborted.]]>
  3274. </doc>
  3275. </method>
  3276. <method name="getMaxReduceTaskFailuresPercent" return="int"
  3277. abstract="false" native="false" synchronized="false"
  3278. static="false" final="false" visibility="public"
  3279. deprecated="not deprecated">
  3280. <doc>
  3281. <![CDATA[Get the maximum percentage of reduce tasks that can fail without
  3282. the job being aborted.
  3283. Each reduce task is executed a minimum of {@link #getMaxReduceAttempts()}
  3284. attempts before being declared as <i>failed</i>.
  3285. Defaults to <code>zero</code>, i.e. <i>any</i> failed reduce-task results
  3286. in the job being declared as {@link JobStatus#FAILED}.
  3287. @return the maximum percentage of reduce tasks that can fail without
  3288. the job being aborted.]]>
  3289. </doc>
  3290. </method>
  3291. <method name="setMaxReduceTaskFailuresPercent"
  3292. abstract="false" native="false" synchronized="false"
  3293. static="false" final="false" visibility="public"
  3294. deprecated="not deprecated">
  3295. <param name="percent" type="int"/>
  3296. <doc>
  3297. <![CDATA[Set the maximum percentage of reduce tasks that can fail without the job
  3298. being aborted.
  3299. Each reduce task is executed a minimum of {@link #getMaxReduceAttempts()}
  3300. attempts before being declared as <i>failed</i>.
  3301. @param percent the maximum percentage of reduce tasks that can fail without
  3302. the job being aborted.]]>
  3303. </doc>
  3304. </method>
  3305. <method name="setJobPriority"
  3306. abstract="false" native="false" synchronized="false"
  3307. static="false" final="false" visibility="public"
  3308. deprecated="not deprecated">
  3309. <param name="prio" type="org.apache.hadoop.mapred.JobPriority"/>
  3310. <doc>
  3311. <![CDATA[Set {@link JobPriority} for this job.
  3312. @param prio the {@link JobPriority} for this job.]]>
  3313. </doc>
  3314. </method>
  3315. <method name="getJobPriority" return="org.apache.hadoop.mapred.JobPriority"
  3316. abstract="false" native="false" synchronized="false"
  3317. static="false" final="false" visibility="public"
  3318. deprecated="not deprecated">
  3319. <doc>
  3320. <![CDATA[Get the {@link JobPriority} for this job.
  3321. @return the {@link JobPriority} for this job.]]>
  3322. </doc>
  3323. </method>
  3324. <method name="getProfileEnabled" return="boolean"
  3325. abstract="false" native="false" synchronized="false"
  3326. static="false" final="false" visibility="public"
  3327. deprecated="not deprecated">
  3328. <doc>
  3329. <![CDATA[Get whether the task profiling is enabled.
  3330. @return true if some tasks will be profiled]]>
  3331. </doc>
  3332. </method>
  3333. <method name="setProfileEnabled"
  3334. abstract="false" native="false" synchronized="false"
  3335. static="false" final="false" visibility="public"
  3336. deprecated="not deprecated">
  3337. <param name="newValue" type="boolean"/>
  3338. <doc>
  3339. <![CDATA[Set whether the system should collect profiler information for some of
  3340. the tasks in this job? The information is stored in the user log
  3341. directory.
  3342. @param newValue true means it should be gathered]]>
  3343. </doc>
  3344. </method>
  3345. <method name="getProfileParams" return="java.lang.String"
  3346. abstract="false" native="false" synchronized="false"
  3347. static="false" final="false" visibility="public"
  3348. deprecated="not deprecated">
  3349. <doc>
  3350. <![CDATA[Get the profiler configuration arguments.
  3351. The default value for this property is
  3352. "-agentlib:hprof=cpu=samples,heap=sites,force=n,thread=y,verbose=n,file=%s"
  3353. @return the parameters to pass to the task child to configure profiling]]>
  3354. </doc>
  3355. </method>
  3356. <method name="setProfileParams"
  3357. abstract="false" native="false" synchronized="false"
  3358. static="false" final="false" visibility="public"
  3359. deprecated="not deprecated">
  3360. <param name="value" type="java.lang.String"/>
  3361. <doc>
  3362. <![CDATA[Set the profiler configuration arguments. If the string contains a '%s' it
  3363. will be replaced with the name of the profiling output file when the task
  3364. runs.
  3365. This value is passed to the task child JVM on the command line.
  3366. @param value the configuration string]]>
  3367. </doc>
  3368. </method>
  3369. <method name="getProfileTaskRange" return="org.apache.hadoop.conf.Configuration.IntegerRanges"
  3370. abstract="false" native="false" synchronized="false"
  3371. static="false" final="false" visibility="public"
  3372. deprecated="not deprecated">
  3373. <param name="isMap" type="boolean"/>
  3374. <doc>
  3375. <![CDATA[Get the range of maps or reduces to profile.
  3376. @param isMap is the task a map?
  3377. @return the task ranges]]>
  3378. </doc>
  3379. </method>
  3380. <method name="setProfileTaskRange"
  3381. abstract="false" native="false" synchronized="false"
  3382. static="false" final="false" visibility="public"
  3383. deprecated="not deprecated">
  3384. <param name="isMap" type="boolean"/>
  3385. <param name="newValue" type="java.lang.String"/>
  3386. <doc>
  3387. <![CDATA[Set the ranges of maps or reduces to profile. setProfileEnabled(true)
  3388. must also be called.
  3389. @param newValue a set of integer ranges of the map ids]]>
  3390. </doc>
  3391. </method>
  3392. <method name="setMapDebugScript"
  3393. abstract="false" native="false" synchronized="false"
  3394. static="false" final="false" visibility="public"
  3395. deprecated="not deprecated">
  3396. <param name="mDbgScript" type="java.lang.String"/>
  3397. <doc>
  3398. <![CDATA[Set the debug script to run when the map tasks fail.
  3399. <p>The debug script can aid debugging of failed map tasks. The script is
  3400. given task's stdout, stderr, syslog, jobconf files as arguments.</p>
  3401. <p>The debug command, run on the node where the map failed, is:</p>
  3402. <p><pre><blockquote>
  3403. $script $stdout $stderr $syslog $jobconf.
  3404. </blockquote></pre></p>
  3405. <p> The script file is distributed through {@link DistributedCache}
  3406. APIs. The script needs to be symlinked. </p>
  3407. <p>Here is an example on how to submit a script
  3408. <p><blockquote><pre>
  3409. job.setMapDebugScript("./myscript");
  3410. DistributedCache.createSymlink(job);
  3411. DistributedCache.addCacheFile("/debug/scripts/myscript#myscript");
  3412. </pre></blockquote></p>
  3413. @param mDbgScript the script name]]>
  3414. </doc>
  3415. </method>
  3416. <method name="getMapDebugScript" return="java.lang.String"
  3417. abstract="false" native="false" synchronized="false"
  3418. static="false" final="false" visibility="public"
  3419. deprecated="not deprecated">
  3420. <doc>
  3421. <![CDATA[Get the map task's debug script.
  3422. @return the debug Script for the mapred job for failed map tasks.
  3423. @see #setMapDebugScript(String)]]>
  3424. </doc>
  3425. </method>
  3426. <method name="setReduceDebugScript"
  3427. abstract="false" native="false" synchronized="false"
  3428. static="false" final="false" visibility="public"
  3429. deprecated="not deprecated">
  3430. <param name="rDbgScript" type="java.lang.String"/>
  3431. <doc>
  3432. <![CDATA[Set the debug script to run when the reduce tasks fail.
  3433. <p>The debug script can aid debugging of failed reduce tasks. The script
  3434. is given task's stdout, stderr, syslog, jobconf files as arguments.</p>
  3435. <p>The debug command, run on the node where the map failed, is:</p>
  3436. <p><pre><blockquote>
  3437. $script $stdout $stderr $syslog $jobconf.
  3438. </blockquote></pre></p>
  3439. <p> The script file is distributed through {@link DistributedCache}
  3440. APIs. The script file needs to be symlinked </p>
  3441. <p>Here is an example on how to submit a script
  3442. <p><blockquote><pre>
  3443. job.setReduceDebugScript("./myscript");
  3444. DistributedCache.createSymlink(job);
  3445. DistributedCache.addCacheFile("/debug/scripts/myscript#myscript");
  3446. </pre></blockquote></p>
  3447. @param rDbgScript the script name]]>
  3448. </doc>
  3449. </method>
  3450. <method name="getReduceDebugScript" return="java.lang.String"
  3451. abstract="false" native="false" synchronized="false"
  3452. static="false" final="false" visibility="public"
  3453. deprecated="not deprecated">
  3454. <doc>
  3455. <![CDATA[Get the reduce task's debug Script
  3456. @return the debug script for the mapred job for failed reduce tasks.
  3457. @see #setReduceDebugScript(String)]]>
  3458. </doc>
  3459. </method>
  3460. <method name="getJobEndNotificationURI" return="java.lang.String"
  3461. abstract="false" native="false" synchronized="false"
  3462. static="false" final="false" visibility="public"
  3463. deprecated="not deprecated">
  3464. <doc>
  3465. <![CDATA[Get the uri to be invoked in-order to send a notification after the job
  3466. has completed (success/failure).
  3467. @return the job end notification uri, <code>null</code> if it hasn't
  3468. been set.
  3469. @see #setJobEndNotificationURI(String)]]>
  3470. </doc>
  3471. </method>
  3472. <method name="setJobEndNotificationURI"
  3473. abstract="false" native="false" synchronized="false"
  3474. static="false" final="false" visibility="public"
  3475. deprecated="not deprecated">
  3476. <param name="uri" type="java.lang.String"/>
  3477. <doc>
  3478. <![CDATA[Set the uri to be invoked in-order to send a notification after the job
  3479. has completed (success/failure).
  3480. <p>The uri can contain 2 special parameters: <tt>$jobId</tt> and
  3481. <tt>$jobStatus</tt>. Those, if present, are replaced by the job's
  3482. identifier and completion-status respectively.</p>
  3483. <p>This is typically used by application-writers to implement chaining of
  3484. Map-Reduce jobs in an <i>asynchronous manner</i>.</p>
  3485. @param uri the job end notification uri
  3486. @see JobStatus
  3487. @see <a href="{@docRoot}/org/apache/hadoop/mapred/JobClient.html#
  3488. JobCompletionAndChaining">Job Completion and Chaining</a>]]>
  3489. </doc>
  3490. </method>
  3491. <method name="getJobLocalDir" return="java.lang.String"
  3492. abstract="false" native="false" synchronized="false"
  3493. static="false" final="false" visibility="public"
  3494. deprecated="not deprecated">
  3495. <doc>
  3496. <![CDATA[Get job-specific shared directory for use as scratch space
  3497. <p>
  3498. When a job starts, a shared directory is created at location
  3499. <code>
  3500. ${mapreduce.cluster.local.dir}/taskTracker/$user/jobcache/$jobid/work/ </code>.
  3501. This directory is exposed to the users through
  3502. <code>mapreduce.job.local.dir </code>.
  3503. So, the tasks can use this space
  3504. as scratch space and share files among them. </p>
  3505. This value is available as System property also.
  3506. @return The localized job specific shared directory]]>
  3507. </doc>
  3508. </method>
  3509. <method name="getMemoryForMapTask" return="long"
  3510. abstract="false" native="false" synchronized="false"
  3511. static="false" final="false" visibility="public"
  3512. deprecated="not deprecated">
  3513. <doc>
  3514. <![CDATA[Get memory required to run a map task of the job, in MB.
  3515. If a value is specified in the configuration, it is returned.
  3516. Else, it returns {@link #DISABLED_MEMORY_LIMIT}.
  3517. <p/>
  3518. For backward compatibility, if the job configuration sets the
  3519. key {@link #MAPRED_TASK_MAXVMEM_PROPERTY} to a value different
  3520. from {@link #DISABLED_MEMORY_LIMIT}, that value will be used
  3521. after converting it from bytes to MB.
  3522. @return memory required to run a map task of the job, in MB,
  3523. or {@link #DISABLED_MEMORY_LIMIT} if unset.]]>
  3524. </doc>
  3525. </method>
  3526. <method name="setMemoryForMapTask"
  3527. abstract="false" native="false" synchronized="false"
  3528. static="false" final="false" visibility="public"
  3529. deprecated="not deprecated">
  3530. <param name="mem" type="long"/>
  3531. </method>
  3532. <method name="getMemoryForReduceTask" return="long"
  3533. abstract="false" native="false" synchronized="false"
  3534. static="false" final="false" visibility="public"
  3535. deprecated="not deprecated">
  3536. <doc>
  3537. <![CDATA[Get memory required to run a reduce task of the job, in MB.
  3538. If a value is specified in the configuration, it is returned.
  3539. Else, it returns {@link #DISABLED_MEMORY_LIMIT}.
  3540. <p/>
  3541. For backward compatibility, if the job configuration sets the
  3542. key {@link #MAPRED_TASK_MAXVMEM_PROPERTY} to a value different
  3543. from {@link #DISABLED_MEMORY_LIMIT}, that value will be used
  3544. after converting it from bytes to MB.
  3545. @return memory required to run a reduce task of the job, in MB,
  3546. or {@link #DISABLED_MEMORY_LIMIT} if unset.]]>
  3547. </doc>
  3548. </method>
  3549. <method name="setMemoryForReduceTask"
  3550. abstract="false" native="false" synchronized="false"
  3551. static="false" final="false" visibility="public"
  3552. deprecated="not deprecated">
  3553. <param name="mem" type="long"/>
  3554. </method>
  3555. <method name="getQueueName" return="java.lang.String"
  3556. abstract="false" native="false" synchronized="false"
  3557. static="false" final="false" visibility="public"
  3558. deprecated="not deprecated">
  3559. <doc>
  3560. <![CDATA[Return the name of the queue to which this job is submitted.
  3561. Defaults to 'default'.
  3562. @return name of the queue]]>
  3563. </doc>
  3564. </method>
  3565. <method name="setQueueName"
  3566. abstract="false" native="false" synchronized="false"
  3567. static="false" final="false" visibility="public"
  3568. deprecated="not deprecated">
  3569. <param name="queueName" type="java.lang.String"/>
  3570. <doc>
  3571. <![CDATA[Set the name of the queue to which this job should be submitted.
  3572. @param queueName Name of the queue]]>
  3573. </doc>
  3574. </method>
  3575. <method name="normalizeMemoryConfigValue" return="long"
  3576. abstract="false" native="false" synchronized="false"
  3577. static="true" final="false" visibility="public"
  3578. deprecated="not deprecated">
  3579. <param name="val" type="long"/>
  3580. <doc>
  3581. <![CDATA[Normalize the negative values in configuration
  3582. @param val
  3583. @return normalized value]]>
  3584. </doc>
  3585. </method>
  3586. <method name="getMaxVirtualMemoryForTask" return="long"
  3587. abstract="false" native="false" synchronized="false"
  3588. static="false" final="false" visibility="public"
  3589. deprecated="Use {@link #getMemoryForMapTask()} and
  3590. {@link #getMemoryForReduceTask()}">
  3591. <doc>
  3592. <![CDATA[Get the memory required to run a task of this job, in bytes. See
  3593. {@link #MAPRED_TASK_MAXVMEM_PROPERTY}
  3594. <p/>
  3595. This method is deprecated. Now, different memory limits can be
  3596. set for map and reduce tasks of a job, in MB.
  3597. <p/>
  3598. For backward compatibility, if the job configuration sets the
  3599. key {@link #MAPRED_TASK_MAXVMEM_PROPERTY} to a value different
  3600. from {@link #DISABLED_MEMORY_LIMIT}, that value is returned.
  3601. Otherwise, this method will return the larger of the values returned by
  3602. {@link #getMemoryForMapTask()} and {@link #getMemoryForReduceTask()}
  3603. after converting them into bytes.
  3604. @return Memory required to run a task of this job, in bytes,
  3605. or {@link #DISABLED_MEMORY_LIMIT}, if unset.
  3606. @see #setMaxVirtualMemoryForTask(long)
  3607. @deprecated Use {@link #getMemoryForMapTask()} and
  3608. {@link #getMemoryForReduceTask()}]]>
  3609. </doc>
  3610. </method>
  3611. <method name="setMaxVirtualMemoryForTask"
  3612. abstract="false" native="false" synchronized="false"
  3613. static="false" final="false" visibility="public"
  3614. deprecated="Use {@link #setMemoryForMapTask(long mem)} and
  3615. Use {@link #setMemoryForReduceTask(long mem)}">
  3616. <param name="vmem" type="long"/>
  3617. <doc>
  3618. <![CDATA[Set the maximum amount of memory any task of this job can use. See
  3619. {@link #MAPRED_TASK_MAXVMEM_PROPERTY}
  3620. <p/>
  3621. mapred.task.maxvmem is split into
  3622. mapreduce.map.memory.mb
  3623. and mapreduce.map.memory.mb,mapred
  3624. each of the new key are set
  3625. as mapred.task.maxvmem / 1024
  3626. as new values are in MB
  3627. @param vmem Maximum amount of virtual memory in bytes any task of this job
  3628. can use.
  3629. @see #getMaxVirtualMemoryForTask()
  3630. @deprecated
  3631. Use {@link #setMemoryForMapTask(long mem)} and
  3632. Use {@link #setMemoryForReduceTask(long mem)}]]>
  3633. </doc>
  3634. </method>
  3635. <method name="getMaxPhysicalMemoryForTask" return="long"
  3636. abstract="false" native="false" synchronized="false"
  3637. static="false" final="false" visibility="public"
  3638. deprecated="this variable is deprecated and nolonger in use.">
  3639. <doc>
  3640. <![CDATA[@deprecated this variable is deprecated and nolonger in use.]]>
  3641. </doc>
  3642. </method>
  3643. <method name="setMaxPhysicalMemoryForTask"
  3644. abstract="false" native="false" synchronized="false"
  3645. static="false" final="false" visibility="public"
  3646. deprecated="not deprecated">
  3647. <param name="mem" type="long"/>
  3648. </method>
  3649. <field name="MAPRED_TASK_MAXVMEM_PROPERTY" type="java.lang.String"
  3650. transient="false" volatile="false"
  3651. static="true" final="true" visibility="public"
  3652. deprecated="Use {@link #MAPRED_JOB_MAP_MEMORY_MB_PROPERTY} and
  3653. {@link #MAPRED_JOB_REDUCE_MEMORY_MB_PROPERTY}">
  3654. <doc>
  3655. <![CDATA[@deprecated Use {@link #MAPRED_JOB_MAP_MEMORY_MB_PROPERTY} and
  3656. {@link #MAPRED_JOB_REDUCE_MEMORY_MB_PROPERTY}]]>
  3657. </doc>
  3658. </field>
  3659. <field name="UPPER_LIMIT_ON_TASK_VMEM_PROPERTY" type="java.lang.String"
  3660. transient="false" volatile="false"
  3661. static="true" final="true" visibility="public"
  3662. deprecated="deprecated, no comment">
  3663. <doc>
  3664. <![CDATA[@deprecated]]>
  3665. </doc>
  3666. </field>
  3667. <field name="MAPRED_TASK_DEFAULT_MAXVMEM_PROPERTY" type="java.lang.String"
  3668. transient="false" volatile="false"
  3669. static="true" final="true" visibility="public"
  3670. deprecated="deprecated, no comment">
  3671. <doc>
  3672. <![CDATA[@deprecated]]>
  3673. </doc>
  3674. </field>
  3675. <field name="MAPRED_TASK_MAXPMEM_PROPERTY" type="java.lang.String"
  3676. transient="false" volatile="false"
  3677. static="true" final="true" visibility="public"
  3678. deprecated="deprecated, no comment">
  3679. <doc>
  3680. <![CDATA[@deprecated]]>
  3681. </doc>
  3682. </field>
  3683. <field name="DISABLED_MEMORY_LIMIT" type="long"
  3684. transient="false" volatile="false"
  3685. static="true" final="true" visibility="public"
  3686. deprecated="not deprecated">
  3687. <doc>
  3688. <![CDATA[A value which if set for memory related configuration options,
  3689. indicates that the options are turned off.]]>
  3690. </doc>
  3691. </field>
  3692. <field name="MAPRED_LOCAL_DIR_PROPERTY" type="java.lang.String"
  3693. transient="false" volatile="false"
  3694. static="true" final="true" visibility="public"
  3695. deprecated="not deprecated">
  3696. <doc>
  3697. <![CDATA[Property name for the configuration property mapreduce.cluster.local.dir]]>
  3698. </doc>
  3699. </field>
  3700. <field name="DEFAULT_QUEUE_NAME" type="java.lang.String"
  3701. transient="false" volatile="false"
  3702. static="true" final="true" visibility="public"
  3703. deprecated="not deprecated">
  3704. <doc>
  3705. <![CDATA[Name of the queue to which jobs will be submitted, if no queue
  3706. name is mentioned.]]>
  3707. </doc>
  3708. </field>
  3709. <field name="UNPACK_JAR_PATTERN_DEFAULT" type="java.util.regex.Pattern"
  3710. transient="false" volatile="false"
  3711. static="true" final="true" visibility="public"
  3712. deprecated="not deprecated">
  3713. <doc>
  3714. <![CDATA[Pattern for the default unpacking behavior for job jars]]>
  3715. </doc>
  3716. </field>
  3717. <field name="MAPRED_TASK_JAVA_OPTS" type="java.lang.String"
  3718. transient="false" volatile="false"
  3719. static="true" final="true" visibility="public"
  3720. deprecated="Use {@link #MAPRED_MAP_TASK_JAVA_OPTS} or
  3721. {@link #MAPRED_REDUCE_TASK_JAVA_OPTS}">
  3722. <doc>
  3723. <![CDATA[Configuration key to set the java command line options for the child
  3724. map and reduce tasks.
  3725. Java opts for the task tracker child processes.
  3726. The following symbol, if present, will be interpolated: @taskid@.
  3727. It is replaced by current TaskID. Any other occurrences of '@' will go
  3728. unchanged.
  3729. For example, to enable verbose gc logging to a file named for the taskid in
  3730. /tmp and to set the heap maximum to be a gigabyte, pass a 'value' of:
  3731. -Xmx1024m -verbose:gc -Xloggc:/tmp/@taskid@.gc
  3732. The configuration variable {@link #MAPRED_TASK_ULIMIT} can be used to
  3733. control the maximum virtual memory of the child processes.
  3734. The configuration variable {@link #MAPRED_TASK_ENV} can be used to pass
  3735. other environment variables to the child processes.
  3736. @deprecated Use {@link #MAPRED_MAP_TASK_JAVA_OPTS} or
  3737. {@link #MAPRED_REDUCE_TASK_JAVA_OPTS}]]>
  3738. </doc>
  3739. </field>
  3740. <field name="MAPRED_MAP_TASK_JAVA_OPTS" type="java.lang.String"
  3741. transient="false" volatile="false"
  3742. static="true" final="true" visibility="public"
  3743. deprecated="not deprecated">
  3744. <doc>
  3745. <![CDATA[Configuration key to set the java command line options for the map tasks.
  3746. Java opts for the task tracker child map processes.
  3747. The following symbol, if present, will be interpolated: @taskid@.
  3748. It is replaced by current TaskID. Any other occurrences of '@' will go
  3749. unchanged.
  3750. For example, to enable verbose gc logging to a file named for the taskid in
  3751. /tmp and to set the heap maximum to be a gigabyte, pass a 'value' of:
  3752. -Xmx1024m -verbose:gc -Xloggc:/tmp/@taskid@.gc
  3753. The configuration variable {@link #MAPRED_MAP_TASK_ULIMIT} can be used to
  3754. control the maximum virtual memory of the map processes.
  3755. The configuration variable {@link #MAPRED_MAP_TASK_ENV} can be used to pass
  3756. other environment variables to the map processes.]]>
  3757. </doc>
  3758. </field>
  3759. <field name="MAPRED_REDUCE_TASK_JAVA_OPTS" type="java.lang.String"
  3760. transient="false" volatile="false"
  3761. static="true" final="true" visibility="public"
  3762. deprecated="not deprecated">
  3763. <doc>
  3764. <![CDATA[Configuration key to set the java command line options for the reduce tasks.
  3765. Java opts for the task tracker child reduce processes.
  3766. The following symbol, if present, will be interpolated: @taskid@.
  3767. It is replaced by current TaskID. Any other occurrences of '@' will go
  3768. unchanged.
  3769. For example, to enable verbose gc logging to a file named for the taskid in
  3770. /tmp and to set the heap maximum to be a gigabyte, pass a 'value' of:
  3771. -Xmx1024m -verbose:gc -Xloggc:/tmp/@taskid@.gc
  3772. The configuration variable {@link #MAPRED_REDUCE_TASK_ULIMIT} can be used
  3773. to control the maximum virtual memory of the reduce processes.
  3774. The configuration variable {@link #MAPRED_REDUCE_TASK_ENV} can be used to
  3775. pass process environment variables to the reduce processes.]]>
  3776. </doc>
  3777. </field>
  3778. <field name="DEFAULT_MAPRED_TASK_JAVA_OPTS" type="java.lang.String"
  3779. transient="false" volatile="false"
  3780. static="true" final="true" visibility="public"
  3781. deprecated="not deprecated">
  3782. </field>
  3783. <field name="MAPRED_TASK_ULIMIT" type="java.lang.String"
  3784. transient="false" volatile="false"
  3785. static="true" final="true" visibility="public"
  3786. deprecated="Use {@link #MAPRED_MAP_TASK_ULIMIT} or
  3787. {@link #MAPRED_REDUCE_TASK_ULIMIT}">
  3788. <doc>
  3789. <![CDATA[Configuration key to set the maximum virutal memory available to the child
  3790. map and reduce tasks (in kilo-bytes).
  3791. Note: This must be greater than or equal to the -Xmx passed to the JavaVM
  3792. via {@link #MAPRED_TASK_JAVA_OPTS}, else the VM might not start.
  3793. @deprecated Use {@link #MAPRED_MAP_TASK_ULIMIT} or
  3794. {@link #MAPRED_REDUCE_TASK_ULIMIT}]]>
  3795. </doc>
  3796. </field>
  3797. <field name="MAPRED_MAP_TASK_ULIMIT" type="java.lang.String"
  3798. transient="false" volatile="false"
  3799. static="true" final="true" visibility="public"
  3800. deprecated="not deprecated">
  3801. <doc>
  3802. <![CDATA[Configuration key to set the maximum virutal memory available to the
  3803. map tasks (in kilo-bytes).
  3804. Note: This must be greater than or equal to the -Xmx passed to the JavaVM
  3805. via {@link #MAPRED_MAP_TASK_JAVA_OPTS}, else the VM might not start.]]>
  3806. </doc>
  3807. </field>
  3808. <field name="MAPRED_REDUCE_TASK_ULIMIT" type="java.lang.String"
  3809. transient="false" volatile="false"
  3810. static="true" final="true" visibility="public"
  3811. deprecated="not deprecated">
  3812. <doc>
  3813. <![CDATA[Configuration key to set the maximum virutal memory available to the
  3814. reduce tasks (in kilo-bytes).
  3815. Note: This must be greater than or equal to the -Xmx passed to the JavaVM
  3816. via {@link #MAPRED_REDUCE_TASK_JAVA_OPTS}, else the VM might not start.]]>
  3817. </doc>
  3818. </field>
  3819. <field name="MAPRED_TASK_ENV" type="java.lang.String"
  3820. transient="false" volatile="false"
  3821. static="true" final="true" visibility="public"
  3822. deprecated="Use {@link #MAPRED_MAP_TASK_ENV} or
  3823. {@link #MAPRED_REDUCE_TASK_ENV}">
  3824. <doc>
  3825. <![CDATA[Configuration key to set the environment of the child map/reduce tasks.
  3826. The format of the value is <code>k1=v1,k2=v2</code>. Further it can
  3827. reference existing environment variables via <code>$key</code>.
  3828. Example:
  3829. <ul>
  3830. <li> A=foo - This will set the env variable A to foo. </li>
  3831. <li> B=$X:c This is inherit tasktracker's X env variable. </li>
  3832. </ul>
  3833. @deprecated Use {@link #MAPRED_MAP_TASK_ENV} or
  3834. {@link #MAPRED_REDUCE_TASK_ENV}]]>
  3835. </doc>
  3836. </field>
  3837. <field name="MAPRED_MAP_TASK_ENV" type="java.lang.String"
  3838. transient="false" volatile="false"
  3839. static="true" final="true" visibility="public"
  3840. deprecated="not deprecated">
  3841. <doc>
  3842. <![CDATA[Configuration key to set the maximum virutal memory available to the
  3843. map tasks.
  3844. The format of the value is <code>k1=v1,k2=v2</code>. Further it can
  3845. reference existing environment variables via <code>$key</code>.
  3846. Example:
  3847. <ul>
  3848. <li> A=foo - This will set the env variable A to foo. </li>
  3849. <li> B=$X:c This is inherit tasktracker's X env variable. </li>
  3850. </ul>]]>
  3851. </doc>
  3852. </field>
  3853. <field name="MAPRED_REDUCE_TASK_ENV" type="java.lang.String"
  3854. transient="false" volatile="false"
  3855. static="true" final="true" visibility="public"
  3856. deprecated="not deprecated">
  3857. <doc>
  3858. <![CDATA[Configuration key to set the maximum virutal memory available to the
  3859. reduce tasks.
  3860. The format of the value is <code>k1=v1,k2=v2</code>. Further it can
  3861. reference existing environment variables via <code>$key</code>.
  3862. Example:
  3863. <ul>
  3864. <li> A=foo - This will set the env variable A to foo. </li>
  3865. <li> B=$X:c This is inherit tasktracker's X env variable. </li>
  3866. </ul>]]>
  3867. </doc>
  3868. </field>
  3869. <field name="MAPRED_MAP_TASK_LOG_LEVEL" type="java.lang.String"
  3870. transient="false" volatile="false"
  3871. static="true" final="true" visibility="public"
  3872. deprecated="not deprecated">
  3873. <doc>
  3874. <![CDATA[Configuration key to set the logging {@link Level} for the map task.
  3875. The allowed logging levels are:
  3876. OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE and ALL.]]>
  3877. </doc>
  3878. </field>
  3879. <field name="MAPRED_REDUCE_TASK_LOG_LEVEL" type="java.lang.String"
  3880. transient="false" volatile="false"
  3881. static="true" final="true" visibility="public"
  3882. deprecated="not deprecated">
  3883. <doc>
  3884. <![CDATA[Configuration key to set the logging {@link Level} for the reduce task.
  3885. The allowed logging levels are:
  3886. OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE and ALL.]]>
  3887. </doc>
  3888. </field>
  3889. <field name="DEFAULT_LOG_LEVEL" type="org.apache.log4j.Level"
  3890. transient="false" volatile="false"
  3891. static="true" final="true" visibility="public"
  3892. deprecated="not deprecated">
  3893. <doc>
  3894. <![CDATA[Default logging level for map/reduce tasks.]]>
  3895. </doc>
  3896. </field>
  3897. <doc>
  3898. <![CDATA[A map/reduce job configuration.
  3899. <p><code>JobConf</code> is the primary interface for a user to describe a
  3900. map-reduce job to the Hadoop framework for execution. The framework tries to
  3901. faithfully execute the job as-is described by <code>JobConf</code>, however:
  3902. <ol>
  3903. <li>
  3904. Some configuration parameters might have been marked as
  3905. <a href="{@docRoot}/org/apache/hadoop/conf/Configuration.html#FinalParams">
  3906. final</a> by administrators and hence cannot be altered.
  3907. </li>
  3908. <li>
  3909. While some job parameters are straight-forward to set
  3910. (e.g. {@link #setNumReduceTasks(int)}), some parameters interact subtly
  3911. rest of the framework and/or job-configuration and is relatively more
  3912. complex for the user to control finely (e.g. {@link #setNumMapTasks(int)}).
  3913. </li>
  3914. </ol></p>
  3915. <p><code>JobConf</code> typically specifies the {@link Mapper}, combiner
  3916. (if any), {@link Partitioner}, {@link Reducer}, {@link InputFormat} and
  3917. {@link OutputFormat} implementations to be used etc.
  3918. <p>Optionally <code>JobConf</code> is used to specify other advanced facets
  3919. of the job such as <code>Comparator</code>s to be used, files to be put in
  3920. the {@link DistributedCache}, whether or not intermediate and/or job outputs
  3921. are to be compressed (and how), debugability via user-provided scripts
  3922. ( {@link #setMapDebugScript(String)}/{@link #setReduceDebugScript(String)}),
  3923. for doing post-processing on task logs, task's stdout, stderr, syslog.
  3924. and etc.</p>
  3925. <p>Here is an example on how to configure a job via <code>JobConf</code>:</p>
  3926. <p><blockquote><pre>
  3927. // Create a new JobConf
  3928. JobConf job = new JobConf(new Configuration(), MyJob.class);
  3929. // Specify various job-specific parameters
  3930. job.setJobName("myjob");
  3931. FileInputFormat.setInputPaths(job, new Path("in"));
  3932. FileOutputFormat.setOutputPath(job, new Path("out"));
  3933. job.setMapperClass(MyJob.MyMapper.class);
  3934. job.setCombinerClass(MyJob.MyReducer.class);
  3935. job.setReducerClass(MyJob.MyReducer.class);
  3936. job.setInputFormat(SequenceFileInputFormat.class);
  3937. job.setOutputFormat(SequenceFileOutputFormat.class);
  3938. </pre></blockquote></p>
  3939. @see JobClient
  3940. @see ClusterStatus
  3941. @see Tool
  3942. @see DistributedCache]]>
  3943. </doc>
  3944. </class>
  3945. <!-- end class org.apache.hadoop.mapred.JobConf -->
  3946. <!-- start interface org.apache.hadoop.mapred.JobConfigurable -->
  3947. <interface name="JobConfigurable" abstract="true"
  3948. static="false" final="false" visibility="public"
  3949. deprecated="not deprecated">
  3950. <method name="configure"
  3951. abstract="false" native="false" synchronized="false"
  3952. static="false" final="false" visibility="public"
  3953. deprecated="not deprecated">
  3954. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  3955. <doc>
  3956. <![CDATA[Initializes a new instance from a {@link JobConf}.
  3957. @param job the configuration]]>
  3958. </doc>
  3959. </method>
  3960. <doc>
  3961. <![CDATA[That what may be configured.]]>
  3962. </doc>
  3963. </interface>
  3964. <!-- end interface org.apache.hadoop.mapred.JobConfigurable -->
  3965. <!-- start interface org.apache.hadoop.mapred.JobContext -->
  3966. <interface name="JobContext" abstract="true"
  3967. static="false" final="false" visibility="public"
  3968. deprecated="not deprecated">
  3969. <implements name="org.apache.hadoop.mapreduce.JobContext"/>
  3970. <method name="getJobConf" return="org.apache.hadoop.mapred.JobConf"
  3971. abstract="false" native="false" synchronized="false"
  3972. static="false" final="false" visibility="public"
  3973. deprecated="not deprecated">
  3974. <doc>
  3975. <![CDATA[Get the job Configuration
  3976. @return JobConf]]>
  3977. </doc>
  3978. </method>
  3979. <method name="getProgressible" return="org.apache.hadoop.util.Progressable"
  3980. abstract="false" native="false" synchronized="false"
  3981. static="false" final="false" visibility="public"
  3982. deprecated="not deprecated">
  3983. <doc>
  3984. <![CDATA[Get the progress mechanism for reporting progress.
  3985. @return progress mechanism]]>
  3986. </doc>
  3987. </method>
  3988. </interface>
  3989. <!-- end interface org.apache.hadoop.mapred.JobContext -->
  3990. <!-- start class org.apache.hadoop.mapred.JobID -->
  3991. <class name="JobID" extends="org.apache.hadoop.mapreduce.JobID"
  3992. abstract="false"
  3993. static="false" final="false" visibility="public"
  3994. deprecated="not deprecated">
  3995. <constructor name="JobID" type="java.lang.String, int"
  3996. static="false" final="false" visibility="public"
  3997. deprecated="not deprecated">
  3998. <doc>
  3999. <![CDATA[Constructs a JobID object
  4000. @param jtIdentifier jobTracker identifier
  4001. @param id job number]]>
  4002. </doc>
  4003. </constructor>
  4004. <constructor name="JobID"
  4005. static="false" final="false" visibility="public"
  4006. deprecated="not deprecated">
  4007. </constructor>
  4008. <method name="downgrade" return="org.apache.hadoop.mapred.JobID"
  4009. abstract="false" native="false" synchronized="false"
  4010. static="true" final="false" visibility="public"
  4011. deprecated="not deprecated">
  4012. <param name="old" type="org.apache.hadoop.mapreduce.JobID"/>
  4013. <doc>
  4014. <![CDATA[Downgrade a new JobID to an old one
  4015. @param old a new or old JobID
  4016. @return either old or a new JobID build to match old]]>
  4017. </doc>
  4018. </method>
  4019. <method name="read" return="org.apache.hadoop.mapred.JobID"
  4020. abstract="false" native="false" synchronized="false"
  4021. static="true" final="false" visibility="public"
  4022. deprecated="not deprecated">
  4023. <param name="in" type="java.io.DataInput"/>
  4024. <exception name="IOException" type="java.io.IOException"/>
  4025. </method>
  4026. <method name="forName" return="org.apache.hadoop.mapred.JobID"
  4027. abstract="false" native="false" synchronized="false"
  4028. static="true" final="false" visibility="public"
  4029. deprecated="not deprecated">
  4030. <param name="str" type="java.lang.String"/>
  4031. <exception name="IllegalArgumentException" type="java.lang.IllegalArgumentException"/>
  4032. <doc>
  4033. <![CDATA[Construct a JobId object from given string
  4034. @return constructed JobId object or null if the given String is null
  4035. @throws IllegalArgumentException if the given string is malformed]]>
  4036. </doc>
  4037. </method>
  4038. <method name="getJobIDsPattern" return="java.lang.String"
  4039. abstract="false" native="false" synchronized="false"
  4040. static="true" final="false" visibility="public"
  4041. deprecated="not deprecated">
  4042. <param name="jtIdentifier" type="java.lang.String"/>
  4043. <param name="jobId" type="java.lang.Integer"/>
  4044. <doc>
  4045. <![CDATA[Returns a regex pattern which matches task IDs. Arguments can
  4046. be given null, in which case that part of the regex will be generic.
  4047. For example to obtain a regex matching <i>any job</i>
  4048. run on the jobtracker started at <i>200707121733</i>, we would use :
  4049. <pre>
  4050. JobID.getTaskIDsPattern("200707121733", null);
  4051. </pre>
  4052. which will return :
  4053. <pre> "job_200707121733_[0-9]*" </pre>
  4054. @param jtIdentifier jobTracker identifier, or null
  4055. @param jobId job number, or null
  4056. @return a regex pattern matching JobIDs]]>
  4057. </doc>
  4058. </method>
  4059. <doc>
  4060. <![CDATA[JobID represents the immutable and unique identifier for
  4061. the job. JobID consists of two parts. First part
  4062. represents the jobtracker identifier, so that jobID to jobtracker map
  4063. is defined. For cluster setup this string is the jobtracker
  4064. start time, for local setting, it is "local".
  4065. Second part of the JobID is the job number. <br>
  4066. An example JobID is :
  4067. <code>job_200707121733_0003</code> , which represents the third job
  4068. running at the jobtracker started at <code>200707121733</code>.
  4069. <p>
  4070. Applications should never construct or parse JobID strings, but rather
  4071. use appropriate constructors or {@link #forName(String)} method.
  4072. @see TaskID
  4073. @see TaskAttemptID]]>
  4074. </doc>
  4075. </class>
  4076. <!-- end class org.apache.hadoop.mapred.JobID -->
  4077. <!-- start class org.apache.hadoop.mapred.JobPriority -->
  4078. <class name="JobPriority" extends="java.lang.Enum"
  4079. abstract="false"
  4080. static="false" final="true" visibility="public"
  4081. deprecated="not deprecated">
  4082. <method name="values" return="org.apache.hadoop.mapred.JobPriority[]"
  4083. abstract="false" native="false" synchronized="false"
  4084. static="true" final="false" visibility="public"
  4085. deprecated="not deprecated">
  4086. </method>
  4087. <method name="valueOf" return="org.apache.hadoop.mapred.JobPriority"
  4088. abstract="false" native="false" synchronized="false"
  4089. static="true" final="false" visibility="public"
  4090. deprecated="not deprecated">
  4091. <param name="name" type="java.lang.String"/>
  4092. </method>
  4093. <doc>
  4094. <![CDATA[Used to describe the priority of the running job.]]>
  4095. </doc>
  4096. </class>
  4097. <!-- end class org.apache.hadoop.mapred.JobPriority -->
  4098. <!-- start class org.apache.hadoop.mapred.JobQueueInfo -->
  4099. <class name="JobQueueInfo" extends="org.apache.hadoop.mapreduce.QueueInfo"
  4100. abstract="false"
  4101. static="false" final="false" visibility="public"
  4102. deprecated="not deprecated">
  4103. <constructor name="JobQueueInfo"
  4104. static="false" final="false" visibility="public"
  4105. deprecated="not deprecated">
  4106. <doc>
  4107. <![CDATA[Default constructor for Job Queue Info.]]>
  4108. </doc>
  4109. </constructor>
  4110. <constructor name="JobQueueInfo" type="java.lang.String, java.lang.String"
  4111. static="false" final="false" visibility="public"
  4112. deprecated="not deprecated">
  4113. <doc>
  4114. <![CDATA[Construct a new JobQueueInfo object using the queue name and the
  4115. scheduling information passed.
  4116. @param queueName Name of the job queue
  4117. @param schedulingInfo Scheduling Information associated with the job
  4118. queue]]>
  4119. </doc>
  4120. </constructor>
  4121. <method name="setQueueName"
  4122. abstract="false" native="false" synchronized="false"
  4123. static="false" final="false" visibility="protected"
  4124. deprecated="not deprecated">
  4125. <param name="queueName" type="java.lang.String"/>
  4126. <doc>
  4127. <![CDATA[Set the queue name of the JobQueueInfo
  4128. @param queueName Name of the job queue.]]>
  4129. </doc>
  4130. </method>
  4131. <method name="setSchedulingInfo"
  4132. abstract="false" native="false" synchronized="false"
  4133. static="false" final="false" visibility="protected"
  4134. deprecated="not deprecated">
  4135. <param name="schedulingInfo" type="java.lang.String"/>
  4136. <doc>
  4137. <![CDATA[Set the scheduling information associated to particular job queue
  4138. @param schedulingInfo]]>
  4139. </doc>
  4140. </method>
  4141. <method name="setQueueState"
  4142. abstract="false" native="false" synchronized="false"
  4143. static="false" final="false" visibility="protected"
  4144. deprecated="not deprecated">
  4145. <param name="state" type="java.lang.String"/>
  4146. <doc>
  4147. <![CDATA[Set the state of the queue
  4148. @param state state of the queue.]]>
  4149. </doc>
  4150. </method>
  4151. <method name="setChildren"
  4152. abstract="false" native="false" synchronized="false"
  4153. static="false" final="false" visibility="protected"
  4154. deprecated="not deprecated">
  4155. <param name="children" type="java.util.List"/>
  4156. </method>
  4157. <method name="getChildren" return="java.util.List"
  4158. abstract="false" native="false" synchronized="false"
  4159. static="false" final="false" visibility="public"
  4160. deprecated="not deprecated">
  4161. </method>
  4162. <method name="setProperties"
  4163. abstract="false" native="false" synchronized="false"
  4164. static="false" final="false" visibility="protected"
  4165. deprecated="not deprecated">
  4166. <param name="props" type="java.util.Properties"/>
  4167. </method>
  4168. <method name="setJobStatuses"
  4169. abstract="false" native="false" synchronized="false"
  4170. static="false" final="false" visibility="protected"
  4171. deprecated="not deprecated">
  4172. <param name="stats" type="org.apache.hadoop.mapreduce.JobStatus[]"/>
  4173. </method>
  4174. <doc>
  4175. <![CDATA[Class that contains the information regarding the Job Queues which are
  4176. maintained by the Hadoop Map/Reduce framework.]]>
  4177. </doc>
  4178. </class>
  4179. <!-- end class org.apache.hadoop.mapred.JobQueueInfo -->
  4180. <!-- start class org.apache.hadoop.mapred.JobStatus -->
  4181. <class name="JobStatus" extends="org.apache.hadoop.mapreduce.JobStatus"
  4182. abstract="false"
  4183. static="false" final="false" visibility="public"
  4184. deprecated="not deprecated">
  4185. <constructor name="JobStatus"
  4186. static="false" final="false" visibility="public"
  4187. deprecated="not deprecated">
  4188. </constructor>
  4189. <constructor name="JobStatus" type="org.apache.hadoop.mapred.JobID, float, float, float, int, java.lang.String, java.lang.String, java.lang.String, java.lang.String"
  4190. static="false" final="false" visibility="public"
  4191. deprecated="not deprecated">
  4192. <doc>
  4193. <![CDATA[Create a job status object for a given jobid.
  4194. @param jobid The jobid of the job
  4195. @param mapProgress The progress made on the maps
  4196. @param reduceProgress The progress made on the reduces
  4197. @param cleanupProgress The progress made on cleanup
  4198. @param runState The current state of the job
  4199. @param user userid of the person who submitted the job.
  4200. @param jobName user-specified job name.
  4201. @param jobFile job configuration file.
  4202. @param trackingUrl link to the web-ui for details of the job.]]>
  4203. </doc>
  4204. </constructor>
  4205. <constructor name="JobStatus" type="org.apache.hadoop.mapred.JobID, float, float, int, java.lang.String, java.lang.String, java.lang.String, java.lang.String"
  4206. static="false" final="false" visibility="public"
  4207. deprecated="not deprecated">
  4208. <doc>
  4209. <![CDATA[Create a job status object for a given jobid.
  4210. @param jobid The jobid of the job
  4211. @param mapProgress The progress made on the maps
  4212. @param reduceProgress The progress made on the reduces
  4213. @param runState The current state of the job
  4214. @param user userid of the person who submitted the job.
  4215. @param jobName user-specified job name.
  4216. @param jobFile job configuration file.
  4217. @param trackingUrl link to the web-ui for details of the job.]]>
  4218. </doc>
  4219. </constructor>
  4220. <constructor name="JobStatus" type="org.apache.hadoop.mapred.JobID, float, float, float, int, org.apache.hadoop.mapred.JobPriority, java.lang.String, java.lang.String, java.lang.String, java.lang.String"
  4221. static="false" final="false" visibility="public"
  4222. deprecated="not deprecated">
  4223. <doc>
  4224. <![CDATA[Create a job status object for a given jobid.
  4225. @param jobid The jobid of the job
  4226. @param mapProgress The progress made on the maps
  4227. @param reduceProgress The progress made on the reduces
  4228. @param runState The current state of the job
  4229. @param jp Priority of the job.
  4230. @param user userid of the person who submitted the job.
  4231. @param jobName user-specified job name.
  4232. @param jobFile job configuration file.
  4233. @param trackingUrl link to the web-ui for details of the job.]]>
  4234. </doc>
  4235. </constructor>
  4236. <constructor name="JobStatus" type="org.apache.hadoop.mapred.JobID, float, float, float, float, int, org.apache.hadoop.mapred.JobPriority, java.lang.String, java.lang.String, java.lang.String, java.lang.String"
  4237. static="false" final="false" visibility="public"
  4238. deprecated="not deprecated">
  4239. <doc>
  4240. <![CDATA[Create a job status object for a given jobid.
  4241. @param jobid The jobid of the job
  4242. @param setupProgress The progress made on the setup
  4243. @param mapProgress The progress made on the maps
  4244. @param reduceProgress The progress made on the reduces
  4245. @param cleanupProgress The progress made on the cleanup
  4246. @param runState The current state of the job
  4247. @param jp Priority of the job.
  4248. @param user userid of the person who submitted the job.
  4249. @param jobName user-specified job name.
  4250. @param jobFile job configuration file.
  4251. @param trackingUrl link to the web-ui for details of the job.]]>
  4252. </doc>
  4253. </constructor>
  4254. <method name="getJobRunState" return="java.lang.String"
  4255. abstract="false" native="false" synchronized="false"
  4256. static="true" final="false" visibility="public"
  4257. deprecated="not deprecated">
  4258. <param name="state" type="int"/>
  4259. <doc>
  4260. <![CDATA[Helper method to get human-readable state of the job.
  4261. @param state job state
  4262. @return human-readable state of the job]]>
  4263. </doc>
  4264. </method>
  4265. <method name="downgrade" return="org.apache.hadoop.mapred.JobStatus"
  4266. abstract="false" native="false" synchronized="false"
  4267. static="true" final="false" visibility="public"
  4268. deprecated="not deprecated">
  4269. <param name="stat" type="org.apache.hadoop.mapreduce.JobStatus"/>
  4270. </method>
  4271. <method name="getJobId" return="java.lang.String"
  4272. abstract="false" native="false" synchronized="false"
  4273. static="false" final="false" visibility="public"
  4274. deprecated="use getJobID instead">
  4275. <doc>
  4276. <![CDATA[@deprecated use getJobID instead]]>
  4277. </doc>
  4278. </method>
  4279. <method name="getJobID" return="org.apache.hadoop.mapred.JobID"
  4280. abstract="false" native="false" synchronized="false"
  4281. static="false" final="false" visibility="public"
  4282. deprecated="not deprecated">
  4283. <doc>
  4284. <![CDATA[@return The jobid of the Job]]>
  4285. </doc>
  4286. </method>
  4287. <method name="getJobPriority" return="org.apache.hadoop.mapred.JobPriority"
  4288. abstract="false" native="false" synchronized="true"
  4289. static="false" final="false" visibility="public"
  4290. deprecated="not deprecated">
  4291. <doc>
  4292. <![CDATA[Return the priority of the job
  4293. @return job priority]]>
  4294. </doc>
  4295. </method>
  4296. <method name="setMapProgress"
  4297. abstract="false" native="false" synchronized="true"
  4298. static="false" final="false" visibility="protected"
  4299. deprecated="not deprecated">
  4300. <param name="p" type="float"/>
  4301. <doc>
  4302. <![CDATA[Sets the map progress of this job
  4303. @param p The value of map progress to set to]]>
  4304. </doc>
  4305. </method>
  4306. <method name="setCleanupProgress"
  4307. abstract="false" native="false" synchronized="true"
  4308. static="false" final="false" visibility="protected"
  4309. deprecated="not deprecated">
  4310. <param name="p" type="float"/>
  4311. <doc>
  4312. <![CDATA[Sets the cleanup progress of this job
  4313. @param p The value of cleanup progress to set to]]>
  4314. </doc>
  4315. </method>
  4316. <method name="setSetupProgress"
  4317. abstract="false" native="false" synchronized="true"
  4318. static="false" final="false" visibility="protected"
  4319. deprecated="not deprecated">
  4320. <param name="p" type="float"/>
  4321. <doc>
  4322. <![CDATA[Sets the setup progress of this job
  4323. @param p The value of setup progress to set to]]>
  4324. </doc>
  4325. </method>
  4326. <method name="setReduceProgress"
  4327. abstract="false" native="false" synchronized="true"
  4328. static="false" final="false" visibility="protected"
  4329. deprecated="not deprecated">
  4330. <param name="p" type="float"/>
  4331. <doc>
  4332. <![CDATA[Sets the reduce progress of this Job
  4333. @param p The value of reduce progress to set to]]>
  4334. </doc>
  4335. </method>
  4336. <method name="setFinishTime"
  4337. abstract="false" native="false" synchronized="true"
  4338. static="false" final="false" visibility="protected"
  4339. deprecated="not deprecated">
  4340. <param name="finishTime" type="long"/>
  4341. <doc>
  4342. <![CDATA[Set the finish time of the job
  4343. @param finishTime The finishTime of the job]]>
  4344. </doc>
  4345. </method>
  4346. <method name="setHistoryFile"
  4347. abstract="false" native="false" synchronized="true"
  4348. static="false" final="false" visibility="protected"
  4349. deprecated="not deprecated">
  4350. <param name="historyFile" type="java.lang.String"/>
  4351. <doc>
  4352. <![CDATA[Set the job history file url for a completed job]]>
  4353. </doc>
  4354. </method>
  4355. <method name="setTrackingUrl"
  4356. abstract="false" native="false" synchronized="true"
  4357. static="false" final="false" visibility="protected"
  4358. deprecated="not deprecated">
  4359. <param name="trackingUrl" type="java.lang.String"/>
  4360. <doc>
  4361. <![CDATA[Set the link to the web-ui for details of the job.]]>
  4362. </doc>
  4363. </method>
  4364. <method name="setRetired"
  4365. abstract="false" native="false" synchronized="true"
  4366. static="false" final="false" visibility="protected"
  4367. deprecated="not deprecated">
  4368. <doc>
  4369. <![CDATA[Set the job retire flag to true.]]>
  4370. </doc>
  4371. </method>
  4372. <method name="setRunState"
  4373. abstract="false" native="false" synchronized="true"
  4374. static="false" final="false" visibility="protected"
  4375. deprecated="not deprecated">
  4376. <param name="state" type="int"/>
  4377. <doc>
  4378. <![CDATA[Change the current run state of the job.]]>
  4379. </doc>
  4380. </method>
  4381. <method name="getRunState" return="int"
  4382. abstract="false" native="false" synchronized="true"
  4383. static="false" final="false" visibility="public"
  4384. deprecated="not deprecated">
  4385. <doc>
  4386. <![CDATA[@return running state of the job]]>
  4387. </doc>
  4388. </method>
  4389. <method name="setStartTime"
  4390. abstract="false" native="false" synchronized="true"
  4391. static="false" final="false" visibility="protected"
  4392. deprecated="not deprecated">
  4393. <param name="startTime" type="long"/>
  4394. <doc>
  4395. <![CDATA[Set the start time of the job
  4396. @param startTime The startTime of the job]]>
  4397. </doc>
  4398. </method>
  4399. <method name="setUsername"
  4400. abstract="false" native="false" synchronized="true"
  4401. static="false" final="false" visibility="protected"
  4402. deprecated="not deprecated">
  4403. <param name="userName" type="java.lang.String"/>
  4404. <doc>
  4405. <![CDATA[@param userName The username of the job]]>
  4406. </doc>
  4407. </method>
  4408. <method name="setSchedulingInfo"
  4409. abstract="false" native="false" synchronized="true"
  4410. static="false" final="false" visibility="protected"
  4411. deprecated="not deprecated">
  4412. <param name="schedulingInfo" type="java.lang.String"/>
  4413. <doc>
  4414. <![CDATA[Used to set the scheduling information associated to a particular Job.
  4415. @param schedulingInfo Scheduling information of the job]]>
  4416. </doc>
  4417. </method>
  4418. <method name="setJobACLs"
  4419. abstract="false" native="false" synchronized="true"
  4420. static="false" final="false" visibility="protected"
  4421. deprecated="not deprecated">
  4422. <param name="acls" type="java.util.Map"/>
  4423. </method>
  4424. <method name="setJobPriority"
  4425. abstract="false" native="false" synchronized="true"
  4426. static="false" final="false" visibility="public"
  4427. deprecated="not deprecated">
  4428. <param name="jp" type="org.apache.hadoop.mapred.JobPriority"/>
  4429. <doc>
  4430. <![CDATA[Set the priority of the job, defaulting to NORMAL.
  4431. @param jp new job priority]]>
  4432. </doc>
  4433. </method>
  4434. <method name="mapProgress" return="float"
  4435. abstract="false" native="false" synchronized="true"
  4436. static="false" final="false" visibility="public"
  4437. deprecated="not deprecated">
  4438. <doc>
  4439. <![CDATA[@return Percentage of progress in maps]]>
  4440. </doc>
  4441. </method>
  4442. <method name="cleanupProgress" return="float"
  4443. abstract="false" native="false" synchronized="true"
  4444. static="false" final="false" visibility="public"
  4445. deprecated="not deprecated">
  4446. <doc>
  4447. <![CDATA[@return Percentage of progress in cleanup]]>
  4448. </doc>
  4449. </method>
  4450. <method name="setupProgress" return="float"
  4451. abstract="false" native="false" synchronized="true"
  4452. static="false" final="false" visibility="public"
  4453. deprecated="not deprecated">
  4454. <doc>
  4455. <![CDATA[@return Percentage of progress in setup]]>
  4456. </doc>
  4457. </method>
  4458. <method name="reduceProgress" return="float"
  4459. abstract="false" native="false" synchronized="true"
  4460. static="false" final="false" visibility="public"
  4461. deprecated="not deprecated">
  4462. <doc>
  4463. <![CDATA[@return Percentage of progress in reduce]]>
  4464. </doc>
  4465. </method>
  4466. <field name="RUNNING" type="int"
  4467. transient="false" volatile="false"
  4468. static="true" final="true" visibility="public"
  4469. deprecated="not deprecated">
  4470. </field>
  4471. <field name="SUCCEEDED" type="int"
  4472. transient="false" volatile="false"
  4473. static="true" final="true" visibility="public"
  4474. deprecated="not deprecated">
  4475. </field>
  4476. <field name="FAILED" type="int"
  4477. transient="false" volatile="false"
  4478. static="true" final="true" visibility="public"
  4479. deprecated="not deprecated">
  4480. </field>
  4481. <field name="PREP" type="int"
  4482. transient="false" volatile="false"
  4483. static="true" final="true" visibility="public"
  4484. deprecated="not deprecated">
  4485. </field>
  4486. <field name="KILLED" type="int"
  4487. transient="false" volatile="false"
  4488. static="true" final="true" visibility="public"
  4489. deprecated="not deprecated">
  4490. </field>
  4491. <doc>
  4492. <![CDATA[Describes the current status of a job. This is
  4493. not intended to be a comprehensive piece of data.
  4494. For that, look at JobProfile.]]>
  4495. </doc>
  4496. </class>
  4497. <!-- end class org.apache.hadoop.mapred.JobStatus -->
  4498. <!-- start class org.apache.hadoop.mapred.KeyValueLineRecordReader -->
  4499. <class name="KeyValueLineRecordReader" extends="java.lang.Object"
  4500. abstract="false"
  4501. static="false" final="false" visibility="public"
  4502. deprecated="not deprecated">
  4503. <implements name="org.apache.hadoop.mapred.RecordReader"/>
  4504. <constructor name="KeyValueLineRecordReader" type="org.apache.hadoop.conf.Configuration, org.apache.hadoop.mapred.FileSplit"
  4505. static="false" final="false" visibility="public"
  4506. deprecated="not deprecated">
  4507. <exception name="IOException" type="java.io.IOException"/>
  4508. </constructor>
  4509. <method name="getKeyClass" return="java.lang.Class"
  4510. abstract="false" native="false" synchronized="false"
  4511. static="false" final="false" visibility="public"
  4512. deprecated="not deprecated">
  4513. </method>
  4514. <method name="createKey" return="org.apache.hadoop.io.Text"
  4515. abstract="false" native="false" synchronized="false"
  4516. static="false" final="false" visibility="public"
  4517. deprecated="not deprecated">
  4518. </method>
  4519. <method name="createValue" return="org.apache.hadoop.io.Text"
  4520. abstract="false" native="false" synchronized="false"
  4521. static="false" final="false" visibility="public"
  4522. deprecated="not deprecated">
  4523. </method>
  4524. <method name="findSeparator" return="int"
  4525. abstract="false" native="false" synchronized="false"
  4526. static="true" final="false" visibility="public"
  4527. deprecated="not deprecated">
  4528. <param name="utf" type="byte[]"/>
  4529. <param name="start" type="int"/>
  4530. <param name="length" type="int"/>
  4531. <param name="sep" type="byte"/>
  4532. </method>
  4533. <method name="next" return="boolean"
  4534. abstract="false" native="false" synchronized="true"
  4535. static="false" final="false" visibility="public"
  4536. deprecated="not deprecated">
  4537. <param name="key" type="org.apache.hadoop.io.Text"/>
  4538. <param name="value" type="org.apache.hadoop.io.Text"/>
  4539. <exception name="IOException" type="java.io.IOException"/>
  4540. <doc>
  4541. <![CDATA[Read key/value pair in a line.]]>
  4542. </doc>
  4543. </method>
  4544. <method name="getProgress" return="float"
  4545. abstract="false" native="false" synchronized="false"
  4546. static="false" final="false" visibility="public"
  4547. deprecated="not deprecated">
  4548. <exception name="IOException" type="java.io.IOException"/>
  4549. </method>
  4550. <method name="getPos" return="long"
  4551. abstract="false" native="false" synchronized="true"
  4552. static="false" final="false" visibility="public"
  4553. deprecated="not deprecated">
  4554. <exception name="IOException" type="java.io.IOException"/>
  4555. </method>
  4556. <method name="close"
  4557. abstract="false" native="false" synchronized="true"
  4558. static="false" final="false" visibility="public"
  4559. deprecated="not deprecated">
  4560. <exception name="IOException" type="java.io.IOException"/>
  4561. </method>
  4562. <doc>
  4563. <![CDATA[This class treats a line in the input as a key/value pair separated by a
  4564. separator character. The separator can be specified in config file
  4565. under the attribute name mapreduce.input.keyvaluelinerecordreader.key.value.separator. The default
  4566. separator is the tab character ('\t').]]>
  4567. </doc>
  4568. </class>
  4569. <!-- end class org.apache.hadoop.mapred.KeyValueLineRecordReader -->
  4570. <!-- start class org.apache.hadoop.mapred.KeyValueTextInputFormat -->
  4571. <class name="KeyValueTextInputFormat" extends="org.apache.hadoop.mapred.FileInputFormat"
  4572. abstract="false"
  4573. static="false" final="false" visibility="public"
  4574. deprecated="not deprecated">
  4575. <implements name="org.apache.hadoop.mapred.JobConfigurable"/>
  4576. <constructor name="KeyValueTextInputFormat"
  4577. static="false" final="false" visibility="public"
  4578. deprecated="not deprecated">
  4579. </constructor>
  4580. <method name="configure"
  4581. abstract="false" native="false" synchronized="false"
  4582. static="false" final="false" visibility="public"
  4583. deprecated="not deprecated">
  4584. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  4585. </method>
  4586. <method name="isSplitable" return="boolean"
  4587. abstract="false" native="false" synchronized="false"
  4588. static="false" final="false" visibility="protected"
  4589. deprecated="not deprecated">
  4590. <param name="fs" type="org.apache.hadoop.fs.FileSystem"/>
  4591. <param name="file" type="org.apache.hadoop.fs.Path"/>
  4592. </method>
  4593. <method name="getRecordReader" return="org.apache.hadoop.mapred.RecordReader"
  4594. abstract="false" native="false" synchronized="false"
  4595. static="false" final="false" visibility="public"
  4596. deprecated="not deprecated">
  4597. <param name="genericSplit" type="org.apache.hadoop.mapred.InputSplit"/>
  4598. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  4599. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  4600. <exception name="IOException" type="java.io.IOException"/>
  4601. </method>
  4602. <doc>
  4603. <![CDATA[An {@link InputFormat} for plain text files. Files are broken into lines.
  4604. Either linefeed or carriage-return are used to signal end of line. Each line
  4605. is divided into key and value parts by a separator byte. If no such a byte
  4606. exists, the key will be the entire line and value will be empty.]]>
  4607. </doc>
  4608. </class>
  4609. <!-- end class org.apache.hadoop.mapred.KeyValueTextInputFormat -->
  4610. <!-- start class org.apache.hadoop.mapred.LineRecordReader.LineReader -->
  4611. <class name="LineRecordReader.LineReader" extends="org.apache.hadoop.util.LineReader"
  4612. abstract="false"
  4613. static="true" final="false" visibility="public"
  4614. deprecated="not deprecated">
  4615. <constructor name="LineRecordReader.LineReader" type="java.io.InputStream, org.apache.hadoop.conf.Configuration"
  4616. static="false" final="false" visibility="public"
  4617. deprecated="not deprecated">
  4618. <exception name="IOException" type="java.io.IOException"/>
  4619. </constructor>
  4620. <doc>
  4621. <![CDATA[A class that provides a line reader from an input stream.]]>
  4622. </doc>
  4623. </class>
  4624. <!-- end class org.apache.hadoop.mapred.LineRecordReader.LineReader -->
  4625. <!-- start class org.apache.hadoop.mapred.MapFileOutputFormat -->
  4626. <class name="MapFileOutputFormat" extends="org.apache.hadoop.mapred.FileOutputFormat"
  4627. abstract="false"
  4628. static="false" final="false" visibility="public"
  4629. deprecated="not deprecated">
  4630. <constructor name="MapFileOutputFormat"
  4631. static="false" final="false" visibility="public"
  4632. deprecated="not deprecated">
  4633. </constructor>
  4634. <method name="getRecordWriter" return="org.apache.hadoop.mapred.RecordWriter"
  4635. abstract="false" native="false" synchronized="false"
  4636. static="false" final="false" visibility="public"
  4637. deprecated="not deprecated">
  4638. <param name="ignored" type="org.apache.hadoop.fs.FileSystem"/>
  4639. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  4640. <param name="name" type="java.lang.String"/>
  4641. <param name="progress" type="org.apache.hadoop.util.Progressable"/>
  4642. <exception name="IOException" type="java.io.IOException"/>
  4643. </method>
  4644. <method name="getReaders" return="org.apache.hadoop.io.MapFile.Reader[]"
  4645. abstract="false" native="false" synchronized="false"
  4646. static="true" final="false" visibility="public"
  4647. deprecated="not deprecated">
  4648. <param name="ignored" type="org.apache.hadoop.fs.FileSystem"/>
  4649. <param name="dir" type="org.apache.hadoop.fs.Path"/>
  4650. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  4651. <exception name="IOException" type="java.io.IOException"/>
  4652. <doc>
  4653. <![CDATA[Open the output generated by this format.]]>
  4654. </doc>
  4655. </method>
  4656. <method name="getEntry" return="org.apache.hadoop.io.Writable"
  4657. abstract="false" native="false" synchronized="false"
  4658. static="true" final="false" visibility="public"
  4659. deprecated="not deprecated">
  4660. <param name="readers" type="org.apache.hadoop.io.MapFile.Reader[]"/>
  4661. <param name="partitioner" type="org.apache.hadoop.mapred.Partitioner"/>
  4662. <param name="key" type="K"/>
  4663. <param name="value" type="V"/>
  4664. <exception name="IOException" type="java.io.IOException"/>
  4665. <doc>
  4666. <![CDATA[Get an entry from output generated by this class.]]>
  4667. </doc>
  4668. </method>
  4669. <doc>
  4670. <![CDATA[An {@link OutputFormat} that writes {@link MapFile}s.]]>
  4671. </doc>
  4672. </class>
  4673. <!-- end class org.apache.hadoop.mapred.MapFileOutputFormat -->
  4674. <!-- start interface org.apache.hadoop.mapred.Mapper -->
  4675. <interface name="Mapper" abstract="true"
  4676. static="false" final="false" visibility="public"
  4677. deprecated="not deprecated">
  4678. <implements name="org.apache.hadoop.mapred.JobConfigurable"/>
  4679. <implements name="org.apache.hadoop.io.Closeable"/>
  4680. <method name="map"
  4681. abstract="false" native="false" synchronized="false"
  4682. static="false" final="false" visibility="public"
  4683. deprecated="not deprecated">
  4684. <param name="key" type="K1"/>
  4685. <param name="value" type="V1"/>
  4686. <param name="output" type="org.apache.hadoop.mapred.OutputCollector"/>
  4687. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  4688. <exception name="IOException" type="java.io.IOException"/>
  4689. <doc>
  4690. <![CDATA[Maps a single input key/value pair into an intermediate key/value pair.
  4691. <p>Output pairs need not be of the same types as input pairs. A given
  4692. input pair may map to zero or many output pairs. Output pairs are
  4693. collected with calls to
  4694. {@link OutputCollector#collect(Object,Object)}.</p>
  4695. <p>Applications can use the {@link Reporter} provided to report progress
  4696. or just indicate that they are alive. In scenarios where the application
  4697. takes an insignificant amount of time to process individual key/value
  4698. pairs, this is crucial since the framework might assume that the task has
  4699. timed-out and kill that task. The other way of avoiding this is to set
  4700. <a href="{@docRoot}/../mapred-default.html#mapreduce.task.timeout">
  4701. mapreduce.task.timeout</a> to a high-enough value (or even zero for no
  4702. time-outs).</p>
  4703. @param key the input key.
  4704. @param value the input value.
  4705. @param output collects mapped keys and values.
  4706. @param reporter facility to report progress.]]>
  4707. </doc>
  4708. </method>
  4709. <doc>
  4710. <![CDATA[Maps input key/value pairs to a set of intermediate key/value pairs.
  4711. <p>Maps are the individual tasks which transform input records into a
  4712. intermediate records. The transformed intermediate records need not be of
  4713. the same type as the input records. A given input pair may map to zero or
  4714. many output pairs.</p>
  4715. <p>The Hadoop Map-Reduce framework spawns one map task for each
  4716. {@link InputSplit} generated by the {@link InputFormat} for the job.
  4717. <code>Mapper</code> implementations can access the {@link JobConf} for the
  4718. job via the {@link JobConfigurable#configure(JobConf)} and initialize
  4719. themselves. Similarly they can use the {@link Closeable#close()} method for
  4720. de-initialization.</p>
  4721. <p>The framework then calls
  4722. {@link #map(Object, Object, OutputCollector, Reporter)}
  4723. for each key/value pair in the <code>InputSplit</code> for that task.</p>
  4724. <p>All intermediate values associated with a given output key are
  4725. subsequently grouped by the framework, and passed to a {@link Reducer} to
  4726. determine the final output. Users can control the grouping by specifying
  4727. a <code>Comparator</code> via
  4728. {@link JobConf#setOutputKeyComparatorClass(Class)}.</p>
  4729. <p>The grouped <code>Mapper</code> outputs are partitioned per
  4730. <code>Reducer</code>. Users can control which keys (and hence records) go to
  4731. which <code>Reducer</code> by implementing a custom {@link Partitioner}.
  4732. <p>Users can optionally specify a <code>combiner</code>, via
  4733. {@link JobConf#setCombinerClass(Class)}, to perform local aggregation of the
  4734. intermediate outputs, which helps to cut down the amount of data transferred
  4735. from the <code>Mapper</code> to the <code>Reducer</code>.
  4736. <p>The intermediate, grouped outputs are always stored in
  4737. {@link SequenceFile}s. Applications can specify if and how the intermediate
  4738. outputs are to be compressed and which {@link CompressionCodec}s are to be
  4739. used via the <code>JobConf</code>.</p>
  4740. <p>If the job has
  4741. <a href="{@docRoot}/org/apache/hadoop/mapred/JobConf.html#ReducerNone">zero
  4742. reduces</a> then the output of the <code>Mapper</code> is directly written
  4743. to the {@link FileSystem} without grouping by keys.</p>
  4744. <p>Example:</p>
  4745. <p><blockquote><pre>
  4746. public class MyMapper&lt;K extends WritableComparable, V extends Writable&gt;
  4747. extends MapReduceBase implements Mapper&lt;K, V, K, V&gt; {
  4748. static enum MyCounters { NUM_RECORDS }
  4749. private String mapTaskId;
  4750. private String inputFile;
  4751. private int noRecords = 0;
  4752. public void configure(JobConf job) {
  4753. mapTaskId = job.get(JobContext.TASK_ATTEMPT_ID);
  4754. inputFile = job.get(JobContext.MAP_INPUT_FILE);
  4755. }
  4756. public void map(K key, V val,
  4757. OutputCollector&lt;K, V&gt; output, Reporter reporter)
  4758. throws IOException {
  4759. // Process the &lt;key, value&gt; pair (assume this takes a while)
  4760. // ...
  4761. // ...
  4762. // Let the framework know that we are alive, and kicking!
  4763. // reporter.progress();
  4764. // Process some more
  4765. // ...
  4766. // ...
  4767. // Increment the no. of &lt;key, value&gt; pairs processed
  4768. ++noRecords;
  4769. // Increment counters
  4770. reporter.incrCounter(NUM_RECORDS, 1);
  4771. // Every 100 records update application-level status
  4772. if ((noRecords%100) == 0) {
  4773. reporter.setStatus(mapTaskId + " processed " + noRecords +
  4774. " from input-file: " + inputFile);
  4775. }
  4776. // Output the result
  4777. output.collect(key, val);
  4778. }
  4779. }
  4780. </pre></blockquote></p>
  4781. <p>Applications may write a custom {@link MapRunnable} to exert greater
  4782. control on map processing e.g. multi-threaded <code>Mapper</code>s etc.</p>
  4783. @see JobConf
  4784. @see InputFormat
  4785. @see Partitioner
  4786. @see Reducer
  4787. @see MapReduceBase
  4788. @see MapRunnable
  4789. @see SequenceFile]]>
  4790. </doc>
  4791. </interface>
  4792. <!-- end interface org.apache.hadoop.mapred.Mapper -->
  4793. <!-- start class org.apache.hadoop.mapred.MapReduceBase -->
  4794. <class name="MapReduceBase" extends="java.lang.Object"
  4795. abstract="false"
  4796. static="false" final="false" visibility="public"
  4797. deprecated="not deprecated">
  4798. <implements name="org.apache.hadoop.io.Closeable"/>
  4799. <implements name="org.apache.hadoop.mapred.JobConfigurable"/>
  4800. <constructor name="MapReduceBase"
  4801. static="false" final="false" visibility="public"
  4802. deprecated="not deprecated">
  4803. </constructor>
  4804. <method name="close"
  4805. abstract="false" native="false" synchronized="false"
  4806. static="false" final="false" visibility="public"
  4807. deprecated="not deprecated">
  4808. <exception name="IOException" type="java.io.IOException"/>
  4809. <doc>
  4810. <![CDATA[Default implementation that does nothing.]]>
  4811. </doc>
  4812. </method>
  4813. <method name="configure"
  4814. abstract="false" native="false" synchronized="false"
  4815. static="false" final="false" visibility="public"
  4816. deprecated="not deprecated">
  4817. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  4818. <doc>
  4819. <![CDATA[Default implementation that does nothing.]]>
  4820. </doc>
  4821. </method>
  4822. <doc>
  4823. <![CDATA[Base class for {@link Mapper} and {@link Reducer} implementations.
  4824. <p>Provides default no-op implementations for a few methods, most non-trivial
  4825. applications need to override some of them.</p>]]>
  4826. </doc>
  4827. </class>
  4828. <!-- end class org.apache.hadoop.mapred.MapReduceBase -->
  4829. <!-- start interface org.apache.hadoop.mapred.MapRunnable -->
  4830. <interface name="MapRunnable" abstract="true"
  4831. static="false" final="false" visibility="public"
  4832. deprecated="not deprecated">
  4833. <implements name="org.apache.hadoop.mapred.JobConfigurable"/>
  4834. <method name="run"
  4835. abstract="false" native="false" synchronized="false"
  4836. static="false" final="false" visibility="public"
  4837. deprecated="not deprecated">
  4838. <param name="input" type="org.apache.hadoop.mapred.RecordReader"/>
  4839. <param name="output" type="org.apache.hadoop.mapred.OutputCollector"/>
  4840. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  4841. <exception name="IOException" type="java.io.IOException"/>
  4842. <doc>
  4843. <![CDATA[Start mapping input <tt>&lt;key, value&gt;</tt> pairs.
  4844. <p>Mapping of input records to output records is complete when this method
  4845. returns.</p>
  4846. @param input the {@link RecordReader} to read the input records.
  4847. @param output the {@link OutputCollector} to collect the outputrecords.
  4848. @param reporter {@link Reporter} to report progress, status-updates etc.
  4849. @throws IOException]]>
  4850. </doc>
  4851. </method>
  4852. <doc>
  4853. <![CDATA[Expert: Generic interface for {@link Mapper}s.
  4854. <p>Custom implementations of <code>MapRunnable</code> can exert greater
  4855. control on map processing e.g. multi-threaded, asynchronous mappers etc.</p>
  4856. @see Mapper]]>
  4857. </doc>
  4858. </interface>
  4859. <!-- end interface org.apache.hadoop.mapred.MapRunnable -->
  4860. <!-- start class org.apache.hadoop.mapred.MapRunner -->
  4861. <class name="MapRunner" extends="java.lang.Object"
  4862. abstract="false"
  4863. static="false" final="false" visibility="public"
  4864. deprecated="not deprecated">
  4865. <implements name="org.apache.hadoop.mapred.MapRunnable"/>
  4866. <constructor name="MapRunner"
  4867. static="false" final="false" visibility="public"
  4868. deprecated="not deprecated">
  4869. </constructor>
  4870. <method name="configure"
  4871. abstract="false" native="false" synchronized="false"
  4872. static="false" final="false" visibility="public"
  4873. deprecated="not deprecated">
  4874. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  4875. </method>
  4876. <method name="run"
  4877. abstract="false" native="false" synchronized="false"
  4878. static="false" final="false" visibility="public"
  4879. deprecated="not deprecated">
  4880. <param name="input" type="org.apache.hadoop.mapred.RecordReader"/>
  4881. <param name="output" type="org.apache.hadoop.mapred.OutputCollector"/>
  4882. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  4883. <exception name="IOException" type="java.io.IOException"/>
  4884. </method>
  4885. <method name="getMapper" return="org.apache.hadoop.mapred.Mapper"
  4886. abstract="false" native="false" synchronized="false"
  4887. static="false" final="false" visibility="protected"
  4888. deprecated="not deprecated">
  4889. </method>
  4890. <doc>
  4891. <![CDATA[Default {@link MapRunnable} implementation.]]>
  4892. </doc>
  4893. </class>
  4894. <!-- end class org.apache.hadoop.mapred.MapRunner -->
  4895. <!-- start class org.apache.hadoop.mapred.MultiFileInputFormat -->
  4896. <class name="MultiFileInputFormat" extends="org.apache.hadoop.mapred.FileInputFormat"
  4897. abstract="true"
  4898. static="false" final="false" visibility="public"
  4899. deprecated="not deprecated">
  4900. <constructor name="MultiFileInputFormat"
  4901. static="false" final="false" visibility="public"
  4902. deprecated="not deprecated">
  4903. </constructor>
  4904. <method name="getSplits" return="org.apache.hadoop.mapred.InputSplit[]"
  4905. abstract="false" native="false" synchronized="false"
  4906. static="false" final="false" visibility="public"
  4907. deprecated="not deprecated">
  4908. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  4909. <param name="numSplits" type="int"/>
  4910. <exception name="IOException" type="java.io.IOException"/>
  4911. </method>
  4912. <method name="getRecordReader" return="org.apache.hadoop.mapred.RecordReader"
  4913. abstract="true" native="false" synchronized="false"
  4914. static="false" final="false" visibility="public"
  4915. deprecated="not deprecated">
  4916. <param name="split" type="org.apache.hadoop.mapred.InputSplit"/>
  4917. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  4918. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  4919. <exception name="IOException" type="java.io.IOException"/>
  4920. </method>
  4921. <doc>
  4922. <![CDATA[An abstract {@link InputFormat} that returns {@link MultiFileSplit}'s
  4923. in {@link #getSplits(JobConf, int)} method. Splits are constructed from
  4924. the files under the input paths. Each split returned contains <i>nearly</i>
  4925. equal content length. <br>
  4926. Subclasses implement {@link #getRecordReader(InputSplit, JobConf, Reporter)}
  4927. to construct <code>RecordReader</code>'s for <code>MultiFileSplit</code>'s.
  4928. @see MultiFileSplit]]>
  4929. </doc>
  4930. </class>
  4931. <!-- end class org.apache.hadoop.mapred.MultiFileInputFormat -->
  4932. <!-- start class org.apache.hadoop.mapred.MultiFileSplit -->
  4933. <class name="MultiFileSplit" extends="org.apache.hadoop.mapred.lib.CombineFileSplit"
  4934. abstract="false"
  4935. static="false" final="false" visibility="public"
  4936. deprecated="not deprecated">
  4937. <constructor name="MultiFileSplit" type="org.apache.hadoop.mapred.JobConf, org.apache.hadoop.fs.Path[], long[]"
  4938. static="false" final="false" visibility="public"
  4939. deprecated="not deprecated">
  4940. </constructor>
  4941. <method name="getLocations" return="java.lang.String[]"
  4942. abstract="false" native="false" synchronized="false"
  4943. static="false" final="false" visibility="public"
  4944. deprecated="not deprecated">
  4945. <exception name="IOException" type="java.io.IOException"/>
  4946. </method>
  4947. <method name="toString" return="java.lang.String"
  4948. abstract="false" native="false" synchronized="false"
  4949. static="false" final="false" visibility="public"
  4950. deprecated="not deprecated">
  4951. </method>
  4952. <doc>
  4953. <![CDATA[A sub-collection of input files. Unlike {@link FileSplit}, MultiFileSplit
  4954. class does not represent a split of a file, but a split of input files
  4955. into smaller sets. The atomic unit of split is a file. <br>
  4956. MultiFileSplit can be used to implement {@link RecordReader}'s, with
  4957. reading one record per file.
  4958. @see FileSplit
  4959. @see MultiFileInputFormat]]>
  4960. </doc>
  4961. </class>
  4962. <!-- end class org.apache.hadoop.mapred.MultiFileSplit -->
  4963. <!-- start interface org.apache.hadoop.mapred.OutputCollector -->
  4964. <interface name="OutputCollector" abstract="true"
  4965. static="false" final="false" visibility="public"
  4966. deprecated="not deprecated">
  4967. <method name="collect"
  4968. abstract="false" native="false" synchronized="false"
  4969. static="false" final="false" visibility="public"
  4970. deprecated="not deprecated">
  4971. <param name="key" type="K"/>
  4972. <param name="value" type="V"/>
  4973. <exception name="IOException" type="java.io.IOException"/>
  4974. <doc>
  4975. <![CDATA[Adds a key/value pair to the output.
  4976. @param key the key to collect.
  4977. @param value to value to collect.
  4978. @throws IOException]]>
  4979. </doc>
  4980. </method>
  4981. <doc>
  4982. <![CDATA[Collects the <code>&lt;key, value&gt;</code> pairs output by {@link Mapper}s
  4983. and {@link Reducer}s.
  4984. <p><code>OutputCollector</code> is the generalization of the facility
  4985. provided by the Map-Reduce framework to collect data output by either the
  4986. <code>Mapper</code> or the <code>Reducer</code> i.e. intermediate outputs
  4987. or the output of the job.</p>]]>
  4988. </doc>
  4989. </interface>
  4990. <!-- end interface org.apache.hadoop.mapred.OutputCollector -->
  4991. <!-- start class org.apache.hadoop.mapred.OutputCommitter -->
  4992. <class name="OutputCommitter" extends="org.apache.hadoop.mapreduce.OutputCommitter"
  4993. abstract="true"
  4994. static="false" final="false" visibility="public"
  4995. deprecated="not deprecated">
  4996. <constructor name="OutputCommitter"
  4997. static="false" final="false" visibility="public"
  4998. deprecated="not deprecated">
  4999. </constructor>
  5000. <method name="setupJob"
  5001. abstract="true" native="false" synchronized="false"
  5002. static="false" final="false" visibility="public"
  5003. deprecated="not deprecated">
  5004. <param name="jobContext" type="org.apache.hadoop.mapred.JobContext"/>
  5005. <exception name="IOException" type="java.io.IOException"/>
  5006. <doc>
  5007. <![CDATA[For the framework to setup the job output during initialization
  5008. @param jobContext Context of the job whose output is being written.
  5009. @throws IOException if temporary output could not be created]]>
  5010. </doc>
  5011. </method>
  5012. <method name="cleanupJob"
  5013. abstract="false" native="false" synchronized="false"
  5014. static="false" final="false" visibility="public"
  5015. deprecated="Use {@link #commitJob(JobContext)} or
  5016. {@link #abortJob(JobContext, int)} instead.">
  5017. <param name="jobContext" type="org.apache.hadoop.mapred.JobContext"/>
  5018. <exception name="IOException" type="java.io.IOException"/>
  5019. <doc>
  5020. <![CDATA[For cleaning up the job's output after job completion
  5021. @param jobContext Context of the job whose output is being written.
  5022. @throws IOException
  5023. @deprecated Use {@link #commitJob(JobContext)} or
  5024. {@link #abortJob(JobContext, int)} instead.]]>
  5025. </doc>
  5026. </method>
  5027. <method name="commitJob"
  5028. abstract="false" native="false" synchronized="false"
  5029. static="false" final="false" visibility="public"
  5030. deprecated="not deprecated">
  5031. <param name="jobContext" type="org.apache.hadoop.mapred.JobContext"/>
  5032. <exception name="IOException" type="java.io.IOException"/>
  5033. <doc>
  5034. <![CDATA[For committing job's output after successful job completion. Note that this
  5035. is invoked for jobs with final runstate as SUCCESSFUL.
  5036. @param jobContext Context of the job whose output is being written.
  5037. @throws IOException]]>
  5038. </doc>
  5039. </method>
  5040. <method name="abortJob"
  5041. abstract="false" native="false" synchronized="false"
  5042. static="false" final="false" visibility="public"
  5043. deprecated="not deprecated">
  5044. <param name="jobContext" type="org.apache.hadoop.mapred.JobContext"/>
  5045. <param name="status" type="int"/>
  5046. <exception name="IOException" type="java.io.IOException"/>
  5047. <doc>
  5048. <![CDATA[For aborting an unsuccessful job's output. Note that this is invoked for
  5049. jobs with final runstate as {@link JobStatus#FAILED} or
  5050. {@link JobStatus#KILLED}
  5051. @param jobContext Context of the job whose output is being written.
  5052. @param status final runstate of the job
  5053. @throws IOException]]>
  5054. </doc>
  5055. </method>
  5056. <method name="setupTask"
  5057. abstract="true" native="false" synchronized="false"
  5058. static="false" final="false" visibility="public"
  5059. deprecated="not deprecated">
  5060. <param name="taskContext" type="org.apache.hadoop.mapred.TaskAttemptContext"/>
  5061. <exception name="IOException" type="java.io.IOException"/>
  5062. <doc>
  5063. <![CDATA[Sets up output for the task.
  5064. @param taskContext Context of the task whose output is being written.
  5065. @throws IOException]]>
  5066. </doc>
  5067. </method>
  5068. <method name="needsTaskCommit" return="boolean"
  5069. abstract="true" native="false" synchronized="false"
  5070. static="false" final="false" visibility="public"
  5071. deprecated="not deprecated">
  5072. <param name="taskContext" type="org.apache.hadoop.mapred.TaskAttemptContext"/>
  5073. <exception name="IOException" type="java.io.IOException"/>
  5074. <doc>
  5075. <![CDATA[Check whether task needs a commit
  5076. @param taskContext
  5077. @return true/false
  5078. @throws IOException]]>
  5079. </doc>
  5080. </method>
  5081. <method name="commitTask"
  5082. abstract="true" native="false" synchronized="false"
  5083. static="false" final="false" visibility="public"
  5084. deprecated="not deprecated">
  5085. <param name="taskContext" type="org.apache.hadoop.mapred.TaskAttemptContext"/>
  5086. <exception name="IOException" type="java.io.IOException"/>
  5087. <doc>
  5088. <![CDATA[To promote the task's temporary output to final output location
  5089. The task's output is moved to the job's output directory.
  5090. @param taskContext Context of the task whose output is being written.
  5091. @throws IOException if commit is not]]>
  5092. </doc>
  5093. </method>
  5094. <method name="abortTask"
  5095. abstract="true" native="false" synchronized="false"
  5096. static="false" final="false" visibility="public"
  5097. deprecated="not deprecated">
  5098. <param name="taskContext" type="org.apache.hadoop.mapred.TaskAttemptContext"/>
  5099. <exception name="IOException" type="java.io.IOException"/>
  5100. <doc>
  5101. <![CDATA[Discard the task output
  5102. @param taskContext
  5103. @throws IOException]]>
  5104. </doc>
  5105. </method>
  5106. <method name="setupJob"
  5107. abstract="false" native="false" synchronized="false"
  5108. static="false" final="true" visibility="public"
  5109. deprecated="not deprecated">
  5110. <param name="jobContext" type="org.apache.hadoop.mapreduce.JobContext"/>
  5111. <exception name="IOException" type="java.io.IOException"/>
  5112. <doc>
  5113. <![CDATA[This method implements the new interface by calling the old method. Note
  5114. that the input types are different between the new and old apis and this
  5115. is a bridge between the two.]]>
  5116. </doc>
  5117. </method>
  5118. <method name="cleanupJob"
  5119. abstract="false" native="false" synchronized="false"
  5120. static="false" final="true" visibility="public"
  5121. deprecated="Use {@link #commitJob(org.apache.hadoop.mapreduce.JobContext)}
  5122. or {@link #abortJob(org.apache.hadoop.mapreduce.JobContext, org.apache.hadoop.mapreduce.JobStatus.State)}
  5123. instead.">
  5124. <param name="context" type="org.apache.hadoop.mapreduce.JobContext"/>
  5125. <exception name="IOException" type="java.io.IOException"/>
  5126. <doc>
  5127. <![CDATA[This method implements the new interface by calling the old method. Note
  5128. that the input types are different between the new and old apis and this
  5129. is a bridge between the two.
  5130. @deprecated Use {@link #commitJob(org.apache.hadoop.mapreduce.JobContext)}
  5131. or {@link #abortJob(org.apache.hadoop.mapreduce.JobContext, org.apache.hadoop.mapreduce.JobStatus.State)}
  5132. instead.]]>
  5133. </doc>
  5134. </method>
  5135. <method name="commitJob"
  5136. abstract="false" native="false" synchronized="false"
  5137. static="false" final="true" visibility="public"
  5138. deprecated="not deprecated">
  5139. <param name="context" type="org.apache.hadoop.mapreduce.JobContext"/>
  5140. <exception name="IOException" type="java.io.IOException"/>
  5141. <doc>
  5142. <![CDATA[This method implements the new interface by calling the old method. Note
  5143. that the input types are different between the new and old apis and this
  5144. is a bridge between the two.]]>
  5145. </doc>
  5146. </method>
  5147. <method name="abortJob"
  5148. abstract="false" native="false" synchronized="false"
  5149. static="false" final="true" visibility="public"
  5150. deprecated="not deprecated">
  5151. <param name="context" type="org.apache.hadoop.mapreduce.JobContext"/>
  5152. <param name="runState" type="org.apache.hadoop.mapreduce.JobStatus.State"/>
  5153. <exception name="IOException" type="java.io.IOException"/>
  5154. <doc>
  5155. <![CDATA[This method implements the new interface by calling the old method. Note
  5156. that the input types are different between the new and old apis and this
  5157. is a bridge between the two.]]>
  5158. </doc>
  5159. </method>
  5160. <method name="setupTask"
  5161. abstract="false" native="false" synchronized="false"
  5162. static="false" final="true" visibility="public"
  5163. deprecated="not deprecated">
  5164. <param name="taskContext" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  5165. <exception name="IOException" type="java.io.IOException"/>
  5166. <doc>
  5167. <![CDATA[This method implements the new interface by calling the old method. Note
  5168. that the input types are different between the new and old apis and this
  5169. is a bridge between the two.]]>
  5170. </doc>
  5171. </method>
  5172. <method name="needsTaskCommit" return="boolean"
  5173. abstract="false" native="false" synchronized="false"
  5174. static="false" final="true" visibility="public"
  5175. deprecated="not deprecated">
  5176. <param name="taskContext" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  5177. <exception name="IOException" type="java.io.IOException"/>
  5178. <doc>
  5179. <![CDATA[This method implements the new interface by calling the old method. Note
  5180. that the input types are different between the new and old apis and this
  5181. is a bridge between the two.]]>
  5182. </doc>
  5183. </method>
  5184. <method name="commitTask"
  5185. abstract="false" native="false" synchronized="false"
  5186. static="false" final="true" visibility="public"
  5187. deprecated="not deprecated">
  5188. <param name="taskContext" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  5189. <exception name="IOException" type="java.io.IOException"/>
  5190. <doc>
  5191. <![CDATA[This method implements the new interface by calling the old method. Note
  5192. that the input types are different between the new and old apis and this
  5193. is a bridge between the two.]]>
  5194. </doc>
  5195. </method>
  5196. <method name="abortTask"
  5197. abstract="false" native="false" synchronized="false"
  5198. static="false" final="true" visibility="public"
  5199. deprecated="not deprecated">
  5200. <param name="taskContext" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  5201. <exception name="IOException" type="java.io.IOException"/>
  5202. <doc>
  5203. <![CDATA[This method implements the new interface by calling the old method. Note
  5204. that the input types are different between the new and old apis and this
  5205. is a bridge between the two.]]>
  5206. </doc>
  5207. </method>
  5208. <doc>
  5209. <![CDATA[<code>OutputCommitter</code> describes the commit of task output for a
  5210. Map-Reduce job.
  5211. <p>The Map-Reduce framework relies on the <code>OutputCommitter</code> of
  5212. the job to:<p>
  5213. <ol>
  5214. <li>
  5215. Setup the job during initialization. For example, create the temporary
  5216. output directory for the job during the initialization of the job.
  5217. </li>
  5218. <li>
  5219. Cleanup the job after the job completion. For example, remove the
  5220. temporary output directory after the job completion.
  5221. </li>
  5222. <li>
  5223. Setup the task temporary output.
  5224. </li>
  5225. <li>
  5226. Check whether a task needs a commit. This is to avoid the commit
  5227. procedure if a task does not need commit.
  5228. </li>
  5229. <li>
  5230. Commit of the task output.
  5231. </li>
  5232. <li>
  5233. Discard the task commit.
  5234. </li>
  5235. </ol>
  5236. @see FileOutputCommitter
  5237. @see JobContext
  5238. @see TaskAttemptContext]]>
  5239. </doc>
  5240. </class>
  5241. <!-- end class org.apache.hadoop.mapred.OutputCommitter -->
  5242. <!-- start interface org.apache.hadoop.mapred.OutputFormat -->
  5243. <interface name="OutputFormat" abstract="true"
  5244. static="false" final="false" visibility="public"
  5245. deprecated="not deprecated">
  5246. <method name="getRecordWriter" return="org.apache.hadoop.mapred.RecordWriter"
  5247. abstract="false" native="false" synchronized="false"
  5248. static="false" final="false" visibility="public"
  5249. deprecated="not deprecated">
  5250. <param name="ignored" type="org.apache.hadoop.fs.FileSystem"/>
  5251. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  5252. <param name="name" type="java.lang.String"/>
  5253. <param name="progress" type="org.apache.hadoop.util.Progressable"/>
  5254. <exception name="IOException" type="java.io.IOException"/>
  5255. <doc>
  5256. <![CDATA[Get the {@link RecordWriter} for the given job.
  5257. @param ignored
  5258. @param job configuration for the job whose output is being written.
  5259. @param name the unique name for this part of the output.
  5260. @param progress mechanism for reporting progress while writing to file.
  5261. @return a {@link RecordWriter} to write the output for the job.
  5262. @throws IOException]]>
  5263. </doc>
  5264. </method>
  5265. <method name="checkOutputSpecs"
  5266. abstract="false" native="false" synchronized="false"
  5267. static="false" final="false" visibility="public"
  5268. deprecated="not deprecated">
  5269. <param name="ignored" type="org.apache.hadoop.fs.FileSystem"/>
  5270. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  5271. <exception name="IOException" type="java.io.IOException"/>
  5272. <doc>
  5273. <![CDATA[Check for validity of the output-specification for the job.
  5274. <p>This is to validate the output specification for the job when it is
  5275. a job is submitted. Typically checks that it does not already exist,
  5276. throwing an exception when it already exists, so that output is not
  5277. overwritten.</p>
  5278. @param ignored
  5279. @param job job configuration.
  5280. @throws IOException when output should not be attempted]]>
  5281. </doc>
  5282. </method>
  5283. <doc>
  5284. <![CDATA[<code>OutputFormat</code> describes the output-specification for a
  5285. Map-Reduce job.
  5286. <p>The Map-Reduce framework relies on the <code>OutputFormat</code> of the
  5287. job to:<p>
  5288. <ol>
  5289. <li>
  5290. Validate the output-specification of the job. For e.g. check that the
  5291. output directory doesn't already exist.
  5292. <li>
  5293. Provide the {@link RecordWriter} implementation to be used to write out
  5294. the output files of the job. Output files are stored in a
  5295. {@link FileSystem}.
  5296. </li>
  5297. </ol>
  5298. @see RecordWriter
  5299. @see JobConf]]>
  5300. </doc>
  5301. </interface>
  5302. <!-- end interface org.apache.hadoop.mapred.OutputFormat -->
  5303. <!-- start class org.apache.hadoop.mapred.OutputLogFilter -->
  5304. <class name="OutputLogFilter" extends="java.lang.Object"
  5305. abstract="false"
  5306. static="false" final="false" visibility="public"
  5307. deprecated="Use
  5308. {@link org.apache.hadoop.mapred.Utils.OutputFileUtils.OutputLogFilter}
  5309. instead.">
  5310. <implements name="org.apache.hadoop.fs.PathFilter"/>
  5311. <constructor name="OutputLogFilter"
  5312. static="false" final="false" visibility="public"
  5313. deprecated="not deprecated">
  5314. </constructor>
  5315. <method name="accept" return="boolean"
  5316. abstract="false" native="false" synchronized="false"
  5317. static="false" final="false" visibility="public"
  5318. deprecated="not deprecated">
  5319. <param name="path" type="org.apache.hadoop.fs.Path"/>
  5320. </method>
  5321. <doc>
  5322. <![CDATA[This class filters log files from directory given
  5323. It doesnt accept paths having _logs.
  5324. This can be used to list paths of output directory as follows:
  5325. Path[] fileList = FileUtil.stat2Paths(fs.listStatus(outDir,
  5326. new OutputLogFilter()));
  5327. @deprecated Use
  5328. {@link org.apache.hadoop.mapred.Utils.OutputFileUtils.OutputLogFilter}
  5329. instead.]]>
  5330. </doc>
  5331. </class>
  5332. <!-- end class org.apache.hadoop.mapred.OutputLogFilter -->
  5333. <!-- start interface org.apache.hadoop.mapred.Partitioner -->
  5334. <interface name="Partitioner" abstract="true"
  5335. static="false" final="false" visibility="public"
  5336. deprecated="not deprecated">
  5337. <implements name="org.apache.hadoop.mapred.JobConfigurable"/>
  5338. <method name="getPartition" return="int"
  5339. abstract="false" native="false" synchronized="false"
  5340. static="false" final="false" visibility="public"
  5341. deprecated="not deprecated">
  5342. <param name="key" type="K2"/>
  5343. <param name="value" type="V2"/>
  5344. <param name="numPartitions" type="int"/>
  5345. <doc>
  5346. <![CDATA[Get the paritition number for a given key (hence record) given the total
  5347. number of partitions i.e. number of reduce-tasks for the job.
  5348. <p>Typically a hash function on a all or a subset of the key.</p>
  5349. @param key the key to be paritioned.
  5350. @param value the entry value.
  5351. @param numPartitions the total number of partitions.
  5352. @return the partition number for the <code>key</code>.]]>
  5353. </doc>
  5354. </method>
  5355. <doc>
  5356. <![CDATA[Partitions the key space.
  5357. <p><code>Partitioner</code> controls the partitioning of the keys of the
  5358. intermediate map-outputs. The key (or a subset of the key) is used to derive
  5359. the partition, typically by a hash function. The total number of partitions
  5360. is the same as the number of reduce tasks for the job. Hence this controls
  5361. which of the <code>m</code> reduce tasks the intermediate key (and hence the
  5362. record) is sent for reduction.</p>
  5363. @see Reducer]]>
  5364. </doc>
  5365. </interface>
  5366. <!-- end interface org.apache.hadoop.mapred.Partitioner -->
  5367. <!-- start interface org.apache.hadoop.mapred.RecordReader -->
  5368. <interface name="RecordReader" abstract="true"
  5369. static="false" final="false" visibility="public"
  5370. deprecated="not deprecated">
  5371. <method name="next" return="boolean"
  5372. abstract="false" native="false" synchronized="false"
  5373. static="false" final="false" visibility="public"
  5374. deprecated="not deprecated">
  5375. <param name="key" type="K"/>
  5376. <param name="value" type="V"/>
  5377. <exception name="IOException" type="java.io.IOException"/>
  5378. <doc>
  5379. <![CDATA[Reads the next key/value pair from the input for processing.
  5380. @param key the key to read data into
  5381. @param value the value to read data into
  5382. @return true iff a key/value was read, false if at EOF]]>
  5383. </doc>
  5384. </method>
  5385. <method name="createKey" return="K"
  5386. abstract="false" native="false" synchronized="false"
  5387. static="false" final="false" visibility="public"
  5388. deprecated="not deprecated">
  5389. <doc>
  5390. <![CDATA[Create an object of the appropriate type to be used as a key.
  5391. @return a new key object.]]>
  5392. </doc>
  5393. </method>
  5394. <method name="createValue" return="V"
  5395. abstract="false" native="false" synchronized="false"
  5396. static="false" final="false" visibility="public"
  5397. deprecated="not deprecated">
  5398. <doc>
  5399. <![CDATA[Create an object of the appropriate type to be used as a value.
  5400. @return a new value object.]]>
  5401. </doc>
  5402. </method>
  5403. <method name="getPos" return="long"
  5404. abstract="false" native="false" synchronized="false"
  5405. static="false" final="false" visibility="public"
  5406. deprecated="not deprecated">
  5407. <exception name="IOException" type="java.io.IOException"/>
  5408. <doc>
  5409. <![CDATA[Returns the current position in the input.
  5410. @return the current position in the input.
  5411. @throws IOException]]>
  5412. </doc>
  5413. </method>
  5414. <method name="close"
  5415. abstract="false" native="false" synchronized="false"
  5416. static="false" final="false" visibility="public"
  5417. deprecated="not deprecated">
  5418. <exception name="IOException" type="java.io.IOException"/>
  5419. <doc>
  5420. <![CDATA[Close this {@link InputSplit} to future operations.
  5421. @throws IOException]]>
  5422. </doc>
  5423. </method>
  5424. <method name="getProgress" return="float"
  5425. abstract="false" native="false" synchronized="false"
  5426. static="false" final="false" visibility="public"
  5427. deprecated="not deprecated">
  5428. <exception name="IOException" type="java.io.IOException"/>
  5429. <doc>
  5430. <![CDATA[How much of the input has the {@link RecordReader} consumed i.e.
  5431. has been processed by?
  5432. @return progress from <code>0.0</code> to <code>1.0</code>.
  5433. @throws IOException]]>
  5434. </doc>
  5435. </method>
  5436. <doc>
  5437. <![CDATA[<code>RecordReader</code> reads &lt;key, value&gt; pairs from an
  5438. {@link InputSplit}.
  5439. <p><code>RecordReader</code>, typically, converts the byte-oriented view of
  5440. the input, provided by the <code>InputSplit</code>, and presents a
  5441. record-oriented view for the {@link Mapper} & {@link Reducer} tasks for
  5442. processing. It thus assumes the responsibility of processing record
  5443. boundaries and presenting the tasks with keys and values.</p>
  5444. @see InputSplit
  5445. @see InputFormat]]>
  5446. </doc>
  5447. </interface>
  5448. <!-- end interface org.apache.hadoop.mapred.RecordReader -->
  5449. <!-- start interface org.apache.hadoop.mapred.RecordWriter -->
  5450. <interface name="RecordWriter" abstract="true"
  5451. static="false" final="false" visibility="public"
  5452. deprecated="not deprecated">
  5453. <method name="write"
  5454. abstract="false" native="false" synchronized="false"
  5455. static="false" final="false" visibility="public"
  5456. deprecated="not deprecated">
  5457. <param name="key" type="K"/>
  5458. <param name="value" type="V"/>
  5459. <exception name="IOException" type="java.io.IOException"/>
  5460. <doc>
  5461. <![CDATA[Writes a key/value pair.
  5462. @param key the key to write.
  5463. @param value the value to write.
  5464. @throws IOException]]>
  5465. </doc>
  5466. </method>
  5467. <method name="close"
  5468. abstract="false" native="false" synchronized="false"
  5469. static="false" final="false" visibility="public"
  5470. deprecated="not deprecated">
  5471. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  5472. <exception name="IOException" type="java.io.IOException"/>
  5473. <doc>
  5474. <![CDATA[Close this <code>RecordWriter</code> to future operations.
  5475. @param reporter facility to report progress.
  5476. @throws IOException]]>
  5477. </doc>
  5478. </method>
  5479. <doc>
  5480. <![CDATA[<code>RecordWriter</code> writes the output &lt;key, value&gt; pairs
  5481. to an output file.
  5482. <p><code>RecordWriter</code> implementations write the job outputs to the
  5483. {@link FileSystem}.
  5484. @see OutputFormat]]>
  5485. </doc>
  5486. </interface>
  5487. <!-- end interface org.apache.hadoop.mapred.RecordWriter -->
  5488. <!-- start interface org.apache.hadoop.mapred.Reducer -->
  5489. <interface name="Reducer" abstract="true"
  5490. static="false" final="false" visibility="public"
  5491. deprecated="not deprecated">
  5492. <implements name="org.apache.hadoop.mapred.JobConfigurable"/>
  5493. <implements name="org.apache.hadoop.io.Closeable"/>
  5494. <method name="reduce"
  5495. abstract="false" native="false" synchronized="false"
  5496. static="false" final="false" visibility="public"
  5497. deprecated="not deprecated">
  5498. <param name="key" type="K2"/>
  5499. <param name="values" type="java.util.Iterator"/>
  5500. <param name="output" type="org.apache.hadoop.mapred.OutputCollector"/>
  5501. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  5502. <exception name="IOException" type="java.io.IOException"/>
  5503. <doc>
  5504. <![CDATA[<i>Reduces</i> values for a given key.
  5505. <p>The framework calls this method for each
  5506. <code>&lt;key, (list of values)></code> pair in the grouped inputs.
  5507. Output values must be of the same type as input values. Input keys must
  5508. not be altered. The framework will <b>reuse</b> the key and value objects
  5509. that are passed into the reduce, therefore the application should clone
  5510. the objects they want to keep a copy of. In many cases, all values are
  5511. combined into zero or one value.
  5512. </p>
  5513. <p>Output pairs are collected with calls to
  5514. {@link OutputCollector#collect(Object,Object)}.</p>
  5515. <p>Applications can use the {@link Reporter} provided to report progress
  5516. or just indicate that they are alive. In scenarios where the application
  5517. takes an insignificant amount of time to process individual key/value
  5518. pairs, this is crucial since the framework might assume that the task has
  5519. timed-out and kill that task. The other way of avoiding this is to set
  5520. <a href="{@docRoot}/../mapred-default.html#mapreduce.task.timeout">
  5521. mapreduce.task.timeout</a> to a high-enough value (or even zero for no
  5522. time-outs).</p>
  5523. @param key the key.
  5524. @param values the list of values to reduce.
  5525. @param output to collect keys and combined values.
  5526. @param reporter facility to report progress.]]>
  5527. </doc>
  5528. </method>
  5529. <doc>
  5530. <![CDATA[Reduces a set of intermediate values which share a key to a smaller set of
  5531. values.
  5532. <p>The number of <code>Reducer</code>s for the job is set by the user via
  5533. {@link JobConf#setNumReduceTasks(int)}. <code>Reducer</code> implementations
  5534. can access the {@link JobConf} for the job via the
  5535. {@link JobConfigurable#configure(JobConf)} method and initialize themselves.
  5536. Similarly they can use the {@link Closeable#close()} method for
  5537. de-initialization.</p>
  5538. <p><code>Reducer</code> has 3 primary phases:</p>
  5539. <ol>
  5540. <li>
  5541. <h4 id="Shuffle">Shuffle</h4>
  5542. <p><code>Reducer</code> is input the grouped output of a {@link Mapper}.
  5543. In the phase the framework, for each <code>Reducer</code>, fetches the
  5544. relevant partition of the output of all the <code>Mapper</code>s, via HTTP.
  5545. </p>
  5546. </li>
  5547. <li>
  5548. <h4 id="Sort">Sort</h4>
  5549. <p>The framework groups <code>Reducer</code> inputs by <code>key</code>s
  5550. (since different <code>Mapper</code>s may have output the same key) in this
  5551. stage.</p>
  5552. <p>The shuffle and sort phases occur simultaneously i.e. while outputs are
  5553. being fetched they are merged.</p>
  5554. <h5 id="SecondarySort">SecondarySort</h5>
  5555. <p>If equivalence rules for keys while grouping the intermediates are
  5556. different from those for grouping keys before reduction, then one may
  5557. specify a <code>Comparator</code> via
  5558. {@link JobConf#setOutputValueGroupingComparator(Class)}.Since
  5559. {@link JobConf#setOutputKeyComparatorClass(Class)} can be used to
  5560. control how intermediate keys are grouped, these can be used in conjunction
  5561. to simulate <i>secondary sort on values</i>.</p>
  5562. For example, say that you want to find duplicate web pages and tag them
  5563. all with the url of the "best" known example. You would set up the job
  5564. like:
  5565. <ul>
  5566. <li>Map Input Key: url</li>
  5567. <li>Map Input Value: document</li>
  5568. <li>Map Output Key: document checksum, url pagerank</li>
  5569. <li>Map Output Value: url</li>
  5570. <li>Partitioner: by checksum</li>
  5571. <li>OutputKeyComparator: by checksum and then decreasing pagerank</li>
  5572. <li>OutputValueGroupingComparator: by checksum</li>
  5573. </ul>
  5574. </li>
  5575. <li>
  5576. <h4 id="Reduce">Reduce</h4>
  5577. <p>In this phase the
  5578. {@link #reduce(Object, Iterator, OutputCollector, Reporter)}
  5579. method is called for each <code>&lt;key, (list of values)></code> pair in
  5580. the grouped inputs.</p>
  5581. <p>The output of the reduce task is typically written to the
  5582. {@link FileSystem} via
  5583. {@link OutputCollector#collect(Object, Object)}.</p>
  5584. </li>
  5585. </ol>
  5586. <p>The output of the <code>Reducer</code> is <b>not re-sorted</b>.</p>
  5587. <p>Example:</p>
  5588. <p><blockquote><pre>
  5589. public class MyReducer&lt;K extends WritableComparable, V extends Writable&gt;
  5590. extends MapReduceBase implements Reducer&lt;K, V, K, V&gt; {
  5591. static enum MyCounters { NUM_RECORDS }
  5592. private String reduceTaskId;
  5593. private int noKeys = 0;
  5594. public void configure(JobConf job) {
  5595. reduceTaskId = job.get(JobContext.TASK_ATTEMPT_ID);
  5596. }
  5597. public void reduce(K key, Iterator&lt;V&gt; values,
  5598. OutputCollector&lt;K, V&gt; output,
  5599. Reporter reporter)
  5600. throws IOException {
  5601. // Process
  5602. int noValues = 0;
  5603. while (values.hasNext()) {
  5604. V value = values.next();
  5605. // Increment the no. of values for this key
  5606. ++noValues;
  5607. // Process the &lt;key, value&gt; pair (assume this takes a while)
  5608. // ...
  5609. // ...
  5610. // Let the framework know that we are alive, and kicking!
  5611. if ((noValues%10) == 0) {
  5612. reporter.progress();
  5613. }
  5614. // Process some more
  5615. // ...
  5616. // ...
  5617. // Output the &lt;key, value&gt;
  5618. output.collect(key, value);
  5619. }
  5620. // Increment the no. of &lt;key, list of values&gt; pairs processed
  5621. ++noKeys;
  5622. // Increment counters
  5623. reporter.incrCounter(NUM_RECORDS, 1);
  5624. // Every 100 keys update application-level status
  5625. if ((noKeys%100) == 0) {
  5626. reporter.setStatus(reduceTaskId + " processed " + noKeys);
  5627. }
  5628. }
  5629. }
  5630. </pre></blockquote></p>
  5631. @see Mapper
  5632. @see Partitioner
  5633. @see Reporter
  5634. @see MapReduceBase]]>
  5635. </doc>
  5636. </interface>
  5637. <!-- end interface org.apache.hadoop.mapred.Reducer -->
  5638. <!-- start interface org.apache.hadoop.mapred.Reporter -->
  5639. <interface name="Reporter" abstract="true"
  5640. static="false" final="false" visibility="public"
  5641. deprecated="not deprecated">
  5642. <implements name="org.apache.hadoop.util.Progressable"/>
  5643. <method name="setStatus"
  5644. abstract="false" native="false" synchronized="false"
  5645. static="false" final="false" visibility="public"
  5646. deprecated="not deprecated">
  5647. <param name="status" type="java.lang.String"/>
  5648. <doc>
  5649. <![CDATA[Set the status description for the task.
  5650. @param status brief description of the current status.]]>
  5651. </doc>
  5652. </method>
  5653. <method name="getCounter" return="org.apache.hadoop.mapred.Counters.Counter"
  5654. abstract="false" native="false" synchronized="false"
  5655. static="false" final="false" visibility="public"
  5656. deprecated="not deprecated">
  5657. <param name="name" type="java.lang.Enum"/>
  5658. <doc>
  5659. <![CDATA[Get the {@link Counter} of the given group with the given name.
  5660. @param name counter name
  5661. @return the <code>Counter</code> of the given group/name.]]>
  5662. </doc>
  5663. </method>
  5664. <method name="getCounter" return="org.apache.hadoop.mapred.Counters.Counter"
  5665. abstract="false" native="false" synchronized="false"
  5666. static="false" final="false" visibility="public"
  5667. deprecated="not deprecated">
  5668. <param name="group" type="java.lang.String"/>
  5669. <param name="name" type="java.lang.String"/>
  5670. <doc>
  5671. <![CDATA[Get the {@link Counter} of the given group with the given name.
  5672. @param group counter group
  5673. @param name counter name
  5674. @return the <code>Counter</code> of the given group/name.]]>
  5675. </doc>
  5676. </method>
  5677. <method name="incrCounter"
  5678. abstract="false" native="false" synchronized="false"
  5679. static="false" final="false" visibility="public"
  5680. deprecated="not deprecated">
  5681. <param name="key" type="java.lang.Enum"/>
  5682. <param name="amount" type="long"/>
  5683. <doc>
  5684. <![CDATA[Increments the counter identified by the key, which can be of
  5685. any {@link Enum} type, by the specified amount.
  5686. @param key key to identify the counter to be incremented. The key can be
  5687. be any <code>Enum</code>.
  5688. @param amount A non-negative amount by which the counter is to
  5689. be incremented.]]>
  5690. </doc>
  5691. </method>
  5692. <method name="incrCounter"
  5693. abstract="false" native="false" synchronized="false"
  5694. static="false" final="false" visibility="public"
  5695. deprecated="not deprecated">
  5696. <param name="group" type="java.lang.String"/>
  5697. <param name="counter" type="java.lang.String"/>
  5698. <param name="amount" type="long"/>
  5699. <doc>
  5700. <![CDATA[Increments the counter identified by the group and counter name
  5701. by the specified amount.
  5702. @param group name to identify the group of the counter to be incremented.
  5703. @param counter name to identify the counter within the group.
  5704. @param amount A non-negative amount by which the counter is to
  5705. be incremented.]]>
  5706. </doc>
  5707. </method>
  5708. <method name="getInputSplit" return="org.apache.hadoop.mapred.InputSplit"
  5709. abstract="false" native="false" synchronized="false"
  5710. static="false" final="false" visibility="public"
  5711. deprecated="not deprecated">
  5712. <exception name="UnsupportedOperationException" type="java.lang.UnsupportedOperationException"/>
  5713. <doc>
  5714. <![CDATA[Get the {@link InputSplit} object for a map.
  5715. @return the <code>InputSplit</code> that the map is reading from.
  5716. @throws UnsupportedOperationException if called outside a mapper]]>
  5717. </doc>
  5718. </method>
  5719. <field name="NULL" type="org.apache.hadoop.mapred.Reporter"
  5720. transient="false" volatile="false"
  5721. static="true" final="true" visibility="public"
  5722. deprecated="not deprecated">
  5723. <doc>
  5724. <![CDATA[A constant of Reporter type that does nothing.]]>
  5725. </doc>
  5726. </field>
  5727. <doc>
  5728. <![CDATA[A facility for Map-Reduce applications to report progress and update
  5729. counters, status information etc.
  5730. <p>{@link Mapper} and {@link Reducer} can use the <code>Reporter</code>
  5731. provided to report progress or just indicate that they are alive. In
  5732. scenarios where the application takes an insignificant amount of time to
  5733. process individual key/value pairs, this is crucial since the framework
  5734. might assume that the task has timed-out and kill that task.
  5735. <p>Applications can also update {@link Counters} via the provided
  5736. <code>Reporter</code> .</p>
  5737. @see Progressable
  5738. @see Counters]]>
  5739. </doc>
  5740. </interface>
  5741. <!-- end interface org.apache.hadoop.mapred.Reporter -->
  5742. <!-- start interface org.apache.hadoop.mapred.RunningJob -->
  5743. <interface name="RunningJob" abstract="true"
  5744. static="false" final="false" visibility="public"
  5745. deprecated="not deprecated">
  5746. <method name="getConfiguration" return="org.apache.hadoop.conf.Configuration"
  5747. abstract="false" native="false" synchronized="false"
  5748. static="false" final="false" visibility="public"
  5749. deprecated="not deprecated">
  5750. <doc>
  5751. <![CDATA[Get the underlying job configuration
  5752. @return the configuration of the job.]]>
  5753. </doc>
  5754. </method>
  5755. <method name="getID" return="org.apache.hadoop.mapred.JobID"
  5756. abstract="false" native="false" synchronized="false"
  5757. static="false" final="false" visibility="public"
  5758. deprecated="not deprecated">
  5759. <doc>
  5760. <![CDATA[Get the job identifier.
  5761. @return the job identifier.]]>
  5762. </doc>
  5763. </method>
  5764. <method name="getJobID" return="java.lang.String"
  5765. abstract="false" native="false" synchronized="false"
  5766. static="false" final="false" visibility="public"
  5767. deprecated="This method is deprecated and will be removed. Applications should
  5768. rather use {@link #getID()}.">
  5769. <doc>
  5770. <![CDATA[@deprecated This method is deprecated and will be removed. Applications should
  5771. rather use {@link #getID()}.]]>
  5772. </doc>
  5773. </method>
  5774. <method name="getJobName" return="java.lang.String"
  5775. abstract="false" native="false" synchronized="false"
  5776. static="false" final="false" visibility="public"
  5777. deprecated="not deprecated">
  5778. <doc>
  5779. <![CDATA[Get the name of the job.
  5780. @return the name of the job.]]>
  5781. </doc>
  5782. </method>
  5783. <method name="getJobFile" return="java.lang.String"
  5784. abstract="false" native="false" synchronized="false"
  5785. static="false" final="false" visibility="public"
  5786. deprecated="not deprecated">
  5787. <doc>
  5788. <![CDATA[Get the path of the submitted job configuration.
  5789. @return the path of the submitted job configuration.]]>
  5790. </doc>
  5791. </method>
  5792. <method name="getTrackingURL" return="java.lang.String"
  5793. abstract="false" native="false" synchronized="false"
  5794. static="false" final="false" visibility="public"
  5795. deprecated="not deprecated">
  5796. <doc>
  5797. <![CDATA[Get the URL where some job progress information will be displayed.
  5798. @return the URL where some job progress information will be displayed.]]>
  5799. </doc>
  5800. </method>
  5801. <method name="mapProgress" return="float"
  5802. abstract="false" native="false" synchronized="false"
  5803. static="false" final="false" visibility="public"
  5804. deprecated="not deprecated">
  5805. <exception name="IOException" type="java.io.IOException"/>
  5806. <doc>
  5807. <![CDATA[Get the <i>progress</i> of the job's map-tasks, as a float between 0.0
  5808. and 1.0. When all map tasks have completed, the function returns 1.0.
  5809. @return the progress of the job's map-tasks.
  5810. @throws IOException]]>
  5811. </doc>
  5812. </method>
  5813. <method name="reduceProgress" return="float"
  5814. abstract="false" native="false" synchronized="false"
  5815. static="false" final="false" visibility="public"
  5816. deprecated="not deprecated">
  5817. <exception name="IOException" type="java.io.IOException"/>
  5818. <doc>
  5819. <![CDATA[Get the <i>progress</i> of the job's reduce-tasks, as a float between 0.0
  5820. and 1.0. When all reduce tasks have completed, the function returns 1.0.
  5821. @return the progress of the job's reduce-tasks.
  5822. @throws IOException]]>
  5823. </doc>
  5824. </method>
  5825. <method name="cleanupProgress" return="float"
  5826. abstract="false" native="false" synchronized="false"
  5827. static="false" final="false" visibility="public"
  5828. deprecated="not deprecated">
  5829. <exception name="IOException" type="java.io.IOException"/>
  5830. <doc>
  5831. <![CDATA[Get the <i>progress</i> of the job's cleanup-tasks, as a float between 0.0
  5832. and 1.0. When all cleanup tasks have completed, the function returns 1.0.
  5833. @return the progress of the job's cleanup-tasks.
  5834. @throws IOException]]>
  5835. </doc>
  5836. </method>
  5837. <method name="setupProgress" return="float"
  5838. abstract="false" native="false" synchronized="false"
  5839. static="false" final="false" visibility="public"
  5840. deprecated="not deprecated">
  5841. <exception name="IOException" type="java.io.IOException"/>
  5842. <doc>
  5843. <![CDATA[Get the <i>progress</i> of the job's setup-tasks, as a float between 0.0
  5844. and 1.0. When all setup tasks have completed, the function returns 1.0.
  5845. @return the progress of the job's setup-tasks.
  5846. @throws IOException]]>
  5847. </doc>
  5848. </method>
  5849. <method name="isComplete" return="boolean"
  5850. abstract="false" native="false" synchronized="false"
  5851. static="false" final="false" visibility="public"
  5852. deprecated="not deprecated">
  5853. <exception name="IOException" type="java.io.IOException"/>
  5854. <doc>
  5855. <![CDATA[Check if the job is finished or not.
  5856. This is a non-blocking call.
  5857. @return <code>true</code> if the job is complete, else <code>false</code>.
  5858. @throws IOException]]>
  5859. </doc>
  5860. </method>
  5861. <method name="isSuccessful" return="boolean"
  5862. abstract="false" native="false" synchronized="false"
  5863. static="false" final="false" visibility="public"
  5864. deprecated="not deprecated">
  5865. <exception name="IOException" type="java.io.IOException"/>
  5866. <doc>
  5867. <![CDATA[Check if the job completed successfully.
  5868. @return <code>true</code> if the job succeeded, else <code>false</code>.
  5869. @throws IOException]]>
  5870. </doc>
  5871. </method>
  5872. <method name="waitForCompletion"
  5873. abstract="false" native="false" synchronized="false"
  5874. static="false" final="false" visibility="public"
  5875. deprecated="not deprecated">
  5876. <exception name="IOException" type="java.io.IOException"/>
  5877. <doc>
  5878. <![CDATA[Blocks until the job is complete.
  5879. @throws IOException]]>
  5880. </doc>
  5881. </method>
  5882. <method name="getJobState" return="int"
  5883. abstract="false" native="false" synchronized="false"
  5884. static="false" final="false" visibility="public"
  5885. deprecated="not deprecated">
  5886. <exception name="IOException" type="java.io.IOException"/>
  5887. <doc>
  5888. <![CDATA[Returns the current state of the Job.
  5889. {@link JobStatus}
  5890. @throws IOException]]>
  5891. </doc>
  5892. </method>
  5893. <method name="killJob"
  5894. abstract="false" native="false" synchronized="false"
  5895. static="false" final="false" visibility="public"
  5896. deprecated="not deprecated">
  5897. <exception name="IOException" type="java.io.IOException"/>
  5898. <doc>
  5899. <![CDATA[Kill the running job. Blocks until all job tasks have been
  5900. killed as well. If the job is no longer running, it simply returns.
  5901. @throws IOException]]>
  5902. </doc>
  5903. </method>
  5904. <method name="setJobPriority"
  5905. abstract="false" native="false" synchronized="false"
  5906. static="false" final="false" visibility="public"
  5907. deprecated="not deprecated">
  5908. <param name="priority" type="java.lang.String"/>
  5909. <exception name="IOException" type="java.io.IOException"/>
  5910. <doc>
  5911. <![CDATA[Set the priority of a running job.
  5912. @param priority the new priority for the job.
  5913. @throws IOException]]>
  5914. </doc>
  5915. </method>
  5916. <method name="getTaskCompletionEvents" return="org.apache.hadoop.mapred.TaskCompletionEvent[]"
  5917. abstract="false" native="false" synchronized="false"
  5918. static="false" final="false" visibility="public"
  5919. deprecated="not deprecated">
  5920. <param name="startFrom" type="int"/>
  5921. <exception name="IOException" type="java.io.IOException"/>
  5922. <doc>
  5923. <![CDATA[Get events indicating completion (success/failure) of component tasks.
  5924. @param startFrom index to start fetching events from
  5925. @return an array of {@link TaskCompletionEvent}s
  5926. @throws IOException]]>
  5927. </doc>
  5928. </method>
  5929. <method name="killTask"
  5930. abstract="false" native="false" synchronized="false"
  5931. static="false" final="false" visibility="public"
  5932. deprecated="not deprecated">
  5933. <param name="taskId" type="org.apache.hadoop.mapred.TaskAttemptID"/>
  5934. <param name="shouldFail" type="boolean"/>
  5935. <exception name="IOException" type="java.io.IOException"/>
  5936. <doc>
  5937. <![CDATA[Kill indicated task attempt.
  5938. @param taskId the id of the task to be terminated.
  5939. @param shouldFail if true the task is failed and added to failed tasks
  5940. list, otherwise it is just killed, w/o affecting
  5941. job failure status.
  5942. @throws IOException]]>
  5943. </doc>
  5944. </method>
  5945. <method name="killTask"
  5946. abstract="false" native="false" synchronized="false"
  5947. static="false" final="false" visibility="public"
  5948. deprecated="Applications should rather use {@link #killTask(TaskAttemptID, boolean)}">
  5949. <param name="taskId" type="java.lang.String"/>
  5950. <param name="shouldFail" type="boolean"/>
  5951. <exception name="IOException" type="java.io.IOException"/>
  5952. <doc>
  5953. <![CDATA[@deprecated Applications should rather use {@link #killTask(TaskAttemptID, boolean)}]]>
  5954. </doc>
  5955. </method>
  5956. <method name="getCounters" return="org.apache.hadoop.mapred.Counters"
  5957. abstract="false" native="false" synchronized="false"
  5958. static="false" final="false" visibility="public"
  5959. deprecated="not deprecated">
  5960. <exception name="IOException" type="java.io.IOException"/>
  5961. <doc>
  5962. <![CDATA[Gets the counters for this job.
  5963. @return the counters for this job.
  5964. @throws IOException]]>
  5965. </doc>
  5966. </method>
  5967. <method name="getTaskDiagnostics" return="java.lang.String[]"
  5968. abstract="false" native="false" synchronized="false"
  5969. static="false" final="false" visibility="public"
  5970. deprecated="not deprecated">
  5971. <param name="taskid" type="org.apache.hadoop.mapred.TaskAttemptID"/>
  5972. <exception name="IOException" type="java.io.IOException"/>
  5973. <doc>
  5974. <![CDATA[Gets the diagnostic messages for a given task attempt.
  5975. @param taskid
  5976. @return the list of diagnostic messages for the task
  5977. @throws IOException]]>
  5978. </doc>
  5979. </method>
  5980. <method name="getHistoryUrl" return="java.lang.String"
  5981. abstract="false" native="false" synchronized="false"
  5982. static="false" final="false" visibility="public"
  5983. deprecated="not deprecated">
  5984. <exception name="IOException" type="java.io.IOException"/>
  5985. <doc>
  5986. <![CDATA[Get the url where history file is archived. Returns empty string if
  5987. history file is not available yet.
  5988. @return the url where history file is archived
  5989. @throws IOException]]>
  5990. </doc>
  5991. </method>
  5992. <method name="isRetired" return="boolean"
  5993. abstract="false" native="false" synchronized="false"
  5994. static="false" final="false" visibility="public"
  5995. deprecated="not deprecated">
  5996. <exception name="IOException" type="java.io.IOException"/>
  5997. <doc>
  5998. <![CDATA[Check whether the job has been removed from JobTracker memory and retired.
  5999. On retire, the job history file is copied to a location known by
  6000. {@link #getHistoryUrl()}
  6001. @return <code>true</code> if the job retired, else <code>false</code>.
  6002. @throws IOException]]>
  6003. </doc>
  6004. </method>
  6005. <doc>
  6006. <![CDATA[<code>RunningJob</code> is the user-interface to query for details on a
  6007. running Map-Reduce job.
  6008. <p>Clients can get hold of <code>RunningJob</code> via the {@link JobClient}
  6009. and then query the running-job for details such as name, configuration,
  6010. progress etc.</p>
  6011. @see JobClient]]>
  6012. </doc>
  6013. </interface>
  6014. <!-- end interface org.apache.hadoop.mapred.RunningJob -->
  6015. <!-- start class org.apache.hadoop.mapred.SequenceFileAsBinaryInputFormat -->
  6016. <class name="SequenceFileAsBinaryInputFormat" extends="org.apache.hadoop.mapred.SequenceFileInputFormat"
  6017. abstract="false"
  6018. static="false" final="false" visibility="public"
  6019. deprecated="not deprecated">
  6020. <constructor name="SequenceFileAsBinaryInputFormat"
  6021. static="false" final="false" visibility="public"
  6022. deprecated="not deprecated">
  6023. </constructor>
  6024. <method name="getRecordReader" return="org.apache.hadoop.mapred.RecordReader"
  6025. abstract="false" native="false" synchronized="false"
  6026. static="false" final="false" visibility="public"
  6027. deprecated="not deprecated">
  6028. <param name="split" type="org.apache.hadoop.mapred.InputSplit"/>
  6029. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  6030. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  6031. <exception name="IOException" type="java.io.IOException"/>
  6032. </method>
  6033. <doc>
  6034. <![CDATA[InputFormat reading keys, values from SequenceFiles in binary (raw)
  6035. format.]]>
  6036. </doc>
  6037. </class>
  6038. <!-- end class org.apache.hadoop.mapred.SequenceFileAsBinaryInputFormat -->
  6039. <!-- start class org.apache.hadoop.mapred.SequenceFileAsBinaryInputFormat.SequenceFileAsBinaryRecordReader -->
  6040. <class name="SequenceFileAsBinaryInputFormat.SequenceFileAsBinaryRecordReader" extends="java.lang.Object"
  6041. abstract="false"
  6042. static="true" final="false" visibility="public"
  6043. deprecated="not deprecated">
  6044. <implements name="org.apache.hadoop.mapred.RecordReader"/>
  6045. <constructor name="SequenceFileAsBinaryInputFormat.SequenceFileAsBinaryRecordReader" type="org.apache.hadoop.conf.Configuration, org.apache.hadoop.mapred.FileSplit"
  6046. static="false" final="false" visibility="public"
  6047. deprecated="not deprecated">
  6048. <exception name="IOException" type="java.io.IOException"/>
  6049. </constructor>
  6050. <method name="createKey" return="org.apache.hadoop.io.BytesWritable"
  6051. abstract="false" native="false" synchronized="false"
  6052. static="false" final="false" visibility="public"
  6053. deprecated="not deprecated">
  6054. </method>
  6055. <method name="createValue" return="org.apache.hadoop.io.BytesWritable"
  6056. abstract="false" native="false" synchronized="false"
  6057. static="false" final="false" visibility="public"
  6058. deprecated="not deprecated">
  6059. </method>
  6060. <method name="getKeyClassName" return="java.lang.String"
  6061. abstract="false" native="false" synchronized="false"
  6062. static="false" final="false" visibility="public"
  6063. deprecated="not deprecated">
  6064. <doc>
  6065. <![CDATA[Retrieve the name of the key class for this SequenceFile.
  6066. @see org.apache.hadoop.io.SequenceFile.Reader#getKeyClassName]]>
  6067. </doc>
  6068. </method>
  6069. <method name="getValueClassName" return="java.lang.String"
  6070. abstract="false" native="false" synchronized="false"
  6071. static="false" final="false" visibility="public"
  6072. deprecated="not deprecated">
  6073. <doc>
  6074. <![CDATA[Retrieve the name of the value class for this SequenceFile.
  6075. @see org.apache.hadoop.io.SequenceFile.Reader#getValueClassName]]>
  6076. </doc>
  6077. </method>
  6078. <method name="next" return="boolean"
  6079. abstract="false" native="false" synchronized="true"
  6080. static="false" final="false" visibility="public"
  6081. deprecated="not deprecated">
  6082. <param name="key" type="org.apache.hadoop.io.BytesWritable"/>
  6083. <param name="val" type="org.apache.hadoop.io.BytesWritable"/>
  6084. <exception name="IOException" type="java.io.IOException"/>
  6085. <doc>
  6086. <![CDATA[Read raw bytes from a SequenceFile.]]>
  6087. </doc>
  6088. </method>
  6089. <method name="getPos" return="long"
  6090. abstract="false" native="false" synchronized="false"
  6091. static="false" final="false" visibility="public"
  6092. deprecated="not deprecated">
  6093. <exception name="IOException" type="java.io.IOException"/>
  6094. </method>
  6095. <method name="close"
  6096. abstract="false" native="false" synchronized="false"
  6097. static="false" final="false" visibility="public"
  6098. deprecated="not deprecated">
  6099. <exception name="IOException" type="java.io.IOException"/>
  6100. </method>
  6101. <method name="getProgress" return="float"
  6102. abstract="false" native="false" synchronized="false"
  6103. static="false" final="false" visibility="public"
  6104. deprecated="not deprecated">
  6105. <exception name="IOException" type="java.io.IOException"/>
  6106. <doc>
  6107. <![CDATA[Return the progress within the input split
  6108. @return 0.0 to 1.0 of the input byte range]]>
  6109. </doc>
  6110. </method>
  6111. <doc>
  6112. <![CDATA[Read records from a SequenceFile as binary (raw) bytes.]]>
  6113. </doc>
  6114. </class>
  6115. <!-- end class org.apache.hadoop.mapred.SequenceFileAsBinaryInputFormat.SequenceFileAsBinaryRecordReader -->
  6116. <!-- start class org.apache.hadoop.mapred.SequenceFileAsBinaryOutputFormat -->
  6117. <class name="SequenceFileAsBinaryOutputFormat" extends="org.apache.hadoop.mapred.SequenceFileOutputFormat"
  6118. abstract="false"
  6119. static="false" final="false" visibility="public"
  6120. deprecated="not deprecated">
  6121. <constructor name="SequenceFileAsBinaryOutputFormat"
  6122. static="false" final="false" visibility="public"
  6123. deprecated="not deprecated">
  6124. </constructor>
  6125. <method name="setSequenceFileOutputKeyClass"
  6126. abstract="false" native="false" synchronized="false"
  6127. static="true" final="false" visibility="public"
  6128. deprecated="not deprecated">
  6129. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  6130. <param name="theClass" type="java.lang.Class"/>
  6131. <doc>
  6132. <![CDATA[Set the key class for the {@link SequenceFile}
  6133. <p>This allows the user to specify the key class to be different
  6134. from the actual class ({@link BytesWritable}) used for writing </p>
  6135. @param conf the {@link JobConf} to modify
  6136. @param theClass the SequenceFile output key class.]]>
  6137. </doc>
  6138. </method>
  6139. <method name="setSequenceFileOutputValueClass"
  6140. abstract="false" native="false" synchronized="false"
  6141. static="true" final="false" visibility="public"
  6142. deprecated="not deprecated">
  6143. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  6144. <param name="theClass" type="java.lang.Class"/>
  6145. <doc>
  6146. <![CDATA[Set the value class for the {@link SequenceFile}
  6147. <p>This allows the user to specify the value class to be different
  6148. from the actual class ({@link BytesWritable}) used for writing </p>
  6149. @param conf the {@link JobConf} to modify
  6150. @param theClass the SequenceFile output key class.]]>
  6151. </doc>
  6152. </method>
  6153. <method name="getSequenceFileOutputKeyClass" return="java.lang.Class"
  6154. abstract="false" native="false" synchronized="false"
  6155. static="true" final="false" visibility="public"
  6156. deprecated="not deprecated">
  6157. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  6158. <doc>
  6159. <![CDATA[Get the key class for the {@link SequenceFile}
  6160. @return the key class of the {@link SequenceFile}]]>
  6161. </doc>
  6162. </method>
  6163. <method name="getSequenceFileOutputValueClass" return="java.lang.Class"
  6164. abstract="false" native="false" synchronized="false"
  6165. static="true" final="false" visibility="public"
  6166. deprecated="not deprecated">
  6167. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  6168. <doc>
  6169. <![CDATA[Get the value class for the {@link SequenceFile}
  6170. @return the value class of the {@link SequenceFile}]]>
  6171. </doc>
  6172. </method>
  6173. <method name="getRecordWriter" return="org.apache.hadoop.mapred.RecordWriter"
  6174. abstract="false" native="false" synchronized="false"
  6175. static="false" final="false" visibility="public"
  6176. deprecated="not deprecated">
  6177. <param name="ignored" type="org.apache.hadoop.fs.FileSystem"/>
  6178. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  6179. <param name="name" type="java.lang.String"/>
  6180. <param name="progress" type="org.apache.hadoop.util.Progressable"/>
  6181. <exception name="IOException" type="java.io.IOException"/>
  6182. </method>
  6183. <method name="checkOutputSpecs"
  6184. abstract="false" native="false" synchronized="false"
  6185. static="false" final="false" visibility="public"
  6186. deprecated="not deprecated">
  6187. <param name="ignored" type="org.apache.hadoop.fs.FileSystem"/>
  6188. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  6189. <exception name="IOException" type="java.io.IOException"/>
  6190. </method>
  6191. <doc>
  6192. <![CDATA[An {@link OutputFormat} that writes keys, values to
  6193. {@link SequenceFile}s in binary(raw) format]]>
  6194. </doc>
  6195. </class>
  6196. <!-- end class org.apache.hadoop.mapred.SequenceFileAsBinaryOutputFormat -->
  6197. <!-- start class org.apache.hadoop.mapred.SequenceFileAsBinaryOutputFormat.WritableValueBytes -->
  6198. <class name="SequenceFileAsBinaryOutputFormat.WritableValueBytes" extends="org.apache.hadoop.mapreduce.lib.output.SequenceFileAsBinaryOutputFormat.WritableValueBytes"
  6199. abstract="false"
  6200. static="true" final="false" visibility="protected"
  6201. deprecated="not deprecated">
  6202. <constructor name="SequenceFileAsBinaryOutputFormat.WritableValueBytes"
  6203. static="false" final="false" visibility="protected"
  6204. deprecated="not deprecated">
  6205. </constructor>
  6206. <doc>
  6207. <![CDATA[Inner class used for appendRaw]]>
  6208. </doc>
  6209. </class>
  6210. <!-- end class org.apache.hadoop.mapred.SequenceFileAsBinaryOutputFormat.WritableValueBytes -->
  6211. <!-- start class org.apache.hadoop.mapred.SequenceFileAsTextInputFormat -->
  6212. <class name="SequenceFileAsTextInputFormat" extends="org.apache.hadoop.mapred.SequenceFileInputFormat"
  6213. abstract="false"
  6214. static="false" final="false" visibility="public"
  6215. deprecated="not deprecated">
  6216. <constructor name="SequenceFileAsTextInputFormat"
  6217. static="false" final="false" visibility="public"
  6218. deprecated="not deprecated">
  6219. </constructor>
  6220. <method name="getRecordReader" return="org.apache.hadoop.mapred.RecordReader"
  6221. abstract="false" native="false" synchronized="false"
  6222. static="false" final="false" visibility="public"
  6223. deprecated="not deprecated">
  6224. <param name="split" type="org.apache.hadoop.mapred.InputSplit"/>
  6225. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  6226. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  6227. <exception name="IOException" type="java.io.IOException"/>
  6228. </method>
  6229. <doc>
  6230. <![CDATA[This class is similar to SequenceFileInputFormat,
  6231. except it generates SequenceFileAsTextRecordReader
  6232. which converts the input keys and values to their
  6233. String forms by calling toString() method.]]>
  6234. </doc>
  6235. </class>
  6236. <!-- end class org.apache.hadoop.mapred.SequenceFileAsTextInputFormat -->
  6237. <!-- start class org.apache.hadoop.mapred.SequenceFileAsTextRecordReader -->
  6238. <class name="SequenceFileAsTextRecordReader" extends="java.lang.Object"
  6239. abstract="false"
  6240. static="false" final="false" visibility="public"
  6241. deprecated="not deprecated">
  6242. <implements name="org.apache.hadoop.mapred.RecordReader"/>
  6243. <constructor name="SequenceFileAsTextRecordReader" type="org.apache.hadoop.conf.Configuration, org.apache.hadoop.mapred.FileSplit"
  6244. static="false" final="false" visibility="public"
  6245. deprecated="not deprecated">
  6246. <exception name="IOException" type="java.io.IOException"/>
  6247. </constructor>
  6248. <method name="createKey" return="org.apache.hadoop.io.Text"
  6249. abstract="false" native="false" synchronized="false"
  6250. static="false" final="false" visibility="public"
  6251. deprecated="not deprecated">
  6252. </method>
  6253. <method name="createValue" return="org.apache.hadoop.io.Text"
  6254. abstract="false" native="false" synchronized="false"
  6255. static="false" final="false" visibility="public"
  6256. deprecated="not deprecated">
  6257. </method>
  6258. <method name="next" return="boolean"
  6259. abstract="false" native="false" synchronized="true"
  6260. static="false" final="false" visibility="public"
  6261. deprecated="not deprecated">
  6262. <param name="key" type="org.apache.hadoop.io.Text"/>
  6263. <param name="value" type="org.apache.hadoop.io.Text"/>
  6264. <exception name="IOException" type="java.io.IOException"/>
  6265. <doc>
  6266. <![CDATA[Read key/value pair in a line.]]>
  6267. </doc>
  6268. </method>
  6269. <method name="getProgress" return="float"
  6270. abstract="false" native="false" synchronized="false"
  6271. static="false" final="false" visibility="public"
  6272. deprecated="not deprecated">
  6273. <exception name="IOException" type="java.io.IOException"/>
  6274. </method>
  6275. <method name="getPos" return="long"
  6276. abstract="false" native="false" synchronized="true"
  6277. static="false" final="false" visibility="public"
  6278. deprecated="not deprecated">
  6279. <exception name="IOException" type="java.io.IOException"/>
  6280. </method>
  6281. <method name="close"
  6282. abstract="false" native="false" synchronized="true"
  6283. static="false" final="false" visibility="public"
  6284. deprecated="not deprecated">
  6285. <exception name="IOException" type="java.io.IOException"/>
  6286. </method>
  6287. <doc>
  6288. <![CDATA[This class converts the input keys and values to their String forms by calling toString()
  6289. method. This class to SequenceFileAsTextInputFormat class is as LineRecordReader
  6290. class to TextInputFormat class.]]>
  6291. </doc>
  6292. </class>
  6293. <!-- end class org.apache.hadoop.mapred.SequenceFileAsTextRecordReader -->
  6294. <!-- start class org.apache.hadoop.mapred.SequenceFileInputFilter -->
  6295. <class name="SequenceFileInputFilter" extends="org.apache.hadoop.mapred.SequenceFileInputFormat"
  6296. abstract="false"
  6297. static="false" final="false" visibility="public"
  6298. deprecated="not deprecated">
  6299. <constructor name="SequenceFileInputFilter"
  6300. static="false" final="false" visibility="public"
  6301. deprecated="not deprecated">
  6302. </constructor>
  6303. <method name="getRecordReader" return="org.apache.hadoop.mapred.RecordReader"
  6304. abstract="false" native="false" synchronized="false"
  6305. static="false" final="false" visibility="public"
  6306. deprecated="not deprecated">
  6307. <param name="split" type="org.apache.hadoop.mapred.InputSplit"/>
  6308. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  6309. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  6310. <exception name="IOException" type="java.io.IOException"/>
  6311. <doc>
  6312. <![CDATA[Create a record reader for the given split
  6313. @param split file split
  6314. @param job job configuration
  6315. @param reporter reporter who sends report to task tracker
  6316. @return RecordReader]]>
  6317. </doc>
  6318. </method>
  6319. <method name="setFilterClass"
  6320. abstract="false" native="false" synchronized="false"
  6321. static="true" final="false" visibility="public"
  6322. deprecated="not deprecated">
  6323. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  6324. <param name="filterClass" type="java.lang.Class"/>
  6325. <doc>
  6326. <![CDATA[set the filter class
  6327. @param conf application configuration
  6328. @param filterClass filter class]]>
  6329. </doc>
  6330. </method>
  6331. <doc>
  6332. <![CDATA[A class that allows a map/red job to work on a sample of sequence files.
  6333. The sample is decided by the filter class set by the job.]]>
  6334. </doc>
  6335. </class>
  6336. <!-- end class org.apache.hadoop.mapred.SequenceFileInputFilter -->
  6337. <!-- start interface org.apache.hadoop.mapred.SequenceFileInputFilter.Filter -->
  6338. <interface name="SequenceFileInputFilter.Filter" abstract="true"
  6339. static="true" final="false" visibility="public"
  6340. deprecated="not deprecated">
  6341. <implements name="org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFilter.Filter"/>
  6342. <doc>
  6343. <![CDATA[filter interface]]>
  6344. </doc>
  6345. </interface>
  6346. <!-- end interface org.apache.hadoop.mapred.SequenceFileInputFilter.Filter -->
  6347. <!-- start class org.apache.hadoop.mapred.SequenceFileInputFilter.FilterBase -->
  6348. <class name="SequenceFileInputFilter.FilterBase" extends="org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFilter.FilterBase"
  6349. abstract="true"
  6350. static="true" final="false" visibility="public"
  6351. deprecated="not deprecated">
  6352. <implements name="org.apache.hadoop.mapred.SequenceFileInputFilter.Filter"/>
  6353. <constructor name="SequenceFileInputFilter.FilterBase"
  6354. static="false" final="false" visibility="public"
  6355. deprecated="not deprecated">
  6356. </constructor>
  6357. <doc>
  6358. <![CDATA[base class for Filters]]>
  6359. </doc>
  6360. </class>
  6361. <!-- end class org.apache.hadoop.mapred.SequenceFileInputFilter.FilterBase -->
  6362. <!-- start class org.apache.hadoop.mapred.SequenceFileInputFilter.MD5Filter -->
  6363. <class name="SequenceFileInputFilter.MD5Filter" extends="org.apache.hadoop.mapred.SequenceFileInputFilter.FilterBase"
  6364. abstract="false"
  6365. static="true" final="false" visibility="public"
  6366. deprecated="not deprecated">
  6367. <constructor name="SequenceFileInputFilter.MD5Filter"
  6368. static="false" final="false" visibility="public"
  6369. deprecated="not deprecated">
  6370. </constructor>
  6371. <method name="setFrequency"
  6372. abstract="false" native="false" synchronized="false"
  6373. static="true" final="false" visibility="public"
  6374. deprecated="not deprecated">
  6375. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  6376. <param name="frequency" type="int"/>
  6377. <doc>
  6378. <![CDATA[set the filtering frequency in configuration
  6379. @param conf configuration
  6380. @param frequency filtering frequency]]>
  6381. </doc>
  6382. </method>
  6383. <method name="setConf"
  6384. abstract="false" native="false" synchronized="false"
  6385. static="false" final="false" visibility="public"
  6386. deprecated="not deprecated">
  6387. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  6388. <doc>
  6389. <![CDATA[configure the filter according to configuration
  6390. @param conf configuration]]>
  6391. </doc>
  6392. </method>
  6393. <method name="accept" return="boolean"
  6394. abstract="false" native="false" synchronized="false"
  6395. static="false" final="false" visibility="public"
  6396. deprecated="not deprecated">
  6397. <param name="key" type="java.lang.Object"/>
  6398. <doc>
  6399. <![CDATA[Filtering method
  6400. If MD5(key) % frequency==0, return true; otherwise return false
  6401. @see org.apache.hadoop.mapred.SequenceFileInputFilter.Filter#accept(Object)]]>
  6402. </doc>
  6403. </method>
  6404. <field name="MD5_LEN" type="int"
  6405. transient="false" volatile="false"
  6406. static="true" final="true" visibility="public"
  6407. deprecated="not deprecated">
  6408. </field>
  6409. <doc>
  6410. <![CDATA[This class returns a set of records by examing the MD5 digest of its
  6411. key against a filtering frequency <i>f</i>. The filtering criteria is
  6412. MD5(key) % f == 0.]]>
  6413. </doc>
  6414. </class>
  6415. <!-- end class org.apache.hadoop.mapred.SequenceFileInputFilter.MD5Filter -->
  6416. <!-- start class org.apache.hadoop.mapred.SequenceFileInputFilter.PercentFilter -->
  6417. <class name="SequenceFileInputFilter.PercentFilter" extends="org.apache.hadoop.mapred.SequenceFileInputFilter.FilterBase"
  6418. abstract="false"
  6419. static="true" final="false" visibility="public"
  6420. deprecated="not deprecated">
  6421. <constructor name="SequenceFileInputFilter.PercentFilter"
  6422. static="false" final="false" visibility="public"
  6423. deprecated="not deprecated">
  6424. </constructor>
  6425. <method name="setFrequency"
  6426. abstract="false" native="false" synchronized="false"
  6427. static="true" final="false" visibility="public"
  6428. deprecated="not deprecated">
  6429. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  6430. <param name="frequency" type="int"/>
  6431. <doc>
  6432. <![CDATA[set the frequency and stores it in conf
  6433. @param conf configuration
  6434. @param frequency filtering frequencey]]>
  6435. </doc>
  6436. </method>
  6437. <method name="setConf"
  6438. abstract="false" native="false" synchronized="false"
  6439. static="false" final="false" visibility="public"
  6440. deprecated="not deprecated">
  6441. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  6442. <doc>
  6443. <![CDATA[configure the filter by checking the configuration
  6444. @param conf configuration]]>
  6445. </doc>
  6446. </method>
  6447. <method name="accept" return="boolean"
  6448. abstract="false" native="false" synchronized="false"
  6449. static="false" final="false" visibility="public"
  6450. deprecated="not deprecated">
  6451. <param name="key" type="java.lang.Object"/>
  6452. <doc>
  6453. <![CDATA[Filtering method
  6454. If record# % frequency==0, return true; otherwise return false
  6455. @see org.apache.hadoop.mapred.SequenceFileInputFilter.Filter#accept(Object)]]>
  6456. </doc>
  6457. </method>
  6458. <doc>
  6459. <![CDATA[This class returns a percentage of records
  6460. The percentage is determined by a filtering frequency <i>f</i> using
  6461. the criteria record# % f == 0.
  6462. For example, if the frequency is 10, one out of 10 records is returned.]]>
  6463. </doc>
  6464. </class>
  6465. <!-- end class org.apache.hadoop.mapred.SequenceFileInputFilter.PercentFilter -->
  6466. <!-- start class org.apache.hadoop.mapred.SequenceFileInputFilter.RegexFilter -->
  6467. <class name="SequenceFileInputFilter.RegexFilter" extends="org.apache.hadoop.mapred.SequenceFileInputFilter.FilterBase"
  6468. abstract="false"
  6469. static="true" final="false" visibility="public"
  6470. deprecated="not deprecated">
  6471. <constructor name="SequenceFileInputFilter.RegexFilter"
  6472. static="false" final="false" visibility="public"
  6473. deprecated="not deprecated">
  6474. </constructor>
  6475. <method name="setPattern"
  6476. abstract="false" native="false" synchronized="false"
  6477. static="true" final="false" visibility="public"
  6478. deprecated="not deprecated">
  6479. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  6480. <param name="regex" type="java.lang.String"/>
  6481. <exception name="PatternSyntaxException" type="java.util.regex.PatternSyntaxException"/>
  6482. </method>
  6483. <method name="setConf"
  6484. abstract="false" native="false" synchronized="false"
  6485. static="false" final="false" visibility="public"
  6486. deprecated="not deprecated">
  6487. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  6488. <doc>
  6489. <![CDATA[configure the Filter by checking the configuration]]>
  6490. </doc>
  6491. </method>
  6492. <method name="accept" return="boolean"
  6493. abstract="false" native="false" synchronized="false"
  6494. static="false" final="false" visibility="public"
  6495. deprecated="not deprecated">
  6496. <param name="key" type="java.lang.Object"/>
  6497. <doc>
  6498. <![CDATA[Filtering method
  6499. If key matches the regex, return true; otherwise return false
  6500. @see org.apache.hadoop.mapred.SequenceFileInputFilter.Filter#accept(Object)]]>
  6501. </doc>
  6502. </method>
  6503. <doc>
  6504. <![CDATA[Records filter by matching key to regex]]>
  6505. </doc>
  6506. </class>
  6507. <!-- end class org.apache.hadoop.mapred.SequenceFileInputFilter.RegexFilter -->
  6508. <!-- start class org.apache.hadoop.mapred.SequenceFileInputFormat -->
  6509. <class name="SequenceFileInputFormat" extends="org.apache.hadoop.mapred.FileInputFormat"
  6510. abstract="false"
  6511. static="false" final="false" visibility="public"
  6512. deprecated="not deprecated">
  6513. <constructor name="SequenceFileInputFormat"
  6514. static="false" final="false" visibility="public"
  6515. deprecated="not deprecated">
  6516. </constructor>
  6517. <method name="listStatus" return="org.apache.hadoop.fs.FileStatus[]"
  6518. abstract="false" native="false" synchronized="false"
  6519. static="false" final="false" visibility="protected"
  6520. deprecated="not deprecated">
  6521. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  6522. <exception name="IOException" type="java.io.IOException"/>
  6523. </method>
  6524. <method name="getRecordReader" return="org.apache.hadoop.mapred.RecordReader"
  6525. abstract="false" native="false" synchronized="false"
  6526. static="false" final="false" visibility="public"
  6527. deprecated="not deprecated">
  6528. <param name="split" type="org.apache.hadoop.mapred.InputSplit"/>
  6529. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  6530. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  6531. <exception name="IOException" type="java.io.IOException"/>
  6532. </method>
  6533. <doc>
  6534. <![CDATA[An {@link InputFormat} for {@link SequenceFile}s.]]>
  6535. </doc>
  6536. </class>
  6537. <!-- end class org.apache.hadoop.mapred.SequenceFileInputFormat -->
  6538. <!-- start class org.apache.hadoop.mapred.SequenceFileOutputFormat -->
  6539. <class name="SequenceFileOutputFormat" extends="org.apache.hadoop.mapred.FileOutputFormat"
  6540. abstract="false"
  6541. static="false" final="false" visibility="public"
  6542. deprecated="not deprecated">
  6543. <constructor name="SequenceFileOutputFormat"
  6544. static="false" final="false" visibility="public"
  6545. deprecated="not deprecated">
  6546. </constructor>
  6547. <method name="getRecordWriter" return="org.apache.hadoop.mapred.RecordWriter"
  6548. abstract="false" native="false" synchronized="false"
  6549. static="false" final="false" visibility="public"
  6550. deprecated="not deprecated">
  6551. <param name="ignored" type="org.apache.hadoop.fs.FileSystem"/>
  6552. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  6553. <param name="name" type="java.lang.String"/>
  6554. <param name="progress" type="org.apache.hadoop.util.Progressable"/>
  6555. <exception name="IOException" type="java.io.IOException"/>
  6556. </method>
  6557. <method name="getReaders" return="org.apache.hadoop.io.SequenceFile.Reader[]"
  6558. abstract="false" native="false" synchronized="false"
  6559. static="true" final="false" visibility="public"
  6560. deprecated="not deprecated">
  6561. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  6562. <param name="dir" type="org.apache.hadoop.fs.Path"/>
  6563. <exception name="IOException" type="java.io.IOException"/>
  6564. <doc>
  6565. <![CDATA[Open the output generated by this format.]]>
  6566. </doc>
  6567. </method>
  6568. <method name="getOutputCompressionType" return="org.apache.hadoop.io.SequenceFile.CompressionType"
  6569. abstract="false" native="false" synchronized="false"
  6570. static="true" final="false" visibility="public"
  6571. deprecated="not deprecated">
  6572. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  6573. <doc>
  6574. <![CDATA[Get the {@link CompressionType} for the output {@link SequenceFile}.
  6575. @param conf the {@link JobConf}
  6576. @return the {@link CompressionType} for the output {@link SequenceFile},
  6577. defaulting to {@link CompressionType#RECORD}]]>
  6578. </doc>
  6579. </method>
  6580. <method name="setOutputCompressionType"
  6581. abstract="false" native="false" synchronized="false"
  6582. static="true" final="false" visibility="public"
  6583. deprecated="not deprecated">
  6584. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  6585. <param name="style" type="org.apache.hadoop.io.SequenceFile.CompressionType"/>
  6586. <doc>
  6587. <![CDATA[Set the {@link CompressionType} for the output {@link SequenceFile}.
  6588. @param conf the {@link JobConf} to modify
  6589. @param style the {@link CompressionType} for the output
  6590. {@link SequenceFile}]]>
  6591. </doc>
  6592. </method>
  6593. <doc>
  6594. <![CDATA[An {@link OutputFormat} that writes {@link SequenceFile}s.]]>
  6595. </doc>
  6596. </class>
  6597. <!-- end class org.apache.hadoop.mapred.SequenceFileOutputFormat -->
  6598. <!-- start class org.apache.hadoop.mapred.SequenceFileRecordReader -->
  6599. <class name="SequenceFileRecordReader" extends="java.lang.Object"
  6600. abstract="false"
  6601. static="false" final="false" visibility="public"
  6602. deprecated="not deprecated">
  6603. <implements name="org.apache.hadoop.mapred.RecordReader"/>
  6604. <constructor name="SequenceFileRecordReader" type="org.apache.hadoop.conf.Configuration, org.apache.hadoop.mapred.FileSplit"
  6605. static="false" final="false" visibility="public"
  6606. deprecated="not deprecated">
  6607. <exception name="IOException" type="java.io.IOException"/>
  6608. </constructor>
  6609. <method name="getKeyClass" return="java.lang.Class"
  6610. abstract="false" native="false" synchronized="false"
  6611. static="false" final="false" visibility="public"
  6612. deprecated="not deprecated">
  6613. <doc>
  6614. <![CDATA[The class of key that must be passed to {@link
  6615. #next(Object, Object)}..]]>
  6616. </doc>
  6617. </method>
  6618. <method name="getValueClass" return="java.lang.Class"
  6619. abstract="false" native="false" synchronized="false"
  6620. static="false" final="false" visibility="public"
  6621. deprecated="not deprecated">
  6622. <doc>
  6623. <![CDATA[The class of value that must be passed to {@link
  6624. #next(Object, Object)}..]]>
  6625. </doc>
  6626. </method>
  6627. <method name="createKey" return="K"
  6628. abstract="false" native="false" synchronized="false"
  6629. static="false" final="false" visibility="public"
  6630. deprecated="not deprecated">
  6631. </method>
  6632. <method name="createValue" return="V"
  6633. abstract="false" native="false" synchronized="false"
  6634. static="false" final="false" visibility="public"
  6635. deprecated="not deprecated">
  6636. </method>
  6637. <method name="next" return="boolean"
  6638. abstract="false" native="false" synchronized="true"
  6639. static="false" final="false" visibility="public"
  6640. deprecated="not deprecated">
  6641. <param name="key" type="K"/>
  6642. <param name="value" type="V"/>
  6643. <exception name="IOException" type="java.io.IOException"/>
  6644. </method>
  6645. <method name="next" return="boolean"
  6646. abstract="false" native="false" synchronized="true"
  6647. static="false" final="false" visibility="protected"
  6648. deprecated="not deprecated">
  6649. <param name="key" type="K"/>
  6650. <exception name="IOException" type="java.io.IOException"/>
  6651. </method>
  6652. <method name="getCurrentValue"
  6653. abstract="false" native="false" synchronized="true"
  6654. static="false" final="false" visibility="protected"
  6655. deprecated="not deprecated">
  6656. <param name="value" type="V"/>
  6657. <exception name="IOException" type="java.io.IOException"/>
  6658. </method>
  6659. <method name="getProgress" return="float"
  6660. abstract="false" native="false" synchronized="false"
  6661. static="false" final="false" visibility="public"
  6662. deprecated="not deprecated">
  6663. <exception name="IOException" type="java.io.IOException"/>
  6664. <doc>
  6665. <![CDATA[Return the progress within the input split
  6666. @return 0.0 to 1.0 of the input byte range]]>
  6667. </doc>
  6668. </method>
  6669. <method name="getPos" return="long"
  6670. abstract="false" native="false" synchronized="true"
  6671. static="false" final="false" visibility="public"
  6672. deprecated="not deprecated">
  6673. <exception name="IOException" type="java.io.IOException"/>
  6674. </method>
  6675. <method name="seek"
  6676. abstract="false" native="false" synchronized="true"
  6677. static="false" final="false" visibility="protected"
  6678. deprecated="not deprecated">
  6679. <param name="pos" type="long"/>
  6680. <exception name="IOException" type="java.io.IOException"/>
  6681. </method>
  6682. <method name="close"
  6683. abstract="false" native="false" synchronized="true"
  6684. static="false" final="false" visibility="public"
  6685. deprecated="not deprecated">
  6686. <exception name="IOException" type="java.io.IOException"/>
  6687. </method>
  6688. <field name="conf" type="org.apache.hadoop.conf.Configuration"
  6689. transient="false" volatile="false"
  6690. static="false" final="false" visibility="protected"
  6691. deprecated="not deprecated">
  6692. </field>
  6693. <doc>
  6694. <![CDATA[An {@link RecordReader} for {@link SequenceFile}s.]]>
  6695. </doc>
  6696. </class>
  6697. <!-- end class org.apache.hadoop.mapred.SequenceFileRecordReader -->
  6698. <!-- start class org.apache.hadoop.mapred.SkipBadRecords -->
  6699. <class name="SkipBadRecords" extends="java.lang.Object"
  6700. abstract="false"
  6701. static="false" final="false" visibility="public"
  6702. deprecated="not deprecated">
  6703. <constructor name="SkipBadRecords"
  6704. static="false" final="false" visibility="public"
  6705. deprecated="not deprecated">
  6706. </constructor>
  6707. <method name="getAttemptsToStartSkipping" return="int"
  6708. abstract="false" native="false" synchronized="false"
  6709. static="true" final="false" visibility="public"
  6710. deprecated="not deprecated">
  6711. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  6712. <doc>
  6713. <![CDATA[Get the number of Task attempts AFTER which skip mode
  6714. will be kicked off. When skip mode is kicked off, the
  6715. tasks reports the range of records which it will process
  6716. next to the TaskTracker. So that on failures, TT knows which
  6717. ones are possibly the bad records. On further executions,
  6718. those are skipped.
  6719. Default value is 2.
  6720. @param conf the configuration
  6721. @return attemptsToStartSkipping no of task attempts]]>
  6722. </doc>
  6723. </method>
  6724. <method name="setAttemptsToStartSkipping"
  6725. abstract="false" native="false" synchronized="false"
  6726. static="true" final="false" visibility="public"
  6727. deprecated="not deprecated">
  6728. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  6729. <param name="attemptsToStartSkipping" type="int"/>
  6730. <doc>
  6731. <![CDATA[Set the number of Task attempts AFTER which skip mode
  6732. will be kicked off. When skip mode is kicked off, the
  6733. tasks reports the range of records which it will process
  6734. next to the TaskTracker. So that on failures, TT knows which
  6735. ones are possibly the bad records. On further executions,
  6736. those are skipped.
  6737. Default value is 2.
  6738. @param conf the configuration
  6739. @param attemptsToStartSkipping no of task attempts]]>
  6740. </doc>
  6741. </method>
  6742. <method name="getAutoIncrMapperProcCount" return="boolean"
  6743. abstract="false" native="false" synchronized="false"
  6744. static="true" final="false" visibility="public"
  6745. deprecated="not deprecated">
  6746. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  6747. <doc>
  6748. <![CDATA[Get the flag which if set to true,
  6749. {@link SkipBadRecords#COUNTER_MAP_PROCESSED_RECORDS} is incremented
  6750. by MapRunner after invoking the map function. This value must be set to
  6751. false for applications which process the records asynchronously
  6752. or buffer the input records. For example streaming.
  6753. In such cases applications should increment this counter on their own.
  6754. Default value is true.
  6755. @param conf the configuration
  6756. @return <code>true</code> if auto increment
  6757. {@link SkipBadRecords#COUNTER_MAP_PROCESSED_RECORDS}.
  6758. <code>false</code> otherwise.]]>
  6759. </doc>
  6760. </method>
  6761. <method name="setAutoIncrMapperProcCount"
  6762. abstract="false" native="false" synchronized="false"
  6763. static="true" final="false" visibility="public"
  6764. deprecated="not deprecated">
  6765. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  6766. <param name="autoIncr" type="boolean"/>
  6767. <doc>
  6768. <![CDATA[Set the flag which if set to true,
  6769. {@link SkipBadRecords#COUNTER_MAP_PROCESSED_RECORDS} is incremented
  6770. by MapRunner after invoking the map function. This value must be set to
  6771. false for applications which process the records asynchronously
  6772. or buffer the input records. For example streaming.
  6773. In such cases applications should increment this counter on their own.
  6774. Default value is true.
  6775. @param conf the configuration
  6776. @param autoIncr whether to auto increment
  6777. {@link SkipBadRecords#COUNTER_MAP_PROCESSED_RECORDS}.]]>
  6778. </doc>
  6779. </method>
  6780. <method name="getAutoIncrReducerProcCount" return="boolean"
  6781. abstract="false" native="false" synchronized="false"
  6782. static="true" final="false" visibility="public"
  6783. deprecated="not deprecated">
  6784. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  6785. <doc>
  6786. <![CDATA[Get the flag which if set to true,
  6787. {@link SkipBadRecords#COUNTER_REDUCE_PROCESSED_GROUPS} is incremented
  6788. by framework after invoking the reduce function. This value must be set to
  6789. false for applications which process the records asynchronously
  6790. or buffer the input records. For example streaming.
  6791. In such cases applications should increment this counter on their own.
  6792. Default value is true.
  6793. @param conf the configuration
  6794. @return <code>true</code> if auto increment
  6795. {@link SkipBadRecords#COUNTER_REDUCE_PROCESSED_GROUPS}.
  6796. <code>false</code> otherwise.]]>
  6797. </doc>
  6798. </method>
  6799. <method name="setAutoIncrReducerProcCount"
  6800. abstract="false" native="false" synchronized="false"
  6801. static="true" final="false" visibility="public"
  6802. deprecated="not deprecated">
  6803. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  6804. <param name="autoIncr" type="boolean"/>
  6805. <doc>
  6806. <![CDATA[Set the flag which if set to true,
  6807. {@link SkipBadRecords#COUNTER_REDUCE_PROCESSED_GROUPS} is incremented
  6808. by framework after invoking the reduce function. This value must be set to
  6809. false for applications which process the records asynchronously
  6810. or buffer the input records. For example streaming.
  6811. In such cases applications should increment this counter on their own.
  6812. Default value is true.
  6813. @param conf the configuration
  6814. @param autoIncr whether to auto increment
  6815. {@link SkipBadRecords#COUNTER_REDUCE_PROCESSED_GROUPS}.]]>
  6816. </doc>
  6817. </method>
  6818. <method name="getSkipOutputPath" return="org.apache.hadoop.fs.Path"
  6819. abstract="false" native="false" synchronized="false"
  6820. static="true" final="false" visibility="public"
  6821. deprecated="not deprecated">
  6822. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  6823. <doc>
  6824. <![CDATA[Get the directory to which skipped records are written. By default it is
  6825. the sub directory of the output _logs directory.
  6826. User can stop writing skipped records by setting the value null.
  6827. @param conf the configuration.
  6828. @return path skip output directory. Null is returned if this is not set
  6829. and output directory is also not set.]]>
  6830. </doc>
  6831. </method>
  6832. <method name="setSkipOutputPath"
  6833. abstract="false" native="false" synchronized="false"
  6834. static="true" final="false" visibility="public"
  6835. deprecated="not deprecated">
  6836. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  6837. <param name="path" type="org.apache.hadoop.fs.Path"/>
  6838. <doc>
  6839. <![CDATA[Set the directory to which skipped records are written. By default it is
  6840. the sub directory of the output _logs directory.
  6841. User can stop writing skipped records by setting the value null.
  6842. @param conf the configuration.
  6843. @param path skip output directory path]]>
  6844. </doc>
  6845. </method>
  6846. <method name="getMapperMaxSkipRecords" return="long"
  6847. abstract="false" native="false" synchronized="false"
  6848. static="true" final="false" visibility="public"
  6849. deprecated="not deprecated">
  6850. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  6851. <doc>
  6852. <![CDATA[Get the number of acceptable skip records surrounding the bad record PER
  6853. bad record in mapper. The number includes the bad record as well.
  6854. To turn the feature of detection/skipping of bad records off, set the
  6855. value to 0.
  6856. The framework tries to narrow down the skipped range by retrying
  6857. until this threshold is met OR all attempts get exhausted for this task.
  6858. Set the value to Long.MAX_VALUE to indicate that framework need not try to
  6859. narrow down. Whatever records(depends on application) get skipped are
  6860. acceptable.
  6861. Default value is 0.
  6862. @param conf the configuration
  6863. @return maxSkipRecs acceptable skip records.]]>
  6864. </doc>
  6865. </method>
  6866. <method name="setMapperMaxSkipRecords"
  6867. abstract="false" native="false" synchronized="false"
  6868. static="true" final="false" visibility="public"
  6869. deprecated="not deprecated">
  6870. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  6871. <param name="maxSkipRecs" type="long"/>
  6872. <doc>
  6873. <![CDATA[Set the number of acceptable skip records surrounding the bad record PER
  6874. bad record in mapper. The number includes the bad record as well.
  6875. To turn the feature of detection/skipping of bad records off, set the
  6876. value to 0.
  6877. The framework tries to narrow down the skipped range by retrying
  6878. until this threshold is met OR all attempts get exhausted for this task.
  6879. Set the value to Long.MAX_VALUE to indicate that framework need not try to
  6880. narrow down. Whatever records(depends on application) get skipped are
  6881. acceptable.
  6882. Default value is 0.
  6883. @param conf the configuration
  6884. @param maxSkipRecs acceptable skip records.]]>
  6885. </doc>
  6886. </method>
  6887. <method name="getReducerMaxSkipGroups" return="long"
  6888. abstract="false" native="false" synchronized="false"
  6889. static="true" final="false" visibility="public"
  6890. deprecated="not deprecated">
  6891. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  6892. <doc>
  6893. <![CDATA[Get the number of acceptable skip groups surrounding the bad group PER
  6894. bad group in reducer. The number includes the bad group as well.
  6895. To turn the feature of detection/skipping of bad groups off, set the
  6896. value to 0.
  6897. The framework tries to narrow down the skipped range by retrying
  6898. until this threshold is met OR all attempts get exhausted for this task.
  6899. Set the value to Long.MAX_VALUE to indicate that framework need not try to
  6900. narrow down. Whatever groups(depends on application) get skipped are
  6901. acceptable.
  6902. Default value is 0.
  6903. @param conf the configuration
  6904. @return maxSkipGrps acceptable skip groups.]]>
  6905. </doc>
  6906. </method>
  6907. <method name="setReducerMaxSkipGroups"
  6908. abstract="false" native="false" synchronized="false"
  6909. static="true" final="false" visibility="public"
  6910. deprecated="not deprecated">
  6911. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  6912. <param name="maxSkipGrps" type="long"/>
  6913. <doc>
  6914. <![CDATA[Set the number of acceptable skip groups surrounding the bad group PER
  6915. bad group in reducer. The number includes the bad group as well.
  6916. To turn the feature of detection/skipping of bad groups off, set the
  6917. value to 0.
  6918. The framework tries to narrow down the skipped range by retrying
  6919. until this threshold is met OR all attempts get exhausted for this task.
  6920. Set the value to Long.MAX_VALUE to indicate that framework need not try to
  6921. narrow down. Whatever groups(depends on application) get skipped are
  6922. acceptable.
  6923. Default value is 0.
  6924. @param conf the configuration
  6925. @param maxSkipGrps acceptable skip groups.]]>
  6926. </doc>
  6927. </method>
  6928. <field name="COUNTER_GROUP" type="java.lang.String"
  6929. transient="false" volatile="false"
  6930. static="true" final="true" visibility="public"
  6931. deprecated="not deprecated">
  6932. <doc>
  6933. <![CDATA[Special counters which are written by the application and are
  6934. used by the framework for detecting bad records. For detecting bad records
  6935. these counters must be incremented by the application.]]>
  6936. </doc>
  6937. </field>
  6938. <field name="COUNTER_MAP_PROCESSED_RECORDS" type="java.lang.String"
  6939. transient="false" volatile="false"
  6940. static="true" final="true" visibility="public"
  6941. deprecated="not deprecated">
  6942. <doc>
  6943. <![CDATA[Number of processed map records.
  6944. @see SkipBadRecords#getAutoIncrMapperProcCount(Configuration)]]>
  6945. </doc>
  6946. </field>
  6947. <field name="COUNTER_REDUCE_PROCESSED_GROUPS" type="java.lang.String"
  6948. transient="false" volatile="false"
  6949. static="true" final="true" visibility="public"
  6950. deprecated="not deprecated">
  6951. <doc>
  6952. <![CDATA[Number of processed reduce groups.
  6953. @see SkipBadRecords#getAutoIncrReducerProcCount(Configuration)]]>
  6954. </doc>
  6955. </field>
  6956. <doc>
  6957. <![CDATA[Utility class for skip bad records functionality. It contains various
  6958. settings related to skipping of bad records.
  6959. <p>Hadoop provides an optional mode of execution in which the bad records
  6960. are detected and skipped in further attempts.
  6961. <p>This feature can be used when map/reduce tasks crashes deterministically on
  6962. certain input. This happens due to bugs in the map/reduce function. The usual
  6963. course would be to fix these bugs. But sometimes this is not possible;
  6964. perhaps the bug is in third party libraries for which the source code is
  6965. not available. Due to this, the task never reaches to completion even with
  6966. multiple attempts and complete data for that task is lost.</p>
  6967. <p>With this feature, only a small portion of data is lost surrounding
  6968. the bad record, which may be acceptable for some user applications.
  6969. see {@link SkipBadRecords#setMapperMaxSkipRecords(Configuration, long)}</p>
  6970. <p>The skipping mode gets kicked off after certain no of failures
  6971. see {@link SkipBadRecords#setAttemptsToStartSkipping(Configuration, int)}</p>
  6972. <p>In the skipping mode, the map/reduce task maintains the record range which
  6973. is getting processed at all times. Before giving the input to the
  6974. map/reduce function, it sends this record range to the Task tracker.
  6975. If task crashes, the Task tracker knows which one was the last reported
  6976. range. On further attempts that range get skipped.</p>]]>
  6977. </doc>
  6978. </class>
  6979. <!-- end class org.apache.hadoop.mapred.SkipBadRecords -->
  6980. <!-- start interface org.apache.hadoop.mapred.TaskAttemptContext -->
  6981. <interface name="TaskAttemptContext" abstract="true"
  6982. static="false" final="false" visibility="public"
  6983. deprecated="not deprecated">
  6984. <implements name="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  6985. <method name="getTaskAttemptID" return="org.apache.hadoop.mapred.TaskAttemptID"
  6986. abstract="false" native="false" synchronized="false"
  6987. static="false" final="false" visibility="public"
  6988. deprecated="not deprecated">
  6989. </method>
  6990. <method name="getProgressible" return="org.apache.hadoop.util.Progressable"
  6991. abstract="false" native="false" synchronized="false"
  6992. static="false" final="false" visibility="public"
  6993. deprecated="not deprecated">
  6994. </method>
  6995. <method name="getJobConf" return="org.apache.hadoop.mapred.JobConf"
  6996. abstract="false" native="false" synchronized="false"
  6997. static="false" final="false" visibility="public"
  6998. deprecated="not deprecated">
  6999. </method>
  7000. </interface>
  7001. <!-- end interface org.apache.hadoop.mapred.TaskAttemptContext -->
  7002. <!-- start class org.apache.hadoop.mapred.TaskAttemptID -->
  7003. <class name="TaskAttemptID" extends="org.apache.hadoop.mapreduce.TaskAttemptID"
  7004. abstract="false"
  7005. static="false" final="false" visibility="public"
  7006. deprecated="not deprecated">
  7007. <constructor name="TaskAttemptID" type="org.apache.hadoop.mapred.TaskID, int"
  7008. static="false" final="false" visibility="public"
  7009. deprecated="not deprecated">
  7010. <doc>
  7011. <![CDATA[Constructs a TaskAttemptID object from given {@link TaskID}.
  7012. @param taskId TaskID that this task belongs to
  7013. @param id the task attempt number]]>
  7014. </doc>
  7015. </constructor>
  7016. <constructor name="TaskAttemptID" type="java.lang.String, int, boolean, int, int"
  7017. static="false" final="false" visibility="public"
  7018. deprecated="Use {@link #TaskAttemptID(String, int, TaskType, int, int)}.">
  7019. <doc>
  7020. <![CDATA[Constructs a TaskId object from given parts.
  7021. @param jtIdentifier jobTracker identifier
  7022. @param jobId job number
  7023. @param isMap whether the tip is a map
  7024. @param taskId taskId number
  7025. @param id the task attempt number
  7026. @deprecated Use {@link #TaskAttemptID(String, int, TaskType, int, int)}.]]>
  7027. </doc>
  7028. </constructor>
  7029. <constructor name="TaskAttemptID" type="java.lang.String, int, org.apache.hadoop.mapreduce.TaskType, int, int"
  7030. static="false" final="false" visibility="public"
  7031. deprecated="not deprecated">
  7032. <doc>
  7033. <![CDATA[Constructs a TaskId object from given parts.
  7034. @param jtIdentifier jobTracker identifier
  7035. @param jobId job number
  7036. @param type the TaskType
  7037. @param taskId taskId number
  7038. @param id the task attempt number]]>
  7039. </doc>
  7040. </constructor>
  7041. <constructor name="TaskAttemptID"
  7042. static="false" final="false" visibility="public"
  7043. deprecated="not deprecated">
  7044. </constructor>
  7045. <method name="downgrade" return="org.apache.hadoop.mapred.TaskAttemptID"
  7046. abstract="false" native="false" synchronized="false"
  7047. static="true" final="false" visibility="public"
  7048. deprecated="not deprecated">
  7049. <param name="old" type="org.apache.hadoop.mapreduce.TaskAttemptID"/>
  7050. <doc>
  7051. <![CDATA[Downgrade a new TaskAttemptID to an old one
  7052. @param old the new id
  7053. @return either old or a new TaskAttemptID constructed to match old]]>
  7054. </doc>
  7055. </method>
  7056. <method name="getTaskID" return="org.apache.hadoop.mapred.TaskID"
  7057. abstract="false" native="false" synchronized="false"
  7058. static="false" final="false" visibility="public"
  7059. deprecated="not deprecated">
  7060. </method>
  7061. <method name="getJobID" return="org.apache.hadoop.mapred.JobID"
  7062. abstract="false" native="false" synchronized="false"
  7063. static="false" final="false" visibility="public"
  7064. deprecated="not deprecated">
  7065. </method>
  7066. <method name="read" return="org.apache.hadoop.mapred.TaskAttemptID"
  7067. abstract="false" native="false" synchronized="false"
  7068. static="true" final="false" visibility="public"
  7069. deprecated="not deprecated">
  7070. <param name="in" type="java.io.DataInput"/>
  7071. <exception name="IOException" type="java.io.IOException"/>
  7072. </method>
  7073. <method name="forName" return="org.apache.hadoop.mapred.TaskAttemptID"
  7074. abstract="false" native="false" synchronized="false"
  7075. static="true" final="false" visibility="public"
  7076. deprecated="not deprecated">
  7077. <param name="str" type="java.lang.String"/>
  7078. <exception name="IllegalArgumentException" type="java.lang.IllegalArgumentException"/>
  7079. <doc>
  7080. <![CDATA[Construct a TaskAttemptID object from given string
  7081. @return constructed TaskAttemptID object or null if the given String is null
  7082. @throws IllegalArgumentException if the given string is malformed]]>
  7083. </doc>
  7084. </method>
  7085. <method name="getTaskAttemptIDsPattern" return="java.lang.String"
  7086. abstract="false" native="false" synchronized="false"
  7087. static="true" final="false" visibility="public"
  7088. deprecated="not deprecated">
  7089. <param name="jtIdentifier" type="java.lang.String"/>
  7090. <param name="jobId" type="java.lang.Integer"/>
  7091. <param name="isMap" type="java.lang.Boolean"/>
  7092. <param name="taskId" type="java.lang.Integer"/>
  7093. <param name="attemptId" type="java.lang.Integer"/>
  7094. <doc>
  7095. <![CDATA[Returns a regex pattern which matches task attempt IDs. Arguments can
  7096. be given null, in which case that part of the regex will be generic.
  7097. For example to obtain a regex matching <i>all task attempt IDs</i>
  7098. of <i>any jobtracker</i>, in <i>any job</i>, of the <i>first
  7099. map task</i>, we would use :
  7100. <pre>
  7101. TaskAttemptID.getTaskAttemptIDsPattern(null, null, true, 1, null);
  7102. </pre>
  7103. which will return :
  7104. <pre> "attempt_[^_]*_[0-9]*_m_000001_[0-9]*" </pre>
  7105. @param jtIdentifier jobTracker identifier, or null
  7106. @param jobId job number, or null
  7107. @param isMap whether the tip is a map, or null
  7108. @param taskId taskId number, or null
  7109. @param attemptId the task attempt number, or null
  7110. @return a regex pattern matching TaskAttemptIDs]]>
  7111. </doc>
  7112. </method>
  7113. <method name="getTaskAttemptIDsPattern" return="java.lang.String"
  7114. abstract="false" native="false" synchronized="false"
  7115. static="true" final="false" visibility="public"
  7116. deprecated="not deprecated">
  7117. <param name="jtIdentifier" type="java.lang.String"/>
  7118. <param name="jobId" type="java.lang.Integer"/>
  7119. <param name="type" type="org.apache.hadoop.mapreduce.TaskType"/>
  7120. <param name="taskId" type="java.lang.Integer"/>
  7121. <param name="attemptId" type="java.lang.Integer"/>
  7122. <doc>
  7123. <![CDATA[Returns a regex pattern which matches task attempt IDs. Arguments can
  7124. be given null, in which case that part of the regex will be generic.
  7125. For example to obtain a regex matching <i>all task attempt IDs</i>
  7126. of <i>any jobtracker</i>, in <i>any job</i>, of the <i>first
  7127. map task</i>, we would use :
  7128. <pre>
  7129. TaskAttemptID.getTaskAttemptIDsPattern(null, null, TaskType.MAP, 1, null);
  7130. </pre>
  7131. which will return :
  7132. <pre> "attempt_[^_]*_[0-9]*_m_000001_[0-9]*" </pre>
  7133. @param jtIdentifier jobTracker identifier, or null
  7134. @param jobId job number, or null
  7135. @param type the {@link TaskType}
  7136. @param taskId taskId number, or null
  7137. @param attemptId the task attempt number, or null
  7138. @return a regex pattern matching TaskAttemptIDs]]>
  7139. </doc>
  7140. </method>
  7141. <doc>
  7142. <![CDATA[TaskAttemptID represents the immutable and unique identifier for
  7143. a task attempt. Each task attempt is one particular instance of a Map or
  7144. Reduce Task identified by its TaskID.
  7145. TaskAttemptID consists of 2 parts. First part is the
  7146. {@link TaskID}, that this TaskAttemptID belongs to.
  7147. Second part is the task attempt number. <br>
  7148. An example TaskAttemptID is :
  7149. <code>attempt_200707121733_0003_m_000005_0</code> , which represents the
  7150. zeroth task attempt for the fifth map task in the third job
  7151. running at the jobtracker started at <code>200707121733</code>.
  7152. <p>
  7153. Applications should never construct or parse TaskAttemptID strings
  7154. , but rather use appropriate constructors or {@link #forName(String)}
  7155. method.
  7156. @see JobID
  7157. @see TaskID]]>
  7158. </doc>
  7159. </class>
  7160. <!-- end class org.apache.hadoop.mapred.TaskAttemptID -->
  7161. <!-- start class org.apache.hadoop.mapred.TaskCompletionEvent -->
  7162. <class name="TaskCompletionEvent" extends="org.apache.hadoop.mapreduce.TaskCompletionEvent"
  7163. abstract="false"
  7164. static="false" final="false" visibility="public"
  7165. deprecated="not deprecated">
  7166. <constructor name="TaskCompletionEvent"
  7167. static="false" final="false" visibility="public"
  7168. deprecated="not deprecated">
  7169. <doc>
  7170. <![CDATA[Default constructor for Writable.]]>
  7171. </doc>
  7172. </constructor>
  7173. <constructor name="TaskCompletionEvent" type="int, org.apache.hadoop.mapred.TaskAttemptID, int, boolean, org.apache.hadoop.mapred.TaskCompletionEvent.Status, java.lang.String"
  7174. static="false" final="false" visibility="public"
  7175. deprecated="not deprecated">
  7176. <doc>
  7177. <![CDATA[Constructor. eventId should be created externally and incremented
  7178. per event for each job.
  7179. @param eventId event id, event id should be unique and assigned in
  7180. incrementally, starting from 0.
  7181. @param taskId task id
  7182. @param status task's status
  7183. @param taskTrackerHttp task tracker's host:port for http.]]>
  7184. </doc>
  7185. </constructor>
  7186. <method name="getTaskId" return="java.lang.String"
  7187. abstract="false" native="false" synchronized="false"
  7188. static="false" final="false" visibility="public"
  7189. deprecated="use {@link #getTaskAttemptId()} instead.">
  7190. <doc>
  7191. <![CDATA[Returns task id.
  7192. @return task id
  7193. @deprecated use {@link #getTaskAttemptId()} instead.]]>
  7194. </doc>
  7195. </method>
  7196. <method name="getTaskAttemptId" return="org.apache.hadoop.mapred.TaskAttemptID"
  7197. abstract="false" native="false" synchronized="false"
  7198. static="false" final="false" visibility="public"
  7199. deprecated="not deprecated">
  7200. <doc>
  7201. <![CDATA[Returns task id.
  7202. @return task id]]>
  7203. </doc>
  7204. </method>
  7205. <method name="getTaskStatus" return="org.apache.hadoop.mapred.TaskCompletionEvent.Status"
  7206. abstract="false" native="false" synchronized="false"
  7207. static="false" final="false" visibility="public"
  7208. deprecated="not deprecated">
  7209. <doc>
  7210. <![CDATA[Returns enum Status.SUCESS or Status.FAILURE.
  7211. @return task tracker status]]>
  7212. </doc>
  7213. </method>
  7214. <method name="setTaskId"
  7215. abstract="false" native="false" synchronized="false"
  7216. static="false" final="false" visibility="public"
  7217. deprecated="use {@link #setTaskAttemptId(TaskAttemptID)} instead.">
  7218. <param name="taskId" type="java.lang.String"/>
  7219. <doc>
  7220. <![CDATA[Sets task id.
  7221. @param taskId
  7222. @deprecated use {@link #setTaskAttemptId(TaskAttemptID)} instead.]]>
  7223. </doc>
  7224. </method>
  7225. <method name="setTaskAttemptId"
  7226. abstract="false" native="false" synchronized="false"
  7227. static="false" final="false" visibility="protected"
  7228. deprecated="not deprecated">
  7229. <param name="taskId" type="org.apache.hadoop.mapred.TaskAttemptID"/>
  7230. <doc>
  7231. <![CDATA[Sets task id.
  7232. @param taskId]]>
  7233. </doc>
  7234. </method>
  7235. <method name="setTaskStatus"
  7236. abstract="false" native="false" synchronized="false"
  7237. static="false" final="false" visibility="protected"
  7238. deprecated="not deprecated">
  7239. <param name="status" type="org.apache.hadoop.mapred.TaskCompletionEvent.Status"/>
  7240. <doc>
  7241. <![CDATA[Set task status.
  7242. @param status]]>
  7243. </doc>
  7244. </method>
  7245. <method name="setTaskRunTime"
  7246. abstract="false" native="false" synchronized="false"
  7247. static="false" final="false" visibility="protected"
  7248. deprecated="not deprecated">
  7249. <param name="taskCompletionTime" type="int"/>
  7250. <doc>
  7251. <![CDATA[Set the task completion time
  7252. @param taskCompletionTime time (in millisec) the task took to complete]]>
  7253. </doc>
  7254. </method>
  7255. <method name="setEventId"
  7256. abstract="false" native="false" synchronized="false"
  7257. static="false" final="false" visibility="protected"
  7258. deprecated="not deprecated">
  7259. <param name="eventId" type="int"/>
  7260. <doc>
  7261. <![CDATA[set event Id. should be assigned incrementally starting from 0.
  7262. @param eventId]]>
  7263. </doc>
  7264. </method>
  7265. <method name="setTaskTrackerHttp"
  7266. abstract="false" native="false" synchronized="false"
  7267. static="false" final="false" visibility="protected"
  7268. deprecated="not deprecated">
  7269. <param name="taskTrackerHttp" type="java.lang.String"/>
  7270. <doc>
  7271. <![CDATA[Set task tracker http location.
  7272. @param taskTrackerHttp]]>
  7273. </doc>
  7274. </method>
  7275. <field name="EMPTY_ARRAY" type="org.apache.hadoop.mapred.TaskCompletionEvent[]"
  7276. transient="false" volatile="false"
  7277. static="true" final="true" visibility="public"
  7278. deprecated="not deprecated">
  7279. </field>
  7280. <doc>
  7281. <![CDATA[This is used to track task completion events on
  7282. job tracker.]]>
  7283. </doc>
  7284. </class>
  7285. <!-- end class org.apache.hadoop.mapred.TaskCompletionEvent -->
  7286. <!-- start class org.apache.hadoop.mapred.TaskCompletionEvent.Status -->
  7287. <class name="TaskCompletionEvent.Status" extends="java.lang.Enum"
  7288. abstract="false"
  7289. static="true" final="true" visibility="public"
  7290. deprecated="not deprecated">
  7291. <method name="values" return="org.apache.hadoop.mapred.TaskCompletionEvent.Status[]"
  7292. abstract="false" native="false" synchronized="false"
  7293. static="true" final="false" visibility="public"
  7294. deprecated="not deprecated">
  7295. </method>
  7296. <method name="valueOf" return="org.apache.hadoop.mapred.TaskCompletionEvent.Status"
  7297. abstract="false" native="false" synchronized="false"
  7298. static="true" final="false" visibility="public"
  7299. deprecated="not deprecated">
  7300. <param name="name" type="java.lang.String"/>
  7301. </method>
  7302. </class>
  7303. <!-- end class org.apache.hadoop.mapred.TaskCompletionEvent.Status -->
  7304. <!-- start class org.apache.hadoop.mapred.TaskID -->
  7305. <class name="TaskID" extends="org.apache.hadoop.mapreduce.TaskID"
  7306. abstract="false"
  7307. static="false" final="false" visibility="public"
  7308. deprecated="not deprecated">
  7309. <constructor name="TaskID" type="org.apache.hadoop.mapreduce.JobID, boolean, int"
  7310. static="false" final="false" visibility="public"
  7311. deprecated="Use {@link #TaskID(String, int, TaskType, int)}">
  7312. <doc>
  7313. <![CDATA[Constructs a TaskID object from given {@link JobID}.
  7314. @param jobId JobID that this tip belongs to
  7315. @param isMap whether the tip is a map
  7316. @param id the tip number
  7317. @deprecated Use {@link #TaskID(String, int, TaskType, int)}]]>
  7318. </doc>
  7319. </constructor>
  7320. <constructor name="TaskID" type="java.lang.String, int, boolean, int"
  7321. static="false" final="false" visibility="public"
  7322. deprecated="Use {@link #TaskID(org.apache.hadoop.mapreduce.JobID, TaskType,
  7323. int)}">
  7324. <doc>
  7325. <![CDATA[Constructs a TaskInProgressId object from given parts.
  7326. @param jtIdentifier jobTracker identifier
  7327. @param jobId job number
  7328. @param isMap whether the tip is a map
  7329. @param id the tip number
  7330. @deprecated Use {@link #TaskID(org.apache.hadoop.mapreduce.JobID, TaskType,
  7331. int)}]]>
  7332. </doc>
  7333. </constructor>
  7334. <constructor name="TaskID" type="org.apache.hadoop.mapreduce.JobID, org.apache.hadoop.mapreduce.TaskType, int"
  7335. static="false" final="false" visibility="public"
  7336. deprecated="not deprecated">
  7337. <doc>
  7338. <![CDATA[Constructs a TaskID object from given {@link JobID}.
  7339. @param jobId JobID that this tip belongs to
  7340. @param type the {@link TaskType}
  7341. @param id the tip number]]>
  7342. </doc>
  7343. </constructor>
  7344. <constructor name="TaskID" type="java.lang.String, int, org.apache.hadoop.mapreduce.TaskType, int"
  7345. static="false" final="false" visibility="public"
  7346. deprecated="not deprecated">
  7347. <doc>
  7348. <![CDATA[Constructs a TaskInProgressId object from given parts.
  7349. @param jtIdentifier jobTracker identifier
  7350. @param jobId job number
  7351. @param type the {@link TaskType}
  7352. @param id the tip number]]>
  7353. </doc>
  7354. </constructor>
  7355. <constructor name="TaskID"
  7356. static="false" final="false" visibility="public"
  7357. deprecated="not deprecated">
  7358. </constructor>
  7359. <method name="downgrade" return="org.apache.hadoop.mapred.TaskID"
  7360. abstract="false" native="false" synchronized="false"
  7361. static="true" final="false" visibility="public"
  7362. deprecated="not deprecated">
  7363. <param name="old" type="org.apache.hadoop.mapreduce.TaskID"/>
  7364. <doc>
  7365. <![CDATA[Downgrade a new TaskID to an old one
  7366. @param old a new or old TaskID
  7367. @return either old or a new TaskID build to match old]]>
  7368. </doc>
  7369. </method>
  7370. <method name="read" return="org.apache.hadoop.mapred.TaskID"
  7371. abstract="false" native="false" synchronized="false"
  7372. static="true" final="false" visibility="public"
  7373. deprecated="not deprecated">
  7374. <param name="in" type="java.io.DataInput"/>
  7375. <exception name="IOException" type="java.io.IOException"/>
  7376. </method>
  7377. <method name="getJobID" return="org.apache.hadoop.mapred.JobID"
  7378. abstract="false" native="false" synchronized="false"
  7379. static="false" final="false" visibility="public"
  7380. deprecated="not deprecated">
  7381. </method>
  7382. <method name="getTaskIDsPattern" return="java.lang.String"
  7383. abstract="false" native="false" synchronized="false"
  7384. static="true" final="false" visibility="public"
  7385. deprecated="Use {@link TaskID#getTaskIDsPattern(String, Integer, TaskType,
  7386. Integer)}">
  7387. <param name="jtIdentifier" type="java.lang.String"/>
  7388. <param name="jobId" type="java.lang.Integer"/>
  7389. <param name="isMap" type="java.lang.Boolean"/>
  7390. <param name="taskId" type="java.lang.Integer"/>
  7391. <doc>
  7392. <![CDATA[Returns a regex pattern which matches task IDs. Arguments can
  7393. be given null, in which case that part of the regex will be generic.
  7394. For example to obtain a regex matching <i>the first map task</i>
  7395. of <i>any jobtracker</i>, of <i>any job</i>, we would use :
  7396. <pre>
  7397. TaskID.getTaskIDsPattern(null, null, true, 1);
  7398. </pre>
  7399. which will return :
  7400. <pre> "task_[^_]*_[0-9]*_m_000001*" </pre>
  7401. @param jtIdentifier jobTracker identifier, or null
  7402. @param jobId job number, or null
  7403. @param isMap whether the tip is a map, or null
  7404. @param taskId taskId number, or null
  7405. @return a regex pattern matching TaskIDs
  7406. @deprecated Use {@link TaskID#getTaskIDsPattern(String, Integer, TaskType,
  7407. Integer)}]]>
  7408. </doc>
  7409. </method>
  7410. <method name="getTaskIDsPattern" return="java.lang.String"
  7411. abstract="false" native="false" synchronized="false"
  7412. static="true" final="false" visibility="public"
  7413. deprecated="not deprecated">
  7414. <param name="jtIdentifier" type="java.lang.String"/>
  7415. <param name="jobId" type="java.lang.Integer"/>
  7416. <param name="type" type="org.apache.hadoop.mapreduce.TaskType"/>
  7417. <param name="taskId" type="java.lang.Integer"/>
  7418. <doc>
  7419. <![CDATA[Returns a regex pattern which matches task IDs. Arguments can
  7420. be given null, in which case that part of the regex will be generic.
  7421. For example to obtain a regex matching <i>the first map task</i>
  7422. of <i>any jobtracker</i>, of <i>any job</i>, we would use :
  7423. <pre>
  7424. TaskID.getTaskIDsPattern(null, null, true, 1);
  7425. </pre>
  7426. which will return :
  7427. <pre> "task_[^_]*_[0-9]*_m_000001*" </pre>
  7428. @param jtIdentifier jobTracker identifier, or null
  7429. @param jobId job number, or null
  7430. @param type the {@link TaskType}, or null
  7431. @param taskId taskId number, or null
  7432. @return a regex pattern matching TaskIDs]]>
  7433. </doc>
  7434. </method>
  7435. <method name="forName" return="org.apache.hadoop.mapred.TaskID"
  7436. abstract="false" native="false" synchronized="false"
  7437. static="true" final="false" visibility="public"
  7438. deprecated="not deprecated">
  7439. <param name="str" type="java.lang.String"/>
  7440. <exception name="IllegalArgumentException" type="java.lang.IllegalArgumentException"/>
  7441. </method>
  7442. <doc>
  7443. <![CDATA[TaskID represents the immutable and unique identifier for
  7444. a Map or Reduce Task. Each TaskID encompasses multiple attempts made to
  7445. execute the Map or Reduce Task, each of which are uniquely indentified by
  7446. their TaskAttemptID.
  7447. TaskID consists of 3 parts. First part is the {@link JobID}, that this
  7448. TaskInProgress belongs to. Second part of the TaskID is either 'm' or 'r'
  7449. representing whether the task is a map task or a reduce task.
  7450. And the third part is the task number. <br>
  7451. An example TaskID is :
  7452. <code>task_200707121733_0003_m_000005</code> , which represents the
  7453. fifth map task in the third job running at the jobtracker
  7454. started at <code>200707121733</code>.
  7455. <p>
  7456. Applications should never construct or parse TaskID strings
  7457. , but rather use appropriate constructors or {@link #forName(String)}
  7458. method.
  7459. @see JobID
  7460. @see TaskAttemptID]]>
  7461. </doc>
  7462. </class>
  7463. <!-- end class org.apache.hadoop.mapred.TaskID -->
  7464. <!-- start class org.apache.hadoop.mapred.TaskLog.Reader -->
  7465. <class name="TaskLog.Reader" extends="java.io.InputStream"
  7466. abstract="false"
  7467. static="true" final="false" visibility="public"
  7468. deprecated="not deprecated">
  7469. <constructor name="TaskLog.Reader" type="org.apache.hadoop.mapred.TaskAttemptID, org.apache.hadoop.mapred.TaskLog.LogName, long, long, boolean"
  7470. static="false" final="false" visibility="public"
  7471. deprecated="not deprecated">
  7472. <exception name="IOException" type="java.io.IOException"/>
  7473. <doc>
  7474. <![CDATA[Read a log file from start to end positions. The offsets may be negative,
  7475. in which case they are relative to the end of the file. For example,
  7476. Reader(taskid, kind, 0, -1) is the entire file and
  7477. Reader(taskid, kind, -4197, -1) is the last 4196 bytes.
  7478. @param taskid the id of the task to read the log file for
  7479. @param kind the kind of log to read
  7480. @param start the offset to read from (negative is relative to tail)
  7481. @param end the offset to read upto (negative is relative to tail)
  7482. @param isCleanup whether the attempt is cleanup attempt or not
  7483. @throws IOException]]>
  7484. </doc>
  7485. </constructor>
  7486. <method name="read" return="int"
  7487. abstract="false" native="false" synchronized="false"
  7488. static="false" final="false" visibility="public"
  7489. deprecated="not deprecated">
  7490. <exception name="IOException" type="java.io.IOException"/>
  7491. </method>
  7492. <method name="read" return="int"
  7493. abstract="false" native="false" synchronized="false"
  7494. static="false" final="false" visibility="public"
  7495. deprecated="not deprecated">
  7496. <param name="buffer" type="byte[]"/>
  7497. <param name="offset" type="int"/>
  7498. <param name="length" type="int"/>
  7499. <exception name="IOException" type="java.io.IOException"/>
  7500. </method>
  7501. <method name="available" return="int"
  7502. abstract="false" native="false" synchronized="false"
  7503. static="false" final="false" visibility="public"
  7504. deprecated="not deprecated">
  7505. <exception name="IOException" type="java.io.IOException"/>
  7506. </method>
  7507. <method name="close"
  7508. abstract="false" native="false" synchronized="false"
  7509. static="false" final="false" visibility="public"
  7510. deprecated="not deprecated">
  7511. <exception name="IOException" type="java.io.IOException"/>
  7512. </method>
  7513. </class>
  7514. <!-- end class org.apache.hadoop.mapred.TaskLog.Reader -->
  7515. <!-- start class org.apache.hadoop.mapred.TaskLogAppender -->
  7516. <class name="TaskLogAppender" extends="org.apache.log4j.FileAppender"
  7517. abstract="false"
  7518. static="false" final="false" visibility="public"
  7519. deprecated="not deprecated">
  7520. <constructor name="TaskLogAppender"
  7521. static="false" final="false" visibility="public"
  7522. deprecated="not deprecated">
  7523. </constructor>
  7524. <method name="activateOptions"
  7525. abstract="false" native="false" synchronized="false"
  7526. static="false" final="false" visibility="public"
  7527. deprecated="not deprecated">
  7528. </method>
  7529. <method name="append"
  7530. abstract="false" native="false" synchronized="false"
  7531. static="false" final="false" visibility="public"
  7532. deprecated="not deprecated">
  7533. <param name="event" type="org.apache.log4j.spi.LoggingEvent"/>
  7534. </method>
  7535. <method name="flush"
  7536. abstract="false" native="false" synchronized="false"
  7537. static="false" final="false" visibility="public"
  7538. deprecated="not deprecated">
  7539. </method>
  7540. <method name="close"
  7541. abstract="false" native="false" synchronized="true"
  7542. static="false" final="false" visibility="public"
  7543. deprecated="not deprecated">
  7544. </method>
  7545. <method name="getTaskId" return="java.lang.String"
  7546. abstract="false" native="false" synchronized="false"
  7547. static="false" final="false" visibility="public"
  7548. deprecated="not deprecated">
  7549. <doc>
  7550. <![CDATA[Getter/Setter methods for log4j.]]>
  7551. </doc>
  7552. </method>
  7553. <method name="setTaskId"
  7554. abstract="false" native="false" synchronized="false"
  7555. static="false" final="false" visibility="public"
  7556. deprecated="not deprecated">
  7557. <param name="taskId" type="java.lang.String"/>
  7558. </method>
  7559. <method name="getTotalLogFileSize" return="long"
  7560. abstract="false" native="false" synchronized="false"
  7561. static="false" final="false" visibility="public"
  7562. deprecated="not deprecated">
  7563. </method>
  7564. <method name="setTotalLogFileSize"
  7565. abstract="false" native="false" synchronized="false"
  7566. static="false" final="false" visibility="public"
  7567. deprecated="not deprecated">
  7568. <param name="logSize" type="long"/>
  7569. </method>
  7570. <method name="setIsCleanup"
  7571. abstract="false" native="false" synchronized="false"
  7572. static="false" final="false" visibility="public"
  7573. deprecated="not deprecated">
  7574. <param name="isCleanup" type="boolean"/>
  7575. <doc>
  7576. <![CDATA[Set whether the task is a cleanup attempt or not.
  7577. @param isCleanup
  7578. true if the task is cleanup attempt, false otherwise.]]>
  7579. </doc>
  7580. </method>
  7581. <method name="getIsCleanup" return="boolean"
  7582. abstract="false" native="false" synchronized="false"
  7583. static="false" final="false" visibility="public"
  7584. deprecated="not deprecated">
  7585. <doc>
  7586. <![CDATA[Get whether task is cleanup attempt or not.
  7587. @return true if the task is cleanup attempt, false otherwise.]]>
  7588. </doc>
  7589. </method>
  7590. <doc>
  7591. <![CDATA[A simple log4j-appender for the task child's
  7592. map-reduce system logs.]]>
  7593. </doc>
  7594. </class>
  7595. <!-- end class org.apache.hadoop.mapred.TaskLogAppender -->
  7596. <!-- start class org.apache.hadoop.mapred.TaskReport -->
  7597. <class name="TaskReport" extends="org.apache.hadoop.mapreduce.TaskReport"
  7598. abstract="false"
  7599. static="false" final="false" visibility="public"
  7600. deprecated="not deprecated">
  7601. <constructor name="TaskReport"
  7602. static="false" final="false" visibility="public"
  7603. deprecated="not deprecated">
  7604. </constructor>
  7605. <method name="getTaskID" return="org.apache.hadoop.mapred.TaskID"
  7606. abstract="false" native="false" synchronized="false"
  7607. static="false" final="false" visibility="public"
  7608. deprecated="not deprecated">
  7609. <doc>
  7610. <![CDATA[The id of the task.]]>
  7611. </doc>
  7612. </method>
  7613. <method name="getCounters" return="org.apache.hadoop.mapred.Counters"
  7614. abstract="false" native="false" synchronized="false"
  7615. static="false" final="false" visibility="public"
  7616. deprecated="not deprecated">
  7617. </method>
  7618. <method name="setSuccessfulAttempt"
  7619. abstract="false" native="false" synchronized="false"
  7620. static="false" final="false" visibility="public"
  7621. deprecated="not deprecated">
  7622. <param name="t" type="org.apache.hadoop.mapred.TaskAttemptID"/>
  7623. <doc>
  7624. <![CDATA[set successful attempt ID of the task.]]>
  7625. </doc>
  7626. </method>
  7627. <method name="getSuccessfulTaskAttempt" return="org.apache.hadoop.mapred.TaskAttemptID"
  7628. abstract="false" native="false" synchronized="false"
  7629. static="false" final="false" visibility="public"
  7630. deprecated="not deprecated">
  7631. <doc>
  7632. <![CDATA[Get the attempt ID that took this task to completion]]>
  7633. </doc>
  7634. </method>
  7635. <method name="setRunningTaskAttempts"
  7636. abstract="false" native="false" synchronized="false"
  7637. static="false" final="false" visibility="public"
  7638. deprecated="not deprecated">
  7639. <param name="runningAttempts" type="java.util.Collection"/>
  7640. <doc>
  7641. <![CDATA[set running attempt(s) of the task.]]>
  7642. </doc>
  7643. </method>
  7644. <method name="getRunningTaskAttempts" return="java.util.Collection"
  7645. abstract="false" native="false" synchronized="false"
  7646. static="false" final="false" visibility="public"
  7647. deprecated="not deprecated">
  7648. <doc>
  7649. <![CDATA[Get the running task attempt IDs for this task]]>
  7650. </doc>
  7651. </method>
  7652. <method name="setFinishTime"
  7653. abstract="false" native="false" synchronized="false"
  7654. static="false" final="false" visibility="protected"
  7655. deprecated="not deprecated">
  7656. <param name="finishTime" type="long"/>
  7657. <doc>
  7658. <![CDATA[set finish time of task.
  7659. @param finishTime finish time of task.]]>
  7660. </doc>
  7661. </method>
  7662. <method name="setStartTime"
  7663. abstract="false" native="false" synchronized="false"
  7664. static="false" final="false" visibility="protected"
  7665. deprecated="not deprecated">
  7666. <param name="startTime" type="long"/>
  7667. <doc>
  7668. <![CDATA[set start time of the task.]]>
  7669. </doc>
  7670. </method>
  7671. <doc>
  7672. <![CDATA[A report on the state of a task.]]>
  7673. </doc>
  7674. </class>
  7675. <!-- end class org.apache.hadoop.mapred.TaskReport -->
  7676. <!-- start class org.apache.hadoop.mapred.TextInputFormat -->
  7677. <class name="TextInputFormat" extends="org.apache.hadoop.mapred.FileInputFormat"
  7678. abstract="false"
  7679. static="false" final="false" visibility="public"
  7680. deprecated="not deprecated">
  7681. <implements name="org.apache.hadoop.mapred.JobConfigurable"/>
  7682. <constructor name="TextInputFormat"
  7683. static="false" final="false" visibility="public"
  7684. deprecated="not deprecated">
  7685. </constructor>
  7686. <method name="configure"
  7687. abstract="false" native="false" synchronized="false"
  7688. static="false" final="false" visibility="public"
  7689. deprecated="not deprecated">
  7690. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  7691. </method>
  7692. <method name="isSplitable" return="boolean"
  7693. abstract="false" native="false" synchronized="false"
  7694. static="false" final="false" visibility="protected"
  7695. deprecated="not deprecated">
  7696. <param name="fs" type="org.apache.hadoop.fs.FileSystem"/>
  7697. <param name="file" type="org.apache.hadoop.fs.Path"/>
  7698. </method>
  7699. <method name="getRecordReader" return="org.apache.hadoop.mapred.RecordReader"
  7700. abstract="false" native="false" synchronized="false"
  7701. static="false" final="false" visibility="public"
  7702. deprecated="not deprecated">
  7703. <param name="genericSplit" type="org.apache.hadoop.mapred.InputSplit"/>
  7704. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  7705. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  7706. <exception name="IOException" type="java.io.IOException"/>
  7707. </method>
  7708. <doc>
  7709. <![CDATA[An {@link InputFormat} for plain text files. Files are broken into lines.
  7710. Either linefeed or carriage-return are used to signal end of line. Keys are
  7711. the position in the file, and values are the line of text..]]>
  7712. </doc>
  7713. </class>
  7714. <!-- end class org.apache.hadoop.mapred.TextInputFormat -->
  7715. <!-- start class org.apache.hadoop.mapred.TextOutputFormat -->
  7716. <class name="TextOutputFormat" extends="org.apache.hadoop.mapred.FileOutputFormat"
  7717. abstract="false"
  7718. static="false" final="false" visibility="public"
  7719. deprecated="not deprecated">
  7720. <constructor name="TextOutputFormat"
  7721. static="false" final="false" visibility="public"
  7722. deprecated="not deprecated">
  7723. </constructor>
  7724. <method name="getRecordWriter" return="org.apache.hadoop.mapred.RecordWriter"
  7725. abstract="false" native="false" synchronized="false"
  7726. static="false" final="false" visibility="public"
  7727. deprecated="not deprecated">
  7728. <param name="ignored" type="org.apache.hadoop.fs.FileSystem"/>
  7729. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  7730. <param name="name" type="java.lang.String"/>
  7731. <param name="progress" type="org.apache.hadoop.util.Progressable"/>
  7732. <exception name="IOException" type="java.io.IOException"/>
  7733. </method>
  7734. <doc>
  7735. <![CDATA[An {@link OutputFormat} that writes plain text files.]]>
  7736. </doc>
  7737. </class>
  7738. <!-- end class org.apache.hadoop.mapred.TextOutputFormat -->
  7739. <!-- start class org.apache.hadoop.mapred.TextOutputFormat.LineRecordWriter -->
  7740. <class name="TextOutputFormat.LineRecordWriter" extends="java.lang.Object"
  7741. abstract="false"
  7742. static="true" final="false" visibility="protected"
  7743. deprecated="not deprecated">
  7744. <implements name="org.apache.hadoop.mapred.RecordWriter"/>
  7745. <constructor name="TextOutputFormat.LineRecordWriter" type="java.io.DataOutputStream, java.lang.String"
  7746. static="false" final="false" visibility="public"
  7747. deprecated="not deprecated">
  7748. </constructor>
  7749. <constructor name="TextOutputFormat.LineRecordWriter" type="java.io.DataOutputStream"
  7750. static="false" final="false" visibility="public"
  7751. deprecated="not deprecated">
  7752. </constructor>
  7753. <method name="write"
  7754. abstract="false" native="false" synchronized="true"
  7755. static="false" final="false" visibility="public"
  7756. deprecated="not deprecated">
  7757. <param name="key" type="K"/>
  7758. <param name="value" type="V"/>
  7759. <exception name="IOException" type="java.io.IOException"/>
  7760. </method>
  7761. <method name="close"
  7762. abstract="false" native="false" synchronized="true"
  7763. static="false" final="false" visibility="public"
  7764. deprecated="not deprecated">
  7765. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  7766. <exception name="IOException" type="java.io.IOException"/>
  7767. </method>
  7768. <field name="out" type="java.io.DataOutputStream"
  7769. transient="false" volatile="false"
  7770. static="false" final="false" visibility="protected"
  7771. deprecated="not deprecated">
  7772. </field>
  7773. </class>
  7774. <!-- end class org.apache.hadoop.mapred.TextOutputFormat.LineRecordWriter -->
  7775. <!-- start class org.apache.hadoop.mapred.Utils -->
  7776. <class name="Utils" extends="java.lang.Object"
  7777. abstract="false"
  7778. static="false" final="false" visibility="public"
  7779. deprecated="not deprecated">
  7780. <constructor name="Utils"
  7781. static="false" final="false" visibility="public"
  7782. deprecated="not deprecated">
  7783. </constructor>
  7784. <doc>
  7785. <![CDATA[A utility class. It provides
  7786. A path filter utility to filter out output/part files in the output dir]]>
  7787. </doc>
  7788. </class>
  7789. <!-- end class org.apache.hadoop.mapred.Utils -->
  7790. <!-- start class org.apache.hadoop.mapred.Utils.OutputFileUtils -->
  7791. <class name="Utils.OutputFileUtils" extends="java.lang.Object"
  7792. abstract="false"
  7793. static="true" final="false" visibility="public"
  7794. deprecated="not deprecated">
  7795. <constructor name="Utils.OutputFileUtils"
  7796. static="false" final="false" visibility="public"
  7797. deprecated="not deprecated">
  7798. </constructor>
  7799. </class>
  7800. <!-- end class org.apache.hadoop.mapred.Utils.OutputFileUtils -->
  7801. <!-- start class org.apache.hadoop.mapred.Utils.OutputFileUtils.OutputFilesFilter -->
  7802. <class name="Utils.OutputFileUtils.OutputFilesFilter" extends="org.apache.hadoop.mapred.Utils.OutputFileUtils.OutputLogFilter"
  7803. abstract="false"
  7804. static="true" final="false" visibility="public"
  7805. deprecated="not deprecated">
  7806. <constructor name="Utils.OutputFileUtils.OutputFilesFilter"
  7807. static="false" final="false" visibility="public"
  7808. deprecated="not deprecated">
  7809. </constructor>
  7810. <method name="accept" return="boolean"
  7811. abstract="false" native="false" synchronized="false"
  7812. static="false" final="false" visibility="public"
  7813. deprecated="not deprecated">
  7814. <param name="path" type="org.apache.hadoop.fs.Path"/>
  7815. </method>
  7816. <doc>
  7817. <![CDATA[This class filters output(part) files from the given directory
  7818. It does not accept files with filenames _logs and _SUCCESS.
  7819. This can be used to list paths of output directory as follows:
  7820. Path[] fileList = FileUtil.stat2Paths(fs.listStatus(outDir,
  7821. new OutputFilesFilter()));]]>
  7822. </doc>
  7823. </class>
  7824. <!-- end class org.apache.hadoop.mapred.Utils.OutputFileUtils.OutputFilesFilter -->
  7825. <!-- start class org.apache.hadoop.mapred.Utils.OutputFileUtils.OutputLogFilter -->
  7826. <class name="Utils.OutputFileUtils.OutputLogFilter" extends="java.lang.Object"
  7827. abstract="false"
  7828. static="true" final="false" visibility="public"
  7829. deprecated="not deprecated">
  7830. <implements name="org.apache.hadoop.fs.PathFilter"/>
  7831. <constructor name="Utils.OutputFileUtils.OutputLogFilter"
  7832. static="false" final="false" visibility="public"
  7833. deprecated="not deprecated">
  7834. </constructor>
  7835. <method name="accept" return="boolean"
  7836. abstract="false" native="false" synchronized="false"
  7837. static="false" final="false" visibility="public"
  7838. deprecated="not deprecated">
  7839. <param name="path" type="org.apache.hadoop.fs.Path"/>
  7840. </method>
  7841. <doc>
  7842. <![CDATA[This class filters log files from directory given
  7843. It doesnt accept paths having _logs.
  7844. This can be used to list paths of output directory as follows:
  7845. Path[] fileList = FileUtil.stat2Paths(fs.listStatus(outDir,
  7846. new OutputLogFilter()));]]>
  7847. </doc>
  7848. </class>
  7849. <!-- end class org.apache.hadoop.mapred.Utils.OutputFileUtils.OutputLogFilter -->
  7850. </package>
  7851. <package name="org.apache.hadoop.mapred.jobcontrol">
  7852. <!-- start class org.apache.hadoop.mapred.jobcontrol.Job -->
  7853. <class name="Job" extends="org.apache.hadoop.mapreduce.lib.jobcontrol.ControlledJob"
  7854. abstract="false"
  7855. static="false" final="false" visibility="public"
  7856. deprecated="not deprecated">
  7857. <constructor name="Job" type="org.apache.hadoop.mapred.JobConf, java.util.ArrayList"
  7858. static="false" final="false" visibility="public"
  7859. deprecated="not deprecated">
  7860. <exception name="IOException" type="java.io.IOException"/>
  7861. <doc>
  7862. <![CDATA[Construct a job.
  7863. @param jobConf a mapred job configuration representing a job to be executed.
  7864. @param dependingJobs an array of jobs the current job depends on]]>
  7865. </doc>
  7866. </constructor>
  7867. <constructor name="Job" type="org.apache.hadoop.mapred.JobConf"
  7868. static="false" final="false" visibility="public"
  7869. deprecated="not deprecated">
  7870. <exception name="IOException" type="java.io.IOException"/>
  7871. </constructor>
  7872. <method name="getAssignedJobID" return="org.apache.hadoop.mapred.JobID"
  7873. abstract="false" native="false" synchronized="false"
  7874. static="false" final="false" visibility="public"
  7875. deprecated="not deprecated">
  7876. <doc>
  7877. <![CDATA[@return the mapred ID of this job as assigned by the
  7878. mapred framework.]]>
  7879. </doc>
  7880. </method>
  7881. <method name="setAssignedJobID"
  7882. abstract="false" native="false" synchronized="false"
  7883. static="false" final="false" visibility="public"
  7884. deprecated="setAssignedJobID should not be called.
  7885. JOBID is set by the framework.">
  7886. <param name="mapredJobID" type="org.apache.hadoop.mapred.JobID"/>
  7887. <doc>
  7888. <![CDATA[@deprecated setAssignedJobID should not be called.
  7889. JOBID is set by the framework.]]>
  7890. </doc>
  7891. </method>
  7892. <method name="getJobConf" return="org.apache.hadoop.mapred.JobConf"
  7893. abstract="false" native="false" synchronized="true"
  7894. static="false" final="false" visibility="public"
  7895. deprecated="not deprecated">
  7896. <doc>
  7897. <![CDATA[@return the mapred job conf of this job]]>
  7898. </doc>
  7899. </method>
  7900. <method name="setJobConf"
  7901. abstract="false" native="false" synchronized="true"
  7902. static="false" final="false" visibility="public"
  7903. deprecated="not deprecated">
  7904. <param name="jobConf" type="org.apache.hadoop.mapred.JobConf"/>
  7905. <doc>
  7906. <![CDATA[Set the mapred job conf for this job.
  7907. @param jobConf the mapred job conf for this job.]]>
  7908. </doc>
  7909. </method>
  7910. <method name="getState" return="int"
  7911. abstract="false" native="false" synchronized="true"
  7912. static="false" final="false" visibility="public"
  7913. deprecated="not deprecated">
  7914. <doc>
  7915. <![CDATA[@return the state of this job]]>
  7916. </doc>
  7917. </method>
  7918. <method name="getJobClient" return="org.apache.hadoop.mapred.JobClient"
  7919. abstract="false" native="false" synchronized="false"
  7920. static="false" final="false" visibility="public"
  7921. deprecated="not deprecated">
  7922. <doc>
  7923. <![CDATA[@return the job client of this job]]>
  7924. </doc>
  7925. </method>
  7926. <method name="getDependingJobs" return="java.util.ArrayList"
  7927. abstract="false" native="false" synchronized="false"
  7928. static="false" final="false" visibility="public"
  7929. deprecated="not deprecated">
  7930. <doc>
  7931. <![CDATA[@return the depending jobs of this job]]>
  7932. </doc>
  7933. </method>
  7934. <field name="SUCCESS" type="int"
  7935. transient="false" volatile="false"
  7936. static="true" final="true" visibility="public"
  7937. deprecated="not deprecated">
  7938. </field>
  7939. <field name="WAITING" type="int"
  7940. transient="false" volatile="false"
  7941. static="true" final="true" visibility="public"
  7942. deprecated="not deprecated">
  7943. </field>
  7944. <field name="RUNNING" type="int"
  7945. transient="false" volatile="false"
  7946. static="true" final="true" visibility="public"
  7947. deprecated="not deprecated">
  7948. </field>
  7949. <field name="READY" type="int"
  7950. transient="false" volatile="false"
  7951. static="true" final="true" visibility="public"
  7952. deprecated="not deprecated">
  7953. </field>
  7954. <field name="FAILED" type="int"
  7955. transient="false" volatile="false"
  7956. static="true" final="true" visibility="public"
  7957. deprecated="not deprecated">
  7958. </field>
  7959. <field name="DEPENDENT_FAILED" type="int"
  7960. transient="false" volatile="false"
  7961. static="true" final="true" visibility="public"
  7962. deprecated="not deprecated">
  7963. </field>
  7964. </class>
  7965. <!-- end class org.apache.hadoop.mapred.jobcontrol.Job -->
  7966. <!-- start class org.apache.hadoop.mapred.jobcontrol.JobControl -->
  7967. <class name="JobControl" extends="org.apache.hadoop.mapreduce.lib.jobcontrol.JobControl"
  7968. abstract="false"
  7969. static="false" final="false" visibility="public"
  7970. deprecated="not deprecated">
  7971. <constructor name="JobControl" type="java.lang.String"
  7972. static="false" final="false" visibility="public"
  7973. deprecated="not deprecated">
  7974. <doc>
  7975. <![CDATA[Construct a job control for a group of jobs.
  7976. @param groupName a name identifying this group]]>
  7977. </doc>
  7978. </constructor>
  7979. <method name="getWaitingJobs" return="java.util.ArrayList"
  7980. abstract="false" native="false" synchronized="false"
  7981. static="false" final="false" visibility="public"
  7982. deprecated="not deprecated">
  7983. <doc>
  7984. <![CDATA[@return the jobs in the waiting state]]>
  7985. </doc>
  7986. </method>
  7987. <method name="getRunningJobs" return="java.util.ArrayList"
  7988. abstract="false" native="false" synchronized="false"
  7989. static="false" final="false" visibility="public"
  7990. deprecated="not deprecated">
  7991. <doc>
  7992. <![CDATA[@return the jobs in the running state]]>
  7993. </doc>
  7994. </method>
  7995. <method name="getReadyJobs" return="java.util.ArrayList"
  7996. abstract="false" native="false" synchronized="false"
  7997. static="false" final="false" visibility="public"
  7998. deprecated="not deprecated">
  7999. <doc>
  8000. <![CDATA[@return the jobs in the ready state]]>
  8001. </doc>
  8002. </method>
  8003. <method name="getSuccessfulJobs" return="java.util.ArrayList"
  8004. abstract="false" native="false" synchronized="false"
  8005. static="false" final="false" visibility="public"
  8006. deprecated="not deprecated">
  8007. <doc>
  8008. <![CDATA[@return the jobs in the success state]]>
  8009. </doc>
  8010. </method>
  8011. <method name="getFailedJobs" return="java.util.ArrayList"
  8012. abstract="false" native="false" synchronized="false"
  8013. static="false" final="false" visibility="public"
  8014. deprecated="not deprecated">
  8015. </method>
  8016. <method name="addJobs"
  8017. abstract="false" native="false" synchronized="false"
  8018. static="false" final="false" visibility="public"
  8019. deprecated="not deprecated">
  8020. <param name="jobs" type="java.util.Collection"/>
  8021. <doc>
  8022. <![CDATA[Add a collection of jobs
  8023. @param jobs]]>
  8024. </doc>
  8025. </method>
  8026. <method name="getState" return="int"
  8027. abstract="false" native="false" synchronized="false"
  8028. static="false" final="false" visibility="public"
  8029. deprecated="not deprecated">
  8030. <doc>
  8031. <![CDATA[@return the thread state]]>
  8032. </doc>
  8033. </method>
  8034. </class>
  8035. <!-- end class org.apache.hadoop.mapred.jobcontrol.JobControl -->
  8036. </package>
  8037. <package name="org.apache.hadoop.mapred.join">
  8038. <!-- start class org.apache.hadoop.mapred.join.ArrayListBackedIterator -->
  8039. <class name="ArrayListBackedIterator" extends="org.apache.hadoop.mapreduce.lib.join.ArrayListBackedIterator"
  8040. abstract="false"
  8041. static="false" final="false" visibility="public"
  8042. deprecated="not deprecated">
  8043. <implements name="org.apache.hadoop.mapred.join.ResetableIterator"/>
  8044. <constructor name="ArrayListBackedIterator"
  8045. static="false" final="false" visibility="public"
  8046. deprecated="not deprecated">
  8047. </constructor>
  8048. <constructor name="ArrayListBackedIterator" type="java.util.ArrayList"
  8049. static="false" final="false" visibility="public"
  8050. deprecated="not deprecated">
  8051. </constructor>
  8052. <doc>
  8053. <![CDATA[This class provides an implementation of ResetableIterator. The
  8054. implementation uses an {@link java.util.ArrayList} to store elements
  8055. added to it, replaying them as requested.
  8056. Prefer {@link StreamBackedIterator}.]]>
  8057. </doc>
  8058. </class>
  8059. <!-- end class org.apache.hadoop.mapred.join.ArrayListBackedIterator -->
  8060. <!-- start interface org.apache.hadoop.mapred.join.ComposableInputFormat -->
  8061. <interface name="ComposableInputFormat" abstract="true"
  8062. static="false" final="false" visibility="public"
  8063. deprecated="not deprecated">
  8064. <implements name="org.apache.hadoop.mapred.InputFormat"/>
  8065. <method name="getRecordReader" return="org.apache.hadoop.mapred.join.ComposableRecordReader"
  8066. abstract="false" native="false" synchronized="false"
  8067. static="false" final="false" visibility="public"
  8068. deprecated="not deprecated">
  8069. <param name="split" type="org.apache.hadoop.mapred.InputSplit"/>
  8070. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  8071. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  8072. <exception name="IOException" type="java.io.IOException"/>
  8073. </method>
  8074. <doc>
  8075. <![CDATA[Refinement of InputFormat requiring implementors to provide
  8076. ComposableRecordReader instead of RecordReader.]]>
  8077. </doc>
  8078. </interface>
  8079. <!-- end interface org.apache.hadoop.mapred.join.ComposableInputFormat -->
  8080. <!-- start interface org.apache.hadoop.mapred.join.ComposableRecordReader -->
  8081. <interface name="ComposableRecordReader" abstract="true"
  8082. static="false" final="false" visibility="public"
  8083. deprecated="not deprecated">
  8084. <implements name="org.apache.hadoop.mapred.RecordReader"/>
  8085. <implements name="java.lang.Comparable"/>
  8086. <method name="id" return="int"
  8087. abstract="false" native="false" synchronized="false"
  8088. static="false" final="false" visibility="public"
  8089. deprecated="not deprecated">
  8090. <doc>
  8091. <![CDATA[Return the position in the collector this class occupies.]]>
  8092. </doc>
  8093. </method>
  8094. <method name="key" return="K"
  8095. abstract="false" native="false" synchronized="false"
  8096. static="false" final="false" visibility="public"
  8097. deprecated="not deprecated">
  8098. <doc>
  8099. <![CDATA[Return the key this RecordReader would supply on a call to next(K,V)]]>
  8100. </doc>
  8101. </method>
  8102. <method name="key"
  8103. abstract="false" native="false" synchronized="false"
  8104. static="false" final="false" visibility="public"
  8105. deprecated="not deprecated">
  8106. <param name="key" type="K"/>
  8107. <exception name="IOException" type="java.io.IOException"/>
  8108. <doc>
  8109. <![CDATA[Clone the key at the head of this RecordReader into the object provided.]]>
  8110. </doc>
  8111. </method>
  8112. <method name="hasNext" return="boolean"
  8113. abstract="false" native="false" synchronized="false"
  8114. static="false" final="false" visibility="public"
  8115. deprecated="not deprecated">
  8116. <doc>
  8117. <![CDATA[Returns true if the stream is not empty, but provides no guarantee that
  8118. a call to next(K,V) will succeed.]]>
  8119. </doc>
  8120. </method>
  8121. <method name="skip"
  8122. abstract="false" native="false" synchronized="false"
  8123. static="false" final="false" visibility="public"
  8124. deprecated="not deprecated">
  8125. <param name="key" type="K"/>
  8126. <exception name="IOException" type="java.io.IOException"/>
  8127. <doc>
  8128. <![CDATA[Skip key-value pairs with keys less than or equal to the key provided.]]>
  8129. </doc>
  8130. </method>
  8131. <method name="accept"
  8132. abstract="false" native="false" synchronized="false"
  8133. static="false" final="false" visibility="public"
  8134. deprecated="not deprecated">
  8135. <param name="jc" type="org.apache.hadoop.mapred.join.CompositeRecordReader.JoinCollector"/>
  8136. <param name="key" type="K"/>
  8137. <exception name="IOException" type="java.io.IOException"/>
  8138. <doc>
  8139. <![CDATA[While key-value pairs from this RecordReader match the given key, register
  8140. them with the JoinCollector provided.]]>
  8141. </doc>
  8142. </method>
  8143. <doc>
  8144. <![CDATA[Additional operations required of a RecordReader to participate in a join.]]>
  8145. </doc>
  8146. </interface>
  8147. <!-- end interface org.apache.hadoop.mapred.join.ComposableRecordReader -->
  8148. <!-- start class org.apache.hadoop.mapred.join.CompositeInputFormat -->
  8149. <class name="CompositeInputFormat" extends="java.lang.Object"
  8150. abstract="false"
  8151. static="false" final="false" visibility="public"
  8152. deprecated="not deprecated">
  8153. <implements name="org.apache.hadoop.mapred.join.ComposableInputFormat"/>
  8154. <constructor name="CompositeInputFormat"
  8155. static="false" final="false" visibility="public"
  8156. deprecated="not deprecated">
  8157. </constructor>
  8158. <method name="setFormat"
  8159. abstract="false" native="false" synchronized="false"
  8160. static="false" final="false" visibility="public"
  8161. deprecated="not deprecated">
  8162. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  8163. <exception name="IOException" type="java.io.IOException"/>
  8164. <doc>
  8165. <![CDATA[Interpret a given string as a composite expression.
  8166. {@code
  8167. func ::= <ident>([<func>,]*<func>)
  8168. func ::= tbl(<class>,"<path>")
  8169. class ::= @see java.lang.Class#forName(java.lang.String)
  8170. path ::= @see org.apache.hadoop.fs.Path#Path(java.lang.String)
  8171. }
  8172. Reads expression from the <tt>mapred.join.expr</tt> property and
  8173. user-supplied join types from <tt>mapred.join.define.&lt;ident&gt;</tt>
  8174. types. Paths supplied to <tt>tbl</tt> are given as input paths to the
  8175. InputFormat class listed.
  8176. @see #compose(java.lang.String, java.lang.Class, java.lang.String...)]]>
  8177. </doc>
  8178. </method>
  8179. <method name="addDefaults"
  8180. abstract="false" native="false" synchronized="false"
  8181. static="false" final="false" visibility="protected"
  8182. deprecated="not deprecated">
  8183. <doc>
  8184. <![CDATA[Adds the default set of identifiers to the parser.]]>
  8185. </doc>
  8186. </method>
  8187. <method name="getSplits" return="org.apache.hadoop.mapred.InputSplit[]"
  8188. abstract="false" native="false" synchronized="false"
  8189. static="false" final="false" visibility="public"
  8190. deprecated="not deprecated">
  8191. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  8192. <param name="numSplits" type="int"/>
  8193. <exception name="IOException" type="java.io.IOException"/>
  8194. <doc>
  8195. <![CDATA[Build a CompositeInputSplit from the child InputFormats by assigning the
  8196. ith split from each child to the ith composite split.]]>
  8197. </doc>
  8198. </method>
  8199. <method name="getRecordReader" return="org.apache.hadoop.mapred.join.ComposableRecordReader"
  8200. abstract="false" native="false" synchronized="false"
  8201. static="false" final="false" visibility="public"
  8202. deprecated="not deprecated">
  8203. <param name="split" type="org.apache.hadoop.mapred.InputSplit"/>
  8204. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  8205. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  8206. <exception name="IOException" type="java.io.IOException"/>
  8207. <doc>
  8208. <![CDATA[Construct a CompositeRecordReader for the children of this InputFormat
  8209. as defined in the init expression.
  8210. The outermost join need only be composable, not necessarily a composite.
  8211. Mandating TupleWritable isn't strictly correct.]]>
  8212. </doc>
  8213. </method>
  8214. <method name="compose" return="java.lang.String"
  8215. abstract="false" native="false" synchronized="false"
  8216. static="true" final="false" visibility="public"
  8217. deprecated="not deprecated">
  8218. <param name="inf" type="java.lang.Class"/>
  8219. <param name="path" type="java.lang.String"/>
  8220. <doc>
  8221. <![CDATA[Convenience method for constructing composite formats.
  8222. Given InputFormat class (inf), path (p) return:
  8223. {@code tbl(<inf>, <p>) }]]>
  8224. </doc>
  8225. </method>
  8226. <method name="compose" return="java.lang.String"
  8227. abstract="false" native="false" synchronized="false"
  8228. static="true" final="false" visibility="public"
  8229. deprecated="not deprecated">
  8230. <param name="op" type="java.lang.String"/>
  8231. <param name="inf" type="java.lang.Class"/>
  8232. <param name="path" type="java.lang.String[]"/>
  8233. <doc>
  8234. <![CDATA[Convenience method for constructing composite formats.
  8235. Given operation (op), Object class (inf), set of paths (p) return:
  8236. {@code <op>(tbl(<inf>,<p1>),tbl(<inf>,<p2>),...,tbl(<inf>,<pn>)) }]]>
  8237. </doc>
  8238. </method>
  8239. <method name="compose" return="java.lang.String"
  8240. abstract="false" native="false" synchronized="false"
  8241. static="true" final="false" visibility="public"
  8242. deprecated="not deprecated">
  8243. <param name="op" type="java.lang.String"/>
  8244. <param name="inf" type="java.lang.Class"/>
  8245. <param name="path" type="org.apache.hadoop.fs.Path[]"/>
  8246. <doc>
  8247. <![CDATA[Convenience method for constructing composite formats.
  8248. Given operation (op), Object class (inf), set of paths (p) return:
  8249. {@code <op>(tbl(<inf>,<p1>),tbl(<inf>,<p2>),...,tbl(<inf>,<pn>)) }]]>
  8250. </doc>
  8251. </method>
  8252. <doc>
  8253. <![CDATA[An InputFormat capable of performing joins over a set of data sources sorted
  8254. and partitioned the same way.
  8255. @see #setFormat
  8256. A user may define new join types by setting the property
  8257. <tt>mapred.join.define.&lt;ident&gt;</tt> to a classname. In the expression
  8258. <tt>mapred.join.expr</tt>, the identifier will be assumed to be a
  8259. ComposableRecordReader.
  8260. <tt>mapred.join.keycomparator</tt> can be a classname used to compare keys
  8261. in the join.
  8262. @see JoinRecordReader
  8263. @see MultiFilterRecordReader]]>
  8264. </doc>
  8265. </class>
  8266. <!-- end class org.apache.hadoop.mapred.join.CompositeInputFormat -->
  8267. <!-- start class org.apache.hadoop.mapred.join.CompositeInputSplit -->
  8268. <class name="CompositeInputSplit" extends="java.lang.Object"
  8269. abstract="false"
  8270. static="false" final="false" visibility="public"
  8271. deprecated="not deprecated">
  8272. <implements name="org.apache.hadoop.mapred.InputSplit"/>
  8273. <constructor name="CompositeInputSplit"
  8274. static="false" final="false" visibility="public"
  8275. deprecated="not deprecated">
  8276. </constructor>
  8277. <constructor name="CompositeInputSplit" type="int"
  8278. static="false" final="false" visibility="public"
  8279. deprecated="not deprecated">
  8280. </constructor>
  8281. <method name="add"
  8282. abstract="false" native="false" synchronized="false"
  8283. static="false" final="false" visibility="public"
  8284. deprecated="not deprecated">
  8285. <param name="s" type="org.apache.hadoop.mapred.InputSplit"/>
  8286. <exception name="IOException" type="java.io.IOException"/>
  8287. <doc>
  8288. <![CDATA[Add an InputSplit to this collection.
  8289. @throws IOException If capacity was not specified during construction
  8290. or if capacity has been reached.]]>
  8291. </doc>
  8292. </method>
  8293. <method name="get" return="org.apache.hadoop.mapred.InputSplit"
  8294. abstract="false" native="false" synchronized="false"
  8295. static="false" final="false" visibility="public"
  8296. deprecated="not deprecated">
  8297. <param name="i" type="int"/>
  8298. <doc>
  8299. <![CDATA[Get ith child InputSplit.]]>
  8300. </doc>
  8301. </method>
  8302. <method name="getLength" return="long"
  8303. abstract="false" native="false" synchronized="false"
  8304. static="false" final="false" visibility="public"
  8305. deprecated="not deprecated">
  8306. <exception name="IOException" type="java.io.IOException"/>
  8307. <doc>
  8308. <![CDATA[Return the aggregate length of all child InputSplits currently added.]]>
  8309. </doc>
  8310. </method>
  8311. <method name="getLength" return="long"
  8312. abstract="false" native="false" synchronized="false"
  8313. static="false" final="false" visibility="public"
  8314. deprecated="not deprecated">
  8315. <param name="i" type="int"/>
  8316. <exception name="IOException" type="java.io.IOException"/>
  8317. <doc>
  8318. <![CDATA[Get the length of ith child InputSplit.]]>
  8319. </doc>
  8320. </method>
  8321. <method name="getLocations" return="java.lang.String[]"
  8322. abstract="false" native="false" synchronized="false"
  8323. static="false" final="false" visibility="public"
  8324. deprecated="not deprecated">
  8325. <exception name="IOException" type="java.io.IOException"/>
  8326. <doc>
  8327. <![CDATA[Collect a set of hosts from all child InputSplits.]]>
  8328. </doc>
  8329. </method>
  8330. <method name="getLocation" return="java.lang.String[]"
  8331. abstract="false" native="false" synchronized="false"
  8332. static="false" final="false" visibility="public"
  8333. deprecated="not deprecated">
  8334. <param name="i" type="int"/>
  8335. <exception name="IOException" type="java.io.IOException"/>
  8336. <doc>
  8337. <![CDATA[getLocations from ith InputSplit.]]>
  8338. </doc>
  8339. </method>
  8340. <method name="write"
  8341. abstract="false" native="false" synchronized="false"
  8342. static="false" final="false" visibility="public"
  8343. deprecated="not deprecated">
  8344. <param name="out" type="java.io.DataOutput"/>
  8345. <exception name="IOException" type="java.io.IOException"/>
  8346. <doc>
  8347. <![CDATA[Write splits in the following format.
  8348. {@code
  8349. <count><class1><class2>...<classn><split1><split2>...<splitn>
  8350. }]]>
  8351. </doc>
  8352. </method>
  8353. <method name="readFields"
  8354. abstract="false" native="false" synchronized="false"
  8355. static="false" final="false" visibility="public"
  8356. deprecated="not deprecated">
  8357. <param name="in" type="java.io.DataInput"/>
  8358. <exception name="IOException" type="java.io.IOException"/>
  8359. <doc>
  8360. <![CDATA[{@inheritDoc}
  8361. @throws IOException If the child InputSplit cannot be read, typically
  8362. for faliing access checks.]]>
  8363. </doc>
  8364. </method>
  8365. <doc>
  8366. <![CDATA[This InputSplit contains a set of child InputSplits. Any InputSplit inserted
  8367. into this collection must have a public default constructor.]]>
  8368. </doc>
  8369. </class>
  8370. <!-- end class org.apache.hadoop.mapred.join.CompositeInputSplit -->
  8371. <!-- start class org.apache.hadoop.mapred.join.CompositeRecordReader -->
  8372. <class name="CompositeRecordReader" extends="java.lang.Object"
  8373. abstract="true"
  8374. static="false" final="false" visibility="public"
  8375. deprecated="not deprecated">
  8376. <implements name="org.apache.hadoop.conf.Configurable"/>
  8377. <constructor name="CompositeRecordReader" type="int, int, java.lang.Class"
  8378. static="false" final="false" visibility="public"
  8379. deprecated="not deprecated">
  8380. <exception name="IOException" type="java.io.IOException"/>
  8381. <doc>
  8382. <![CDATA[Create a RecordReader with <tt>capacity</tt> children to position
  8383. <tt>id</tt> in the parent reader.
  8384. The id of a root CompositeRecordReader is -1 by convention, but relying
  8385. on this is not recommended.]]>
  8386. </doc>
  8387. </constructor>
  8388. <method name="combine" return="boolean"
  8389. abstract="true" native="false" synchronized="false"
  8390. static="false" final="false" visibility="protected"
  8391. deprecated="not deprecated">
  8392. <param name="srcs" type="java.lang.Object[]"/>
  8393. <param name="value" type="org.apache.hadoop.mapred.join.TupleWritable"/>
  8394. </method>
  8395. <method name="id" return="int"
  8396. abstract="false" native="false" synchronized="false"
  8397. static="false" final="false" visibility="public"
  8398. deprecated="not deprecated">
  8399. <doc>
  8400. <![CDATA[Return the position in the collector this class occupies.]]>
  8401. </doc>
  8402. </method>
  8403. <method name="setConf"
  8404. abstract="false" native="false" synchronized="false"
  8405. static="false" final="false" visibility="public"
  8406. deprecated="not deprecated">
  8407. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  8408. <doc>
  8409. <![CDATA[{@inheritDoc}]]>
  8410. </doc>
  8411. </method>
  8412. <method name="getConf" return="org.apache.hadoop.conf.Configuration"
  8413. abstract="false" native="false" synchronized="false"
  8414. static="false" final="false" visibility="public"
  8415. deprecated="not deprecated">
  8416. <doc>
  8417. <![CDATA[{@inheritDoc}]]>
  8418. </doc>
  8419. </method>
  8420. <method name="getRecordReaderQueue" return="java.util.PriorityQueue"
  8421. abstract="false" native="false" synchronized="false"
  8422. static="false" final="false" visibility="protected"
  8423. deprecated="not deprecated">
  8424. <doc>
  8425. <![CDATA[Return sorted list of RecordReaders for this composite.]]>
  8426. </doc>
  8427. </method>
  8428. <method name="getComparator" return="org.apache.hadoop.io.WritableComparator"
  8429. abstract="false" native="false" synchronized="false"
  8430. static="false" final="false" visibility="protected"
  8431. deprecated="not deprecated">
  8432. <doc>
  8433. <![CDATA[Return comparator defining the ordering for RecordReaders in this
  8434. composite.]]>
  8435. </doc>
  8436. </method>
  8437. <method name="add"
  8438. abstract="false" native="false" synchronized="false"
  8439. static="false" final="false" visibility="public"
  8440. deprecated="not deprecated">
  8441. <param name="rr" type="org.apache.hadoop.mapred.join.ComposableRecordReader"/>
  8442. <exception name="IOException" type="java.io.IOException"/>
  8443. <doc>
  8444. <![CDATA[Add a RecordReader to this collection.
  8445. The id() of a RecordReader determines where in the Tuple its
  8446. entry will appear. Adding RecordReaders with the same id has
  8447. undefined behavior.]]>
  8448. </doc>
  8449. </method>
  8450. <method name="key" return="K"
  8451. abstract="false" native="false" synchronized="false"
  8452. static="false" final="false" visibility="public"
  8453. deprecated="not deprecated">
  8454. <doc>
  8455. <![CDATA[Return the key for the current join or the value at the top of the
  8456. RecordReader heap.]]>
  8457. </doc>
  8458. </method>
  8459. <method name="key"
  8460. abstract="false" native="false" synchronized="false"
  8461. static="false" final="false" visibility="public"
  8462. deprecated="not deprecated">
  8463. <param name="key" type="K"/>
  8464. <exception name="IOException" type="java.io.IOException"/>
  8465. <doc>
  8466. <![CDATA[Clone the key at the top of this RR into the given object.]]>
  8467. </doc>
  8468. </method>
  8469. <method name="hasNext" return="boolean"
  8470. abstract="false" native="false" synchronized="false"
  8471. static="false" final="false" visibility="public"
  8472. deprecated="not deprecated">
  8473. <doc>
  8474. <![CDATA[Return true if it is possible that this could emit more values.]]>
  8475. </doc>
  8476. </method>
  8477. <method name="skip"
  8478. abstract="false" native="false" synchronized="false"
  8479. static="false" final="false" visibility="public"
  8480. deprecated="not deprecated">
  8481. <param name="key" type="K"/>
  8482. <exception name="IOException" type="java.io.IOException"/>
  8483. <doc>
  8484. <![CDATA[Pass skip key to child RRs.]]>
  8485. </doc>
  8486. </method>
  8487. <method name="getDelegate" return="org.apache.hadoop.mapred.join.ResetableIterator"
  8488. abstract="true" native="false" synchronized="false"
  8489. static="false" final="false" visibility="protected"
  8490. deprecated="not deprecated">
  8491. <doc>
  8492. <![CDATA[Obtain an iterator over the child RRs apropos of the value type
  8493. ultimately emitted from this join.]]>
  8494. </doc>
  8495. </method>
  8496. <method name="accept"
  8497. abstract="false" native="false" synchronized="false"
  8498. static="false" final="false" visibility="public"
  8499. deprecated="not deprecated">
  8500. <param name="jc" type="org.apache.hadoop.mapred.join.CompositeRecordReader.JoinCollector"/>
  8501. <param name="key" type="K"/>
  8502. <exception name="IOException" type="java.io.IOException"/>
  8503. <doc>
  8504. <![CDATA[If key provided matches that of this Composite, give JoinCollector
  8505. iterator over values it may emit.]]>
  8506. </doc>
  8507. </method>
  8508. <method name="fillJoinCollector"
  8509. abstract="false" native="false" synchronized="false"
  8510. static="false" final="false" visibility="protected"
  8511. deprecated="not deprecated">
  8512. <param name="iterkey" type="K"/>
  8513. <exception name="IOException" type="java.io.IOException"/>
  8514. <doc>
  8515. <![CDATA[For all child RRs offering the key provided, obtain an iterator
  8516. at that position in the JoinCollector.]]>
  8517. </doc>
  8518. </method>
  8519. <method name="compareTo" return="int"
  8520. abstract="false" native="false" synchronized="false"
  8521. static="false" final="false" visibility="public"
  8522. deprecated="not deprecated">
  8523. <param name="other" type="org.apache.hadoop.mapred.join.ComposableRecordReader"/>
  8524. <doc>
  8525. <![CDATA[Implement Comparable contract (compare key of join or head of heap
  8526. with that of another).]]>
  8527. </doc>
  8528. </method>
  8529. <method name="createKey" return="K"
  8530. abstract="false" native="false" synchronized="false"
  8531. static="false" final="false" visibility="public"
  8532. deprecated="not deprecated">
  8533. <doc>
  8534. <![CDATA[Create a new key value common to all child RRs.
  8535. @throws ClassCastException if key classes differ.]]>
  8536. </doc>
  8537. </method>
  8538. <method name="createInternalValue" return="org.apache.hadoop.mapred.join.TupleWritable"
  8539. abstract="false" native="false" synchronized="false"
  8540. static="false" final="false" visibility="protected"
  8541. deprecated="not deprecated">
  8542. <doc>
  8543. <![CDATA[Create a value to be used internally for joins.]]>
  8544. </doc>
  8545. </method>
  8546. <method name="getPos" return="long"
  8547. abstract="false" native="false" synchronized="false"
  8548. static="false" final="false" visibility="public"
  8549. deprecated="not deprecated">
  8550. <exception name="IOException" type="java.io.IOException"/>
  8551. <doc>
  8552. <![CDATA[Unsupported (returns zero in all cases).]]>
  8553. </doc>
  8554. </method>
  8555. <method name="close"
  8556. abstract="false" native="false" synchronized="false"
  8557. static="false" final="false" visibility="public"
  8558. deprecated="not deprecated">
  8559. <exception name="IOException" type="java.io.IOException"/>
  8560. <doc>
  8561. <![CDATA[Close all child RRs.]]>
  8562. </doc>
  8563. </method>
  8564. <method name="getProgress" return="float"
  8565. abstract="false" native="false" synchronized="false"
  8566. static="false" final="false" visibility="public"
  8567. deprecated="not deprecated">
  8568. <exception name="IOException" type="java.io.IOException"/>
  8569. <doc>
  8570. <![CDATA[Report progress as the minimum of all child RR progress.]]>
  8571. </doc>
  8572. </method>
  8573. <field name="jc" type="org.apache.hadoop.mapred.join.CompositeRecordReader.JoinCollector"
  8574. transient="false" volatile="false"
  8575. static="false" final="true" visibility="protected"
  8576. deprecated="not deprecated">
  8577. </field>
  8578. <field name="kids" type="org.apache.hadoop.mapred.join.ComposableRecordReader[]"
  8579. transient="false" volatile="false"
  8580. static="false" final="true" visibility="protected"
  8581. deprecated="not deprecated">
  8582. </field>
  8583. <doc>
  8584. <![CDATA[A RecordReader that can effect joins of RecordReaders sharing a common key
  8585. type and partitioning.]]>
  8586. </doc>
  8587. </class>
  8588. <!-- end class org.apache.hadoop.mapred.join.CompositeRecordReader -->
  8589. <!-- start class org.apache.hadoop.mapred.join.InnerJoinRecordReader -->
  8590. <class name="InnerJoinRecordReader" extends="org.apache.hadoop.mapred.join.JoinRecordReader"
  8591. abstract="false"
  8592. static="false" final="false" visibility="public"
  8593. deprecated="not deprecated">
  8594. <method name="combine" return="boolean"
  8595. abstract="false" native="false" synchronized="false"
  8596. static="false" final="false" visibility="protected"
  8597. deprecated="not deprecated">
  8598. <param name="srcs" type="java.lang.Object[]"/>
  8599. <param name="dst" type="org.apache.hadoop.mapred.join.TupleWritable"/>
  8600. <doc>
  8601. <![CDATA[Return true iff the tuple is full (all data sources contain this key).]]>
  8602. </doc>
  8603. </method>
  8604. <doc>
  8605. <![CDATA[Full inner join.]]>
  8606. </doc>
  8607. </class>
  8608. <!-- end class org.apache.hadoop.mapred.join.InnerJoinRecordReader -->
  8609. <!-- start class org.apache.hadoop.mapred.join.JoinRecordReader -->
  8610. <class name="JoinRecordReader" extends="org.apache.hadoop.mapred.join.CompositeRecordReader"
  8611. abstract="true"
  8612. static="false" final="false" visibility="public"
  8613. deprecated="not deprecated">
  8614. <implements name="org.apache.hadoop.mapred.join.ComposableRecordReader"/>
  8615. <constructor name="JoinRecordReader" type="int, org.apache.hadoop.mapred.JobConf, int, java.lang.Class"
  8616. static="false" final="false" visibility="public"
  8617. deprecated="not deprecated">
  8618. <exception name="IOException" type="java.io.IOException"/>
  8619. </constructor>
  8620. <method name="next" return="boolean"
  8621. abstract="false" native="false" synchronized="false"
  8622. static="false" final="false" visibility="public"
  8623. deprecated="not deprecated">
  8624. <param name="key" type="K"/>
  8625. <param name="value" type="org.apache.hadoop.mapred.join.TupleWritable"/>
  8626. <exception name="IOException" type="java.io.IOException"/>
  8627. <doc>
  8628. <![CDATA[Emit the next set of key, value pairs as defined by the child
  8629. RecordReaders and operation associated with this composite RR.]]>
  8630. </doc>
  8631. </method>
  8632. <method name="createValue" return="org.apache.hadoop.mapred.join.TupleWritable"
  8633. abstract="false" native="false" synchronized="false"
  8634. static="false" final="false" visibility="public"
  8635. deprecated="not deprecated">
  8636. <doc>
  8637. <![CDATA[{@inheritDoc}]]>
  8638. </doc>
  8639. </method>
  8640. <method name="getDelegate" return="org.apache.hadoop.mapred.join.ResetableIterator"
  8641. abstract="false" native="false" synchronized="false"
  8642. static="false" final="false" visibility="protected"
  8643. deprecated="not deprecated">
  8644. <doc>
  8645. <![CDATA[Return an iterator wrapping the JoinCollector.]]>
  8646. </doc>
  8647. </method>
  8648. <doc>
  8649. <![CDATA[Base class for Composite joins returning Tuples of arbitrary Writables.]]>
  8650. </doc>
  8651. </class>
  8652. <!-- end class org.apache.hadoop.mapred.join.JoinRecordReader -->
  8653. <!-- start class org.apache.hadoop.mapred.join.JoinRecordReader.JoinDelegationIterator -->
  8654. <class name="JoinRecordReader.JoinDelegationIterator" extends="java.lang.Object"
  8655. abstract="false"
  8656. static="false" final="false" visibility="protected"
  8657. deprecated="not deprecated">
  8658. <implements name="org.apache.hadoop.mapred.join.ResetableIterator"/>
  8659. <constructor name="JoinRecordReader.JoinDelegationIterator"
  8660. static="false" final="false" visibility="protected"
  8661. deprecated="not deprecated">
  8662. </constructor>
  8663. <method name="hasNext" return="boolean"
  8664. abstract="false" native="false" synchronized="false"
  8665. static="false" final="false" visibility="public"
  8666. deprecated="not deprecated">
  8667. </method>
  8668. <method name="next" return="boolean"
  8669. abstract="false" native="false" synchronized="false"
  8670. static="false" final="false" visibility="public"
  8671. deprecated="not deprecated">
  8672. <param name="val" type="org.apache.hadoop.mapred.join.TupleWritable"/>
  8673. <exception name="IOException" type="java.io.IOException"/>
  8674. </method>
  8675. <method name="replay" return="boolean"
  8676. abstract="false" native="false" synchronized="false"
  8677. static="false" final="false" visibility="public"
  8678. deprecated="not deprecated">
  8679. <param name="val" type="org.apache.hadoop.mapred.join.TupleWritable"/>
  8680. <exception name="IOException" type="java.io.IOException"/>
  8681. </method>
  8682. <method name="reset"
  8683. abstract="false" native="false" synchronized="false"
  8684. static="false" final="false" visibility="public"
  8685. deprecated="not deprecated">
  8686. </method>
  8687. <method name="add"
  8688. abstract="false" native="false" synchronized="false"
  8689. static="false" final="false" visibility="public"
  8690. deprecated="not deprecated">
  8691. <param name="item" type="org.apache.hadoop.mapred.join.TupleWritable"/>
  8692. <exception name="IOException" type="java.io.IOException"/>
  8693. </method>
  8694. <method name="close"
  8695. abstract="false" native="false" synchronized="false"
  8696. static="false" final="false" visibility="public"
  8697. deprecated="not deprecated">
  8698. <exception name="IOException" type="java.io.IOException"/>
  8699. </method>
  8700. <method name="clear"
  8701. abstract="false" native="false" synchronized="false"
  8702. static="false" final="false" visibility="public"
  8703. deprecated="not deprecated">
  8704. </method>
  8705. <doc>
  8706. <![CDATA[Since the JoinCollector is effecting our operation, we need only
  8707. provide an iterator proxy wrapping its operation.]]>
  8708. </doc>
  8709. </class>
  8710. <!-- end class org.apache.hadoop.mapred.join.JoinRecordReader.JoinDelegationIterator -->
  8711. <!-- start class org.apache.hadoop.mapred.join.MultiFilterRecordReader -->
  8712. <class name="MultiFilterRecordReader" extends="org.apache.hadoop.mapred.join.CompositeRecordReader"
  8713. abstract="true"
  8714. static="false" final="false" visibility="public"
  8715. deprecated="not deprecated">
  8716. <implements name="org.apache.hadoop.mapred.join.ComposableRecordReader"/>
  8717. <constructor name="MultiFilterRecordReader" type="int, org.apache.hadoop.mapred.JobConf, int, java.lang.Class"
  8718. static="false" final="false" visibility="public"
  8719. deprecated="not deprecated">
  8720. <exception name="IOException" type="java.io.IOException"/>
  8721. </constructor>
  8722. <method name="emit" return="V"
  8723. abstract="true" native="false" synchronized="false"
  8724. static="false" final="false" visibility="protected"
  8725. deprecated="not deprecated">
  8726. <param name="dst" type="org.apache.hadoop.mapred.join.TupleWritable"/>
  8727. <exception name="IOException" type="java.io.IOException"/>
  8728. <doc>
  8729. <![CDATA[For each tuple emitted, return a value (typically one of the values
  8730. in the tuple).
  8731. Modifying the Writables in the tuple is permitted and unlikely to affect
  8732. join behavior in most cases, but it is not recommended. It's safer to
  8733. clone first.]]>
  8734. </doc>
  8735. </method>
  8736. <method name="combine" return="boolean"
  8737. abstract="false" native="false" synchronized="false"
  8738. static="false" final="false" visibility="protected"
  8739. deprecated="not deprecated">
  8740. <param name="srcs" type="java.lang.Object[]"/>
  8741. <param name="dst" type="org.apache.hadoop.mapred.join.TupleWritable"/>
  8742. <doc>
  8743. <![CDATA[Default implementation offers {@link #emit} every Tuple from the
  8744. collector (the outer join of child RRs).]]>
  8745. </doc>
  8746. </method>
  8747. <method name="next" return="boolean"
  8748. abstract="false" native="false" synchronized="false"
  8749. static="false" final="false" visibility="public"
  8750. deprecated="not deprecated">
  8751. <param name="key" type="K"/>
  8752. <param name="value" type="V"/>
  8753. <exception name="IOException" type="java.io.IOException"/>
  8754. <doc>
  8755. <![CDATA[{@inheritDoc}]]>
  8756. </doc>
  8757. </method>
  8758. <method name="createValue" return="V"
  8759. abstract="false" native="false" synchronized="false"
  8760. static="false" final="false" visibility="public"
  8761. deprecated="not deprecated">
  8762. <doc>
  8763. <![CDATA[{@inheritDoc}]]>
  8764. </doc>
  8765. </method>
  8766. <method name="getDelegate" return="org.apache.hadoop.mapred.join.ResetableIterator"
  8767. abstract="false" native="false" synchronized="false"
  8768. static="false" final="false" visibility="protected"
  8769. deprecated="not deprecated">
  8770. <doc>
  8771. <![CDATA[Return an iterator returning a single value from the tuple.
  8772. @see MultiFilterDelegationIterator]]>
  8773. </doc>
  8774. </method>
  8775. <doc>
  8776. <![CDATA[Base class for Composite join returning values derived from multiple
  8777. sources, but generally not tuples.]]>
  8778. </doc>
  8779. </class>
  8780. <!-- end class org.apache.hadoop.mapred.join.MultiFilterRecordReader -->
  8781. <!-- start class org.apache.hadoop.mapred.join.MultiFilterRecordReader.MultiFilterDelegationIterator -->
  8782. <class name="MultiFilterRecordReader.MultiFilterDelegationIterator" extends="java.lang.Object"
  8783. abstract="false"
  8784. static="false" final="false" visibility="protected"
  8785. deprecated="not deprecated">
  8786. <implements name="org.apache.hadoop.mapred.join.ResetableIterator"/>
  8787. <constructor name="MultiFilterRecordReader.MultiFilterDelegationIterator"
  8788. static="false" final="false" visibility="protected"
  8789. deprecated="not deprecated">
  8790. </constructor>
  8791. <method name="hasNext" return="boolean"
  8792. abstract="false" native="false" synchronized="false"
  8793. static="false" final="false" visibility="public"
  8794. deprecated="not deprecated">
  8795. </method>
  8796. <method name="next" return="boolean"
  8797. abstract="false" native="false" synchronized="false"
  8798. static="false" final="false" visibility="public"
  8799. deprecated="not deprecated">
  8800. <param name="val" type="V"/>
  8801. <exception name="IOException" type="java.io.IOException"/>
  8802. </method>
  8803. <method name="replay" return="boolean"
  8804. abstract="false" native="false" synchronized="false"
  8805. static="false" final="false" visibility="public"
  8806. deprecated="not deprecated">
  8807. <param name="val" type="V"/>
  8808. <exception name="IOException" type="java.io.IOException"/>
  8809. </method>
  8810. <method name="reset"
  8811. abstract="false" native="false" synchronized="false"
  8812. static="false" final="false" visibility="public"
  8813. deprecated="not deprecated">
  8814. </method>
  8815. <method name="add"
  8816. abstract="false" native="false" synchronized="false"
  8817. static="false" final="false" visibility="public"
  8818. deprecated="not deprecated">
  8819. <param name="item" type="V"/>
  8820. <exception name="IOException" type="java.io.IOException"/>
  8821. </method>
  8822. <method name="close"
  8823. abstract="false" native="false" synchronized="false"
  8824. static="false" final="false" visibility="public"
  8825. deprecated="not deprecated">
  8826. <exception name="IOException" type="java.io.IOException"/>
  8827. </method>
  8828. <method name="clear"
  8829. abstract="false" native="false" synchronized="false"
  8830. static="false" final="false" visibility="public"
  8831. deprecated="not deprecated">
  8832. </method>
  8833. <doc>
  8834. <![CDATA[Proxy the JoinCollector, but include callback to emit.]]>
  8835. </doc>
  8836. </class>
  8837. <!-- end class org.apache.hadoop.mapred.join.MultiFilterRecordReader.MultiFilterDelegationIterator -->
  8838. <!-- start class org.apache.hadoop.mapred.join.OuterJoinRecordReader -->
  8839. <class name="OuterJoinRecordReader" extends="org.apache.hadoop.mapred.join.JoinRecordReader"
  8840. abstract="false"
  8841. static="false" final="false" visibility="public"
  8842. deprecated="not deprecated">
  8843. <method name="combine" return="boolean"
  8844. abstract="false" native="false" synchronized="false"
  8845. static="false" final="false" visibility="protected"
  8846. deprecated="not deprecated">
  8847. <param name="srcs" type="java.lang.Object[]"/>
  8848. <param name="dst" type="org.apache.hadoop.mapred.join.TupleWritable"/>
  8849. <doc>
  8850. <![CDATA[Emit everything from the collector.]]>
  8851. </doc>
  8852. </method>
  8853. <doc>
  8854. <![CDATA[Full outer join.]]>
  8855. </doc>
  8856. </class>
  8857. <!-- end class org.apache.hadoop.mapred.join.OuterJoinRecordReader -->
  8858. <!-- start class org.apache.hadoop.mapred.join.OverrideRecordReader -->
  8859. <class name="OverrideRecordReader" extends="org.apache.hadoop.mapred.join.MultiFilterRecordReader"
  8860. abstract="false"
  8861. static="false" final="false" visibility="public"
  8862. deprecated="not deprecated">
  8863. <method name="emit" return="V"
  8864. abstract="false" native="false" synchronized="false"
  8865. static="false" final="false" visibility="protected"
  8866. deprecated="not deprecated">
  8867. <param name="dst" type="org.apache.hadoop.mapred.join.TupleWritable"/>
  8868. <doc>
  8869. <![CDATA[Emit the value with the highest position in the tuple.]]>
  8870. </doc>
  8871. </method>
  8872. <method name="fillJoinCollector"
  8873. abstract="false" native="false" synchronized="false"
  8874. static="false" final="false" visibility="protected"
  8875. deprecated="not deprecated">
  8876. <param name="iterkey" type="K"/>
  8877. <exception name="IOException" type="java.io.IOException"/>
  8878. <doc>
  8879. <![CDATA[Instead of filling the JoinCollector with iterators from all
  8880. data sources, fill only the rightmost for this key.
  8881. This not only saves space by discarding the other sources, but
  8882. it also emits the number of key-value pairs in the preferred
  8883. RecordReader instead of repeating that stream n times, where
  8884. n is the cardinality of the cross product of the discarded
  8885. streams for the given key.]]>
  8886. </doc>
  8887. </method>
  8888. <doc>
  8889. <![CDATA[Prefer the &quot;rightmost&quot; data source for this key.
  8890. For example, <tt>override(S1,S2,S3)</tt> will prefer values
  8891. from S3 over S2, and values from S2 over S1 for all keys
  8892. emitted from all sources.]]>
  8893. </doc>
  8894. </class>
  8895. <!-- end class org.apache.hadoop.mapred.join.OverrideRecordReader -->
  8896. <!-- start class org.apache.hadoop.mapred.join.Parser -->
  8897. <class name="Parser" extends="java.lang.Object"
  8898. abstract="false"
  8899. static="false" final="false" visibility="public"
  8900. deprecated="not deprecated">
  8901. <constructor name="Parser"
  8902. static="false" final="false" visibility="public"
  8903. deprecated="not deprecated">
  8904. </constructor>
  8905. <doc>
  8906. <![CDATA[Very simple shift-reduce parser for join expressions.
  8907. This should be sufficient for the user extension permitted now, but ought to
  8908. be replaced with a parser generator if more complex grammars are supported.
  8909. In particular, this &quot;shift-reduce&quot; parser has no states. Each set
  8910. of formals requires a different internal node type, which is responsible for
  8911. interpreting the list of tokens it receives. This is sufficient for the
  8912. current grammar, but it has several annoying properties that might inhibit
  8913. extension. In particular, parenthesis are always function calls; an
  8914. algebraic or filter grammar would not only require a node type, but must
  8915. also work around the internals of this parser.
  8916. For most other cases, adding classes to the hierarchy- particularly by
  8917. extending JoinRecordReader and MultiFilterRecordReader- is fairly
  8918. straightforward. One need only override the relevant method(s) (usually only
  8919. {@link CompositeRecordReader#combine}) and include a property to map its
  8920. value to an identifier in the parser.]]>
  8921. </doc>
  8922. </class>
  8923. <!-- end class org.apache.hadoop.mapred.join.Parser -->
  8924. <!-- start class org.apache.hadoop.mapred.join.Parser.Node -->
  8925. <class name="Parser.Node" extends="java.lang.Object"
  8926. abstract="true"
  8927. static="true" final="false" visibility="public"
  8928. deprecated="not deprecated">
  8929. <implements name="org.apache.hadoop.mapred.join.ComposableInputFormat"/>
  8930. <constructor name="Parser.Node" type="java.lang.String"
  8931. static="false" final="false" visibility="protected"
  8932. deprecated="not deprecated">
  8933. </constructor>
  8934. <method name="addIdentifier"
  8935. abstract="false" native="false" synchronized="false"
  8936. static="true" final="false" visibility="protected"
  8937. deprecated="not deprecated">
  8938. <param name="ident" type="java.lang.String"/>
  8939. <param name="mcstrSig" type="java.lang.Class[]"/>
  8940. <param name="nodetype" type="java.lang.Class"/>
  8941. <param name="cl" type="java.lang.Class"/>
  8942. <exception name="NoSuchMethodException" type="java.lang.NoSuchMethodException"/>
  8943. <doc>
  8944. <![CDATA[For a given identifier, add a mapping to the nodetype for the parse
  8945. tree and to the ComposableRecordReader to be created, including the
  8946. formals required to invoke the constructor.
  8947. The nodetype and constructor signature should be filled in from the
  8948. child node.]]>
  8949. </doc>
  8950. </method>
  8951. <method name="setID"
  8952. abstract="false" native="false" synchronized="false"
  8953. static="false" final="false" visibility="protected"
  8954. deprecated="not deprecated">
  8955. <param name="id" type="int"/>
  8956. </method>
  8957. <method name="setKeyComparator"
  8958. abstract="false" native="false" synchronized="false"
  8959. static="false" final="false" visibility="protected"
  8960. deprecated="not deprecated">
  8961. <param name="cmpcl" type="java.lang.Class"/>
  8962. </method>
  8963. <field name="rrCstrMap" type="java.util.Map"
  8964. transient="false" volatile="false"
  8965. static="true" final="true" visibility="protected"
  8966. deprecated="not deprecated">
  8967. </field>
  8968. <field name="id" type="int"
  8969. transient="false" volatile="false"
  8970. static="false" final="false" visibility="protected"
  8971. deprecated="not deprecated">
  8972. </field>
  8973. <field name="ident" type="java.lang.String"
  8974. transient="false" volatile="false"
  8975. static="false" final="false" visibility="protected"
  8976. deprecated="not deprecated">
  8977. </field>
  8978. <field name="cmpcl" type="java.lang.Class"
  8979. transient="false" volatile="false"
  8980. static="false" final="false" visibility="protected"
  8981. deprecated="not deprecated">
  8982. </field>
  8983. </class>
  8984. <!-- end class org.apache.hadoop.mapred.join.Parser.Node -->
  8985. <!-- start class org.apache.hadoop.mapred.join.Parser.NodeToken -->
  8986. <class name="Parser.NodeToken" extends="org.apache.hadoop.mapred.join.Parser.Token"
  8987. abstract="false"
  8988. static="true" final="false" visibility="public"
  8989. deprecated="not deprecated">
  8990. <method name="getNode" return="org.apache.hadoop.mapred.join.Parser.Node"
  8991. abstract="false" native="false" synchronized="false"
  8992. static="false" final="false" visibility="public"
  8993. deprecated="not deprecated">
  8994. </method>
  8995. </class>
  8996. <!-- end class org.apache.hadoop.mapred.join.Parser.NodeToken -->
  8997. <!-- start class org.apache.hadoop.mapred.join.Parser.NumToken -->
  8998. <class name="Parser.NumToken" extends="org.apache.hadoop.mapred.join.Parser.Token"
  8999. abstract="false"
  9000. static="true" final="false" visibility="public"
  9001. deprecated="not deprecated">
  9002. <constructor name="Parser.NumToken" type="double"
  9003. static="false" final="false" visibility="public"
  9004. deprecated="not deprecated">
  9005. </constructor>
  9006. <method name="getNum" return="double"
  9007. abstract="false" native="false" synchronized="false"
  9008. static="false" final="false" visibility="public"
  9009. deprecated="not deprecated">
  9010. </method>
  9011. </class>
  9012. <!-- end class org.apache.hadoop.mapred.join.Parser.NumToken -->
  9013. <!-- start class org.apache.hadoop.mapred.join.Parser.StrToken -->
  9014. <class name="Parser.StrToken" extends="org.apache.hadoop.mapred.join.Parser.Token"
  9015. abstract="false"
  9016. static="true" final="false" visibility="public"
  9017. deprecated="not deprecated">
  9018. <constructor name="Parser.StrToken" type="org.apache.hadoop.mapred.join.Parser.TType, java.lang.String"
  9019. static="false" final="false" visibility="public"
  9020. deprecated="not deprecated">
  9021. </constructor>
  9022. <method name="getStr" return="java.lang.String"
  9023. abstract="false" native="false" synchronized="false"
  9024. static="false" final="false" visibility="public"
  9025. deprecated="not deprecated">
  9026. </method>
  9027. </class>
  9028. <!-- end class org.apache.hadoop.mapred.join.Parser.StrToken -->
  9029. <!-- start class org.apache.hadoop.mapred.join.Parser.Token -->
  9030. <class name="Parser.Token" extends="java.lang.Object"
  9031. abstract="false"
  9032. static="true" final="false" visibility="public"
  9033. deprecated="not deprecated">
  9034. <method name="getType" return="org.apache.hadoop.mapred.join.Parser.TType"
  9035. abstract="false" native="false" synchronized="false"
  9036. static="false" final="false" visibility="public"
  9037. deprecated="not deprecated">
  9038. </method>
  9039. <method name="getNode" return="org.apache.hadoop.mapred.join.Parser.Node"
  9040. abstract="false" native="false" synchronized="false"
  9041. static="false" final="false" visibility="public"
  9042. deprecated="not deprecated">
  9043. <exception name="IOException" type="java.io.IOException"/>
  9044. </method>
  9045. <method name="getNum" return="double"
  9046. abstract="false" native="false" synchronized="false"
  9047. static="false" final="false" visibility="public"
  9048. deprecated="not deprecated">
  9049. <exception name="IOException" type="java.io.IOException"/>
  9050. </method>
  9051. <method name="getStr" return="java.lang.String"
  9052. abstract="false" native="false" synchronized="false"
  9053. static="false" final="false" visibility="public"
  9054. deprecated="not deprecated">
  9055. <exception name="IOException" type="java.io.IOException"/>
  9056. </method>
  9057. <doc>
  9058. <![CDATA[Tagged-union type for tokens from the join expression.
  9059. @see Parser.TType]]>
  9060. </doc>
  9061. </class>
  9062. <!-- end class org.apache.hadoop.mapred.join.Parser.Token -->
  9063. <!-- start class org.apache.hadoop.mapred.join.Parser.TType -->
  9064. <class name="Parser.TType" extends="java.lang.Enum"
  9065. abstract="false"
  9066. static="true" final="true" visibility="public"
  9067. deprecated="not deprecated">
  9068. <method name="values" return="org.apache.hadoop.mapred.join.Parser.TType[]"
  9069. abstract="false" native="false" synchronized="false"
  9070. static="true" final="false" visibility="public"
  9071. deprecated="not deprecated">
  9072. </method>
  9073. <method name="valueOf" return="org.apache.hadoop.mapred.join.Parser.TType"
  9074. abstract="false" native="false" synchronized="false"
  9075. static="true" final="false" visibility="public"
  9076. deprecated="not deprecated">
  9077. <param name="name" type="java.lang.String"/>
  9078. </method>
  9079. </class>
  9080. <!-- end class org.apache.hadoop.mapred.join.Parser.TType -->
  9081. <!-- start interface org.apache.hadoop.mapred.join.ResetableIterator -->
  9082. <interface name="ResetableIterator" abstract="true"
  9083. static="false" final="false" visibility="public"
  9084. deprecated="not deprecated">
  9085. <implements name="org.apache.hadoop.mapreduce.lib.join.ResetableIterator"/>
  9086. <doc>
  9087. <![CDATA[This defines an interface to a stateful Iterator that can replay elements
  9088. added to it directly.
  9089. Note that this does not extend {@link java.util.Iterator}.]]>
  9090. </doc>
  9091. </interface>
  9092. <!-- end interface org.apache.hadoop.mapred.join.ResetableIterator -->
  9093. <!-- start class org.apache.hadoop.mapred.join.ResetableIterator.EMPTY -->
  9094. <class name="ResetableIterator.EMPTY" extends="org.apache.hadoop.mapreduce.lib.join.ResetableIterator.EMPTY"
  9095. abstract="false"
  9096. static="true" final="false" visibility="public"
  9097. deprecated="not deprecated">
  9098. <implements name="org.apache.hadoop.mapred.join.ResetableIterator"/>
  9099. <constructor name="ResetableIterator.EMPTY"
  9100. static="false" final="false" visibility="public"
  9101. deprecated="not deprecated">
  9102. </constructor>
  9103. </class>
  9104. <!-- end class org.apache.hadoop.mapred.join.ResetableIterator.EMPTY -->
  9105. <!-- start class org.apache.hadoop.mapred.join.StreamBackedIterator -->
  9106. <class name="StreamBackedIterator" extends="org.apache.hadoop.mapreduce.lib.join.StreamBackedIterator"
  9107. abstract="false"
  9108. static="false" final="false" visibility="public"
  9109. deprecated="not deprecated">
  9110. <implements name="org.apache.hadoop.mapred.join.ResetableIterator"/>
  9111. <constructor name="StreamBackedIterator"
  9112. static="false" final="false" visibility="public"
  9113. deprecated="not deprecated">
  9114. </constructor>
  9115. <doc>
  9116. <![CDATA[This class provides an implementation of ResetableIterator. This
  9117. implementation uses a byte array to store elements added to it.]]>
  9118. </doc>
  9119. </class>
  9120. <!-- end class org.apache.hadoop.mapred.join.StreamBackedIterator -->
  9121. <!-- start class org.apache.hadoop.mapred.join.TupleWritable -->
  9122. <class name="TupleWritable" extends="org.apache.hadoop.mapreduce.lib.join.TupleWritable"
  9123. abstract="false"
  9124. static="false" final="false" visibility="public"
  9125. deprecated="not deprecated">
  9126. <constructor name="TupleWritable"
  9127. static="false" final="false" visibility="public"
  9128. deprecated="not deprecated">
  9129. <doc>
  9130. <![CDATA[Create an empty tuple with no allocated storage for writables.]]>
  9131. </doc>
  9132. </constructor>
  9133. <constructor name="TupleWritable" type="org.apache.hadoop.io.Writable[]"
  9134. static="false" final="false" visibility="public"
  9135. deprecated="not deprecated">
  9136. <doc>
  9137. <![CDATA[Initialize tuple with storage; unknown whether any of them contain
  9138. &quot;written&quot; values.]]>
  9139. </doc>
  9140. </constructor>
  9141. <doc>
  9142. <![CDATA[Writable type storing multiple {@link org.apache.hadoop.io.Writable}s.
  9143. This is *not* a general-purpose tuple type. In almost all cases, users are
  9144. encouraged to implement their own serializable types, which can perform
  9145. better validation and provide more efficient encodings than this class is
  9146. capable. TupleWritable relies on the join framework for type safety and
  9147. assumes its instances will rarely be persisted, assumptions not only
  9148. incompatible with, but contrary to the general case.
  9149. @see org.apache.hadoop.io.Writable]]>
  9150. </doc>
  9151. </class>
  9152. <!-- end class org.apache.hadoop.mapred.join.TupleWritable -->
  9153. <!-- start class org.apache.hadoop.mapred.join.WrappedRecordReader -->
  9154. <class name="WrappedRecordReader" extends="java.lang.Object"
  9155. abstract="false"
  9156. static="false" final="false" visibility="public"
  9157. deprecated="not deprecated">
  9158. <implements name="org.apache.hadoop.mapred.join.ComposableRecordReader"/>
  9159. <method name="id" return="int"
  9160. abstract="false" native="false" synchronized="false"
  9161. static="false" final="false" visibility="public"
  9162. deprecated="not deprecated">
  9163. <doc>
  9164. <![CDATA[{@inheritDoc}]]>
  9165. </doc>
  9166. </method>
  9167. <method name="key" return="K"
  9168. abstract="false" native="false" synchronized="false"
  9169. static="false" final="false" visibility="public"
  9170. deprecated="not deprecated">
  9171. <doc>
  9172. <![CDATA[Return the key at the head of this RR.]]>
  9173. </doc>
  9174. </method>
  9175. <method name="key"
  9176. abstract="false" native="false" synchronized="false"
  9177. static="false" final="false" visibility="public"
  9178. deprecated="not deprecated">
  9179. <param name="qkey" type="K"/>
  9180. <exception name="IOException" type="java.io.IOException"/>
  9181. <doc>
  9182. <![CDATA[Clone the key at the head of this RR into the object supplied.]]>
  9183. </doc>
  9184. </method>
  9185. <method name="hasNext" return="boolean"
  9186. abstract="false" native="false" synchronized="false"
  9187. static="false" final="false" visibility="public"
  9188. deprecated="not deprecated">
  9189. <doc>
  9190. <![CDATA[Return true if the RR- including the k,v pair stored in this object-
  9191. is exhausted.]]>
  9192. </doc>
  9193. </method>
  9194. <method name="skip"
  9195. abstract="false" native="false" synchronized="false"
  9196. static="false" final="false" visibility="public"
  9197. deprecated="not deprecated">
  9198. <param name="key" type="K"/>
  9199. <exception name="IOException" type="java.io.IOException"/>
  9200. <doc>
  9201. <![CDATA[Skip key-value pairs with keys less than or equal to the key provided.]]>
  9202. </doc>
  9203. </method>
  9204. <method name="next" return="boolean"
  9205. abstract="false" native="false" synchronized="false"
  9206. static="false" final="false" visibility="protected"
  9207. deprecated="not deprecated">
  9208. <exception name="IOException" type="java.io.IOException"/>
  9209. <doc>
  9210. <![CDATA[Read the next k,v pair into the head of this object; return true iff
  9211. the RR and this are exhausted.]]>
  9212. </doc>
  9213. </method>
  9214. <method name="accept"
  9215. abstract="false" native="false" synchronized="false"
  9216. static="false" final="false" visibility="public"
  9217. deprecated="not deprecated">
  9218. <param name="i" type="org.apache.hadoop.mapred.join.CompositeRecordReader.JoinCollector"/>
  9219. <param name="key" type="K"/>
  9220. <exception name="IOException" type="java.io.IOException"/>
  9221. <doc>
  9222. <![CDATA[Add an iterator to the collector at the position occupied by this
  9223. RecordReader over the values in this stream paired with the key
  9224. provided (ie register a stream of values from this source matching K
  9225. with a collector).]]>
  9226. </doc>
  9227. </method>
  9228. <method name="next" return="boolean"
  9229. abstract="false" native="false" synchronized="false"
  9230. static="false" final="false" visibility="public"
  9231. deprecated="not deprecated">
  9232. <param name="key" type="K"/>
  9233. <param name="value" type="U"/>
  9234. <exception name="IOException" type="java.io.IOException"/>
  9235. <doc>
  9236. <![CDATA[Write key-value pair at the head of this stream to the objects provided;
  9237. get next key-value pair from proxied RR.]]>
  9238. </doc>
  9239. </method>
  9240. <method name="createKey" return="K"
  9241. abstract="false" native="false" synchronized="false"
  9242. static="false" final="false" visibility="public"
  9243. deprecated="not deprecated">
  9244. <doc>
  9245. <![CDATA[Request new key from proxied RR.]]>
  9246. </doc>
  9247. </method>
  9248. <method name="createValue" return="U"
  9249. abstract="false" native="false" synchronized="false"
  9250. static="false" final="false" visibility="public"
  9251. deprecated="not deprecated">
  9252. <doc>
  9253. <![CDATA[Request new value from proxied RR.]]>
  9254. </doc>
  9255. </method>
  9256. <method name="getProgress" return="float"
  9257. abstract="false" native="false" synchronized="false"
  9258. static="false" final="false" visibility="public"
  9259. deprecated="not deprecated">
  9260. <exception name="IOException" type="java.io.IOException"/>
  9261. <doc>
  9262. <![CDATA[Request progress from proxied RR.]]>
  9263. </doc>
  9264. </method>
  9265. <method name="getPos" return="long"
  9266. abstract="false" native="false" synchronized="false"
  9267. static="false" final="false" visibility="public"
  9268. deprecated="not deprecated">
  9269. <exception name="IOException" type="java.io.IOException"/>
  9270. <doc>
  9271. <![CDATA[Request position from proxied RR.]]>
  9272. </doc>
  9273. </method>
  9274. <method name="close"
  9275. abstract="false" native="false" synchronized="false"
  9276. static="false" final="false" visibility="public"
  9277. deprecated="not deprecated">
  9278. <exception name="IOException" type="java.io.IOException"/>
  9279. <doc>
  9280. <![CDATA[Forward close request to proxied RR.]]>
  9281. </doc>
  9282. </method>
  9283. <method name="compareTo" return="int"
  9284. abstract="false" native="false" synchronized="false"
  9285. static="false" final="false" visibility="public"
  9286. deprecated="not deprecated">
  9287. <param name="other" type="org.apache.hadoop.mapred.join.ComposableRecordReader"/>
  9288. <doc>
  9289. <![CDATA[Implement Comparable contract (compare key at head of proxied RR
  9290. with that of another).]]>
  9291. </doc>
  9292. </method>
  9293. <method name="equals" return="boolean"
  9294. abstract="false" native="false" synchronized="false"
  9295. static="false" final="false" visibility="public"
  9296. deprecated="not deprecated">
  9297. <param name="other" type="java.lang.Object"/>
  9298. <doc>
  9299. <![CDATA[Return true iff compareTo(other) retn true.]]>
  9300. </doc>
  9301. </method>
  9302. <method name="hashCode" return="int"
  9303. abstract="false" native="false" synchronized="false"
  9304. static="false" final="false" visibility="public"
  9305. deprecated="not deprecated">
  9306. </method>
  9307. <doc>
  9308. <![CDATA[Proxy class for a RecordReader participating in the join framework.
  9309. This class keeps track of the &quot;head&quot; key-value pair for the
  9310. provided RecordReader and keeps a store of values matching a key when
  9311. this source is participating in a join.]]>
  9312. </doc>
  9313. </class>
  9314. <!-- end class org.apache.hadoop.mapred.join.WrappedRecordReader -->
  9315. </package>
  9316. <package name="org.apache.hadoop.mapred.lib">
  9317. <!-- start class org.apache.hadoop.mapred.lib.BinaryPartitioner -->
  9318. <class name="BinaryPartitioner" extends="org.apache.hadoop.mapreduce.lib.partition.BinaryPartitioner"
  9319. abstract="false"
  9320. static="false" final="false" visibility="public"
  9321. deprecated="not deprecated">
  9322. <implements name="org.apache.hadoop.mapred.Partitioner"/>
  9323. <constructor name="BinaryPartitioner"
  9324. static="false" final="false" visibility="public"
  9325. deprecated="not deprecated">
  9326. </constructor>
  9327. <method name="configure"
  9328. abstract="false" native="false" synchronized="false"
  9329. static="false" final="false" visibility="public"
  9330. deprecated="not deprecated">
  9331. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  9332. </method>
  9333. <doc>
  9334. <![CDATA[Partition {@link BinaryComparable} keys using a configurable part of
  9335. the bytes array returned by {@link BinaryComparable#getBytes()}.
  9336. @see org.apache.hadoop.mapreduce.lib.partition.BinaryPartitioner]]>
  9337. </doc>
  9338. </class>
  9339. <!-- end class org.apache.hadoop.mapred.lib.BinaryPartitioner -->
  9340. <!-- start class org.apache.hadoop.mapred.lib.ChainMapper -->
  9341. <class name="ChainMapper" extends="java.lang.Object"
  9342. abstract="false"
  9343. static="false" final="false" visibility="public"
  9344. deprecated="not deprecated">
  9345. <implements name="org.apache.hadoop.mapred.Mapper"/>
  9346. <constructor name="ChainMapper"
  9347. static="false" final="false" visibility="public"
  9348. deprecated="not deprecated">
  9349. <doc>
  9350. <![CDATA[Constructor.]]>
  9351. </doc>
  9352. </constructor>
  9353. <method name="addMapper"
  9354. abstract="false" native="false" synchronized="false"
  9355. static="true" final="false" visibility="public"
  9356. deprecated="not deprecated">
  9357. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  9358. <param name="klass" type="java.lang.Class"/>
  9359. <param name="inputKeyClass" type="java.lang.Class"/>
  9360. <param name="inputValueClass" type="java.lang.Class"/>
  9361. <param name="outputKeyClass" type="java.lang.Class"/>
  9362. <param name="outputValueClass" type="java.lang.Class"/>
  9363. <param name="byValue" type="boolean"/>
  9364. <param name="mapperConf" type="org.apache.hadoop.mapred.JobConf"/>
  9365. <doc>
  9366. <![CDATA[Adds a Mapper class to the chain job's JobConf.
  9367. <p/>
  9368. It has to be specified how key and values are passed from one element of
  9369. the chain to the next, by value or by reference. If a Mapper leverages the
  9370. assumed semantics that the key and values are not modified by the collector
  9371. 'by value' must be used. If the Mapper does not expect this semantics, as
  9372. an optimization to avoid serialization and deserialization 'by reference'
  9373. can be used.
  9374. <p/>
  9375. For the added Mapper the configuration given for it,
  9376. <code>mapperConf</code>, have precedence over the job's JobConf. This
  9377. precedence is in effect when the task is running.
  9378. <p/>
  9379. IMPORTANT: There is no need to specify the output key/value classes for the
  9380. ChainMapper, this is done by the addMapper for the last mapper in the chain
  9381. <p/>
  9382. @param job job's JobConf to add the Mapper class.
  9383. @param klass the Mapper class to add.
  9384. @param inputKeyClass mapper input key class.
  9385. @param inputValueClass mapper input value class.
  9386. @param outputKeyClass mapper output key class.
  9387. @param outputValueClass mapper output value class.
  9388. @param byValue indicates if key/values should be passed by value
  9389. to the next Mapper in the chain, if any.
  9390. @param mapperConf a JobConf with the configuration for the Mapper
  9391. class. It is recommended to use a JobConf without default values using the
  9392. <code>JobConf(boolean loadDefaults)</code> constructor with FALSE.]]>
  9393. </doc>
  9394. </method>
  9395. <method name="configure"
  9396. abstract="false" native="false" synchronized="false"
  9397. static="false" final="false" visibility="public"
  9398. deprecated="not deprecated">
  9399. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  9400. <doc>
  9401. <![CDATA[Configures the ChainMapper and all the Mappers in the chain.
  9402. <p/>
  9403. If this method is overriden <code>super.configure(...)</code> should be
  9404. invoked at the beginning of the overwriter method.]]>
  9405. </doc>
  9406. </method>
  9407. <method name="map"
  9408. abstract="false" native="false" synchronized="false"
  9409. static="false" final="false" visibility="public"
  9410. deprecated="not deprecated">
  9411. <param name="key" type="java.lang.Object"/>
  9412. <param name="value" type="java.lang.Object"/>
  9413. <param name="output" type="org.apache.hadoop.mapred.OutputCollector"/>
  9414. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  9415. <exception name="IOException" type="java.io.IOException"/>
  9416. <doc>
  9417. <![CDATA[Chains the <code>map(...)</code> methods of the Mappers in the chain.]]>
  9418. </doc>
  9419. </method>
  9420. <method name="close"
  9421. abstract="false" native="false" synchronized="false"
  9422. static="false" final="false" visibility="public"
  9423. deprecated="not deprecated">
  9424. <exception name="IOException" type="java.io.IOException"/>
  9425. <doc>
  9426. <![CDATA[Closes the ChainMapper and all the Mappers in the chain.
  9427. <p/>
  9428. If this method is overriden <code>super.close()</code> should be
  9429. invoked at the end of the overwriter method.]]>
  9430. </doc>
  9431. </method>
  9432. <doc>
  9433. <![CDATA[The ChainMapper class allows to use multiple Mapper classes within a single
  9434. Map task.
  9435. <p/>
  9436. The Mapper classes are invoked in a chained (or piped) fashion, the output of
  9437. the first becomes the input of the second, and so on until the last Mapper,
  9438. the output of the last Mapper will be written to the task's output.
  9439. <p/>
  9440. The key functionality of this feature is that the Mappers in the chain do not
  9441. need to be aware that they are executed in a chain. This enables having
  9442. reusable specialized Mappers that can be combined to perform composite
  9443. operations within a single task.
  9444. <p/>
  9445. Special care has to be taken when creating chains that the key/values output
  9446. by a Mapper are valid for the following Mapper in the chain. It is assumed
  9447. all Mappers and the Reduce in the chain use maching output and input key and
  9448. value classes as no conversion is done by the chaining code.
  9449. <p/>
  9450. Using the ChainMapper and the ChainReducer classes is possible to compose
  9451. Map/Reduce jobs that look like <code>[MAP+ / REDUCE MAP*]</code>. And
  9452. immediate benefit of this pattern is a dramatic reduction in disk IO.
  9453. <p/>
  9454. IMPORTANT: There is no need to specify the output key/value classes for the
  9455. ChainMapper, this is done by the addMapper for the last mapper in the chain.
  9456. <p/>
  9457. ChainMapper usage pattern:
  9458. <p/>
  9459. <pre>
  9460. ...
  9461. conf.setJobName("chain");
  9462. conf.setInputFormat(TextInputFormat.class);
  9463. conf.setOutputFormat(TextOutputFormat.class);
  9464. <p/>
  9465. JobConf mapAConf = new JobConf(false);
  9466. ...
  9467. ChainMapper.addMapper(conf, AMap.class, LongWritable.class, Text.class,
  9468. Text.class, Text.class, true, mapAConf);
  9469. <p/>
  9470. JobConf mapBConf = new JobConf(false);
  9471. ...
  9472. ChainMapper.addMapper(conf, BMap.class, Text.class, Text.class,
  9473. LongWritable.class, Text.class, false, mapBConf);
  9474. <p/>
  9475. JobConf reduceConf = new JobConf(false);
  9476. ...
  9477. ChainReducer.setReducer(conf, XReduce.class, LongWritable.class, Text.class,
  9478. Text.class, Text.class, true, reduceConf);
  9479. <p/>
  9480. ChainReducer.addMapper(conf, CMap.class, Text.class, Text.class,
  9481. LongWritable.class, Text.class, false, null);
  9482. <p/>
  9483. ChainReducer.addMapper(conf, DMap.class, LongWritable.class, Text.class,
  9484. LongWritable.class, LongWritable.class, true, null);
  9485. <p/>
  9486. FileInputFormat.setInputPaths(conf, inDir);
  9487. FileOutputFormat.setOutputPath(conf, outDir);
  9488. ...
  9489. <p/>
  9490. JobClient jc = new JobClient(conf);
  9491. RunningJob job = jc.submitJob(conf);
  9492. ...
  9493. </pre>]]>
  9494. </doc>
  9495. </class>
  9496. <!-- end class org.apache.hadoop.mapred.lib.ChainMapper -->
  9497. <!-- start class org.apache.hadoop.mapred.lib.ChainReducer -->
  9498. <class name="ChainReducer" extends="java.lang.Object"
  9499. abstract="false"
  9500. static="false" final="false" visibility="public"
  9501. deprecated="not deprecated">
  9502. <implements name="org.apache.hadoop.mapred.Reducer"/>
  9503. <constructor name="ChainReducer"
  9504. static="false" final="false" visibility="public"
  9505. deprecated="not deprecated">
  9506. <doc>
  9507. <![CDATA[Constructor.]]>
  9508. </doc>
  9509. </constructor>
  9510. <method name="setReducer"
  9511. abstract="false" native="false" synchronized="false"
  9512. static="true" final="false" visibility="public"
  9513. deprecated="not deprecated">
  9514. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  9515. <param name="klass" type="java.lang.Class"/>
  9516. <param name="inputKeyClass" type="java.lang.Class"/>
  9517. <param name="inputValueClass" type="java.lang.Class"/>
  9518. <param name="outputKeyClass" type="java.lang.Class"/>
  9519. <param name="outputValueClass" type="java.lang.Class"/>
  9520. <param name="byValue" type="boolean"/>
  9521. <param name="reducerConf" type="org.apache.hadoop.mapred.JobConf"/>
  9522. <doc>
  9523. <![CDATA[Sets the Reducer class to the chain job's JobConf.
  9524. <p/>
  9525. It has to be specified how key and values are passed from one element of
  9526. the chain to the next, by value or by reference. If a Reducer leverages the
  9527. assumed semantics that the key and values are not modified by the collector
  9528. 'by value' must be used. If the Reducer does not expect this semantics, as
  9529. an optimization to avoid serialization and deserialization 'by reference'
  9530. can be used.
  9531. <p/>
  9532. For the added Reducer the configuration given for it,
  9533. <code>reducerConf</code>, have precedence over the job's JobConf. This
  9534. precedence is in effect when the task is running.
  9535. <p/>
  9536. IMPORTANT: There is no need to specify the output key/value classes for the
  9537. ChainReducer, this is done by the setReducer or the addMapper for the last
  9538. element in the chain.
  9539. @param job job's JobConf to add the Reducer class.
  9540. @param klass the Reducer class to add.
  9541. @param inputKeyClass reducer input key class.
  9542. @param inputValueClass reducer input value class.
  9543. @param outputKeyClass reducer output key class.
  9544. @param outputValueClass reducer output value class.
  9545. @param byValue indicates if key/values should be passed by value
  9546. to the next Mapper in the chain, if any.
  9547. @param reducerConf a JobConf with the configuration for the Reducer
  9548. class. It is recommended to use a JobConf without default values using the
  9549. <code>JobConf(boolean loadDefaults)</code> constructor with FALSE.]]>
  9550. </doc>
  9551. </method>
  9552. <method name="addMapper"
  9553. abstract="false" native="false" synchronized="false"
  9554. static="true" final="false" visibility="public"
  9555. deprecated="not deprecated">
  9556. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  9557. <param name="klass" type="java.lang.Class"/>
  9558. <param name="inputKeyClass" type="java.lang.Class"/>
  9559. <param name="inputValueClass" type="java.lang.Class"/>
  9560. <param name="outputKeyClass" type="java.lang.Class"/>
  9561. <param name="outputValueClass" type="java.lang.Class"/>
  9562. <param name="byValue" type="boolean"/>
  9563. <param name="mapperConf" type="org.apache.hadoop.mapred.JobConf"/>
  9564. <doc>
  9565. <![CDATA[Adds a Mapper class to the chain job's JobConf.
  9566. <p/>
  9567. It has to be specified how key and values are passed from one element of
  9568. the chain to the next, by value or by reference. If a Mapper leverages the
  9569. assumed semantics that the key and values are not modified by the collector
  9570. 'by value' must be used. If the Mapper does not expect this semantics, as
  9571. an optimization to avoid serialization and deserialization 'by reference'
  9572. can be used.
  9573. <p/>
  9574. For the added Mapper the configuration given for it,
  9575. <code>mapperConf</code>, have precedence over the job's JobConf. This
  9576. precedence is in effect when the task is running.
  9577. <p/>
  9578. IMPORTANT: There is no need to specify the output key/value classes for the
  9579. ChainMapper, this is done by the addMapper for the last mapper in the chain
  9580. .
  9581. @param job chain job's JobConf to add the Mapper class.
  9582. @param klass the Mapper class to add.
  9583. @param inputKeyClass mapper input key class.
  9584. @param inputValueClass mapper input value class.
  9585. @param outputKeyClass mapper output key class.
  9586. @param outputValueClass mapper output value class.
  9587. @param byValue indicates if key/values should be passed by value
  9588. to the next Mapper in the chain, if any.
  9589. @param mapperConf a JobConf with the configuration for the Mapper
  9590. class. It is recommended to use a JobConf without default values using the
  9591. <code>JobConf(boolean loadDefaults)</code> constructor with FALSE.]]>
  9592. </doc>
  9593. </method>
  9594. <method name="configure"
  9595. abstract="false" native="false" synchronized="false"
  9596. static="false" final="false" visibility="public"
  9597. deprecated="not deprecated">
  9598. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  9599. <doc>
  9600. <![CDATA[Configures the ChainReducer, the Reducer and all the Mappers in the chain.
  9601. <p/>
  9602. If this method is overriden <code>super.configure(...)</code> should be
  9603. invoked at the beginning of the overwriter method.]]>
  9604. </doc>
  9605. </method>
  9606. <method name="reduce"
  9607. abstract="false" native="false" synchronized="false"
  9608. static="false" final="false" visibility="public"
  9609. deprecated="not deprecated">
  9610. <param name="key" type="java.lang.Object"/>
  9611. <param name="values" type="java.util.Iterator"/>
  9612. <param name="output" type="org.apache.hadoop.mapred.OutputCollector"/>
  9613. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  9614. <exception name="IOException" type="java.io.IOException"/>
  9615. <doc>
  9616. <![CDATA[Chains the <code>reduce(...)</code> method of the Reducer with the
  9617. <code>map(...) </code> methods of the Mappers in the chain.]]>
  9618. </doc>
  9619. </method>
  9620. <method name="close"
  9621. abstract="false" native="false" synchronized="false"
  9622. static="false" final="false" visibility="public"
  9623. deprecated="not deprecated">
  9624. <exception name="IOException" type="java.io.IOException"/>
  9625. <doc>
  9626. <![CDATA[Closes the ChainReducer, the Reducer and all the Mappers in the chain.
  9627. <p/>
  9628. If this method is overriden <code>super.close()</code> should be
  9629. invoked at the end of the overwriter method.]]>
  9630. </doc>
  9631. </method>
  9632. <doc>
  9633. <![CDATA[The ChainReducer class allows to chain multiple Mapper classes after a
  9634. Reducer within the Reducer task.
  9635. <p/>
  9636. For each record output by the Reducer, the Mapper classes are invoked in a
  9637. chained (or piped) fashion, the output of the first becomes the input of the
  9638. second, and so on until the last Mapper, the output of the last Mapper will
  9639. be written to the task's output.
  9640. <p/>
  9641. The key functionality of this feature is that the Mappers in the chain do not
  9642. need to be aware that they are executed after the Reducer or in a chain.
  9643. This enables having reusable specialized Mappers that can be combined to
  9644. perform composite operations within a single task.
  9645. <p/>
  9646. Special care has to be taken when creating chains that the key/values output
  9647. by a Mapper are valid for the following Mapper in the chain. It is assumed
  9648. all Mappers and the Reduce in the chain use maching output and input key and
  9649. value classes as no conversion is done by the chaining code.
  9650. <p/>
  9651. Using the ChainMapper and the ChainReducer classes is possible to compose
  9652. Map/Reduce jobs that look like <code>[MAP+ / REDUCE MAP*]</code>. And
  9653. immediate benefit of this pattern is a dramatic reduction in disk IO.
  9654. <p/>
  9655. IMPORTANT: There is no need to specify the output key/value classes for the
  9656. ChainReducer, this is done by the setReducer or the addMapper for the last
  9657. element in the chain.
  9658. <p/>
  9659. ChainReducer usage pattern:
  9660. <p/>
  9661. <pre>
  9662. ...
  9663. conf.setJobName("chain");
  9664. conf.setInputFormat(TextInputFormat.class);
  9665. conf.setOutputFormat(TextOutputFormat.class);
  9666. <p/>
  9667. JobConf mapAConf = new JobConf(false);
  9668. ...
  9669. ChainMapper.addMapper(conf, AMap.class, LongWritable.class, Text.class,
  9670. Text.class, Text.class, true, mapAConf);
  9671. <p/>
  9672. JobConf mapBConf = new JobConf(false);
  9673. ...
  9674. ChainMapper.addMapper(conf, BMap.class, Text.class, Text.class,
  9675. LongWritable.class, Text.class, false, mapBConf);
  9676. <p/>
  9677. JobConf reduceConf = new JobConf(false);
  9678. ...
  9679. ChainReducer.setReducer(conf, XReduce.class, LongWritable.class, Text.class,
  9680. Text.class, Text.class, true, reduceConf);
  9681. <p/>
  9682. ChainReducer.addMapper(conf, CMap.class, Text.class, Text.class,
  9683. LongWritable.class, Text.class, false, null);
  9684. <p/>
  9685. ChainReducer.addMapper(conf, DMap.class, LongWritable.class, Text.class,
  9686. LongWritable.class, LongWritable.class, true, null);
  9687. <p/>
  9688. FileInputFormat.setInputPaths(conf, inDir);
  9689. FileOutputFormat.setOutputPath(conf, outDir);
  9690. ...
  9691. <p/>
  9692. JobClient jc = new JobClient(conf);
  9693. RunningJob job = jc.submitJob(conf);
  9694. ...
  9695. </pre>]]>
  9696. </doc>
  9697. </class>
  9698. <!-- end class org.apache.hadoop.mapred.lib.ChainReducer -->
  9699. <!-- start class org.apache.hadoop.mapred.lib.CombineFileInputFormat -->
  9700. <class name="CombineFileInputFormat" extends="org.apache.hadoop.mapreduce.lib.input.CombineFileInputFormat"
  9701. abstract="true"
  9702. static="false" final="false" visibility="public"
  9703. deprecated="not deprecated">
  9704. <implements name="org.apache.hadoop.mapred.InputFormat"/>
  9705. <constructor name="CombineFileInputFormat"
  9706. static="false" final="false" visibility="public"
  9707. deprecated="not deprecated">
  9708. <doc>
  9709. <![CDATA[default constructor]]>
  9710. </doc>
  9711. </constructor>
  9712. <method name="getSplits" return="org.apache.hadoop.mapred.InputSplit[]"
  9713. abstract="false" native="false" synchronized="false"
  9714. static="false" final="false" visibility="public"
  9715. deprecated="not deprecated">
  9716. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  9717. <param name="numSplits" type="int"/>
  9718. <exception name="IOException" type="java.io.IOException"/>
  9719. </method>
  9720. <method name="createPool"
  9721. abstract="false" native="false" synchronized="false"
  9722. static="false" final="false" visibility="protected"
  9723. deprecated="Use {@link #createPool(List)}.">
  9724. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  9725. <param name="filters" type="java.util.List"/>
  9726. <doc>
  9727. <![CDATA[Create a new pool and add the filters to it.
  9728. A split cannot have files from different pools.
  9729. @deprecated Use {@link #createPool(List)}.]]>
  9730. </doc>
  9731. </method>
  9732. <method name="createPool"
  9733. abstract="false" native="false" synchronized="false"
  9734. static="false" final="false" visibility="protected"
  9735. deprecated="Use {@link #createPool(PathFilter...)}.">
  9736. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  9737. <param name="filters" type="org.apache.hadoop.fs.PathFilter[]"/>
  9738. <doc>
  9739. <![CDATA[Create a new pool and add the filters to it.
  9740. A pathname can satisfy any one of the specified filters.
  9741. A split cannot have files from different pools.
  9742. @deprecated Use {@link #createPool(PathFilter...)}.]]>
  9743. </doc>
  9744. </method>
  9745. <method name="getRecordReader" return="org.apache.hadoop.mapred.RecordReader"
  9746. abstract="true" native="false" synchronized="false"
  9747. static="false" final="false" visibility="public"
  9748. deprecated="not deprecated">
  9749. <param name="split" type="org.apache.hadoop.mapred.InputSplit"/>
  9750. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  9751. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  9752. <exception name="IOException" type="java.io.IOException"/>
  9753. <doc>
  9754. <![CDATA[This is not implemented yet.]]>
  9755. </doc>
  9756. </method>
  9757. <method name="createRecordReader" return="org.apache.hadoop.mapreduce.RecordReader"
  9758. abstract="false" native="false" synchronized="false"
  9759. static="false" final="false" visibility="public"
  9760. deprecated="not deprecated">
  9761. <param name="split" type="org.apache.hadoop.mapreduce.InputSplit"/>
  9762. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  9763. <exception name="IOException" type="java.io.IOException"/>
  9764. </method>
  9765. <doc>
  9766. <![CDATA[An abstract {@link org.apache.hadoop.mapred.InputFormat} that returns {@link CombineFileSplit}'s
  9767. in {@link org.apache.hadoop.mapred.InputFormat#getSplits(JobConf, int)} method.
  9768. Splits are constructed from the files under the input paths.
  9769. A split cannot have files from different pools.
  9770. Each split returned may contain blocks from different files.
  9771. If a maxSplitSize is specified, then blocks on the same node are
  9772. combined to form a single split. Blocks that are left over are
  9773. then combined with other blocks in the same rack.
  9774. If maxSplitSize is not specified, then blocks from the same rack
  9775. are combined in a single split; no attempt is made to create
  9776. node-local splits.
  9777. If the maxSplitSize is equal to the block size, then this class
  9778. is similar to the default spliting behaviour in Hadoop: each
  9779. block is a locally processed split.
  9780. Subclasses implement {@link org.apache.hadoop.mapred.InputFormat#getRecordReader(InputSplit, JobConf, Reporter)}
  9781. to construct <code>RecordReader</code>'s for <code>CombineFileSplit</code>'s.
  9782. @see CombineFileSplit]]>
  9783. </doc>
  9784. </class>
  9785. <!-- end class org.apache.hadoop.mapred.lib.CombineFileInputFormat -->
  9786. <!-- start class org.apache.hadoop.mapred.lib.CombineFileRecordReader -->
  9787. <class name="CombineFileRecordReader" extends="java.lang.Object"
  9788. abstract="false"
  9789. static="false" final="false" visibility="public"
  9790. deprecated="not deprecated">
  9791. <implements name="org.apache.hadoop.mapred.RecordReader"/>
  9792. <constructor name="CombineFileRecordReader" type="org.apache.hadoop.mapred.JobConf, org.apache.hadoop.mapred.lib.CombineFileSplit, org.apache.hadoop.mapred.Reporter, java.lang.Class"
  9793. static="false" final="false" visibility="public"
  9794. deprecated="not deprecated">
  9795. <exception name="IOException" type="java.io.IOException"/>
  9796. <doc>
  9797. <![CDATA[A generic RecordReader that can hand out different recordReaders
  9798. for each chunk in the CombineFileSplit.]]>
  9799. </doc>
  9800. </constructor>
  9801. <method name="next" return="boolean"
  9802. abstract="false" native="false" synchronized="false"
  9803. static="false" final="false" visibility="public"
  9804. deprecated="not deprecated">
  9805. <param name="key" type="K"/>
  9806. <param name="value" type="V"/>
  9807. <exception name="IOException" type="java.io.IOException"/>
  9808. </method>
  9809. <method name="createKey" return="K"
  9810. abstract="false" native="false" synchronized="false"
  9811. static="false" final="false" visibility="public"
  9812. deprecated="not deprecated">
  9813. </method>
  9814. <method name="createValue" return="V"
  9815. abstract="false" native="false" synchronized="false"
  9816. static="false" final="false" visibility="public"
  9817. deprecated="not deprecated">
  9818. </method>
  9819. <method name="getPos" return="long"
  9820. abstract="false" native="false" synchronized="false"
  9821. static="false" final="false" visibility="public"
  9822. deprecated="not deprecated">
  9823. <exception name="IOException" type="java.io.IOException"/>
  9824. <doc>
  9825. <![CDATA[return the amount of data processed]]>
  9826. </doc>
  9827. </method>
  9828. <method name="close"
  9829. abstract="false" native="false" synchronized="false"
  9830. static="false" final="false" visibility="public"
  9831. deprecated="not deprecated">
  9832. <exception name="IOException" type="java.io.IOException"/>
  9833. </method>
  9834. <method name="getProgress" return="float"
  9835. abstract="false" native="false" synchronized="false"
  9836. static="false" final="false" visibility="public"
  9837. deprecated="not deprecated">
  9838. <exception name="IOException" type="java.io.IOException"/>
  9839. <doc>
  9840. <![CDATA[return progress based on the amount of data processed so far.]]>
  9841. </doc>
  9842. </method>
  9843. <method name="initNextRecordReader" return="boolean"
  9844. abstract="false" native="false" synchronized="false"
  9845. static="false" final="false" visibility="protected"
  9846. deprecated="not deprecated">
  9847. <exception name="IOException" type="java.io.IOException"/>
  9848. <doc>
  9849. <![CDATA[Get the record reader for the next chunk in this CombineFileSplit.]]>
  9850. </doc>
  9851. </method>
  9852. <field name="split" type="org.apache.hadoop.mapred.lib.CombineFileSplit"
  9853. transient="false" volatile="false"
  9854. static="false" final="false" visibility="protected"
  9855. deprecated="not deprecated">
  9856. </field>
  9857. <field name="jc" type="org.apache.hadoop.mapred.JobConf"
  9858. transient="false" volatile="false"
  9859. static="false" final="false" visibility="protected"
  9860. deprecated="not deprecated">
  9861. </field>
  9862. <field name="reporter" type="org.apache.hadoop.mapred.Reporter"
  9863. transient="false" volatile="false"
  9864. static="false" final="false" visibility="protected"
  9865. deprecated="not deprecated">
  9866. </field>
  9867. <field name="rrClass" type="java.lang.Class"
  9868. transient="false" volatile="false"
  9869. static="false" final="false" visibility="protected"
  9870. deprecated="not deprecated">
  9871. </field>
  9872. <field name="rrConstructor" type="java.lang.reflect.Constructor"
  9873. transient="false" volatile="false"
  9874. static="false" final="false" visibility="protected"
  9875. deprecated="not deprecated">
  9876. </field>
  9877. <field name="fs" type="org.apache.hadoop.fs.FileSystem"
  9878. transient="false" volatile="false"
  9879. static="false" final="false" visibility="protected"
  9880. deprecated="not deprecated">
  9881. </field>
  9882. <field name="idx" type="int"
  9883. transient="false" volatile="false"
  9884. static="false" final="false" visibility="protected"
  9885. deprecated="not deprecated">
  9886. </field>
  9887. <field name="progress" type="long"
  9888. transient="false" volatile="false"
  9889. static="false" final="false" visibility="protected"
  9890. deprecated="not deprecated">
  9891. </field>
  9892. <field name="curReader" type="org.apache.hadoop.mapred.RecordReader"
  9893. transient="false" volatile="false"
  9894. static="false" final="false" visibility="protected"
  9895. deprecated="not deprecated">
  9896. </field>
  9897. <doc>
  9898. <![CDATA[A generic RecordReader that can hand out different recordReaders
  9899. for each chunk in a {@link CombineFileSplit}.
  9900. A CombineFileSplit can combine data chunks from multiple files.
  9901. This class allows using different RecordReaders for processing
  9902. these data chunks from different files.
  9903. @see CombineFileSplit]]>
  9904. </doc>
  9905. </class>
  9906. <!-- end class org.apache.hadoop.mapred.lib.CombineFileRecordReader -->
  9907. <!-- start class org.apache.hadoop.mapred.lib.CombineFileSplit -->
  9908. <class name="CombineFileSplit" extends="org.apache.hadoop.mapreduce.lib.input.CombineFileSplit"
  9909. abstract="false"
  9910. static="false" final="false" visibility="public"
  9911. deprecated="not deprecated">
  9912. <implements name="org.apache.hadoop.mapred.InputSplit"/>
  9913. <constructor name="CombineFileSplit"
  9914. static="false" final="false" visibility="public"
  9915. deprecated="not deprecated">
  9916. </constructor>
  9917. <constructor name="CombineFileSplit" type="org.apache.hadoop.mapred.JobConf, org.apache.hadoop.fs.Path[], long[], long[], java.lang.String[]"
  9918. static="false" final="false" visibility="public"
  9919. deprecated="not deprecated">
  9920. </constructor>
  9921. <constructor name="CombineFileSplit" type="org.apache.hadoop.mapred.JobConf, org.apache.hadoop.fs.Path[], long[]"
  9922. static="false" final="false" visibility="public"
  9923. deprecated="not deprecated">
  9924. </constructor>
  9925. <constructor name="CombineFileSplit" type="org.apache.hadoop.mapred.lib.CombineFileSplit"
  9926. static="false" final="false" visibility="public"
  9927. deprecated="not deprecated">
  9928. <exception name="IOException" type="java.io.IOException"/>
  9929. <doc>
  9930. <![CDATA[Copy constructor]]>
  9931. </doc>
  9932. </constructor>
  9933. <method name="getJob" return="org.apache.hadoop.mapred.JobConf"
  9934. abstract="false" native="false" synchronized="false"
  9935. static="false" final="false" visibility="public"
  9936. deprecated="not deprecated">
  9937. </method>
  9938. </class>
  9939. <!-- end class org.apache.hadoop.mapred.lib.CombineFileSplit -->
  9940. <!-- start class org.apache.hadoop.mapred.lib.FieldSelectionMapReduce -->
  9941. <class name="FieldSelectionMapReduce" extends="java.lang.Object"
  9942. abstract="false"
  9943. static="false" final="false" visibility="public"
  9944. deprecated="not deprecated">
  9945. <implements name="org.apache.hadoop.mapred.Mapper"/>
  9946. <implements name="org.apache.hadoop.mapred.Reducer"/>
  9947. <constructor name="FieldSelectionMapReduce"
  9948. static="false" final="false" visibility="public"
  9949. deprecated="not deprecated">
  9950. </constructor>
  9951. <method name="map"
  9952. abstract="false" native="false" synchronized="false"
  9953. static="false" final="false" visibility="public"
  9954. deprecated="not deprecated">
  9955. <param name="key" type="K"/>
  9956. <param name="val" type="V"/>
  9957. <param name="output" type="org.apache.hadoop.mapred.OutputCollector"/>
  9958. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  9959. <exception name="IOException" type="java.io.IOException"/>
  9960. <doc>
  9961. <![CDATA[The identify function. Input key/value pair is written directly to output.]]>
  9962. </doc>
  9963. </method>
  9964. <method name="configure"
  9965. abstract="false" native="false" synchronized="false"
  9966. static="false" final="false" visibility="public"
  9967. deprecated="not deprecated">
  9968. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  9969. </method>
  9970. <method name="close"
  9971. abstract="false" native="false" synchronized="false"
  9972. static="false" final="false" visibility="public"
  9973. deprecated="not deprecated">
  9974. <exception name="IOException" type="java.io.IOException"/>
  9975. </method>
  9976. <method name="reduce"
  9977. abstract="false" native="false" synchronized="false"
  9978. static="false" final="false" visibility="public"
  9979. deprecated="not deprecated">
  9980. <param name="key" type="org.apache.hadoop.io.Text"/>
  9981. <param name="values" type="java.util.Iterator"/>
  9982. <param name="output" type="org.apache.hadoop.mapred.OutputCollector"/>
  9983. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  9984. <exception name="IOException" type="java.io.IOException"/>
  9985. </method>
  9986. <field name="LOG" type="org.apache.commons.logging.Log"
  9987. transient="false" volatile="false"
  9988. static="true" final="true" visibility="public"
  9989. deprecated="not deprecated">
  9990. </field>
  9991. <doc>
  9992. <![CDATA[This class implements a mapper/reducer class that can be used to perform
  9993. field selections in a manner similar to unix cut. The input data is treated
  9994. as fields separated by a user specified separator (the default value is
  9995. "\t"). The user can specify a list of fields that form the map output keys,
  9996. and a list of fields that form the map output values. If the inputformat is
  9997. TextInputFormat, the mapper will ignore the key to the map function. and the
  9998. fields are from the value only. Otherwise, the fields are the union of those
  9999. from the key and those from the value.
  10000. The field separator is under attribute "mapreduce.fieldsel.data.field.separator"
  10001. The map output field list spec is under attribute
  10002. "mapreduce.fieldsel.map.output.key.value.fields.spec".
  10003. The value is expected to be like "keyFieldsSpec:valueFieldsSpec"
  10004. key/valueFieldsSpec are comma (,) separated field spec: fieldSpec,fieldSpec,fieldSpec ...
  10005. Each field spec can be a simple number (e.g. 5) specifying a specific field, or a range
  10006. (like 2-5) to specify a range of fields, or an open range (like 3-) specifying all
  10007. the fields starting from field 3. The open range field spec applies value fields only.
  10008. They have no effect on the key fields.
  10009. Here is an example: "4,3,0,1:6,5,1-3,7-". It specifies to use fields 4,3,0 and 1 for keys,
  10010. and use fields 6,5,1,2,3,7 and above for values.
  10011. The reduce output field list spec is under attribute
  10012. "mapreduce.fieldsel.reduce.output.key.value.fields.spec".
  10013. The reducer extracts output key/value pairs in a similar manner, except that
  10014. the key is never ignored.]]>
  10015. </doc>
  10016. </class>
  10017. <!-- end class org.apache.hadoop.mapred.lib.FieldSelectionMapReduce -->
  10018. <!-- start class org.apache.hadoop.mapred.lib.FilterOutputFormat -->
  10019. <class name="FilterOutputFormat" extends="java.lang.Object"
  10020. abstract="false"
  10021. static="false" final="false" visibility="public"
  10022. deprecated="not deprecated">
  10023. <implements name="org.apache.hadoop.mapred.OutputFormat"/>
  10024. <constructor name="FilterOutputFormat"
  10025. static="false" final="false" visibility="public"
  10026. deprecated="not deprecated">
  10027. </constructor>
  10028. <constructor name="FilterOutputFormat" type="org.apache.hadoop.mapred.OutputFormat"
  10029. static="false" final="false" visibility="public"
  10030. deprecated="not deprecated">
  10031. <doc>
  10032. <![CDATA[Create a FilterOutputFormat based on the supplied output format.
  10033. @param out the underlying OutputFormat]]>
  10034. </doc>
  10035. </constructor>
  10036. <method name="getRecordWriter" return="org.apache.hadoop.mapred.RecordWriter"
  10037. abstract="false" native="false" synchronized="false"
  10038. static="false" final="false" visibility="public"
  10039. deprecated="not deprecated">
  10040. <param name="ignored" type="org.apache.hadoop.fs.FileSystem"/>
  10041. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  10042. <param name="name" type="java.lang.String"/>
  10043. <param name="progress" type="org.apache.hadoop.util.Progressable"/>
  10044. <exception name="IOException" type="java.io.IOException"/>
  10045. </method>
  10046. <method name="checkOutputSpecs"
  10047. abstract="false" native="false" synchronized="false"
  10048. static="false" final="false" visibility="public"
  10049. deprecated="not deprecated">
  10050. <param name="ignored" type="org.apache.hadoop.fs.FileSystem"/>
  10051. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  10052. <exception name="IOException" type="java.io.IOException"/>
  10053. </method>
  10054. <field name="baseOut" type="org.apache.hadoop.mapred.OutputFormat"
  10055. transient="false" volatile="false"
  10056. static="false" final="false" visibility="protected"
  10057. deprecated="not deprecated">
  10058. </field>
  10059. <doc>
  10060. <![CDATA[FilterOutputFormat is a convenience class that wraps OutputFormat.]]>
  10061. </doc>
  10062. </class>
  10063. <!-- end class org.apache.hadoop.mapred.lib.FilterOutputFormat -->
  10064. <!-- start class org.apache.hadoop.mapred.lib.FilterOutputFormat.FilterRecordWriter -->
  10065. <class name="FilterOutputFormat.FilterRecordWriter" extends="java.lang.Object"
  10066. abstract="false"
  10067. static="true" final="false" visibility="public"
  10068. deprecated="not deprecated">
  10069. <implements name="org.apache.hadoop.mapred.RecordWriter"/>
  10070. <constructor name="FilterOutputFormat.FilterRecordWriter"
  10071. static="false" final="false" visibility="public"
  10072. deprecated="not deprecated">
  10073. <exception name="IOException" type="java.io.IOException"/>
  10074. </constructor>
  10075. <constructor name="FilterOutputFormat.FilterRecordWriter" type="org.apache.hadoop.mapred.RecordWriter"
  10076. static="false" final="false" visibility="public"
  10077. deprecated="not deprecated">
  10078. <exception name="IOException" type="java.io.IOException"/>
  10079. </constructor>
  10080. <method name="close"
  10081. abstract="false" native="false" synchronized="false"
  10082. static="false" final="false" visibility="public"
  10083. deprecated="not deprecated">
  10084. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  10085. <exception name="IOException" type="java.io.IOException"/>
  10086. </method>
  10087. <method name="write"
  10088. abstract="false" native="false" synchronized="false"
  10089. static="false" final="false" visibility="public"
  10090. deprecated="not deprecated">
  10091. <param name="key" type="K"/>
  10092. <param name="value" type="V"/>
  10093. <exception name="IOException" type="java.io.IOException"/>
  10094. </method>
  10095. <field name="rawWriter" type="org.apache.hadoop.mapred.RecordWriter"
  10096. transient="false" volatile="false"
  10097. static="false" final="false" visibility="protected"
  10098. deprecated="not deprecated">
  10099. </field>
  10100. <doc>
  10101. <![CDATA[<code>FilterRecordWriter</code> is a convenience wrapper
  10102. class that implements {@link RecordWriter}.]]>
  10103. </doc>
  10104. </class>
  10105. <!-- end class org.apache.hadoop.mapred.lib.FilterOutputFormat.FilterRecordWriter -->
  10106. <!-- start class org.apache.hadoop.mapred.lib.HashPartitioner -->
  10107. <class name="HashPartitioner" extends="java.lang.Object"
  10108. abstract="false"
  10109. static="false" final="false" visibility="public"
  10110. deprecated="not deprecated">
  10111. <implements name="org.apache.hadoop.mapred.Partitioner"/>
  10112. <constructor name="HashPartitioner"
  10113. static="false" final="false" visibility="public"
  10114. deprecated="not deprecated">
  10115. </constructor>
  10116. <method name="configure"
  10117. abstract="false" native="false" synchronized="false"
  10118. static="false" final="false" visibility="public"
  10119. deprecated="not deprecated">
  10120. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  10121. </method>
  10122. <method name="getPartition" return="int"
  10123. abstract="false" native="false" synchronized="false"
  10124. static="false" final="false" visibility="public"
  10125. deprecated="not deprecated">
  10126. <param name="key" type="K2"/>
  10127. <param name="value" type="V2"/>
  10128. <param name="numReduceTasks" type="int"/>
  10129. <doc>
  10130. <![CDATA[Use {@link Object#hashCode()} to partition.]]>
  10131. </doc>
  10132. </method>
  10133. <doc>
  10134. <![CDATA[Partition keys by their {@link Object#hashCode()}.]]>
  10135. </doc>
  10136. </class>
  10137. <!-- end class org.apache.hadoop.mapred.lib.HashPartitioner -->
  10138. <!-- start class org.apache.hadoop.mapred.lib.IdentityMapper -->
  10139. <class name="IdentityMapper" extends="org.apache.hadoop.mapred.MapReduceBase"
  10140. abstract="false"
  10141. static="false" final="false" visibility="public"
  10142. deprecated="not deprecated">
  10143. <implements name="org.apache.hadoop.mapred.Mapper"/>
  10144. <constructor name="IdentityMapper"
  10145. static="false" final="false" visibility="public"
  10146. deprecated="not deprecated">
  10147. </constructor>
  10148. <method name="map"
  10149. abstract="false" native="false" synchronized="false"
  10150. static="false" final="false" visibility="public"
  10151. deprecated="not deprecated">
  10152. <param name="key" type="K"/>
  10153. <param name="val" type="V"/>
  10154. <param name="output" type="org.apache.hadoop.mapred.OutputCollector"/>
  10155. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  10156. <exception name="IOException" type="java.io.IOException"/>
  10157. <doc>
  10158. <![CDATA[The identify function. Input key/value pair is written directly to
  10159. output.]]>
  10160. </doc>
  10161. </method>
  10162. <doc>
  10163. <![CDATA[Implements the identity function, mapping inputs directly to outputs.]]>
  10164. </doc>
  10165. </class>
  10166. <!-- end class org.apache.hadoop.mapred.lib.IdentityMapper -->
  10167. <!-- start class org.apache.hadoop.mapred.lib.IdentityReducer -->
  10168. <class name="IdentityReducer" extends="org.apache.hadoop.mapred.MapReduceBase"
  10169. abstract="false"
  10170. static="false" final="false" visibility="public"
  10171. deprecated="not deprecated">
  10172. <implements name="org.apache.hadoop.mapred.Reducer"/>
  10173. <constructor name="IdentityReducer"
  10174. static="false" final="false" visibility="public"
  10175. deprecated="not deprecated">
  10176. </constructor>
  10177. <method name="reduce"
  10178. abstract="false" native="false" synchronized="false"
  10179. static="false" final="false" visibility="public"
  10180. deprecated="not deprecated">
  10181. <param name="key" type="K"/>
  10182. <param name="values" type="java.util.Iterator"/>
  10183. <param name="output" type="org.apache.hadoop.mapred.OutputCollector"/>
  10184. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  10185. <exception name="IOException" type="java.io.IOException"/>
  10186. <doc>
  10187. <![CDATA[Writes all keys and values directly to output.]]>
  10188. </doc>
  10189. </method>
  10190. <doc>
  10191. <![CDATA[Performs no reduction, writing all input values directly to the output.]]>
  10192. </doc>
  10193. </class>
  10194. <!-- end class org.apache.hadoop.mapred.lib.IdentityReducer -->
  10195. <!-- start class org.apache.hadoop.mapred.lib.InputSampler -->
  10196. <class name="InputSampler" extends="org.apache.hadoop.mapreduce.lib.partition.InputSampler"
  10197. abstract="false"
  10198. static="false" final="false" visibility="public"
  10199. deprecated="not deprecated">
  10200. <constructor name="InputSampler" type="org.apache.hadoop.mapred.JobConf"
  10201. static="false" final="false" visibility="public"
  10202. deprecated="not deprecated">
  10203. </constructor>
  10204. <method name="writePartitionFile"
  10205. abstract="false" native="false" synchronized="false"
  10206. static="true" final="false" visibility="public"
  10207. deprecated="not deprecated">
  10208. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  10209. <param name="sampler" type="org.apache.hadoop.mapreduce.lib.partition.InputSampler.Sampler"/>
  10210. <exception name="IOException" type="java.io.IOException"/>
  10211. <exception name="ClassNotFoundException" type="java.lang.ClassNotFoundException"/>
  10212. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  10213. </method>
  10214. </class>
  10215. <!-- end class org.apache.hadoop.mapred.lib.InputSampler -->
  10216. <!-- start class org.apache.hadoop.mapred.lib.InverseMapper -->
  10217. <class name="InverseMapper" extends="org.apache.hadoop.mapred.MapReduceBase"
  10218. abstract="false"
  10219. static="false" final="false" visibility="public"
  10220. deprecated="not deprecated">
  10221. <implements name="org.apache.hadoop.mapred.Mapper"/>
  10222. <constructor name="InverseMapper"
  10223. static="false" final="false" visibility="public"
  10224. deprecated="not deprecated">
  10225. </constructor>
  10226. <method name="map"
  10227. abstract="false" native="false" synchronized="false"
  10228. static="false" final="false" visibility="public"
  10229. deprecated="not deprecated">
  10230. <param name="key" type="K"/>
  10231. <param name="value" type="V"/>
  10232. <param name="output" type="org.apache.hadoop.mapred.OutputCollector"/>
  10233. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  10234. <exception name="IOException" type="java.io.IOException"/>
  10235. <doc>
  10236. <![CDATA[The inverse function. Input keys and values are swapped.]]>
  10237. </doc>
  10238. </method>
  10239. <doc>
  10240. <![CDATA[A {@link Mapper} that swaps keys and values.]]>
  10241. </doc>
  10242. </class>
  10243. <!-- end class org.apache.hadoop.mapred.lib.InverseMapper -->
  10244. <!-- start class org.apache.hadoop.mapred.lib.KeyFieldBasedComparator -->
  10245. <class name="KeyFieldBasedComparator" extends="org.apache.hadoop.mapreduce.lib.partition.KeyFieldBasedComparator"
  10246. abstract="false"
  10247. static="false" final="false" visibility="public"
  10248. deprecated="not deprecated">
  10249. <implements name="org.apache.hadoop.mapred.JobConfigurable"/>
  10250. <constructor name="KeyFieldBasedComparator"
  10251. static="false" final="false" visibility="public"
  10252. deprecated="not deprecated">
  10253. </constructor>
  10254. <method name="configure"
  10255. abstract="false" native="false" synchronized="false"
  10256. static="false" final="false" visibility="public"
  10257. deprecated="not deprecated">
  10258. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  10259. </method>
  10260. <doc>
  10261. <![CDATA[This comparator implementation provides a subset of the features provided
  10262. by the Unix/GNU Sort. In particular, the supported features are:
  10263. -n, (Sort numerically)
  10264. -r, (Reverse the result of comparison)
  10265. -k pos1[,pos2], where pos is of the form f[.c][opts], where f is the number
  10266. of the field to use, and c is the number of the first character from the
  10267. beginning of the field. Fields and character posns are numbered starting
  10268. with 1; a character position of zero in pos2 indicates the field's last
  10269. character. If '.c' is omitted from pos1, it defaults to 1 (the beginning
  10270. of the field); if omitted from pos2, it defaults to 0 (the end of the
  10271. field). opts are ordering options (any of 'nr' as described above).
  10272. We assume that the fields in the key are separated by
  10273. {@link JobContext#MAP_OUTPUT_KEY_FIELD_SEPERATOR}]]>
  10274. </doc>
  10275. </class>
  10276. <!-- end class org.apache.hadoop.mapred.lib.KeyFieldBasedComparator -->
  10277. <!-- start class org.apache.hadoop.mapred.lib.KeyFieldBasedPartitioner -->
  10278. <class name="KeyFieldBasedPartitioner" extends="org.apache.hadoop.mapreduce.lib.partition.KeyFieldBasedPartitioner"
  10279. abstract="false"
  10280. static="false" final="false" visibility="public"
  10281. deprecated="not deprecated">
  10282. <implements name="org.apache.hadoop.mapred.Partitioner"/>
  10283. <constructor name="KeyFieldBasedPartitioner"
  10284. static="false" final="false" visibility="public"
  10285. deprecated="not deprecated">
  10286. </constructor>
  10287. <method name="configure"
  10288. abstract="false" native="false" synchronized="false"
  10289. static="false" final="false" visibility="public"
  10290. deprecated="not deprecated">
  10291. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  10292. </method>
  10293. <doc>
  10294. <![CDATA[Defines a way to partition keys based on certain key fields (also see
  10295. {@link KeyFieldBasedComparator}.
  10296. The key specification supported is of the form -k pos1[,pos2], where,
  10297. pos is of the form f[.c][opts], where f is the number
  10298. of the key field to use, and c is the number of the first character from
  10299. the beginning of the field. Fields and character posns are numbered
  10300. starting with 1; a character position of zero in pos2 indicates the
  10301. field's last character. If '.c' is omitted from pos1, it defaults to 1
  10302. (the beginning of the field); if omitted from pos2, it defaults to 0
  10303. (the end of the field).]]>
  10304. </doc>
  10305. </class>
  10306. <!-- end class org.apache.hadoop.mapred.lib.KeyFieldBasedPartitioner -->
  10307. <!-- start class org.apache.hadoop.mapred.lib.LazyOutputFormat -->
  10308. <class name="LazyOutputFormat" extends="org.apache.hadoop.mapred.lib.FilterOutputFormat"
  10309. abstract="false"
  10310. static="false" final="false" visibility="public"
  10311. deprecated="not deprecated">
  10312. <constructor name="LazyOutputFormat"
  10313. static="false" final="false" visibility="public"
  10314. deprecated="not deprecated">
  10315. </constructor>
  10316. <method name="setOutputFormatClass"
  10317. abstract="false" native="false" synchronized="false"
  10318. static="true" final="false" visibility="public"
  10319. deprecated="not deprecated">
  10320. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  10321. <param name="theClass" type="java.lang.Class"/>
  10322. <doc>
  10323. <![CDATA[Set the underlying output format for LazyOutputFormat.
  10324. @param job the {@link JobConf} to modify
  10325. @param theClass the underlying class]]>
  10326. </doc>
  10327. </method>
  10328. <method name="getRecordWriter" return="org.apache.hadoop.mapred.RecordWriter"
  10329. abstract="false" native="false" synchronized="false"
  10330. static="false" final="false" visibility="public"
  10331. deprecated="not deprecated">
  10332. <param name="ignored" type="org.apache.hadoop.fs.FileSystem"/>
  10333. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  10334. <param name="name" type="java.lang.String"/>
  10335. <param name="progress" type="org.apache.hadoop.util.Progressable"/>
  10336. <exception name="IOException" type="java.io.IOException"/>
  10337. </method>
  10338. <method name="checkOutputSpecs"
  10339. abstract="false" native="false" synchronized="false"
  10340. static="false" final="false" visibility="public"
  10341. deprecated="not deprecated">
  10342. <param name="ignored" type="org.apache.hadoop.fs.FileSystem"/>
  10343. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  10344. <exception name="IOException" type="java.io.IOException"/>
  10345. </method>
  10346. <doc>
  10347. <![CDATA[A Convenience class that creates output lazily.]]>
  10348. </doc>
  10349. </class>
  10350. <!-- end class org.apache.hadoop.mapred.lib.LazyOutputFormat -->
  10351. <!-- start class org.apache.hadoop.mapred.lib.LongSumReducer -->
  10352. <class name="LongSumReducer" extends="org.apache.hadoop.mapred.MapReduceBase"
  10353. abstract="false"
  10354. static="false" final="false" visibility="public"
  10355. deprecated="not deprecated">
  10356. <implements name="org.apache.hadoop.mapred.Reducer"/>
  10357. <constructor name="LongSumReducer"
  10358. static="false" final="false" visibility="public"
  10359. deprecated="not deprecated">
  10360. </constructor>
  10361. <method name="reduce"
  10362. abstract="false" native="false" synchronized="false"
  10363. static="false" final="false" visibility="public"
  10364. deprecated="not deprecated">
  10365. <param name="key" type="K"/>
  10366. <param name="values" type="java.util.Iterator"/>
  10367. <param name="output" type="org.apache.hadoop.mapred.OutputCollector"/>
  10368. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  10369. <exception name="IOException" type="java.io.IOException"/>
  10370. </method>
  10371. <doc>
  10372. <![CDATA[A {@link Reducer} that sums long values.]]>
  10373. </doc>
  10374. </class>
  10375. <!-- end class org.apache.hadoop.mapred.lib.LongSumReducer -->
  10376. <!-- start class org.apache.hadoop.mapred.lib.MultipleInputs -->
  10377. <class name="MultipleInputs" extends="java.lang.Object"
  10378. abstract="false"
  10379. static="false" final="false" visibility="public"
  10380. deprecated="not deprecated">
  10381. <constructor name="MultipleInputs"
  10382. static="false" final="false" visibility="public"
  10383. deprecated="not deprecated">
  10384. </constructor>
  10385. <method name="addInputPath"
  10386. abstract="false" native="false" synchronized="false"
  10387. static="true" final="false" visibility="public"
  10388. deprecated="not deprecated">
  10389. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  10390. <param name="path" type="org.apache.hadoop.fs.Path"/>
  10391. <param name="inputFormatClass" type="java.lang.Class"/>
  10392. <doc>
  10393. <![CDATA[Add a {@link Path} with a custom {@link InputFormat} to the list of
  10394. inputs for the map-reduce job.
  10395. @param conf The configuration of the job
  10396. @param path {@link Path} to be added to the list of inputs for the job
  10397. @param inputFormatClass {@link InputFormat} class to use for this path]]>
  10398. </doc>
  10399. </method>
  10400. <method name="addInputPath"
  10401. abstract="false" native="false" synchronized="false"
  10402. static="true" final="false" visibility="public"
  10403. deprecated="not deprecated">
  10404. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  10405. <param name="path" type="org.apache.hadoop.fs.Path"/>
  10406. <param name="inputFormatClass" type="java.lang.Class"/>
  10407. <param name="mapperClass" type="java.lang.Class"/>
  10408. <doc>
  10409. <![CDATA[Add a {@link Path} with a custom {@link InputFormat} and
  10410. {@link Mapper} to the list of inputs for the map-reduce job.
  10411. @param conf The configuration of the job
  10412. @param path {@link Path} to be added to the list of inputs for the job
  10413. @param inputFormatClass {@link InputFormat} class to use for this path
  10414. @param mapperClass {@link Mapper} class to use for this path]]>
  10415. </doc>
  10416. </method>
  10417. <doc>
  10418. <![CDATA[This class supports MapReduce jobs that have multiple input paths with
  10419. a different {@link InputFormat} and {@link Mapper} for each path]]>
  10420. </doc>
  10421. </class>
  10422. <!-- end class org.apache.hadoop.mapred.lib.MultipleInputs -->
  10423. <!-- start class org.apache.hadoop.mapred.lib.MultipleOutputFormat -->
  10424. <class name="MultipleOutputFormat" extends="org.apache.hadoop.mapred.FileOutputFormat"
  10425. abstract="true"
  10426. static="false" final="false" visibility="public"
  10427. deprecated="not deprecated">
  10428. <constructor name="MultipleOutputFormat"
  10429. static="false" final="false" visibility="public"
  10430. deprecated="not deprecated">
  10431. </constructor>
  10432. <method name="getRecordWriter" return="org.apache.hadoop.mapred.RecordWriter"
  10433. abstract="false" native="false" synchronized="false"
  10434. static="false" final="false" visibility="public"
  10435. deprecated="not deprecated">
  10436. <param name="fs" type="org.apache.hadoop.fs.FileSystem"/>
  10437. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  10438. <param name="name" type="java.lang.String"/>
  10439. <param name="arg3" type="org.apache.hadoop.util.Progressable"/>
  10440. <exception name="IOException" type="java.io.IOException"/>
  10441. <doc>
  10442. <![CDATA[Create a composite record writer that can write key/value data to different
  10443. output files
  10444. @param fs
  10445. the file system to use
  10446. @param job
  10447. the job conf for the job
  10448. @param name
  10449. the leaf file name for the output file (such as part-00000")
  10450. @param arg3
  10451. a progressable for reporting progress.
  10452. @return a composite record writer
  10453. @throws IOException]]>
  10454. </doc>
  10455. </method>
  10456. <method name="generateLeafFileName" return="java.lang.String"
  10457. abstract="false" native="false" synchronized="false"
  10458. static="false" final="false" visibility="protected"
  10459. deprecated="not deprecated">
  10460. <param name="name" type="java.lang.String"/>
  10461. <doc>
  10462. <![CDATA[Generate the leaf name for the output file name. The default behavior does
  10463. not change the leaf file name (such as part-00000)
  10464. @param name
  10465. the leaf file name for the output file
  10466. @return the given leaf file name]]>
  10467. </doc>
  10468. </method>
  10469. <method name="generateFileNameForKeyValue" return="java.lang.String"
  10470. abstract="false" native="false" synchronized="false"
  10471. static="false" final="false" visibility="protected"
  10472. deprecated="not deprecated">
  10473. <param name="key" type="K"/>
  10474. <param name="value" type="V"/>
  10475. <param name="name" type="java.lang.String"/>
  10476. <doc>
  10477. <![CDATA[Generate the file output file name based on the given key and the leaf file
  10478. name. The default behavior is that the file name does not depend on the
  10479. key.
  10480. @param key
  10481. the key of the output data
  10482. @param name
  10483. the leaf file name
  10484. @return generated file name]]>
  10485. </doc>
  10486. </method>
  10487. <method name="generateActualKey" return="K"
  10488. abstract="false" native="false" synchronized="false"
  10489. static="false" final="false" visibility="protected"
  10490. deprecated="not deprecated">
  10491. <param name="key" type="K"/>
  10492. <param name="value" type="V"/>
  10493. <doc>
  10494. <![CDATA[Generate the actual key from the given key/value. The default behavior is that
  10495. the actual key is equal to the given key
  10496. @param key
  10497. the key of the output data
  10498. @param value
  10499. the value of the output data
  10500. @return the actual key derived from the given key/value]]>
  10501. </doc>
  10502. </method>
  10503. <method name="generateActualValue" return="V"
  10504. abstract="false" native="false" synchronized="false"
  10505. static="false" final="false" visibility="protected"
  10506. deprecated="not deprecated">
  10507. <param name="key" type="K"/>
  10508. <param name="value" type="V"/>
  10509. <doc>
  10510. <![CDATA[Generate the actual value from the given key and value. The default behavior is that
  10511. the actual value is equal to the given value
  10512. @param key
  10513. the key of the output data
  10514. @param value
  10515. the value of the output data
  10516. @return the actual value derived from the given key/value]]>
  10517. </doc>
  10518. </method>
  10519. <method name="getInputFileBasedOutputFileName" return="java.lang.String"
  10520. abstract="false" native="false" synchronized="false"
  10521. static="false" final="false" visibility="protected"
  10522. deprecated="not deprecated">
  10523. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  10524. <param name="name" type="java.lang.String"/>
  10525. <doc>
  10526. <![CDATA[Generate the outfile name based on a given anme and the input file name. If
  10527. the {@link JobContext#MAP_INPUT_FILE} does not exists (i.e. this is not for a map only job),
  10528. the given name is returned unchanged. If the config value for
  10529. "num.of.trailing.legs.to.use" is not set, or set 0 or negative, the given
  10530. name is returned unchanged. Otherwise, return a file name consisting of the
  10531. N trailing legs of the input file name where N is the config value for
  10532. "num.of.trailing.legs.to.use".
  10533. @param job
  10534. the job config
  10535. @param name
  10536. the output file name
  10537. @return the outfile name based on a given anme and the input file name.]]>
  10538. </doc>
  10539. </method>
  10540. <method name="getBaseRecordWriter" return="org.apache.hadoop.mapred.RecordWriter"
  10541. abstract="true" native="false" synchronized="false"
  10542. static="false" final="false" visibility="protected"
  10543. deprecated="not deprecated">
  10544. <param name="fs" type="org.apache.hadoop.fs.FileSystem"/>
  10545. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  10546. <param name="name" type="java.lang.String"/>
  10547. <param name="arg3" type="org.apache.hadoop.util.Progressable"/>
  10548. <exception name="IOException" type="java.io.IOException"/>
  10549. <doc>
  10550. <![CDATA[@param fs
  10551. the file system to use
  10552. @param job
  10553. a job conf object
  10554. @param name
  10555. the name of the file over which a record writer object will be
  10556. constructed
  10557. @param arg3
  10558. a progressable object
  10559. @return A RecordWriter object over the given file
  10560. @throws IOException]]>
  10561. </doc>
  10562. </method>
  10563. <doc>
  10564. <![CDATA[This abstract class extends the FileOutputFormat, allowing to write the
  10565. output data to different output files. There are three basic use cases for
  10566. this class.
  10567. Case one: This class is used for a map reduce job with at least one reducer.
  10568. The reducer wants to write data to different files depending on the actual
  10569. keys. It is assumed that a key (or value) encodes the actual key (value)
  10570. and the desired location for the actual key (value).
  10571. Case two: This class is used for a map only job. The job wants to use an
  10572. output file name that is either a part of the input file name of the input
  10573. data, or some derivation of it.
  10574. Case three: This class is used for a map only job. The job wants to use an
  10575. output file name that depends on both the keys and the input file name,]]>
  10576. </doc>
  10577. </class>
  10578. <!-- end class org.apache.hadoop.mapred.lib.MultipleOutputFormat -->
  10579. <!-- start class org.apache.hadoop.mapred.lib.MultipleOutputs -->
  10580. <class name="MultipleOutputs" extends="java.lang.Object"
  10581. abstract="false"
  10582. static="false" final="false" visibility="public"
  10583. deprecated="not deprecated">
  10584. <constructor name="MultipleOutputs" type="org.apache.hadoop.mapred.JobConf"
  10585. static="false" final="false" visibility="public"
  10586. deprecated="not deprecated">
  10587. <doc>
  10588. <![CDATA[Creates and initializes multiple named outputs support, it should be
  10589. instantiated in the Mapper/Reducer configure method.
  10590. @param job the job configuration object]]>
  10591. </doc>
  10592. </constructor>
  10593. <method name="getNamedOutputsList" return="java.util.List"
  10594. abstract="false" native="false" synchronized="false"
  10595. static="true" final="false" visibility="public"
  10596. deprecated="not deprecated">
  10597. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  10598. <doc>
  10599. <![CDATA[Returns list of channel names.
  10600. @param conf job conf
  10601. @return List of channel Names]]>
  10602. </doc>
  10603. </method>
  10604. <method name="isMultiNamedOutput" return="boolean"
  10605. abstract="false" native="false" synchronized="false"
  10606. static="true" final="false" visibility="public"
  10607. deprecated="not deprecated">
  10608. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  10609. <param name="namedOutput" type="java.lang.String"/>
  10610. <doc>
  10611. <![CDATA[Returns if a named output is multiple.
  10612. @param conf job conf
  10613. @param namedOutput named output
  10614. @return <code>true</code> if the name output is multi, <code>false</code>
  10615. if it is single. If the name output is not defined it returns
  10616. <code>false</code>]]>
  10617. </doc>
  10618. </method>
  10619. <method name="getNamedOutputFormatClass" return="java.lang.Class"
  10620. abstract="false" native="false" synchronized="false"
  10621. static="true" final="false" visibility="public"
  10622. deprecated="not deprecated">
  10623. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  10624. <param name="namedOutput" type="java.lang.String"/>
  10625. <doc>
  10626. <![CDATA[Returns the named output OutputFormat.
  10627. @param conf job conf
  10628. @param namedOutput named output
  10629. @return namedOutput OutputFormat]]>
  10630. </doc>
  10631. </method>
  10632. <method name="getNamedOutputKeyClass" return="java.lang.Class"
  10633. abstract="false" native="false" synchronized="false"
  10634. static="true" final="false" visibility="public"
  10635. deprecated="not deprecated">
  10636. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  10637. <param name="namedOutput" type="java.lang.String"/>
  10638. <doc>
  10639. <![CDATA[Returns the key class for a named output.
  10640. @param conf job conf
  10641. @param namedOutput named output
  10642. @return class for the named output key]]>
  10643. </doc>
  10644. </method>
  10645. <method name="getNamedOutputValueClass" return="java.lang.Class"
  10646. abstract="false" native="false" synchronized="false"
  10647. static="true" final="false" visibility="public"
  10648. deprecated="not deprecated">
  10649. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  10650. <param name="namedOutput" type="java.lang.String"/>
  10651. <doc>
  10652. <![CDATA[Returns the value class for a named output.
  10653. @param conf job conf
  10654. @param namedOutput named output
  10655. @return class of named output value]]>
  10656. </doc>
  10657. </method>
  10658. <method name="addNamedOutput"
  10659. abstract="false" native="false" synchronized="false"
  10660. static="true" final="false" visibility="public"
  10661. deprecated="not deprecated">
  10662. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  10663. <param name="namedOutput" type="java.lang.String"/>
  10664. <param name="outputFormatClass" type="java.lang.Class"/>
  10665. <param name="keyClass" type="java.lang.Class"/>
  10666. <param name="valueClass" type="java.lang.Class"/>
  10667. <doc>
  10668. <![CDATA[Adds a named output for the job.
  10669. <p/>
  10670. @param conf job conf to add the named output
  10671. @param namedOutput named output name, it has to be a word, letters
  10672. and numbers only, cannot be the word 'part' as
  10673. that is reserved for the
  10674. default output.
  10675. @param outputFormatClass OutputFormat class.
  10676. @param keyClass key class
  10677. @param valueClass value class]]>
  10678. </doc>
  10679. </method>
  10680. <method name="addMultiNamedOutput"
  10681. abstract="false" native="false" synchronized="false"
  10682. static="true" final="false" visibility="public"
  10683. deprecated="not deprecated">
  10684. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  10685. <param name="namedOutput" type="java.lang.String"/>
  10686. <param name="outputFormatClass" type="java.lang.Class"/>
  10687. <param name="keyClass" type="java.lang.Class"/>
  10688. <param name="valueClass" type="java.lang.Class"/>
  10689. <doc>
  10690. <![CDATA[Adds a multi named output for the job.
  10691. <p/>
  10692. @param conf job conf to add the named output
  10693. @param namedOutput named output name, it has to be a word, letters
  10694. and numbers only, cannot be the word 'part' as
  10695. that is reserved for the
  10696. default output.
  10697. @param outputFormatClass OutputFormat class.
  10698. @param keyClass key class
  10699. @param valueClass value class]]>
  10700. </doc>
  10701. </method>
  10702. <method name="setCountersEnabled"
  10703. abstract="false" native="false" synchronized="false"
  10704. static="true" final="false" visibility="public"
  10705. deprecated="not deprecated">
  10706. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  10707. <param name="enabled" type="boolean"/>
  10708. <doc>
  10709. <![CDATA[Enables or disables counters for the named outputs.
  10710. <p/>
  10711. By default these counters are disabled.
  10712. <p/>
  10713. MultipleOutputs supports counters, by default the are disabled.
  10714. The counters group is the {@link MultipleOutputs} class name.
  10715. </p>
  10716. The names of the counters are the same as the named outputs. For multi
  10717. named outputs the name of the counter is the concatenation of the named
  10718. output, and underscore '_' and the multiname.
  10719. @param conf job conf to enableadd the named output.
  10720. @param enabled indicates if the counters will be enabled or not.]]>
  10721. </doc>
  10722. </method>
  10723. <method name="getCountersEnabled" return="boolean"
  10724. abstract="false" native="false" synchronized="false"
  10725. static="true" final="false" visibility="public"
  10726. deprecated="not deprecated">
  10727. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  10728. <doc>
  10729. <![CDATA[Returns if the counters for the named outputs are enabled or not.
  10730. <p/>
  10731. By default these counters are disabled.
  10732. <p/>
  10733. MultipleOutputs supports counters, by default the are disabled.
  10734. The counters group is the {@link MultipleOutputs} class name.
  10735. </p>
  10736. The names of the counters are the same as the named outputs. For multi
  10737. named outputs the name of the counter is the concatenation of the named
  10738. output, and underscore '_' and the multiname.
  10739. @param conf job conf to enableadd the named output.
  10740. @return TRUE if the counters are enabled, FALSE if they are disabled.]]>
  10741. </doc>
  10742. </method>
  10743. <method name="getNamedOutputs" return="java.util.Iterator"
  10744. abstract="false" native="false" synchronized="false"
  10745. static="false" final="false" visibility="public"
  10746. deprecated="not deprecated">
  10747. <doc>
  10748. <![CDATA[Returns iterator with the defined name outputs.
  10749. @return iterator with the defined named outputs]]>
  10750. </doc>
  10751. </method>
  10752. <method name="getCollector" return="org.apache.hadoop.mapred.OutputCollector"
  10753. abstract="false" native="false" synchronized="false"
  10754. static="false" final="false" visibility="public"
  10755. deprecated="not deprecated">
  10756. <param name="namedOutput" type="java.lang.String"/>
  10757. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  10758. <exception name="IOException" type="java.io.IOException"/>
  10759. <doc>
  10760. <![CDATA[Gets the output collector for a named output.
  10761. <p/>
  10762. @param namedOutput the named output name
  10763. @param reporter the reporter
  10764. @return the output collector for the given named output
  10765. @throws IOException thrown if output collector could not be created]]>
  10766. </doc>
  10767. </method>
  10768. <method name="getCollector" return="org.apache.hadoop.mapred.OutputCollector"
  10769. abstract="false" native="false" synchronized="false"
  10770. static="false" final="false" visibility="public"
  10771. deprecated="not deprecated">
  10772. <param name="namedOutput" type="java.lang.String"/>
  10773. <param name="multiName" type="java.lang.String"/>
  10774. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  10775. <exception name="IOException" type="java.io.IOException"/>
  10776. <doc>
  10777. <![CDATA[Gets the output collector for a multi named output.
  10778. <p/>
  10779. @param namedOutput the named output name
  10780. @param multiName the multi name part
  10781. @param reporter the reporter
  10782. @return the output collector for the given named output
  10783. @throws IOException thrown if output collector could not be created]]>
  10784. </doc>
  10785. </method>
  10786. <method name="close"
  10787. abstract="false" native="false" synchronized="false"
  10788. static="false" final="false" visibility="public"
  10789. deprecated="not deprecated">
  10790. <exception name="IOException" type="java.io.IOException"/>
  10791. <doc>
  10792. <![CDATA[Closes all the opened named outputs.
  10793. <p/>
  10794. If overriden subclasses must invoke <code>super.close()</code> at the
  10795. end of their <code>close()</code>
  10796. @throws java.io.IOException thrown if any of the MultipleOutput files
  10797. could not be closed properly.]]>
  10798. </doc>
  10799. </method>
  10800. <doc>
  10801. <![CDATA[The MultipleOutputs class simplifies writting to additional outputs other
  10802. than the job default output via the <code>OutputCollector</code> passed to
  10803. the <code>map()</code> and <code>reduce()</code> methods of the
  10804. <code>Mapper</code> and <code>Reducer</code> implementations.
  10805. <p/>
  10806. Each additional output, or named output, may be configured with its own
  10807. <code>OutputFormat</code>, with its own key class and with its own value
  10808. class.
  10809. <p/>
  10810. A named output can be a single file or a multi file. The later is refered as
  10811. a multi named output.
  10812. <p/>
  10813. A multi named output is an unbound set of files all sharing the same
  10814. <code>OutputFormat</code>, key class and value class configuration.
  10815. <p/>
  10816. When named outputs are used within a <code>Mapper</code> implementation,
  10817. key/values written to a name output are not part of the reduce phase, only
  10818. key/values written to the job <code>OutputCollector</code> are part of the
  10819. reduce phase.
  10820. <p/>
  10821. MultipleOutputs supports counters, by default the are disabled. The counters
  10822. group is the {@link MultipleOutputs} class name.
  10823. </p>
  10824. The names of the counters are the same as the named outputs. For multi
  10825. named outputs the name of the counter is the concatenation of the named
  10826. output, and underscore '_' and the multiname.
  10827. <p/>
  10828. Job configuration usage pattern is:
  10829. <pre>
  10830. JobConf conf = new JobConf();
  10831. conf.setInputPath(inDir);
  10832. FileOutputFormat.setOutputPath(conf, outDir);
  10833. conf.setMapperClass(MOMap.class);
  10834. conf.setReducerClass(MOReduce.class);
  10835. ...
  10836. // Defines additional single text based output 'text' for the job
  10837. MultipleOutputs.addNamedOutput(conf, "text", TextOutputFormat.class,
  10838. LongWritable.class, Text.class);
  10839. // Defines additional multi sequencefile based output 'sequence' for the
  10840. // job
  10841. MultipleOutputs.addMultiNamedOutput(conf, "seq",
  10842. SequenceFileOutputFormat.class,
  10843. LongWritable.class, Text.class);
  10844. ...
  10845. JobClient jc = new JobClient();
  10846. RunningJob job = jc.submitJob(conf);
  10847. ...
  10848. </pre>
  10849. <p/>
  10850. Job configuration usage pattern is:
  10851. <pre>
  10852. public class MOReduce implements
  10853. Reducer&lt;WritableComparable, Writable&gt; {
  10854. private MultipleOutputs mos;
  10855. public void configure(JobConf conf) {
  10856. ...
  10857. mos = new MultipleOutputs(conf);
  10858. }
  10859. public void reduce(WritableComparable key, Iterator&lt;Writable&gt; values,
  10860. OutputCollector output, Reporter reporter)
  10861. throws IOException {
  10862. ...
  10863. mos.getCollector("text", reporter).collect(key, new Text("Hello"));
  10864. mos.getCollector("seq", "A", reporter).collect(key, new Text("Bye"));
  10865. mos.getCollector("seq", "B", reporter).collect(key, new Text("Chau"));
  10866. ...
  10867. }
  10868. public void close() throws IOException {
  10869. mos.close();
  10870. ...
  10871. }
  10872. }
  10873. </pre>]]>
  10874. </doc>
  10875. </class>
  10876. <!-- end class org.apache.hadoop.mapred.lib.MultipleOutputs -->
  10877. <!-- start class org.apache.hadoop.mapred.lib.MultipleSequenceFileOutputFormat -->
  10878. <class name="MultipleSequenceFileOutputFormat" extends="org.apache.hadoop.mapred.lib.MultipleOutputFormat"
  10879. abstract="false"
  10880. static="false" final="false" visibility="public"
  10881. deprecated="not deprecated">
  10882. <constructor name="MultipleSequenceFileOutputFormat"
  10883. static="false" final="false" visibility="public"
  10884. deprecated="not deprecated">
  10885. </constructor>
  10886. <method name="getBaseRecordWriter" return="org.apache.hadoop.mapred.RecordWriter"
  10887. abstract="false" native="false" synchronized="false"
  10888. static="false" final="false" visibility="protected"
  10889. deprecated="not deprecated">
  10890. <param name="fs" type="org.apache.hadoop.fs.FileSystem"/>
  10891. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  10892. <param name="name" type="java.lang.String"/>
  10893. <param name="arg3" type="org.apache.hadoop.util.Progressable"/>
  10894. <exception name="IOException" type="java.io.IOException"/>
  10895. </method>
  10896. <doc>
  10897. <![CDATA[This class extends the MultipleOutputFormat, allowing to write the output data
  10898. to different output files in sequence file output format.]]>
  10899. </doc>
  10900. </class>
  10901. <!-- end class org.apache.hadoop.mapred.lib.MultipleSequenceFileOutputFormat -->
  10902. <!-- start class org.apache.hadoop.mapred.lib.MultipleTextOutputFormat -->
  10903. <class name="MultipleTextOutputFormat" extends="org.apache.hadoop.mapred.lib.MultipleOutputFormat"
  10904. abstract="false"
  10905. static="false" final="false" visibility="public"
  10906. deprecated="not deprecated">
  10907. <constructor name="MultipleTextOutputFormat"
  10908. static="false" final="false" visibility="public"
  10909. deprecated="not deprecated">
  10910. </constructor>
  10911. <method name="getBaseRecordWriter" return="org.apache.hadoop.mapred.RecordWriter"
  10912. abstract="false" native="false" synchronized="false"
  10913. static="false" final="false" visibility="protected"
  10914. deprecated="not deprecated">
  10915. <param name="fs" type="org.apache.hadoop.fs.FileSystem"/>
  10916. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  10917. <param name="name" type="java.lang.String"/>
  10918. <param name="arg3" type="org.apache.hadoop.util.Progressable"/>
  10919. <exception name="IOException" type="java.io.IOException"/>
  10920. </method>
  10921. <doc>
  10922. <![CDATA[This class extends the MultipleOutputFormat, allowing to write the output
  10923. data to different output files in Text output format.]]>
  10924. </doc>
  10925. </class>
  10926. <!-- end class org.apache.hadoop.mapred.lib.MultipleTextOutputFormat -->
  10927. <!-- start class org.apache.hadoop.mapred.lib.MultithreadedMapRunner -->
  10928. <class name="MultithreadedMapRunner" extends="java.lang.Object"
  10929. abstract="false"
  10930. static="false" final="false" visibility="public"
  10931. deprecated="not deprecated">
  10932. <implements name="org.apache.hadoop.mapred.MapRunnable"/>
  10933. <constructor name="MultithreadedMapRunner"
  10934. static="false" final="false" visibility="public"
  10935. deprecated="not deprecated">
  10936. </constructor>
  10937. <method name="configure"
  10938. abstract="false" native="false" synchronized="false"
  10939. static="false" final="false" visibility="public"
  10940. deprecated="not deprecated">
  10941. <param name="jobConf" type="org.apache.hadoop.mapred.JobConf"/>
  10942. </method>
  10943. <method name="run"
  10944. abstract="false" native="false" synchronized="false"
  10945. static="false" final="false" visibility="public"
  10946. deprecated="not deprecated">
  10947. <param name="input" type="org.apache.hadoop.mapred.RecordReader"/>
  10948. <param name="output" type="org.apache.hadoop.mapred.OutputCollector"/>
  10949. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  10950. <exception name="IOException" type="java.io.IOException"/>
  10951. </method>
  10952. <doc>
  10953. <![CDATA[Multithreaded implementation for @link org.apache.hadoop.mapred.MapRunnable.
  10954. <p>
  10955. It can be used instead of the default implementation,
  10956. @link org.apache.hadoop.mapred.MapRunner, when the Map operation is not CPU
  10957. bound in order to improve throughput.
  10958. <p>
  10959. Map implementations using this MapRunnable must be thread-safe.
  10960. <p>
  10961. The Map-Reduce job has to be configured to use this MapRunnable class (using
  10962. the JobConf.setMapRunnerClass method) and
  10963. the number of thread the thread-pool can use with the
  10964. <code>mapred.map.multithreadedrunner.threads</code> property, its default
  10965. value is 10 threads.
  10966. <p>]]>
  10967. </doc>
  10968. </class>
  10969. <!-- end class org.apache.hadoop.mapred.lib.MultithreadedMapRunner -->
  10970. <!-- start class org.apache.hadoop.mapred.lib.NLineInputFormat -->
  10971. <class name="NLineInputFormat" extends="org.apache.hadoop.mapred.FileInputFormat"
  10972. abstract="false"
  10973. static="false" final="false" visibility="public"
  10974. deprecated="not deprecated">
  10975. <implements name="org.apache.hadoop.mapred.JobConfigurable"/>
  10976. <constructor name="NLineInputFormat"
  10977. static="false" final="false" visibility="public"
  10978. deprecated="not deprecated">
  10979. </constructor>
  10980. <method name="getRecordReader" return="org.apache.hadoop.mapred.RecordReader"
  10981. abstract="false" native="false" synchronized="false"
  10982. static="false" final="false" visibility="public"
  10983. deprecated="not deprecated">
  10984. <param name="genericSplit" type="org.apache.hadoop.mapred.InputSplit"/>
  10985. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  10986. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  10987. <exception name="IOException" type="java.io.IOException"/>
  10988. </method>
  10989. <method name="getSplits" return="org.apache.hadoop.mapred.InputSplit[]"
  10990. abstract="false" native="false" synchronized="false"
  10991. static="false" final="false" visibility="public"
  10992. deprecated="not deprecated">
  10993. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  10994. <param name="numSplits" type="int"/>
  10995. <exception name="IOException" type="java.io.IOException"/>
  10996. <doc>
  10997. <![CDATA[Logically splits the set of input files for the job, splits N lines
  10998. of the input as one split.
  10999. @see org.apache.hadoop.mapred.FileInputFormat#getSplits(JobConf, int)]]>
  11000. </doc>
  11001. </method>
  11002. <method name="configure"
  11003. abstract="false" native="false" synchronized="false"
  11004. static="false" final="false" visibility="public"
  11005. deprecated="not deprecated">
  11006. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  11007. </method>
  11008. <doc>
  11009. <![CDATA[NLineInputFormat which splits N lines of input as one split.
  11010. In many "pleasantly" parallel applications, each process/mapper
  11011. processes the same input file (s), but with computations are
  11012. controlled by different parameters.(Referred to as "parameter sweeps").
  11013. One way to achieve this, is to specify a set of parameters
  11014. (one set per line) as input in a control file
  11015. (which is the input path to the map-reduce application,
  11016. where as the input dataset is specified
  11017. via a config variable in JobConf.).
  11018. The NLineInputFormat can be used in such applications, that splits
  11019. the input file such that by default, one line is fed as
  11020. a value to one map task, and key is the offset.
  11021. i.e. (k,v) is (LongWritable, Text).
  11022. The location hints will span the whole mapred cluster.]]>
  11023. </doc>
  11024. </class>
  11025. <!-- end class org.apache.hadoop.mapred.lib.NLineInputFormat -->
  11026. <!-- start class org.apache.hadoop.mapred.lib.NullOutputFormat -->
  11027. <class name="NullOutputFormat" extends="java.lang.Object"
  11028. abstract="false"
  11029. static="false" final="false" visibility="public"
  11030. deprecated="not deprecated">
  11031. <implements name="org.apache.hadoop.mapred.OutputFormat"/>
  11032. <constructor name="NullOutputFormat"
  11033. static="false" final="false" visibility="public"
  11034. deprecated="not deprecated">
  11035. </constructor>
  11036. <method name="getRecordWriter" return="org.apache.hadoop.mapred.RecordWriter"
  11037. abstract="false" native="false" synchronized="false"
  11038. static="false" final="false" visibility="public"
  11039. deprecated="not deprecated">
  11040. <param name="ignored" type="org.apache.hadoop.fs.FileSystem"/>
  11041. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  11042. <param name="name" type="java.lang.String"/>
  11043. <param name="progress" type="org.apache.hadoop.util.Progressable"/>
  11044. </method>
  11045. <method name="checkOutputSpecs"
  11046. abstract="false" native="false" synchronized="false"
  11047. static="false" final="false" visibility="public"
  11048. deprecated="not deprecated">
  11049. <param name="ignored" type="org.apache.hadoop.fs.FileSystem"/>
  11050. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  11051. </method>
  11052. <doc>
  11053. <![CDATA[Consume all outputs and put them in /dev/null.]]>
  11054. </doc>
  11055. </class>
  11056. <!-- end class org.apache.hadoop.mapred.lib.NullOutputFormat -->
  11057. <!-- start class org.apache.hadoop.mapred.lib.RegexMapper -->
  11058. <class name="RegexMapper" extends="org.apache.hadoop.mapred.MapReduceBase"
  11059. abstract="false"
  11060. static="false" final="false" visibility="public"
  11061. deprecated="not deprecated">
  11062. <implements name="org.apache.hadoop.mapred.Mapper"/>
  11063. <constructor name="RegexMapper"
  11064. static="false" final="false" visibility="public"
  11065. deprecated="not deprecated">
  11066. </constructor>
  11067. <method name="configure"
  11068. abstract="false" native="false" synchronized="false"
  11069. static="false" final="false" visibility="public"
  11070. deprecated="not deprecated">
  11071. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  11072. </method>
  11073. <method name="map"
  11074. abstract="false" native="false" synchronized="false"
  11075. static="false" final="false" visibility="public"
  11076. deprecated="not deprecated">
  11077. <param name="key" type="K"/>
  11078. <param name="value" type="org.apache.hadoop.io.Text"/>
  11079. <param name="output" type="org.apache.hadoop.mapred.OutputCollector"/>
  11080. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  11081. <exception name="IOException" type="java.io.IOException"/>
  11082. </method>
  11083. <doc>
  11084. <![CDATA[A {@link Mapper} that extracts text matching a regular expression.]]>
  11085. </doc>
  11086. </class>
  11087. <!-- end class org.apache.hadoop.mapred.lib.RegexMapper -->
  11088. <!-- start class org.apache.hadoop.mapred.lib.TokenCountMapper -->
  11089. <class name="TokenCountMapper" extends="org.apache.hadoop.mapred.MapReduceBase"
  11090. abstract="false"
  11091. static="false" final="false" visibility="public"
  11092. deprecated="not deprecated">
  11093. <implements name="org.apache.hadoop.mapred.Mapper"/>
  11094. <constructor name="TokenCountMapper"
  11095. static="false" final="false" visibility="public"
  11096. deprecated="not deprecated">
  11097. </constructor>
  11098. <method name="map"
  11099. abstract="false" native="false" synchronized="false"
  11100. static="false" final="false" visibility="public"
  11101. deprecated="not deprecated">
  11102. <param name="key" type="K"/>
  11103. <param name="value" type="org.apache.hadoop.io.Text"/>
  11104. <param name="output" type="org.apache.hadoop.mapred.OutputCollector"/>
  11105. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  11106. <exception name="IOException" type="java.io.IOException"/>
  11107. </method>
  11108. <doc>
  11109. <![CDATA[A {@link Mapper} that maps text values into <token,freq> pairs. Uses
  11110. {@link StringTokenizer} to break text into tokens.]]>
  11111. </doc>
  11112. </class>
  11113. <!-- end class org.apache.hadoop.mapred.lib.TokenCountMapper -->
  11114. <!-- start class org.apache.hadoop.mapred.lib.TotalOrderPartitioner -->
  11115. <class name="TotalOrderPartitioner" extends="org.apache.hadoop.mapreduce.lib.partition.TotalOrderPartitioner"
  11116. abstract="false"
  11117. static="false" final="false" visibility="public"
  11118. deprecated="not deprecated">
  11119. <implements name="org.apache.hadoop.mapred.Partitioner"/>
  11120. <constructor name="TotalOrderPartitioner"
  11121. static="false" final="false" visibility="public"
  11122. deprecated="not deprecated">
  11123. </constructor>
  11124. <method name="configure"
  11125. abstract="false" native="false" synchronized="false"
  11126. static="false" final="false" visibility="public"
  11127. deprecated="not deprecated">
  11128. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  11129. </method>
  11130. <doc>
  11131. <![CDATA[Partitioner effecting a total order by reading split points from
  11132. an externally generated source.]]>
  11133. </doc>
  11134. </class>
  11135. <!-- end class org.apache.hadoop.mapred.lib.TotalOrderPartitioner -->
  11136. </package>
  11137. <package name="org.apache.hadoop.mapred.lib.aggregate">
  11138. <!-- start class org.apache.hadoop.mapred.lib.aggregate.DoubleValueSum -->
  11139. <class name="DoubleValueSum" extends="org.apache.hadoop.mapreduce.lib.aggregate.DoubleValueSum"
  11140. abstract="false"
  11141. static="false" final="false" visibility="public"
  11142. deprecated="not deprecated">
  11143. <implements name="org.apache.hadoop.mapred.lib.aggregate.ValueAggregator"/>
  11144. <constructor name="DoubleValueSum"
  11145. static="false" final="false" visibility="public"
  11146. deprecated="not deprecated">
  11147. </constructor>
  11148. <doc>
  11149. <![CDATA[This class implements a value aggregator that sums up a sequence of double
  11150. values.]]>
  11151. </doc>
  11152. </class>
  11153. <!-- end class org.apache.hadoop.mapred.lib.aggregate.DoubleValueSum -->
  11154. <!-- start class org.apache.hadoop.mapred.lib.aggregate.LongValueMax -->
  11155. <class name="LongValueMax" extends="org.apache.hadoop.mapreduce.lib.aggregate.LongValueMax"
  11156. abstract="false"
  11157. static="false" final="false" visibility="public"
  11158. deprecated="not deprecated">
  11159. <implements name="org.apache.hadoop.mapred.lib.aggregate.ValueAggregator"/>
  11160. <constructor name="LongValueMax"
  11161. static="false" final="false" visibility="public"
  11162. deprecated="not deprecated">
  11163. </constructor>
  11164. <doc>
  11165. <![CDATA[This class implements a value aggregator that maintain the maximum of
  11166. a sequence of long values.]]>
  11167. </doc>
  11168. </class>
  11169. <!-- end class org.apache.hadoop.mapred.lib.aggregate.LongValueMax -->
  11170. <!-- start class org.apache.hadoop.mapred.lib.aggregate.LongValueMin -->
  11171. <class name="LongValueMin" extends="org.apache.hadoop.mapreduce.lib.aggregate.LongValueMin"
  11172. abstract="false"
  11173. static="false" final="false" visibility="public"
  11174. deprecated="not deprecated">
  11175. <implements name="org.apache.hadoop.mapred.lib.aggregate.ValueAggregator"/>
  11176. <constructor name="LongValueMin"
  11177. static="false" final="false" visibility="public"
  11178. deprecated="not deprecated">
  11179. </constructor>
  11180. <doc>
  11181. <![CDATA[This class implements a value aggregator that maintain the minimum of
  11182. a sequence of long values.]]>
  11183. </doc>
  11184. </class>
  11185. <!-- end class org.apache.hadoop.mapred.lib.aggregate.LongValueMin -->
  11186. <!-- start class org.apache.hadoop.mapred.lib.aggregate.LongValueSum -->
  11187. <class name="LongValueSum" extends="org.apache.hadoop.mapreduce.lib.aggregate.LongValueSum"
  11188. abstract="false"
  11189. static="false" final="false" visibility="public"
  11190. deprecated="not deprecated">
  11191. <implements name="org.apache.hadoop.mapred.lib.aggregate.ValueAggregator"/>
  11192. <constructor name="LongValueSum"
  11193. static="false" final="false" visibility="public"
  11194. deprecated="not deprecated">
  11195. </constructor>
  11196. <doc>
  11197. <![CDATA[This class implements a value aggregator that sums up
  11198. a sequence of long values.]]>
  11199. </doc>
  11200. </class>
  11201. <!-- end class org.apache.hadoop.mapred.lib.aggregate.LongValueSum -->
  11202. <!-- start class org.apache.hadoop.mapred.lib.aggregate.StringValueMax -->
  11203. <class name="StringValueMax" extends="org.apache.hadoop.mapreduce.lib.aggregate.StringValueMax"
  11204. abstract="false"
  11205. static="false" final="false" visibility="public"
  11206. deprecated="not deprecated">
  11207. <implements name="org.apache.hadoop.mapred.lib.aggregate.ValueAggregator"/>
  11208. <constructor name="StringValueMax"
  11209. static="false" final="false" visibility="public"
  11210. deprecated="not deprecated">
  11211. </constructor>
  11212. <doc>
  11213. <![CDATA[This class implements a value aggregator that maintain the biggest of
  11214. a sequence of strings.]]>
  11215. </doc>
  11216. </class>
  11217. <!-- end class org.apache.hadoop.mapred.lib.aggregate.StringValueMax -->
  11218. <!-- start class org.apache.hadoop.mapred.lib.aggregate.StringValueMin -->
  11219. <class name="StringValueMin" extends="org.apache.hadoop.mapreduce.lib.aggregate.StringValueMin"
  11220. abstract="false"
  11221. static="false" final="false" visibility="public"
  11222. deprecated="not deprecated">
  11223. <implements name="org.apache.hadoop.mapred.lib.aggregate.ValueAggregator"/>
  11224. <constructor name="StringValueMin"
  11225. static="false" final="false" visibility="public"
  11226. deprecated="not deprecated">
  11227. </constructor>
  11228. <doc>
  11229. <![CDATA[This class implements a value aggregator that maintain the smallest of
  11230. a sequence of strings.]]>
  11231. </doc>
  11232. </class>
  11233. <!-- end class org.apache.hadoop.mapred.lib.aggregate.StringValueMin -->
  11234. <!-- start class org.apache.hadoop.mapred.lib.aggregate.UniqValueCount -->
  11235. <class name="UniqValueCount" extends="org.apache.hadoop.mapreduce.lib.aggregate.UniqValueCount"
  11236. abstract="false"
  11237. static="false" final="false" visibility="public"
  11238. deprecated="not deprecated">
  11239. <implements name="org.apache.hadoop.mapred.lib.aggregate.ValueAggregator"/>
  11240. <constructor name="UniqValueCount"
  11241. static="false" final="false" visibility="public"
  11242. deprecated="not deprecated">
  11243. <doc>
  11244. <![CDATA[the default constructor]]>
  11245. </doc>
  11246. </constructor>
  11247. <constructor name="UniqValueCount" type="long"
  11248. static="false" final="false" visibility="public"
  11249. deprecated="not deprecated">
  11250. <doc>
  11251. <![CDATA[constructor
  11252. @param maxNum the limit in the number of unique values to keep.]]>
  11253. </doc>
  11254. </constructor>
  11255. <doc>
  11256. <![CDATA[This class implements a value aggregator that dedupes a sequence of objects.]]>
  11257. </doc>
  11258. </class>
  11259. <!-- end class org.apache.hadoop.mapred.lib.aggregate.UniqValueCount -->
  11260. <!-- start class org.apache.hadoop.mapred.lib.aggregate.UserDefinedValueAggregatorDescriptor -->
  11261. <class name="UserDefinedValueAggregatorDescriptor" extends="org.apache.hadoop.mapreduce.lib.aggregate.UserDefinedValueAggregatorDescriptor"
  11262. abstract="false"
  11263. static="false" final="false" visibility="public"
  11264. deprecated="not deprecated">
  11265. <implements name="org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorDescriptor"/>
  11266. <constructor name="UserDefinedValueAggregatorDescriptor" type="java.lang.String, org.apache.hadoop.mapred.JobConf"
  11267. static="false" final="false" visibility="public"
  11268. deprecated="not deprecated">
  11269. <doc>
  11270. <![CDATA[@param className the class name of the user defined descriptor class
  11271. @param job a configure object used for decriptor configuration]]>
  11272. </doc>
  11273. </constructor>
  11274. <method name="createInstance" return="java.lang.Object"
  11275. abstract="false" native="false" synchronized="false"
  11276. static="true" final="false" visibility="public"
  11277. deprecated="not deprecated">
  11278. <param name="className" type="java.lang.String"/>
  11279. <doc>
  11280. <![CDATA[Create an instance of the given class
  11281. @param className the name of the class
  11282. @return a dynamically created instance of the given class]]>
  11283. </doc>
  11284. </method>
  11285. <method name="configure"
  11286. abstract="false" native="false" synchronized="false"
  11287. static="false" final="false" visibility="public"
  11288. deprecated="not deprecated">
  11289. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  11290. <doc>
  11291. <![CDATA[Do nothing.]]>
  11292. </doc>
  11293. </method>
  11294. <doc>
  11295. <![CDATA[This class implements a wrapper for a user defined value aggregator descriptor.
  11296. It servs two functions: One is to create an object of ValueAggregatorDescriptor from the
  11297. name of a user defined class that may be dynamically loaded. The other is to
  11298. deligate inviokations of generateKeyValPairs function to the created object.]]>
  11299. </doc>
  11300. </class>
  11301. <!-- end class org.apache.hadoop.mapred.lib.aggregate.UserDefinedValueAggregatorDescriptor -->
  11302. <!-- start interface org.apache.hadoop.mapred.lib.aggregate.ValueAggregator -->
  11303. <interface name="ValueAggregator" abstract="true"
  11304. static="false" final="false" visibility="public"
  11305. deprecated="not deprecated">
  11306. <implements name="org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregator"/>
  11307. <doc>
  11308. <![CDATA[This interface defines the minimal protocol for value aggregators.]]>
  11309. </doc>
  11310. </interface>
  11311. <!-- end interface org.apache.hadoop.mapred.lib.aggregate.ValueAggregator -->
  11312. <!-- start class org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorBaseDescriptor -->
  11313. <class name="ValueAggregatorBaseDescriptor" extends="org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorBaseDescriptor"
  11314. abstract="false"
  11315. static="false" final="false" visibility="public"
  11316. deprecated="not deprecated">
  11317. <implements name="org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorDescriptor"/>
  11318. <constructor name="ValueAggregatorBaseDescriptor"
  11319. static="false" final="false" visibility="public"
  11320. deprecated="not deprecated">
  11321. </constructor>
  11322. <method name="generateEntry" return="java.util.Map.Entry"
  11323. abstract="false" native="false" synchronized="false"
  11324. static="true" final="false" visibility="public"
  11325. deprecated="not deprecated">
  11326. <param name="type" type="java.lang.String"/>
  11327. <param name="id" type="java.lang.String"/>
  11328. <param name="val" type="org.apache.hadoop.io.Text"/>
  11329. <doc>
  11330. <![CDATA[@param type the aggregation type
  11331. @param id the aggregation id
  11332. @param val the val associated with the id to be aggregated
  11333. @return an Entry whose key is the aggregation id prefixed with
  11334. the aggregation type.]]>
  11335. </doc>
  11336. </method>
  11337. <method name="generateValueAggregator" return="org.apache.hadoop.mapred.lib.aggregate.ValueAggregator"
  11338. abstract="false" native="false" synchronized="false"
  11339. static="true" final="false" visibility="public"
  11340. deprecated="not deprecated">
  11341. <param name="type" type="java.lang.String"/>
  11342. <doc>
  11343. <![CDATA[@param type the aggregation type
  11344. @return a value aggregator of the given type.]]>
  11345. </doc>
  11346. </method>
  11347. <method name="configure"
  11348. abstract="false" native="false" synchronized="false"
  11349. static="false" final="false" visibility="public"
  11350. deprecated="not deprecated">
  11351. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  11352. <doc>
  11353. <![CDATA[get the input file name.
  11354. @param job a job configuration object]]>
  11355. </doc>
  11356. </method>
  11357. <field name="UNIQ_VALUE_COUNT" type="java.lang.String"
  11358. transient="false" volatile="false"
  11359. static="true" final="true" visibility="public"
  11360. deprecated="not deprecated">
  11361. </field>
  11362. <field name="LONG_VALUE_SUM" type="java.lang.String"
  11363. transient="false" volatile="false"
  11364. static="true" final="true" visibility="public"
  11365. deprecated="not deprecated">
  11366. </field>
  11367. <field name="DOUBLE_VALUE_SUM" type="java.lang.String"
  11368. transient="false" volatile="false"
  11369. static="true" final="true" visibility="public"
  11370. deprecated="not deprecated">
  11371. </field>
  11372. <field name="VALUE_HISTOGRAM" type="java.lang.String"
  11373. transient="false" volatile="false"
  11374. static="true" final="true" visibility="public"
  11375. deprecated="not deprecated">
  11376. </field>
  11377. <field name="LONG_VALUE_MAX" type="java.lang.String"
  11378. transient="false" volatile="false"
  11379. static="true" final="true" visibility="public"
  11380. deprecated="not deprecated">
  11381. </field>
  11382. <field name="LONG_VALUE_MIN" type="java.lang.String"
  11383. transient="false" volatile="false"
  11384. static="true" final="true" visibility="public"
  11385. deprecated="not deprecated">
  11386. </field>
  11387. <field name="STRING_VALUE_MAX" type="java.lang.String"
  11388. transient="false" volatile="false"
  11389. static="true" final="true" visibility="public"
  11390. deprecated="not deprecated">
  11391. </field>
  11392. <field name="STRING_VALUE_MIN" type="java.lang.String"
  11393. transient="false" volatile="false"
  11394. static="true" final="true" visibility="public"
  11395. deprecated="not deprecated">
  11396. </field>
  11397. <doc>
  11398. <![CDATA[This class implements the common functionalities of
  11399. the subclasses of ValueAggregatorDescriptor class.]]>
  11400. </doc>
  11401. </class>
  11402. <!-- end class org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorBaseDescriptor -->
  11403. <!-- start class org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorCombiner -->
  11404. <class name="ValueAggregatorCombiner" extends="org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorJobBase"
  11405. abstract="false"
  11406. static="false" final="false" visibility="public"
  11407. deprecated="not deprecated">
  11408. <constructor name="ValueAggregatorCombiner"
  11409. static="false" final="false" visibility="public"
  11410. deprecated="not deprecated">
  11411. </constructor>
  11412. <method name="configure"
  11413. abstract="false" native="false" synchronized="false"
  11414. static="false" final="false" visibility="public"
  11415. deprecated="not deprecated">
  11416. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  11417. <doc>
  11418. <![CDATA[Combiner does not need to configure.]]>
  11419. </doc>
  11420. </method>
  11421. <method name="reduce"
  11422. abstract="false" native="false" synchronized="false"
  11423. static="false" final="false" visibility="public"
  11424. deprecated="not deprecated">
  11425. <param name="key" type="org.apache.hadoop.io.Text"/>
  11426. <param name="values" type="java.util.Iterator"/>
  11427. <param name="output" type="org.apache.hadoop.mapred.OutputCollector"/>
  11428. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  11429. <exception name="IOException" type="java.io.IOException"/>
  11430. <doc>
  11431. <![CDATA[Combines values for a given key.
  11432. @param key the key is expected to be a Text object, whose prefix indicates
  11433. the type of aggregation to aggregate the values.
  11434. @param values the values to combine
  11435. @param output to collect combined values]]>
  11436. </doc>
  11437. </method>
  11438. <method name="close"
  11439. abstract="false" native="false" synchronized="false"
  11440. static="false" final="false" visibility="public"
  11441. deprecated="not deprecated">
  11442. <exception name="IOException" type="java.io.IOException"/>
  11443. <doc>
  11444. <![CDATA[Do nothing.]]>
  11445. </doc>
  11446. </method>
  11447. <method name="map"
  11448. abstract="false" native="false" synchronized="false"
  11449. static="false" final="false" visibility="public"
  11450. deprecated="not deprecated">
  11451. <param name="arg0" type="K1"/>
  11452. <param name="arg1" type="V1"/>
  11453. <param name="arg2" type="org.apache.hadoop.mapred.OutputCollector"/>
  11454. <param name="arg3" type="org.apache.hadoop.mapred.Reporter"/>
  11455. <exception name="IOException" type="java.io.IOException"/>
  11456. <doc>
  11457. <![CDATA[Do nothing. Should not be called.]]>
  11458. </doc>
  11459. </method>
  11460. <doc>
  11461. <![CDATA[This class implements the generic combiner of Aggregate.]]>
  11462. </doc>
  11463. </class>
  11464. <!-- end class org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorCombiner -->
  11465. <!-- start interface org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorDescriptor -->
  11466. <interface name="ValueAggregatorDescriptor" abstract="true"
  11467. static="false" final="false" visibility="public"
  11468. deprecated="not deprecated">
  11469. <implements name="org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorDescriptor"/>
  11470. <method name="configure"
  11471. abstract="false" native="false" synchronized="false"
  11472. static="false" final="false" visibility="public"
  11473. deprecated="not deprecated">
  11474. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  11475. <doc>
  11476. <![CDATA[Configure the object
  11477. @param job
  11478. a JobConf object that may contain the information that can be used
  11479. to configure the object.]]>
  11480. </doc>
  11481. </method>
  11482. <field name="TYPE_SEPARATOR" type="java.lang.String"
  11483. transient="false" volatile="false"
  11484. static="true" final="true" visibility="public"
  11485. deprecated="not deprecated">
  11486. </field>
  11487. <field name="ONE" type="org.apache.hadoop.io.Text"
  11488. transient="false" volatile="false"
  11489. static="true" final="true" visibility="public"
  11490. deprecated="not deprecated">
  11491. </field>
  11492. <doc>
  11493. <![CDATA[This interface defines the contract a value aggregator descriptor must
  11494. support. Such a descriptor can be configured with a JobConf object. Its main
  11495. function is to generate a list of aggregation-id/value pairs. An aggregation
  11496. id encodes an aggregation type which is used to guide the way to aggregate
  11497. the value in the reduce/combiner phrase of an Aggregate based job.The mapper in
  11498. an Aggregate based map/reduce job may create one or more of
  11499. ValueAggregatorDescriptor objects at configuration time. For each input
  11500. key/value pair, the mapper will use those objects to create aggregation
  11501. id/value pairs.]]>
  11502. </doc>
  11503. </interface>
  11504. <!-- end interface org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorDescriptor -->
  11505. <!-- start class org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorJob -->
  11506. <class name="ValueAggregatorJob" extends="java.lang.Object"
  11507. abstract="false"
  11508. static="false" final="false" visibility="public"
  11509. deprecated="not deprecated">
  11510. <constructor name="ValueAggregatorJob"
  11511. static="false" final="false" visibility="public"
  11512. deprecated="not deprecated">
  11513. </constructor>
  11514. <method name="createValueAggregatorJobs" return="org.apache.hadoop.mapred.jobcontrol.JobControl"
  11515. abstract="false" native="false" synchronized="false"
  11516. static="true" final="false" visibility="public"
  11517. deprecated="not deprecated">
  11518. <param name="args" type="java.lang.String[]"/>
  11519. <param name="descriptors" type="java.lang.Class[]"/>
  11520. <exception name="IOException" type="java.io.IOException"/>
  11521. </method>
  11522. <method name="createValueAggregatorJobs" return="org.apache.hadoop.mapred.jobcontrol.JobControl"
  11523. abstract="false" native="false" synchronized="false"
  11524. static="true" final="false" visibility="public"
  11525. deprecated="not deprecated">
  11526. <param name="args" type="java.lang.String[]"/>
  11527. <exception name="IOException" type="java.io.IOException"/>
  11528. </method>
  11529. <method name="createValueAggregatorJob" return="org.apache.hadoop.mapred.JobConf"
  11530. abstract="false" native="false" synchronized="false"
  11531. static="true" final="false" visibility="public"
  11532. deprecated="not deprecated">
  11533. <param name="args" type="java.lang.String[]"/>
  11534. <exception name="IOException" type="java.io.IOException"/>
  11535. <doc>
  11536. <![CDATA[Create an Aggregate based map/reduce job.
  11537. @param args the arguments used for job creation. Generic hadoop
  11538. arguments are accepted.
  11539. @return a JobConf object ready for submission.
  11540. @throws IOException
  11541. @see GenericOptionsParser]]>
  11542. </doc>
  11543. </method>
  11544. <method name="createValueAggregatorJob" return="org.apache.hadoop.mapred.JobConf"
  11545. abstract="false" native="false" synchronized="false"
  11546. static="true" final="false" visibility="public"
  11547. deprecated="not deprecated">
  11548. <param name="args" type="java.lang.String[]"/>
  11549. <param name="descriptors" type="java.lang.Class[]"/>
  11550. <exception name="IOException" type="java.io.IOException"/>
  11551. </method>
  11552. <method name="setAggregatorDescriptors"
  11553. abstract="false" native="false" synchronized="false"
  11554. static="true" final="false" visibility="public"
  11555. deprecated="not deprecated">
  11556. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  11557. <param name="descriptors" type="java.lang.Class[]"/>
  11558. </method>
  11559. <method name="main"
  11560. abstract="false" native="false" synchronized="false"
  11561. static="true" final="false" visibility="public"
  11562. deprecated="not deprecated">
  11563. <param name="args" type="java.lang.String[]"/>
  11564. <exception name="IOException" type="java.io.IOException"/>
  11565. <doc>
  11566. <![CDATA[create and run an Aggregate based map/reduce job.
  11567. @param args the arguments used for job creation
  11568. @throws IOException]]>
  11569. </doc>
  11570. </method>
  11571. <doc>
  11572. <![CDATA[This is the main class for creating a map/reduce job using Aggregate
  11573. framework. The Aggregate is a specialization of map/reduce framework,
  11574. specilizing for performing various simple aggregations.
  11575. Generally speaking, in order to implement an application using Map/Reduce
  11576. model, the developer is to implement Map and Reduce functions (and possibly
  11577. combine function). However, a lot of applications related to counting and
  11578. statistics computing have very similar characteristics. Aggregate abstracts
  11579. out the general patterns of these functions and implementing those patterns.
  11580. In particular, the package provides generic mapper/redducer/combiner classes,
  11581. and a set of built-in value aggregators, and a generic utility class that
  11582. helps user create map/reduce jobs using the generic class. The built-in
  11583. aggregators include:
  11584. sum over numeric values count the number of distinct values compute the
  11585. histogram of values compute the minimum, maximum, media,average, standard
  11586. deviation of numeric values
  11587. The developer using Aggregate will need only to provide a plugin class
  11588. conforming to the following interface:
  11589. public interface ValueAggregatorDescriptor { public ArrayList<Entry>
  11590. generateKeyValPairs(Object key, Object value); public void
  11591. configure(JobConfjob); }
  11592. The package also provides a base class, ValueAggregatorBaseDescriptor,
  11593. implementing the above interface. The user can extend the base class and
  11594. implement generateKeyValPairs accordingly.
  11595. The primary work of generateKeyValPairs is to emit one or more key/value
  11596. pairs based on the input key/value pair. The key in an output key/value pair
  11597. encode two pieces of information: aggregation type and aggregation id. The
  11598. value will be aggregated onto the aggregation id according the aggregation
  11599. type.
  11600. This class offers a function to generate a map/reduce job using Aggregate
  11601. framework. The function takes the following parameters: input directory spec
  11602. input format (text or sequence file) output directory a file specifying the
  11603. user plugin class]]>
  11604. </doc>
  11605. </class>
  11606. <!-- end class org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorJob -->
  11607. <!-- start class org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorJobBase -->
  11608. <class name="ValueAggregatorJobBase" extends="java.lang.Object"
  11609. abstract="true"
  11610. static="false" final="false" visibility="public"
  11611. deprecated="not deprecated">
  11612. <implements name="org.apache.hadoop.mapred.Mapper"/>
  11613. <implements name="org.apache.hadoop.mapred.Reducer"/>
  11614. <constructor name="ValueAggregatorJobBase"
  11615. static="false" final="false" visibility="public"
  11616. deprecated="not deprecated">
  11617. </constructor>
  11618. <method name="configure"
  11619. abstract="false" native="false" synchronized="false"
  11620. static="false" final="false" visibility="public"
  11621. deprecated="not deprecated">
  11622. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  11623. </method>
  11624. <method name="logSpec"
  11625. abstract="false" native="false" synchronized="false"
  11626. static="false" final="false" visibility="protected"
  11627. deprecated="not deprecated">
  11628. </method>
  11629. <method name="close"
  11630. abstract="false" native="false" synchronized="false"
  11631. static="false" final="false" visibility="public"
  11632. deprecated="not deprecated">
  11633. <exception name="IOException" type="java.io.IOException"/>
  11634. </method>
  11635. <field name="aggregatorDescriptorList" type="java.util.ArrayList"
  11636. transient="false" volatile="false"
  11637. static="false" final="false" visibility="protected"
  11638. deprecated="not deprecated">
  11639. </field>
  11640. <doc>
  11641. <![CDATA[This abstract class implements some common functionalities of the
  11642. the generic mapper, reducer and combiner classes of Aggregate.]]>
  11643. </doc>
  11644. </class>
  11645. <!-- end class org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorJobBase -->
  11646. <!-- start class org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorMapper -->
  11647. <class name="ValueAggregatorMapper" extends="org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorJobBase"
  11648. abstract="false"
  11649. static="false" final="false" visibility="public"
  11650. deprecated="not deprecated">
  11651. <constructor name="ValueAggregatorMapper"
  11652. static="false" final="false" visibility="public"
  11653. deprecated="not deprecated">
  11654. </constructor>
  11655. <method name="map"
  11656. abstract="false" native="false" synchronized="false"
  11657. static="false" final="false" visibility="public"
  11658. deprecated="not deprecated">
  11659. <param name="key" type="K1"/>
  11660. <param name="value" type="V1"/>
  11661. <param name="output" type="org.apache.hadoop.mapred.OutputCollector"/>
  11662. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  11663. <exception name="IOException" type="java.io.IOException"/>
  11664. <doc>
  11665. <![CDATA[the map function. It iterates through the value aggregator descriptor
  11666. list to generate aggregation id/value pairs and emit them.]]>
  11667. </doc>
  11668. </method>
  11669. <method name="reduce"
  11670. abstract="false" native="false" synchronized="false"
  11671. static="false" final="false" visibility="public"
  11672. deprecated="not deprecated">
  11673. <param name="arg0" type="org.apache.hadoop.io.Text"/>
  11674. <param name="arg1" type="java.util.Iterator"/>
  11675. <param name="arg2" type="org.apache.hadoop.mapred.OutputCollector"/>
  11676. <param name="arg3" type="org.apache.hadoop.mapred.Reporter"/>
  11677. <exception name="IOException" type="java.io.IOException"/>
  11678. <doc>
  11679. <![CDATA[Do nothing. Should not be called.]]>
  11680. </doc>
  11681. </method>
  11682. <doc>
  11683. <![CDATA[This class implements the generic mapper of Aggregate.]]>
  11684. </doc>
  11685. </class>
  11686. <!-- end class org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorMapper -->
  11687. <!-- start class org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorReducer -->
  11688. <class name="ValueAggregatorReducer" extends="org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorJobBase"
  11689. abstract="false"
  11690. static="false" final="false" visibility="public"
  11691. deprecated="not deprecated">
  11692. <constructor name="ValueAggregatorReducer"
  11693. static="false" final="false" visibility="public"
  11694. deprecated="not deprecated">
  11695. </constructor>
  11696. <method name="reduce"
  11697. abstract="false" native="false" synchronized="false"
  11698. static="false" final="false" visibility="public"
  11699. deprecated="not deprecated">
  11700. <param name="key" type="org.apache.hadoop.io.Text"/>
  11701. <param name="values" type="java.util.Iterator"/>
  11702. <param name="output" type="org.apache.hadoop.mapred.OutputCollector"/>
  11703. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  11704. <exception name="IOException" type="java.io.IOException"/>
  11705. <doc>
  11706. <![CDATA[@param key
  11707. the key is expected to be a Text object, whose prefix indicates
  11708. the type of aggregation to aggregate the values. In effect, data
  11709. driven computing is achieved. It is assumed that each aggregator's
  11710. getReport method emits appropriate output for the aggregator. This
  11711. may be further customiized.
  11712. @value the values to be aggregated]]>
  11713. </doc>
  11714. </method>
  11715. <method name="map"
  11716. abstract="false" native="false" synchronized="false"
  11717. static="false" final="false" visibility="public"
  11718. deprecated="not deprecated">
  11719. <param name="arg0" type="K1"/>
  11720. <param name="arg1" type="V1"/>
  11721. <param name="arg2" type="org.apache.hadoop.mapred.OutputCollector"/>
  11722. <param name="arg3" type="org.apache.hadoop.mapred.Reporter"/>
  11723. <exception name="IOException" type="java.io.IOException"/>
  11724. <doc>
  11725. <![CDATA[Do nothing. Should not be called]]>
  11726. </doc>
  11727. </method>
  11728. <doc>
  11729. <![CDATA[This class implements the generic reducer of Aggregate.]]>
  11730. </doc>
  11731. </class>
  11732. <!-- end class org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorReducer -->
  11733. <!-- start class org.apache.hadoop.mapred.lib.aggregate.ValueHistogram -->
  11734. <class name="ValueHistogram" extends="org.apache.hadoop.mapreduce.lib.aggregate.ValueHistogram"
  11735. abstract="false"
  11736. static="false" final="false" visibility="public"
  11737. deprecated="not deprecated">
  11738. <implements name="org.apache.hadoop.mapred.lib.aggregate.ValueAggregator"/>
  11739. <constructor name="ValueHistogram"
  11740. static="false" final="false" visibility="public"
  11741. deprecated="not deprecated">
  11742. </constructor>
  11743. <doc>
  11744. <![CDATA[This class implements a value aggregator that computes the
  11745. histogram of a sequence of strings.]]>
  11746. </doc>
  11747. </class>
  11748. <!-- end class org.apache.hadoop.mapred.lib.aggregate.ValueHistogram -->
  11749. </package>
  11750. <package name="org.apache.hadoop.mapred.lib.db">
  11751. <!-- start class org.apache.hadoop.mapred.lib.db.DBConfiguration -->
  11752. <class name="DBConfiguration" extends="org.apache.hadoop.mapreduce.lib.db.DBConfiguration"
  11753. abstract="false"
  11754. static="false" final="false" visibility="public"
  11755. deprecated="not deprecated">
  11756. <method name="configureDB"
  11757. abstract="false" native="false" synchronized="false"
  11758. static="true" final="false" visibility="public"
  11759. deprecated="not deprecated">
  11760. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  11761. <param name="driverClass" type="java.lang.String"/>
  11762. <param name="dbUrl" type="java.lang.String"/>
  11763. <param name="userName" type="java.lang.String"/>
  11764. <param name="passwd" type="java.lang.String"/>
  11765. <doc>
  11766. <![CDATA[Sets the DB access related fields in the JobConf.
  11767. @param job the job
  11768. @param driverClass JDBC Driver class name
  11769. @param dbUrl JDBC DB access URL.
  11770. @param userName DB access username
  11771. @param passwd DB access passwd]]>
  11772. </doc>
  11773. </method>
  11774. <method name="configureDB"
  11775. abstract="false" native="false" synchronized="false"
  11776. static="true" final="false" visibility="public"
  11777. deprecated="not deprecated">
  11778. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  11779. <param name="driverClass" type="java.lang.String"/>
  11780. <param name="dbUrl" type="java.lang.String"/>
  11781. <doc>
  11782. <![CDATA[Sets the DB access related fields in the JobConf.
  11783. @param job the job
  11784. @param driverClass JDBC Driver class name
  11785. @param dbUrl JDBC DB access URL.]]>
  11786. </doc>
  11787. </method>
  11788. <field name="DRIVER_CLASS_PROPERTY" type="java.lang.String"
  11789. transient="false" volatile="false"
  11790. static="true" final="true" visibility="public"
  11791. deprecated="not deprecated">
  11792. <doc>
  11793. <![CDATA[The JDBC Driver class name]]>
  11794. </doc>
  11795. </field>
  11796. <field name="URL_PROPERTY" type="java.lang.String"
  11797. transient="false" volatile="false"
  11798. static="true" final="true" visibility="public"
  11799. deprecated="not deprecated">
  11800. <doc>
  11801. <![CDATA[JDBC Database access URL]]>
  11802. </doc>
  11803. </field>
  11804. <field name="USERNAME_PROPERTY" type="java.lang.String"
  11805. transient="false" volatile="false"
  11806. static="true" final="true" visibility="public"
  11807. deprecated="not deprecated">
  11808. <doc>
  11809. <![CDATA[User name to access the database]]>
  11810. </doc>
  11811. </field>
  11812. <field name="PASSWORD_PROPERTY" type="java.lang.String"
  11813. transient="false" volatile="false"
  11814. static="true" final="true" visibility="public"
  11815. deprecated="not deprecated">
  11816. <doc>
  11817. <![CDATA[Password to access the database]]>
  11818. </doc>
  11819. </field>
  11820. <field name="INPUT_TABLE_NAME_PROPERTY" type="java.lang.String"
  11821. transient="false" volatile="false"
  11822. static="true" final="true" visibility="public"
  11823. deprecated="not deprecated">
  11824. <doc>
  11825. <![CDATA[Input table name]]>
  11826. </doc>
  11827. </field>
  11828. <field name="INPUT_FIELD_NAMES_PROPERTY" type="java.lang.String"
  11829. transient="false" volatile="false"
  11830. static="true" final="true" visibility="public"
  11831. deprecated="not deprecated">
  11832. <doc>
  11833. <![CDATA[Field names in the Input table]]>
  11834. </doc>
  11835. </field>
  11836. <field name="INPUT_CONDITIONS_PROPERTY" type="java.lang.String"
  11837. transient="false" volatile="false"
  11838. static="true" final="true" visibility="public"
  11839. deprecated="not deprecated">
  11840. <doc>
  11841. <![CDATA[WHERE clause in the input SELECT statement]]>
  11842. </doc>
  11843. </field>
  11844. <field name="INPUT_ORDER_BY_PROPERTY" type="java.lang.String"
  11845. transient="false" volatile="false"
  11846. static="true" final="true" visibility="public"
  11847. deprecated="not deprecated">
  11848. <doc>
  11849. <![CDATA[ORDER BY clause in the input SELECT statement]]>
  11850. </doc>
  11851. </field>
  11852. <field name="INPUT_QUERY" type="java.lang.String"
  11853. transient="false" volatile="false"
  11854. static="true" final="true" visibility="public"
  11855. deprecated="not deprecated">
  11856. <doc>
  11857. <![CDATA[Whole input query, exluding LIMIT...OFFSET]]>
  11858. </doc>
  11859. </field>
  11860. <field name="INPUT_COUNT_QUERY" type="java.lang.String"
  11861. transient="false" volatile="false"
  11862. static="true" final="true" visibility="public"
  11863. deprecated="not deprecated">
  11864. <doc>
  11865. <![CDATA[Input query to get the count of records]]>
  11866. </doc>
  11867. </field>
  11868. <field name="INPUT_CLASS_PROPERTY" type="java.lang.String"
  11869. transient="false" volatile="false"
  11870. static="true" final="true" visibility="public"
  11871. deprecated="not deprecated">
  11872. <doc>
  11873. <![CDATA[Class name implementing DBWritable which will hold input tuples]]>
  11874. </doc>
  11875. </field>
  11876. <field name="OUTPUT_TABLE_NAME_PROPERTY" type="java.lang.String"
  11877. transient="false" volatile="false"
  11878. static="true" final="true" visibility="public"
  11879. deprecated="not deprecated">
  11880. <doc>
  11881. <![CDATA[Output table name]]>
  11882. </doc>
  11883. </field>
  11884. <field name="OUTPUT_FIELD_NAMES_PROPERTY" type="java.lang.String"
  11885. transient="false" volatile="false"
  11886. static="true" final="true" visibility="public"
  11887. deprecated="not deprecated">
  11888. <doc>
  11889. <![CDATA[Field names in the Output table]]>
  11890. </doc>
  11891. </field>
  11892. <field name="OUTPUT_FIELD_COUNT_PROPERTY" type="java.lang.String"
  11893. transient="false" volatile="false"
  11894. static="true" final="true" visibility="public"
  11895. deprecated="not deprecated">
  11896. <doc>
  11897. <![CDATA[Number of fields in the Output table]]>
  11898. </doc>
  11899. </field>
  11900. </class>
  11901. <!-- end class org.apache.hadoop.mapred.lib.db.DBConfiguration -->
  11902. <!-- start class org.apache.hadoop.mapred.lib.db.DBInputFormat -->
  11903. <class name="DBInputFormat" extends="org.apache.hadoop.mapreduce.lib.db.DBInputFormat"
  11904. abstract="false"
  11905. static="false" final="false" visibility="public"
  11906. deprecated="not deprecated">
  11907. <implements name="org.apache.hadoop.mapred.InputFormat"/>
  11908. <implements name="org.apache.hadoop.mapred.JobConfigurable"/>
  11909. <constructor name="DBInputFormat"
  11910. static="false" final="false" visibility="public"
  11911. deprecated="not deprecated">
  11912. </constructor>
  11913. <method name="configure"
  11914. abstract="false" native="false" synchronized="false"
  11915. static="false" final="false" visibility="public"
  11916. deprecated="not deprecated">
  11917. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  11918. <doc>
  11919. <![CDATA[{@inheritDoc}]]>
  11920. </doc>
  11921. </method>
  11922. <method name="getRecordReader" return="org.apache.hadoop.mapred.RecordReader"
  11923. abstract="false" native="false" synchronized="false"
  11924. static="false" final="false" visibility="public"
  11925. deprecated="not deprecated">
  11926. <param name="split" type="org.apache.hadoop.mapred.InputSplit"/>
  11927. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  11928. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  11929. <exception name="IOException" type="java.io.IOException"/>
  11930. <doc>
  11931. <![CDATA[{@inheritDoc}]]>
  11932. </doc>
  11933. </method>
  11934. <method name="getSplits" return="org.apache.hadoop.mapred.InputSplit[]"
  11935. abstract="false" native="false" synchronized="false"
  11936. static="false" final="false" visibility="public"
  11937. deprecated="not deprecated">
  11938. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  11939. <param name="chunks" type="int"/>
  11940. <exception name="IOException" type="java.io.IOException"/>
  11941. <doc>
  11942. <![CDATA[{@inheritDoc}]]>
  11943. </doc>
  11944. </method>
  11945. <method name="setInput"
  11946. abstract="false" native="false" synchronized="false"
  11947. static="true" final="false" visibility="public"
  11948. deprecated="not deprecated">
  11949. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  11950. <param name="inputClass" type="java.lang.Class"/>
  11951. <param name="tableName" type="java.lang.String"/>
  11952. <param name="conditions" type="java.lang.String"/>
  11953. <param name="orderBy" type="java.lang.String"/>
  11954. <param name="fieldNames" type="java.lang.String[]"/>
  11955. <doc>
  11956. <![CDATA[Initializes the map-part of the job with the appropriate input settings.
  11957. @param job The job
  11958. @param inputClass the class object implementing DBWritable, which is the
  11959. Java object holding tuple fields.
  11960. @param tableName The table to read data from
  11961. @param conditions The condition which to select data with, eg. '(updated >
  11962. 20070101 AND length > 0)'
  11963. @param orderBy the fieldNames in the orderBy clause.
  11964. @param fieldNames The field names in the table
  11965. @see #setInput(JobConf, Class, String, String)]]>
  11966. </doc>
  11967. </method>
  11968. <method name="setInput"
  11969. abstract="false" native="false" synchronized="false"
  11970. static="true" final="false" visibility="public"
  11971. deprecated="not deprecated">
  11972. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  11973. <param name="inputClass" type="java.lang.Class"/>
  11974. <param name="inputQuery" type="java.lang.String"/>
  11975. <param name="inputCountQuery" type="java.lang.String"/>
  11976. <doc>
  11977. <![CDATA[Initializes the map-part of the job with the appropriate input settings.
  11978. @param job The job
  11979. @param inputClass the class object implementing DBWritable, which is the
  11980. Java object holding tuple fields.
  11981. @param inputQuery the input query to select fields. Example :
  11982. "SELECT f1, f2, f3 FROM Mytable ORDER BY f1"
  11983. @param inputCountQuery the input query that returns the number of records in
  11984. the table.
  11985. Example : "SELECT COUNT(f1) FROM Mytable"
  11986. @see #setInput(JobConf, Class, String, String, String, String...)]]>
  11987. </doc>
  11988. </method>
  11989. </class>
  11990. <!-- end class org.apache.hadoop.mapred.lib.db.DBInputFormat -->
  11991. <!-- start class org.apache.hadoop.mapred.lib.db.DBInputFormat.DBInputSplit -->
  11992. <class name="DBInputFormat.DBInputSplit" extends="org.apache.hadoop.mapreduce.lib.db.DBInputFormat.DBInputSplit"
  11993. abstract="false"
  11994. static="true" final="false" visibility="protected"
  11995. deprecated="not deprecated">
  11996. <implements name="org.apache.hadoop.mapred.InputSplit"/>
  11997. <constructor name="DBInputFormat.DBInputSplit"
  11998. static="false" final="false" visibility="public"
  11999. deprecated="not deprecated">
  12000. <doc>
  12001. <![CDATA[Default Constructor]]>
  12002. </doc>
  12003. </constructor>
  12004. <constructor name="DBInputFormat.DBInputSplit" type="long, long"
  12005. static="false" final="false" visibility="public"
  12006. deprecated="not deprecated">
  12007. <doc>
  12008. <![CDATA[Convenience Constructor
  12009. @param start the index of the first row to select
  12010. @param end the index of the last row to select]]>
  12011. </doc>
  12012. </constructor>
  12013. <doc>
  12014. <![CDATA[A InputSplit that spans a set of rows]]>
  12015. </doc>
  12016. </class>
  12017. <!-- end class org.apache.hadoop.mapred.lib.db.DBInputFormat.DBInputSplit -->
  12018. <!-- start class org.apache.hadoop.mapred.lib.db.DBInputFormat.DBRecordReader -->
  12019. <class name="DBInputFormat.DBRecordReader" extends="org.apache.hadoop.mapreduce.lib.db.DBRecordReader"
  12020. abstract="false"
  12021. static="false" final="false" visibility="protected"
  12022. deprecated="not deprecated">
  12023. <implements name="org.apache.hadoop.mapred.RecordReader"/>
  12024. <constructor name="DBInputFormat.DBRecordReader" type="org.apache.hadoop.mapred.lib.db.DBInputFormat.DBInputSplit, java.lang.Class, org.apache.hadoop.mapred.JobConf, java.sql.Connection, org.apache.hadoop.mapred.lib.db.DBConfiguration, java.lang.String, java.lang.String[], java.lang.String"
  12025. static="false" final="false" visibility="protected"
  12026. deprecated="not deprecated">
  12027. <exception name="SQLException" type="java.sql.SQLException"/>
  12028. <doc>
  12029. <![CDATA[@param split The InputSplit to read data for
  12030. @throws SQLException]]>
  12031. </doc>
  12032. </constructor>
  12033. <method name="createKey" return="org.apache.hadoop.io.LongWritable"
  12034. abstract="false" native="false" synchronized="false"
  12035. static="false" final="false" visibility="public"
  12036. deprecated="not deprecated">
  12037. <doc>
  12038. <![CDATA[{@inheritDoc}]]>
  12039. </doc>
  12040. </method>
  12041. <method name="createValue" return="T"
  12042. abstract="false" native="false" synchronized="false"
  12043. static="false" final="false" visibility="public"
  12044. deprecated="not deprecated">
  12045. <doc>
  12046. <![CDATA[{@inheritDoc}]]>
  12047. </doc>
  12048. </method>
  12049. <method name="getPos" return="long"
  12050. abstract="false" native="false" synchronized="false"
  12051. static="false" final="false" visibility="public"
  12052. deprecated="not deprecated">
  12053. <exception name="IOException" type="java.io.IOException"/>
  12054. </method>
  12055. <method name="next" return="boolean"
  12056. abstract="false" native="false" synchronized="false"
  12057. static="false" final="false" visibility="public"
  12058. deprecated="not deprecated">
  12059. <param name="key" type="org.apache.hadoop.io.LongWritable"/>
  12060. <param name="value" type="T"/>
  12061. <exception name="IOException" type="java.io.IOException"/>
  12062. <doc>
  12063. <![CDATA[{@inheritDoc}]]>
  12064. </doc>
  12065. </method>
  12066. <doc>
  12067. <![CDATA[A RecordReader that reads records from a SQL table.
  12068. Emits LongWritables containing the record number as
  12069. key and DBWritables as value.]]>
  12070. </doc>
  12071. </class>
  12072. <!-- end class org.apache.hadoop.mapred.lib.db.DBInputFormat.DBRecordReader -->
  12073. <!-- start class org.apache.hadoop.mapred.lib.db.DBInputFormat.NullDBWritable -->
  12074. <class name="DBInputFormat.NullDBWritable" extends="org.apache.hadoop.mapreduce.lib.db.DBInputFormat.NullDBWritable"
  12075. abstract="false"
  12076. static="true" final="false" visibility="public"
  12077. deprecated="not deprecated">
  12078. <implements name="org.apache.hadoop.mapred.lib.db.DBWritable"/>
  12079. <implements name="org.apache.hadoop.io.Writable"/>
  12080. <constructor name="DBInputFormat.NullDBWritable"
  12081. static="false" final="false" visibility="public"
  12082. deprecated="not deprecated">
  12083. </constructor>
  12084. <doc>
  12085. <![CDATA[A Class that does nothing, implementing DBWritable]]>
  12086. </doc>
  12087. </class>
  12088. <!-- end class org.apache.hadoop.mapred.lib.db.DBInputFormat.NullDBWritable -->
  12089. <!-- start class org.apache.hadoop.mapred.lib.db.DBOutputFormat -->
  12090. <class name="DBOutputFormat" extends="org.apache.hadoop.mapreduce.lib.db.DBOutputFormat"
  12091. abstract="false"
  12092. static="false" final="false" visibility="public"
  12093. deprecated="not deprecated">
  12094. <implements name="org.apache.hadoop.mapred.OutputFormat"/>
  12095. <constructor name="DBOutputFormat"
  12096. static="false" final="false" visibility="public"
  12097. deprecated="not deprecated">
  12098. </constructor>
  12099. <method name="checkOutputSpecs"
  12100. abstract="false" native="false" synchronized="false"
  12101. static="false" final="false" visibility="public"
  12102. deprecated="not deprecated">
  12103. <param name="filesystem" type="org.apache.hadoop.fs.FileSystem"/>
  12104. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  12105. <exception name="IOException" type="java.io.IOException"/>
  12106. <doc>
  12107. <![CDATA[{@inheritDoc}]]>
  12108. </doc>
  12109. </method>
  12110. <method name="getRecordWriter" return="org.apache.hadoop.mapred.RecordWriter"
  12111. abstract="false" native="false" synchronized="false"
  12112. static="false" final="false" visibility="public"
  12113. deprecated="not deprecated">
  12114. <param name="filesystem" type="org.apache.hadoop.fs.FileSystem"/>
  12115. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  12116. <param name="name" type="java.lang.String"/>
  12117. <param name="progress" type="org.apache.hadoop.util.Progressable"/>
  12118. <exception name="IOException" type="java.io.IOException"/>
  12119. <doc>
  12120. <![CDATA[{@inheritDoc}]]>
  12121. </doc>
  12122. </method>
  12123. <method name="setOutput"
  12124. abstract="false" native="false" synchronized="false"
  12125. static="true" final="false" visibility="public"
  12126. deprecated="not deprecated">
  12127. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  12128. <param name="tableName" type="java.lang.String"/>
  12129. <param name="fieldNames" type="java.lang.String[]"/>
  12130. <doc>
  12131. <![CDATA[Initializes the reduce-part of the job with the appropriate output settings
  12132. @param job The job
  12133. @param tableName The table to insert data into
  12134. @param fieldNames The field names in the table.]]>
  12135. </doc>
  12136. </method>
  12137. <method name="setOutput"
  12138. abstract="false" native="false" synchronized="false"
  12139. static="true" final="false" visibility="public"
  12140. deprecated="not deprecated">
  12141. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  12142. <param name="tableName" type="java.lang.String"/>
  12143. <param name="fieldCount" type="int"/>
  12144. <doc>
  12145. <![CDATA[Initializes the reduce-part of the job with the appropriate output settings
  12146. @param job The job
  12147. @param tableName The table to insert data into
  12148. @param fieldCount the number of fields in the table.]]>
  12149. </doc>
  12150. </method>
  12151. </class>
  12152. <!-- end class org.apache.hadoop.mapred.lib.db.DBOutputFormat -->
  12153. <!-- start class org.apache.hadoop.mapred.lib.db.DBOutputFormat.DBRecordWriter -->
  12154. <class name="DBOutputFormat.DBRecordWriter" extends="org.apache.hadoop.mapreduce.lib.db.DBOutputFormat.DBRecordWriter"
  12155. abstract="false"
  12156. static="false" final="false" visibility="protected"
  12157. deprecated="not deprecated">
  12158. <implements name="org.apache.hadoop.mapred.RecordWriter"/>
  12159. <constructor name="DBOutputFormat.DBRecordWriter" type="java.sql.Connection, java.sql.PreparedStatement"
  12160. static="false" final="false" visibility="protected"
  12161. deprecated="not deprecated">
  12162. <exception name="SQLException" type="java.sql.SQLException"/>
  12163. </constructor>
  12164. <method name="close"
  12165. abstract="false" native="false" synchronized="false"
  12166. static="false" final="false" visibility="public"
  12167. deprecated="not deprecated">
  12168. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  12169. <exception name="IOException" type="java.io.IOException"/>
  12170. <doc>
  12171. <![CDATA[{@inheritDoc}]]>
  12172. </doc>
  12173. </method>
  12174. <doc>
  12175. <![CDATA[A RecordWriter that writes the reduce output to a SQL table]]>
  12176. </doc>
  12177. </class>
  12178. <!-- end class org.apache.hadoop.mapred.lib.db.DBOutputFormat.DBRecordWriter -->
  12179. <!-- start interface org.apache.hadoop.mapred.lib.db.DBWritable -->
  12180. <interface name="DBWritable" abstract="true"
  12181. static="false" final="false" visibility="public"
  12182. deprecated="not deprecated">
  12183. <implements name="org.apache.hadoop.mapreduce.lib.db.DBWritable"/>
  12184. </interface>
  12185. <!-- end interface org.apache.hadoop.mapred.lib.db.DBWritable -->
  12186. </package>
  12187. <package name="org.apache.hadoop.mapred.pipes">
  12188. <!-- start class org.apache.hadoop.mapred.pipes.Submitter -->
  12189. <class name="Submitter" extends="org.apache.hadoop.conf.Configured"
  12190. abstract="false"
  12191. static="false" final="false" visibility="public"
  12192. deprecated="not deprecated">
  12193. <implements name="org.apache.hadoop.util.Tool"/>
  12194. <constructor name="Submitter"
  12195. static="false" final="false" visibility="public"
  12196. deprecated="not deprecated">
  12197. </constructor>
  12198. <constructor name="Submitter" type="org.apache.hadoop.conf.Configuration"
  12199. static="false" final="false" visibility="public"
  12200. deprecated="not deprecated">
  12201. </constructor>
  12202. <method name="getExecutable" return="java.lang.String"
  12203. abstract="false" native="false" synchronized="false"
  12204. static="true" final="false" visibility="public"
  12205. deprecated="not deprecated">
  12206. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  12207. <doc>
  12208. <![CDATA[Get the URI of the application's executable.
  12209. @param conf
  12210. @return the URI where the application's executable is located]]>
  12211. </doc>
  12212. </method>
  12213. <method name="setExecutable"
  12214. abstract="false" native="false" synchronized="false"
  12215. static="true" final="false" visibility="public"
  12216. deprecated="not deprecated">
  12217. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  12218. <param name="executable" type="java.lang.String"/>
  12219. <doc>
  12220. <![CDATA[Set the URI for the application's executable. Normally this is a hdfs:
  12221. location.
  12222. @param conf
  12223. @param executable The URI of the application's executable.]]>
  12224. </doc>
  12225. </method>
  12226. <method name="setIsJavaRecordReader"
  12227. abstract="false" native="false" synchronized="false"
  12228. static="true" final="false" visibility="public"
  12229. deprecated="not deprecated">
  12230. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  12231. <param name="value" type="boolean"/>
  12232. <doc>
  12233. <![CDATA[Set whether the job is using a Java RecordReader.
  12234. @param conf the configuration to modify
  12235. @param value the new value]]>
  12236. </doc>
  12237. </method>
  12238. <method name="getIsJavaRecordReader" return="boolean"
  12239. abstract="false" native="false" synchronized="false"
  12240. static="true" final="false" visibility="public"
  12241. deprecated="not deprecated">
  12242. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  12243. <doc>
  12244. <![CDATA[Check whether the job is using a Java RecordReader
  12245. @param conf the configuration to check
  12246. @return is it a Java RecordReader?]]>
  12247. </doc>
  12248. </method>
  12249. <method name="setIsJavaMapper"
  12250. abstract="false" native="false" synchronized="false"
  12251. static="true" final="false" visibility="public"
  12252. deprecated="not deprecated">
  12253. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  12254. <param name="value" type="boolean"/>
  12255. <doc>
  12256. <![CDATA[Set whether the Mapper is written in Java.
  12257. @param conf the configuration to modify
  12258. @param value the new value]]>
  12259. </doc>
  12260. </method>
  12261. <method name="getIsJavaMapper" return="boolean"
  12262. abstract="false" native="false" synchronized="false"
  12263. static="true" final="false" visibility="public"
  12264. deprecated="not deprecated">
  12265. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  12266. <doc>
  12267. <![CDATA[Check whether the job is using a Java Mapper.
  12268. @param conf the configuration to check
  12269. @return is it a Java Mapper?]]>
  12270. </doc>
  12271. </method>
  12272. <method name="setIsJavaReducer"
  12273. abstract="false" native="false" synchronized="false"
  12274. static="true" final="false" visibility="public"
  12275. deprecated="not deprecated">
  12276. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  12277. <param name="value" type="boolean"/>
  12278. <doc>
  12279. <![CDATA[Set whether the Reducer is written in Java.
  12280. @param conf the configuration to modify
  12281. @param value the new value]]>
  12282. </doc>
  12283. </method>
  12284. <method name="getIsJavaReducer" return="boolean"
  12285. abstract="false" native="false" synchronized="false"
  12286. static="true" final="false" visibility="public"
  12287. deprecated="not deprecated">
  12288. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  12289. <doc>
  12290. <![CDATA[Check whether the job is using a Java Reducer.
  12291. @param conf the configuration to check
  12292. @return is it a Java Reducer?]]>
  12293. </doc>
  12294. </method>
  12295. <method name="setIsJavaRecordWriter"
  12296. abstract="false" native="false" synchronized="false"
  12297. static="true" final="false" visibility="public"
  12298. deprecated="not deprecated">
  12299. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  12300. <param name="value" type="boolean"/>
  12301. <doc>
  12302. <![CDATA[Set whether the job will use a Java RecordWriter.
  12303. @param conf the configuration to modify
  12304. @param value the new value to set]]>
  12305. </doc>
  12306. </method>
  12307. <method name="getIsJavaRecordWriter" return="boolean"
  12308. abstract="false" native="false" synchronized="false"
  12309. static="true" final="false" visibility="public"
  12310. deprecated="not deprecated">
  12311. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  12312. <doc>
  12313. <![CDATA[Will the reduce use a Java RecordWriter?
  12314. @param conf the configuration to check
  12315. @return true, if the output of the job will be written by Java]]>
  12316. </doc>
  12317. </method>
  12318. <method name="getKeepCommandFile" return="boolean"
  12319. abstract="false" native="false" synchronized="false"
  12320. static="true" final="false" visibility="public"
  12321. deprecated="not deprecated">
  12322. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  12323. <doc>
  12324. <![CDATA[Does the user want to keep the command file for debugging? If this is
  12325. true, pipes will write a copy of the command data to a file in the
  12326. task directory named "downlink.data", which may be used to run the C++
  12327. program under the debugger. You probably also want to set
  12328. JobConf.setKeepFailedTaskFiles(true) to keep the entire directory from
  12329. being deleted.
  12330. To run using the data file, set the environment variable
  12331. "mapreduce.pipes.commandfile" to point to the file.
  12332. @param conf the configuration to check
  12333. @return will the framework save the command file?]]>
  12334. </doc>
  12335. </method>
  12336. <method name="setKeepCommandFile"
  12337. abstract="false" native="false" synchronized="false"
  12338. static="true" final="false" visibility="public"
  12339. deprecated="not deprecated">
  12340. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  12341. <param name="keep" type="boolean"/>
  12342. <doc>
  12343. <![CDATA[Set whether to keep the command file for debugging
  12344. @param conf the configuration to modify
  12345. @param keep the new value]]>
  12346. </doc>
  12347. </method>
  12348. <method name="submitJob" return="org.apache.hadoop.mapred.RunningJob"
  12349. abstract="false" native="false" synchronized="false"
  12350. static="true" final="false" visibility="public"
  12351. deprecated="Use {@link Submitter#runJob(JobConf)}">
  12352. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  12353. <exception name="IOException" type="java.io.IOException"/>
  12354. <doc>
  12355. <![CDATA[Submit a job to the map/reduce cluster. All of the necessary modifications
  12356. to the job to run under pipes are made to the configuration.
  12357. @param conf the job to submit to the cluster (MODIFIED)
  12358. @throws IOException
  12359. @deprecated Use {@link Submitter#runJob(JobConf)}]]>
  12360. </doc>
  12361. </method>
  12362. <method name="runJob" return="org.apache.hadoop.mapred.RunningJob"
  12363. abstract="false" native="false" synchronized="false"
  12364. static="true" final="false" visibility="public"
  12365. deprecated="not deprecated">
  12366. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  12367. <exception name="IOException" type="java.io.IOException"/>
  12368. <doc>
  12369. <![CDATA[Submit a job to the map/reduce cluster. All of the necessary modifications
  12370. to the job to run under pipes are made to the configuration.
  12371. @param conf the job to submit to the cluster (MODIFIED)
  12372. @throws IOException]]>
  12373. </doc>
  12374. </method>
  12375. <method name="jobSubmit" return="org.apache.hadoop.mapred.RunningJob"
  12376. abstract="false" native="false" synchronized="false"
  12377. static="true" final="false" visibility="public"
  12378. deprecated="not deprecated">
  12379. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  12380. <exception name="IOException" type="java.io.IOException"/>
  12381. <doc>
  12382. <![CDATA[Submit a job to the Map-Reduce framework.
  12383. This returns a handle to the {@link RunningJob} which can be used to track
  12384. the running-job.
  12385. @param conf the job configuration.
  12386. @return a handle to the {@link RunningJob} which can be used to track the
  12387. running-job.
  12388. @throws IOException]]>
  12389. </doc>
  12390. </method>
  12391. <method name="run" return="int"
  12392. abstract="false" native="false" synchronized="false"
  12393. static="false" final="false" visibility="public"
  12394. deprecated="not deprecated">
  12395. <param name="args" type="java.lang.String[]"/>
  12396. <exception name="Exception" type="java.lang.Exception"/>
  12397. </method>
  12398. <method name="main"
  12399. abstract="false" native="false" synchronized="false"
  12400. static="true" final="false" visibility="public"
  12401. deprecated="not deprecated">
  12402. <param name="args" type="java.lang.String[]"/>
  12403. <exception name="Exception" type="java.lang.Exception"/>
  12404. <doc>
  12405. <![CDATA[Submit a pipes job based on the command line arguments.
  12406. @param args]]>
  12407. </doc>
  12408. </method>
  12409. <field name="LOG" type="org.apache.commons.logging.Log"
  12410. transient="false" volatile="false"
  12411. static="true" final="true" visibility="protected"
  12412. deprecated="not deprecated">
  12413. </field>
  12414. <field name="PRESERVE_COMMANDFILE" type="java.lang.String"
  12415. transient="false" volatile="false"
  12416. static="true" final="true" visibility="public"
  12417. deprecated="not deprecated">
  12418. </field>
  12419. <field name="EXECUTABLE" type="java.lang.String"
  12420. transient="false" volatile="false"
  12421. static="true" final="true" visibility="public"
  12422. deprecated="not deprecated">
  12423. </field>
  12424. <field name="INTERPRETOR" type="java.lang.String"
  12425. transient="false" volatile="false"
  12426. static="true" final="true" visibility="public"
  12427. deprecated="not deprecated">
  12428. </field>
  12429. <field name="IS_JAVA_MAP" type="java.lang.String"
  12430. transient="false" volatile="false"
  12431. static="true" final="true" visibility="public"
  12432. deprecated="not deprecated">
  12433. </field>
  12434. <field name="IS_JAVA_RR" type="java.lang.String"
  12435. transient="false" volatile="false"
  12436. static="true" final="true" visibility="public"
  12437. deprecated="not deprecated">
  12438. </field>
  12439. <field name="IS_JAVA_RW" type="java.lang.String"
  12440. transient="false" volatile="false"
  12441. static="true" final="true" visibility="public"
  12442. deprecated="not deprecated">
  12443. </field>
  12444. <field name="IS_JAVA_REDUCE" type="java.lang.String"
  12445. transient="false" volatile="false"
  12446. static="true" final="true" visibility="public"
  12447. deprecated="not deprecated">
  12448. </field>
  12449. <field name="PARTITIONER" type="java.lang.String"
  12450. transient="false" volatile="false"
  12451. static="true" final="true" visibility="public"
  12452. deprecated="not deprecated">
  12453. </field>
  12454. <field name="INPUT_FORMAT" type="java.lang.String"
  12455. transient="false" volatile="false"
  12456. static="true" final="true" visibility="public"
  12457. deprecated="not deprecated">
  12458. </field>
  12459. <field name="PORT" type="java.lang.String"
  12460. transient="false" volatile="false"
  12461. static="true" final="true" visibility="public"
  12462. deprecated="not deprecated">
  12463. </field>
  12464. <doc>
  12465. <![CDATA[The main entry point and job submitter. It may either be used as a command
  12466. line-based or API-based method to launch Pipes jobs.]]>
  12467. </doc>
  12468. </class>
  12469. <!-- end class org.apache.hadoop.mapred.pipes.Submitter -->
  12470. </package>
  12471. <package name="org.apache.hadoop.mapred.tools">
  12472. <!-- start class org.apache.hadoop.mapred.tools.MRAdmin -->
  12473. <class name="MRAdmin" extends="org.apache.hadoop.conf.Configured"
  12474. abstract="false"
  12475. static="false" final="false" visibility="public"
  12476. deprecated="not deprecated">
  12477. <implements name="org.apache.hadoop.util.Tool"/>
  12478. <constructor name="MRAdmin"
  12479. static="false" final="false" visibility="public"
  12480. deprecated="not deprecated">
  12481. </constructor>
  12482. <constructor name="MRAdmin" type="org.apache.hadoop.conf.Configuration"
  12483. static="false" final="false" visibility="public"
  12484. deprecated="not deprecated">
  12485. </constructor>
  12486. <method name="run" return="int"
  12487. abstract="false" native="false" synchronized="false"
  12488. static="false" final="false" visibility="public"
  12489. deprecated="not deprecated">
  12490. <param name="args" type="java.lang.String[]"/>
  12491. <exception name="Exception" type="java.lang.Exception"/>
  12492. </method>
  12493. <method name="main"
  12494. abstract="false" native="false" synchronized="false"
  12495. static="true" final="false" visibility="public"
  12496. deprecated="not deprecated">
  12497. <param name="args" type="java.lang.String[]"/>
  12498. <exception name="Exception" type="java.lang.Exception"/>
  12499. </method>
  12500. <doc>
  12501. <![CDATA[Administrative access to Hadoop Map-Reduce.
  12502. Currently it only provides the ability to connect to the {@link JobTracker}
  12503. and 1) refresh the service-level authorization policy, 2) refresh queue acl
  12504. properties.]]>
  12505. </doc>
  12506. </class>
  12507. <!-- end class org.apache.hadoop.mapred.tools.MRAdmin -->
  12508. </package>
  12509. <package name="org.apache.hadoop.mapreduce">
  12510. <!-- start class org.apache.hadoop.mapreduce.Cluster -->
  12511. <class name="Cluster" extends="java.lang.Object"
  12512. abstract="false"
  12513. static="false" final="false" visibility="public"
  12514. deprecated="not deprecated">
  12515. <constructor name="Cluster" type="org.apache.hadoop.conf.Configuration"
  12516. static="false" final="false" visibility="public"
  12517. deprecated="not deprecated">
  12518. <exception name="IOException" type="java.io.IOException"/>
  12519. </constructor>
  12520. <constructor name="Cluster" type="java.net.InetSocketAddress, org.apache.hadoop.conf.Configuration"
  12521. static="false" final="false" visibility="public"
  12522. deprecated="not deprecated">
  12523. <exception name="IOException" type="java.io.IOException"/>
  12524. </constructor>
  12525. <method name="close"
  12526. abstract="false" native="false" synchronized="true"
  12527. static="false" final="false" visibility="public"
  12528. deprecated="not deprecated">
  12529. <exception name="IOException" type="java.io.IOException"/>
  12530. <doc>
  12531. <![CDATA[Close the <code>Cluster</code>.]]>
  12532. </doc>
  12533. </method>
  12534. <method name="getFileSystem" return="org.apache.hadoop.fs.FileSystem"
  12535. abstract="false" native="false" synchronized="true"
  12536. static="false" final="false" visibility="public"
  12537. deprecated="not deprecated">
  12538. <exception name="IOException" type="java.io.IOException"/>
  12539. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  12540. <doc>
  12541. <![CDATA[Get the file system where job-specific files are stored
  12542. @return object of FileSystem
  12543. @throws IOException
  12544. @throws InterruptedException]]>
  12545. </doc>
  12546. </method>
  12547. <method name="getJob" return="org.apache.hadoop.mapreduce.Job"
  12548. abstract="false" native="false" synchronized="false"
  12549. static="false" final="false" visibility="public"
  12550. deprecated="not deprecated">
  12551. <param name="jobId" type="org.apache.hadoop.mapreduce.JobID"/>
  12552. <exception name="IOException" type="java.io.IOException"/>
  12553. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  12554. <doc>
  12555. <![CDATA[Get job corresponding to jobid.
  12556. @param jobId
  12557. @return object of {@link Job}
  12558. @throws IOException
  12559. @throws InterruptedException]]>
  12560. </doc>
  12561. </method>
  12562. <method name="getQueues" return="org.apache.hadoop.mapreduce.QueueInfo[]"
  12563. abstract="false" native="false" synchronized="false"
  12564. static="false" final="false" visibility="public"
  12565. deprecated="not deprecated">
  12566. <exception name="IOException" type="java.io.IOException"/>
  12567. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  12568. <doc>
  12569. <![CDATA[Get all the queues in cluster.
  12570. @return array of {@link QueueInfo}
  12571. @throws IOException
  12572. @throws InterruptedException]]>
  12573. </doc>
  12574. </method>
  12575. <method name="getQueue" return="org.apache.hadoop.mapreduce.QueueInfo"
  12576. abstract="false" native="false" synchronized="false"
  12577. static="false" final="false" visibility="public"
  12578. deprecated="not deprecated">
  12579. <param name="name" type="java.lang.String"/>
  12580. <exception name="IOException" type="java.io.IOException"/>
  12581. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  12582. <doc>
  12583. <![CDATA[Get queue information for the specified name.
  12584. @param name queuename
  12585. @return object of {@link QueueInfo}
  12586. @throws IOException
  12587. @throws InterruptedException]]>
  12588. </doc>
  12589. </method>
  12590. <method name="getClusterStatus" return="org.apache.hadoop.mapreduce.ClusterMetrics"
  12591. abstract="false" native="false" synchronized="false"
  12592. static="false" final="false" visibility="public"
  12593. deprecated="not deprecated">
  12594. <exception name="IOException" type="java.io.IOException"/>
  12595. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  12596. <doc>
  12597. <![CDATA[Get current cluster status.
  12598. @return object of {@link ClusterMetrics}
  12599. @throws IOException
  12600. @throws InterruptedException]]>
  12601. </doc>
  12602. </method>
  12603. <method name="getActiveTaskTrackers" return="org.apache.hadoop.mapreduce.TaskTrackerInfo[]"
  12604. abstract="false" native="false" synchronized="false"
  12605. static="false" final="false" visibility="public"
  12606. deprecated="not deprecated">
  12607. <exception name="IOException" type="java.io.IOException"/>
  12608. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  12609. <doc>
  12610. <![CDATA[Get all active trackers in the cluster.
  12611. @return array of {@link TaskTrackerInfo}
  12612. @throws IOException
  12613. @throws InterruptedException]]>
  12614. </doc>
  12615. </method>
  12616. <method name="getBlackListedTaskTrackers" return="org.apache.hadoop.mapreduce.TaskTrackerInfo[]"
  12617. abstract="false" native="false" synchronized="false"
  12618. static="false" final="false" visibility="public"
  12619. deprecated="not deprecated">
  12620. <exception name="IOException" type="java.io.IOException"/>
  12621. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  12622. <doc>
  12623. <![CDATA[Get blacklisted trackers.
  12624. @return array of {@link TaskTrackerInfo}
  12625. @throws IOException
  12626. @throws InterruptedException]]>
  12627. </doc>
  12628. </method>
  12629. <method name="getAllJobs" return="org.apache.hadoop.mapreduce.Job[]"
  12630. abstract="false" native="false" synchronized="false"
  12631. static="false" final="false" visibility="public"
  12632. deprecated="not deprecated">
  12633. <exception name="IOException" type="java.io.IOException"/>
  12634. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  12635. <doc>
  12636. <![CDATA[Get all the jobs in cluster.
  12637. @return array of {@link Job}
  12638. @throws IOException
  12639. @throws InterruptedException]]>
  12640. </doc>
  12641. </method>
  12642. <method name="getSystemDir" return="org.apache.hadoop.fs.Path"
  12643. abstract="false" native="false" synchronized="false"
  12644. static="false" final="false" visibility="public"
  12645. deprecated="not deprecated">
  12646. <exception name="IOException" type="java.io.IOException"/>
  12647. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  12648. <doc>
  12649. <![CDATA[Grab the jobtracker system directory path where
  12650. job-specific files will be placed.
  12651. @return the system directory where job-specific files are to be placed.]]>
  12652. </doc>
  12653. </method>
  12654. <method name="getStagingAreaDir" return="org.apache.hadoop.fs.Path"
  12655. abstract="false" native="false" synchronized="false"
  12656. static="false" final="false" visibility="public"
  12657. deprecated="not deprecated">
  12658. <exception name="IOException" type="java.io.IOException"/>
  12659. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  12660. <doc>
  12661. <![CDATA[Grab the jobtracker's view of the staging directory path where
  12662. job-specific files will be placed.
  12663. @return the staging directory where job-specific files are to be placed.]]>
  12664. </doc>
  12665. </method>
  12666. <method name="getJobHistoryUrl" return="java.lang.String"
  12667. abstract="false" native="false" synchronized="false"
  12668. static="false" final="false" visibility="public"
  12669. deprecated="not deprecated">
  12670. <param name="jobId" type="org.apache.hadoop.mapreduce.JobID"/>
  12671. <exception name="IOException" type="java.io.IOException"/>
  12672. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  12673. <doc>
  12674. <![CDATA[Get the job history file path for a given job id. The job history file at
  12675. this path may or may not be existing depending on the job completion state.
  12676. The file is present only for the completed jobs.
  12677. @param jobId the JobID of the job submitted by the current user.
  12678. @return the file path of the job history file
  12679. @throws IOException
  12680. @throws InterruptedException]]>
  12681. </doc>
  12682. </method>
  12683. <method name="getQueueAclsForCurrentUser" return="org.apache.hadoop.mapreduce.QueueAclsInfo[]"
  12684. abstract="false" native="false" synchronized="false"
  12685. static="false" final="false" visibility="public"
  12686. deprecated="not deprecated">
  12687. <exception name="IOException" type="java.io.IOException"/>
  12688. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  12689. <doc>
  12690. <![CDATA[Gets the Queue ACLs for current user
  12691. @return array of QueueAclsInfo object for current user.
  12692. @throws IOException]]>
  12693. </doc>
  12694. </method>
  12695. <method name="getRootQueues" return="org.apache.hadoop.mapreduce.QueueInfo[]"
  12696. abstract="false" native="false" synchronized="false"
  12697. static="false" final="false" visibility="public"
  12698. deprecated="not deprecated">
  12699. <exception name="IOException" type="java.io.IOException"/>
  12700. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  12701. <doc>
  12702. <![CDATA[Gets the root level queues.
  12703. @return array of JobQueueInfo object.
  12704. @throws IOException]]>
  12705. </doc>
  12706. </method>
  12707. <method name="getChildQueues" return="org.apache.hadoop.mapreduce.QueueInfo[]"
  12708. abstract="false" native="false" synchronized="false"
  12709. static="false" final="false" visibility="public"
  12710. deprecated="not deprecated">
  12711. <param name="queueName" type="java.lang.String"/>
  12712. <exception name="IOException" type="java.io.IOException"/>
  12713. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  12714. <doc>
  12715. <![CDATA[Returns immediate children of queueName.
  12716. @param queueName
  12717. @return array of JobQueueInfo which are children of queueName
  12718. @throws IOException]]>
  12719. </doc>
  12720. </method>
  12721. <method name="getJobTrackerState" return="org.apache.hadoop.mapreduce.server.jobtracker.State"
  12722. abstract="false" native="false" synchronized="false"
  12723. static="false" final="false" visibility="public"
  12724. deprecated="not deprecated">
  12725. <exception name="IOException" type="java.io.IOException"/>
  12726. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  12727. <doc>
  12728. <![CDATA[Get JobTracker's state
  12729. @return {@link State} of the JobTracker
  12730. @throws IOException
  12731. @throws InterruptedException]]>
  12732. </doc>
  12733. </method>
  12734. <method name="getTaskTrackerExpiryInterval" return="long"
  12735. abstract="false" native="false" synchronized="false"
  12736. static="false" final="false" visibility="public"
  12737. deprecated="not deprecated">
  12738. <exception name="IOException" type="java.io.IOException"/>
  12739. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  12740. <doc>
  12741. <![CDATA[Get the tasktracker expiry interval for the cluster
  12742. @return the expiry interval in msec]]>
  12743. </doc>
  12744. </method>
  12745. <method name="getDelegationToken" return="org.apache.hadoop.security.token.Token"
  12746. abstract="false" native="false" synchronized="false"
  12747. static="false" final="false" visibility="public"
  12748. deprecated="not deprecated">
  12749. <param name="renewer" type="org.apache.hadoop.io.Text"/>
  12750. <exception name="IOException" type="java.io.IOException"/>
  12751. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  12752. <doc>
  12753. <![CDATA[Get a delegation token for the user from the JobTracker.
  12754. @param renewer the user who can renew the token
  12755. @return the new token
  12756. @throws IOException]]>
  12757. </doc>
  12758. </method>
  12759. <method name="renewDelegationToken" return="long"
  12760. abstract="false" native="false" synchronized="false"
  12761. static="false" final="false" visibility="public"
  12762. deprecated="not deprecated">
  12763. <param name="token" type="org.apache.hadoop.security.token.Token"/>
  12764. <exception name="SecretManager.InvalidToken" type="org.apache.hadoop.security.token.SecretManager.InvalidToken"/>
  12765. <exception name="IOException" type="java.io.IOException"/>
  12766. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  12767. <doc>
  12768. <![CDATA[Renew a delegation token
  12769. @param token the token to renew
  12770. @return the new expiration time
  12771. @throws InvalidToken
  12772. @throws IOException]]>
  12773. </doc>
  12774. </method>
  12775. <method name="cancelDelegationToken"
  12776. abstract="false" native="false" synchronized="false"
  12777. static="false" final="false" visibility="public"
  12778. deprecated="not deprecated">
  12779. <param name="token" type="org.apache.hadoop.security.token.Token"/>
  12780. <exception name="IOException" type="java.io.IOException"/>
  12781. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  12782. <doc>
  12783. <![CDATA[Cancel a delegation token from the JobTracker
  12784. @param token the token to cancel
  12785. @throws IOException]]>
  12786. </doc>
  12787. </method>
  12788. <doc>
  12789. <![CDATA[Provides a way to access information about the map/reduce cluster.]]>
  12790. </doc>
  12791. </class>
  12792. <!-- end class org.apache.hadoop.mapreduce.Cluster -->
  12793. <!-- start class org.apache.hadoop.mapreduce.ClusterMetrics -->
  12794. <class name="ClusterMetrics" extends="java.lang.Object"
  12795. abstract="false"
  12796. static="false" final="false" visibility="public"
  12797. deprecated="not deprecated">
  12798. <implements name="org.apache.hadoop.io.Writable"/>
  12799. <constructor name="ClusterMetrics"
  12800. static="false" final="false" visibility="public"
  12801. deprecated="not deprecated">
  12802. </constructor>
  12803. <constructor name="ClusterMetrics" type="int, int, int, int, int, int, int, int, int, int, int, int"
  12804. static="false" final="false" visibility="public"
  12805. deprecated="not deprecated">
  12806. </constructor>
  12807. <method name="getRunningMaps" return="int"
  12808. abstract="false" native="false" synchronized="false"
  12809. static="false" final="false" visibility="public"
  12810. deprecated="not deprecated">
  12811. <doc>
  12812. <![CDATA[Get the number of running map tasks in the cluster.
  12813. @return running maps]]>
  12814. </doc>
  12815. </method>
  12816. <method name="getRunningReduces" return="int"
  12817. abstract="false" native="false" synchronized="false"
  12818. static="false" final="false" visibility="public"
  12819. deprecated="not deprecated">
  12820. <doc>
  12821. <![CDATA[Get the number of running reduce tasks in the cluster.
  12822. @return running reduces]]>
  12823. </doc>
  12824. </method>
  12825. <method name="getOccupiedMapSlots" return="int"
  12826. abstract="false" native="false" synchronized="false"
  12827. static="false" final="false" visibility="public"
  12828. deprecated="not deprecated">
  12829. <doc>
  12830. <![CDATA[Get number of occupied map slots in the cluster.
  12831. @return occupied map slot count]]>
  12832. </doc>
  12833. </method>
  12834. <method name="getOccupiedReduceSlots" return="int"
  12835. abstract="false" native="false" synchronized="false"
  12836. static="false" final="false" visibility="public"
  12837. deprecated="not deprecated">
  12838. <doc>
  12839. <![CDATA[Get the number of occupied reduce slots in the cluster.
  12840. @return occupied reduce slot count]]>
  12841. </doc>
  12842. </method>
  12843. <method name="getReservedMapSlots" return="int"
  12844. abstract="false" native="false" synchronized="false"
  12845. static="false" final="false" visibility="public"
  12846. deprecated="not deprecated">
  12847. <doc>
  12848. <![CDATA[Get number of reserved map slots in the cluster.
  12849. @return reserved map slot count]]>
  12850. </doc>
  12851. </method>
  12852. <method name="getReservedReduceSlots" return="int"
  12853. abstract="false" native="false" synchronized="false"
  12854. static="false" final="false" visibility="public"
  12855. deprecated="not deprecated">
  12856. <doc>
  12857. <![CDATA[Get the number of reserved reduce slots in the cluster.
  12858. @return reserved reduce slot count]]>
  12859. </doc>
  12860. </method>
  12861. <method name="getMapSlotCapacity" return="int"
  12862. abstract="false" native="false" synchronized="false"
  12863. static="false" final="false" visibility="public"
  12864. deprecated="not deprecated">
  12865. <doc>
  12866. <![CDATA[Get the total number of map slots in the cluster.
  12867. @return map slot capacity]]>
  12868. </doc>
  12869. </method>
  12870. <method name="getReduceSlotCapacity" return="int"
  12871. abstract="false" native="false" synchronized="false"
  12872. static="false" final="false" visibility="public"
  12873. deprecated="not deprecated">
  12874. <doc>
  12875. <![CDATA[Get the total number of reduce slots in the cluster.
  12876. @return reduce slot capacity]]>
  12877. </doc>
  12878. </method>
  12879. <method name="getTotalJobSubmissions" return="int"
  12880. abstract="false" native="false" synchronized="false"
  12881. static="false" final="false" visibility="public"
  12882. deprecated="not deprecated">
  12883. <doc>
  12884. <![CDATA[Get the total number of job submissions in the cluster.
  12885. @return total number of job submissions]]>
  12886. </doc>
  12887. </method>
  12888. <method name="getTaskTrackerCount" return="int"
  12889. abstract="false" native="false" synchronized="false"
  12890. static="false" final="false" visibility="public"
  12891. deprecated="not deprecated">
  12892. <doc>
  12893. <![CDATA[Get the number of active trackers in the cluster.
  12894. @return active tracker count.]]>
  12895. </doc>
  12896. </method>
  12897. <method name="getBlackListedTaskTrackerCount" return="int"
  12898. abstract="false" native="false" synchronized="false"
  12899. static="false" final="false" visibility="public"
  12900. deprecated="not deprecated">
  12901. <doc>
  12902. <![CDATA[Get the number of blacklisted trackers in the cluster.
  12903. @return blacklisted tracker count]]>
  12904. </doc>
  12905. </method>
  12906. <method name="getDecommissionedTaskTrackerCount" return="int"
  12907. abstract="false" native="false" synchronized="false"
  12908. static="false" final="false" visibility="public"
  12909. deprecated="not deprecated">
  12910. <doc>
  12911. <![CDATA[Get the number of decommissioned trackers in the cluster.
  12912. @return decommissioned tracker count]]>
  12913. </doc>
  12914. </method>
  12915. <method name="readFields"
  12916. abstract="false" native="false" synchronized="false"
  12917. static="false" final="false" visibility="public"
  12918. deprecated="not deprecated">
  12919. <param name="in" type="java.io.DataInput"/>
  12920. <exception name="IOException" type="java.io.IOException"/>
  12921. </method>
  12922. <method name="write"
  12923. abstract="false" native="false" synchronized="false"
  12924. static="false" final="false" visibility="public"
  12925. deprecated="not deprecated">
  12926. <param name="out" type="java.io.DataOutput"/>
  12927. <exception name="IOException" type="java.io.IOException"/>
  12928. </method>
  12929. <doc>
  12930. <![CDATA[Status information on the current state of the Map-Reduce cluster.
  12931. <p><code>ClusterMetrics</code> provides clients with information such as:
  12932. <ol>
  12933. <li>
  12934. Size of the cluster.
  12935. </li>
  12936. <li>
  12937. Number of blacklisted and decommissioned trackers.
  12938. </li>
  12939. <li>
  12940. Slot capacity of the cluster.
  12941. </li>
  12942. <li>
  12943. The number of currently occupied/reserved map & reduce slots.
  12944. </li>
  12945. <li>
  12946. The number of currently running map & reduce tasks.
  12947. </li>
  12948. <li>
  12949. The number of job submissions.
  12950. </li>
  12951. </ol></p>
  12952. <p>Clients can query for the latest <code>ClusterMetrics</code>, via
  12953. {@link Cluster#getClusterStatus()}.</p>
  12954. @see Cluster]]>
  12955. </doc>
  12956. </class>
  12957. <!-- end class org.apache.hadoop.mapreduce.ClusterMetrics -->
  12958. <!-- start class org.apache.hadoop.mapreduce.Counter -->
  12959. <class name="Counter" extends="java.lang.Object"
  12960. abstract="false"
  12961. static="false" final="false" visibility="public"
  12962. deprecated="not deprecated">
  12963. <implements name="org.apache.hadoop.io.Writable"/>
  12964. <constructor name="Counter"
  12965. static="false" final="false" visibility="protected"
  12966. deprecated="not deprecated">
  12967. </constructor>
  12968. <constructor name="Counter" type="java.lang.String, java.lang.String"
  12969. static="false" final="false" visibility="protected"
  12970. deprecated="not deprecated">
  12971. </constructor>
  12972. <constructor name="Counter" type="java.lang.String, java.lang.String, long"
  12973. static="false" final="false" visibility="public"
  12974. deprecated="not deprecated">
  12975. <doc>
  12976. <![CDATA[Create a counter.
  12977. @param name the name within the group's enum.
  12978. @param displayName a name to be displayed.
  12979. @param value the counter value.]]>
  12980. </doc>
  12981. </constructor>
  12982. <method name="setDisplayName"
  12983. abstract="false" native="false" synchronized="true"
  12984. static="false" final="false" visibility="protected"
  12985. deprecated="not deprecated">
  12986. <param name="displayName" type="java.lang.String"/>
  12987. </method>
  12988. <method name="readFields"
  12989. abstract="false" native="false" synchronized="true"
  12990. static="false" final="false" visibility="public"
  12991. deprecated="not deprecated">
  12992. <param name="in" type="java.io.DataInput"/>
  12993. <exception name="IOException" type="java.io.IOException"/>
  12994. <doc>
  12995. <![CDATA[Read the binary representation of the counter]]>
  12996. </doc>
  12997. </method>
  12998. <method name="write"
  12999. abstract="false" native="false" synchronized="true"
  13000. static="false" final="false" visibility="public"
  13001. deprecated="not deprecated">
  13002. <param name="out" type="java.io.DataOutput"/>
  13003. <exception name="IOException" type="java.io.IOException"/>
  13004. <doc>
  13005. <![CDATA[Write the binary representation of the counter]]>
  13006. </doc>
  13007. </method>
  13008. <method name="getName" return="java.lang.String"
  13009. abstract="false" native="false" synchronized="true"
  13010. static="false" final="false" visibility="public"
  13011. deprecated="not deprecated">
  13012. </method>
  13013. <method name="getDisplayName" return="java.lang.String"
  13014. abstract="false" native="false" synchronized="true"
  13015. static="false" final="false" visibility="public"
  13016. deprecated="not deprecated">
  13017. <doc>
  13018. <![CDATA[Get the name of the counter.
  13019. @return the user facing name of the counter]]>
  13020. </doc>
  13021. </method>
  13022. <method name="getValue" return="long"
  13023. abstract="false" native="false" synchronized="true"
  13024. static="false" final="false" visibility="public"
  13025. deprecated="not deprecated">
  13026. <doc>
  13027. <![CDATA[What is the current value of this counter?
  13028. @return the current value]]>
  13029. </doc>
  13030. </method>
  13031. <method name="increment"
  13032. abstract="false" native="false" synchronized="true"
  13033. static="false" final="false" visibility="public"
  13034. deprecated="not deprecated">
  13035. <param name="incr" type="long"/>
  13036. <doc>
  13037. <![CDATA[Increment this counter by the given value
  13038. @param incr the value to increase this counter by]]>
  13039. </doc>
  13040. </method>
  13041. <method name="equals" return="boolean"
  13042. abstract="false" native="false" synchronized="true"
  13043. static="false" final="false" visibility="public"
  13044. deprecated="not deprecated">
  13045. <param name="genericRight" type="java.lang.Object"/>
  13046. </method>
  13047. <method name="hashCode" return="int"
  13048. abstract="false" native="false" synchronized="true"
  13049. static="false" final="false" visibility="public"
  13050. deprecated="not deprecated">
  13051. </method>
  13052. <doc>
  13053. <![CDATA[A named counter that tracks the progress of a map/reduce job.
  13054. <p><code>Counters</code> represent global counters, defined either by the
  13055. Map-Reduce framework or applications. Each <code>Counter</code> is named by
  13056. an {@link Enum} and has a long for the value.</p>
  13057. <p><code>Counters</code> are bunched into Groups, each comprising of
  13058. counters from a particular <code>Enum</code> class.]]>
  13059. </doc>
  13060. </class>
  13061. <!-- end class org.apache.hadoop.mapreduce.Counter -->
  13062. <!-- start class org.apache.hadoop.mapreduce.CounterGroup -->
  13063. <class name="CounterGroup" extends="java.lang.Object"
  13064. abstract="false"
  13065. static="false" final="false" visibility="public"
  13066. deprecated="not deprecated">
  13067. <implements name="org.apache.hadoop.io.Writable"/>
  13068. <implements name="java.lang.Iterable"/>
  13069. <constructor name="CounterGroup" type="java.lang.String"
  13070. static="false" final="false" visibility="protected"
  13071. deprecated="not deprecated">
  13072. </constructor>
  13073. <constructor name="CounterGroup" type="java.lang.String, java.lang.String"
  13074. static="false" final="false" visibility="public"
  13075. deprecated="not deprecated">
  13076. <doc>
  13077. <![CDATA[Create a CounterGroup.
  13078. @param name the name of the group's enum.
  13079. @param displayName a name to be displayed for the group.]]>
  13080. </doc>
  13081. </constructor>
  13082. <method name="getName" return="java.lang.String"
  13083. abstract="false" native="false" synchronized="true"
  13084. static="false" final="false" visibility="public"
  13085. deprecated="not deprecated">
  13086. <doc>
  13087. <![CDATA[Get the internal name of the group
  13088. @return the internal name]]>
  13089. </doc>
  13090. </method>
  13091. <method name="getDisplayName" return="java.lang.String"
  13092. abstract="false" native="false" synchronized="true"
  13093. static="false" final="false" visibility="public"
  13094. deprecated="not deprecated">
  13095. <doc>
  13096. <![CDATA[Get the display name of the group.
  13097. @return the human readable name]]>
  13098. </doc>
  13099. </method>
  13100. <method name="addCounter"
  13101. abstract="false" native="false" synchronized="true"
  13102. static="false" final="false" visibility="public"
  13103. deprecated="not deprecated">
  13104. <param name="counter" type="org.apache.hadoop.mapreduce.Counter"/>
  13105. <doc>
  13106. <![CDATA[Add a counter to this group.]]>
  13107. </doc>
  13108. </method>
  13109. <method name="findCounter" return="org.apache.hadoop.mapreduce.Counter"
  13110. abstract="false" native="false" synchronized="false"
  13111. static="false" final="false" visibility="public"
  13112. deprecated="not deprecated">
  13113. <param name="counterName" type="java.lang.String"/>
  13114. <param name="displayName" type="java.lang.String"/>
  13115. <doc>
  13116. <![CDATA[Find a counter in a group.
  13117. @param counterName the name of the counter
  13118. @param displayName the display name of the counter
  13119. @return the counter that was found or added]]>
  13120. </doc>
  13121. </method>
  13122. <method name="findCounter" return="org.apache.hadoop.mapreduce.Counter"
  13123. abstract="false" native="false" synchronized="true"
  13124. static="false" final="false" visibility="public"
  13125. deprecated="not deprecated">
  13126. <param name="counterName" type="java.lang.String"/>
  13127. </method>
  13128. <method name="iterator" return="java.util.Iterator"
  13129. abstract="false" native="false" synchronized="true"
  13130. static="false" final="false" visibility="public"
  13131. deprecated="not deprecated">
  13132. </method>
  13133. <method name="write"
  13134. abstract="false" native="false" synchronized="true"
  13135. static="false" final="false" visibility="public"
  13136. deprecated="not deprecated">
  13137. <param name="out" type="java.io.DataOutput"/>
  13138. <exception name="IOException" type="java.io.IOException"/>
  13139. </method>
  13140. <method name="readFields"
  13141. abstract="false" native="false" synchronized="true"
  13142. static="false" final="false" visibility="public"
  13143. deprecated="not deprecated">
  13144. <param name="in" type="java.io.DataInput"/>
  13145. <exception name="IOException" type="java.io.IOException"/>
  13146. </method>
  13147. <method name="size" return="int"
  13148. abstract="false" native="false" synchronized="true"
  13149. static="false" final="false" visibility="public"
  13150. deprecated="not deprecated">
  13151. <doc>
  13152. <![CDATA[Returns the number of counters in this group.]]>
  13153. </doc>
  13154. </method>
  13155. <method name="equals" return="boolean"
  13156. abstract="false" native="false" synchronized="true"
  13157. static="false" final="false" visibility="public"
  13158. deprecated="not deprecated">
  13159. <param name="genericRight" type="java.lang.Object"/>
  13160. </method>
  13161. <method name="hashCode" return="int"
  13162. abstract="false" native="false" synchronized="true"
  13163. static="false" final="false" visibility="public"
  13164. deprecated="not deprecated">
  13165. </method>
  13166. <method name="incrAllCounters"
  13167. abstract="false" native="false" synchronized="true"
  13168. static="false" final="false" visibility="public"
  13169. deprecated="not deprecated">
  13170. <param name="rightGroup" type="org.apache.hadoop.mapreduce.CounterGroup"/>
  13171. </method>
  13172. <doc>
  13173. <![CDATA[A group of {@link Counter}s that logically belong together. Typically,
  13174. it is an {@link Enum} subclass and the counters are the values.]]>
  13175. </doc>
  13176. </class>
  13177. <!-- end class org.apache.hadoop.mapreduce.CounterGroup -->
  13178. <!-- start class org.apache.hadoop.mapreduce.Counters -->
  13179. <class name="Counters" extends="java.lang.Object"
  13180. abstract="false"
  13181. static="false" final="false" visibility="public"
  13182. deprecated="not deprecated">
  13183. <implements name="org.apache.hadoop.io.Writable"/>
  13184. <implements name="java.lang.Iterable"/>
  13185. <constructor name="Counters"
  13186. static="false" final="false" visibility="public"
  13187. deprecated="not deprecated">
  13188. </constructor>
  13189. <constructor name="Counters" type="org.apache.hadoop.mapred.Counters"
  13190. static="false" final="false" visibility="public"
  13191. deprecated="not deprecated">
  13192. <doc>
  13193. <![CDATA[Utility method to create a Counters object from the
  13194. org.apache.hadoop.mapred counters
  13195. @param counters]]>
  13196. </doc>
  13197. </constructor>
  13198. <method name="addGroup"
  13199. abstract="false" native="false" synchronized="false"
  13200. static="false" final="false" visibility="public"
  13201. deprecated="not deprecated">
  13202. <param name="group" type="org.apache.hadoop.mapreduce.CounterGroup"/>
  13203. <doc>
  13204. <![CDATA[Add a group.]]>
  13205. </doc>
  13206. </method>
  13207. <method name="findCounter" return="org.apache.hadoop.mapreduce.Counter"
  13208. abstract="false" native="false" synchronized="false"
  13209. static="false" final="false" visibility="public"
  13210. deprecated="not deprecated">
  13211. <param name="groupName" type="java.lang.String"/>
  13212. <param name="counterName" type="java.lang.String"/>
  13213. </method>
  13214. <method name="findCounter" return="org.apache.hadoop.mapreduce.Counter"
  13215. abstract="false" native="false" synchronized="true"
  13216. static="false" final="false" visibility="public"
  13217. deprecated="not deprecated">
  13218. <param name="key" type="java.lang.Enum"/>
  13219. <doc>
  13220. <![CDATA[Find the counter for the given enum. The same enum will always return the
  13221. same counter.
  13222. @param key the counter key
  13223. @return the matching counter object]]>
  13224. </doc>
  13225. </method>
  13226. <method name="getGroupNames" return="java.util.Collection"
  13227. abstract="false" native="false" synchronized="true"
  13228. static="false" final="false" visibility="public"
  13229. deprecated="not deprecated">
  13230. <doc>
  13231. <![CDATA[Returns the names of all counter classes.
  13232. @return Set of counter names.]]>
  13233. </doc>
  13234. </method>
  13235. <method name="iterator" return="java.util.Iterator"
  13236. abstract="false" native="false" synchronized="false"
  13237. static="false" final="false" visibility="public"
  13238. deprecated="not deprecated">
  13239. </method>
  13240. <method name="getGroup" return="org.apache.hadoop.mapreduce.CounterGroup"
  13241. abstract="false" native="false" synchronized="true"
  13242. static="false" final="false" visibility="public"
  13243. deprecated="not deprecated">
  13244. <param name="groupName" type="java.lang.String"/>
  13245. <doc>
  13246. <![CDATA[Returns the named counter group, or an empty group if there is none
  13247. with the specified name.]]>
  13248. </doc>
  13249. </method>
  13250. <method name="countCounters" return="int"
  13251. abstract="false" native="false" synchronized="true"
  13252. static="false" final="false" visibility="public"
  13253. deprecated="not deprecated">
  13254. <doc>
  13255. <![CDATA[Returns the total number of counters, by summing the number of counters
  13256. in each group.]]>
  13257. </doc>
  13258. </method>
  13259. <method name="write"
  13260. abstract="false" native="false" synchronized="true"
  13261. static="false" final="false" visibility="public"
  13262. deprecated="not deprecated">
  13263. <param name="out" type="java.io.DataOutput"/>
  13264. <exception name="IOException" type="java.io.IOException"/>
  13265. <doc>
  13266. <![CDATA[Write the set of groups.
  13267. The external format is:
  13268. #groups (groupName group)*
  13269. i.e. the number of groups followed by 0 or more groups, where each
  13270. group is of the form:
  13271. groupDisplayName #counters (false | true counter)*
  13272. where each counter is of the form:
  13273. name (false | true displayName) value]]>
  13274. </doc>
  13275. </method>
  13276. <method name="readFields"
  13277. abstract="false" native="false" synchronized="true"
  13278. static="false" final="false" visibility="public"
  13279. deprecated="not deprecated">
  13280. <param name="in" type="java.io.DataInput"/>
  13281. <exception name="IOException" type="java.io.IOException"/>
  13282. <doc>
  13283. <![CDATA[Read a set of groups.]]>
  13284. </doc>
  13285. </method>
  13286. <method name="toString" return="java.lang.String"
  13287. abstract="false" native="false" synchronized="true"
  13288. static="false" final="false" visibility="public"
  13289. deprecated="not deprecated">
  13290. <doc>
  13291. <![CDATA[Return textual representation of the counter values.]]>
  13292. </doc>
  13293. </method>
  13294. <method name="incrAllCounters"
  13295. abstract="false" native="false" synchronized="true"
  13296. static="false" final="false" visibility="public"
  13297. deprecated="not deprecated">
  13298. <param name="other" type="org.apache.hadoop.mapreduce.Counters"/>
  13299. <doc>
  13300. <![CDATA[Increments multiple counters by their amounts in another Counters
  13301. instance.
  13302. @param other the other Counters instance]]>
  13303. </doc>
  13304. </method>
  13305. <method name="equals" return="boolean"
  13306. abstract="false" native="false" synchronized="false"
  13307. static="false" final="false" visibility="public"
  13308. deprecated="not deprecated">
  13309. <param name="genericRight" type="java.lang.Object"/>
  13310. </method>
  13311. <method name="hashCode" return="int"
  13312. abstract="false" native="false" synchronized="false"
  13313. static="false" final="false" visibility="public"
  13314. deprecated="not deprecated">
  13315. </method>
  13316. </class>
  13317. <!-- end class org.apache.hadoop.mapreduce.Counters -->
  13318. <!-- start class org.apache.hadoop.mapreduce.ID -->
  13319. <class name="ID" extends="java.lang.Object"
  13320. abstract="true"
  13321. static="false" final="false" visibility="public"
  13322. deprecated="not deprecated">
  13323. <implements name="org.apache.hadoop.io.WritableComparable"/>
  13324. <constructor name="ID" type="int"
  13325. static="false" final="false" visibility="public"
  13326. deprecated="not deprecated">
  13327. <doc>
  13328. <![CDATA[constructs an ID object from the given int]]>
  13329. </doc>
  13330. </constructor>
  13331. <constructor name="ID"
  13332. static="false" final="false" visibility="protected"
  13333. deprecated="not deprecated">
  13334. </constructor>
  13335. <method name="getId" return="int"
  13336. abstract="false" native="false" synchronized="false"
  13337. static="false" final="false" visibility="public"
  13338. deprecated="not deprecated">
  13339. <doc>
  13340. <![CDATA[returns the int which represents the identifier]]>
  13341. </doc>
  13342. </method>
  13343. <method name="toString" return="java.lang.String"
  13344. abstract="false" native="false" synchronized="false"
  13345. static="false" final="false" visibility="public"
  13346. deprecated="not deprecated">
  13347. </method>
  13348. <method name="hashCode" return="int"
  13349. abstract="false" native="false" synchronized="false"
  13350. static="false" final="false" visibility="public"
  13351. deprecated="not deprecated">
  13352. </method>
  13353. <method name="equals" return="boolean"
  13354. abstract="false" native="false" synchronized="false"
  13355. static="false" final="false" visibility="public"
  13356. deprecated="not deprecated">
  13357. <param name="o" type="java.lang.Object"/>
  13358. </method>
  13359. <method name="compareTo" return="int"
  13360. abstract="false" native="false" synchronized="false"
  13361. static="false" final="false" visibility="public"
  13362. deprecated="not deprecated">
  13363. <param name="that" type="org.apache.hadoop.mapreduce.ID"/>
  13364. <doc>
  13365. <![CDATA[Compare IDs by associated numbers]]>
  13366. </doc>
  13367. </method>
  13368. <method name="readFields"
  13369. abstract="false" native="false" synchronized="false"
  13370. static="false" final="false" visibility="public"
  13371. deprecated="not deprecated">
  13372. <param name="in" type="java.io.DataInput"/>
  13373. <exception name="IOException" type="java.io.IOException"/>
  13374. </method>
  13375. <method name="write"
  13376. abstract="false" native="false" synchronized="false"
  13377. static="false" final="false" visibility="public"
  13378. deprecated="not deprecated">
  13379. <param name="out" type="java.io.DataOutput"/>
  13380. <exception name="IOException" type="java.io.IOException"/>
  13381. </method>
  13382. <field name="SEPARATOR" type="char"
  13383. transient="false" volatile="false"
  13384. static="true" final="true" visibility="protected"
  13385. deprecated="not deprecated">
  13386. </field>
  13387. <field name="id" type="int"
  13388. transient="false" volatile="false"
  13389. static="false" final="false" visibility="protected"
  13390. deprecated="not deprecated">
  13391. </field>
  13392. <doc>
  13393. <![CDATA[A general identifier, which internally stores the id
  13394. as an integer. This is the super class of {@link JobID},
  13395. {@link TaskID} and {@link TaskAttemptID}.
  13396. @see JobID
  13397. @see TaskID
  13398. @see TaskAttemptID]]>
  13399. </doc>
  13400. </class>
  13401. <!-- end class org.apache.hadoop.mapreduce.ID -->
  13402. <!-- start class org.apache.hadoop.mapreduce.InputFormat -->
  13403. <class name="InputFormat" extends="java.lang.Object"
  13404. abstract="true"
  13405. static="false" final="false" visibility="public"
  13406. deprecated="not deprecated">
  13407. <constructor name="InputFormat"
  13408. static="false" final="false" visibility="public"
  13409. deprecated="not deprecated">
  13410. </constructor>
  13411. <method name="getSplits" return="java.util.List"
  13412. abstract="true" native="false" synchronized="false"
  13413. static="false" final="false" visibility="public"
  13414. deprecated="not deprecated">
  13415. <param name="context" type="org.apache.hadoop.mapreduce.JobContext"/>
  13416. <exception name="IOException" type="java.io.IOException"/>
  13417. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13418. <doc>
  13419. <![CDATA[Logically split the set of input files for the job.
  13420. <p>Each {@link InputSplit} is then assigned to an individual {@link Mapper}
  13421. for processing.</p>
  13422. <p><i>Note</i>: The split is a <i>logical</i> split of the inputs and the
  13423. input files are not physically split into chunks. For e.g. a split could
  13424. be <i>&lt;input-file-path, start, offset&gt;</i> tuple. The InputFormat
  13425. also creates the {@link RecordReader} to read the {@link InputSplit}.
  13426. @param context job configuration.
  13427. @return an array of {@link InputSplit}s for the job.]]>
  13428. </doc>
  13429. </method>
  13430. <method name="createRecordReader" return="org.apache.hadoop.mapreduce.RecordReader"
  13431. abstract="true" native="false" synchronized="false"
  13432. static="false" final="false" visibility="public"
  13433. deprecated="not deprecated">
  13434. <param name="split" type="org.apache.hadoop.mapreduce.InputSplit"/>
  13435. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  13436. <exception name="IOException" type="java.io.IOException"/>
  13437. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13438. <doc>
  13439. <![CDATA[Create a record reader for a given split. The framework will call
  13440. {@link RecordReader#initialize(InputSplit, TaskAttemptContext)} before
  13441. the split is used.
  13442. @param split the split to be read
  13443. @param context the information about the task
  13444. @return a new record reader
  13445. @throws IOException
  13446. @throws InterruptedException]]>
  13447. </doc>
  13448. </method>
  13449. <doc>
  13450. <![CDATA[<code>InputFormat</code> describes the input-specification for a
  13451. Map-Reduce job.
  13452. <p>The Map-Reduce framework relies on the <code>InputFormat</code> of the
  13453. job to:<p>
  13454. <ol>
  13455. <li>
  13456. Validate the input-specification of the job.
  13457. <li>
  13458. Split-up the input file(s) into logical {@link InputSplit}s, each of
  13459. which is then assigned to an individual {@link Mapper}.
  13460. </li>
  13461. <li>
  13462. Provide the {@link RecordReader} implementation to be used to glean
  13463. input records from the logical <code>InputSplit</code> for processing by
  13464. the {@link Mapper}.
  13465. </li>
  13466. </ol>
  13467. <p>The default behavior of file-based {@link InputFormat}s, typically
  13468. sub-classes of {@link FileInputFormat}, is to split the
  13469. input into <i>logical</i> {@link InputSplit}s based on the total size, in
  13470. bytes, of the input files. However, the {@link FileSystem} blocksize of
  13471. the input files is treated as an upper bound for input splits. A lower bound
  13472. on the split size can be set via
  13473. <a href="{@docRoot}/../mapred-default.html#mapreduce.input.fileinputformat.split.minsize">
  13474. mapreduce.input.fileinputformat.split.minsize</a>.</p>
  13475. <p>Clearly, logical splits based on input-size is insufficient for many
  13476. applications since record boundaries are to respected. In such cases, the
  13477. application has to also implement a {@link RecordReader} on whom lies the
  13478. responsibility to respect record-boundaries and present a record-oriented
  13479. view of the logical <code>InputSplit</code> to the individual task.
  13480. @see InputSplit
  13481. @see RecordReader
  13482. @see FileInputFormat]]>
  13483. </doc>
  13484. </class>
  13485. <!-- end class org.apache.hadoop.mapreduce.InputFormat -->
  13486. <!-- start class org.apache.hadoop.mapreduce.InputSplit -->
  13487. <class name="InputSplit" extends="java.lang.Object"
  13488. abstract="true"
  13489. static="false" final="false" visibility="public"
  13490. deprecated="not deprecated">
  13491. <constructor name="InputSplit"
  13492. static="false" final="false" visibility="public"
  13493. deprecated="not deprecated">
  13494. </constructor>
  13495. <method name="getLength" return="long"
  13496. abstract="true" native="false" synchronized="false"
  13497. static="false" final="false" visibility="public"
  13498. deprecated="not deprecated">
  13499. <exception name="IOException" type="java.io.IOException"/>
  13500. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13501. <doc>
  13502. <![CDATA[Get the size of the split, so that the input splits can be sorted by size.
  13503. @return the number of bytes in the split
  13504. @throws IOException
  13505. @throws InterruptedException]]>
  13506. </doc>
  13507. </method>
  13508. <method name="getLocations" return="java.lang.String[]"
  13509. abstract="true" native="false" synchronized="false"
  13510. static="false" final="false" visibility="public"
  13511. deprecated="not deprecated">
  13512. <exception name="IOException" type="java.io.IOException"/>
  13513. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13514. <doc>
  13515. <![CDATA[Get the list of nodes by name where the data for the split would be local.
  13516. The locations do not need to be serialized.
  13517. @return a new array of the node nodes.
  13518. @throws IOException
  13519. @throws InterruptedException]]>
  13520. </doc>
  13521. </method>
  13522. <doc>
  13523. <![CDATA[<code>InputSplit</code> represents the data to be processed by an
  13524. individual {@link Mapper}.
  13525. <p>Typically, it presents a byte-oriented view on the input and is the
  13526. responsibility of {@link RecordReader} of the job to process this and present
  13527. a record-oriented view.
  13528. @see InputFormat
  13529. @see RecordReader]]>
  13530. </doc>
  13531. </class>
  13532. <!-- end class org.apache.hadoop.mapreduce.InputSplit -->
  13533. <!-- start class org.apache.hadoop.mapreduce.Job -->
  13534. <class name="Job" extends="org.apache.hadoop.mapreduce.task.JobContextImpl"
  13535. abstract="false"
  13536. static="false" final="false" visibility="public"
  13537. deprecated="not deprecated">
  13538. <implements name="org.apache.hadoop.mapreduce.JobContext"/>
  13539. <constructor name="Job"
  13540. static="false" final="false" visibility="public"
  13541. deprecated="not deprecated">
  13542. <exception name="IOException" type="java.io.IOException"/>
  13543. </constructor>
  13544. <constructor name="Job" type="org.apache.hadoop.conf.Configuration"
  13545. static="false" final="false" visibility="public"
  13546. deprecated="not deprecated">
  13547. <exception name="IOException" type="java.io.IOException"/>
  13548. </constructor>
  13549. <constructor name="Job" type="org.apache.hadoop.conf.Configuration, java.lang.String"
  13550. static="false" final="false" visibility="public"
  13551. deprecated="not deprecated">
  13552. <exception name="IOException" type="java.io.IOException"/>
  13553. </constructor>
  13554. <method name="getInstance" return="org.apache.hadoop.mapreduce.Job"
  13555. abstract="false" native="false" synchronized="false"
  13556. static="true" final="false" visibility="public"
  13557. deprecated="not deprecated">
  13558. <param name="cluster" type="org.apache.hadoop.mapreduce.Cluster"/>
  13559. <exception name="IOException" type="java.io.IOException"/>
  13560. </method>
  13561. <method name="getInstance" return="org.apache.hadoop.mapreduce.Job"
  13562. abstract="false" native="false" synchronized="false"
  13563. static="true" final="false" visibility="public"
  13564. deprecated="not deprecated">
  13565. <param name="cluster" type="org.apache.hadoop.mapreduce.Cluster"/>
  13566. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  13567. <exception name="IOException" type="java.io.IOException"/>
  13568. </method>
  13569. <method name="getInstance" return="org.apache.hadoop.mapreduce.Job"
  13570. abstract="false" native="false" synchronized="false"
  13571. static="true" final="false" visibility="public"
  13572. deprecated="not deprecated">
  13573. <param name="cluster" type="org.apache.hadoop.mapreduce.Cluster"/>
  13574. <param name="status" type="org.apache.hadoop.mapreduce.JobStatus"/>
  13575. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  13576. <exception name="IOException" type="java.io.IOException"/>
  13577. </method>
  13578. <method name="getStatus" return="org.apache.hadoop.mapreduce.JobStatus"
  13579. abstract="false" native="false" synchronized="false"
  13580. static="false" final="false" visibility="public"
  13581. deprecated="not deprecated">
  13582. <exception name="IOException" type="java.io.IOException"/>
  13583. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13584. </method>
  13585. <method name="getJobState" return="org.apache.hadoop.mapreduce.JobStatus.State"
  13586. abstract="false" native="false" synchronized="false"
  13587. static="false" final="false" visibility="public"
  13588. deprecated="not deprecated">
  13589. <exception name="IOException" type="java.io.IOException"/>
  13590. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13591. <doc>
  13592. <![CDATA[Returns the current state of the Job.
  13593. @return JobStatus#State
  13594. @throws IOException
  13595. @throws InterruptedException]]>
  13596. </doc>
  13597. </method>
  13598. <method name="getTrackingURL" return="java.lang.String"
  13599. abstract="false" native="false" synchronized="false"
  13600. static="false" final="false" visibility="public"
  13601. deprecated="not deprecated">
  13602. <doc>
  13603. <![CDATA[Get the URL where some job progress information will be displayed.
  13604. @return the URL where some job progress information will be displayed.]]>
  13605. </doc>
  13606. </method>
  13607. <method name="getJobFile" return="java.lang.String"
  13608. abstract="false" native="false" synchronized="false"
  13609. static="false" final="false" visibility="public"
  13610. deprecated="not deprecated">
  13611. <doc>
  13612. <![CDATA[Get the path of the submitted job configuration.
  13613. @return the path of the submitted job configuration.]]>
  13614. </doc>
  13615. </method>
  13616. <method name="getStartTime" return="long"
  13617. abstract="false" native="false" synchronized="false"
  13618. static="false" final="false" visibility="public"
  13619. deprecated="not deprecated">
  13620. <doc>
  13621. <![CDATA[Get start time of the job.
  13622. @return the start time of the job]]>
  13623. </doc>
  13624. </method>
  13625. <method name="getFinishTime" return="long"
  13626. abstract="false" native="false" synchronized="false"
  13627. static="false" final="false" visibility="public"
  13628. deprecated="not deprecated">
  13629. <exception name="IOException" type="java.io.IOException"/>
  13630. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13631. <doc>
  13632. <![CDATA[Get finish time of the job.
  13633. @return the finish time of the job]]>
  13634. </doc>
  13635. </method>
  13636. <method name="getSchedulingInfo" return="java.lang.String"
  13637. abstract="false" native="false" synchronized="false"
  13638. static="false" final="false" visibility="public"
  13639. deprecated="not deprecated">
  13640. <doc>
  13641. <![CDATA[Get scheduling info of the job.
  13642. @return the scheduling info of the job]]>
  13643. </doc>
  13644. </method>
  13645. <method name="getPriority" return="org.apache.hadoop.mapreduce.JobPriority"
  13646. abstract="false" native="false" synchronized="false"
  13647. static="false" final="false" visibility="public"
  13648. deprecated="not deprecated">
  13649. <exception name="IOException" type="java.io.IOException"/>
  13650. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13651. <doc>
  13652. <![CDATA[Get scheduling info of the job.
  13653. @return the scheduling info of the job]]>
  13654. </doc>
  13655. </method>
  13656. <method name="getJobName" return="java.lang.String"
  13657. abstract="false" native="false" synchronized="false"
  13658. static="false" final="false" visibility="public"
  13659. deprecated="not deprecated">
  13660. <doc>
  13661. <![CDATA[The user-specified job name.]]>
  13662. </doc>
  13663. </method>
  13664. <method name="getHistoryUrl" return="java.lang.String"
  13665. abstract="false" native="false" synchronized="false"
  13666. static="false" final="false" visibility="public"
  13667. deprecated="not deprecated">
  13668. <exception name="IOException" type="java.io.IOException"/>
  13669. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13670. </method>
  13671. <method name="isRetired" return="boolean"
  13672. abstract="false" native="false" synchronized="false"
  13673. static="false" final="false" visibility="public"
  13674. deprecated="not deprecated">
  13675. <exception name="IOException" type="java.io.IOException"/>
  13676. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13677. </method>
  13678. <method name="toString" return="java.lang.String"
  13679. abstract="false" native="false" synchronized="false"
  13680. static="false" final="false" visibility="public"
  13681. deprecated="not deprecated">
  13682. <doc>
  13683. <![CDATA[Dump stats to screen.]]>
  13684. </doc>
  13685. </method>
  13686. <method name="getTaskReports" return="org.apache.hadoop.mapreduce.TaskReport[]"
  13687. abstract="false" native="false" synchronized="false"
  13688. static="false" final="false" visibility="public"
  13689. deprecated="not deprecated">
  13690. <param name="type" type="org.apache.hadoop.mapreduce.TaskType"/>
  13691. <exception name="IOException" type="java.io.IOException"/>
  13692. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13693. <doc>
  13694. <![CDATA[Get the information of the current state of the tasks of a job.
  13695. @param type Type of the task
  13696. @return the list of all of the map tips.
  13697. @throws IOException]]>
  13698. </doc>
  13699. </method>
  13700. <method name="mapProgress" return="float"
  13701. abstract="false" native="false" synchronized="false"
  13702. static="false" final="false" visibility="public"
  13703. deprecated="not deprecated">
  13704. <exception name="IOException" type="java.io.IOException"/>
  13705. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13706. <doc>
  13707. <![CDATA[Get the <i>progress</i> of the job's map-tasks, as a float between 0.0
  13708. and 1.0. When all map tasks have completed, the function returns 1.0.
  13709. @return the progress of the job's map-tasks.
  13710. @throws IOException]]>
  13711. </doc>
  13712. </method>
  13713. <method name="reduceProgress" return="float"
  13714. abstract="false" native="false" synchronized="false"
  13715. static="false" final="false" visibility="public"
  13716. deprecated="not deprecated">
  13717. <exception name="IOException" type="java.io.IOException"/>
  13718. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13719. <doc>
  13720. <![CDATA[Get the <i>progress</i> of the job's reduce-tasks, as a float between 0.0
  13721. and 1.0. When all reduce tasks have completed, the function returns 1.0.
  13722. @return the progress of the job's reduce-tasks.
  13723. @throws IOException]]>
  13724. </doc>
  13725. </method>
  13726. <method name="cleanupProgress" return="float"
  13727. abstract="false" native="false" synchronized="false"
  13728. static="false" final="false" visibility="public"
  13729. deprecated="not deprecated">
  13730. <exception name="IOException" type="java.io.IOException"/>
  13731. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13732. <doc>
  13733. <![CDATA[Get the <i>progress</i> of the job's cleanup-tasks, as a float between 0.0
  13734. and 1.0. When all cleanup tasks have completed, the function returns 1.0.
  13735. @return the progress of the job's cleanup-tasks.
  13736. @throws IOException]]>
  13737. </doc>
  13738. </method>
  13739. <method name="setupProgress" return="float"
  13740. abstract="false" native="false" synchronized="false"
  13741. static="false" final="false" visibility="public"
  13742. deprecated="not deprecated">
  13743. <exception name="IOException" type="java.io.IOException"/>
  13744. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13745. <doc>
  13746. <![CDATA[Get the <i>progress</i> of the job's setup-tasks, as a float between 0.0
  13747. and 1.0. When all setup tasks have completed, the function returns 1.0.
  13748. @return the progress of the job's setup-tasks.
  13749. @throws IOException]]>
  13750. </doc>
  13751. </method>
  13752. <method name="isComplete" return="boolean"
  13753. abstract="false" native="false" synchronized="false"
  13754. static="false" final="false" visibility="public"
  13755. deprecated="not deprecated">
  13756. <exception name="IOException" type="java.io.IOException"/>
  13757. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13758. <doc>
  13759. <![CDATA[Check if the job is finished or not.
  13760. This is a non-blocking call.
  13761. @return <code>true</code> if the job is complete, else <code>false</code>.
  13762. @throws IOException]]>
  13763. </doc>
  13764. </method>
  13765. <method name="isSuccessful" return="boolean"
  13766. abstract="false" native="false" synchronized="false"
  13767. static="false" final="false" visibility="public"
  13768. deprecated="not deprecated">
  13769. <exception name="IOException" type="java.io.IOException"/>
  13770. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13771. <doc>
  13772. <![CDATA[Check if the job completed successfully.
  13773. @return <code>true</code> if the job succeeded, else <code>false</code>.
  13774. @throws IOException]]>
  13775. </doc>
  13776. </method>
  13777. <method name="killJob"
  13778. abstract="false" native="false" synchronized="false"
  13779. static="false" final="false" visibility="public"
  13780. deprecated="not deprecated">
  13781. <exception name="IOException" type="java.io.IOException"/>
  13782. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13783. <doc>
  13784. <![CDATA[Kill the running job. Blocks until all job tasks have been
  13785. killed as well. If the job is no longer running, it simply returns.
  13786. @throws IOException]]>
  13787. </doc>
  13788. </method>
  13789. <method name="setPriority"
  13790. abstract="false" native="false" synchronized="false"
  13791. static="false" final="false" visibility="public"
  13792. deprecated="not deprecated">
  13793. <param name="priority" type="org.apache.hadoop.mapreduce.JobPriority"/>
  13794. <exception name="IOException" type="java.io.IOException"/>
  13795. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13796. <doc>
  13797. <![CDATA[Set the priority of a running job.
  13798. @param priority the new priority for the job.
  13799. @throws IOException]]>
  13800. </doc>
  13801. </method>
  13802. <method name="getTaskCompletionEvents" return="org.apache.hadoop.mapreduce.TaskCompletionEvent[]"
  13803. abstract="false" native="false" synchronized="false"
  13804. static="false" final="false" visibility="public"
  13805. deprecated="not deprecated">
  13806. <param name="startFrom" type="int"/>
  13807. <param name="numEvents" type="int"/>
  13808. <exception name="IOException" type="java.io.IOException"/>
  13809. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13810. <doc>
  13811. <![CDATA[Get events indicating completion (success/failure) of component tasks.
  13812. @param startFrom index to start fetching events from
  13813. @param numEvents number of events to fetch
  13814. @return an array of {@link TaskCompletionEvent}s
  13815. @throws IOException]]>
  13816. </doc>
  13817. </method>
  13818. <method name="killTask" return="boolean"
  13819. abstract="false" native="false" synchronized="false"
  13820. static="false" final="false" visibility="public"
  13821. deprecated="not deprecated">
  13822. <param name="taskId" type="org.apache.hadoop.mapreduce.TaskAttemptID"/>
  13823. <exception name="IOException" type="java.io.IOException"/>
  13824. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13825. <doc>
  13826. <![CDATA[Kill indicated task attempt.
  13827. @param taskId the id of the task to be terminated.
  13828. @throws IOException]]>
  13829. </doc>
  13830. </method>
  13831. <method name="failTask" return="boolean"
  13832. abstract="false" native="false" synchronized="false"
  13833. static="false" final="false" visibility="public"
  13834. deprecated="not deprecated">
  13835. <param name="taskId" type="org.apache.hadoop.mapreduce.TaskAttemptID"/>
  13836. <exception name="IOException" type="java.io.IOException"/>
  13837. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13838. <doc>
  13839. <![CDATA[Fail indicated task attempt.
  13840. @param taskId the id of the task to be terminated.
  13841. @throws IOException]]>
  13842. </doc>
  13843. </method>
  13844. <method name="getCounters" return="org.apache.hadoop.mapreduce.Counters"
  13845. abstract="false" native="false" synchronized="false"
  13846. static="false" final="false" visibility="public"
  13847. deprecated="not deprecated">
  13848. <exception name="IOException" type="java.io.IOException"/>
  13849. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13850. <doc>
  13851. <![CDATA[Gets the counters for this job. May return null if the job has been
  13852. retired and the job is no longer in the completed job store.
  13853. @return the counters for this job.
  13854. @throws IOException]]>
  13855. </doc>
  13856. </method>
  13857. <method name="getTaskDiagnostics" return="java.lang.String[]"
  13858. abstract="false" native="false" synchronized="false"
  13859. static="false" final="false" visibility="public"
  13860. deprecated="not deprecated">
  13861. <param name="taskid" type="org.apache.hadoop.mapreduce.TaskAttemptID"/>
  13862. <exception name="IOException" type="java.io.IOException"/>
  13863. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13864. <doc>
  13865. <![CDATA[Gets the diagnostic messages for a given task attempt.
  13866. @param taskid
  13867. @return the list of diagnostic messages for the task
  13868. @throws IOException]]>
  13869. </doc>
  13870. </method>
  13871. <method name="setNumReduceTasks"
  13872. abstract="false" native="false" synchronized="false"
  13873. static="false" final="false" visibility="public"
  13874. deprecated="not deprecated">
  13875. <param name="tasks" type="int"/>
  13876. <exception name="IllegalStateException" type="java.lang.IllegalStateException"/>
  13877. <doc>
  13878. <![CDATA[Set the number of reduce tasks for the job.
  13879. @param tasks the number of reduce tasks
  13880. @throws IllegalStateException if the job is submitted]]>
  13881. </doc>
  13882. </method>
  13883. <method name="setWorkingDirectory"
  13884. abstract="false" native="false" synchronized="false"
  13885. static="false" final="false" visibility="public"
  13886. deprecated="not deprecated">
  13887. <param name="dir" type="org.apache.hadoop.fs.Path"/>
  13888. <exception name="IOException" type="java.io.IOException"/>
  13889. <doc>
  13890. <![CDATA[Set the current working directory for the default file system.
  13891. @param dir the new current working directory.
  13892. @throws IllegalStateException if the job is submitted]]>
  13893. </doc>
  13894. </method>
  13895. <method name="setInputFormatClass"
  13896. abstract="false" native="false" synchronized="false"
  13897. static="false" final="false" visibility="public"
  13898. deprecated="not deprecated">
  13899. <param name="cls" type="java.lang.Class"/>
  13900. <exception name="IllegalStateException" type="java.lang.IllegalStateException"/>
  13901. <doc>
  13902. <![CDATA[Set the {@link InputFormat} for the job.
  13903. @param cls the <code>InputFormat</code> to use
  13904. @throws IllegalStateException if the job is submitted]]>
  13905. </doc>
  13906. </method>
  13907. <method name="setOutputFormatClass"
  13908. abstract="false" native="false" synchronized="false"
  13909. static="false" final="false" visibility="public"
  13910. deprecated="not deprecated">
  13911. <param name="cls" type="java.lang.Class"/>
  13912. <exception name="IllegalStateException" type="java.lang.IllegalStateException"/>
  13913. <doc>
  13914. <![CDATA[Set the {@link OutputFormat} for the job.
  13915. @param cls the <code>OutputFormat</code> to use
  13916. @throws IllegalStateException if the job is submitted]]>
  13917. </doc>
  13918. </method>
  13919. <method name="setMapperClass"
  13920. abstract="false" native="false" synchronized="false"
  13921. static="false" final="false" visibility="public"
  13922. deprecated="not deprecated">
  13923. <param name="cls" type="java.lang.Class"/>
  13924. <exception name="IllegalStateException" type="java.lang.IllegalStateException"/>
  13925. <doc>
  13926. <![CDATA[Set the {@link Mapper} for the job.
  13927. @param cls the <code>Mapper</code> to use
  13928. @throws IllegalStateException if the job is submitted]]>
  13929. </doc>
  13930. </method>
  13931. <method name="setJarByClass"
  13932. abstract="false" native="false" synchronized="false"
  13933. static="false" final="false" visibility="public"
  13934. deprecated="not deprecated">
  13935. <param name="cls" type="java.lang.Class"/>
  13936. <doc>
  13937. <![CDATA[Set the Jar by finding where a given class came from.
  13938. @param cls the example class]]>
  13939. </doc>
  13940. </method>
  13941. <method name="setJar"
  13942. abstract="false" native="false" synchronized="false"
  13943. static="false" final="false" visibility="public"
  13944. deprecated="not deprecated">
  13945. <param name="jar" type="java.lang.String"/>
  13946. <doc>
  13947. <![CDATA[Set the job jar]]>
  13948. </doc>
  13949. </method>
  13950. <method name="setUser"
  13951. abstract="false" native="false" synchronized="false"
  13952. static="false" final="false" visibility="public"
  13953. deprecated="not deprecated">
  13954. <param name="user" type="java.lang.String"/>
  13955. <doc>
  13956. <![CDATA[Set the reported username for this job.
  13957. @param user the username for this job.]]>
  13958. </doc>
  13959. </method>
  13960. <method name="setCombinerClass"
  13961. abstract="false" native="false" synchronized="false"
  13962. static="false" final="false" visibility="public"
  13963. deprecated="not deprecated">
  13964. <param name="cls" type="java.lang.Class"/>
  13965. <exception name="IllegalStateException" type="java.lang.IllegalStateException"/>
  13966. <doc>
  13967. <![CDATA[Set the combiner class for the job.
  13968. @param cls the combiner to use
  13969. @throws IllegalStateException if the job is submitted]]>
  13970. </doc>
  13971. </method>
  13972. <method name="setReducerClass"
  13973. abstract="false" native="false" synchronized="false"
  13974. static="false" final="false" visibility="public"
  13975. deprecated="not deprecated">
  13976. <param name="cls" type="java.lang.Class"/>
  13977. <exception name="IllegalStateException" type="java.lang.IllegalStateException"/>
  13978. <doc>
  13979. <![CDATA[Set the {@link Reducer} for the job.
  13980. @param cls the <code>Reducer</code> to use
  13981. @throws IllegalStateException if the job is submitted]]>
  13982. </doc>
  13983. </method>
  13984. <method name="setPartitionerClass"
  13985. abstract="false" native="false" synchronized="false"
  13986. static="false" final="false" visibility="public"
  13987. deprecated="not deprecated">
  13988. <param name="cls" type="java.lang.Class"/>
  13989. <exception name="IllegalStateException" type="java.lang.IllegalStateException"/>
  13990. <doc>
  13991. <![CDATA[Set the {@link Partitioner} for the job.
  13992. @param cls the <code>Partitioner</code> to use
  13993. @throws IllegalStateException if the job is submitted]]>
  13994. </doc>
  13995. </method>
  13996. <method name="setMapOutputKeyClass"
  13997. abstract="false" native="false" synchronized="false"
  13998. static="false" final="false" visibility="public"
  13999. deprecated="not deprecated">
  14000. <param name="theClass" type="java.lang.Class"/>
  14001. <exception name="IllegalStateException" type="java.lang.IllegalStateException"/>
  14002. <doc>
  14003. <![CDATA[Set the key class for the map output data. This allows the user to
  14004. specify the map output key class to be different than the final output
  14005. value class.
  14006. @param theClass the map output key class.
  14007. @throws IllegalStateException if the job is submitted]]>
  14008. </doc>
  14009. </method>
  14010. <method name="setMapOutputValueClass"
  14011. abstract="false" native="false" synchronized="false"
  14012. static="false" final="false" visibility="public"
  14013. deprecated="not deprecated">
  14014. <param name="theClass" type="java.lang.Class"/>
  14015. <exception name="IllegalStateException" type="java.lang.IllegalStateException"/>
  14016. <doc>
  14017. <![CDATA[Set the value class for the map output data. This allows the user to
  14018. specify the map output value class to be different than the final output
  14019. value class.
  14020. @param theClass the map output value class.
  14021. @throws IllegalStateException if the job is submitted]]>
  14022. </doc>
  14023. </method>
  14024. <method name="setOutputKeyClass"
  14025. abstract="false" native="false" synchronized="false"
  14026. static="false" final="false" visibility="public"
  14027. deprecated="not deprecated">
  14028. <param name="theClass" type="java.lang.Class"/>
  14029. <exception name="IllegalStateException" type="java.lang.IllegalStateException"/>
  14030. <doc>
  14031. <![CDATA[Set the key class for the job output data.
  14032. @param theClass the key class for the job output data.
  14033. @throws IllegalStateException if the job is submitted]]>
  14034. </doc>
  14035. </method>
  14036. <method name="setOutputValueClass"
  14037. abstract="false" native="false" synchronized="false"
  14038. static="false" final="false" visibility="public"
  14039. deprecated="not deprecated">
  14040. <param name="theClass" type="java.lang.Class"/>
  14041. <exception name="IllegalStateException" type="java.lang.IllegalStateException"/>
  14042. <doc>
  14043. <![CDATA[Set the value class for job outputs.
  14044. @param theClass the value class for job outputs.
  14045. @throws IllegalStateException if the job is submitted]]>
  14046. </doc>
  14047. </method>
  14048. <method name="setSortComparatorClass"
  14049. abstract="false" native="false" synchronized="false"
  14050. static="false" final="false" visibility="public"
  14051. deprecated="not deprecated">
  14052. <param name="cls" type="java.lang.Class"/>
  14053. <exception name="IllegalStateException" type="java.lang.IllegalStateException"/>
  14054. <doc>
  14055. <![CDATA[Define the comparator that controls how the keys are sorted before they
  14056. are passed to the {@link Reducer}.
  14057. @param cls the raw comparator
  14058. @throws IllegalStateException if the job is submitted]]>
  14059. </doc>
  14060. </method>
  14061. <method name="setGroupingComparatorClass"
  14062. abstract="false" native="false" synchronized="false"
  14063. static="false" final="false" visibility="public"
  14064. deprecated="not deprecated">
  14065. <param name="cls" type="java.lang.Class"/>
  14066. <exception name="IllegalStateException" type="java.lang.IllegalStateException"/>
  14067. <doc>
  14068. <![CDATA[Define the comparator that controls which keys are grouped together
  14069. for a single call to
  14070. {@link Reducer#reduce(Object, Iterable,
  14071. org.apache.hadoop.mapreduce.Reducer.Context)}
  14072. @param cls the raw comparator to use
  14073. @throws IllegalStateException if the job is submitted]]>
  14074. </doc>
  14075. </method>
  14076. <method name="setJobName"
  14077. abstract="false" native="false" synchronized="false"
  14078. static="false" final="false" visibility="public"
  14079. deprecated="not deprecated">
  14080. <param name="name" type="java.lang.String"/>
  14081. <exception name="IllegalStateException" type="java.lang.IllegalStateException"/>
  14082. <doc>
  14083. <![CDATA[Set the user-specified job name.
  14084. @param name the job's new name.
  14085. @throws IllegalStateException if the job is submitted]]>
  14086. </doc>
  14087. </method>
  14088. <method name="setSpeculativeExecution"
  14089. abstract="false" native="false" synchronized="false"
  14090. static="false" final="false" visibility="public"
  14091. deprecated="not deprecated">
  14092. <param name="speculativeExecution" type="boolean"/>
  14093. <doc>
  14094. <![CDATA[Turn speculative execution on or off for this job.
  14095. @param speculativeExecution <code>true</code> if speculative execution
  14096. should be turned on, else <code>false</code>.]]>
  14097. </doc>
  14098. </method>
  14099. <method name="setMapSpeculativeExecution"
  14100. abstract="false" native="false" synchronized="false"
  14101. static="false" final="false" visibility="public"
  14102. deprecated="not deprecated">
  14103. <param name="speculativeExecution" type="boolean"/>
  14104. <doc>
  14105. <![CDATA[Turn speculative execution on or off for this job for map tasks.
  14106. @param speculativeExecution <code>true</code> if speculative execution
  14107. should be turned on for map tasks,
  14108. else <code>false</code>.]]>
  14109. </doc>
  14110. </method>
  14111. <method name="setReduceSpeculativeExecution"
  14112. abstract="false" native="false" synchronized="false"
  14113. static="false" final="false" visibility="public"
  14114. deprecated="not deprecated">
  14115. <param name="speculativeExecution" type="boolean"/>
  14116. <doc>
  14117. <![CDATA[Turn speculative execution on or off for this job for reduce tasks.
  14118. @param speculativeExecution <code>true</code> if speculative execution
  14119. should be turned on for reduce tasks,
  14120. else <code>false</code>.]]>
  14121. </doc>
  14122. </method>
  14123. <method name="setJobSetupCleanupNeeded"
  14124. abstract="false" native="false" synchronized="false"
  14125. static="false" final="false" visibility="public"
  14126. deprecated="not deprecated">
  14127. <param name="needed" type="boolean"/>
  14128. <doc>
  14129. <![CDATA[Specify whether job-setup and job-cleanup is needed for the job
  14130. @param needed If <code>true</code>, job-setup and job-cleanup will be
  14131. considered from {@link OutputCommitter}
  14132. else ignored.]]>
  14133. </doc>
  14134. </method>
  14135. <method name="setCacheArchives"
  14136. abstract="false" native="false" synchronized="false"
  14137. static="false" final="false" visibility="public"
  14138. deprecated="not deprecated">
  14139. <param name="archives" type="java.net.URI[]"/>
  14140. <doc>
  14141. <![CDATA[Set the given set of archives
  14142. @param archives The list of archives that need to be localized]]>
  14143. </doc>
  14144. </method>
  14145. <method name="setCacheFiles"
  14146. abstract="false" native="false" synchronized="false"
  14147. static="false" final="false" visibility="public"
  14148. deprecated="not deprecated">
  14149. <param name="files" type="java.net.URI[]"/>
  14150. <doc>
  14151. <![CDATA[Set the given set of files
  14152. @param files The list of files that need to be localized]]>
  14153. </doc>
  14154. </method>
  14155. <method name="addCacheArchive"
  14156. abstract="false" native="false" synchronized="false"
  14157. static="false" final="false" visibility="public"
  14158. deprecated="not deprecated">
  14159. <param name="uri" type="java.net.URI"/>
  14160. <doc>
  14161. <![CDATA[Add a archives to be localized
  14162. @param uri The uri of the cache to be localized]]>
  14163. </doc>
  14164. </method>
  14165. <method name="addCacheFile"
  14166. abstract="false" native="false" synchronized="false"
  14167. static="false" final="false" visibility="public"
  14168. deprecated="not deprecated">
  14169. <param name="uri" type="java.net.URI"/>
  14170. <doc>
  14171. <![CDATA[Add a file to be localized
  14172. @param uri The uri of the cache to be localized]]>
  14173. </doc>
  14174. </method>
  14175. <method name="addFileToClassPath"
  14176. abstract="false" native="false" synchronized="false"
  14177. static="false" final="false" visibility="public"
  14178. deprecated="not deprecated">
  14179. <param name="file" type="org.apache.hadoop.fs.Path"/>
  14180. <exception name="IOException" type="java.io.IOException"/>
  14181. <doc>
  14182. <![CDATA[Add an file path to the current set of classpath entries It adds the file
  14183. to cache as well.
  14184. @param file Path of the file to be added]]>
  14185. </doc>
  14186. </method>
  14187. <method name="addArchiveToClassPath"
  14188. abstract="false" native="false" synchronized="false"
  14189. static="false" final="false" visibility="public"
  14190. deprecated="not deprecated">
  14191. <param name="archive" type="org.apache.hadoop.fs.Path"/>
  14192. <exception name="IOException" type="java.io.IOException"/>
  14193. <doc>
  14194. <![CDATA[Add an archive path to the current set of classpath entries. It adds the
  14195. archive to cache as well.
  14196. @param archive Path of the archive to be added]]>
  14197. </doc>
  14198. </method>
  14199. <method name="createSymlink"
  14200. abstract="false" native="false" synchronized="false"
  14201. static="false" final="false" visibility="public"
  14202. deprecated="not deprecated">
  14203. <doc>
  14204. <![CDATA[This method allows you to create symlinks in the current working directory
  14205. of the task to all the cache files/archives]]>
  14206. </doc>
  14207. </method>
  14208. <method name="setMaxMapAttempts"
  14209. abstract="false" native="false" synchronized="false"
  14210. static="false" final="false" visibility="public"
  14211. deprecated="not deprecated">
  14212. <param name="n" type="int"/>
  14213. <doc>
  14214. <![CDATA[Expert: Set the number of maximum attempts that will be made to run a
  14215. map task.
  14216. @param n the number of attempts per map task.]]>
  14217. </doc>
  14218. </method>
  14219. <method name="setMaxReduceAttempts"
  14220. abstract="false" native="false" synchronized="false"
  14221. static="false" final="false" visibility="public"
  14222. deprecated="not deprecated">
  14223. <param name="n" type="int"/>
  14224. <doc>
  14225. <![CDATA[Expert: Set the number of maximum attempts that will be made to run a
  14226. reduce task.
  14227. @param n the number of attempts per reduce task.]]>
  14228. </doc>
  14229. </method>
  14230. <method name="setProfileEnabled"
  14231. abstract="false" native="false" synchronized="false"
  14232. static="false" final="false" visibility="public"
  14233. deprecated="not deprecated">
  14234. <param name="newValue" type="boolean"/>
  14235. <doc>
  14236. <![CDATA[Set whether the system should collect profiler information for some of
  14237. the tasks in this job? The information is stored in the user log
  14238. directory.
  14239. @param newValue true means it should be gathered]]>
  14240. </doc>
  14241. </method>
  14242. <method name="setProfileParams"
  14243. abstract="false" native="false" synchronized="false"
  14244. static="false" final="false" visibility="public"
  14245. deprecated="not deprecated">
  14246. <param name="value" type="java.lang.String"/>
  14247. <doc>
  14248. <![CDATA[Set the profiler configuration arguments. If the string contains a '%s' it
  14249. will be replaced with the name of the profiling output file when the task
  14250. runs.
  14251. This value is passed to the task child JVM on the command line.
  14252. @param value the configuration string]]>
  14253. </doc>
  14254. </method>
  14255. <method name="setProfileTaskRange"
  14256. abstract="false" native="false" synchronized="false"
  14257. static="false" final="false" visibility="public"
  14258. deprecated="not deprecated">
  14259. <param name="isMap" type="boolean"/>
  14260. <param name="newValue" type="java.lang.String"/>
  14261. <doc>
  14262. <![CDATA[Set the ranges of maps or reduces to profile. setProfileEnabled(true)
  14263. must also be called.
  14264. @param newValue a set of integer ranges of the map ids]]>
  14265. </doc>
  14266. </method>
  14267. <method name="setCancelDelegationTokenUponJobCompletion"
  14268. abstract="false" native="false" synchronized="false"
  14269. static="false" final="false" visibility="public"
  14270. deprecated="not deprecated">
  14271. <param name="value" type="boolean"/>
  14272. <doc>
  14273. <![CDATA[Sets the flag that will allow the JobTracker to cancel the HDFS delegation
  14274. tokens upon job completion. Defaults to true.]]>
  14275. </doc>
  14276. </method>
  14277. <method name="submit"
  14278. abstract="false" native="false" synchronized="false"
  14279. static="false" final="false" visibility="public"
  14280. deprecated="not deprecated">
  14281. <exception name="IOException" type="java.io.IOException"/>
  14282. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  14283. <exception name="ClassNotFoundException" type="java.lang.ClassNotFoundException"/>
  14284. <doc>
  14285. <![CDATA[Submit the job to the cluster and return immediately.
  14286. @throws IOException]]>
  14287. </doc>
  14288. </method>
  14289. <method name="waitForCompletion" return="boolean"
  14290. abstract="false" native="false" synchronized="false"
  14291. static="false" final="false" visibility="public"
  14292. deprecated="not deprecated">
  14293. <param name="verbose" type="boolean"/>
  14294. <exception name="IOException" type="java.io.IOException"/>
  14295. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  14296. <exception name="ClassNotFoundException" type="java.lang.ClassNotFoundException"/>
  14297. <doc>
  14298. <![CDATA[Submit the job to the cluster and wait for it to finish.
  14299. @param verbose print the progress to the user
  14300. @return true if the job succeeded
  14301. @throws IOException thrown if the communication with the
  14302. <code>JobTracker</code> is lost]]>
  14303. </doc>
  14304. </method>
  14305. <method name="monitorAndPrintJob" return="boolean"
  14306. abstract="false" native="false" synchronized="false"
  14307. static="false" final="false" visibility="public"
  14308. deprecated="not deprecated">
  14309. <exception name="IOException" type="java.io.IOException"/>
  14310. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  14311. <doc>
  14312. <![CDATA[Monitor a job and print status in real-time as progress is made and tasks
  14313. fail.
  14314. @return true if the job succeeded
  14315. @throws IOException if communication to the JobTracker fails]]>
  14316. </doc>
  14317. </method>
  14318. <method name="getProgressPollInterval" return="int"
  14319. abstract="false" native="false" synchronized="false"
  14320. static="true" final="false" visibility="public"
  14321. deprecated="not deprecated">
  14322. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  14323. <doc>
  14324. <![CDATA[The interval at which monitorAndPrintJob() prints status]]>
  14325. </doc>
  14326. </method>
  14327. <method name="getCompletionPollInterval" return="int"
  14328. abstract="false" native="false" synchronized="false"
  14329. static="true" final="false" visibility="public"
  14330. deprecated="not deprecated">
  14331. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  14332. <doc>
  14333. <![CDATA[The interval at which waitForCompletion() should check.]]>
  14334. </doc>
  14335. </method>
  14336. <method name="getTaskOutputFilter" return="org.apache.hadoop.mapreduce.Job.TaskStatusFilter"
  14337. abstract="false" native="false" synchronized="false"
  14338. static="true" final="false" visibility="public"
  14339. deprecated="not deprecated">
  14340. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  14341. <doc>
  14342. <![CDATA[Get the task output filter.
  14343. @param conf the configuration.
  14344. @return the filter level.]]>
  14345. </doc>
  14346. </method>
  14347. <method name="setTaskOutputFilter"
  14348. abstract="false" native="false" synchronized="false"
  14349. static="true" final="false" visibility="public"
  14350. deprecated="not deprecated">
  14351. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  14352. <param name="newValue" type="org.apache.hadoop.mapreduce.Job.TaskStatusFilter"/>
  14353. <doc>
  14354. <![CDATA[Modify the Configuration to set the task output filter.
  14355. @param conf the Configuration to modify.
  14356. @param newValue the value to set.]]>
  14357. </doc>
  14358. </method>
  14359. <field name="OUTPUT_FILTER" type="java.lang.String"
  14360. transient="false" volatile="false"
  14361. static="true" final="true" visibility="public"
  14362. deprecated="not deprecated">
  14363. </field>
  14364. <field name="COMPLETION_POLL_INTERVAL_KEY" type="java.lang.String"
  14365. transient="false" volatile="false"
  14366. static="true" final="true" visibility="public"
  14367. deprecated="not deprecated">
  14368. <doc>
  14369. <![CDATA[Key in mapred-*.xml that sets completionPollInvervalMillis]]>
  14370. </doc>
  14371. </field>
  14372. <field name="PROGRESS_MONITOR_POLL_INTERVAL_KEY" type="java.lang.String"
  14373. transient="false" volatile="false"
  14374. static="true" final="true" visibility="public"
  14375. deprecated="not deprecated">
  14376. <doc>
  14377. <![CDATA[Key in mapred-*.xml that sets progMonitorPollIntervalMillis]]>
  14378. </doc>
  14379. </field>
  14380. <field name="USED_GENERIC_PARSER" type="java.lang.String"
  14381. transient="false" volatile="false"
  14382. static="true" final="true" visibility="public"
  14383. deprecated="not deprecated">
  14384. </field>
  14385. <field name="SUBMIT_REPLICATION" type="java.lang.String"
  14386. transient="false" volatile="false"
  14387. static="true" final="true" visibility="public"
  14388. deprecated="not deprecated">
  14389. </field>
  14390. <doc>
  14391. <![CDATA[The job submitter's view of the Job.
  14392. <p>It allows the user to configure the
  14393. job, submit it, control its execution, and query the state. The set methods
  14394. only work until the job is submitted, afterwards they will throw an
  14395. IllegalStateException. </p>
  14396. <p>
  14397. Normally the user creates the application, describes various facets of the
  14398. job via {@link Job} and then submits the job and monitor its progress.</p>
  14399. <p>Here is an example on how to submit a job:</p>
  14400. <p><blockquote><pre>
  14401. // Create a new Job
  14402. Job job = new Job(new Configuration());
  14403. job.setJarByClass(MyJob.class);
  14404. // Specify various job-specific parameters
  14405. job.setJobName("myjob");
  14406. job.setInputPath(new Path("in"));
  14407. job.setOutputPath(new Path("out"));
  14408. job.setMapperClass(MyJob.MyMapper.class);
  14409. job.setReducerClass(MyJob.MyReducer.class);
  14410. // Submit the job, then poll for progress until the job is complete
  14411. job.waitForCompletion(true);
  14412. </pre></blockquote></p>]]>
  14413. </doc>
  14414. </class>
  14415. <!-- end class org.apache.hadoop.mapreduce.Job -->
  14416. <!-- start class org.apache.hadoop.mapreduce.Job.JobState -->
  14417. <class name="Job.JobState" extends="java.lang.Enum"
  14418. abstract="false"
  14419. static="true" final="true" visibility="public"
  14420. deprecated="not deprecated">
  14421. <method name="values" return="org.apache.hadoop.mapreduce.Job.JobState[]"
  14422. abstract="false" native="false" synchronized="false"
  14423. static="true" final="false" visibility="public"
  14424. deprecated="not deprecated">
  14425. </method>
  14426. <method name="valueOf" return="org.apache.hadoop.mapreduce.Job.JobState"
  14427. abstract="false" native="false" synchronized="false"
  14428. static="true" final="false" visibility="public"
  14429. deprecated="not deprecated">
  14430. <param name="name" type="java.lang.String"/>
  14431. </method>
  14432. </class>
  14433. <!-- end class org.apache.hadoop.mapreduce.Job.JobState -->
  14434. <!-- start class org.apache.hadoop.mapreduce.Job.TaskStatusFilter -->
  14435. <class name="Job.TaskStatusFilter" extends="java.lang.Enum"
  14436. abstract="false"
  14437. static="true" final="true" visibility="public"
  14438. deprecated="not deprecated">
  14439. <method name="values" return="org.apache.hadoop.mapreduce.Job.TaskStatusFilter[]"
  14440. abstract="false" native="false" synchronized="false"
  14441. static="true" final="false" visibility="public"
  14442. deprecated="not deprecated">
  14443. </method>
  14444. <method name="valueOf" return="org.apache.hadoop.mapreduce.Job.TaskStatusFilter"
  14445. abstract="false" native="false" synchronized="false"
  14446. static="true" final="false" visibility="public"
  14447. deprecated="not deprecated">
  14448. <param name="name" type="java.lang.String"/>
  14449. </method>
  14450. </class>
  14451. <!-- end class org.apache.hadoop.mapreduce.Job.TaskStatusFilter -->
  14452. <!-- start interface org.apache.hadoop.mapreduce.JobContext -->
  14453. <interface name="JobContext" abstract="true"
  14454. static="false" final="false" visibility="public"
  14455. deprecated="not deprecated">
  14456. <implements name="org.apache.hadoop.mapreduce.MRJobConfig"/>
  14457. <method name="getConfiguration" return="org.apache.hadoop.conf.Configuration"
  14458. abstract="false" native="false" synchronized="false"
  14459. static="false" final="false" visibility="public"
  14460. deprecated="not deprecated">
  14461. <doc>
  14462. <![CDATA[Return the configuration for the job.
  14463. @return the shared configuration object]]>
  14464. </doc>
  14465. </method>
  14466. <method name="getJobID" return="org.apache.hadoop.mapreduce.JobID"
  14467. abstract="false" native="false" synchronized="false"
  14468. static="false" final="false" visibility="public"
  14469. deprecated="not deprecated">
  14470. <doc>
  14471. <![CDATA[Get the unique ID for the job.
  14472. @return the object with the job id]]>
  14473. </doc>
  14474. </method>
  14475. <method name="getNumReduceTasks" return="int"
  14476. abstract="false" native="false" synchronized="false"
  14477. static="false" final="false" visibility="public"
  14478. deprecated="not deprecated">
  14479. <doc>
  14480. <![CDATA[Get configured the number of reduce tasks for this job. Defaults to
  14481. <code>1</code>.
  14482. @return the number of reduce tasks for this job.]]>
  14483. </doc>
  14484. </method>
  14485. <method name="getWorkingDirectory" return="org.apache.hadoop.fs.Path"
  14486. abstract="false" native="false" synchronized="false"
  14487. static="false" final="false" visibility="public"
  14488. deprecated="not deprecated">
  14489. <exception name="IOException" type="java.io.IOException"/>
  14490. <doc>
  14491. <![CDATA[Get the current working directory for the default file system.
  14492. @return the directory name.]]>
  14493. </doc>
  14494. </method>
  14495. <method name="getOutputKeyClass" return="java.lang.Class"
  14496. abstract="false" native="false" synchronized="false"
  14497. static="false" final="false" visibility="public"
  14498. deprecated="not deprecated">
  14499. <doc>
  14500. <![CDATA[Get the key class for the job output data.
  14501. @return the key class for the job output data.]]>
  14502. </doc>
  14503. </method>
  14504. <method name="getOutputValueClass" return="java.lang.Class"
  14505. abstract="false" native="false" synchronized="false"
  14506. static="false" final="false" visibility="public"
  14507. deprecated="not deprecated">
  14508. <doc>
  14509. <![CDATA[Get the value class for job outputs.
  14510. @return the value class for job outputs.]]>
  14511. </doc>
  14512. </method>
  14513. <method name="getMapOutputKeyClass" return="java.lang.Class"
  14514. abstract="false" native="false" synchronized="false"
  14515. static="false" final="false" visibility="public"
  14516. deprecated="not deprecated">
  14517. <doc>
  14518. <![CDATA[Get the key class for the map output data. If it is not set, use the
  14519. (final) output key class. This allows the map output key class to be
  14520. different than the final output key class.
  14521. @return the map output key class.]]>
  14522. </doc>
  14523. </method>
  14524. <method name="getMapOutputValueClass" return="java.lang.Class"
  14525. abstract="false" native="false" synchronized="false"
  14526. static="false" final="false" visibility="public"
  14527. deprecated="not deprecated">
  14528. <doc>
  14529. <![CDATA[Get the value class for the map output data. If it is not set, use the
  14530. (final) output value class This allows the map output value class to be
  14531. different than the final output value class.
  14532. @return the map output value class.]]>
  14533. </doc>
  14534. </method>
  14535. <method name="getJobName" return="java.lang.String"
  14536. abstract="false" native="false" synchronized="false"
  14537. static="false" final="false" visibility="public"
  14538. deprecated="not deprecated">
  14539. <doc>
  14540. <![CDATA[Get the user-specified job name. This is only used to identify the
  14541. job to the user.
  14542. @return the job's name, defaulting to "".]]>
  14543. </doc>
  14544. </method>
  14545. <method name="getInputFormatClass" return="java.lang.Class"
  14546. abstract="false" native="false" synchronized="false"
  14547. static="false" final="false" visibility="public"
  14548. deprecated="not deprecated">
  14549. <exception name="ClassNotFoundException" type="java.lang.ClassNotFoundException"/>
  14550. <doc>
  14551. <![CDATA[Get the {@link InputFormat} class for the job.
  14552. @return the {@link InputFormat} class for the job.]]>
  14553. </doc>
  14554. </method>
  14555. <method name="getMapperClass" return="java.lang.Class"
  14556. abstract="false" native="false" synchronized="false"
  14557. static="false" final="false" visibility="public"
  14558. deprecated="not deprecated">
  14559. <exception name="ClassNotFoundException" type="java.lang.ClassNotFoundException"/>
  14560. <doc>
  14561. <![CDATA[Get the {@link Mapper} class for the job.
  14562. @return the {@link Mapper} class for the job.]]>
  14563. </doc>
  14564. </method>
  14565. <method name="getCombinerClass" return="java.lang.Class"
  14566. abstract="false" native="false" synchronized="false"
  14567. static="false" final="false" visibility="public"
  14568. deprecated="not deprecated">
  14569. <exception name="ClassNotFoundException" type="java.lang.ClassNotFoundException"/>
  14570. <doc>
  14571. <![CDATA[Get the combiner class for the job.
  14572. @return the combiner class for the job.]]>
  14573. </doc>
  14574. </method>
  14575. <method name="getReducerClass" return="java.lang.Class"
  14576. abstract="false" native="false" synchronized="false"
  14577. static="false" final="false" visibility="public"
  14578. deprecated="not deprecated">
  14579. <exception name="ClassNotFoundException" type="java.lang.ClassNotFoundException"/>
  14580. <doc>
  14581. <![CDATA[Get the {@link Reducer} class for the job.
  14582. @return the {@link Reducer} class for the job.]]>
  14583. </doc>
  14584. </method>
  14585. <method name="getOutputFormatClass" return="java.lang.Class"
  14586. abstract="false" native="false" synchronized="false"
  14587. static="false" final="false" visibility="public"
  14588. deprecated="not deprecated">
  14589. <exception name="ClassNotFoundException" type="java.lang.ClassNotFoundException"/>
  14590. <doc>
  14591. <![CDATA[Get the {@link OutputFormat} class for the job.
  14592. @return the {@link OutputFormat} class for the job.]]>
  14593. </doc>
  14594. </method>
  14595. <method name="getPartitionerClass" return="java.lang.Class"
  14596. abstract="false" native="false" synchronized="false"
  14597. static="false" final="false" visibility="public"
  14598. deprecated="not deprecated">
  14599. <exception name="ClassNotFoundException" type="java.lang.ClassNotFoundException"/>
  14600. <doc>
  14601. <![CDATA[Get the {@link Partitioner} class for the job.
  14602. @return the {@link Partitioner} class for the job.]]>
  14603. </doc>
  14604. </method>
  14605. <method name="getSortComparator" return="org.apache.hadoop.io.RawComparator"
  14606. abstract="false" native="false" synchronized="false"
  14607. static="false" final="false" visibility="public"
  14608. deprecated="not deprecated">
  14609. <doc>
  14610. <![CDATA[Get the {@link RawComparator} comparator used to compare keys.
  14611. @return the {@link RawComparator} comparator used to compare keys.]]>
  14612. </doc>
  14613. </method>
  14614. <method name="getJar" return="java.lang.String"
  14615. abstract="false" native="false" synchronized="false"
  14616. static="false" final="false" visibility="public"
  14617. deprecated="not deprecated">
  14618. <doc>
  14619. <![CDATA[Get the pathname of the job's jar.
  14620. @return the pathname]]>
  14621. </doc>
  14622. </method>
  14623. <method name="getGroupingComparator" return="org.apache.hadoop.io.RawComparator"
  14624. abstract="false" native="false" synchronized="false"
  14625. static="false" final="false" visibility="public"
  14626. deprecated="not deprecated">
  14627. <doc>
  14628. <![CDATA[Get the user defined {@link RawComparator} comparator for
  14629. grouping keys of inputs to the reduce.
  14630. @return comparator set by the user for grouping values.
  14631. @see Job#setGroupingComparatorClass(Class) for details.]]>
  14632. </doc>
  14633. </method>
  14634. <method name="getJobSetupCleanupNeeded" return="boolean"
  14635. abstract="false" native="false" synchronized="false"
  14636. static="false" final="false" visibility="public"
  14637. deprecated="not deprecated">
  14638. <doc>
  14639. <![CDATA[Get whether job-setup and job-cleanup is needed for the job
  14640. @return boolean]]>
  14641. </doc>
  14642. </method>
  14643. <method name="getProfileEnabled" return="boolean"
  14644. abstract="false" native="false" synchronized="false"
  14645. static="false" final="false" visibility="public"
  14646. deprecated="not deprecated">
  14647. <doc>
  14648. <![CDATA[Get whether the task profiling is enabled.
  14649. @return true if some tasks will be profiled]]>
  14650. </doc>
  14651. </method>
  14652. <method name="getProfileParams" return="java.lang.String"
  14653. abstract="false" native="false" synchronized="false"
  14654. static="false" final="false" visibility="public"
  14655. deprecated="not deprecated">
  14656. <doc>
  14657. <![CDATA[Get the profiler configuration arguments.
  14658. The default value for this property is
  14659. "-agentlib:hprof=cpu=samples,heap=sites,force=n,thread=y,verbose=n,file=%s"
  14660. @return the parameters to pass to the task child to configure profiling]]>
  14661. </doc>
  14662. </method>
  14663. <method name="getProfileTaskRange" return="org.apache.hadoop.conf.Configuration.IntegerRanges"
  14664. abstract="false" native="false" synchronized="false"
  14665. static="false" final="false" visibility="public"
  14666. deprecated="not deprecated">
  14667. <param name="isMap" type="boolean"/>
  14668. <doc>
  14669. <![CDATA[Get the range of maps or reduces to profile.
  14670. @param isMap is the task a map?
  14671. @return the task ranges]]>
  14672. </doc>
  14673. </method>
  14674. <method name="getUser" return="java.lang.String"
  14675. abstract="false" native="false" synchronized="false"
  14676. static="false" final="false" visibility="public"
  14677. deprecated="not deprecated">
  14678. <doc>
  14679. <![CDATA[Get the reported username for this job.
  14680. @return the username]]>
  14681. </doc>
  14682. </method>
  14683. <method name="getSymlink" return="boolean"
  14684. abstract="false" native="false" synchronized="false"
  14685. static="false" final="false" visibility="public"
  14686. deprecated="not deprecated">
  14687. <doc>
  14688. <![CDATA[This method checks to see if symlinks are to be create for the
  14689. localized cache files in the current working directory
  14690. @return true if symlinks are to be created- else return false]]>
  14691. </doc>
  14692. </method>
  14693. <method name="getArchiveClassPaths" return="org.apache.hadoop.fs.Path[]"
  14694. abstract="false" native="false" synchronized="false"
  14695. static="false" final="false" visibility="public"
  14696. deprecated="not deprecated">
  14697. <doc>
  14698. <![CDATA[Get the archive entries in classpath as an array of Path]]>
  14699. </doc>
  14700. </method>
  14701. <method name="getCacheArchives" return="java.net.URI[]"
  14702. abstract="false" native="false" synchronized="false"
  14703. static="false" final="false" visibility="public"
  14704. deprecated="not deprecated">
  14705. <exception name="IOException" type="java.io.IOException"/>
  14706. <doc>
  14707. <![CDATA[Get cache archives set in the Configuration
  14708. @return A URI array of the caches set in the Configuration
  14709. @throws IOException]]>
  14710. </doc>
  14711. </method>
  14712. <method name="getCacheFiles" return="java.net.URI[]"
  14713. abstract="false" native="false" synchronized="false"
  14714. static="false" final="false" visibility="public"
  14715. deprecated="not deprecated">
  14716. <exception name="IOException" type="java.io.IOException"/>
  14717. <doc>
  14718. <![CDATA[Get cache files set in the Configuration
  14719. @return A URI array of the files set in the Configuration
  14720. @throws IOException]]>
  14721. </doc>
  14722. </method>
  14723. <method name="getLocalCacheArchives" return="org.apache.hadoop.fs.Path[]"
  14724. abstract="false" native="false" synchronized="false"
  14725. static="false" final="false" visibility="public"
  14726. deprecated="not deprecated">
  14727. <exception name="IOException" type="java.io.IOException"/>
  14728. <doc>
  14729. <![CDATA[Return the path array of the localized caches
  14730. @return A path array of localized caches
  14731. @throws IOException]]>
  14732. </doc>
  14733. </method>
  14734. <method name="getLocalCacheFiles" return="org.apache.hadoop.fs.Path[]"
  14735. abstract="false" native="false" synchronized="false"
  14736. static="false" final="false" visibility="public"
  14737. deprecated="not deprecated">
  14738. <exception name="IOException" type="java.io.IOException"/>
  14739. <doc>
  14740. <![CDATA[Return the path array of the localized files
  14741. @return A path array of localized files
  14742. @throws IOException]]>
  14743. </doc>
  14744. </method>
  14745. <method name="getFileClassPaths" return="org.apache.hadoop.fs.Path[]"
  14746. abstract="false" native="false" synchronized="false"
  14747. static="false" final="false" visibility="public"
  14748. deprecated="not deprecated">
  14749. <doc>
  14750. <![CDATA[Get the file entries in classpath as an array of Path]]>
  14751. </doc>
  14752. </method>
  14753. <method name="getArchiveTimestamps" return="java.lang.String[]"
  14754. abstract="false" native="false" synchronized="false"
  14755. static="false" final="false" visibility="public"
  14756. deprecated="not deprecated">
  14757. <doc>
  14758. <![CDATA[Get the timestamps of the archives. Used by internal
  14759. DistributedCache and MapReduce code.
  14760. @return a string array of timestamps
  14761. @throws IOException]]>
  14762. </doc>
  14763. </method>
  14764. <method name="getFileTimestamps" return="java.lang.String[]"
  14765. abstract="false" native="false" synchronized="false"
  14766. static="false" final="false" visibility="public"
  14767. deprecated="not deprecated">
  14768. <doc>
  14769. <![CDATA[Get the timestamps of the files. Used by internal
  14770. DistributedCache and MapReduce code.
  14771. @return a string array of timestamps
  14772. @throws IOException]]>
  14773. </doc>
  14774. </method>
  14775. <method name="getMaxMapAttempts" return="int"
  14776. abstract="false" native="false" synchronized="false"
  14777. static="false" final="false" visibility="public"
  14778. deprecated="not deprecated">
  14779. <doc>
  14780. <![CDATA[Get the configured number of maximum attempts that will be made to run a
  14781. map task, as specified by the <code>mapred.map.max.attempts</code>
  14782. property. If this property is not already set, the default is 4 attempts.
  14783. @return the max number of attempts per map task.]]>
  14784. </doc>
  14785. </method>
  14786. <method name="getMaxReduceAttempts" return="int"
  14787. abstract="false" native="false" synchronized="false"
  14788. static="false" final="false" visibility="public"
  14789. deprecated="not deprecated">
  14790. <doc>
  14791. <![CDATA[Get the configured number of maximum attempts that will be made to run a
  14792. reduce task, as specified by the <code>mapred.reduce.max.attempts</code>
  14793. property. If this property is not already set, the default is 4 attempts.
  14794. @return the max number of attempts per reduce task.]]>
  14795. </doc>
  14796. </method>
  14797. <doc>
  14798. <![CDATA[A read-only view of the job that is provided to the tasks while they
  14799. are running.]]>
  14800. </doc>
  14801. </interface>
  14802. <!-- end interface org.apache.hadoop.mapreduce.JobContext -->
  14803. <!-- start class org.apache.hadoop.mapreduce.JobCounter -->
  14804. <class name="JobCounter" extends="java.lang.Enum"
  14805. abstract="false"
  14806. static="false" final="true" visibility="public"
  14807. deprecated="not deprecated">
  14808. <method name="values" return="org.apache.hadoop.mapreduce.JobCounter[]"
  14809. abstract="false" native="false" synchronized="false"
  14810. static="true" final="false" visibility="public"
  14811. deprecated="not deprecated">
  14812. </method>
  14813. <method name="valueOf" return="org.apache.hadoop.mapreduce.JobCounter"
  14814. abstract="false" native="false" synchronized="false"
  14815. static="true" final="false" visibility="public"
  14816. deprecated="not deprecated">
  14817. <param name="name" type="java.lang.String"/>
  14818. </method>
  14819. </class>
  14820. <!-- end class org.apache.hadoop.mapreduce.JobCounter -->
  14821. <!-- start class org.apache.hadoop.mapreduce.JobID -->
  14822. <class name="JobID" extends="org.apache.hadoop.mapred.ID"
  14823. abstract="false"
  14824. static="false" final="false" visibility="public"
  14825. deprecated="not deprecated">
  14826. <implements name="java.lang.Comparable"/>
  14827. <constructor name="JobID" type="java.lang.String, int"
  14828. static="false" final="false" visibility="public"
  14829. deprecated="not deprecated">
  14830. <doc>
  14831. <![CDATA[Constructs a JobID object
  14832. @param jtIdentifier jobTracker identifier
  14833. @param id job number]]>
  14834. </doc>
  14835. </constructor>
  14836. <constructor name="JobID"
  14837. static="false" final="false" visibility="public"
  14838. deprecated="not deprecated">
  14839. </constructor>
  14840. <method name="getJtIdentifier" return="java.lang.String"
  14841. abstract="false" native="false" synchronized="false"
  14842. static="false" final="false" visibility="public"
  14843. deprecated="not deprecated">
  14844. </method>
  14845. <method name="equals" return="boolean"
  14846. abstract="false" native="false" synchronized="false"
  14847. static="false" final="false" visibility="public"
  14848. deprecated="not deprecated">
  14849. <param name="o" type="java.lang.Object"/>
  14850. </method>
  14851. <method name="compareTo" return="int"
  14852. abstract="false" native="false" synchronized="false"
  14853. static="false" final="false" visibility="public"
  14854. deprecated="not deprecated">
  14855. <param name="o" type="org.apache.hadoop.mapreduce.ID"/>
  14856. <doc>
  14857. <![CDATA[Compare JobIds by first jtIdentifiers, then by job numbers]]>
  14858. </doc>
  14859. </method>
  14860. <method name="appendTo" return="java.lang.StringBuilder"
  14861. abstract="false" native="false" synchronized="false"
  14862. static="false" final="false" visibility="public"
  14863. deprecated="not deprecated">
  14864. <param name="builder" type="java.lang.StringBuilder"/>
  14865. <doc>
  14866. <![CDATA[Add the stuff after the "job" prefix to the given builder. This is useful,
  14867. because the sub-ids use this substring at the start of their string.
  14868. @param builder the builder to append to
  14869. @return the builder that was passed in]]>
  14870. </doc>
  14871. </method>
  14872. <method name="hashCode" return="int"
  14873. abstract="false" native="false" synchronized="false"
  14874. static="false" final="false" visibility="public"
  14875. deprecated="not deprecated">
  14876. </method>
  14877. <method name="toString" return="java.lang.String"
  14878. abstract="false" native="false" synchronized="false"
  14879. static="false" final="false" visibility="public"
  14880. deprecated="not deprecated">
  14881. </method>
  14882. <method name="readFields"
  14883. abstract="false" native="false" synchronized="false"
  14884. static="false" final="false" visibility="public"
  14885. deprecated="not deprecated">
  14886. <param name="in" type="java.io.DataInput"/>
  14887. <exception name="IOException" type="java.io.IOException"/>
  14888. </method>
  14889. <method name="write"
  14890. abstract="false" native="false" synchronized="false"
  14891. static="false" final="false" visibility="public"
  14892. deprecated="not deprecated">
  14893. <param name="out" type="java.io.DataOutput"/>
  14894. <exception name="IOException" type="java.io.IOException"/>
  14895. </method>
  14896. <method name="forName" return="org.apache.hadoop.mapreduce.JobID"
  14897. abstract="false" native="false" synchronized="false"
  14898. static="true" final="false" visibility="public"
  14899. deprecated="not deprecated">
  14900. <param name="str" type="java.lang.String"/>
  14901. <exception name="IllegalArgumentException" type="java.lang.IllegalArgumentException"/>
  14902. <doc>
  14903. <![CDATA[Construct a JobId object from given string
  14904. @return constructed JobId object or null if the given String is null
  14905. @throws IllegalArgumentException if the given string is malformed]]>
  14906. </doc>
  14907. </method>
  14908. <field name="JOB" type="java.lang.String"
  14909. transient="false" volatile="false"
  14910. static="true" final="true" visibility="protected"
  14911. deprecated="not deprecated">
  14912. </field>
  14913. <field name="idFormat" type="java.text.NumberFormat"
  14914. transient="false" volatile="false"
  14915. static="true" final="true" visibility="protected"
  14916. deprecated="not deprecated">
  14917. </field>
  14918. <doc>
  14919. <![CDATA[JobID represents the immutable and unique identifier for
  14920. the job. JobID consists of two parts. First part
  14921. represents the jobtracker identifier, so that jobID to jobtracker map
  14922. is defined. For cluster setup this string is the jobtracker
  14923. start time, for local setting, it is "local".
  14924. Second part of the JobID is the job number. <br>
  14925. An example JobID is :
  14926. <code>job_200707121733_0003</code> , which represents the third job
  14927. running at the jobtracker started at <code>200707121733</code>.
  14928. <p>
  14929. Applications should never construct or parse JobID strings, but rather
  14930. use appropriate constructors or {@link #forName(String)} method.
  14931. @see TaskID
  14932. @see TaskAttemptID
  14933. @see org.apache.hadoop.mapred.JobTracker#getNewJobId()
  14934. @see org.apache.hadoop.mapred.JobTracker#getStartTime()]]>
  14935. </doc>
  14936. </class>
  14937. <!-- end class org.apache.hadoop.mapreduce.JobID -->
  14938. <!-- start class org.apache.hadoop.mapreduce.JobPriority -->
  14939. <class name="JobPriority" extends="java.lang.Enum"
  14940. abstract="false"
  14941. static="false" final="true" visibility="public"
  14942. deprecated="not deprecated">
  14943. <method name="values" return="org.apache.hadoop.mapreduce.JobPriority[]"
  14944. abstract="false" native="false" synchronized="false"
  14945. static="true" final="false" visibility="public"
  14946. deprecated="not deprecated">
  14947. </method>
  14948. <method name="valueOf" return="org.apache.hadoop.mapreduce.JobPriority"
  14949. abstract="false" native="false" synchronized="false"
  14950. static="true" final="false" visibility="public"
  14951. deprecated="not deprecated">
  14952. <param name="name" type="java.lang.String"/>
  14953. </method>
  14954. <doc>
  14955. <![CDATA[Used to describe the priority of the running job.]]>
  14956. </doc>
  14957. </class>
  14958. <!-- end class org.apache.hadoop.mapreduce.JobPriority -->
  14959. <!-- start class org.apache.hadoop.mapreduce.JobStatus -->
  14960. <class name="JobStatus" extends="java.lang.Object"
  14961. abstract="false"
  14962. static="false" final="false" visibility="public"
  14963. deprecated="not deprecated">
  14964. <implements name="org.apache.hadoop.io.Writable"/>
  14965. <implements name="java.lang.Cloneable"/>
  14966. <constructor name="JobStatus"
  14967. static="false" final="false" visibility="public"
  14968. deprecated="not deprecated">
  14969. </constructor>
  14970. <constructor name="JobStatus" type="org.apache.hadoop.mapreduce.JobID, float, float, float, float, org.apache.hadoop.mapreduce.JobStatus.State, org.apache.hadoop.mapreduce.JobPriority, java.lang.String, java.lang.String, java.lang.String, java.lang.String"
  14971. static="false" final="false" visibility="public"
  14972. deprecated="not deprecated">
  14973. <doc>
  14974. <![CDATA[Create a job status object for a given jobid.
  14975. @param jobid The jobid of the job
  14976. @param setupProgress The progress made on the setup
  14977. @param mapProgress The progress made on the maps
  14978. @param reduceProgress The progress made on the reduces
  14979. @param cleanupProgress The progress made on the cleanup
  14980. @param runState The current state of the job
  14981. @param jp Priority of the job.
  14982. @param user userid of the person who submitted the job.
  14983. @param jobName user-specified job name.
  14984. @param jobFile job configuration file.
  14985. @param trackingUrl link to the web-ui for details of the job.]]>
  14986. </doc>
  14987. </constructor>
  14988. <method name="setMapProgress"
  14989. abstract="false" native="false" synchronized="true"
  14990. static="false" final="false" visibility="protected"
  14991. deprecated="not deprecated">
  14992. <param name="p" type="float"/>
  14993. <doc>
  14994. <![CDATA[Sets the map progress of this job
  14995. @param p The value of map progress to set to]]>
  14996. </doc>
  14997. </method>
  14998. <method name="setCleanupProgress"
  14999. abstract="false" native="false" synchronized="true"
  15000. static="false" final="false" visibility="protected"
  15001. deprecated="not deprecated">
  15002. <param name="p" type="float"/>
  15003. <doc>
  15004. <![CDATA[Sets the cleanup progress of this job
  15005. @param p The value of cleanup progress to set to]]>
  15006. </doc>
  15007. </method>
  15008. <method name="setSetupProgress"
  15009. abstract="false" native="false" synchronized="true"
  15010. static="false" final="false" visibility="protected"
  15011. deprecated="not deprecated">
  15012. <param name="p" type="float"/>
  15013. <doc>
  15014. <![CDATA[Sets the setup progress of this job
  15015. @param p The value of setup progress to set to]]>
  15016. </doc>
  15017. </method>
  15018. <method name="setReduceProgress"
  15019. abstract="false" native="false" synchronized="true"
  15020. static="false" final="false" visibility="protected"
  15021. deprecated="not deprecated">
  15022. <param name="p" type="float"/>
  15023. <doc>
  15024. <![CDATA[Sets the reduce progress of this Job
  15025. @param p The value of reduce progress to set to]]>
  15026. </doc>
  15027. </method>
  15028. <method name="setPriority"
  15029. abstract="false" native="false" synchronized="true"
  15030. static="false" final="false" visibility="protected"
  15031. deprecated="not deprecated">
  15032. <param name="jp" type="org.apache.hadoop.mapreduce.JobPriority"/>
  15033. <doc>
  15034. <![CDATA[Set the priority of the job, defaulting to NORMAL.
  15035. @param jp new job priority]]>
  15036. </doc>
  15037. </method>
  15038. <method name="setFinishTime"
  15039. abstract="false" native="false" synchronized="true"
  15040. static="false" final="false" visibility="protected"
  15041. deprecated="not deprecated">
  15042. <param name="finishTime" type="long"/>
  15043. <doc>
  15044. <![CDATA[Set the finish time of the job
  15045. @param finishTime The finishTime of the job]]>
  15046. </doc>
  15047. </method>
  15048. <method name="setHistoryFile"
  15049. abstract="false" native="false" synchronized="true"
  15050. static="false" final="false" visibility="protected"
  15051. deprecated="not deprecated">
  15052. <param name="historyFile" type="java.lang.String"/>
  15053. <doc>
  15054. <![CDATA[Set the job history file url for a completed job]]>
  15055. </doc>
  15056. </method>
  15057. <method name="setTrackingUrl"
  15058. abstract="false" native="false" synchronized="true"
  15059. static="false" final="false" visibility="protected"
  15060. deprecated="not deprecated">
  15061. <param name="trackingUrl" type="java.lang.String"/>
  15062. <doc>
  15063. <![CDATA[Set the link to the web-ui for details of the job.]]>
  15064. </doc>
  15065. </method>
  15066. <method name="setRetired"
  15067. abstract="false" native="false" synchronized="true"
  15068. static="false" final="false" visibility="protected"
  15069. deprecated="not deprecated">
  15070. <doc>
  15071. <![CDATA[Set the job retire flag to true.]]>
  15072. </doc>
  15073. </method>
  15074. <method name="setState"
  15075. abstract="false" native="false" synchronized="true"
  15076. static="false" final="false" visibility="protected"
  15077. deprecated="not deprecated">
  15078. <param name="state" type="org.apache.hadoop.mapreduce.JobStatus.State"/>
  15079. <doc>
  15080. <![CDATA[Change the current run state of the job.]]>
  15081. </doc>
  15082. </method>
  15083. <method name="setStartTime"
  15084. abstract="false" native="false" synchronized="true"
  15085. static="false" final="false" visibility="protected"
  15086. deprecated="not deprecated">
  15087. <param name="startTime" type="long"/>
  15088. <doc>
  15089. <![CDATA[Set the start time of the job
  15090. @param startTime The startTime of the job]]>
  15091. </doc>
  15092. </method>
  15093. <method name="setUsername"
  15094. abstract="false" native="false" synchronized="true"
  15095. static="false" final="false" visibility="protected"
  15096. deprecated="not deprecated">
  15097. <param name="userName" type="java.lang.String"/>
  15098. <doc>
  15099. <![CDATA[@param userName The username of the job]]>
  15100. </doc>
  15101. </method>
  15102. <method name="setSchedulingInfo"
  15103. abstract="false" native="false" synchronized="true"
  15104. static="false" final="false" visibility="protected"
  15105. deprecated="not deprecated">
  15106. <param name="schedulingInfo" type="java.lang.String"/>
  15107. <doc>
  15108. <![CDATA[Used to set the scheduling information associated to a particular Job.
  15109. @param schedulingInfo Scheduling information of the job]]>
  15110. </doc>
  15111. </method>
  15112. <method name="setJobACLs"
  15113. abstract="false" native="false" synchronized="true"
  15114. static="false" final="false" visibility="protected"
  15115. deprecated="not deprecated">
  15116. <param name="acls" type="java.util.Map"/>
  15117. </method>
  15118. <method name="getMapProgress" return="float"
  15119. abstract="false" native="false" synchronized="true"
  15120. static="false" final="false" visibility="public"
  15121. deprecated="not deprecated">
  15122. <doc>
  15123. <![CDATA[@return Percentage of progress in maps]]>
  15124. </doc>
  15125. </method>
  15126. <method name="getCleanupProgress" return="float"
  15127. abstract="false" native="false" synchronized="true"
  15128. static="false" final="false" visibility="public"
  15129. deprecated="not deprecated">
  15130. <doc>
  15131. <![CDATA[@return Percentage of progress in cleanup]]>
  15132. </doc>
  15133. </method>
  15134. <method name="getSetupProgress" return="float"
  15135. abstract="false" native="false" synchronized="true"
  15136. static="false" final="false" visibility="public"
  15137. deprecated="not deprecated">
  15138. <doc>
  15139. <![CDATA[@return Percentage of progress in setup]]>
  15140. </doc>
  15141. </method>
  15142. <method name="getReduceProgress" return="float"
  15143. abstract="false" native="false" synchronized="true"
  15144. static="false" final="false" visibility="public"
  15145. deprecated="not deprecated">
  15146. <doc>
  15147. <![CDATA[@return Percentage of progress in reduce]]>
  15148. </doc>
  15149. </method>
  15150. <method name="getState" return="org.apache.hadoop.mapreduce.JobStatus.State"
  15151. abstract="false" native="false" synchronized="true"
  15152. static="false" final="false" visibility="public"
  15153. deprecated="not deprecated">
  15154. <doc>
  15155. <![CDATA[@return running state of the job]]>
  15156. </doc>
  15157. </method>
  15158. <method name="getStartTime" return="long"
  15159. abstract="false" native="false" synchronized="true"
  15160. static="false" final="false" visibility="public"
  15161. deprecated="not deprecated">
  15162. <doc>
  15163. <![CDATA[@return start time of the job]]>
  15164. </doc>
  15165. </method>
  15166. <method name="clone" return="java.lang.Object"
  15167. abstract="false" native="false" synchronized="false"
  15168. static="false" final="false" visibility="public"
  15169. deprecated="not deprecated">
  15170. </method>
  15171. <method name="getJobID" return="org.apache.hadoop.mapreduce.JobID"
  15172. abstract="false" native="false" synchronized="false"
  15173. static="false" final="false" visibility="public"
  15174. deprecated="not deprecated">
  15175. <doc>
  15176. <![CDATA[@return The jobid of the Job]]>
  15177. </doc>
  15178. </method>
  15179. <method name="getUsername" return="java.lang.String"
  15180. abstract="false" native="false" synchronized="true"
  15181. static="false" final="false" visibility="public"
  15182. deprecated="not deprecated">
  15183. <doc>
  15184. <![CDATA[@return the username of the job]]>
  15185. </doc>
  15186. </method>
  15187. <method name="getSchedulingInfo" return="java.lang.String"
  15188. abstract="false" native="false" synchronized="true"
  15189. static="false" final="false" visibility="public"
  15190. deprecated="not deprecated">
  15191. <doc>
  15192. <![CDATA[Gets the Scheduling information associated to a particular Job.
  15193. @return the scheduling information of the job]]>
  15194. </doc>
  15195. </method>
  15196. <method name="getJobACLs" return="java.util.Map"
  15197. abstract="false" native="false" synchronized="true"
  15198. static="false" final="false" visibility="public"
  15199. deprecated="not deprecated">
  15200. </method>
  15201. <method name="getPriority" return="org.apache.hadoop.mapreduce.JobPriority"
  15202. abstract="false" native="false" synchronized="true"
  15203. static="false" final="false" visibility="public"
  15204. deprecated="not deprecated">
  15205. <doc>
  15206. <![CDATA[Return the priority of the job
  15207. @return job priority]]>
  15208. </doc>
  15209. </method>
  15210. <method name="isJobComplete" return="boolean"
  15211. abstract="false" native="false" synchronized="true"
  15212. static="false" final="false" visibility="public"
  15213. deprecated="not deprecated">
  15214. <doc>
  15215. <![CDATA[Returns true if the status is for a completed job.]]>
  15216. </doc>
  15217. </method>
  15218. <method name="write"
  15219. abstract="false" native="false" synchronized="true"
  15220. static="false" final="false" visibility="public"
  15221. deprecated="not deprecated">
  15222. <param name="out" type="java.io.DataOutput"/>
  15223. <exception name="IOException" type="java.io.IOException"/>
  15224. </method>
  15225. <method name="readFields"
  15226. abstract="false" native="false" synchronized="true"
  15227. static="false" final="false" visibility="public"
  15228. deprecated="not deprecated">
  15229. <param name="in" type="java.io.DataInput"/>
  15230. <exception name="IOException" type="java.io.IOException"/>
  15231. </method>
  15232. <method name="getJobName" return="java.lang.String"
  15233. abstract="false" native="false" synchronized="false"
  15234. static="false" final="false" visibility="public"
  15235. deprecated="not deprecated">
  15236. <doc>
  15237. <![CDATA[Get the user-specified job name.]]>
  15238. </doc>
  15239. </method>
  15240. <method name="getJobFile" return="java.lang.String"
  15241. abstract="false" native="false" synchronized="false"
  15242. static="false" final="false" visibility="public"
  15243. deprecated="not deprecated">
  15244. <doc>
  15245. <![CDATA[Get the configuration file for the job.]]>
  15246. </doc>
  15247. </method>
  15248. <method name="getTrackingUrl" return="java.lang.String"
  15249. abstract="false" native="false" synchronized="true"
  15250. static="false" final="false" visibility="public"
  15251. deprecated="not deprecated">
  15252. <doc>
  15253. <![CDATA[Get the link to the web-ui for details of the job.]]>
  15254. </doc>
  15255. </method>
  15256. <method name="getFinishTime" return="long"
  15257. abstract="false" native="false" synchronized="true"
  15258. static="false" final="false" visibility="public"
  15259. deprecated="not deprecated">
  15260. <doc>
  15261. <![CDATA[Get the finish time of the job.]]>
  15262. </doc>
  15263. </method>
  15264. <method name="isRetired" return="boolean"
  15265. abstract="false" native="false" synchronized="true"
  15266. static="false" final="false" visibility="public"
  15267. deprecated="not deprecated">
  15268. <doc>
  15269. <![CDATA[Check whether the job has retired.]]>
  15270. </doc>
  15271. </method>
  15272. <method name="getHistoryFile" return="java.lang.String"
  15273. abstract="false" native="false" synchronized="true"
  15274. static="false" final="false" visibility="public"
  15275. deprecated="not deprecated">
  15276. <doc>
  15277. <![CDATA[@return the job history file name for a completed job. If job is not
  15278. completed or history file not available then return null.]]>
  15279. </doc>
  15280. </method>
  15281. <method name="toString" return="java.lang.String"
  15282. abstract="false" native="false" synchronized="false"
  15283. static="false" final="false" visibility="public"
  15284. deprecated="not deprecated">
  15285. </method>
  15286. <doc>
  15287. <![CDATA[Describes the current status of a job.]]>
  15288. </doc>
  15289. </class>
  15290. <!-- end class org.apache.hadoop.mapreduce.JobStatus -->
  15291. <!-- start class org.apache.hadoop.mapreduce.JobStatus.State -->
  15292. <class name="JobStatus.State" extends="java.lang.Enum"
  15293. abstract="false"
  15294. static="true" final="true" visibility="public"
  15295. deprecated="not deprecated">
  15296. <method name="values" return="org.apache.hadoop.mapreduce.JobStatus.State[]"
  15297. abstract="false" native="false" synchronized="false"
  15298. static="true" final="false" visibility="public"
  15299. deprecated="not deprecated">
  15300. </method>
  15301. <method name="valueOf" return="org.apache.hadoop.mapreduce.JobStatus.State"
  15302. abstract="false" native="false" synchronized="false"
  15303. static="true" final="false" visibility="public"
  15304. deprecated="not deprecated">
  15305. <param name="name" type="java.lang.String"/>
  15306. </method>
  15307. <method name="getValue" return="int"
  15308. abstract="false" native="false" synchronized="false"
  15309. static="false" final="false" visibility="public"
  15310. deprecated="not deprecated">
  15311. </method>
  15312. <doc>
  15313. <![CDATA[Current state of the job]]>
  15314. </doc>
  15315. </class>
  15316. <!-- end class org.apache.hadoop.mapreduce.JobStatus.State -->
  15317. <!-- start interface org.apache.hadoop.mapreduce.MapContext -->
  15318. <interface name="MapContext" abstract="true"
  15319. static="false" final="false" visibility="public"
  15320. deprecated="not deprecated">
  15321. <implements name="org.apache.hadoop.mapreduce.TaskInputOutputContext"/>
  15322. <method name="getInputSplit" return="org.apache.hadoop.mapreduce.InputSplit"
  15323. abstract="false" native="false" synchronized="false"
  15324. static="false" final="false" visibility="public"
  15325. deprecated="not deprecated">
  15326. <doc>
  15327. <![CDATA[Get the input split for this map.]]>
  15328. </doc>
  15329. </method>
  15330. <doc>
  15331. <![CDATA[The context that is given to the {@link Mapper}.
  15332. @param <KEYIN> the key input type to the Mapper
  15333. @param <VALUEIN> the value input type to the Mapper
  15334. @param <KEYOUT> the key output type from the Mapper
  15335. @param <VALUEOUT> the value output type from the Mapper]]>
  15336. </doc>
  15337. </interface>
  15338. <!-- end interface org.apache.hadoop.mapreduce.MapContext -->
  15339. <!-- start class org.apache.hadoop.mapreduce.Mapper -->
  15340. <class name="Mapper" extends="java.lang.Object"
  15341. abstract="false"
  15342. static="false" final="false" visibility="public"
  15343. deprecated="not deprecated">
  15344. <constructor name="Mapper"
  15345. static="false" final="false" visibility="public"
  15346. deprecated="not deprecated">
  15347. </constructor>
  15348. <method name="setup"
  15349. abstract="false" native="false" synchronized="false"
  15350. static="false" final="false" visibility="protected"
  15351. deprecated="not deprecated">
  15352. <param name="context" type="org.apache.hadoop.mapreduce.Mapper.Context"/>
  15353. <exception name="IOException" type="java.io.IOException"/>
  15354. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  15355. <doc>
  15356. <![CDATA[Called once at the beginning of the task.]]>
  15357. </doc>
  15358. </method>
  15359. <method name="map"
  15360. abstract="false" native="false" synchronized="false"
  15361. static="false" final="false" visibility="protected"
  15362. deprecated="not deprecated">
  15363. <param name="key" type="KEYIN"/>
  15364. <param name="value" type="VALUEIN"/>
  15365. <param name="context" type="org.apache.hadoop.mapreduce.Mapper.Context"/>
  15366. <exception name="IOException" type="java.io.IOException"/>
  15367. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  15368. <doc>
  15369. <![CDATA[Called once for each key/value pair in the input split. Most applications
  15370. should override this, but the default is the identity function.]]>
  15371. </doc>
  15372. </method>
  15373. <method name="cleanup"
  15374. abstract="false" native="false" synchronized="false"
  15375. static="false" final="false" visibility="protected"
  15376. deprecated="not deprecated">
  15377. <param name="context" type="org.apache.hadoop.mapreduce.Mapper.Context"/>
  15378. <exception name="IOException" type="java.io.IOException"/>
  15379. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  15380. <doc>
  15381. <![CDATA[Called once at the end of the task.]]>
  15382. </doc>
  15383. </method>
  15384. <method name="run"
  15385. abstract="false" native="false" synchronized="false"
  15386. static="false" final="false" visibility="public"
  15387. deprecated="not deprecated">
  15388. <param name="context" type="org.apache.hadoop.mapreduce.Mapper.Context"/>
  15389. <exception name="IOException" type="java.io.IOException"/>
  15390. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  15391. <doc>
  15392. <![CDATA[Expert users can override this method for more complete control over the
  15393. execution of the Mapper.
  15394. @param context
  15395. @throws IOException]]>
  15396. </doc>
  15397. </method>
  15398. <doc>
  15399. <![CDATA[Maps input key/value pairs to a set of intermediate key/value pairs.
  15400. <p>Maps are the individual tasks which transform input records into a
  15401. intermediate records. The transformed intermediate records need not be of
  15402. the same type as the input records. A given input pair may map to zero or
  15403. many output pairs.</p>
  15404. <p>The Hadoop Map-Reduce framework spawns one map task for each
  15405. {@link InputSplit} generated by the {@link InputFormat} for the job.
  15406. <code>Mapper</code> implementations can access the {@link Configuration} for
  15407. the job via the {@link JobContext#getConfiguration()}.
  15408. <p>The framework first calls
  15409. {@link #setup(org.apache.hadoop.mapreduce.Mapper.Context)}, followed by
  15410. {@link #map(Object, Object, Context)}
  15411. for each key/value pair in the <code>InputSplit</code>. Finally
  15412. {@link #cleanup(Context)} is called.</p>
  15413. <p>All intermediate values associated with a given output key are
  15414. subsequently grouped by the framework, and passed to a {@link Reducer} to
  15415. determine the final output. Users can control the sorting and grouping by
  15416. specifying two key {@link RawComparator} classes.</p>
  15417. <p>The <code>Mapper</code> outputs are partitioned per
  15418. <code>Reducer</code>. Users can control which keys (and hence records) go to
  15419. which <code>Reducer</code> by implementing a custom {@link Partitioner}.
  15420. <p>Users can optionally specify a <code>combiner</code>, via
  15421. {@link Job#setCombinerClass(Class)}, to perform local aggregation of the
  15422. intermediate outputs, which helps to cut down the amount of data transferred
  15423. from the <code>Mapper</code> to the <code>Reducer</code>.
  15424. <p>Applications can specify if and how the intermediate
  15425. outputs are to be compressed and which {@link CompressionCodec}s are to be
  15426. used via the <code>Configuration</code>.</p>
  15427. <p>If the job has zero
  15428. reduces then the output of the <code>Mapper</code> is directly written
  15429. to the {@link OutputFormat} without sorting by keys.</p>
  15430. <p>Example:</p>
  15431. <p><blockquote><pre>
  15432. public class TokenCounterMapper
  15433. extends Mapper&lt;Object, Text, Text, IntWritable&gt;{
  15434. private final static IntWritable one = new IntWritable(1);
  15435. private Text word = new Text();
  15436. public void map(Object key, Text value, Context context) throws IOException, InterruptedException {
  15437. StringTokenizer itr = new StringTokenizer(value.toString());
  15438. while (itr.hasMoreTokens()) {
  15439. word.set(itr.nextToken());
  15440. context.write(word, one);
  15441. }
  15442. }
  15443. }
  15444. </pre></blockquote></p>
  15445. <p>Applications may override the {@link #run(Context)} method to exert
  15446. greater control on map processing e.g. multi-threaded <code>Mapper</code>s
  15447. etc.</p>
  15448. @see InputFormat
  15449. @see JobContext
  15450. @see Partitioner
  15451. @see Reducer]]>
  15452. </doc>
  15453. </class>
  15454. <!-- end class org.apache.hadoop.mapreduce.Mapper -->
  15455. <!-- start class org.apache.hadoop.mapreduce.Mapper.Context -->
  15456. <class name="Mapper.Context" extends="java.lang.Object"
  15457. abstract="true"
  15458. static="false" final="false" visibility="public"
  15459. deprecated="not deprecated">
  15460. <implements name="org.apache.hadoop.mapreduce.MapContext"/>
  15461. <constructor name="Mapper.Context"
  15462. static="false" final="false" visibility="public"
  15463. deprecated="not deprecated">
  15464. </constructor>
  15465. <doc>
  15466. <![CDATA[The <code>Context</code> passed on to the {@link Mapper} implementations.]]>
  15467. </doc>
  15468. </class>
  15469. <!-- end class org.apache.hadoop.mapreduce.Mapper.Context -->
  15470. <!-- start class org.apache.hadoop.mapreduce.MarkableIterator -->
  15471. <class name="MarkableIterator" extends="java.lang.Object"
  15472. abstract="false"
  15473. static="false" final="false" visibility="public"
  15474. deprecated="not deprecated">
  15475. <implements name="org.apache.hadoop.mapreduce.MarkableIteratorInterface"/>
  15476. <constructor name="MarkableIterator" type="java.util.Iterator"
  15477. static="false" final="false" visibility="public"
  15478. deprecated="not deprecated">
  15479. <doc>
  15480. <![CDATA[Create a new iterator layered on the input iterator
  15481. @param itr underlying iterator that implements MarkableIteratorInterface]]>
  15482. </doc>
  15483. </constructor>
  15484. <method name="mark"
  15485. abstract="false" native="false" synchronized="false"
  15486. static="false" final="false" visibility="public"
  15487. deprecated="not deprecated">
  15488. <exception name="IOException" type="java.io.IOException"/>
  15489. </method>
  15490. <method name="reset"
  15491. abstract="false" native="false" synchronized="false"
  15492. static="false" final="false" visibility="public"
  15493. deprecated="not deprecated">
  15494. <exception name="IOException" type="java.io.IOException"/>
  15495. </method>
  15496. <method name="clearMark"
  15497. abstract="false" native="false" synchronized="false"
  15498. static="false" final="false" visibility="public"
  15499. deprecated="not deprecated">
  15500. <exception name="IOException" type="java.io.IOException"/>
  15501. </method>
  15502. <method name="hasNext" return="boolean"
  15503. abstract="false" native="false" synchronized="false"
  15504. static="false" final="false" visibility="public"
  15505. deprecated="not deprecated">
  15506. </method>
  15507. <method name="next" return="VALUE"
  15508. abstract="false" native="false" synchronized="false"
  15509. static="false" final="false" visibility="public"
  15510. deprecated="not deprecated">
  15511. </method>
  15512. <method name="remove"
  15513. abstract="false" native="false" synchronized="false"
  15514. static="false" final="false" visibility="public"
  15515. deprecated="not deprecated">
  15516. </method>
  15517. <doc>
  15518. <![CDATA[<code>MarkableIterator</code> is a wrapper iterator class that
  15519. implements the {@link MarkableIteratorInterface}.]]>
  15520. </doc>
  15521. </class>
  15522. <!-- end class org.apache.hadoop.mapreduce.MarkableIterator -->
  15523. <!-- start class org.apache.hadoop.mapreduce.OutputCommitter -->
  15524. <class name="OutputCommitter" extends="java.lang.Object"
  15525. abstract="true"
  15526. static="false" final="false" visibility="public"
  15527. deprecated="not deprecated">
  15528. <constructor name="OutputCommitter"
  15529. static="false" final="false" visibility="public"
  15530. deprecated="not deprecated">
  15531. </constructor>
  15532. <method name="setupJob"
  15533. abstract="true" native="false" synchronized="false"
  15534. static="false" final="false" visibility="public"
  15535. deprecated="not deprecated">
  15536. <param name="jobContext" type="org.apache.hadoop.mapreduce.JobContext"/>
  15537. <exception name="IOException" type="java.io.IOException"/>
  15538. <doc>
  15539. <![CDATA[For the framework to setup the job output during initialization
  15540. @param jobContext Context of the job whose output is being written.
  15541. @throws IOException if temporary output could not be created]]>
  15542. </doc>
  15543. </method>
  15544. <method name="cleanupJob"
  15545. abstract="false" native="false" synchronized="false"
  15546. static="false" final="false" visibility="public"
  15547. deprecated="Use {@link #commitJob(JobContext)} or
  15548. {@link #abortJob(JobContext, JobStatus.State)} instead.">
  15549. <param name="jobContext" type="org.apache.hadoop.mapreduce.JobContext"/>
  15550. <exception name="IOException" type="java.io.IOException"/>
  15551. <doc>
  15552. <![CDATA[For cleaning up the job's output after job completion
  15553. @param jobContext Context of the job whose output is being written.
  15554. @throws IOException
  15555. @deprecated Use {@link #commitJob(JobContext)} or
  15556. {@link #abortJob(JobContext, JobStatus.State)} instead.]]>
  15557. </doc>
  15558. </method>
  15559. <method name="commitJob"
  15560. abstract="false" native="false" synchronized="false"
  15561. static="false" final="false" visibility="public"
  15562. deprecated="not deprecated">
  15563. <param name="jobContext" type="org.apache.hadoop.mapreduce.JobContext"/>
  15564. <exception name="IOException" type="java.io.IOException"/>
  15565. <doc>
  15566. <![CDATA[For committing job's output after successful job completion. Note that this
  15567. is invoked for jobs with final runstate as SUCCESSFUL.
  15568. @param jobContext Context of the job whose output is being written.
  15569. @throws IOException]]>
  15570. </doc>
  15571. </method>
  15572. <method name="abortJob"
  15573. abstract="false" native="false" synchronized="false"
  15574. static="false" final="false" visibility="public"
  15575. deprecated="not deprecated">
  15576. <param name="jobContext" type="org.apache.hadoop.mapreduce.JobContext"/>
  15577. <param name="state" type="org.apache.hadoop.mapreduce.JobStatus.State"/>
  15578. <exception name="IOException" type="java.io.IOException"/>
  15579. <doc>
  15580. <![CDATA[For aborting an unsuccessful job's output. Note that this is invoked for
  15581. jobs with final runstate as {@link JobStatus.State#FAILED} or
  15582. {@link JobStatus.State#KILLED}.
  15583. @param jobContext Context of the job whose output is being written.
  15584. @param state final runstate of the job
  15585. @throws IOException]]>
  15586. </doc>
  15587. </method>
  15588. <method name="setupTask"
  15589. abstract="true" native="false" synchronized="false"
  15590. static="false" final="false" visibility="public"
  15591. deprecated="not deprecated">
  15592. <param name="taskContext" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  15593. <exception name="IOException" type="java.io.IOException"/>
  15594. <doc>
  15595. <![CDATA[Sets up output for the task.
  15596. @param taskContext Context of the task whose output is being written.
  15597. @throws IOException]]>
  15598. </doc>
  15599. </method>
  15600. <method name="needsTaskCommit" return="boolean"
  15601. abstract="true" native="false" synchronized="false"
  15602. static="false" final="false" visibility="public"
  15603. deprecated="not deprecated">
  15604. <param name="taskContext" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  15605. <exception name="IOException" type="java.io.IOException"/>
  15606. <doc>
  15607. <![CDATA[Check whether task needs a commit
  15608. @param taskContext
  15609. @return true/false
  15610. @throws IOException]]>
  15611. </doc>
  15612. </method>
  15613. <method name="commitTask"
  15614. abstract="true" native="false" synchronized="false"
  15615. static="false" final="false" visibility="public"
  15616. deprecated="not deprecated">
  15617. <param name="taskContext" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  15618. <exception name="IOException" type="java.io.IOException"/>
  15619. <doc>
  15620. <![CDATA[To promote the task's temporary output to final output location
  15621. The task's output is moved to the job's output directory.
  15622. @param taskContext Context of the task whose output is being written.
  15623. @throws IOException if commit is not]]>
  15624. </doc>
  15625. </method>
  15626. <method name="abortTask"
  15627. abstract="true" native="false" synchronized="false"
  15628. static="false" final="false" visibility="public"
  15629. deprecated="not deprecated">
  15630. <param name="taskContext" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  15631. <exception name="IOException" type="java.io.IOException"/>
  15632. <doc>
  15633. <![CDATA[Discard the task output
  15634. @param taskContext
  15635. @throws IOException]]>
  15636. </doc>
  15637. </method>
  15638. <doc>
  15639. <![CDATA[<code>OutputCommitter</code> describes the commit of task output for a
  15640. Map-Reduce job.
  15641. <p>The Map-Reduce framework relies on the <code>OutputCommitter</code> of
  15642. the job to:<p>
  15643. <ol>
  15644. <li>
  15645. Setup the job during initialization. For example, create the temporary
  15646. output directory for the job during the initialization of the job.
  15647. </li>
  15648. <li>
  15649. Cleanup the job after the job completion. For example, remove the
  15650. temporary output directory after the job completion.
  15651. </li>
  15652. <li>
  15653. Setup the task temporary output.
  15654. </li>
  15655. <li>
  15656. Check whether a task needs a commit. This is to avoid the commit
  15657. procedure if a task does not need commit.
  15658. </li>
  15659. <li>
  15660. Commit of the task output.
  15661. </li>
  15662. <li>
  15663. Discard the task commit.
  15664. </li>
  15665. </ol>
  15666. @see org.apache.hadoop.mapreduce.lib.output.FileOutputCommitter
  15667. @see JobContext
  15668. @see TaskAttemptContext]]>
  15669. </doc>
  15670. </class>
  15671. <!-- end class org.apache.hadoop.mapreduce.OutputCommitter -->
  15672. <!-- start class org.apache.hadoop.mapreduce.OutputFormat -->
  15673. <class name="OutputFormat" extends="java.lang.Object"
  15674. abstract="true"
  15675. static="false" final="false" visibility="public"
  15676. deprecated="not deprecated">
  15677. <constructor name="OutputFormat"
  15678. static="false" final="false" visibility="public"
  15679. deprecated="not deprecated">
  15680. </constructor>
  15681. <method name="getRecordWriter" return="org.apache.hadoop.mapreduce.RecordWriter"
  15682. abstract="true" native="false" synchronized="false"
  15683. static="false" final="false" visibility="public"
  15684. deprecated="not deprecated">
  15685. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  15686. <exception name="IOException" type="java.io.IOException"/>
  15687. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  15688. <doc>
  15689. <![CDATA[Get the {@link RecordWriter} for the given task.
  15690. @param context the information about the current task.
  15691. @return a {@link RecordWriter} to write the output for the job.
  15692. @throws IOException]]>
  15693. </doc>
  15694. </method>
  15695. <method name="checkOutputSpecs"
  15696. abstract="true" native="false" synchronized="false"
  15697. static="false" final="false" visibility="public"
  15698. deprecated="not deprecated">
  15699. <param name="context" type="org.apache.hadoop.mapreduce.JobContext"/>
  15700. <exception name="IOException" type="java.io.IOException"/>
  15701. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  15702. <doc>
  15703. <![CDATA[Check for validity of the output-specification for the job.
  15704. <p>This is to validate the output specification for the job when it is
  15705. a job is submitted. Typically checks that it does not already exist,
  15706. throwing an exception when it already exists, so that output is not
  15707. overwritten.</p>
  15708. @param context information about the job
  15709. @throws IOException when output should not be attempted]]>
  15710. </doc>
  15711. </method>
  15712. <method name="getOutputCommitter" return="org.apache.hadoop.mapreduce.OutputCommitter"
  15713. abstract="true" native="false" synchronized="false"
  15714. static="false" final="false" visibility="public"
  15715. deprecated="not deprecated">
  15716. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  15717. <exception name="IOException" type="java.io.IOException"/>
  15718. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  15719. <doc>
  15720. <![CDATA[Get the output committer for this output format. This is responsible
  15721. for ensuring the output is committed correctly.
  15722. @param context the task context
  15723. @return an output committer
  15724. @throws IOException
  15725. @throws InterruptedException]]>
  15726. </doc>
  15727. </method>
  15728. <doc>
  15729. <![CDATA[<code>OutputFormat</code> describes the output-specification for a
  15730. Map-Reduce job.
  15731. <p>The Map-Reduce framework relies on the <code>OutputFormat</code> of the
  15732. job to:<p>
  15733. <ol>
  15734. <li>
  15735. Validate the output-specification of the job. For e.g. check that the
  15736. output directory doesn't already exist.
  15737. <li>
  15738. Provide the {@link RecordWriter} implementation to be used to write out
  15739. the output files of the job. Output files are stored in a
  15740. {@link FileSystem}.
  15741. </li>
  15742. </ol>
  15743. @see RecordWriter]]>
  15744. </doc>
  15745. </class>
  15746. <!-- end class org.apache.hadoop.mapreduce.OutputFormat -->
  15747. <!-- start class org.apache.hadoop.mapreduce.Partitioner -->
  15748. <class name="Partitioner" extends="java.lang.Object"
  15749. abstract="true"
  15750. static="false" final="false" visibility="public"
  15751. deprecated="not deprecated">
  15752. <constructor name="Partitioner"
  15753. static="false" final="false" visibility="public"
  15754. deprecated="not deprecated">
  15755. </constructor>
  15756. <method name="getPartition" return="int"
  15757. abstract="true" native="false" synchronized="false"
  15758. static="false" final="false" visibility="public"
  15759. deprecated="not deprecated">
  15760. <param name="key" type="KEY"/>
  15761. <param name="value" type="VALUE"/>
  15762. <param name="numPartitions" type="int"/>
  15763. <doc>
  15764. <![CDATA[Get the partition number for a given key (hence record) given the total
  15765. number of partitions i.e. number of reduce-tasks for the job.
  15766. <p>Typically a hash function on a all or a subset of the key.</p>
  15767. @param key the key to be partioned.
  15768. @param value the entry value.
  15769. @param numPartitions the total number of partitions.
  15770. @return the partition number for the <code>key</code>.]]>
  15771. </doc>
  15772. </method>
  15773. <doc>
  15774. <![CDATA[Partitions the key space.
  15775. <p><code>Partitioner</code> controls the partitioning of the keys of the
  15776. intermediate map-outputs. The key (or a subset of the key) is used to derive
  15777. the partition, typically by a hash function. The total number of partitions
  15778. is the same as the number of reduce tasks for the job. Hence this controls
  15779. which of the <code>m</code> reduce tasks the intermediate key (and hence the
  15780. record) is sent for reduction.</p>
  15781. @see Reducer]]>
  15782. </doc>
  15783. </class>
  15784. <!-- end class org.apache.hadoop.mapreduce.Partitioner -->
  15785. <!-- start class org.apache.hadoop.mapreduce.QueueAclsInfo -->
  15786. <class name="QueueAclsInfo" extends="java.lang.Object"
  15787. abstract="false"
  15788. static="false" final="false" visibility="public"
  15789. deprecated="not deprecated">
  15790. <implements name="org.apache.hadoop.io.Writable"/>
  15791. <constructor name="QueueAclsInfo"
  15792. static="false" final="false" visibility="public"
  15793. deprecated="not deprecated">
  15794. <doc>
  15795. <![CDATA[Default constructor for QueueAclsInfo.]]>
  15796. </doc>
  15797. </constructor>
  15798. <constructor name="QueueAclsInfo" type="java.lang.String, java.lang.String[]"
  15799. static="false" final="false" visibility="public"
  15800. deprecated="not deprecated">
  15801. <doc>
  15802. <![CDATA[Construct a new QueueAclsInfo object using the queue name and the
  15803. queue operations array
  15804. @param queueName Name of the job queue
  15805. @param operations]]>
  15806. </doc>
  15807. </constructor>
  15808. <method name="getQueueName" return="java.lang.String"
  15809. abstract="false" native="false" synchronized="false"
  15810. static="false" final="false" visibility="public"
  15811. deprecated="not deprecated">
  15812. <doc>
  15813. <![CDATA[Get queue name.
  15814. @return name]]>
  15815. </doc>
  15816. </method>
  15817. <method name="setQueueName"
  15818. abstract="false" native="false" synchronized="false"
  15819. static="false" final="false" visibility="protected"
  15820. deprecated="not deprecated">
  15821. <param name="queueName" type="java.lang.String"/>
  15822. </method>
  15823. <method name="getOperations" return="java.lang.String[]"
  15824. abstract="false" native="false" synchronized="false"
  15825. static="false" final="false" visibility="public"
  15826. deprecated="not deprecated">
  15827. <doc>
  15828. <![CDATA[Get opearations allowed on queue.
  15829. @return array of String]]>
  15830. </doc>
  15831. </method>
  15832. <method name="readFields"
  15833. abstract="false" native="false" synchronized="false"
  15834. static="false" final="false" visibility="public"
  15835. deprecated="not deprecated">
  15836. <param name="in" type="java.io.DataInput"/>
  15837. <exception name="IOException" type="java.io.IOException"/>
  15838. </method>
  15839. <method name="write"
  15840. abstract="false" native="false" synchronized="false"
  15841. static="false" final="false" visibility="public"
  15842. deprecated="not deprecated">
  15843. <param name="out" type="java.io.DataOutput"/>
  15844. <exception name="IOException" type="java.io.IOException"/>
  15845. </method>
  15846. <doc>
  15847. <![CDATA[Class to encapsulate Queue ACLs for a particular
  15848. user.]]>
  15849. </doc>
  15850. </class>
  15851. <!-- end class org.apache.hadoop.mapreduce.QueueAclsInfo -->
  15852. <!-- start class org.apache.hadoop.mapreduce.QueueInfo -->
  15853. <class name="QueueInfo" extends="java.lang.Object"
  15854. abstract="false"
  15855. static="false" final="false" visibility="public"
  15856. deprecated="not deprecated">
  15857. <implements name="org.apache.hadoop.io.Writable"/>
  15858. <constructor name="QueueInfo"
  15859. static="false" final="false" visibility="public"
  15860. deprecated="not deprecated">
  15861. <doc>
  15862. <![CDATA[Default constructor for QueueInfo.]]>
  15863. </doc>
  15864. </constructor>
  15865. <constructor name="QueueInfo" type="java.lang.String, java.lang.String"
  15866. static="false" final="false" visibility="public"
  15867. deprecated="not deprecated">
  15868. <doc>
  15869. <![CDATA[Construct a new QueueInfo object using the queue name and the
  15870. scheduling information passed.
  15871. @param queueName Name of the job queue
  15872. @param schedulingInfo Scheduling Information associated with the job
  15873. queue]]>
  15874. </doc>
  15875. </constructor>
  15876. <constructor name="QueueInfo" type="java.lang.String, java.lang.String, org.apache.hadoop.mapreduce.QueueState, org.apache.hadoop.mapreduce.JobStatus[]"
  15877. static="false" final="false" visibility="public"
  15878. deprecated="not deprecated">
  15879. <doc>
  15880. <![CDATA[@param queueName
  15881. @param schedulingInfo
  15882. @param state
  15883. @param stats]]>
  15884. </doc>
  15885. </constructor>
  15886. <method name="setQueueName"
  15887. abstract="false" native="false" synchronized="false"
  15888. static="false" final="false" visibility="protected"
  15889. deprecated="not deprecated">
  15890. <param name="queueName" type="java.lang.String"/>
  15891. <doc>
  15892. <![CDATA[Set the queue name of the JobQueueInfo
  15893. @param queueName Name of the job queue.]]>
  15894. </doc>
  15895. </method>
  15896. <method name="getQueueName" return="java.lang.String"
  15897. abstract="false" native="false" synchronized="false"
  15898. static="false" final="false" visibility="public"
  15899. deprecated="not deprecated">
  15900. <doc>
  15901. <![CDATA[Get the queue name from JobQueueInfo
  15902. @return queue name]]>
  15903. </doc>
  15904. </method>
  15905. <method name="setSchedulingInfo"
  15906. abstract="false" native="false" synchronized="false"
  15907. static="false" final="false" visibility="protected"
  15908. deprecated="not deprecated">
  15909. <param name="schedulingInfo" type="java.lang.String"/>
  15910. <doc>
  15911. <![CDATA[Set the scheduling information associated to particular job queue
  15912. @param schedulingInfo]]>
  15913. </doc>
  15914. </method>
  15915. <method name="getSchedulingInfo" return="java.lang.String"
  15916. abstract="false" native="false" synchronized="false"
  15917. static="false" final="false" visibility="public"
  15918. deprecated="not deprecated">
  15919. <doc>
  15920. <![CDATA[Gets the scheduling information associated to particular job queue.
  15921. If nothing is set would return <b>"N/A"</b>
  15922. @return Scheduling information associated to particular Job Queue]]>
  15923. </doc>
  15924. </method>
  15925. <method name="setState"
  15926. abstract="false" native="false" synchronized="false"
  15927. static="false" final="false" visibility="protected"
  15928. deprecated="not deprecated">
  15929. <param name="state" type="org.apache.hadoop.mapreduce.QueueState"/>
  15930. <doc>
  15931. <![CDATA[Set the state of the queue
  15932. @param state state of the queue.]]>
  15933. </doc>
  15934. </method>
  15935. <method name="getState" return="org.apache.hadoop.mapreduce.QueueState"
  15936. abstract="false" native="false" synchronized="false"
  15937. static="false" final="false" visibility="public"
  15938. deprecated="not deprecated">
  15939. <doc>
  15940. <![CDATA[Return the queue state
  15941. @return the queue state.]]>
  15942. </doc>
  15943. </method>
  15944. <method name="setJobStatuses"
  15945. abstract="false" native="false" synchronized="false"
  15946. static="false" final="false" visibility="protected"
  15947. deprecated="not deprecated">
  15948. <param name="stats" type="org.apache.hadoop.mapreduce.JobStatus[]"/>
  15949. </method>
  15950. <method name="getQueueChildren" return="java.util.List"
  15951. abstract="false" native="false" synchronized="false"
  15952. static="false" final="false" visibility="public"
  15953. deprecated="not deprecated">
  15954. <doc>
  15955. <![CDATA[Get immediate children.
  15956. @return list of QueueInfo]]>
  15957. </doc>
  15958. </method>
  15959. <method name="setQueueChildren"
  15960. abstract="false" native="false" synchronized="false"
  15961. static="false" final="false" visibility="protected"
  15962. deprecated="not deprecated">
  15963. <param name="children" type="java.util.List"/>
  15964. </method>
  15965. <method name="getProperties" return="java.util.Properties"
  15966. abstract="false" native="false" synchronized="false"
  15967. static="false" final="false" visibility="public"
  15968. deprecated="not deprecated">
  15969. <doc>
  15970. <![CDATA[Get properties.
  15971. @return Properties]]>
  15972. </doc>
  15973. </method>
  15974. <method name="setProperties"
  15975. abstract="false" native="false" synchronized="false"
  15976. static="false" final="false" visibility="protected"
  15977. deprecated="not deprecated">
  15978. <param name="props" type="java.util.Properties"/>
  15979. </method>
  15980. <method name="getJobStatuses" return="org.apache.hadoop.mapreduce.JobStatus[]"
  15981. abstract="false" native="false" synchronized="false"
  15982. static="false" final="false" visibility="public"
  15983. deprecated="not deprecated">
  15984. <doc>
  15985. <![CDATA[Get the jobs submitted to queue
  15986. @return list of JobStatus for the submitted jobs]]>
  15987. </doc>
  15988. </method>
  15989. <method name="readFields"
  15990. abstract="false" native="false" synchronized="false"
  15991. static="false" final="false" visibility="public"
  15992. deprecated="not deprecated">
  15993. <param name="in" type="java.io.DataInput"/>
  15994. <exception name="IOException" type="java.io.IOException"/>
  15995. </method>
  15996. <method name="write"
  15997. abstract="false" native="false" synchronized="false"
  15998. static="false" final="false" visibility="public"
  15999. deprecated="not deprecated">
  16000. <param name="out" type="java.io.DataOutput"/>
  16001. <exception name="IOException" type="java.io.IOException"/>
  16002. </method>
  16003. <doc>
  16004. <![CDATA[Class that contains the information regarding the Job Queues which are
  16005. maintained by the Hadoop Map/Reduce framework.]]>
  16006. </doc>
  16007. </class>
  16008. <!-- end class org.apache.hadoop.mapreduce.QueueInfo -->
  16009. <!-- start class org.apache.hadoop.mapreduce.QueueState -->
  16010. <class name="QueueState" extends="java.lang.Enum"
  16011. abstract="false"
  16012. static="false" final="true" visibility="public"
  16013. deprecated="not deprecated">
  16014. <method name="values" return="org.apache.hadoop.mapreduce.QueueState[]"
  16015. abstract="false" native="false" synchronized="false"
  16016. static="true" final="false" visibility="public"
  16017. deprecated="not deprecated">
  16018. </method>
  16019. <method name="valueOf" return="org.apache.hadoop.mapreduce.QueueState"
  16020. abstract="false" native="false" synchronized="false"
  16021. static="true" final="false" visibility="public"
  16022. deprecated="not deprecated">
  16023. <param name="name" type="java.lang.String"/>
  16024. </method>
  16025. <method name="getStateName" return="java.lang.String"
  16026. abstract="false" native="false" synchronized="false"
  16027. static="false" final="false" visibility="public"
  16028. deprecated="not deprecated">
  16029. <doc>
  16030. <![CDATA[@return the stateName]]>
  16031. </doc>
  16032. </method>
  16033. <method name="getState" return="org.apache.hadoop.mapreduce.QueueState"
  16034. abstract="false" native="false" synchronized="false"
  16035. static="true" final="false" visibility="public"
  16036. deprecated="not deprecated">
  16037. <param name="state" type="java.lang.String"/>
  16038. </method>
  16039. <method name="toString" return="java.lang.String"
  16040. abstract="false" native="false" synchronized="false"
  16041. static="false" final="false" visibility="public"
  16042. deprecated="not deprecated">
  16043. </method>
  16044. <doc>
  16045. <![CDATA[Enum representing queue state]]>
  16046. </doc>
  16047. </class>
  16048. <!-- end class org.apache.hadoop.mapreduce.QueueState -->
  16049. <!-- start class org.apache.hadoop.mapreduce.RecordReader -->
  16050. <class name="RecordReader" extends="java.lang.Object"
  16051. abstract="true"
  16052. static="false" final="false" visibility="public"
  16053. deprecated="not deprecated">
  16054. <implements name="java.io.Closeable"/>
  16055. <constructor name="RecordReader"
  16056. static="false" final="false" visibility="public"
  16057. deprecated="not deprecated">
  16058. </constructor>
  16059. <method name="initialize"
  16060. abstract="true" native="false" synchronized="false"
  16061. static="false" final="false" visibility="public"
  16062. deprecated="not deprecated">
  16063. <param name="split" type="org.apache.hadoop.mapreduce.InputSplit"/>
  16064. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  16065. <exception name="IOException" type="java.io.IOException"/>
  16066. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  16067. <doc>
  16068. <![CDATA[Called once at initialization.
  16069. @param split the split that defines the range of records to read
  16070. @param context the information about the task
  16071. @throws IOException
  16072. @throws InterruptedException]]>
  16073. </doc>
  16074. </method>
  16075. <method name="nextKeyValue" return="boolean"
  16076. abstract="true" native="false" synchronized="false"
  16077. static="false" final="false" visibility="public"
  16078. deprecated="not deprecated">
  16079. <exception name="IOException" type="java.io.IOException"/>
  16080. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  16081. <doc>
  16082. <![CDATA[Read the next key, value pair.
  16083. @return true if a key/value pair was read
  16084. @throws IOException
  16085. @throws InterruptedException]]>
  16086. </doc>
  16087. </method>
  16088. <method name="getCurrentKey" return="KEYIN"
  16089. abstract="true" native="false" synchronized="false"
  16090. static="false" final="false" visibility="public"
  16091. deprecated="not deprecated">
  16092. <exception name="IOException" type="java.io.IOException"/>
  16093. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  16094. <doc>
  16095. <![CDATA[Get the current key
  16096. @return the current key or null if there is no current key
  16097. @throws IOException
  16098. @throws InterruptedException]]>
  16099. </doc>
  16100. </method>
  16101. <method name="getCurrentValue" return="VALUEIN"
  16102. abstract="true" native="false" synchronized="false"
  16103. static="false" final="false" visibility="public"
  16104. deprecated="not deprecated">
  16105. <exception name="IOException" type="java.io.IOException"/>
  16106. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  16107. <doc>
  16108. <![CDATA[Get the current value.
  16109. @return the object that was read
  16110. @throws IOException
  16111. @throws InterruptedException]]>
  16112. </doc>
  16113. </method>
  16114. <method name="getProgress" return="float"
  16115. abstract="true" native="false" synchronized="false"
  16116. static="false" final="false" visibility="public"
  16117. deprecated="not deprecated">
  16118. <exception name="IOException" type="java.io.IOException"/>
  16119. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  16120. <doc>
  16121. <![CDATA[The current progress of the record reader through its data.
  16122. @return a number between 0.0 and 1.0 that is the fraction of the data read
  16123. @throws IOException
  16124. @throws InterruptedException]]>
  16125. </doc>
  16126. </method>
  16127. <method name="close"
  16128. abstract="true" native="false" synchronized="false"
  16129. static="false" final="false" visibility="public"
  16130. deprecated="not deprecated">
  16131. <exception name="IOException" type="java.io.IOException"/>
  16132. <doc>
  16133. <![CDATA[Close the record reader.]]>
  16134. </doc>
  16135. </method>
  16136. <doc>
  16137. <![CDATA[The record reader breaks the data into key/value pairs for input to the
  16138. {@link Mapper}.
  16139. @param <KEYIN>
  16140. @param <VALUEIN>]]>
  16141. </doc>
  16142. </class>
  16143. <!-- end class org.apache.hadoop.mapreduce.RecordReader -->
  16144. <!-- start class org.apache.hadoop.mapreduce.RecordWriter -->
  16145. <class name="RecordWriter" extends="java.lang.Object"
  16146. abstract="true"
  16147. static="false" final="false" visibility="public"
  16148. deprecated="not deprecated">
  16149. <constructor name="RecordWriter"
  16150. static="false" final="false" visibility="public"
  16151. deprecated="not deprecated">
  16152. </constructor>
  16153. <method name="write"
  16154. abstract="true" native="false" synchronized="false"
  16155. static="false" final="false" visibility="public"
  16156. deprecated="not deprecated">
  16157. <param name="key" type="K"/>
  16158. <param name="value" type="V"/>
  16159. <exception name="IOException" type="java.io.IOException"/>
  16160. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  16161. <doc>
  16162. <![CDATA[Writes a key/value pair.
  16163. @param key the key to write.
  16164. @param value the value to write.
  16165. @throws IOException]]>
  16166. </doc>
  16167. </method>
  16168. <method name="close"
  16169. abstract="true" native="false" synchronized="false"
  16170. static="false" final="false" visibility="public"
  16171. deprecated="not deprecated">
  16172. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  16173. <exception name="IOException" type="java.io.IOException"/>
  16174. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  16175. <doc>
  16176. <![CDATA[Close this <code>RecordWriter</code> to future operations.
  16177. @param context the context of the task
  16178. @throws IOException]]>
  16179. </doc>
  16180. </method>
  16181. <doc>
  16182. <![CDATA[<code>RecordWriter</code> writes the output &lt;key, value&gt; pairs
  16183. to an output file.
  16184. <p><code>RecordWriter</code> implementations write the job outputs to the
  16185. {@link FileSystem}.
  16186. @see OutputFormat]]>
  16187. </doc>
  16188. </class>
  16189. <!-- end class org.apache.hadoop.mapreduce.RecordWriter -->
  16190. <!-- start interface org.apache.hadoop.mapreduce.ReduceContext -->
  16191. <interface name="ReduceContext" abstract="true"
  16192. static="false" final="false" visibility="public"
  16193. deprecated="not deprecated">
  16194. <implements name="org.apache.hadoop.mapreduce.TaskInputOutputContext"/>
  16195. <method name="nextKey" return="boolean"
  16196. abstract="false" native="false" synchronized="false"
  16197. static="false" final="false" visibility="public"
  16198. deprecated="not deprecated">
  16199. <exception name="IOException" type="java.io.IOException"/>
  16200. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  16201. <doc>
  16202. <![CDATA[Start processing next unique key.]]>
  16203. </doc>
  16204. </method>
  16205. <method name="getValues" return="java.lang.Iterable"
  16206. abstract="false" native="false" synchronized="false"
  16207. static="false" final="false" visibility="public"
  16208. deprecated="not deprecated">
  16209. <exception name="IOException" type="java.io.IOException"/>
  16210. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  16211. <doc>
  16212. <![CDATA[Iterate through the values for the current key, reusing the same value
  16213. object, which is stored in the context.
  16214. @return the series of values associated with the current key. All of the
  16215. objects returned directly and indirectly from this method are reused.]]>
  16216. </doc>
  16217. </method>
  16218. <doc>
  16219. <![CDATA[The context passed to the {@link Reducer}.
  16220. @param <KEYIN> the class of the input keys
  16221. @param <VALUEIN> the class of the input values
  16222. @param <KEYOUT> the class of the output keys
  16223. @param <VALUEOUT> the class of the output values]]>
  16224. </doc>
  16225. </interface>
  16226. <!-- end interface org.apache.hadoop.mapreduce.ReduceContext -->
  16227. <!-- start interface org.apache.hadoop.mapreduce.ReduceContext.ValueIterator -->
  16228. <interface name="ReduceContext.ValueIterator" abstract="true"
  16229. static="true" final="false" visibility="public"
  16230. deprecated="not deprecated">
  16231. <implements name="org.apache.hadoop.mapreduce.MarkableIteratorInterface"/>
  16232. <method name="resetBackupStore"
  16233. abstract="false" native="false" synchronized="false"
  16234. static="false" final="false" visibility="public"
  16235. deprecated="not deprecated">
  16236. <exception name="IOException" type="java.io.IOException"/>
  16237. <doc>
  16238. <![CDATA[This method is called when the reducer moves from one key to
  16239. another.
  16240. @throws IOException]]>
  16241. </doc>
  16242. </method>
  16243. <doc>
  16244. <![CDATA[{@link Iterator} to iterate over values for a given group of records.]]>
  16245. </doc>
  16246. </interface>
  16247. <!-- end interface org.apache.hadoop.mapreduce.ReduceContext.ValueIterator -->
  16248. <!-- start class org.apache.hadoop.mapreduce.Reducer -->
  16249. <class name="Reducer" extends="java.lang.Object"
  16250. abstract="false"
  16251. static="false" final="false" visibility="public"
  16252. deprecated="not deprecated">
  16253. <constructor name="Reducer"
  16254. static="false" final="false" visibility="public"
  16255. deprecated="not deprecated">
  16256. </constructor>
  16257. <method name="setup"
  16258. abstract="false" native="false" synchronized="false"
  16259. static="false" final="false" visibility="protected"
  16260. deprecated="not deprecated">
  16261. <param name="context" type="org.apache.hadoop.mapreduce.Reducer.Context"/>
  16262. <exception name="IOException" type="java.io.IOException"/>
  16263. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  16264. <doc>
  16265. <![CDATA[Called once at the start of the task.]]>
  16266. </doc>
  16267. </method>
  16268. <method name="reduce"
  16269. abstract="false" native="false" synchronized="false"
  16270. static="false" final="false" visibility="protected"
  16271. deprecated="not deprecated">
  16272. <param name="key" type="KEYIN"/>
  16273. <param name="values" type="java.lang.Iterable"/>
  16274. <param name="context" type="org.apache.hadoop.mapreduce.Reducer.Context"/>
  16275. <exception name="IOException" type="java.io.IOException"/>
  16276. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  16277. <doc>
  16278. <![CDATA[This method is called once for each key. Most applications will define
  16279. their reduce class by overriding this method. The default implementation
  16280. is an identity function.]]>
  16281. </doc>
  16282. </method>
  16283. <method name="cleanup"
  16284. abstract="false" native="false" synchronized="false"
  16285. static="false" final="false" visibility="protected"
  16286. deprecated="not deprecated">
  16287. <param name="context" type="org.apache.hadoop.mapreduce.Reducer.Context"/>
  16288. <exception name="IOException" type="java.io.IOException"/>
  16289. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  16290. <doc>
  16291. <![CDATA[Called once at the end of the task.]]>
  16292. </doc>
  16293. </method>
  16294. <method name="run"
  16295. abstract="false" native="false" synchronized="false"
  16296. static="false" final="false" visibility="public"
  16297. deprecated="not deprecated">
  16298. <param name="context" type="org.apache.hadoop.mapreduce.Reducer.Context"/>
  16299. <exception name="IOException" type="java.io.IOException"/>
  16300. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  16301. <doc>
  16302. <![CDATA[Advanced application writers can use the
  16303. {@link #run(org.apache.hadoop.mapreduce.Reducer.Context)} method to
  16304. control how the reduce task works.]]>
  16305. </doc>
  16306. </method>
  16307. <doc>
  16308. <![CDATA[Reduces a set of intermediate values which share a key to a smaller set of
  16309. values.
  16310. <p><code>Reducer</code> implementations
  16311. can access the {@link Configuration} for the job via the
  16312. {@link JobContext#getConfiguration()} method.</p>
  16313. <p><code>Reducer</code> has 3 primary phases:</p>
  16314. <ol>
  16315. <li>
  16316. <h4 id="Shuffle">Shuffle</h4>
  16317. <p>The <code>Reducer</code> copies the sorted output from each
  16318. {@link Mapper} using HTTP across the network.</p>
  16319. </li>
  16320. <li>
  16321. <h4 id="Sort">Sort</h4>
  16322. <p>The framework merge sorts <code>Reducer</code> inputs by
  16323. <code>key</code>s
  16324. (since different <code>Mapper</code>s may have output the same key).</p>
  16325. <p>The shuffle and sort phases occur simultaneously i.e. while outputs are
  16326. being fetched they are merged.</p>
  16327. <h5 id="SecondarySort">SecondarySort</h5>
  16328. <p>To achieve a secondary sort on the values returned by the value
  16329. iterator, the application should extend the key with the secondary
  16330. key and define a grouping comparator. The keys will be sorted using the
  16331. entire key, but will be grouped using the grouping comparator to decide
  16332. which keys and values are sent in the same call to reduce.The grouping
  16333. comparator is specified via
  16334. {@link Job#setGroupingComparatorClass(Class)}. The sort order is
  16335. controlled by
  16336. {@link Job#setSortComparatorClass(Class)}.</p>
  16337. For example, say that you want to find duplicate web pages and tag them
  16338. all with the url of the "best" known example. You would set up the job
  16339. like:
  16340. <ul>
  16341. <li>Map Input Key: url</li>
  16342. <li>Map Input Value: document</li>
  16343. <li>Map Output Key: document checksum, url pagerank</li>
  16344. <li>Map Output Value: url</li>
  16345. <li>Partitioner: by checksum</li>
  16346. <li>OutputKeyComparator: by checksum and then decreasing pagerank</li>
  16347. <li>OutputValueGroupingComparator: by checksum</li>
  16348. </ul>
  16349. </li>
  16350. <li>
  16351. <h4 id="Reduce">Reduce</h4>
  16352. <p>In this phase the
  16353. {@link #reduce(Object, Iterable, Context)}
  16354. method is called for each <code>&lt;key, (collection of values)&gt;</code> in
  16355. the sorted inputs.</p>
  16356. <p>The output of the reduce task is typically written to a
  16357. {@link RecordWriter} via
  16358. {@link Context#write(Object, Object)}.</p>
  16359. </li>
  16360. </ol>
  16361. <p>The output of the <code>Reducer</code> is <b>not re-sorted</b>.</p>
  16362. <p>Example:</p>
  16363. <p><blockquote><pre>
  16364. public class IntSumReducer&lt;Key&gt; extends Reducer&lt;Key,IntWritable,
  16365. Key,IntWritable&gt; {
  16366. private IntWritable result = new IntWritable();
  16367. public void reduce(Key key, Iterable&lt;IntWritable&gt; values,
  16368. Context context) throws IOException, InterruptedException {
  16369. int sum = 0;
  16370. for (IntWritable val : values) {
  16371. sum += val.get();
  16372. }
  16373. result.set(sum);
  16374. context.write(key, result);
  16375. }
  16376. }
  16377. </pre></blockquote></p>
  16378. @see Mapper
  16379. @see Partitioner]]>
  16380. </doc>
  16381. </class>
  16382. <!-- end class org.apache.hadoop.mapreduce.Reducer -->
  16383. <!-- start class org.apache.hadoop.mapreduce.Reducer.Context -->
  16384. <class name="Reducer.Context" extends="java.lang.Object"
  16385. abstract="true"
  16386. static="false" final="false" visibility="public"
  16387. deprecated="not deprecated">
  16388. <implements name="org.apache.hadoop.mapreduce.ReduceContext"/>
  16389. <constructor name="Reducer.Context"
  16390. static="false" final="false" visibility="public"
  16391. deprecated="not deprecated">
  16392. </constructor>
  16393. <doc>
  16394. <![CDATA[The <code>Context</code> passed on to the {@link Reducer} implementations.]]>
  16395. </doc>
  16396. </class>
  16397. <!-- end class org.apache.hadoop.mapreduce.Reducer.Context -->
  16398. <!-- start interface org.apache.hadoop.mapreduce.TaskAttemptContext -->
  16399. <interface name="TaskAttemptContext" abstract="true"
  16400. static="false" final="false" visibility="public"
  16401. deprecated="not deprecated">
  16402. <implements name="org.apache.hadoop.mapreduce.JobContext"/>
  16403. <implements name="org.apache.hadoop.util.Progressable"/>
  16404. <method name="getTaskAttemptID" return="org.apache.hadoop.mapreduce.TaskAttemptID"
  16405. abstract="false" native="false" synchronized="false"
  16406. static="false" final="false" visibility="public"
  16407. deprecated="not deprecated">
  16408. <doc>
  16409. <![CDATA[Get the unique name for this task attempt.]]>
  16410. </doc>
  16411. </method>
  16412. <method name="setStatus"
  16413. abstract="false" native="false" synchronized="false"
  16414. static="false" final="false" visibility="public"
  16415. deprecated="not deprecated">
  16416. <param name="msg" type="java.lang.String"/>
  16417. <doc>
  16418. <![CDATA[Set the current status of the task to the given string.]]>
  16419. </doc>
  16420. </method>
  16421. <method name="getStatus" return="java.lang.String"
  16422. abstract="false" native="false" synchronized="false"
  16423. static="false" final="false" visibility="public"
  16424. deprecated="not deprecated">
  16425. <doc>
  16426. <![CDATA[Get the last set status message.
  16427. @return the current status message]]>
  16428. </doc>
  16429. </method>
  16430. <doc>
  16431. <![CDATA[The context for task attempts.]]>
  16432. </doc>
  16433. </interface>
  16434. <!-- end interface org.apache.hadoop.mapreduce.TaskAttemptContext -->
  16435. <!-- start class org.apache.hadoop.mapreduce.TaskAttemptID -->
  16436. <class name="TaskAttemptID" extends="org.apache.hadoop.mapred.ID"
  16437. abstract="false"
  16438. static="false" final="false" visibility="public"
  16439. deprecated="not deprecated">
  16440. <constructor name="TaskAttemptID" type="org.apache.hadoop.mapreduce.TaskID, int"
  16441. static="false" final="false" visibility="public"
  16442. deprecated="not deprecated">
  16443. <doc>
  16444. <![CDATA[Constructs a TaskAttemptID object from given {@link TaskID}.
  16445. @param taskId TaskID that this task belongs to
  16446. @param id the task attempt number]]>
  16447. </doc>
  16448. </constructor>
  16449. <constructor name="TaskAttemptID" type="java.lang.String, int, org.apache.hadoop.mapreduce.TaskType, int, int"
  16450. static="false" final="false" visibility="public"
  16451. deprecated="not deprecated">
  16452. <doc>
  16453. <![CDATA[Constructs a TaskId object from given parts.
  16454. @param jtIdentifier jobTracker identifier
  16455. @param jobId job number
  16456. @param type the TaskType
  16457. @param taskId taskId number
  16458. @param id the task attempt number]]>
  16459. </doc>
  16460. </constructor>
  16461. <constructor name="TaskAttemptID"
  16462. static="false" final="false" visibility="public"
  16463. deprecated="not deprecated">
  16464. </constructor>
  16465. <method name="getJobID" return="org.apache.hadoop.mapreduce.JobID"
  16466. abstract="false" native="false" synchronized="false"
  16467. static="false" final="false" visibility="public"
  16468. deprecated="not deprecated">
  16469. <doc>
  16470. <![CDATA[Returns the {@link JobID} object that this task attempt belongs to]]>
  16471. </doc>
  16472. </method>
  16473. <method name="getTaskID" return="org.apache.hadoop.mapreduce.TaskID"
  16474. abstract="false" native="false" synchronized="false"
  16475. static="false" final="false" visibility="public"
  16476. deprecated="not deprecated">
  16477. <doc>
  16478. <![CDATA[Returns the {@link TaskID} object that this task attempt belongs to]]>
  16479. </doc>
  16480. </method>
  16481. <method name="getTaskType" return="org.apache.hadoop.mapreduce.TaskType"
  16482. abstract="false" native="false" synchronized="false"
  16483. static="false" final="false" visibility="public"
  16484. deprecated="not deprecated">
  16485. <doc>
  16486. <![CDATA[Returns the TaskType of the TaskAttemptID]]>
  16487. </doc>
  16488. </method>
  16489. <method name="equals" return="boolean"
  16490. abstract="false" native="false" synchronized="false"
  16491. static="false" final="false" visibility="public"
  16492. deprecated="not deprecated">
  16493. <param name="o" type="java.lang.Object"/>
  16494. </method>
  16495. <method name="appendTo" return="java.lang.StringBuilder"
  16496. abstract="false" native="false" synchronized="false"
  16497. static="false" final="false" visibility="protected"
  16498. deprecated="not deprecated">
  16499. <param name="builder" type="java.lang.StringBuilder"/>
  16500. <doc>
  16501. <![CDATA[Add the unique string to the StringBuilder
  16502. @param builder the builder to append ot
  16503. @return the builder that was passed in.]]>
  16504. </doc>
  16505. </method>
  16506. <method name="readFields"
  16507. abstract="false" native="false" synchronized="false"
  16508. static="false" final="false" visibility="public"
  16509. deprecated="not deprecated">
  16510. <param name="in" type="java.io.DataInput"/>
  16511. <exception name="IOException" type="java.io.IOException"/>
  16512. </method>
  16513. <method name="write"
  16514. abstract="false" native="false" synchronized="false"
  16515. static="false" final="false" visibility="public"
  16516. deprecated="not deprecated">
  16517. <param name="out" type="java.io.DataOutput"/>
  16518. <exception name="IOException" type="java.io.IOException"/>
  16519. </method>
  16520. <method name="hashCode" return="int"
  16521. abstract="false" native="false" synchronized="false"
  16522. static="false" final="false" visibility="public"
  16523. deprecated="not deprecated">
  16524. </method>
  16525. <method name="compareTo" return="int"
  16526. abstract="false" native="false" synchronized="false"
  16527. static="false" final="false" visibility="public"
  16528. deprecated="not deprecated">
  16529. <param name="o" type="org.apache.hadoop.mapreduce.ID"/>
  16530. <doc>
  16531. <![CDATA[Compare TaskIds by first tipIds, then by task numbers.]]>
  16532. </doc>
  16533. </method>
  16534. <method name="toString" return="java.lang.String"
  16535. abstract="false" native="false" synchronized="false"
  16536. static="false" final="false" visibility="public"
  16537. deprecated="not deprecated">
  16538. </method>
  16539. <method name="forName" return="org.apache.hadoop.mapreduce.TaskAttemptID"
  16540. abstract="false" native="false" synchronized="false"
  16541. static="true" final="false" visibility="public"
  16542. deprecated="not deprecated">
  16543. <param name="str" type="java.lang.String"/>
  16544. <exception name="IllegalArgumentException" type="java.lang.IllegalArgumentException"/>
  16545. <doc>
  16546. <![CDATA[Construct a TaskAttemptID object from given string
  16547. @return constructed TaskAttemptID object or null if the given String is null
  16548. @throws IllegalArgumentException if the given string is malformed]]>
  16549. </doc>
  16550. </method>
  16551. <field name="ATTEMPT" type="java.lang.String"
  16552. transient="false" volatile="false"
  16553. static="true" final="true" visibility="protected"
  16554. deprecated="not deprecated">
  16555. </field>
  16556. <doc>
  16557. <![CDATA[TaskAttemptID represents the immutable and unique identifier for
  16558. a task attempt. Each task attempt is one particular instance of a Map or
  16559. Reduce Task identified by its TaskID.
  16560. TaskAttemptID consists of 2 parts. First part is the
  16561. {@link TaskID}, that this TaskAttemptID belongs to.
  16562. Second part is the task attempt number. <br>
  16563. An example TaskAttemptID is :
  16564. <code>attempt_200707121733_0003_m_000005_0</code> , which represents the
  16565. zeroth task attempt for the fifth map task in the third job
  16566. running at the jobtracker started at <code>200707121733</code>.
  16567. <p>
  16568. Applications should never construct or parse TaskAttemptID strings
  16569. , but rather use appropriate constructors or {@link #forName(String)}
  16570. method.
  16571. @see JobID
  16572. @see TaskID]]>
  16573. </doc>
  16574. </class>
  16575. <!-- end class org.apache.hadoop.mapreduce.TaskAttemptID -->
  16576. <!-- start class org.apache.hadoop.mapreduce.TaskCompletionEvent -->
  16577. <class name="TaskCompletionEvent" extends="java.lang.Object"
  16578. abstract="false"
  16579. static="false" final="false" visibility="public"
  16580. deprecated="not deprecated">
  16581. <implements name="org.apache.hadoop.io.Writable"/>
  16582. <constructor name="TaskCompletionEvent"
  16583. static="false" final="false" visibility="public"
  16584. deprecated="not deprecated">
  16585. <doc>
  16586. <![CDATA[Default constructor for Writable.]]>
  16587. </doc>
  16588. </constructor>
  16589. <constructor name="TaskCompletionEvent" type="int, org.apache.hadoop.mapreduce.TaskAttemptID, int, boolean, org.apache.hadoop.mapreduce.TaskCompletionEvent.Status, java.lang.String"
  16590. static="false" final="false" visibility="public"
  16591. deprecated="not deprecated">
  16592. <doc>
  16593. <![CDATA[Constructor. eventId should be created externally and incremented
  16594. per event for each job.
  16595. @param eventId event id, event id should be unique and assigned in
  16596. incrementally, starting from 0.
  16597. @param taskId task id
  16598. @param status task's status
  16599. @param taskTrackerHttp task tracker's host:port for http.]]>
  16600. </doc>
  16601. </constructor>
  16602. <method name="getEventId" return="int"
  16603. abstract="false" native="false" synchronized="false"
  16604. static="false" final="false" visibility="public"
  16605. deprecated="not deprecated">
  16606. <doc>
  16607. <![CDATA[Returns event Id.
  16608. @return event id]]>
  16609. </doc>
  16610. </method>
  16611. <method name="getTaskAttemptId" return="org.apache.hadoop.mapreduce.TaskAttemptID"
  16612. abstract="false" native="false" synchronized="false"
  16613. static="false" final="false" visibility="public"
  16614. deprecated="not deprecated">
  16615. <doc>
  16616. <![CDATA[Returns task id.
  16617. @return task id]]>
  16618. </doc>
  16619. </method>
  16620. <method name="getStatus" return="org.apache.hadoop.mapreduce.TaskCompletionEvent.Status"
  16621. abstract="false" native="false" synchronized="false"
  16622. static="false" final="false" visibility="public"
  16623. deprecated="not deprecated">
  16624. <doc>
  16625. <![CDATA[Returns enum Status.SUCESS or Status.FAILURE.
  16626. @return task tracker status]]>
  16627. </doc>
  16628. </method>
  16629. <method name="getTaskTrackerHttp" return="java.lang.String"
  16630. abstract="false" native="false" synchronized="false"
  16631. static="false" final="false" visibility="public"
  16632. deprecated="not deprecated">
  16633. <doc>
  16634. <![CDATA[http location of the tasktracker where this task ran.
  16635. @return http location of tasktracker user logs]]>
  16636. </doc>
  16637. </method>
  16638. <method name="getTaskRunTime" return="int"
  16639. abstract="false" native="false" synchronized="false"
  16640. static="false" final="false" visibility="public"
  16641. deprecated="not deprecated">
  16642. <doc>
  16643. <![CDATA[Returns time (in millisec) the task took to complete.]]>
  16644. </doc>
  16645. </method>
  16646. <method name="setTaskRunTime"
  16647. abstract="false" native="false" synchronized="false"
  16648. static="false" final="false" visibility="protected"
  16649. deprecated="not deprecated">
  16650. <param name="taskCompletionTime" type="int"/>
  16651. <doc>
  16652. <![CDATA[Set the task completion time
  16653. @param taskCompletionTime time (in millisec) the task took to complete]]>
  16654. </doc>
  16655. </method>
  16656. <method name="setEventId"
  16657. abstract="false" native="false" synchronized="false"
  16658. static="false" final="false" visibility="protected"
  16659. deprecated="not deprecated">
  16660. <param name="eventId" type="int"/>
  16661. <doc>
  16662. <![CDATA[set event Id. should be assigned incrementally starting from 0.
  16663. @param eventId]]>
  16664. </doc>
  16665. </method>
  16666. <method name="setTaskAttemptId"
  16667. abstract="false" native="false" synchronized="false"
  16668. static="false" final="false" visibility="protected"
  16669. deprecated="not deprecated">
  16670. <param name="taskId" type="org.apache.hadoop.mapreduce.TaskAttemptID"/>
  16671. <doc>
  16672. <![CDATA[Sets task id.
  16673. @param taskId]]>
  16674. </doc>
  16675. </method>
  16676. <method name="setTaskStatus"
  16677. abstract="false" native="false" synchronized="false"
  16678. static="false" final="false" visibility="protected"
  16679. deprecated="not deprecated">
  16680. <param name="status" type="org.apache.hadoop.mapreduce.TaskCompletionEvent.Status"/>
  16681. <doc>
  16682. <![CDATA[Set task status.
  16683. @param status]]>
  16684. </doc>
  16685. </method>
  16686. <method name="setTaskTrackerHttp"
  16687. abstract="false" native="false" synchronized="false"
  16688. static="false" final="false" visibility="protected"
  16689. deprecated="not deprecated">
  16690. <param name="taskTrackerHttp" type="java.lang.String"/>
  16691. <doc>
  16692. <![CDATA[Set task tracker http location.
  16693. @param taskTrackerHttp]]>
  16694. </doc>
  16695. </method>
  16696. <method name="toString" return="java.lang.String"
  16697. abstract="false" native="false" synchronized="false"
  16698. static="false" final="false" visibility="public"
  16699. deprecated="not deprecated">
  16700. </method>
  16701. <method name="equals" return="boolean"
  16702. abstract="false" native="false" synchronized="false"
  16703. static="false" final="false" visibility="public"
  16704. deprecated="not deprecated">
  16705. <param name="o" type="java.lang.Object"/>
  16706. </method>
  16707. <method name="hashCode" return="int"
  16708. abstract="false" native="false" synchronized="false"
  16709. static="false" final="false" visibility="public"
  16710. deprecated="not deprecated">
  16711. </method>
  16712. <method name="isMapTask" return="boolean"
  16713. abstract="false" native="false" synchronized="false"
  16714. static="false" final="false" visibility="public"
  16715. deprecated="not deprecated">
  16716. </method>
  16717. <method name="idWithinJob" return="int"
  16718. abstract="false" native="false" synchronized="false"
  16719. static="false" final="false" visibility="public"
  16720. deprecated="not deprecated">
  16721. </method>
  16722. <method name="write"
  16723. abstract="false" native="false" synchronized="false"
  16724. static="false" final="false" visibility="public"
  16725. deprecated="not deprecated">
  16726. <param name="out" type="java.io.DataOutput"/>
  16727. <exception name="IOException" type="java.io.IOException"/>
  16728. </method>
  16729. <method name="readFields"
  16730. abstract="false" native="false" synchronized="false"
  16731. static="false" final="false" visibility="public"
  16732. deprecated="not deprecated">
  16733. <param name="in" type="java.io.DataInput"/>
  16734. <exception name="IOException" type="java.io.IOException"/>
  16735. </method>
  16736. <field name="EMPTY_ARRAY" type="org.apache.hadoop.mapreduce.TaskCompletionEvent[]"
  16737. transient="false" volatile="false"
  16738. static="true" final="true" visibility="public"
  16739. deprecated="not deprecated">
  16740. </field>
  16741. <doc>
  16742. <![CDATA[This is used to track task completion events on
  16743. job tracker.]]>
  16744. </doc>
  16745. </class>
  16746. <!-- end class org.apache.hadoop.mapreduce.TaskCompletionEvent -->
  16747. <!-- start class org.apache.hadoop.mapreduce.TaskCompletionEvent.Status -->
  16748. <class name="TaskCompletionEvent.Status" extends="java.lang.Enum"
  16749. abstract="false"
  16750. static="true" final="true" visibility="public"
  16751. deprecated="not deprecated">
  16752. <method name="values" return="org.apache.hadoop.mapreduce.TaskCompletionEvent.Status[]"
  16753. abstract="false" native="false" synchronized="false"
  16754. static="true" final="false" visibility="public"
  16755. deprecated="not deprecated">
  16756. </method>
  16757. <method name="valueOf" return="org.apache.hadoop.mapreduce.TaskCompletionEvent.Status"
  16758. abstract="false" native="false" synchronized="false"
  16759. static="true" final="false" visibility="public"
  16760. deprecated="not deprecated">
  16761. <param name="name" type="java.lang.String"/>
  16762. </method>
  16763. </class>
  16764. <!-- end class org.apache.hadoop.mapreduce.TaskCompletionEvent.Status -->
  16765. <!-- start class org.apache.hadoop.mapreduce.TaskCounter -->
  16766. <class name="TaskCounter" extends="java.lang.Enum"
  16767. abstract="false"
  16768. static="false" final="true" visibility="public"
  16769. deprecated="not deprecated">
  16770. <method name="values" return="org.apache.hadoop.mapreduce.TaskCounter[]"
  16771. abstract="false" native="false" synchronized="false"
  16772. static="true" final="false" visibility="public"
  16773. deprecated="not deprecated">
  16774. </method>
  16775. <method name="valueOf" return="org.apache.hadoop.mapreduce.TaskCounter"
  16776. abstract="false" native="false" synchronized="false"
  16777. static="true" final="false" visibility="public"
  16778. deprecated="not deprecated">
  16779. <param name="name" type="java.lang.String"/>
  16780. </method>
  16781. </class>
  16782. <!-- end class org.apache.hadoop.mapreduce.TaskCounter -->
  16783. <!-- start class org.apache.hadoop.mapreduce.TaskID -->
  16784. <class name="TaskID" extends="org.apache.hadoop.mapred.ID"
  16785. abstract="false"
  16786. static="false" final="false" visibility="public"
  16787. deprecated="not deprecated">
  16788. <constructor name="TaskID" type="org.apache.hadoop.mapreduce.JobID, org.apache.hadoop.mapreduce.TaskType, int"
  16789. static="false" final="false" visibility="public"
  16790. deprecated="not deprecated">
  16791. <doc>
  16792. <![CDATA[Constructs a TaskID object from given {@link JobID}.
  16793. @param jobId JobID that this tip belongs to
  16794. @param type the {@link TaskType} of the task
  16795. @param id the tip number]]>
  16796. </doc>
  16797. </constructor>
  16798. <constructor name="TaskID" type="java.lang.String, int, org.apache.hadoop.mapreduce.TaskType, int"
  16799. static="false" final="false" visibility="public"
  16800. deprecated="not deprecated">
  16801. <doc>
  16802. <![CDATA[Constructs a TaskInProgressId object from given parts.
  16803. @param jtIdentifier jobTracker identifier
  16804. @param jobId job number
  16805. @param type the TaskType
  16806. @param id the tip number]]>
  16807. </doc>
  16808. </constructor>
  16809. <constructor name="TaskID"
  16810. static="false" final="false" visibility="public"
  16811. deprecated="not deprecated">
  16812. </constructor>
  16813. <method name="getJobID" return="org.apache.hadoop.mapreduce.JobID"
  16814. abstract="false" native="false" synchronized="false"
  16815. static="false" final="false" visibility="public"
  16816. deprecated="not deprecated">
  16817. <doc>
  16818. <![CDATA[Returns the {@link JobID} object that this tip belongs to]]>
  16819. </doc>
  16820. </method>
  16821. <method name="getTaskType" return="org.apache.hadoop.mapreduce.TaskType"
  16822. abstract="false" native="false" synchronized="false"
  16823. static="false" final="false" visibility="public"
  16824. deprecated="not deprecated">
  16825. <doc>
  16826. <![CDATA[Get the type of the task]]>
  16827. </doc>
  16828. </method>
  16829. <method name="equals" return="boolean"
  16830. abstract="false" native="false" synchronized="false"
  16831. static="false" final="false" visibility="public"
  16832. deprecated="not deprecated">
  16833. <param name="o" type="java.lang.Object"/>
  16834. </method>
  16835. <method name="compareTo" return="int"
  16836. abstract="false" native="false" synchronized="false"
  16837. static="false" final="false" visibility="public"
  16838. deprecated="not deprecated">
  16839. <param name="o" type="org.apache.hadoop.mapreduce.ID"/>
  16840. <doc>
  16841. <![CDATA[Compare TaskInProgressIds by first jobIds, then by tip numbers. Reduces are
  16842. defined as greater then maps.]]>
  16843. </doc>
  16844. </method>
  16845. <method name="toString" return="java.lang.String"
  16846. abstract="false" native="false" synchronized="false"
  16847. static="false" final="false" visibility="public"
  16848. deprecated="not deprecated">
  16849. </method>
  16850. <method name="appendTo" return="java.lang.StringBuilder"
  16851. abstract="false" native="false" synchronized="false"
  16852. static="false" final="false" visibility="protected"
  16853. deprecated="not deprecated">
  16854. <param name="builder" type="java.lang.StringBuilder"/>
  16855. <doc>
  16856. <![CDATA[Add the unique string to the given builder.
  16857. @param builder the builder to append to
  16858. @return the builder that was passed in]]>
  16859. </doc>
  16860. </method>
  16861. <method name="hashCode" return="int"
  16862. abstract="false" native="false" synchronized="false"
  16863. static="false" final="false" visibility="public"
  16864. deprecated="not deprecated">
  16865. </method>
  16866. <method name="readFields"
  16867. abstract="false" native="false" synchronized="false"
  16868. static="false" final="false" visibility="public"
  16869. deprecated="not deprecated">
  16870. <param name="in" type="java.io.DataInput"/>
  16871. <exception name="IOException" type="java.io.IOException"/>
  16872. </method>
  16873. <method name="write"
  16874. abstract="false" native="false" synchronized="false"
  16875. static="false" final="false" visibility="public"
  16876. deprecated="not deprecated">
  16877. <param name="out" type="java.io.DataOutput"/>
  16878. <exception name="IOException" type="java.io.IOException"/>
  16879. </method>
  16880. <method name="forName" return="org.apache.hadoop.mapreduce.TaskID"
  16881. abstract="false" native="false" synchronized="false"
  16882. static="true" final="false" visibility="public"
  16883. deprecated="not deprecated">
  16884. <param name="str" type="java.lang.String"/>
  16885. <exception name="IllegalArgumentException" type="java.lang.IllegalArgumentException"/>
  16886. <doc>
  16887. <![CDATA[Construct a TaskID object from given string
  16888. @return constructed TaskID object or null if the given String is null
  16889. @throws IllegalArgumentException if the given string is malformed]]>
  16890. </doc>
  16891. </method>
  16892. <method name="getRepresentingCharacter" return="char"
  16893. abstract="false" native="false" synchronized="false"
  16894. static="true" final="false" visibility="public"
  16895. deprecated="not deprecated">
  16896. <param name="type" type="org.apache.hadoop.mapreduce.TaskType"/>
  16897. <doc>
  16898. <![CDATA[Gets the character representing the {@link TaskType}
  16899. @param type the TaskType
  16900. @return the character]]>
  16901. </doc>
  16902. </method>
  16903. <method name="getTaskType" return="org.apache.hadoop.mapreduce.TaskType"
  16904. abstract="false" native="false" synchronized="false"
  16905. static="true" final="false" visibility="public"
  16906. deprecated="not deprecated">
  16907. <param name="c" type="char"/>
  16908. <doc>
  16909. <![CDATA[Gets the {@link TaskType} corresponding to the character
  16910. @param c the character
  16911. @return the TaskType]]>
  16912. </doc>
  16913. </method>
  16914. <method name="getAllTaskTypes" return="java.lang.String"
  16915. abstract="false" native="false" synchronized="false"
  16916. static="true" final="false" visibility="public"
  16917. deprecated="not deprecated">
  16918. </method>
  16919. <field name="TASK" type="java.lang.String"
  16920. transient="false" volatile="false"
  16921. static="true" final="true" visibility="protected"
  16922. deprecated="not deprecated">
  16923. </field>
  16924. <field name="idFormat" type="java.text.NumberFormat"
  16925. transient="false" volatile="false"
  16926. static="true" final="true" visibility="protected"
  16927. deprecated="not deprecated">
  16928. </field>
  16929. <doc>
  16930. <![CDATA[TaskID represents the immutable and unique identifier for
  16931. a Map or Reduce Task. Each TaskID encompasses multiple attempts made to
  16932. execute the Map or Reduce Task, each of which are uniquely indentified by
  16933. their TaskAttemptID.
  16934. TaskID consists of 3 parts. First part is the {@link JobID}, that this
  16935. TaskInProgress belongs to. Second part of the TaskID is either 'm' or 'r'
  16936. representing whether the task is a map task or a reduce task.
  16937. And the third part is the task number. <br>
  16938. An example TaskID is :
  16939. <code>task_200707121733_0003_m_000005</code> , which represents the
  16940. fifth map task in the third job running at the jobtracker
  16941. started at <code>200707121733</code>.
  16942. <p>
  16943. Applications should never construct or parse TaskID strings
  16944. , but rather use appropriate constructors or {@link #forName(String)}
  16945. method.
  16946. @see JobID
  16947. @see TaskAttemptID]]>
  16948. </doc>
  16949. </class>
  16950. <!-- end class org.apache.hadoop.mapreduce.TaskID -->
  16951. <!-- start interface org.apache.hadoop.mapreduce.TaskInputOutputContext -->
  16952. <interface name="TaskInputOutputContext" abstract="true"
  16953. static="false" final="false" visibility="public"
  16954. deprecated="not deprecated">
  16955. <implements name="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  16956. <method name="nextKeyValue" return="boolean"
  16957. abstract="false" native="false" synchronized="false"
  16958. static="false" final="false" visibility="public"
  16959. deprecated="not deprecated">
  16960. <exception name="IOException" type="java.io.IOException"/>
  16961. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  16962. <doc>
  16963. <![CDATA[Advance to the next key, value pair, returning null if at end.
  16964. @return the key object that was read into, or null if no more]]>
  16965. </doc>
  16966. </method>
  16967. <method name="getCurrentKey" return="KEYIN"
  16968. abstract="false" native="false" synchronized="false"
  16969. static="false" final="false" visibility="public"
  16970. deprecated="not deprecated">
  16971. <exception name="IOException" type="java.io.IOException"/>
  16972. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  16973. <doc>
  16974. <![CDATA[Get the current key.
  16975. @return the current key object or null if there isn't one
  16976. @throws IOException
  16977. @throws InterruptedException]]>
  16978. </doc>
  16979. </method>
  16980. <method name="getCurrentValue" return="VALUEIN"
  16981. abstract="false" native="false" synchronized="false"
  16982. static="false" final="false" visibility="public"
  16983. deprecated="not deprecated">
  16984. <exception name="IOException" type="java.io.IOException"/>
  16985. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  16986. <doc>
  16987. <![CDATA[Get the current value.
  16988. @return the value object that was read into
  16989. @throws IOException
  16990. @throws InterruptedException]]>
  16991. </doc>
  16992. </method>
  16993. <method name="write"
  16994. abstract="false" native="false" synchronized="false"
  16995. static="false" final="false" visibility="public"
  16996. deprecated="not deprecated">
  16997. <param name="key" type="KEYOUT"/>
  16998. <param name="value" type="VALUEOUT"/>
  16999. <exception name="IOException" type="java.io.IOException"/>
  17000. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  17001. <doc>
  17002. <![CDATA[Generate an output key/value pair.]]>
  17003. </doc>
  17004. </method>
  17005. <method name="getCounter" return="org.apache.hadoop.mapreduce.Counter"
  17006. abstract="false" native="false" synchronized="false"
  17007. static="false" final="false" visibility="public"
  17008. deprecated="not deprecated">
  17009. <param name="counterName" type="java.lang.Enum"/>
  17010. <doc>
  17011. <![CDATA[Get the {@link Counter} for the given <code>counterName</code>.
  17012. @param counterName counter name
  17013. @return the <code>Counter</code> for the given <code>counterName</code>]]>
  17014. </doc>
  17015. </method>
  17016. <method name="getCounter" return="org.apache.hadoop.mapreduce.Counter"
  17017. abstract="false" native="false" synchronized="false"
  17018. static="false" final="false" visibility="public"
  17019. deprecated="not deprecated">
  17020. <param name="groupName" type="java.lang.String"/>
  17021. <param name="counterName" type="java.lang.String"/>
  17022. <doc>
  17023. <![CDATA[Get the {@link Counter} for the given <code>groupName</code> and
  17024. <code>counterName</code>.
  17025. @param counterName counter name
  17026. @return the <code>Counter</code> for the given <code>groupName</code> and
  17027. <code>counterName</code>]]>
  17028. </doc>
  17029. </method>
  17030. <method name="getOutputCommitter" return="org.apache.hadoop.mapreduce.OutputCommitter"
  17031. abstract="false" native="false" synchronized="false"
  17032. static="false" final="false" visibility="public"
  17033. deprecated="not deprecated">
  17034. <doc>
  17035. <![CDATA[Get the {@link OutputCommitter} for the task-attempt.
  17036. @return the <code>OutputCommitter</code> for the task-attempt]]>
  17037. </doc>
  17038. </method>
  17039. <doc>
  17040. <![CDATA[A context object that allows input and output from the task. It is only
  17041. supplied to the {@link Mapper} or {@link Reducer}.
  17042. @param <KEYIN> the input key type for the task
  17043. @param <VALUEIN> the input value type for the task
  17044. @param <KEYOUT> the output key type for the task
  17045. @param <VALUEOUT> the output value type for the task]]>
  17046. </doc>
  17047. </interface>
  17048. <!-- end interface org.apache.hadoop.mapreduce.TaskInputOutputContext -->
  17049. <!-- start class org.apache.hadoop.mapreduce.TaskTrackerInfo -->
  17050. <class name="TaskTrackerInfo" extends="java.lang.Object"
  17051. abstract="false"
  17052. static="false" final="false" visibility="public"
  17053. deprecated="not deprecated">
  17054. <implements name="org.apache.hadoop.io.Writable"/>
  17055. <constructor name="TaskTrackerInfo"
  17056. static="false" final="false" visibility="public"
  17057. deprecated="not deprecated">
  17058. </constructor>
  17059. <constructor name="TaskTrackerInfo" type="java.lang.String"
  17060. static="false" final="false" visibility="public"
  17061. deprecated="not deprecated">
  17062. </constructor>
  17063. <constructor name="TaskTrackerInfo" type="java.lang.String, java.lang.String, java.lang.String"
  17064. static="false" final="false" visibility="public"
  17065. deprecated="not deprecated">
  17066. </constructor>
  17067. <method name="getTaskTrackerName" return="java.lang.String"
  17068. abstract="false" native="false" synchronized="false"
  17069. static="false" final="false" visibility="public"
  17070. deprecated="not deprecated">
  17071. <doc>
  17072. <![CDATA[Gets the tasktracker's name.
  17073. @return tracker's name.]]>
  17074. </doc>
  17075. </method>
  17076. <method name="isBlacklisted" return="boolean"
  17077. abstract="false" native="false" synchronized="false"
  17078. static="false" final="false" visibility="public"
  17079. deprecated="not deprecated">
  17080. <doc>
  17081. <![CDATA[Whether tracker is blacklisted
  17082. @return true if tracker is blacklisted
  17083. false otherwise]]>
  17084. </doc>
  17085. </method>
  17086. <method name="getReasonForBlacklist" return="java.lang.String"
  17087. abstract="false" native="false" synchronized="false"
  17088. static="false" final="false" visibility="public"
  17089. deprecated="not deprecated">
  17090. <doc>
  17091. <![CDATA[Gets the reason for which the tasktracker was blacklisted.
  17092. @return reason which tracker was blacklisted]]>
  17093. </doc>
  17094. </method>
  17095. <method name="getBlacklistReport" return="java.lang.String"
  17096. abstract="false" native="false" synchronized="false"
  17097. static="false" final="false" visibility="public"
  17098. deprecated="not deprecated">
  17099. <doc>
  17100. <![CDATA[Gets a descriptive report about why the tasktracker was blacklisted.
  17101. @return report describing why the tasktracker was blacklisted.]]>
  17102. </doc>
  17103. </method>
  17104. <method name="readFields"
  17105. abstract="false" native="false" synchronized="false"
  17106. static="false" final="false" visibility="public"
  17107. deprecated="not deprecated">
  17108. <param name="in" type="java.io.DataInput"/>
  17109. <exception name="IOException" type="java.io.IOException"/>
  17110. </method>
  17111. <method name="write"
  17112. abstract="false" native="false" synchronized="false"
  17113. static="false" final="false" visibility="public"
  17114. deprecated="not deprecated">
  17115. <param name="out" type="java.io.DataOutput"/>
  17116. <exception name="IOException" type="java.io.IOException"/>
  17117. </method>
  17118. <doc>
  17119. <![CDATA[Information about TaskTracker.]]>
  17120. </doc>
  17121. </class>
  17122. <!-- end class org.apache.hadoop.mapreduce.TaskTrackerInfo -->
  17123. <!-- start class org.apache.hadoop.mapreduce.TaskType -->
  17124. <class name="TaskType" extends="java.lang.Enum"
  17125. abstract="false"
  17126. static="false" final="true" visibility="public"
  17127. deprecated="not deprecated">
  17128. <method name="values" return="org.apache.hadoop.mapreduce.TaskType[]"
  17129. abstract="false" native="false" synchronized="false"
  17130. static="true" final="false" visibility="public"
  17131. deprecated="not deprecated">
  17132. </method>
  17133. <method name="valueOf" return="org.apache.hadoop.mapreduce.TaskType"
  17134. abstract="false" native="false" synchronized="false"
  17135. static="true" final="false" visibility="public"
  17136. deprecated="not deprecated">
  17137. <param name="name" type="java.lang.String"/>
  17138. </method>
  17139. <doc>
  17140. <![CDATA[Enum for map, reduce, job-setup, job-cleanup, task-cleanup task types.]]>
  17141. </doc>
  17142. </class>
  17143. <!-- end class org.apache.hadoop.mapreduce.TaskType -->
  17144. </package>
  17145. <package name="org.apache.hadoop.mapreduce.lib.aggregate">
  17146. <!-- start class org.apache.hadoop.mapreduce.lib.aggregate.DoubleValueSum -->
  17147. <class name="DoubleValueSum" extends="java.lang.Object"
  17148. abstract="false"
  17149. static="false" final="false" visibility="public"
  17150. deprecated="not deprecated">
  17151. <implements name="org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregator"/>
  17152. <constructor name="DoubleValueSum"
  17153. static="false" final="false" visibility="public"
  17154. deprecated="not deprecated">
  17155. <doc>
  17156. <![CDATA[The default constructor]]>
  17157. </doc>
  17158. </constructor>
  17159. <method name="addNextValue"
  17160. abstract="false" native="false" synchronized="false"
  17161. static="false" final="false" visibility="public"
  17162. deprecated="not deprecated">
  17163. <param name="val" type="java.lang.Object"/>
  17164. <doc>
  17165. <![CDATA[add a value to the aggregator
  17166. @param val
  17167. an object whose string representation represents a double value.]]>
  17168. </doc>
  17169. </method>
  17170. <method name="addNextValue"
  17171. abstract="false" native="false" synchronized="false"
  17172. static="false" final="false" visibility="public"
  17173. deprecated="not deprecated">
  17174. <param name="val" type="double"/>
  17175. <doc>
  17176. <![CDATA[add a value to the aggregator
  17177. @param val
  17178. a double value.]]>
  17179. </doc>
  17180. </method>
  17181. <method name="getReport" return="java.lang.String"
  17182. abstract="false" native="false" synchronized="false"
  17183. static="false" final="false" visibility="public"
  17184. deprecated="not deprecated">
  17185. <doc>
  17186. <![CDATA[@return the string representation of the aggregated value]]>
  17187. </doc>
  17188. </method>
  17189. <method name="getSum" return="double"
  17190. abstract="false" native="false" synchronized="false"
  17191. static="false" final="false" visibility="public"
  17192. deprecated="not deprecated">
  17193. <doc>
  17194. <![CDATA[@return the aggregated value]]>
  17195. </doc>
  17196. </method>
  17197. <method name="reset"
  17198. abstract="false" native="false" synchronized="false"
  17199. static="false" final="false" visibility="public"
  17200. deprecated="not deprecated">
  17201. <doc>
  17202. <![CDATA[reset the aggregator]]>
  17203. </doc>
  17204. </method>
  17205. <method name="getCombinerOutput" return="java.util.ArrayList"
  17206. abstract="false" native="false" synchronized="false"
  17207. static="false" final="false" visibility="public"
  17208. deprecated="not deprecated">
  17209. <doc>
  17210. <![CDATA[@return return an array of one element. The element is a string
  17211. representation of the aggregated value. The return value is
  17212. expected to be used by the a combiner.]]>
  17213. </doc>
  17214. </method>
  17215. <doc>
  17216. <![CDATA[This class implements a value aggregator that sums up a sequence of double
  17217. values.]]>
  17218. </doc>
  17219. </class>
  17220. <!-- end class org.apache.hadoop.mapreduce.lib.aggregate.DoubleValueSum -->
  17221. <!-- start class org.apache.hadoop.mapreduce.lib.aggregate.LongValueMax -->
  17222. <class name="LongValueMax" extends="java.lang.Object"
  17223. abstract="false"
  17224. static="false" final="false" visibility="public"
  17225. deprecated="not deprecated">
  17226. <implements name="org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregator"/>
  17227. <constructor name="LongValueMax"
  17228. static="false" final="false" visibility="public"
  17229. deprecated="not deprecated">
  17230. <doc>
  17231. <![CDATA[the default constructor]]>
  17232. </doc>
  17233. </constructor>
  17234. <method name="addNextValue"
  17235. abstract="false" native="false" synchronized="false"
  17236. static="false" final="false" visibility="public"
  17237. deprecated="not deprecated">
  17238. <param name="val" type="java.lang.Object"/>
  17239. <doc>
  17240. <![CDATA[add a value to the aggregator
  17241. @param val
  17242. an object whose string representation represents a long value.]]>
  17243. </doc>
  17244. </method>
  17245. <method name="addNextValue"
  17246. abstract="false" native="false" synchronized="false"
  17247. static="false" final="false" visibility="public"
  17248. deprecated="not deprecated">
  17249. <param name="newVal" type="long"/>
  17250. <doc>
  17251. <![CDATA[add a value to the aggregator
  17252. @param newVal
  17253. a long value.]]>
  17254. </doc>
  17255. </method>
  17256. <method name="getVal" return="long"
  17257. abstract="false" native="false" synchronized="false"
  17258. static="false" final="false" visibility="public"
  17259. deprecated="not deprecated">
  17260. <doc>
  17261. <![CDATA[@return the aggregated value]]>
  17262. </doc>
  17263. </method>
  17264. <method name="getReport" return="java.lang.String"
  17265. abstract="false" native="false" synchronized="false"
  17266. static="false" final="false" visibility="public"
  17267. deprecated="not deprecated">
  17268. <doc>
  17269. <![CDATA[@return the string representation of the aggregated value]]>
  17270. </doc>
  17271. </method>
  17272. <method name="reset"
  17273. abstract="false" native="false" synchronized="false"
  17274. static="false" final="false" visibility="public"
  17275. deprecated="not deprecated">
  17276. <doc>
  17277. <![CDATA[reset the aggregator]]>
  17278. </doc>
  17279. </method>
  17280. <method name="getCombinerOutput" return="java.util.ArrayList"
  17281. abstract="false" native="false" synchronized="false"
  17282. static="false" final="false" visibility="public"
  17283. deprecated="not deprecated">
  17284. <doc>
  17285. <![CDATA[@return return an array of one element. The element is a string
  17286. representation of the aggregated value. The return value is
  17287. expected to be used by the a combiner.]]>
  17288. </doc>
  17289. </method>
  17290. <doc>
  17291. <![CDATA[This class implements a value aggregator that maintain the maximum of
  17292. a sequence of long values.]]>
  17293. </doc>
  17294. </class>
  17295. <!-- end class org.apache.hadoop.mapreduce.lib.aggregate.LongValueMax -->
  17296. <!-- start class org.apache.hadoop.mapreduce.lib.aggregate.LongValueMin -->
  17297. <class name="LongValueMin" extends="java.lang.Object"
  17298. abstract="false"
  17299. static="false" final="false" visibility="public"
  17300. deprecated="not deprecated">
  17301. <implements name="org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregator"/>
  17302. <constructor name="LongValueMin"
  17303. static="false" final="false" visibility="public"
  17304. deprecated="not deprecated">
  17305. <doc>
  17306. <![CDATA[the default constructor]]>
  17307. </doc>
  17308. </constructor>
  17309. <method name="addNextValue"
  17310. abstract="false" native="false" synchronized="false"
  17311. static="false" final="false" visibility="public"
  17312. deprecated="not deprecated">
  17313. <param name="val" type="java.lang.Object"/>
  17314. <doc>
  17315. <![CDATA[add a value to the aggregator
  17316. @param val
  17317. an object whose string representation represents a long value.]]>
  17318. </doc>
  17319. </method>
  17320. <method name="addNextValue"
  17321. abstract="false" native="false" synchronized="false"
  17322. static="false" final="false" visibility="public"
  17323. deprecated="not deprecated">
  17324. <param name="newVal" type="long"/>
  17325. <doc>
  17326. <![CDATA[add a value to the aggregator
  17327. @param newVal
  17328. a long value.]]>
  17329. </doc>
  17330. </method>
  17331. <method name="getVal" return="long"
  17332. abstract="false" native="false" synchronized="false"
  17333. static="false" final="false" visibility="public"
  17334. deprecated="not deprecated">
  17335. <doc>
  17336. <![CDATA[@return the aggregated value]]>
  17337. </doc>
  17338. </method>
  17339. <method name="getReport" return="java.lang.String"
  17340. abstract="false" native="false" synchronized="false"
  17341. static="false" final="false" visibility="public"
  17342. deprecated="not deprecated">
  17343. <doc>
  17344. <![CDATA[@return the string representation of the aggregated value]]>
  17345. </doc>
  17346. </method>
  17347. <method name="reset"
  17348. abstract="false" native="false" synchronized="false"
  17349. static="false" final="false" visibility="public"
  17350. deprecated="not deprecated">
  17351. <doc>
  17352. <![CDATA[reset the aggregator]]>
  17353. </doc>
  17354. </method>
  17355. <method name="getCombinerOutput" return="java.util.ArrayList"
  17356. abstract="false" native="false" synchronized="false"
  17357. static="false" final="false" visibility="public"
  17358. deprecated="not deprecated">
  17359. <doc>
  17360. <![CDATA[@return return an array of one element. The element is a string
  17361. representation of the aggregated value. The return value is
  17362. expected to be used by the a combiner.]]>
  17363. </doc>
  17364. </method>
  17365. <doc>
  17366. <![CDATA[This class implements a value aggregator that maintain the minimum of
  17367. a sequence of long values.]]>
  17368. </doc>
  17369. </class>
  17370. <!-- end class org.apache.hadoop.mapreduce.lib.aggregate.LongValueMin -->
  17371. <!-- start class org.apache.hadoop.mapreduce.lib.aggregate.LongValueSum -->
  17372. <class name="LongValueSum" extends="java.lang.Object"
  17373. abstract="false"
  17374. static="false" final="false" visibility="public"
  17375. deprecated="not deprecated">
  17376. <implements name="org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregator"/>
  17377. <constructor name="LongValueSum"
  17378. static="false" final="false" visibility="public"
  17379. deprecated="not deprecated">
  17380. <doc>
  17381. <![CDATA[the default constructor]]>
  17382. </doc>
  17383. </constructor>
  17384. <method name="addNextValue"
  17385. abstract="false" native="false" synchronized="false"
  17386. static="false" final="false" visibility="public"
  17387. deprecated="not deprecated">
  17388. <param name="val" type="java.lang.Object"/>
  17389. <doc>
  17390. <![CDATA[add a value to the aggregator
  17391. @param val
  17392. an object whose string representation represents a long value.]]>
  17393. </doc>
  17394. </method>
  17395. <method name="addNextValue"
  17396. abstract="false" native="false" synchronized="false"
  17397. static="false" final="false" visibility="public"
  17398. deprecated="not deprecated">
  17399. <param name="val" type="long"/>
  17400. <doc>
  17401. <![CDATA[add a value to the aggregator
  17402. @param val
  17403. a long value.]]>
  17404. </doc>
  17405. </method>
  17406. <method name="getSum" return="long"
  17407. abstract="false" native="false" synchronized="false"
  17408. static="false" final="false" visibility="public"
  17409. deprecated="not deprecated">
  17410. <doc>
  17411. <![CDATA[@return the aggregated value]]>
  17412. </doc>
  17413. </method>
  17414. <method name="getReport" return="java.lang.String"
  17415. abstract="false" native="false" synchronized="false"
  17416. static="false" final="false" visibility="public"
  17417. deprecated="not deprecated">
  17418. <doc>
  17419. <![CDATA[@return the string representation of the aggregated value]]>
  17420. </doc>
  17421. </method>
  17422. <method name="reset"
  17423. abstract="false" native="false" synchronized="false"
  17424. static="false" final="false" visibility="public"
  17425. deprecated="not deprecated">
  17426. <doc>
  17427. <![CDATA[reset the aggregator]]>
  17428. </doc>
  17429. </method>
  17430. <method name="getCombinerOutput" return="java.util.ArrayList"
  17431. abstract="false" native="false" synchronized="false"
  17432. static="false" final="false" visibility="public"
  17433. deprecated="not deprecated">
  17434. <doc>
  17435. <![CDATA[@return return an array of one element. The element is a string
  17436. representation of the aggregated value. The return value is
  17437. expected to be used by the a combiner.]]>
  17438. </doc>
  17439. </method>
  17440. <doc>
  17441. <![CDATA[This class implements a value aggregator that sums up
  17442. a sequence of long values.]]>
  17443. </doc>
  17444. </class>
  17445. <!-- end class org.apache.hadoop.mapreduce.lib.aggregate.LongValueSum -->
  17446. <!-- start class org.apache.hadoop.mapreduce.lib.aggregate.StringValueMax -->
  17447. <class name="StringValueMax" extends="java.lang.Object"
  17448. abstract="false"
  17449. static="false" final="false" visibility="public"
  17450. deprecated="not deprecated">
  17451. <implements name="org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregator"/>
  17452. <constructor name="StringValueMax"
  17453. static="false" final="false" visibility="public"
  17454. deprecated="not deprecated">
  17455. <doc>
  17456. <![CDATA[the default constructor]]>
  17457. </doc>
  17458. </constructor>
  17459. <method name="addNextValue"
  17460. abstract="false" native="false" synchronized="false"
  17461. static="false" final="false" visibility="public"
  17462. deprecated="not deprecated">
  17463. <param name="val" type="java.lang.Object"/>
  17464. <doc>
  17465. <![CDATA[add a value to the aggregator
  17466. @param val
  17467. a string.]]>
  17468. </doc>
  17469. </method>
  17470. <method name="getVal" return="java.lang.String"
  17471. abstract="false" native="false" synchronized="false"
  17472. static="false" final="false" visibility="public"
  17473. deprecated="not deprecated">
  17474. <doc>
  17475. <![CDATA[@return the aggregated value]]>
  17476. </doc>
  17477. </method>
  17478. <method name="getReport" return="java.lang.String"
  17479. abstract="false" native="false" synchronized="false"
  17480. static="false" final="false" visibility="public"
  17481. deprecated="not deprecated">
  17482. <doc>
  17483. <![CDATA[@return the string representation of the aggregated value]]>
  17484. </doc>
  17485. </method>
  17486. <method name="reset"
  17487. abstract="false" native="false" synchronized="false"
  17488. static="false" final="false" visibility="public"
  17489. deprecated="not deprecated">
  17490. <doc>
  17491. <![CDATA[reset the aggregator]]>
  17492. </doc>
  17493. </method>
  17494. <method name="getCombinerOutput" return="java.util.ArrayList"
  17495. abstract="false" native="false" synchronized="false"
  17496. static="false" final="false" visibility="public"
  17497. deprecated="not deprecated">
  17498. <doc>
  17499. <![CDATA[@return return an array of one element. The element is a string
  17500. representation of the aggregated value. The return value is
  17501. expected to be used by the a combiner.]]>
  17502. </doc>
  17503. </method>
  17504. <doc>
  17505. <![CDATA[This class implements a value aggregator that maintain the biggest of
  17506. a sequence of strings.]]>
  17507. </doc>
  17508. </class>
  17509. <!-- end class org.apache.hadoop.mapreduce.lib.aggregate.StringValueMax -->
  17510. <!-- start class org.apache.hadoop.mapreduce.lib.aggregate.StringValueMin -->
  17511. <class name="StringValueMin" extends="java.lang.Object"
  17512. abstract="false"
  17513. static="false" final="false" visibility="public"
  17514. deprecated="not deprecated">
  17515. <implements name="org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregator"/>
  17516. <constructor name="StringValueMin"
  17517. static="false" final="false" visibility="public"
  17518. deprecated="not deprecated">
  17519. <doc>
  17520. <![CDATA[the default constructor]]>
  17521. </doc>
  17522. </constructor>
  17523. <method name="addNextValue"
  17524. abstract="false" native="false" synchronized="false"
  17525. static="false" final="false" visibility="public"
  17526. deprecated="not deprecated">
  17527. <param name="val" type="java.lang.Object"/>
  17528. <doc>
  17529. <![CDATA[add a value to the aggregator
  17530. @param val
  17531. a string.]]>
  17532. </doc>
  17533. </method>
  17534. <method name="getVal" return="java.lang.String"
  17535. abstract="false" native="false" synchronized="false"
  17536. static="false" final="false" visibility="public"
  17537. deprecated="not deprecated">
  17538. <doc>
  17539. <![CDATA[@return the aggregated value]]>
  17540. </doc>
  17541. </method>
  17542. <method name="getReport" return="java.lang.String"
  17543. abstract="false" native="false" synchronized="false"
  17544. static="false" final="false" visibility="public"
  17545. deprecated="not deprecated">
  17546. <doc>
  17547. <![CDATA[@return the string representation of the aggregated value]]>
  17548. </doc>
  17549. </method>
  17550. <method name="reset"
  17551. abstract="false" native="false" synchronized="false"
  17552. static="false" final="false" visibility="public"
  17553. deprecated="not deprecated">
  17554. <doc>
  17555. <![CDATA[reset the aggregator]]>
  17556. </doc>
  17557. </method>
  17558. <method name="getCombinerOutput" return="java.util.ArrayList"
  17559. abstract="false" native="false" synchronized="false"
  17560. static="false" final="false" visibility="public"
  17561. deprecated="not deprecated">
  17562. <doc>
  17563. <![CDATA[@return return an array of one element. The element is a string
  17564. representation of the aggregated value. The return value is
  17565. expected to be used by the a combiner.]]>
  17566. </doc>
  17567. </method>
  17568. <doc>
  17569. <![CDATA[This class implements a value aggregator that maintain the smallest of
  17570. a sequence of strings.]]>
  17571. </doc>
  17572. </class>
  17573. <!-- end class org.apache.hadoop.mapreduce.lib.aggregate.StringValueMin -->
  17574. <!-- start class org.apache.hadoop.mapreduce.lib.aggregate.UniqValueCount -->
  17575. <class name="UniqValueCount" extends="java.lang.Object"
  17576. abstract="false"
  17577. static="false" final="false" visibility="public"
  17578. deprecated="not deprecated">
  17579. <implements name="org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregator"/>
  17580. <constructor name="UniqValueCount"
  17581. static="false" final="false" visibility="public"
  17582. deprecated="not deprecated">
  17583. <doc>
  17584. <![CDATA[the default constructor]]>
  17585. </doc>
  17586. </constructor>
  17587. <constructor name="UniqValueCount" type="long"
  17588. static="false" final="false" visibility="public"
  17589. deprecated="not deprecated">
  17590. <doc>
  17591. <![CDATA[constructor
  17592. @param maxNum the limit in the number of unique values to keep.]]>
  17593. </doc>
  17594. </constructor>
  17595. <method name="setMaxItems" return="long"
  17596. abstract="false" native="false" synchronized="false"
  17597. static="false" final="false" visibility="public"
  17598. deprecated="not deprecated">
  17599. <param name="n" type="long"/>
  17600. <doc>
  17601. <![CDATA[Set the limit on the number of unique values
  17602. @param n the desired limit on the number of unique values
  17603. @return the new limit on the number of unique values]]>
  17604. </doc>
  17605. </method>
  17606. <method name="addNextValue"
  17607. abstract="false" native="false" synchronized="false"
  17608. static="false" final="false" visibility="public"
  17609. deprecated="not deprecated">
  17610. <param name="val" type="java.lang.Object"/>
  17611. <doc>
  17612. <![CDATA[add a value to the aggregator
  17613. @param val
  17614. an object.]]>
  17615. </doc>
  17616. </method>
  17617. <method name="getReport" return="java.lang.String"
  17618. abstract="false" native="false" synchronized="false"
  17619. static="false" final="false" visibility="public"
  17620. deprecated="not deprecated">
  17621. <doc>
  17622. <![CDATA[@return return the number of unique objects aggregated]]>
  17623. </doc>
  17624. </method>
  17625. <method name="getUniqueItems" return="java.util.Set"
  17626. abstract="false" native="false" synchronized="false"
  17627. static="false" final="false" visibility="public"
  17628. deprecated="not deprecated">
  17629. <doc>
  17630. <![CDATA[@return the set of the unique objects]]>
  17631. </doc>
  17632. </method>
  17633. <method name="reset"
  17634. abstract="false" native="false" synchronized="false"
  17635. static="false" final="false" visibility="public"
  17636. deprecated="not deprecated">
  17637. <doc>
  17638. <![CDATA[reset the aggregator]]>
  17639. </doc>
  17640. </method>
  17641. <method name="getCombinerOutput" return="java.util.ArrayList"
  17642. abstract="false" native="false" synchronized="false"
  17643. static="false" final="false" visibility="public"
  17644. deprecated="not deprecated">
  17645. <doc>
  17646. <![CDATA[@return return an array of the unique objects. The return value is
  17647. expected to be used by the a combiner.]]>
  17648. </doc>
  17649. </method>
  17650. <field name="MAX_NUM_UNIQUE_VALUES" type="java.lang.String"
  17651. transient="false" volatile="false"
  17652. static="true" final="true" visibility="public"
  17653. deprecated="not deprecated">
  17654. </field>
  17655. <doc>
  17656. <![CDATA[This class implements a value aggregator that dedupes a sequence of objects.]]>
  17657. </doc>
  17658. </class>
  17659. <!-- end class org.apache.hadoop.mapreduce.lib.aggregate.UniqValueCount -->
  17660. <!-- start class org.apache.hadoop.mapreduce.lib.aggregate.UserDefinedValueAggregatorDescriptor -->
  17661. <class name="UserDefinedValueAggregatorDescriptor" extends="java.lang.Object"
  17662. abstract="false"
  17663. static="false" final="false" visibility="public"
  17664. deprecated="not deprecated">
  17665. <implements name="org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorDescriptor"/>
  17666. <constructor name="UserDefinedValueAggregatorDescriptor" type="java.lang.String, org.apache.hadoop.conf.Configuration"
  17667. static="false" final="false" visibility="public"
  17668. deprecated="not deprecated">
  17669. <doc>
  17670. <![CDATA[@param className the class name of the user defined descriptor class
  17671. @param conf a configure object used for decriptor configuration]]>
  17672. </doc>
  17673. </constructor>
  17674. <method name="createInstance" return="java.lang.Object"
  17675. abstract="false" native="false" synchronized="false"
  17676. static="true" final="false" visibility="public"
  17677. deprecated="not deprecated">
  17678. <param name="className" type="java.lang.String"/>
  17679. <doc>
  17680. <![CDATA[Create an instance of the given class
  17681. @param className the name of the class
  17682. @return a dynamically created instance of the given class]]>
  17683. </doc>
  17684. </method>
  17685. <method name="generateKeyValPairs" return="java.util.ArrayList"
  17686. abstract="false" native="false" synchronized="false"
  17687. static="false" final="false" visibility="public"
  17688. deprecated="not deprecated">
  17689. <param name="key" type="java.lang.Object"/>
  17690. <param name="val" type="java.lang.Object"/>
  17691. <doc>
  17692. <![CDATA[Generate a list of aggregation-id/value pairs for the given
  17693. key/value pairs by delegating the invocation to the real object.
  17694. @param key
  17695. input key
  17696. @param val
  17697. input value
  17698. @return a list of aggregation id/value pairs. An aggregation id encodes an
  17699. aggregation type which is used to guide the way to aggregate the
  17700. value in the reduce/combiner phrase of an Aggregate based job.]]>
  17701. </doc>
  17702. </method>
  17703. <method name="toString" return="java.lang.String"
  17704. abstract="false" native="false" synchronized="false"
  17705. static="false" final="false" visibility="public"
  17706. deprecated="not deprecated">
  17707. <doc>
  17708. <![CDATA[@return the string representation of this object.]]>
  17709. </doc>
  17710. </method>
  17711. <method name="configure"
  17712. abstract="false" native="false" synchronized="false"
  17713. static="false" final="false" visibility="public"
  17714. deprecated="not deprecated">
  17715. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  17716. <doc>
  17717. <![CDATA[Do nothing.]]>
  17718. </doc>
  17719. </method>
  17720. <field name="theAggregatorDescriptor" type="org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorDescriptor"
  17721. transient="false" volatile="false"
  17722. static="false" final="false" visibility="protected"
  17723. deprecated="not deprecated">
  17724. </field>
  17725. <doc>
  17726. <![CDATA[This class implements a wrapper for a user defined value
  17727. aggregator descriptor.
  17728. It serves two functions: One is to create an object of
  17729. ValueAggregatorDescriptor from the name of a user defined class
  17730. that may be dynamically loaded. The other is to
  17731. delegate invocations of generateKeyValPairs function to the created object.]]>
  17732. </doc>
  17733. </class>
  17734. <!-- end class org.apache.hadoop.mapreduce.lib.aggregate.UserDefinedValueAggregatorDescriptor -->
  17735. <!-- start interface org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregator -->
  17736. <interface name="ValueAggregator" abstract="true"
  17737. static="false" final="false" visibility="public"
  17738. deprecated="not deprecated">
  17739. <method name="addNextValue"
  17740. abstract="false" native="false" synchronized="false"
  17741. static="false" final="false" visibility="public"
  17742. deprecated="not deprecated">
  17743. <param name="val" type="java.lang.Object"/>
  17744. <doc>
  17745. <![CDATA[add a value to the aggregator
  17746. @param val the value to be added]]>
  17747. </doc>
  17748. </method>
  17749. <method name="reset"
  17750. abstract="false" native="false" synchronized="false"
  17751. static="false" final="false" visibility="public"
  17752. deprecated="not deprecated">
  17753. <doc>
  17754. <![CDATA[reset the aggregator]]>
  17755. </doc>
  17756. </method>
  17757. <method name="getReport" return="java.lang.String"
  17758. abstract="false" native="false" synchronized="false"
  17759. static="false" final="false" visibility="public"
  17760. deprecated="not deprecated">
  17761. <doc>
  17762. <![CDATA[@return the string representation of the agregator]]>
  17763. </doc>
  17764. </method>
  17765. <method name="getCombinerOutput" return="java.util.ArrayList"
  17766. abstract="false" native="false" synchronized="false"
  17767. static="false" final="false" visibility="public"
  17768. deprecated="not deprecated">
  17769. <doc>
  17770. <![CDATA[@return an array of values as the outputs of the combiner.]]>
  17771. </doc>
  17772. </method>
  17773. <doc>
  17774. <![CDATA[This interface defines the minimal protocol for value aggregators.]]>
  17775. </doc>
  17776. </interface>
  17777. <!-- end interface org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregator -->
  17778. <!-- start class org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorBaseDescriptor -->
  17779. <class name="ValueAggregatorBaseDescriptor" extends="java.lang.Object"
  17780. abstract="false"
  17781. static="false" final="false" visibility="public"
  17782. deprecated="not deprecated">
  17783. <implements name="org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorDescriptor"/>
  17784. <constructor name="ValueAggregatorBaseDescriptor"
  17785. static="false" final="false" visibility="public"
  17786. deprecated="not deprecated">
  17787. </constructor>
  17788. <method name="generateEntry" return="java.util.Map.Entry"
  17789. abstract="false" native="false" synchronized="false"
  17790. static="true" final="false" visibility="public"
  17791. deprecated="not deprecated">
  17792. <param name="type" type="java.lang.String"/>
  17793. <param name="id" type="java.lang.String"/>
  17794. <param name="val" type="org.apache.hadoop.io.Text"/>
  17795. <doc>
  17796. <![CDATA[@param type the aggregation type
  17797. @param id the aggregation id
  17798. @param val the val associated with the id to be aggregated
  17799. @return an Entry whose key is the aggregation id prefixed with
  17800. the aggregation type.]]>
  17801. </doc>
  17802. </method>
  17803. <method name="generateValueAggregator" return="org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregator"
  17804. abstract="false" native="false" synchronized="false"
  17805. static="true" final="false" visibility="public"
  17806. deprecated="not deprecated">
  17807. <param name="type" type="java.lang.String"/>
  17808. <param name="uniqCount" type="long"/>
  17809. <doc>
  17810. <![CDATA[@param type the aggregation type
  17811. @param uniqCount the limit in the number of unique values to keep,
  17812. if type is UNIQ_VALUE_COUNT
  17813. @return a value aggregator of the given type.]]>
  17814. </doc>
  17815. </method>
  17816. <method name="generateKeyValPairs" return="java.util.ArrayList"
  17817. abstract="false" native="false" synchronized="false"
  17818. static="false" final="false" visibility="public"
  17819. deprecated="not deprecated">
  17820. <param name="key" type="java.lang.Object"/>
  17821. <param name="val" type="java.lang.Object"/>
  17822. <doc>
  17823. <![CDATA[Generate 1 or 2 aggregation-id/value pairs for the given key/value pair.
  17824. The first id will be of type LONG_VALUE_SUM, with "record_count" as
  17825. its aggregation id. If the input is a file split,
  17826. the second id of the same type will be generated too, with the file name
  17827. as its aggregation id. This achieves the behavior of counting the total
  17828. number of records in the input data, and the number of records
  17829. in each input file.
  17830. @param key
  17831. input key
  17832. @param val
  17833. input value
  17834. @return a list of aggregation id/value pairs. An aggregation id encodes an
  17835. aggregation type which is used to guide the way to aggregate the
  17836. value in the reduce/combiner phrase of an Aggregate based job.]]>
  17837. </doc>
  17838. </method>
  17839. <method name="configure"
  17840. abstract="false" native="false" synchronized="false"
  17841. static="false" final="false" visibility="public"
  17842. deprecated="not deprecated">
  17843. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  17844. <doc>
  17845. <![CDATA[get the input file name.
  17846. @param conf a configuration object]]>
  17847. </doc>
  17848. </method>
  17849. <field name="UNIQ_VALUE_COUNT" type="java.lang.String"
  17850. transient="false" volatile="false"
  17851. static="true" final="true" visibility="public"
  17852. deprecated="not deprecated">
  17853. </field>
  17854. <field name="LONG_VALUE_SUM" type="java.lang.String"
  17855. transient="false" volatile="false"
  17856. static="true" final="true" visibility="public"
  17857. deprecated="not deprecated">
  17858. </field>
  17859. <field name="DOUBLE_VALUE_SUM" type="java.lang.String"
  17860. transient="false" volatile="false"
  17861. static="true" final="true" visibility="public"
  17862. deprecated="not deprecated">
  17863. </field>
  17864. <field name="VALUE_HISTOGRAM" type="java.lang.String"
  17865. transient="false" volatile="false"
  17866. static="true" final="true" visibility="public"
  17867. deprecated="not deprecated">
  17868. </field>
  17869. <field name="LONG_VALUE_MAX" type="java.lang.String"
  17870. transient="false" volatile="false"
  17871. static="true" final="true" visibility="public"
  17872. deprecated="not deprecated">
  17873. </field>
  17874. <field name="LONG_VALUE_MIN" type="java.lang.String"
  17875. transient="false" volatile="false"
  17876. static="true" final="true" visibility="public"
  17877. deprecated="not deprecated">
  17878. </field>
  17879. <field name="STRING_VALUE_MAX" type="java.lang.String"
  17880. transient="false" volatile="false"
  17881. static="true" final="true" visibility="public"
  17882. deprecated="not deprecated">
  17883. </field>
  17884. <field name="STRING_VALUE_MIN" type="java.lang.String"
  17885. transient="false" volatile="false"
  17886. static="true" final="true" visibility="public"
  17887. deprecated="not deprecated">
  17888. </field>
  17889. <field name="inputFile" type="java.lang.String"
  17890. transient="false" volatile="false"
  17891. static="false" final="false" visibility="public"
  17892. deprecated="not deprecated">
  17893. </field>
  17894. <doc>
  17895. <![CDATA[This class implements the common functionalities of
  17896. the subclasses of ValueAggregatorDescriptor class.]]>
  17897. </doc>
  17898. </class>
  17899. <!-- end class org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorBaseDescriptor -->
  17900. <!-- start class org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorCombiner -->
  17901. <class name="ValueAggregatorCombiner" extends="org.apache.hadoop.mapreduce.Reducer"
  17902. abstract="false"
  17903. static="false" final="false" visibility="public"
  17904. deprecated="not deprecated">
  17905. <constructor name="ValueAggregatorCombiner"
  17906. static="false" final="false" visibility="public"
  17907. deprecated="not deprecated">
  17908. </constructor>
  17909. <method name="reduce"
  17910. abstract="false" native="false" synchronized="false"
  17911. static="false" final="false" visibility="public"
  17912. deprecated="not deprecated">
  17913. <param name="key" type="org.apache.hadoop.io.Text"/>
  17914. <param name="values" type="java.lang.Iterable"/>
  17915. <param name="context" type="org.apache.hadoop.mapreduce.Reducer.Context"/>
  17916. <exception name="IOException" type="java.io.IOException"/>
  17917. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  17918. <doc>
  17919. <![CDATA[Combines values for a given key.
  17920. @param key the key is expected to be a Text object, whose prefix indicates
  17921. the type of aggregation to aggregate the values.
  17922. @param values the values to combine
  17923. @param context to collect combined values]]>
  17924. </doc>
  17925. </method>
  17926. <doc>
  17927. <![CDATA[This class implements the generic combiner of Aggregate.]]>
  17928. </doc>
  17929. </class>
  17930. <!-- end class org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorCombiner -->
  17931. <!-- start interface org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorDescriptor -->
  17932. <interface name="ValueAggregatorDescriptor" abstract="true"
  17933. static="false" final="false" visibility="public"
  17934. deprecated="not deprecated">
  17935. <method name="generateKeyValPairs" return="java.util.ArrayList"
  17936. abstract="false" native="false" synchronized="false"
  17937. static="false" final="false" visibility="public"
  17938. deprecated="not deprecated">
  17939. <param name="key" type="java.lang.Object"/>
  17940. <param name="val" type="java.lang.Object"/>
  17941. <doc>
  17942. <![CDATA[Generate a list of aggregation-id/value pairs for
  17943. the given key/value pair.
  17944. This function is usually called by the mapper of an Aggregate based job.
  17945. @param key
  17946. input key
  17947. @param val
  17948. input value
  17949. @return a list of aggregation id/value pairs. An aggregation id encodes an
  17950. aggregation type which is used to guide the way to aggregate the
  17951. value in the reduce/combiner phrase of an Aggregate based job.]]>
  17952. </doc>
  17953. </method>
  17954. <method name="configure"
  17955. abstract="false" native="false" synchronized="false"
  17956. static="false" final="false" visibility="public"
  17957. deprecated="not deprecated">
  17958. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  17959. <doc>
  17960. <![CDATA[Configure the object
  17961. @param conf
  17962. a Configuration object that may contain the information
  17963. that can be used to configure the object.]]>
  17964. </doc>
  17965. </method>
  17966. <field name="TYPE_SEPARATOR" type="java.lang.String"
  17967. transient="false" volatile="false"
  17968. static="true" final="true" visibility="public"
  17969. deprecated="not deprecated">
  17970. </field>
  17971. <field name="ONE" type="org.apache.hadoop.io.Text"
  17972. transient="false" volatile="false"
  17973. static="true" final="true" visibility="public"
  17974. deprecated="not deprecated">
  17975. </field>
  17976. <doc>
  17977. <![CDATA[This interface defines the contract a value aggregator descriptor must
  17978. support. Such a descriptor can be configured with a {@link Configuration}
  17979. object. Its main function is to generate a list of aggregation-id/value
  17980. pairs. An aggregation id encodes an aggregation type which is used to
  17981. guide the way to aggregate the value in the reduce/combiner phrase of an
  17982. Aggregate based job.
  17983. The mapper in an Aggregate based map/reduce job may create one or more of
  17984. ValueAggregatorDescriptor objects at configuration time. For each input
  17985. key/value pair, the mapper will use those objects to create aggregation
  17986. id/value pairs.]]>
  17987. </doc>
  17988. </interface>
  17989. <!-- end interface org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorDescriptor -->
  17990. <!-- start class org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorJob -->
  17991. <class name="ValueAggregatorJob" extends="java.lang.Object"
  17992. abstract="false"
  17993. static="false" final="false" visibility="public"
  17994. deprecated="not deprecated">
  17995. <constructor name="ValueAggregatorJob"
  17996. static="false" final="false" visibility="public"
  17997. deprecated="not deprecated">
  17998. </constructor>
  17999. <method name="createValueAggregatorJobs" return="org.apache.hadoop.mapreduce.lib.jobcontrol.JobControl"
  18000. abstract="false" native="false" synchronized="false"
  18001. static="true" final="false" visibility="public"
  18002. deprecated="not deprecated">
  18003. <param name="args" type="java.lang.String[]"/>
  18004. <param name="descriptors" type="java.lang.Class[]"/>
  18005. <exception name="IOException" type="java.io.IOException"/>
  18006. </method>
  18007. <method name="createValueAggregatorJobs" return="org.apache.hadoop.mapreduce.lib.jobcontrol.JobControl"
  18008. abstract="false" native="false" synchronized="false"
  18009. static="true" final="false" visibility="public"
  18010. deprecated="not deprecated">
  18011. <param name="args" type="java.lang.String[]"/>
  18012. <exception name="IOException" type="java.io.IOException"/>
  18013. </method>
  18014. <method name="createValueAggregatorJob" return="org.apache.hadoop.mapreduce.Job"
  18015. abstract="false" native="false" synchronized="false"
  18016. static="true" final="false" visibility="public"
  18017. deprecated="not deprecated">
  18018. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  18019. <param name="args" type="java.lang.String[]"/>
  18020. <exception name="IOException" type="java.io.IOException"/>
  18021. <doc>
  18022. <![CDATA[Create an Aggregate based map/reduce job.
  18023. @param conf The configuration for job
  18024. @param args the arguments used for job creation. Generic hadoop
  18025. arguments are accepted.
  18026. @return a Job object ready for submission.
  18027. @throws IOException
  18028. @see GenericOptionsParser]]>
  18029. </doc>
  18030. </method>
  18031. <method name="createValueAggregatorJob" return="org.apache.hadoop.mapreduce.Job"
  18032. abstract="false" native="false" synchronized="false"
  18033. static="true" final="false" visibility="public"
  18034. deprecated="not deprecated">
  18035. <param name="args" type="java.lang.String[]"/>
  18036. <param name="descriptors" type="java.lang.Class[]"/>
  18037. <exception name="IOException" type="java.io.IOException"/>
  18038. </method>
  18039. <method name="setAggregatorDescriptors" return="org.apache.hadoop.conf.Configuration"
  18040. abstract="false" native="false" synchronized="false"
  18041. static="true" final="false" visibility="public"
  18042. deprecated="not deprecated">
  18043. <param name="descriptors" type="java.lang.Class[]"/>
  18044. </method>
  18045. <method name="main"
  18046. abstract="false" native="false" synchronized="false"
  18047. static="true" final="false" visibility="public"
  18048. deprecated="not deprecated">
  18049. <param name="args" type="java.lang.String[]"/>
  18050. <exception name="IOException" type="java.io.IOException"/>
  18051. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  18052. <exception name="ClassNotFoundException" type="java.lang.ClassNotFoundException"/>
  18053. <doc>
  18054. <![CDATA[create and run an Aggregate based map/reduce job.
  18055. @param args the arguments used for job creation
  18056. @throws IOException]]>
  18057. </doc>
  18058. </method>
  18059. <doc>
  18060. <![CDATA[This is the main class for creating a map/reduce job using Aggregate
  18061. framework. The Aggregate is a specialization of map/reduce framework,
  18062. specializing for performing various simple aggregations.
  18063. Generally speaking, in order to implement an application using Map/Reduce
  18064. model, the developer is to implement Map and Reduce functions (and possibly
  18065. combine function). However, a lot of applications related to counting and
  18066. statistics computing have very similar characteristics. Aggregate abstracts
  18067. out the general patterns of these functions and implementing those patterns.
  18068. In particular, the package provides generic mapper/redducer/combiner
  18069. classes, and a set of built-in value aggregators, and a generic utility
  18070. class that helps user create map/reduce jobs using the generic class.
  18071. The built-in aggregators include:
  18072. sum over numeric values count the number of distinct values compute the
  18073. histogram of values compute the minimum, maximum, media,average, standard
  18074. deviation of numeric values
  18075. The developer using Aggregate will need only to provide a plugin class
  18076. conforming to the following interface:
  18077. public interface ValueAggregatorDescriptor { public ArrayList<Entry>
  18078. generateKeyValPairs(Object key, Object value); public void
  18079. configure(Configuration conf); }
  18080. The package also provides a base class, ValueAggregatorBaseDescriptor,
  18081. implementing the above interface. The user can extend the base class and
  18082. implement generateKeyValPairs accordingly.
  18083. The primary work of generateKeyValPairs is to emit one or more key/value
  18084. pairs based on the input key/value pair. The key in an output key/value pair
  18085. encode two pieces of information: aggregation type and aggregation id. The
  18086. value will be aggregated onto the aggregation id according the aggregation
  18087. type.
  18088. This class offers a function to generate a map/reduce job using Aggregate
  18089. framework. The function takes the following parameters: input directory spec
  18090. input format (text or sequence file) output directory a file specifying the
  18091. user plugin class]]>
  18092. </doc>
  18093. </class>
  18094. <!-- end class org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorJob -->
  18095. <!-- start class org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorJobBase -->
  18096. <class name="ValueAggregatorJobBase" extends="java.lang.Object"
  18097. abstract="false"
  18098. static="false" final="false" visibility="public"
  18099. deprecated="not deprecated">
  18100. <constructor name="ValueAggregatorJobBase"
  18101. static="false" final="false" visibility="public"
  18102. deprecated="not deprecated">
  18103. </constructor>
  18104. <method name="setup"
  18105. abstract="false" native="false" synchronized="false"
  18106. static="true" final="false" visibility="public"
  18107. deprecated="not deprecated">
  18108. <param name="job" type="org.apache.hadoop.conf.Configuration"/>
  18109. </method>
  18110. <method name="getValueAggregatorDescriptor" return="org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorDescriptor"
  18111. abstract="false" native="false" synchronized="false"
  18112. static="true" final="false" visibility="protected"
  18113. deprecated="not deprecated">
  18114. <param name="spec" type="java.lang.String"/>
  18115. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  18116. </method>
  18117. <method name="getAggregatorDescriptors" return="java.util.ArrayList"
  18118. abstract="false" native="false" synchronized="false"
  18119. static="true" final="false" visibility="protected"
  18120. deprecated="not deprecated">
  18121. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  18122. </method>
  18123. <method name="logSpec"
  18124. abstract="false" native="false" synchronized="false"
  18125. static="true" final="false" visibility="protected"
  18126. deprecated="not deprecated">
  18127. </method>
  18128. <field name="DESCRIPTOR" type="java.lang.String"
  18129. transient="false" volatile="false"
  18130. static="true" final="true" visibility="public"
  18131. deprecated="not deprecated">
  18132. </field>
  18133. <field name="DESCRIPTOR_NUM" type="java.lang.String"
  18134. transient="false" volatile="false"
  18135. static="true" final="true" visibility="public"
  18136. deprecated="not deprecated">
  18137. </field>
  18138. <field name="USER_JAR" type="java.lang.String"
  18139. transient="false" volatile="false"
  18140. static="true" final="true" visibility="public"
  18141. deprecated="not deprecated">
  18142. </field>
  18143. <field name="aggregatorDescriptorList" type="java.util.ArrayList"
  18144. transient="false" volatile="false"
  18145. static="true" final="false" visibility="protected"
  18146. deprecated="not deprecated">
  18147. </field>
  18148. <doc>
  18149. <![CDATA[This abstract class implements some common functionalities of the
  18150. the generic mapper, reducer and combiner classes of Aggregate.]]>
  18151. </doc>
  18152. </class>
  18153. <!-- end class org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorJobBase -->
  18154. <!-- start class org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorMapper -->
  18155. <class name="ValueAggregatorMapper" extends="org.apache.hadoop.mapreduce.Mapper"
  18156. abstract="false"
  18157. static="false" final="false" visibility="public"
  18158. deprecated="not deprecated">
  18159. <constructor name="ValueAggregatorMapper"
  18160. static="false" final="false" visibility="public"
  18161. deprecated="not deprecated">
  18162. </constructor>
  18163. <method name="setup"
  18164. abstract="false" native="false" synchronized="false"
  18165. static="false" final="false" visibility="public"
  18166. deprecated="not deprecated">
  18167. <param name="context" type="org.apache.hadoop.mapreduce.Mapper.Context"/>
  18168. <exception name="IOException" type="java.io.IOException"/>
  18169. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  18170. </method>
  18171. <method name="map"
  18172. abstract="false" native="false" synchronized="false"
  18173. static="false" final="false" visibility="public"
  18174. deprecated="not deprecated">
  18175. <param name="key" type="K1"/>
  18176. <param name="value" type="V1"/>
  18177. <param name="context" type="org.apache.hadoop.mapreduce.Mapper.Context"/>
  18178. <exception name="IOException" type="java.io.IOException"/>
  18179. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  18180. <doc>
  18181. <![CDATA[the map function. It iterates through the value aggregator descriptor
  18182. list to generate aggregation id/value pairs and emit them.]]>
  18183. </doc>
  18184. </method>
  18185. <doc>
  18186. <![CDATA[This class implements the generic mapper of Aggregate.]]>
  18187. </doc>
  18188. </class>
  18189. <!-- end class org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorMapper -->
  18190. <!-- start class org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorReducer -->
  18191. <class name="ValueAggregatorReducer" extends="org.apache.hadoop.mapreduce.Reducer"
  18192. abstract="false"
  18193. static="false" final="false" visibility="public"
  18194. deprecated="not deprecated">
  18195. <constructor name="ValueAggregatorReducer"
  18196. static="false" final="false" visibility="public"
  18197. deprecated="not deprecated">
  18198. </constructor>
  18199. <method name="setup"
  18200. abstract="false" native="false" synchronized="false"
  18201. static="false" final="false" visibility="public"
  18202. deprecated="not deprecated">
  18203. <param name="context" type="org.apache.hadoop.mapreduce.Reducer.Context"/>
  18204. <exception name="IOException" type="java.io.IOException"/>
  18205. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  18206. </method>
  18207. <method name="reduce"
  18208. abstract="false" native="false" synchronized="false"
  18209. static="false" final="false" visibility="public"
  18210. deprecated="not deprecated">
  18211. <param name="key" type="org.apache.hadoop.io.Text"/>
  18212. <param name="values" type="java.lang.Iterable"/>
  18213. <param name="context" type="org.apache.hadoop.mapreduce.Reducer.Context"/>
  18214. <exception name="IOException" type="java.io.IOException"/>
  18215. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  18216. <doc>
  18217. <![CDATA[@param key
  18218. the key is expected to be a Text object, whose prefix indicates
  18219. the type of aggregation to aggregate the values. In effect, data
  18220. driven computing is achieved. It is assumed that each aggregator's
  18221. getReport method emits appropriate output for the aggregator. This
  18222. may be further customized.
  18223. @param values the values to be aggregated
  18224. @param context]]>
  18225. </doc>
  18226. </method>
  18227. <doc>
  18228. <![CDATA[This class implements the generic reducer of Aggregate.]]>
  18229. </doc>
  18230. </class>
  18231. <!-- end class org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorReducer -->
  18232. <!-- start class org.apache.hadoop.mapreduce.lib.aggregate.ValueHistogram -->
  18233. <class name="ValueHistogram" extends="java.lang.Object"
  18234. abstract="false"
  18235. static="false" final="false" visibility="public"
  18236. deprecated="not deprecated">
  18237. <implements name="org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregator"/>
  18238. <constructor name="ValueHistogram"
  18239. static="false" final="false" visibility="public"
  18240. deprecated="not deprecated">
  18241. </constructor>
  18242. <method name="addNextValue"
  18243. abstract="false" native="false" synchronized="false"
  18244. static="false" final="false" visibility="public"
  18245. deprecated="not deprecated">
  18246. <param name="val" type="java.lang.Object"/>
  18247. <doc>
  18248. <![CDATA[add the given val to the aggregator.
  18249. @param val the value to be added. It is expected to be a string
  18250. in the form of xxxx\tnum, meaning xxxx has num occurrences.]]>
  18251. </doc>
  18252. </method>
  18253. <method name="getReport" return="java.lang.String"
  18254. abstract="false" native="false" synchronized="false"
  18255. static="false" final="false" visibility="public"
  18256. deprecated="not deprecated">
  18257. <doc>
  18258. <![CDATA[@return the string representation of this aggregator.
  18259. It includes the following basic statistics of the histogram:
  18260. the number of unique values
  18261. the minimum value
  18262. the media value
  18263. the maximum value
  18264. the average value
  18265. the standard deviation]]>
  18266. </doc>
  18267. </method>
  18268. <method name="getReportDetails" return="java.lang.String"
  18269. abstract="false" native="false" synchronized="false"
  18270. static="false" final="false" visibility="public"
  18271. deprecated="not deprecated">
  18272. <doc>
  18273. <![CDATA[@return a string representation of the list of value/frequence pairs of
  18274. the histogram]]>
  18275. </doc>
  18276. </method>
  18277. <method name="getCombinerOutput" return="java.util.ArrayList"
  18278. abstract="false" native="false" synchronized="false"
  18279. static="false" final="false" visibility="public"
  18280. deprecated="not deprecated">
  18281. <doc>
  18282. <![CDATA[@return a list value/frequence pairs.
  18283. The return value is expected to be used by the reducer.]]>
  18284. </doc>
  18285. </method>
  18286. <method name="getReportItems" return="java.util.TreeMap"
  18287. abstract="false" native="false" synchronized="false"
  18288. static="false" final="false" visibility="public"
  18289. deprecated="not deprecated">
  18290. <doc>
  18291. <![CDATA[@return a TreeMap representation of the histogram]]>
  18292. </doc>
  18293. </method>
  18294. <method name="reset"
  18295. abstract="false" native="false" synchronized="false"
  18296. static="false" final="false" visibility="public"
  18297. deprecated="not deprecated">
  18298. <doc>
  18299. <![CDATA[reset the aggregator]]>
  18300. </doc>
  18301. </method>
  18302. <doc>
  18303. <![CDATA[This class implements a value aggregator that computes the
  18304. histogram of a sequence of strings.]]>
  18305. </doc>
  18306. </class>
  18307. <!-- end class org.apache.hadoop.mapreduce.lib.aggregate.ValueHistogram -->
  18308. </package>
  18309. <package name="org.apache.hadoop.mapreduce.lib.chain">
  18310. <!-- start class org.apache.hadoop.mapreduce.lib.chain.ChainMapper -->
  18311. <class name="ChainMapper" extends="org.apache.hadoop.mapreduce.Mapper"
  18312. abstract="false"
  18313. static="false" final="false" visibility="public"
  18314. deprecated="not deprecated">
  18315. <constructor name="ChainMapper"
  18316. static="false" final="false" visibility="public"
  18317. deprecated="not deprecated">
  18318. </constructor>
  18319. <method name="addMapper"
  18320. abstract="false" native="false" synchronized="false"
  18321. static="true" final="false" visibility="public"
  18322. deprecated="not deprecated">
  18323. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  18324. <param name="klass" type="java.lang.Class"/>
  18325. <param name="inputKeyClass" type="java.lang.Class"/>
  18326. <param name="inputValueClass" type="java.lang.Class"/>
  18327. <param name="outputKeyClass" type="java.lang.Class"/>
  18328. <param name="outputValueClass" type="java.lang.Class"/>
  18329. <param name="mapperConf" type="org.apache.hadoop.conf.Configuration"/>
  18330. <exception name="IOException" type="java.io.IOException"/>
  18331. <doc>
  18332. <![CDATA[Adds a {@link Mapper} class to the chain mapper.
  18333. <p>
  18334. The key and values are passed from one element of the chain to the next, by
  18335. value. For the added Mapper the configuration given for it,
  18336. <code>mapperConf</code>, have precedence over the job's Configuration. This
  18337. precedence is in effect when the task is running.
  18338. </p>
  18339. <p>
  18340. IMPORTANT: There is no need to specify the output key/value classes for the
  18341. ChainMapper, this is done by the addMapper for the last mapper in the chain
  18342. </p>
  18343. @param job
  18344. The job.
  18345. @param klass
  18346. the Mapper class to add.
  18347. @param inputKeyClass
  18348. mapper input key class.
  18349. @param inputValueClass
  18350. mapper input value class.
  18351. @param outputKeyClass
  18352. mapper output key class.
  18353. @param outputValueClass
  18354. mapper output value class.
  18355. @param mapperConf
  18356. a configuration for the Mapper class. It is recommended to use a
  18357. Configuration without default values using the
  18358. <code>Configuration(boolean loadDefaults)</code> constructor with
  18359. FALSE.]]>
  18360. </doc>
  18361. </method>
  18362. <method name="setup"
  18363. abstract="false" native="false" synchronized="false"
  18364. static="false" final="false" visibility="protected"
  18365. deprecated="not deprecated">
  18366. <param name="context" type="org.apache.hadoop.mapreduce.Mapper.Context"/>
  18367. </method>
  18368. <method name="run"
  18369. abstract="false" native="false" synchronized="false"
  18370. static="false" final="false" visibility="public"
  18371. deprecated="not deprecated">
  18372. <param name="context" type="org.apache.hadoop.mapreduce.Mapper.Context"/>
  18373. <exception name="IOException" type="java.io.IOException"/>
  18374. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  18375. </method>
  18376. <doc>
  18377. <![CDATA[The ChainMapper class allows to use multiple Mapper classes within a single
  18378. Map task.
  18379. <p>
  18380. The Mapper classes are invoked in a chained (or piped) fashion, the output of
  18381. the first becomes the input of the second, and so on until the last Mapper,
  18382. the output of the last Mapper will be written to the task's output.
  18383. </p>
  18384. <p>
  18385. The key functionality of this feature is that the Mappers in the chain do not
  18386. need to be aware that they are executed in a chain. This enables having
  18387. reusable specialized Mappers that can be combined to perform composite
  18388. operations within a single task.
  18389. </p>
  18390. <p>
  18391. Special care has to be taken when creating chains that the key/values output
  18392. by a Mapper are valid for the following Mapper in the chain. It is assumed
  18393. all Mappers and the Reduce in the chain use matching output and input key and
  18394. value classes as no conversion is done by the chaining code.
  18395. </p>
  18396. <p>
  18397. Using the ChainMapper and the ChainReducer classes is possible to compose
  18398. Map/Reduce jobs that look like <code>[MAP+ / REDUCE MAP*]</code>. And
  18399. immediate benefit of this pattern is a dramatic reduction in disk IO.
  18400. </p>
  18401. <p>
  18402. IMPORTANT: There is no need to specify the output key/value classes for the
  18403. ChainMapper, this is done by the addMapper for the last mapper in the chain.
  18404. </p>
  18405. ChainMapper usage pattern:
  18406. <p/>
  18407. <pre>
  18408. ...
  18409. Job = new Job(conf);
  18410. <p/>
  18411. Configuration mapAConf = new Configuration(false);
  18412. ...
  18413. ChainMapper.addMapper(job, AMap.class, LongWritable.class, Text.class,
  18414. Text.class, Text.class, true, mapAConf);
  18415. <p/>
  18416. Configuration mapBConf = new Configuration(false);
  18417. ...
  18418. ChainMapper.addMapper(job, BMap.class, Text.class, Text.class,
  18419. LongWritable.class, Text.class, false, mapBConf);
  18420. <p/>
  18421. ...
  18422. <p/>
  18423. job.waitForComplettion(true);
  18424. ...
  18425. </pre>]]>
  18426. </doc>
  18427. </class>
  18428. <!-- end class org.apache.hadoop.mapreduce.lib.chain.ChainMapper -->
  18429. <!-- start class org.apache.hadoop.mapreduce.lib.chain.ChainReducer -->
  18430. <class name="ChainReducer" extends="org.apache.hadoop.mapreduce.Reducer"
  18431. abstract="false"
  18432. static="false" final="false" visibility="public"
  18433. deprecated="not deprecated">
  18434. <constructor name="ChainReducer"
  18435. static="false" final="false" visibility="public"
  18436. deprecated="not deprecated">
  18437. </constructor>
  18438. <method name="setReducer"
  18439. abstract="false" native="false" synchronized="false"
  18440. static="true" final="false" visibility="public"
  18441. deprecated="not deprecated">
  18442. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  18443. <param name="klass" type="java.lang.Class"/>
  18444. <param name="inputKeyClass" type="java.lang.Class"/>
  18445. <param name="inputValueClass" type="java.lang.Class"/>
  18446. <param name="outputKeyClass" type="java.lang.Class"/>
  18447. <param name="outputValueClass" type="java.lang.Class"/>
  18448. <param name="reducerConf" type="org.apache.hadoop.conf.Configuration"/>
  18449. <doc>
  18450. <![CDATA[Sets the {@link Reducer} class to the chain job.
  18451. <p>
  18452. The key and values are passed from one element of the chain to the next, by
  18453. value. For the added Reducer the configuration given for it,
  18454. <code>reducerConf</code>, have precedence over the job's Configuration.
  18455. This precedence is in effect when the task is running.
  18456. </p>
  18457. <p>
  18458. IMPORTANT: There is no need to specify the output key/value classes for the
  18459. ChainReducer, this is done by the setReducer or the addMapper for the last
  18460. element in the chain.
  18461. </p>
  18462. @param job
  18463. the job
  18464. @param klass
  18465. the Reducer class to add.
  18466. @param inputKeyClass
  18467. reducer input key class.
  18468. @param inputValueClass
  18469. reducer input value class.
  18470. @param outputKeyClass
  18471. reducer output key class.
  18472. @param outputValueClass
  18473. reducer output value class.
  18474. @param reducerConf
  18475. a configuration for the Reducer class. It is recommended to use a
  18476. Configuration without default values using the
  18477. <code>Configuration(boolean loadDefaults)</code> constructor with
  18478. FALSE.]]>
  18479. </doc>
  18480. </method>
  18481. <method name="addMapper"
  18482. abstract="false" native="false" synchronized="false"
  18483. static="true" final="false" visibility="public"
  18484. deprecated="not deprecated">
  18485. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  18486. <param name="klass" type="java.lang.Class"/>
  18487. <param name="inputKeyClass" type="java.lang.Class"/>
  18488. <param name="inputValueClass" type="java.lang.Class"/>
  18489. <param name="outputKeyClass" type="java.lang.Class"/>
  18490. <param name="outputValueClass" type="java.lang.Class"/>
  18491. <param name="mapperConf" type="org.apache.hadoop.conf.Configuration"/>
  18492. <exception name="IOException" type="java.io.IOException"/>
  18493. <doc>
  18494. <![CDATA[Adds a {@link Mapper} class to the chain reducer.
  18495. <p>
  18496. The key and values are passed from one element of the chain to the next, by
  18497. value For the added Mapper the configuration given for it,
  18498. <code>mapperConf</code>, have precedence over the job's Configuration. This
  18499. precedence is in effect when the task is running.
  18500. </p>
  18501. <p>
  18502. IMPORTANT: There is no need to specify the output key/value classes for the
  18503. ChainMapper, this is done by the addMapper for the last mapper in the
  18504. chain.
  18505. </p>
  18506. @param job
  18507. The job.
  18508. @param klass
  18509. the Mapper class to add.
  18510. @param inputKeyClass
  18511. mapper input key class.
  18512. @param inputValueClass
  18513. mapper input value class.
  18514. @param outputKeyClass
  18515. mapper output key class.
  18516. @param outputValueClass
  18517. mapper output value class.
  18518. @param mapperConf
  18519. a configuration for the Mapper class. It is recommended to use a
  18520. Configuration without default values using the
  18521. <code>Configuration(boolean loadDefaults)</code> constructor with
  18522. FALSE.]]>
  18523. </doc>
  18524. </method>
  18525. <method name="setup"
  18526. abstract="false" native="false" synchronized="false"
  18527. static="false" final="false" visibility="protected"
  18528. deprecated="not deprecated">
  18529. <param name="context" type="org.apache.hadoop.mapreduce.Reducer.Context"/>
  18530. </method>
  18531. <method name="run"
  18532. abstract="false" native="false" synchronized="false"
  18533. static="false" final="false" visibility="public"
  18534. deprecated="not deprecated">
  18535. <param name="context" type="org.apache.hadoop.mapreduce.Reducer.Context"/>
  18536. <exception name="IOException" type="java.io.IOException"/>
  18537. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  18538. </method>
  18539. <doc>
  18540. <![CDATA[The ChainReducer class allows to chain multiple Mapper classes after a
  18541. Reducer within the Reducer task.
  18542. <p>
  18543. For each record output by the Reducer, the Mapper classes are invoked in a
  18544. chained (or piped) fashion. The output of the reducer becomes the input of
  18545. the first mapper and output of first becomes the input of the second, and so
  18546. on until the last Mapper, the output of the last Mapper will be written to
  18547. the task's output.
  18548. </p>
  18549. <p>
  18550. The key functionality of this feature is that the Mappers in the chain do not
  18551. need to be aware that they are executed after the Reducer or in a chain. This
  18552. enables having reusable specialized Mappers that can be combined to perform
  18553. composite operations within a single task.
  18554. </p>
  18555. <p>
  18556. Special care has to be taken when creating chains that the key/values output
  18557. by a Mapper are valid for the following Mapper in the chain. It is assumed
  18558. all Mappers and the Reduce in the chain use matching output and input key and
  18559. value classes as no conversion is done by the chaining code.
  18560. </p>
  18561. </p> Using the ChainMapper and the ChainReducer classes is possible to
  18562. compose Map/Reduce jobs that look like <code>[MAP+ / REDUCE MAP*]</code>. And
  18563. immediate benefit of this pattern is a dramatic reduction in disk IO. </p>
  18564. <p>
  18565. IMPORTANT: There is no need to specify the output key/value classes for the
  18566. ChainReducer, this is done by the setReducer or the addMapper for the last
  18567. element in the chain.
  18568. </p>
  18569. ChainReducer usage pattern:
  18570. <p/>
  18571. <pre>
  18572. ...
  18573. Job = new Job(conf);
  18574. ....
  18575. <p/>
  18576. Configuration reduceConf = new Configuration(false);
  18577. ...
  18578. ChainReducer.setReducer(job, XReduce.class, LongWritable.class, Text.class,
  18579. Text.class, Text.class, true, reduceConf);
  18580. <p/>
  18581. ChainReducer.addMapper(job, CMap.class, Text.class, Text.class,
  18582. LongWritable.class, Text.class, false, null);
  18583. <p/>
  18584. ChainReducer.addMapper(job, DMap.class, LongWritable.class, Text.class,
  18585. LongWritable.class, LongWritable.class, true, null);
  18586. <p/>
  18587. ...
  18588. <p/>
  18589. job.waitForCompletion(true);
  18590. ...
  18591. </pre>]]>
  18592. </doc>
  18593. </class>
  18594. <!-- end class org.apache.hadoop.mapreduce.lib.chain.ChainReducer -->
  18595. </package>
  18596. <package name="org.apache.hadoop.mapreduce.lib.db">
  18597. <!-- start class org.apache.hadoop.mapreduce.lib.db.BigDecimalSplitter -->
  18598. <class name="BigDecimalSplitter" extends="java.lang.Object"
  18599. abstract="false"
  18600. static="false" final="false" visibility="public"
  18601. deprecated="not deprecated">
  18602. <implements name="org.apache.hadoop.mapreduce.lib.db.DBSplitter"/>
  18603. <constructor name="BigDecimalSplitter"
  18604. static="false" final="false" visibility="public"
  18605. deprecated="not deprecated">
  18606. </constructor>
  18607. <method name="split" return="java.util.List"
  18608. abstract="false" native="false" synchronized="false"
  18609. static="false" final="false" visibility="public"
  18610. deprecated="not deprecated">
  18611. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  18612. <param name="results" type="java.sql.ResultSet"/>
  18613. <param name="colName" type="java.lang.String"/>
  18614. <exception name="SQLException" type="java.sql.SQLException"/>
  18615. </method>
  18616. <method name="tryDivide" return="java.math.BigDecimal"
  18617. abstract="false" native="false" synchronized="false"
  18618. static="false" final="false" visibility="protected"
  18619. deprecated="not deprecated">
  18620. <param name="numerator" type="java.math.BigDecimal"/>
  18621. <param name="denominator" type="java.math.BigDecimal"/>
  18622. <doc>
  18623. <![CDATA[Divide numerator by denominator. If impossible in exact mode, use rounding.]]>
  18624. </doc>
  18625. </method>
  18626. <doc>
  18627. <![CDATA[Implement DBSplitter over BigDecimal values.]]>
  18628. </doc>
  18629. </class>
  18630. <!-- end class org.apache.hadoop.mapreduce.lib.db.BigDecimalSplitter -->
  18631. <!-- start class org.apache.hadoop.mapreduce.lib.db.BooleanSplitter -->
  18632. <class name="BooleanSplitter" extends="java.lang.Object"
  18633. abstract="false"
  18634. static="false" final="false" visibility="public"
  18635. deprecated="not deprecated">
  18636. <implements name="org.apache.hadoop.mapreduce.lib.db.DBSplitter"/>
  18637. <constructor name="BooleanSplitter"
  18638. static="false" final="false" visibility="public"
  18639. deprecated="not deprecated">
  18640. </constructor>
  18641. <method name="split" return="java.util.List"
  18642. abstract="false" native="false" synchronized="false"
  18643. static="false" final="false" visibility="public"
  18644. deprecated="not deprecated">
  18645. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  18646. <param name="results" type="java.sql.ResultSet"/>
  18647. <param name="colName" type="java.lang.String"/>
  18648. <exception name="SQLException" type="java.sql.SQLException"/>
  18649. </method>
  18650. <doc>
  18651. <![CDATA[Implement DBSplitter over boolean values.]]>
  18652. </doc>
  18653. </class>
  18654. <!-- end class org.apache.hadoop.mapreduce.lib.db.BooleanSplitter -->
  18655. <!-- start class org.apache.hadoop.mapreduce.lib.db.DataDrivenDBInputFormat -->
  18656. <class name="DataDrivenDBInputFormat" extends="org.apache.hadoop.mapreduce.lib.db.DBInputFormat"
  18657. abstract="false"
  18658. static="false" final="false" visibility="public"
  18659. deprecated="not deprecated">
  18660. <implements name="org.apache.hadoop.conf.Configurable"/>
  18661. <constructor name="DataDrivenDBInputFormat"
  18662. static="false" final="false" visibility="public"
  18663. deprecated="not deprecated">
  18664. </constructor>
  18665. <method name="getSplitter" return="org.apache.hadoop.mapreduce.lib.db.DBSplitter"
  18666. abstract="false" native="false" synchronized="false"
  18667. static="false" final="false" visibility="protected"
  18668. deprecated="not deprecated">
  18669. <param name="sqlDataType" type="int"/>
  18670. <doc>
  18671. <![CDATA[@return the DBSplitter implementation to use to divide the table/query into InputSplits.]]>
  18672. </doc>
  18673. </method>
  18674. <method name="getSplits" return="java.util.List"
  18675. abstract="false" native="false" synchronized="false"
  18676. static="false" final="false" visibility="public"
  18677. deprecated="not deprecated">
  18678. <param name="job" type="org.apache.hadoop.mapreduce.JobContext"/>
  18679. <exception name="IOException" type="java.io.IOException"/>
  18680. <doc>
  18681. <![CDATA[{@inheritDoc}]]>
  18682. </doc>
  18683. </method>
  18684. <method name="getBoundingValsQuery" return="java.lang.String"
  18685. abstract="false" native="false" synchronized="false"
  18686. static="false" final="false" visibility="protected"
  18687. deprecated="not deprecated">
  18688. <doc>
  18689. <![CDATA[@return a query which returns the minimum and maximum values for
  18690. the order-by column.
  18691. The min value should be in the first column, and the
  18692. max value should be in the second column of the results.]]>
  18693. </doc>
  18694. </method>
  18695. <method name="setBoundingQuery"
  18696. abstract="false" native="false" synchronized="false"
  18697. static="true" final="false" visibility="public"
  18698. deprecated="not deprecated">
  18699. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  18700. <param name="query" type="java.lang.String"/>
  18701. <doc>
  18702. <![CDATA[Set the user-defined bounding query to use with a user-defined query.
  18703. This *must* include the substring "$CONDITIONS"
  18704. (DataDrivenDBInputFormat.SUBSTITUTE_TOKEN) inside the WHERE clause,
  18705. so that DataDrivenDBInputFormat knows where to insert split clauses.
  18706. e.g., "SELECT foo FROM mytable WHERE $CONDITIONS"
  18707. This will be expanded to something like:
  18708. SELECT foo FROM mytable WHERE (id &gt; 100) AND (id &lt; 250)
  18709. inside each split.]]>
  18710. </doc>
  18711. </method>
  18712. <method name="createDBRecordReader" return="org.apache.hadoop.mapreduce.RecordReader"
  18713. abstract="false" native="false" synchronized="false"
  18714. static="false" final="false" visibility="protected"
  18715. deprecated="not deprecated">
  18716. <param name="split" type="org.apache.hadoop.mapreduce.lib.db.DBInputFormat.DBInputSplit"/>
  18717. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  18718. <exception name="IOException" type="java.io.IOException"/>
  18719. </method>
  18720. <method name="setInput"
  18721. abstract="false" native="false" synchronized="false"
  18722. static="true" final="false" visibility="public"
  18723. deprecated="not deprecated">
  18724. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  18725. <param name="inputClass" type="java.lang.Class"/>
  18726. <param name="tableName" type="java.lang.String"/>
  18727. <param name="conditions" type="java.lang.String"/>
  18728. <param name="splitBy" type="java.lang.String"/>
  18729. <param name="fieldNames" type="java.lang.String[]"/>
  18730. <doc>
  18731. <![CDATA[Note that the "orderBy" column is called the "splitBy" in this version.
  18732. We reuse the same field, but it's not strictly ordering it -- just partitioning
  18733. the results.]]>
  18734. </doc>
  18735. </method>
  18736. <method name="setInput"
  18737. abstract="false" native="false" synchronized="false"
  18738. static="true" final="false" visibility="public"
  18739. deprecated="not deprecated">
  18740. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  18741. <param name="inputClass" type="java.lang.Class"/>
  18742. <param name="inputQuery" type="java.lang.String"/>
  18743. <param name="inputBoundingQuery" type="java.lang.String"/>
  18744. <doc>
  18745. <![CDATA[setInput() takes a custom query and a separate "bounding query" to use
  18746. instead of the custom "count query" used by DBInputFormat.]]>
  18747. </doc>
  18748. </method>
  18749. <field name="SUBSTITUTE_TOKEN" type="java.lang.String"
  18750. transient="false" volatile="false"
  18751. static="true" final="true" visibility="public"
  18752. deprecated="not deprecated">
  18753. <doc>
  18754. <![CDATA[If users are providing their own query, the following string is expected to
  18755. appear in the WHERE clause, which will be substituted with a pair of conditions
  18756. on the input to allow input splits to parallelise the import.]]>
  18757. </doc>
  18758. </field>
  18759. <doc>
  18760. <![CDATA[A InputFormat that reads input data from an SQL table.
  18761. Operates like DBInputFormat, but instead of using LIMIT and OFFSET to demarcate
  18762. splits, it tries to generate WHERE clauses which separate the data into roughly
  18763. equivalent shards.]]>
  18764. </doc>
  18765. </class>
  18766. <!-- end class org.apache.hadoop.mapreduce.lib.db.DataDrivenDBInputFormat -->
  18767. <!-- start class org.apache.hadoop.mapreduce.lib.db.DataDrivenDBInputFormat.DataDrivenDBInputSplit -->
  18768. <class name="DataDrivenDBInputFormat.DataDrivenDBInputSplit" extends="org.apache.hadoop.mapreduce.lib.db.DBInputFormat.DBInputSplit"
  18769. abstract="false"
  18770. static="true" final="false" visibility="public"
  18771. deprecated="not deprecated">
  18772. <constructor name="DataDrivenDBInputFormat.DataDrivenDBInputSplit"
  18773. static="false" final="false" visibility="public"
  18774. deprecated="not deprecated">
  18775. <doc>
  18776. <![CDATA[Default Constructor]]>
  18777. </doc>
  18778. </constructor>
  18779. <constructor name="DataDrivenDBInputFormat.DataDrivenDBInputSplit" type="java.lang.String, java.lang.String"
  18780. static="false" final="false" visibility="public"
  18781. deprecated="not deprecated">
  18782. <doc>
  18783. <![CDATA[Convenience Constructor
  18784. @param lower the string to be put in the WHERE clause to guard on the 'lower' end
  18785. @param upper the string to be put in the WHERE clause to guard on the 'upper' end]]>
  18786. </doc>
  18787. </constructor>
  18788. <method name="getLength" return="long"
  18789. abstract="false" native="false" synchronized="false"
  18790. static="false" final="false" visibility="public"
  18791. deprecated="not deprecated">
  18792. <exception name="IOException" type="java.io.IOException"/>
  18793. <doc>
  18794. <![CDATA[@return The total row count in this split]]>
  18795. </doc>
  18796. </method>
  18797. <method name="readFields"
  18798. abstract="false" native="false" synchronized="false"
  18799. static="false" final="false" visibility="public"
  18800. deprecated="not deprecated">
  18801. <param name="input" type="java.io.DataInput"/>
  18802. <exception name="IOException" type="java.io.IOException"/>
  18803. <doc>
  18804. <![CDATA[{@inheritDoc}]]>
  18805. </doc>
  18806. </method>
  18807. <method name="write"
  18808. abstract="false" native="false" synchronized="false"
  18809. static="false" final="false" visibility="public"
  18810. deprecated="not deprecated">
  18811. <param name="output" type="java.io.DataOutput"/>
  18812. <exception name="IOException" type="java.io.IOException"/>
  18813. <doc>
  18814. <![CDATA[{@inheritDoc}]]>
  18815. </doc>
  18816. </method>
  18817. <method name="getLowerClause" return="java.lang.String"
  18818. abstract="false" native="false" synchronized="false"
  18819. static="false" final="false" visibility="public"
  18820. deprecated="not deprecated">
  18821. </method>
  18822. <method name="getUpperClause" return="java.lang.String"
  18823. abstract="false" native="false" synchronized="false"
  18824. static="false" final="false" visibility="public"
  18825. deprecated="not deprecated">
  18826. </method>
  18827. <doc>
  18828. <![CDATA[A InputSplit that spans a set of rows]]>
  18829. </doc>
  18830. </class>
  18831. <!-- end class org.apache.hadoop.mapreduce.lib.db.DataDrivenDBInputFormat.DataDrivenDBInputSplit -->
  18832. <!-- start class org.apache.hadoop.mapreduce.lib.db.DataDrivenDBRecordReader -->
  18833. <class name="DataDrivenDBRecordReader" extends="org.apache.hadoop.mapreduce.lib.db.DBRecordReader"
  18834. abstract="false"
  18835. static="false" final="false" visibility="public"
  18836. deprecated="not deprecated">
  18837. <constructor name="DataDrivenDBRecordReader" type="org.apache.hadoop.mapreduce.lib.db.DBInputFormat.DBInputSplit, java.lang.Class, org.apache.hadoop.conf.Configuration, java.sql.Connection, org.apache.hadoop.mapreduce.lib.db.DBConfiguration, java.lang.String, java.lang.String[], java.lang.String, java.lang.String"
  18838. static="false" final="false" visibility="public"
  18839. deprecated="not deprecated">
  18840. <exception name="SQLException" type="java.sql.SQLException"/>
  18841. <doc>
  18842. <![CDATA[@param split The InputSplit to read data for
  18843. @throws SQLException]]>
  18844. </doc>
  18845. </constructor>
  18846. <method name="getSelectQuery" return="java.lang.String"
  18847. abstract="false" native="false" synchronized="false"
  18848. static="false" final="false" visibility="protected"
  18849. deprecated="not deprecated">
  18850. <doc>
  18851. <![CDATA[Returns the query for selecting the records,
  18852. subclasses can override this for custom behaviour.]]>
  18853. </doc>
  18854. </method>
  18855. <doc>
  18856. <![CDATA[A RecordReader that reads records from a SQL table,
  18857. using data-driven WHERE clause splits.
  18858. Emits LongWritables containing the record number as
  18859. key and DBWritables as value.]]>
  18860. </doc>
  18861. </class>
  18862. <!-- end class org.apache.hadoop.mapreduce.lib.db.DataDrivenDBRecordReader -->
  18863. <!-- start class org.apache.hadoop.mapreduce.lib.db.DateSplitter -->
  18864. <class name="DateSplitter" extends="org.apache.hadoop.mapreduce.lib.db.IntegerSplitter"
  18865. abstract="false"
  18866. static="false" final="false" visibility="public"
  18867. deprecated="not deprecated">
  18868. <constructor name="DateSplitter"
  18869. static="false" final="false" visibility="public"
  18870. deprecated="not deprecated">
  18871. </constructor>
  18872. <method name="split" return="java.util.List"
  18873. abstract="false" native="false" synchronized="false"
  18874. static="false" final="false" visibility="public"
  18875. deprecated="not deprecated">
  18876. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  18877. <param name="results" type="java.sql.ResultSet"/>
  18878. <param name="colName" type="java.lang.String"/>
  18879. <exception name="SQLException" type="java.sql.SQLException"/>
  18880. </method>
  18881. <method name="dateToString" return="java.lang.String"
  18882. abstract="false" native="false" synchronized="false"
  18883. static="false" final="false" visibility="protected"
  18884. deprecated="not deprecated">
  18885. <param name="d" type="java.util.Date"/>
  18886. <doc>
  18887. <![CDATA[Given a Date 'd', format it as a string for use in a SQL date
  18888. comparison operation.
  18889. @param d the date to format.
  18890. @return the string representing this date in SQL with any appropriate
  18891. quotation characters, etc.]]>
  18892. </doc>
  18893. </method>
  18894. <doc>
  18895. <![CDATA[Implement DBSplitter over date/time values.
  18896. Make use of logic from IntegerSplitter, since date/time are just longs
  18897. in Java.]]>
  18898. </doc>
  18899. </class>
  18900. <!-- end class org.apache.hadoop.mapreduce.lib.db.DateSplitter -->
  18901. <!-- start class org.apache.hadoop.mapreduce.lib.db.DBConfiguration -->
  18902. <class name="DBConfiguration" extends="java.lang.Object"
  18903. abstract="false"
  18904. static="false" final="false" visibility="public"
  18905. deprecated="not deprecated">
  18906. <constructor name="DBConfiguration" type="org.apache.hadoop.conf.Configuration"
  18907. static="false" final="false" visibility="public"
  18908. deprecated="not deprecated">
  18909. </constructor>
  18910. <method name="configureDB"
  18911. abstract="false" native="false" synchronized="false"
  18912. static="true" final="false" visibility="public"
  18913. deprecated="not deprecated">
  18914. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  18915. <param name="driverClass" type="java.lang.String"/>
  18916. <param name="dbUrl" type="java.lang.String"/>
  18917. <param name="userName" type="java.lang.String"/>
  18918. <param name="passwd" type="java.lang.String"/>
  18919. <doc>
  18920. <![CDATA[Sets the DB access related fields in the {@link Configuration}.
  18921. @param conf the configuration
  18922. @param driverClass JDBC Driver class name
  18923. @param dbUrl JDBC DB access URL.
  18924. @param userName DB access username
  18925. @param passwd DB access passwd]]>
  18926. </doc>
  18927. </method>
  18928. <method name="configureDB"
  18929. abstract="false" native="false" synchronized="false"
  18930. static="true" final="false" visibility="public"
  18931. deprecated="not deprecated">
  18932. <param name="job" type="org.apache.hadoop.conf.Configuration"/>
  18933. <param name="driverClass" type="java.lang.String"/>
  18934. <param name="dbUrl" type="java.lang.String"/>
  18935. <doc>
  18936. <![CDATA[Sets the DB access related fields in the JobConf.
  18937. @param job the job
  18938. @param driverClass JDBC Driver class name
  18939. @param dbUrl JDBC DB access URL.]]>
  18940. </doc>
  18941. </method>
  18942. <method name="getConnection" return="java.sql.Connection"
  18943. abstract="false" native="false" synchronized="false"
  18944. static="false" final="false" visibility="public"
  18945. deprecated="not deprecated">
  18946. <exception name="ClassNotFoundException" type="java.lang.ClassNotFoundException"/>
  18947. <exception name="SQLException" type="java.sql.SQLException"/>
  18948. <doc>
  18949. <![CDATA[Returns a connection object o the DB
  18950. @throws ClassNotFoundException
  18951. @throws SQLException]]>
  18952. </doc>
  18953. </method>
  18954. <method name="getConf" return="org.apache.hadoop.conf.Configuration"
  18955. abstract="false" native="false" synchronized="false"
  18956. static="false" final="false" visibility="public"
  18957. deprecated="not deprecated">
  18958. </method>
  18959. <method name="getInputTableName" return="java.lang.String"
  18960. abstract="false" native="false" synchronized="false"
  18961. static="false" final="false" visibility="public"
  18962. deprecated="not deprecated">
  18963. </method>
  18964. <method name="setInputTableName"
  18965. abstract="false" native="false" synchronized="false"
  18966. static="false" final="false" visibility="public"
  18967. deprecated="not deprecated">
  18968. <param name="tableName" type="java.lang.String"/>
  18969. </method>
  18970. <method name="getInputFieldNames" return="java.lang.String[]"
  18971. abstract="false" native="false" synchronized="false"
  18972. static="false" final="false" visibility="public"
  18973. deprecated="not deprecated">
  18974. </method>
  18975. <method name="setInputFieldNames"
  18976. abstract="false" native="false" synchronized="false"
  18977. static="false" final="false" visibility="public"
  18978. deprecated="not deprecated">
  18979. <param name="fieldNames" type="java.lang.String[]"/>
  18980. </method>
  18981. <method name="getInputConditions" return="java.lang.String"
  18982. abstract="false" native="false" synchronized="false"
  18983. static="false" final="false" visibility="public"
  18984. deprecated="not deprecated">
  18985. </method>
  18986. <method name="setInputConditions"
  18987. abstract="false" native="false" synchronized="false"
  18988. static="false" final="false" visibility="public"
  18989. deprecated="not deprecated">
  18990. <param name="conditions" type="java.lang.String"/>
  18991. </method>
  18992. <method name="getInputOrderBy" return="java.lang.String"
  18993. abstract="false" native="false" synchronized="false"
  18994. static="false" final="false" visibility="public"
  18995. deprecated="not deprecated">
  18996. </method>
  18997. <method name="setInputOrderBy"
  18998. abstract="false" native="false" synchronized="false"
  18999. static="false" final="false" visibility="public"
  19000. deprecated="not deprecated">
  19001. <param name="orderby" type="java.lang.String"/>
  19002. </method>
  19003. <method name="getInputQuery" return="java.lang.String"
  19004. abstract="false" native="false" synchronized="false"
  19005. static="false" final="false" visibility="public"
  19006. deprecated="not deprecated">
  19007. </method>
  19008. <method name="setInputQuery"
  19009. abstract="false" native="false" synchronized="false"
  19010. static="false" final="false" visibility="public"
  19011. deprecated="not deprecated">
  19012. <param name="query" type="java.lang.String"/>
  19013. </method>
  19014. <method name="getInputCountQuery" return="java.lang.String"
  19015. abstract="false" native="false" synchronized="false"
  19016. static="false" final="false" visibility="public"
  19017. deprecated="not deprecated">
  19018. </method>
  19019. <method name="setInputCountQuery"
  19020. abstract="false" native="false" synchronized="false"
  19021. static="false" final="false" visibility="public"
  19022. deprecated="not deprecated">
  19023. <param name="query" type="java.lang.String"/>
  19024. </method>
  19025. <method name="setInputBoundingQuery"
  19026. abstract="false" native="false" synchronized="false"
  19027. static="false" final="false" visibility="public"
  19028. deprecated="not deprecated">
  19029. <param name="query" type="java.lang.String"/>
  19030. </method>
  19031. <method name="getInputBoundingQuery" return="java.lang.String"
  19032. abstract="false" native="false" synchronized="false"
  19033. static="false" final="false" visibility="public"
  19034. deprecated="not deprecated">
  19035. </method>
  19036. <method name="getInputClass" return="java.lang.Class"
  19037. abstract="false" native="false" synchronized="false"
  19038. static="false" final="false" visibility="public"
  19039. deprecated="not deprecated">
  19040. </method>
  19041. <method name="setInputClass"
  19042. abstract="false" native="false" synchronized="false"
  19043. static="false" final="false" visibility="public"
  19044. deprecated="not deprecated">
  19045. <param name="inputClass" type="java.lang.Class"/>
  19046. </method>
  19047. <method name="getOutputTableName" return="java.lang.String"
  19048. abstract="false" native="false" synchronized="false"
  19049. static="false" final="false" visibility="public"
  19050. deprecated="not deprecated">
  19051. </method>
  19052. <method name="setOutputTableName"
  19053. abstract="false" native="false" synchronized="false"
  19054. static="false" final="false" visibility="public"
  19055. deprecated="not deprecated">
  19056. <param name="tableName" type="java.lang.String"/>
  19057. </method>
  19058. <method name="getOutputFieldNames" return="java.lang.String[]"
  19059. abstract="false" native="false" synchronized="false"
  19060. static="false" final="false" visibility="public"
  19061. deprecated="not deprecated">
  19062. </method>
  19063. <method name="setOutputFieldNames"
  19064. abstract="false" native="false" synchronized="false"
  19065. static="false" final="false" visibility="public"
  19066. deprecated="not deprecated">
  19067. <param name="fieldNames" type="java.lang.String[]"/>
  19068. </method>
  19069. <method name="setOutputFieldCount"
  19070. abstract="false" native="false" synchronized="false"
  19071. static="false" final="false" visibility="public"
  19072. deprecated="not deprecated">
  19073. <param name="fieldCount" type="int"/>
  19074. </method>
  19075. <method name="getOutputFieldCount" return="int"
  19076. abstract="false" native="false" synchronized="false"
  19077. static="false" final="false" visibility="public"
  19078. deprecated="not deprecated">
  19079. </method>
  19080. <field name="DRIVER_CLASS_PROPERTY" type="java.lang.String"
  19081. transient="false" volatile="false"
  19082. static="true" final="true" visibility="public"
  19083. deprecated="not deprecated">
  19084. <doc>
  19085. <![CDATA[The JDBC Driver class name]]>
  19086. </doc>
  19087. </field>
  19088. <field name="URL_PROPERTY" type="java.lang.String"
  19089. transient="false" volatile="false"
  19090. static="true" final="true" visibility="public"
  19091. deprecated="not deprecated">
  19092. <doc>
  19093. <![CDATA[JDBC Database access URL]]>
  19094. </doc>
  19095. </field>
  19096. <field name="USERNAME_PROPERTY" type="java.lang.String"
  19097. transient="false" volatile="false"
  19098. static="true" final="true" visibility="public"
  19099. deprecated="not deprecated">
  19100. <doc>
  19101. <![CDATA[User name to access the database]]>
  19102. </doc>
  19103. </field>
  19104. <field name="PASSWORD_PROPERTY" type="java.lang.String"
  19105. transient="false" volatile="false"
  19106. static="true" final="true" visibility="public"
  19107. deprecated="not deprecated">
  19108. <doc>
  19109. <![CDATA[Password to access the database]]>
  19110. </doc>
  19111. </field>
  19112. <field name="INPUT_TABLE_NAME_PROPERTY" type="java.lang.String"
  19113. transient="false" volatile="false"
  19114. static="true" final="true" visibility="public"
  19115. deprecated="not deprecated">
  19116. <doc>
  19117. <![CDATA[Input table name]]>
  19118. </doc>
  19119. </field>
  19120. <field name="INPUT_FIELD_NAMES_PROPERTY" type="java.lang.String"
  19121. transient="false" volatile="false"
  19122. static="true" final="true" visibility="public"
  19123. deprecated="not deprecated">
  19124. <doc>
  19125. <![CDATA[Field names in the Input table]]>
  19126. </doc>
  19127. </field>
  19128. <field name="INPUT_CONDITIONS_PROPERTY" type="java.lang.String"
  19129. transient="false" volatile="false"
  19130. static="true" final="true" visibility="public"
  19131. deprecated="not deprecated">
  19132. <doc>
  19133. <![CDATA[WHERE clause in the input SELECT statement]]>
  19134. </doc>
  19135. </field>
  19136. <field name="INPUT_ORDER_BY_PROPERTY" type="java.lang.String"
  19137. transient="false" volatile="false"
  19138. static="true" final="true" visibility="public"
  19139. deprecated="not deprecated">
  19140. <doc>
  19141. <![CDATA[ORDER BY clause in the input SELECT statement]]>
  19142. </doc>
  19143. </field>
  19144. <field name="INPUT_QUERY" type="java.lang.String"
  19145. transient="false" volatile="false"
  19146. static="true" final="true" visibility="public"
  19147. deprecated="not deprecated">
  19148. <doc>
  19149. <![CDATA[Whole input query, exluding LIMIT...OFFSET]]>
  19150. </doc>
  19151. </field>
  19152. <field name="INPUT_COUNT_QUERY" type="java.lang.String"
  19153. transient="false" volatile="false"
  19154. static="true" final="true" visibility="public"
  19155. deprecated="not deprecated">
  19156. <doc>
  19157. <![CDATA[Input query to get the count of records]]>
  19158. </doc>
  19159. </field>
  19160. <field name="INPUT_BOUNDING_QUERY" type="java.lang.String"
  19161. transient="false" volatile="false"
  19162. static="true" final="true" visibility="public"
  19163. deprecated="not deprecated">
  19164. <doc>
  19165. <![CDATA[Input query to get the max and min values of the jdbc.input.query]]>
  19166. </doc>
  19167. </field>
  19168. <field name="INPUT_CLASS_PROPERTY" type="java.lang.String"
  19169. transient="false" volatile="false"
  19170. static="true" final="true" visibility="public"
  19171. deprecated="not deprecated">
  19172. <doc>
  19173. <![CDATA[Class name implementing DBWritable which will hold input tuples]]>
  19174. </doc>
  19175. </field>
  19176. <field name="OUTPUT_TABLE_NAME_PROPERTY" type="java.lang.String"
  19177. transient="false" volatile="false"
  19178. static="true" final="true" visibility="public"
  19179. deprecated="not deprecated">
  19180. <doc>
  19181. <![CDATA[Output table name]]>
  19182. </doc>
  19183. </field>
  19184. <field name="OUTPUT_FIELD_NAMES_PROPERTY" type="java.lang.String"
  19185. transient="false" volatile="false"
  19186. static="true" final="true" visibility="public"
  19187. deprecated="not deprecated">
  19188. <doc>
  19189. <![CDATA[Field names in the Output table]]>
  19190. </doc>
  19191. </field>
  19192. <field name="OUTPUT_FIELD_COUNT_PROPERTY" type="java.lang.String"
  19193. transient="false" volatile="false"
  19194. static="true" final="true" visibility="public"
  19195. deprecated="not deprecated">
  19196. <doc>
  19197. <![CDATA[Number of fields in the Output table]]>
  19198. </doc>
  19199. </field>
  19200. <doc>
  19201. <![CDATA[A container for configuration property names for jobs with DB input/output.
  19202. The job can be configured using the static methods in this class,
  19203. {@link DBInputFormat}, and {@link DBOutputFormat}.
  19204. Alternatively, the properties can be set in the configuration with proper
  19205. values.
  19206. @see DBConfiguration#configureDB(Configuration, String, String, String, String)
  19207. @see DBInputFormat#setInput(Job, Class, String, String)
  19208. @see DBInputFormat#setInput(Job, Class, String, String, String, String...)
  19209. @see DBOutputFormat#setOutput(Job, String, String...)]]>
  19210. </doc>
  19211. </class>
  19212. <!-- end class org.apache.hadoop.mapreduce.lib.db.DBConfiguration -->
  19213. <!-- start class org.apache.hadoop.mapreduce.lib.db.DBInputFormat -->
  19214. <class name="DBInputFormat" extends="org.apache.hadoop.mapreduce.InputFormat"
  19215. abstract="false"
  19216. static="false" final="false" visibility="public"
  19217. deprecated="not deprecated">
  19218. <implements name="org.apache.hadoop.conf.Configurable"/>
  19219. <constructor name="DBInputFormat"
  19220. static="false" final="false" visibility="public"
  19221. deprecated="not deprecated">
  19222. </constructor>
  19223. <method name="setConf"
  19224. abstract="false" native="false" synchronized="false"
  19225. static="false" final="false" visibility="public"
  19226. deprecated="not deprecated">
  19227. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  19228. <doc>
  19229. <![CDATA[{@inheritDoc}]]>
  19230. </doc>
  19231. </method>
  19232. <method name="getConf" return="org.apache.hadoop.conf.Configuration"
  19233. abstract="false" native="false" synchronized="false"
  19234. static="false" final="false" visibility="public"
  19235. deprecated="not deprecated">
  19236. </method>
  19237. <method name="getDBConf" return="org.apache.hadoop.mapreduce.lib.db.DBConfiguration"
  19238. abstract="false" native="false" synchronized="false"
  19239. static="false" final="false" visibility="public"
  19240. deprecated="not deprecated">
  19241. </method>
  19242. <method name="getConnection" return="java.sql.Connection"
  19243. abstract="false" native="false" synchronized="false"
  19244. static="false" final="false" visibility="public"
  19245. deprecated="not deprecated">
  19246. </method>
  19247. <method name="getDBProductName" return="java.lang.String"
  19248. abstract="false" native="false" synchronized="false"
  19249. static="false" final="false" visibility="public"
  19250. deprecated="not deprecated">
  19251. </method>
  19252. <method name="createDBRecordReader" return="org.apache.hadoop.mapreduce.RecordReader"
  19253. abstract="false" native="false" synchronized="false"
  19254. static="false" final="false" visibility="protected"
  19255. deprecated="not deprecated">
  19256. <param name="split" type="org.apache.hadoop.mapreduce.lib.db.DBInputFormat.DBInputSplit"/>
  19257. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  19258. <exception name="IOException" type="java.io.IOException"/>
  19259. </method>
  19260. <method name="createRecordReader" return="org.apache.hadoop.mapreduce.RecordReader"
  19261. abstract="false" native="false" synchronized="false"
  19262. static="false" final="false" visibility="public"
  19263. deprecated="not deprecated">
  19264. <param name="split" type="org.apache.hadoop.mapreduce.InputSplit"/>
  19265. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  19266. <exception name="IOException" type="java.io.IOException"/>
  19267. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  19268. <doc>
  19269. <![CDATA[{@inheritDoc}]]>
  19270. </doc>
  19271. </method>
  19272. <method name="getSplits" return="java.util.List"
  19273. abstract="false" native="false" synchronized="false"
  19274. static="false" final="false" visibility="public"
  19275. deprecated="not deprecated">
  19276. <param name="job" type="org.apache.hadoop.mapreduce.JobContext"/>
  19277. <exception name="IOException" type="java.io.IOException"/>
  19278. <doc>
  19279. <![CDATA[{@inheritDoc}]]>
  19280. </doc>
  19281. </method>
  19282. <method name="getCountQuery" return="java.lang.String"
  19283. abstract="false" native="false" synchronized="false"
  19284. static="false" final="false" visibility="protected"
  19285. deprecated="not deprecated">
  19286. <doc>
  19287. <![CDATA[Returns the query for getting the total number of rows,
  19288. subclasses can override this for custom behaviour.]]>
  19289. </doc>
  19290. </method>
  19291. <method name="setInput"
  19292. abstract="false" native="false" synchronized="false"
  19293. static="true" final="false" visibility="public"
  19294. deprecated="not deprecated">
  19295. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  19296. <param name="inputClass" type="java.lang.Class"/>
  19297. <param name="tableName" type="java.lang.String"/>
  19298. <param name="conditions" type="java.lang.String"/>
  19299. <param name="orderBy" type="java.lang.String"/>
  19300. <param name="fieldNames" type="java.lang.String[]"/>
  19301. <doc>
  19302. <![CDATA[Initializes the map-part of the job with the appropriate input settings.
  19303. @param job The map-reduce job
  19304. @param inputClass the class object implementing DBWritable, which is the
  19305. Java object holding tuple fields.
  19306. @param tableName The table to read data from
  19307. @param conditions The condition which to select data with,
  19308. eg. '(updated > 20070101 AND length > 0)'
  19309. @param orderBy the fieldNames in the orderBy clause.
  19310. @param fieldNames The field names in the table
  19311. @see #setInput(Job, Class, String, String)]]>
  19312. </doc>
  19313. </method>
  19314. <method name="setInput"
  19315. abstract="false" native="false" synchronized="false"
  19316. static="true" final="false" visibility="public"
  19317. deprecated="not deprecated">
  19318. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  19319. <param name="inputClass" type="java.lang.Class"/>
  19320. <param name="inputQuery" type="java.lang.String"/>
  19321. <param name="inputCountQuery" type="java.lang.String"/>
  19322. <doc>
  19323. <![CDATA[Initializes the map-part of the job with the appropriate input settings.
  19324. @param job The map-reduce job
  19325. @param inputClass the class object implementing DBWritable, which is the
  19326. Java object holding tuple fields.
  19327. @param inputQuery the input query to select fields. Example :
  19328. "SELECT f1, f2, f3 FROM Mytable ORDER BY f1"
  19329. @param inputCountQuery the input query that returns
  19330. the number of records in the table.
  19331. Example : "SELECT COUNT(f1) FROM Mytable"
  19332. @see #setInput(Job, Class, String, String, String, String...)]]>
  19333. </doc>
  19334. </method>
  19335. <method name="closeConnection"
  19336. abstract="false" native="false" synchronized="false"
  19337. static="false" final="false" visibility="protected"
  19338. deprecated="not deprecated">
  19339. </method>
  19340. <doc>
  19341. <![CDATA[A InputFormat that reads input data from an SQL table.
  19342. <p>
  19343. DBInputFormat emits LongWritables containing the record number as
  19344. key and DBWritables as value.
  19345. The SQL query, and input class can be using one of the two
  19346. setInput methods.]]>
  19347. </doc>
  19348. </class>
  19349. <!-- end class org.apache.hadoop.mapreduce.lib.db.DBInputFormat -->
  19350. <!-- start class org.apache.hadoop.mapreduce.lib.db.DBInputFormat.DBInputSplit -->
  19351. <class name="DBInputFormat.DBInputSplit" extends="org.apache.hadoop.mapreduce.InputSplit"
  19352. abstract="false"
  19353. static="true" final="false" visibility="public"
  19354. deprecated="not deprecated">
  19355. <implements name="org.apache.hadoop.io.Writable"/>
  19356. <constructor name="DBInputFormat.DBInputSplit"
  19357. static="false" final="false" visibility="public"
  19358. deprecated="not deprecated">
  19359. <doc>
  19360. <![CDATA[Default Constructor]]>
  19361. </doc>
  19362. </constructor>
  19363. <constructor name="DBInputFormat.DBInputSplit" type="long, long"
  19364. static="false" final="false" visibility="public"
  19365. deprecated="not deprecated">
  19366. <doc>
  19367. <![CDATA[Convenience Constructor
  19368. @param start the index of the first row to select
  19369. @param end the index of the last row to select]]>
  19370. </doc>
  19371. </constructor>
  19372. <method name="getLocations" return="java.lang.String[]"
  19373. abstract="false" native="false" synchronized="false"
  19374. static="false" final="false" visibility="public"
  19375. deprecated="not deprecated">
  19376. <exception name="IOException" type="java.io.IOException"/>
  19377. <doc>
  19378. <![CDATA[{@inheritDoc}]]>
  19379. </doc>
  19380. </method>
  19381. <method name="getStart" return="long"
  19382. abstract="false" native="false" synchronized="false"
  19383. static="false" final="false" visibility="public"
  19384. deprecated="not deprecated">
  19385. <doc>
  19386. <![CDATA[@return The index of the first row to select]]>
  19387. </doc>
  19388. </method>
  19389. <method name="getEnd" return="long"
  19390. abstract="false" native="false" synchronized="false"
  19391. static="false" final="false" visibility="public"
  19392. deprecated="not deprecated">
  19393. <doc>
  19394. <![CDATA[@return The index of the last row to select]]>
  19395. </doc>
  19396. </method>
  19397. <method name="getLength" return="long"
  19398. abstract="false" native="false" synchronized="false"
  19399. static="false" final="false" visibility="public"
  19400. deprecated="not deprecated">
  19401. <exception name="IOException" type="java.io.IOException"/>
  19402. <doc>
  19403. <![CDATA[@return The total row count in this split]]>
  19404. </doc>
  19405. </method>
  19406. <method name="readFields"
  19407. abstract="false" native="false" synchronized="false"
  19408. static="false" final="false" visibility="public"
  19409. deprecated="not deprecated">
  19410. <param name="input" type="java.io.DataInput"/>
  19411. <exception name="IOException" type="java.io.IOException"/>
  19412. <doc>
  19413. <![CDATA[{@inheritDoc}]]>
  19414. </doc>
  19415. </method>
  19416. <method name="write"
  19417. abstract="false" native="false" synchronized="false"
  19418. static="false" final="false" visibility="public"
  19419. deprecated="not deprecated">
  19420. <param name="output" type="java.io.DataOutput"/>
  19421. <exception name="IOException" type="java.io.IOException"/>
  19422. <doc>
  19423. <![CDATA[{@inheritDoc}]]>
  19424. </doc>
  19425. </method>
  19426. <doc>
  19427. <![CDATA[A InputSplit that spans a set of rows]]>
  19428. </doc>
  19429. </class>
  19430. <!-- end class org.apache.hadoop.mapreduce.lib.db.DBInputFormat.DBInputSplit -->
  19431. <!-- start class org.apache.hadoop.mapreduce.lib.db.DBInputFormat.NullDBWritable -->
  19432. <class name="DBInputFormat.NullDBWritable" extends="java.lang.Object"
  19433. abstract="false"
  19434. static="true" final="false" visibility="public"
  19435. deprecated="not deprecated">
  19436. <implements name="org.apache.hadoop.mapreduce.lib.db.DBWritable"/>
  19437. <implements name="org.apache.hadoop.io.Writable"/>
  19438. <constructor name="DBInputFormat.NullDBWritable"
  19439. static="false" final="false" visibility="public"
  19440. deprecated="not deprecated">
  19441. </constructor>
  19442. <method name="readFields"
  19443. abstract="false" native="false" synchronized="false"
  19444. static="false" final="false" visibility="public"
  19445. deprecated="not deprecated">
  19446. <param name="in" type="java.io.DataInput"/>
  19447. <exception name="IOException" type="java.io.IOException"/>
  19448. </method>
  19449. <method name="readFields"
  19450. abstract="false" native="false" synchronized="false"
  19451. static="false" final="false" visibility="public"
  19452. deprecated="not deprecated">
  19453. <param name="arg0" type="java.sql.ResultSet"/>
  19454. <exception name="SQLException" type="java.sql.SQLException"/>
  19455. </method>
  19456. <method name="write"
  19457. abstract="false" native="false" synchronized="false"
  19458. static="false" final="false" visibility="public"
  19459. deprecated="not deprecated">
  19460. <param name="out" type="java.io.DataOutput"/>
  19461. <exception name="IOException" type="java.io.IOException"/>
  19462. </method>
  19463. <method name="write"
  19464. abstract="false" native="false" synchronized="false"
  19465. static="false" final="false" visibility="public"
  19466. deprecated="not deprecated">
  19467. <param name="arg0" type="java.sql.PreparedStatement"/>
  19468. <exception name="SQLException" type="java.sql.SQLException"/>
  19469. </method>
  19470. <doc>
  19471. <![CDATA[A Class that does nothing, implementing DBWritable]]>
  19472. </doc>
  19473. </class>
  19474. <!-- end class org.apache.hadoop.mapreduce.lib.db.DBInputFormat.NullDBWritable -->
  19475. <!-- start class org.apache.hadoop.mapreduce.lib.db.DBOutputFormat -->
  19476. <class name="DBOutputFormat" extends="org.apache.hadoop.mapreduce.OutputFormat"
  19477. abstract="false"
  19478. static="false" final="false" visibility="public"
  19479. deprecated="not deprecated">
  19480. <constructor name="DBOutputFormat"
  19481. static="false" final="false" visibility="public"
  19482. deprecated="not deprecated">
  19483. </constructor>
  19484. <method name="checkOutputSpecs"
  19485. abstract="false" native="false" synchronized="false"
  19486. static="false" final="false" visibility="public"
  19487. deprecated="not deprecated">
  19488. <param name="context" type="org.apache.hadoop.mapreduce.JobContext"/>
  19489. <exception name="IOException" type="java.io.IOException"/>
  19490. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  19491. </method>
  19492. <method name="getOutputCommitter" return="org.apache.hadoop.mapreduce.OutputCommitter"
  19493. abstract="false" native="false" synchronized="false"
  19494. static="false" final="false" visibility="public"
  19495. deprecated="not deprecated">
  19496. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  19497. <exception name="IOException" type="java.io.IOException"/>
  19498. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  19499. </method>
  19500. <method name="constructQuery" return="java.lang.String"
  19501. abstract="false" native="false" synchronized="false"
  19502. static="false" final="false" visibility="public"
  19503. deprecated="not deprecated">
  19504. <param name="table" type="java.lang.String"/>
  19505. <param name="fieldNames" type="java.lang.String[]"/>
  19506. <doc>
  19507. <![CDATA[Constructs the query used as the prepared statement to insert data.
  19508. @param table
  19509. the table to insert into
  19510. @param fieldNames
  19511. the fields to insert into. If field names are unknown, supply an
  19512. array of nulls.]]>
  19513. </doc>
  19514. </method>
  19515. <method name="getRecordWriter" return="org.apache.hadoop.mapreduce.RecordWriter"
  19516. abstract="false" native="false" synchronized="false"
  19517. static="false" final="false" visibility="public"
  19518. deprecated="not deprecated">
  19519. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  19520. <exception name="IOException" type="java.io.IOException"/>
  19521. <doc>
  19522. <![CDATA[{@inheritDoc}]]>
  19523. </doc>
  19524. </method>
  19525. <method name="setOutput"
  19526. abstract="false" native="false" synchronized="false"
  19527. static="true" final="false" visibility="public"
  19528. deprecated="not deprecated">
  19529. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  19530. <param name="tableName" type="java.lang.String"/>
  19531. <param name="fieldNames" type="java.lang.String[]"/>
  19532. <exception name="IOException" type="java.io.IOException"/>
  19533. <doc>
  19534. <![CDATA[Initializes the reduce-part of the job with
  19535. the appropriate output settings
  19536. @param job The job
  19537. @param tableName The table to insert data into
  19538. @param fieldNames The field names in the table.]]>
  19539. </doc>
  19540. </method>
  19541. <method name="setOutput"
  19542. abstract="false" native="false" synchronized="false"
  19543. static="true" final="false" visibility="public"
  19544. deprecated="not deprecated">
  19545. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  19546. <param name="tableName" type="java.lang.String"/>
  19547. <param name="fieldCount" type="int"/>
  19548. <exception name="IOException" type="java.io.IOException"/>
  19549. <doc>
  19550. <![CDATA[Initializes the reduce-part of the job
  19551. with the appropriate output settings
  19552. @param job The job
  19553. @param tableName The table to insert data into
  19554. @param fieldCount the number of fields in the table.]]>
  19555. </doc>
  19556. </method>
  19557. <doc>
  19558. <![CDATA[A OutputFormat that sends the reduce output to a SQL table.
  19559. <p>
  19560. {@link DBOutputFormat} accepts &lt;key,value&gt; pairs, where
  19561. key has a type extending DBWritable. Returned {@link RecordWriter}
  19562. writes <b>only the key</b> to the database with a batch SQL query.]]>
  19563. </doc>
  19564. </class>
  19565. <!-- end class org.apache.hadoop.mapreduce.lib.db.DBOutputFormat -->
  19566. <!-- start class org.apache.hadoop.mapreduce.lib.db.DBOutputFormat.DBRecordWriter -->
  19567. <class name="DBOutputFormat.DBRecordWriter" extends="org.apache.hadoop.mapreduce.RecordWriter"
  19568. abstract="false"
  19569. static="false" final="false" visibility="public"
  19570. deprecated="not deprecated">
  19571. <constructor name="DBOutputFormat.DBRecordWriter"
  19572. static="false" final="false" visibility="public"
  19573. deprecated="not deprecated">
  19574. <exception name="SQLException" type="java.sql.SQLException"/>
  19575. </constructor>
  19576. <constructor name="DBOutputFormat.DBRecordWriter" type="java.sql.Connection, java.sql.PreparedStatement"
  19577. static="false" final="false" visibility="public"
  19578. deprecated="not deprecated">
  19579. <exception name="SQLException" type="java.sql.SQLException"/>
  19580. </constructor>
  19581. <method name="getConnection" return="java.sql.Connection"
  19582. abstract="false" native="false" synchronized="false"
  19583. static="false" final="false" visibility="public"
  19584. deprecated="not deprecated">
  19585. </method>
  19586. <method name="getStatement" return="java.sql.PreparedStatement"
  19587. abstract="false" native="false" synchronized="false"
  19588. static="false" final="false" visibility="public"
  19589. deprecated="not deprecated">
  19590. </method>
  19591. <method name="close"
  19592. abstract="false" native="false" synchronized="false"
  19593. static="false" final="false" visibility="public"
  19594. deprecated="not deprecated">
  19595. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  19596. <exception name="IOException" type="java.io.IOException"/>
  19597. <doc>
  19598. <![CDATA[{@inheritDoc}]]>
  19599. </doc>
  19600. </method>
  19601. <method name="write"
  19602. abstract="false" native="false" synchronized="false"
  19603. static="false" final="false" visibility="public"
  19604. deprecated="not deprecated">
  19605. <param name="key" type="K"/>
  19606. <param name="value" type="V"/>
  19607. <exception name="IOException" type="java.io.IOException"/>
  19608. <doc>
  19609. <![CDATA[{@inheritDoc}]]>
  19610. </doc>
  19611. </method>
  19612. <doc>
  19613. <![CDATA[A RecordWriter that writes the reduce output to a SQL table]]>
  19614. </doc>
  19615. </class>
  19616. <!-- end class org.apache.hadoop.mapreduce.lib.db.DBOutputFormat.DBRecordWriter -->
  19617. <!-- start class org.apache.hadoop.mapreduce.lib.db.DBRecordReader -->
  19618. <class name="DBRecordReader" extends="org.apache.hadoop.mapreduce.RecordReader"
  19619. abstract="false"
  19620. static="false" final="false" visibility="public"
  19621. deprecated="not deprecated">
  19622. <constructor name="DBRecordReader" type="org.apache.hadoop.mapreduce.lib.db.DBInputFormat.DBInputSplit, java.lang.Class, org.apache.hadoop.conf.Configuration, java.sql.Connection, org.apache.hadoop.mapreduce.lib.db.DBConfiguration, java.lang.String, java.lang.String[], java.lang.String"
  19623. static="false" final="false" visibility="public"
  19624. deprecated="not deprecated">
  19625. <exception name="SQLException" type="java.sql.SQLException"/>
  19626. <doc>
  19627. <![CDATA[@param split The InputSplit to read data for
  19628. @throws SQLException]]>
  19629. </doc>
  19630. </constructor>
  19631. <method name="executeQuery" return="java.sql.ResultSet"
  19632. abstract="false" native="false" synchronized="false"
  19633. static="false" final="false" visibility="protected"
  19634. deprecated="not deprecated">
  19635. <param name="query" type="java.lang.String"/>
  19636. <exception name="SQLException" type="java.sql.SQLException"/>
  19637. </method>
  19638. <method name="getSelectQuery" return="java.lang.String"
  19639. abstract="false" native="false" synchronized="false"
  19640. static="false" final="false" visibility="protected"
  19641. deprecated="not deprecated">
  19642. <doc>
  19643. <![CDATA[Returns the query for selecting the records,
  19644. subclasses can override this for custom behaviour.]]>
  19645. </doc>
  19646. </method>
  19647. <method name="close"
  19648. abstract="false" native="false" synchronized="false"
  19649. static="false" final="false" visibility="public"
  19650. deprecated="not deprecated">
  19651. <exception name="IOException" type="java.io.IOException"/>
  19652. <doc>
  19653. <![CDATA[{@inheritDoc}]]>
  19654. </doc>
  19655. </method>
  19656. <method name="initialize"
  19657. abstract="false" native="false" synchronized="false"
  19658. static="false" final="false" visibility="public"
  19659. deprecated="not deprecated">
  19660. <param name="split" type="org.apache.hadoop.mapreduce.InputSplit"/>
  19661. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  19662. <exception name="IOException" type="java.io.IOException"/>
  19663. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  19664. </method>
  19665. <method name="getCurrentKey" return="org.apache.hadoop.io.LongWritable"
  19666. abstract="false" native="false" synchronized="false"
  19667. static="false" final="false" visibility="public"
  19668. deprecated="not deprecated">
  19669. <doc>
  19670. <![CDATA[{@inheritDoc}]]>
  19671. </doc>
  19672. </method>
  19673. <method name="getCurrentValue" return="T"
  19674. abstract="false" native="false" synchronized="false"
  19675. static="false" final="false" visibility="public"
  19676. deprecated="not deprecated">
  19677. <doc>
  19678. <![CDATA[{@inheritDoc}]]>
  19679. </doc>
  19680. </method>
  19681. <method name="createValue" return="T"
  19682. abstract="false" native="false" synchronized="false"
  19683. static="false" final="false" visibility="public"
  19684. deprecated="deprecated, no comment">
  19685. <doc>
  19686. <![CDATA[@deprecated]]>
  19687. </doc>
  19688. </method>
  19689. <method name="getPos" return="long"
  19690. abstract="false" native="false" synchronized="false"
  19691. static="false" final="false" visibility="public"
  19692. deprecated="deprecated, no comment">
  19693. <exception name="IOException" type="java.io.IOException"/>
  19694. <doc>
  19695. <![CDATA[@deprecated]]>
  19696. </doc>
  19697. </method>
  19698. <method name="next" return="boolean"
  19699. abstract="false" native="false" synchronized="false"
  19700. static="false" final="false" visibility="public"
  19701. deprecated="Use {@link #nextKeyValue()}">
  19702. <param name="key" type="org.apache.hadoop.io.LongWritable"/>
  19703. <param name="value" type="T"/>
  19704. <exception name="IOException" type="java.io.IOException"/>
  19705. <doc>
  19706. <![CDATA[@deprecated Use {@link #nextKeyValue()}]]>
  19707. </doc>
  19708. </method>
  19709. <method name="getProgress" return="float"
  19710. abstract="false" native="false" synchronized="false"
  19711. static="false" final="false" visibility="public"
  19712. deprecated="not deprecated">
  19713. <exception name="IOException" type="java.io.IOException"/>
  19714. <doc>
  19715. <![CDATA[{@inheritDoc}]]>
  19716. </doc>
  19717. </method>
  19718. <method name="nextKeyValue" return="boolean"
  19719. abstract="false" native="false" synchronized="false"
  19720. static="false" final="false" visibility="public"
  19721. deprecated="not deprecated">
  19722. <exception name="IOException" type="java.io.IOException"/>
  19723. <doc>
  19724. <![CDATA[{@inheritDoc}]]>
  19725. </doc>
  19726. </method>
  19727. <method name="getSplit" return="org.apache.hadoop.mapreduce.lib.db.DBInputFormat.DBInputSplit"
  19728. abstract="false" native="false" synchronized="false"
  19729. static="false" final="false" visibility="protected"
  19730. deprecated="not deprecated">
  19731. </method>
  19732. <method name="getFieldNames" return="java.lang.String[]"
  19733. abstract="false" native="false" synchronized="false"
  19734. static="false" final="false" visibility="protected"
  19735. deprecated="not deprecated">
  19736. </method>
  19737. <method name="getTableName" return="java.lang.String"
  19738. abstract="false" native="false" synchronized="false"
  19739. static="false" final="false" visibility="protected"
  19740. deprecated="not deprecated">
  19741. </method>
  19742. <method name="getConditions" return="java.lang.String"
  19743. abstract="false" native="false" synchronized="false"
  19744. static="false" final="false" visibility="protected"
  19745. deprecated="not deprecated">
  19746. </method>
  19747. <method name="getDBConf" return="org.apache.hadoop.mapreduce.lib.db.DBConfiguration"
  19748. abstract="false" native="false" synchronized="false"
  19749. static="false" final="false" visibility="protected"
  19750. deprecated="not deprecated">
  19751. </method>
  19752. <method name="getConnection" return="java.sql.Connection"
  19753. abstract="false" native="false" synchronized="false"
  19754. static="false" final="false" visibility="protected"
  19755. deprecated="not deprecated">
  19756. </method>
  19757. <method name="getStatement" return="java.sql.PreparedStatement"
  19758. abstract="false" native="false" synchronized="false"
  19759. static="false" final="false" visibility="protected"
  19760. deprecated="not deprecated">
  19761. </method>
  19762. <method name="setStatement"
  19763. abstract="false" native="false" synchronized="false"
  19764. static="false" final="false" visibility="protected"
  19765. deprecated="not deprecated">
  19766. <param name="stmt" type="java.sql.PreparedStatement"/>
  19767. </method>
  19768. <field name="statement" type="java.sql.PreparedStatement"
  19769. transient="false" volatile="false"
  19770. static="false" final="false" visibility="protected"
  19771. deprecated="not deprecated">
  19772. </field>
  19773. <doc>
  19774. <![CDATA[A RecordReader that reads records from a SQL table.
  19775. Emits LongWritables containing the record number as
  19776. key and DBWritables as value.]]>
  19777. </doc>
  19778. </class>
  19779. <!-- end class org.apache.hadoop.mapreduce.lib.db.DBRecordReader -->
  19780. <!-- start interface org.apache.hadoop.mapreduce.lib.db.DBSplitter -->
  19781. <interface name="DBSplitter" abstract="true"
  19782. static="false" final="false" visibility="public"
  19783. deprecated="not deprecated">
  19784. <method name="split" return="java.util.List"
  19785. abstract="false" native="false" synchronized="false"
  19786. static="false" final="false" visibility="public"
  19787. deprecated="not deprecated">
  19788. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  19789. <param name="results" type="java.sql.ResultSet"/>
  19790. <param name="colName" type="java.lang.String"/>
  19791. <exception name="SQLException" type="java.sql.SQLException"/>
  19792. <doc>
  19793. <![CDATA[Given a ResultSet containing one record (and already advanced to that record)
  19794. with two columns (a low value, and a high value, both of the same type), determine
  19795. a set of splits that span the given values.]]>
  19796. </doc>
  19797. </method>
  19798. <doc>
  19799. <![CDATA[DBSplitter will generate DBInputSplits to use with DataDrivenDBInputFormat.
  19800. DataDrivenDBInputFormat needs to interpolate between two values that
  19801. represent the lowest and highest valued records to import. Depending
  19802. on the data-type of the column, this requires different behavior.
  19803. DBSplitter implementations should perform this for a data type or family
  19804. of data types.]]>
  19805. </doc>
  19806. </interface>
  19807. <!-- end interface org.apache.hadoop.mapreduce.lib.db.DBSplitter -->
  19808. <!-- start interface org.apache.hadoop.mapreduce.lib.db.DBWritable -->
  19809. <interface name="DBWritable" abstract="true"
  19810. static="false" final="false" visibility="public"
  19811. deprecated="not deprecated">
  19812. <method name="write"
  19813. abstract="false" native="false" synchronized="false"
  19814. static="false" final="false" visibility="public"
  19815. deprecated="not deprecated">
  19816. <param name="statement" type="java.sql.PreparedStatement"/>
  19817. <exception name="SQLException" type="java.sql.SQLException"/>
  19818. <doc>
  19819. <![CDATA[Sets the fields of the object in the {@link PreparedStatement}.
  19820. @param statement the statement that the fields are put into.
  19821. @throws SQLException]]>
  19822. </doc>
  19823. </method>
  19824. <method name="readFields"
  19825. abstract="false" native="false" synchronized="false"
  19826. static="false" final="false" visibility="public"
  19827. deprecated="not deprecated">
  19828. <param name="resultSet" type="java.sql.ResultSet"/>
  19829. <exception name="SQLException" type="java.sql.SQLException"/>
  19830. <doc>
  19831. <![CDATA[Reads the fields of the object from the {@link ResultSet}.
  19832. @param resultSet the {@link ResultSet} to get the fields from.
  19833. @throws SQLException]]>
  19834. </doc>
  19835. </method>
  19836. <doc>
  19837. <![CDATA[Objects that are read from/written to a database should implement
  19838. <code>DBWritable</code>. DBWritable, is similar to {@link Writable}
  19839. except that the {@link #write(PreparedStatement)} method takes a
  19840. {@link PreparedStatement}, and {@link #readFields(ResultSet)}
  19841. takes a {@link ResultSet}.
  19842. <p>
  19843. Implementations are responsible for writing the fields of the object
  19844. to PreparedStatement, and reading the fields of the object from the
  19845. ResultSet.
  19846. <p>Example:</p>
  19847. If we have the following table in the database :
  19848. <pre>
  19849. CREATE TABLE MyTable (
  19850. counter INTEGER NOT NULL,
  19851. timestamp BIGINT NOT NULL,
  19852. );
  19853. </pre>
  19854. then we can read/write the tuples from/to the table with :
  19855. <p><pre>
  19856. public class MyWritable implements Writable, DBWritable {
  19857. // Some data
  19858. private int counter;
  19859. private long timestamp;
  19860. //Writable#write() implementation
  19861. public void write(DataOutput out) throws IOException {
  19862. out.writeInt(counter);
  19863. out.writeLong(timestamp);
  19864. }
  19865. //Writable#readFields() implementation
  19866. public void readFields(DataInput in) throws IOException {
  19867. counter = in.readInt();
  19868. timestamp = in.readLong();
  19869. }
  19870. public void write(PreparedStatement statement) throws SQLException {
  19871. statement.setInt(1, counter);
  19872. statement.setLong(2, timestamp);
  19873. }
  19874. public void readFields(ResultSet resultSet) throws SQLException {
  19875. counter = resultSet.getInt(1);
  19876. timestamp = resultSet.getLong(2);
  19877. }
  19878. }
  19879. </pre></p>]]>
  19880. </doc>
  19881. </interface>
  19882. <!-- end interface org.apache.hadoop.mapreduce.lib.db.DBWritable -->
  19883. <!-- start class org.apache.hadoop.mapreduce.lib.db.FloatSplitter -->
  19884. <class name="FloatSplitter" extends="java.lang.Object"
  19885. abstract="false"
  19886. static="false" final="false" visibility="public"
  19887. deprecated="not deprecated">
  19888. <implements name="org.apache.hadoop.mapreduce.lib.db.DBSplitter"/>
  19889. <constructor name="FloatSplitter"
  19890. static="false" final="false" visibility="public"
  19891. deprecated="not deprecated">
  19892. </constructor>
  19893. <method name="split" return="java.util.List"
  19894. abstract="false" native="false" synchronized="false"
  19895. static="false" final="false" visibility="public"
  19896. deprecated="not deprecated">
  19897. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  19898. <param name="results" type="java.sql.ResultSet"/>
  19899. <param name="colName" type="java.lang.String"/>
  19900. <exception name="SQLException" type="java.sql.SQLException"/>
  19901. </method>
  19902. <doc>
  19903. <![CDATA[Implement DBSplitter over floating-point values.]]>
  19904. </doc>
  19905. </class>
  19906. <!-- end class org.apache.hadoop.mapreduce.lib.db.FloatSplitter -->
  19907. <!-- start class org.apache.hadoop.mapreduce.lib.db.IntegerSplitter -->
  19908. <class name="IntegerSplitter" extends="java.lang.Object"
  19909. abstract="false"
  19910. static="false" final="false" visibility="public"
  19911. deprecated="not deprecated">
  19912. <implements name="org.apache.hadoop.mapreduce.lib.db.DBSplitter"/>
  19913. <constructor name="IntegerSplitter"
  19914. static="false" final="false" visibility="public"
  19915. deprecated="not deprecated">
  19916. </constructor>
  19917. <method name="split" return="java.util.List"
  19918. abstract="false" native="false" synchronized="false"
  19919. static="false" final="false" visibility="public"
  19920. deprecated="not deprecated">
  19921. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  19922. <param name="results" type="java.sql.ResultSet"/>
  19923. <param name="colName" type="java.lang.String"/>
  19924. <exception name="SQLException" type="java.sql.SQLException"/>
  19925. </method>
  19926. <doc>
  19927. <![CDATA[Implement DBSplitter over integer values.]]>
  19928. </doc>
  19929. </class>
  19930. <!-- end class org.apache.hadoop.mapreduce.lib.db.IntegerSplitter -->
  19931. <!-- start class org.apache.hadoop.mapreduce.lib.db.MySQLDataDrivenDBRecordReader -->
  19932. <class name="MySQLDataDrivenDBRecordReader" extends="org.apache.hadoop.mapreduce.lib.db.DataDrivenDBRecordReader"
  19933. abstract="false"
  19934. static="false" final="false" visibility="public"
  19935. deprecated="not deprecated">
  19936. <constructor name="MySQLDataDrivenDBRecordReader" type="org.apache.hadoop.mapreduce.lib.db.DBInputFormat.DBInputSplit, java.lang.Class, org.apache.hadoop.conf.Configuration, java.sql.Connection, org.apache.hadoop.mapreduce.lib.db.DBConfiguration, java.lang.String, java.lang.String[], java.lang.String"
  19937. static="false" final="false" visibility="public"
  19938. deprecated="not deprecated">
  19939. <exception name="SQLException" type="java.sql.SQLException"/>
  19940. </constructor>
  19941. <method name="executeQuery" return="java.sql.ResultSet"
  19942. abstract="false" native="false" synchronized="false"
  19943. static="false" final="false" visibility="protected"
  19944. deprecated="not deprecated">
  19945. <param name="query" type="java.lang.String"/>
  19946. <exception name="SQLException" type="java.sql.SQLException"/>
  19947. </method>
  19948. <doc>
  19949. <![CDATA[A RecordReader that reads records from a MySQL table via DataDrivenDBRecordReader]]>
  19950. </doc>
  19951. </class>
  19952. <!-- end class org.apache.hadoop.mapreduce.lib.db.MySQLDataDrivenDBRecordReader -->
  19953. <!-- start class org.apache.hadoop.mapreduce.lib.db.MySQLDBRecordReader -->
  19954. <class name="MySQLDBRecordReader" extends="org.apache.hadoop.mapreduce.lib.db.DBRecordReader"
  19955. abstract="false"
  19956. static="false" final="false" visibility="public"
  19957. deprecated="not deprecated">
  19958. <constructor name="MySQLDBRecordReader" type="org.apache.hadoop.mapreduce.lib.db.DBInputFormat.DBInputSplit, java.lang.Class, org.apache.hadoop.conf.Configuration, java.sql.Connection, org.apache.hadoop.mapreduce.lib.db.DBConfiguration, java.lang.String, java.lang.String[], java.lang.String"
  19959. static="false" final="false" visibility="public"
  19960. deprecated="not deprecated">
  19961. <exception name="SQLException" type="java.sql.SQLException"/>
  19962. </constructor>
  19963. <method name="executeQuery" return="java.sql.ResultSet"
  19964. abstract="false" native="false" synchronized="false"
  19965. static="false" final="false" visibility="protected"
  19966. deprecated="not deprecated">
  19967. <param name="query" type="java.lang.String"/>
  19968. <exception name="SQLException" type="java.sql.SQLException"/>
  19969. </method>
  19970. <doc>
  19971. <![CDATA[A RecordReader that reads records from a MySQL table.]]>
  19972. </doc>
  19973. </class>
  19974. <!-- end class org.apache.hadoop.mapreduce.lib.db.MySQLDBRecordReader -->
  19975. <!-- start class org.apache.hadoop.mapreduce.lib.db.OracleDataDrivenDBInputFormat -->
  19976. <class name="OracleDataDrivenDBInputFormat" extends="org.apache.hadoop.mapreduce.lib.db.DataDrivenDBInputFormat"
  19977. abstract="false"
  19978. static="false" final="false" visibility="public"
  19979. deprecated="not deprecated">
  19980. <implements name="org.apache.hadoop.conf.Configurable"/>
  19981. <constructor name="OracleDataDrivenDBInputFormat"
  19982. static="false" final="false" visibility="public"
  19983. deprecated="not deprecated">
  19984. </constructor>
  19985. <method name="getSplitter" return="org.apache.hadoop.mapreduce.lib.db.DBSplitter"
  19986. abstract="false" native="false" synchronized="false"
  19987. static="false" final="false" visibility="protected"
  19988. deprecated="not deprecated">
  19989. <param name="sqlDataType" type="int"/>
  19990. <doc>
  19991. <![CDATA[@return the DBSplitter implementation to use to divide the table/query into InputSplits.]]>
  19992. </doc>
  19993. </method>
  19994. <method name="createDBRecordReader" return="org.apache.hadoop.mapreduce.RecordReader"
  19995. abstract="false" native="false" synchronized="false"
  19996. static="false" final="false" visibility="protected"
  19997. deprecated="not deprecated">
  19998. <param name="split" type="org.apache.hadoop.mapreduce.lib.db.DBInputFormat.DBInputSplit"/>
  19999. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  20000. <exception name="IOException" type="java.io.IOException"/>
  20001. </method>
  20002. <doc>
  20003. <![CDATA[A InputFormat that reads input data from an SQL table in an Oracle db.]]>
  20004. </doc>
  20005. </class>
  20006. <!-- end class org.apache.hadoop.mapreduce.lib.db.OracleDataDrivenDBInputFormat -->
  20007. <!-- start class org.apache.hadoop.mapreduce.lib.db.OracleDataDrivenDBRecordReader -->
  20008. <class name="OracleDataDrivenDBRecordReader" extends="org.apache.hadoop.mapreduce.lib.db.DataDrivenDBRecordReader"
  20009. abstract="false"
  20010. static="false" final="false" visibility="public"
  20011. deprecated="not deprecated">
  20012. <constructor name="OracleDataDrivenDBRecordReader" type="org.apache.hadoop.mapreduce.lib.db.DBInputFormat.DBInputSplit, java.lang.Class, org.apache.hadoop.conf.Configuration, java.sql.Connection, org.apache.hadoop.mapreduce.lib.db.DBConfiguration, java.lang.String, java.lang.String[], java.lang.String"
  20013. static="false" final="false" visibility="public"
  20014. deprecated="not deprecated">
  20015. <exception name="SQLException" type="java.sql.SQLException"/>
  20016. </constructor>
  20017. <doc>
  20018. <![CDATA[A RecordReader that reads records from a Oracle table via DataDrivenDBRecordReader]]>
  20019. </doc>
  20020. </class>
  20021. <!-- end class org.apache.hadoop.mapreduce.lib.db.OracleDataDrivenDBRecordReader -->
  20022. <!-- start class org.apache.hadoop.mapreduce.lib.db.OracleDateSplitter -->
  20023. <class name="OracleDateSplitter" extends="org.apache.hadoop.mapreduce.lib.db.DateSplitter"
  20024. abstract="false"
  20025. static="false" final="false" visibility="public"
  20026. deprecated="not deprecated">
  20027. <constructor name="OracleDateSplitter"
  20028. static="false" final="false" visibility="public"
  20029. deprecated="not deprecated">
  20030. </constructor>
  20031. <method name="dateToString" return="java.lang.String"
  20032. abstract="false" native="false" synchronized="false"
  20033. static="false" final="false" visibility="protected"
  20034. deprecated="not deprecated">
  20035. <param name="d" type="java.util.Date"/>
  20036. </method>
  20037. <doc>
  20038. <![CDATA[Implement DBSplitter over date/time values returned by an Oracle db.
  20039. Make use of logic from DateSplitter, since this just needs to use
  20040. some Oracle-specific functions on the formatting end when generating
  20041. InputSplits.]]>
  20042. </doc>
  20043. </class>
  20044. <!-- end class org.apache.hadoop.mapreduce.lib.db.OracleDateSplitter -->
  20045. <!-- start class org.apache.hadoop.mapreduce.lib.db.OracleDBRecordReader -->
  20046. <class name="OracleDBRecordReader" extends="org.apache.hadoop.mapreduce.lib.db.DBRecordReader"
  20047. abstract="false"
  20048. static="false" final="false" visibility="public"
  20049. deprecated="not deprecated">
  20050. <constructor name="OracleDBRecordReader" type="org.apache.hadoop.mapreduce.lib.db.DBInputFormat.DBInputSplit, java.lang.Class, org.apache.hadoop.conf.Configuration, java.sql.Connection, org.apache.hadoop.mapreduce.lib.db.DBConfiguration, java.lang.String, java.lang.String[], java.lang.String"
  20051. static="false" final="false" visibility="public"
  20052. deprecated="not deprecated">
  20053. <exception name="SQLException" type="java.sql.SQLException"/>
  20054. </constructor>
  20055. <method name="getSelectQuery" return="java.lang.String"
  20056. abstract="false" native="false" synchronized="false"
  20057. static="false" final="false" visibility="protected"
  20058. deprecated="not deprecated">
  20059. <doc>
  20060. <![CDATA[Returns the query for selecting the records from an Oracle DB.]]>
  20061. </doc>
  20062. </method>
  20063. <method name="setSessionTimeZone"
  20064. abstract="false" native="false" synchronized="false"
  20065. static="true" final="false" visibility="public"
  20066. deprecated="not deprecated">
  20067. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  20068. <param name="conn" type="java.sql.Connection"/>
  20069. <exception name="SQLException" type="java.sql.SQLException"/>
  20070. <doc>
  20071. <![CDATA[Set session time zone
  20072. @param conf The current configuration.
  20073. We read the 'oracle.sessionTimeZone' property from here.
  20074. @param conn The connection to alter the timezone properties of.]]>
  20075. </doc>
  20076. </method>
  20077. <field name="SESSION_TIMEZONE_KEY" type="java.lang.String"
  20078. transient="false" volatile="false"
  20079. static="true" final="true" visibility="public"
  20080. deprecated="not deprecated">
  20081. <doc>
  20082. <![CDATA[Configuration key to set to a timezone string.]]>
  20083. </doc>
  20084. </field>
  20085. <doc>
  20086. <![CDATA[A RecordReader that reads records from an Oracle SQL table.]]>
  20087. </doc>
  20088. </class>
  20089. <!-- end class org.apache.hadoop.mapreduce.lib.db.OracleDBRecordReader -->
  20090. <!-- start class org.apache.hadoop.mapreduce.lib.db.TextSplitter -->
  20091. <class name="TextSplitter" extends="org.apache.hadoop.mapreduce.lib.db.BigDecimalSplitter"
  20092. abstract="false"
  20093. static="false" final="false" visibility="public"
  20094. deprecated="not deprecated">
  20095. <constructor name="TextSplitter"
  20096. static="false" final="false" visibility="public"
  20097. deprecated="not deprecated">
  20098. </constructor>
  20099. <method name="split" return="java.util.List"
  20100. abstract="false" native="false" synchronized="false"
  20101. static="false" final="false" visibility="public"
  20102. deprecated="not deprecated">
  20103. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  20104. <param name="results" type="java.sql.ResultSet"/>
  20105. <param name="colName" type="java.lang.String"/>
  20106. <exception name="SQLException" type="java.sql.SQLException"/>
  20107. <doc>
  20108. <![CDATA[This method needs to determine the splits between two user-provided strings.
  20109. In the case where the user's strings are 'A' and 'Z', this is not hard; we
  20110. could create two splits from ['A', 'M') and ['M', 'Z'], 26 splits for strings
  20111. beginning with each letter, etc.
  20112. If a user has provided us with the strings "Ham" and "Haze", however, we need
  20113. to create splits that differ in the third letter.
  20114. The algorithm used is as follows:
  20115. Since there are 2**16 unicode characters, we interpret characters as digits in
  20116. base 65536. Given a string 's' containing characters s_0, s_1 .. s_n, we interpret
  20117. the string as the number: 0.s_0 s_1 s_2.. s_n in base 65536. Having mapped the
  20118. low and high strings into floating-point values, we then use the BigDecimalSplitter
  20119. to establish the even split points, then map the resulting floating point values
  20120. back into strings.]]>
  20121. </doc>
  20122. </method>
  20123. <doc>
  20124. <![CDATA[Implement DBSplitter over text strings.]]>
  20125. </doc>
  20126. </class>
  20127. <!-- end class org.apache.hadoop.mapreduce.lib.db.TextSplitter -->
  20128. </package>
  20129. <package name="org.apache.hadoop.mapreduce.lib.fieldsel">
  20130. <!-- start class org.apache.hadoop.mapreduce.lib.fieldsel.FieldSelectionHelper -->
  20131. <class name="FieldSelectionHelper" extends="java.lang.Object"
  20132. abstract="false"
  20133. static="false" final="false" visibility="public"
  20134. deprecated="not deprecated">
  20135. <constructor name="FieldSelectionHelper"
  20136. static="false" final="false" visibility="public"
  20137. deprecated="not deprecated">
  20138. </constructor>
  20139. <constructor name="FieldSelectionHelper" type="org.apache.hadoop.io.Text, org.apache.hadoop.io.Text"
  20140. static="false" final="false" visibility="public"
  20141. deprecated="not deprecated">
  20142. </constructor>
  20143. <method name="parseOutputKeyValueSpec" return="int"
  20144. abstract="false" native="false" synchronized="false"
  20145. static="true" final="false" visibility="public"
  20146. deprecated="not deprecated">
  20147. <param name="keyValueSpec" type="java.lang.String"/>
  20148. <param name="keyFieldList" type="java.util.List"/>
  20149. <param name="valueFieldList" type="java.util.List"/>
  20150. </method>
  20151. <method name="specToString" return="java.lang.String"
  20152. abstract="false" native="false" synchronized="false"
  20153. static="true" final="false" visibility="public"
  20154. deprecated="not deprecated">
  20155. <param name="fieldSeparator" type="java.lang.String"/>
  20156. <param name="keyValueSpec" type="java.lang.String"/>
  20157. <param name="allValueFieldsFrom" type="int"/>
  20158. <param name="keyFieldList" type="java.util.List"/>
  20159. <param name="valueFieldList" type="java.util.List"/>
  20160. </method>
  20161. <method name="getKey" return="org.apache.hadoop.io.Text"
  20162. abstract="false" native="false" synchronized="false"
  20163. static="false" final="false" visibility="public"
  20164. deprecated="not deprecated">
  20165. </method>
  20166. <method name="getValue" return="org.apache.hadoop.io.Text"
  20167. abstract="false" native="false" synchronized="false"
  20168. static="false" final="false" visibility="public"
  20169. deprecated="not deprecated">
  20170. </method>
  20171. <method name="extractOutputKeyValue"
  20172. abstract="false" native="false" synchronized="false"
  20173. static="false" final="false" visibility="public"
  20174. deprecated="not deprecated">
  20175. <param name="key" type="java.lang.String"/>
  20176. <param name="val" type="java.lang.String"/>
  20177. <param name="fieldSep" type="java.lang.String"/>
  20178. <param name="keyFieldList" type="java.util.List"/>
  20179. <param name="valFieldList" type="java.util.List"/>
  20180. <param name="allValueFieldsFrom" type="int"/>
  20181. <param name="ignoreKey" type="boolean"/>
  20182. <param name="isMap" type="boolean"/>
  20183. </method>
  20184. <field name="emptyText" type="org.apache.hadoop.io.Text"
  20185. transient="false" volatile="false"
  20186. static="true" final="false" visibility="public"
  20187. deprecated="not deprecated">
  20188. </field>
  20189. <field name="DATA_FIELD_SEPERATOR" type="java.lang.String"
  20190. transient="false" volatile="false"
  20191. static="true" final="true" visibility="public"
  20192. deprecated="not deprecated">
  20193. </field>
  20194. <field name="MAP_OUTPUT_KEY_VALUE_SPEC" type="java.lang.String"
  20195. transient="false" volatile="false"
  20196. static="true" final="true" visibility="public"
  20197. deprecated="not deprecated">
  20198. </field>
  20199. <field name="REDUCE_OUTPUT_KEY_VALUE_SPEC" type="java.lang.String"
  20200. transient="false" volatile="false"
  20201. static="true" final="true" visibility="public"
  20202. deprecated="not deprecated">
  20203. </field>
  20204. <doc>
  20205. <![CDATA[This class implements a mapper/reducer class that can be used to perform
  20206. field selections in a manner similar to unix cut. The input data is treated
  20207. as fields separated by a user specified separator (the default value is
  20208. "\t"). The user can specify a list of fields that form the map output keys,
  20209. and a list of fields that form the map output values. If the inputformat is
  20210. TextInputFormat, the mapper will ignore the key to the map function. and the
  20211. fields are from the value only. Otherwise, the fields are the union of those
  20212. from the key and those from the value.
  20213. The field separator is under attribute "mapreduce.fieldsel.data.field.separator"
  20214. The map output field list spec is under attribute
  20215. "mapreduce.fieldsel.map.output.key.value.fields.spec".
  20216. The value is expected to be like "keyFieldsSpec:valueFieldsSpec"
  20217. key/valueFieldsSpec are comma (,) separated field spec: fieldSpec,fieldSpec,fieldSpec ...
  20218. Each field spec can be a simple number (e.g. 5) specifying a specific field, or a range
  20219. (like 2-5) to specify a range of fields, or an open range (like 3-) specifying all
  20220. the fields starting from field 3. The open range field spec applies value fields only.
  20221. They have no effect on the key fields.
  20222. Here is an example: "4,3,0,1:6,5,1-3,7-". It specifies to use fields 4,3,0 and 1 for keys,
  20223. and use fields 6,5,1,2,3,7 and above for values.
  20224. The reduce output field list spec is under attribute
  20225. "mapreduce.fieldsel.reduce.output.key.value.fields.spec".
  20226. The reducer extracts output key/value pairs in a similar manner, except that
  20227. the key is never ignored.]]>
  20228. </doc>
  20229. </class>
  20230. <!-- end class org.apache.hadoop.mapreduce.lib.fieldsel.FieldSelectionHelper -->
  20231. <!-- start class org.apache.hadoop.mapreduce.lib.fieldsel.FieldSelectionMapper -->
  20232. <class name="FieldSelectionMapper" extends="org.apache.hadoop.mapreduce.Mapper"
  20233. abstract="false"
  20234. static="false" final="false" visibility="public"
  20235. deprecated="not deprecated">
  20236. <constructor name="FieldSelectionMapper"
  20237. static="false" final="false" visibility="public"
  20238. deprecated="not deprecated">
  20239. </constructor>
  20240. <method name="setup"
  20241. abstract="false" native="false" synchronized="false"
  20242. static="false" final="false" visibility="public"
  20243. deprecated="not deprecated">
  20244. <param name="context" type="org.apache.hadoop.mapreduce.Mapper.Context"/>
  20245. <exception name="IOException" type="java.io.IOException"/>
  20246. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  20247. </method>
  20248. <method name="map"
  20249. abstract="false" native="false" synchronized="false"
  20250. static="false" final="false" visibility="public"
  20251. deprecated="not deprecated">
  20252. <param name="key" type="K"/>
  20253. <param name="val" type="V"/>
  20254. <param name="context" type="org.apache.hadoop.mapreduce.Mapper.Context"/>
  20255. <exception name="IOException" type="java.io.IOException"/>
  20256. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  20257. <doc>
  20258. <![CDATA[The identify function. Input key/value pair is written directly to output.]]>
  20259. </doc>
  20260. </method>
  20261. <field name="LOG" type="org.apache.commons.logging.Log"
  20262. transient="false" volatile="false"
  20263. static="true" final="true" visibility="public"
  20264. deprecated="not deprecated">
  20265. </field>
  20266. <doc>
  20267. <![CDATA[This class implements a mapper class that can be used to perform
  20268. field selections in a manner similar to unix cut. The input data is treated
  20269. as fields separated by a user specified separator (the default value is
  20270. "\t"). The user can specify a list of fields that form the map output keys,
  20271. and a list of fields that form the map output values. If the inputformat is
  20272. TextInputFormat, the mapper will ignore the key to the map function. and the
  20273. fields are from the value only. Otherwise, the fields are the union of those
  20274. from the key and those from the value.
  20275. The field separator is under attribute "mapreduce.fieldsel.data.field.separator"
  20276. The map output field list spec is under attribute
  20277. "mapreduce.fieldsel.map.output.key.value.fields.spec".
  20278. The value is expected to be like
  20279. "keyFieldsSpec:valueFieldsSpec" key/valueFieldsSpec are comma (,) separated
  20280. field spec: fieldSpec,fieldSpec,fieldSpec ... Each field spec can be a
  20281. simple number (e.g. 5) specifying a specific field, or a range (like 2-5)
  20282. to specify a range of fields, or an open range (like 3-) specifying all
  20283. the fields starting from field 3. The open range field spec applies value
  20284. fields only. They have no effect on the key fields.
  20285. Here is an example: "4,3,0,1:6,5,1-3,7-". It specifies to use fields
  20286. 4,3,0 and 1 for keys, and use fields 6,5,1,2,3,7 and above for values.]]>
  20287. </doc>
  20288. </class>
  20289. <!-- end class org.apache.hadoop.mapreduce.lib.fieldsel.FieldSelectionMapper -->
  20290. <!-- start class org.apache.hadoop.mapreduce.lib.fieldsel.FieldSelectionReducer -->
  20291. <class name="FieldSelectionReducer" extends="org.apache.hadoop.mapreduce.Reducer"
  20292. abstract="false"
  20293. static="false" final="false" visibility="public"
  20294. deprecated="not deprecated">
  20295. <constructor name="FieldSelectionReducer"
  20296. static="false" final="false" visibility="public"
  20297. deprecated="not deprecated">
  20298. </constructor>
  20299. <method name="setup"
  20300. abstract="false" native="false" synchronized="false"
  20301. static="false" final="false" visibility="public"
  20302. deprecated="not deprecated">
  20303. <param name="context" type="org.apache.hadoop.mapreduce.Reducer.Context"/>
  20304. <exception name="IOException" type="java.io.IOException"/>
  20305. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  20306. </method>
  20307. <method name="reduce"
  20308. abstract="false" native="false" synchronized="false"
  20309. static="false" final="false" visibility="public"
  20310. deprecated="not deprecated">
  20311. <param name="key" type="org.apache.hadoop.io.Text"/>
  20312. <param name="values" type="java.lang.Iterable"/>
  20313. <param name="context" type="org.apache.hadoop.mapreduce.Reducer.Context"/>
  20314. <exception name="IOException" type="java.io.IOException"/>
  20315. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  20316. </method>
  20317. <field name="LOG" type="org.apache.commons.logging.Log"
  20318. transient="false" volatile="false"
  20319. static="true" final="true" visibility="public"
  20320. deprecated="not deprecated">
  20321. </field>
  20322. <doc>
  20323. <![CDATA[This class implements a reducer class that can be used to perform field
  20324. selections in a manner similar to unix cut.
  20325. The input data is treated as fields separated by a user specified
  20326. separator (the default value is "\t"). The user can specify a list of
  20327. fields that form the reduce output keys, and a list of fields that form
  20328. the reduce output values. The fields are the union of those from the key
  20329. and those from the value.
  20330. The field separator is under attribute "mapreduce.fieldsel.data.field.separator"
  20331. The reduce output field list spec is under attribute
  20332. "mapreduce.fieldsel.reduce.output.key.value.fields.spec".
  20333. The value is expected to be like
  20334. "keyFieldsSpec:valueFieldsSpec" key/valueFieldsSpec are comma (,)
  20335. separated field spec: fieldSpec,fieldSpec,fieldSpec ... Each field spec
  20336. can be a simple number (e.g. 5) specifying a specific field, or a range
  20337. (like 2-5) to specify a range of fields, or an open range (like 3-)
  20338. specifying all the fields starting from field 3. The open range field
  20339. spec applies value fields only. They have no effect on the key fields.
  20340. Here is an example: "4,3,0,1:6,5,1-3,7-". It specifies to use fields
  20341. 4,3,0 and 1 for keys, and use fields 6,5,1,2,3,7 and above for values.]]>
  20342. </doc>
  20343. </class>
  20344. <!-- end class org.apache.hadoop.mapreduce.lib.fieldsel.FieldSelectionReducer -->
  20345. </package>
  20346. <package name="org.apache.hadoop.mapreduce.lib.input">
  20347. <!-- start class org.apache.hadoop.mapreduce.lib.input.CombineFileInputFormat -->
  20348. <class name="CombineFileInputFormat" extends="org.apache.hadoop.mapreduce.lib.input.FileInputFormat"
  20349. abstract="true"
  20350. static="false" final="false" visibility="public"
  20351. deprecated="not deprecated">
  20352. <constructor name="CombineFileInputFormat"
  20353. static="false" final="false" visibility="public"
  20354. deprecated="not deprecated">
  20355. <doc>
  20356. <![CDATA[default constructor]]>
  20357. </doc>
  20358. </constructor>
  20359. <method name="setMaxSplitSize"
  20360. abstract="false" native="false" synchronized="false"
  20361. static="false" final="false" visibility="protected"
  20362. deprecated="not deprecated">
  20363. <param name="maxSplitSize" type="long"/>
  20364. <doc>
  20365. <![CDATA[Specify the maximum size (in bytes) of each split. Each split is
  20366. approximately equal to the specified size.]]>
  20367. </doc>
  20368. </method>
  20369. <method name="setMinSplitSizeNode"
  20370. abstract="false" native="false" synchronized="false"
  20371. static="false" final="false" visibility="protected"
  20372. deprecated="not deprecated">
  20373. <param name="minSplitSizeNode" type="long"/>
  20374. <doc>
  20375. <![CDATA[Specify the minimum size (in bytes) of each split per node.
  20376. This applies to data that is left over after combining data on a single
  20377. node into splits that are of maximum size specified by maxSplitSize.
  20378. This leftover data will be combined into its own split if its size
  20379. exceeds minSplitSizeNode.]]>
  20380. </doc>
  20381. </method>
  20382. <method name="setMinSplitSizeRack"
  20383. abstract="false" native="false" synchronized="false"
  20384. static="false" final="false" visibility="protected"
  20385. deprecated="not deprecated">
  20386. <param name="minSplitSizeRack" type="long"/>
  20387. <doc>
  20388. <![CDATA[Specify the minimum size (in bytes) of each split per rack.
  20389. This applies to data that is left over after combining data on a single
  20390. rack into splits that are of maximum size specified by maxSplitSize.
  20391. This leftover data will be combined into its own split if its size
  20392. exceeds minSplitSizeRack.]]>
  20393. </doc>
  20394. </method>
  20395. <method name="createPool"
  20396. abstract="false" native="false" synchronized="false"
  20397. static="false" final="false" visibility="protected"
  20398. deprecated="not deprecated">
  20399. <param name="filters" type="java.util.List"/>
  20400. <doc>
  20401. <![CDATA[Create a new pool and add the filters to it.
  20402. A split cannot have files from different pools.]]>
  20403. </doc>
  20404. </method>
  20405. <method name="createPool"
  20406. abstract="false" native="false" synchronized="false"
  20407. static="false" final="false" visibility="protected"
  20408. deprecated="not deprecated">
  20409. <param name="filters" type="org.apache.hadoop.fs.PathFilter[]"/>
  20410. <doc>
  20411. <![CDATA[Create a new pool and add the filters to it.
  20412. A pathname can satisfy any one of the specified filters.
  20413. A split cannot have files from different pools.]]>
  20414. </doc>
  20415. </method>
  20416. <method name="getSplits" return="java.util.List"
  20417. abstract="false" native="false" synchronized="false"
  20418. static="false" final="false" visibility="public"
  20419. deprecated="not deprecated">
  20420. <param name="job" type="org.apache.hadoop.mapreduce.JobContext"/>
  20421. <exception name="IOException" type="java.io.IOException"/>
  20422. </method>
  20423. <method name="createRecordReader" return="org.apache.hadoop.mapreduce.RecordReader"
  20424. abstract="true" native="false" synchronized="false"
  20425. static="false" final="false" visibility="public"
  20426. deprecated="not deprecated">
  20427. <param name="split" type="org.apache.hadoop.mapreduce.InputSplit"/>
  20428. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  20429. <exception name="IOException" type="java.io.IOException"/>
  20430. <doc>
  20431. <![CDATA[This is not implemented yet.]]>
  20432. </doc>
  20433. </method>
  20434. <field name="SPLIT_MINSIZE_PERNODE" type="java.lang.String"
  20435. transient="false" volatile="false"
  20436. static="true" final="true" visibility="public"
  20437. deprecated="not deprecated">
  20438. </field>
  20439. <field name="SPLIT_MINSIZE_PERRACK" type="java.lang.String"
  20440. transient="false" volatile="false"
  20441. static="true" final="true" visibility="public"
  20442. deprecated="not deprecated">
  20443. </field>
  20444. <doc>
  20445. <![CDATA[An abstract {@link InputFormat} that returns {@link CombineFileSplit}'s in
  20446. {@link InputFormat#getSplits(JobContext)} method.
  20447. Splits are constructed from the files under the input paths.
  20448. A split cannot have files from different pools.
  20449. Each split returned may contain blocks from different files.
  20450. If a maxSplitSize is specified, then blocks on the same node are
  20451. combined to form a single split. Blocks that are left over are
  20452. then combined with other blocks in the same rack.
  20453. If maxSplitSize is not specified, then blocks from the same rack
  20454. are combined in a single split; no attempt is made to create
  20455. node-local splits.
  20456. If the maxSplitSize is equal to the block size, then this class
  20457. is similar to the default splitting behavior in Hadoop: each
  20458. block is a locally processed split.
  20459. Subclasses implement
  20460. {@link InputFormat#createRecordReader(InputSplit, TaskAttemptContext)}
  20461. to construct <code>RecordReader</code>'s for
  20462. <code>CombineFileSplit</code>'s.
  20463. @see CombineFileSplit]]>
  20464. </doc>
  20465. </class>
  20466. <!-- end class org.apache.hadoop.mapreduce.lib.input.CombineFileInputFormat -->
  20467. <!-- start class org.apache.hadoop.mapreduce.lib.input.CombineFileRecordReader -->
  20468. <class name="CombineFileRecordReader" extends="org.apache.hadoop.mapreduce.RecordReader"
  20469. abstract="false"
  20470. static="false" final="false" visibility="public"
  20471. deprecated="not deprecated">
  20472. <constructor name="CombineFileRecordReader" type="org.apache.hadoop.mapreduce.lib.input.CombineFileSplit, org.apache.hadoop.mapreduce.TaskAttemptContext, java.lang.Class"
  20473. static="false" final="false" visibility="public"
  20474. deprecated="not deprecated">
  20475. <exception name="IOException" type="java.io.IOException"/>
  20476. <doc>
  20477. <![CDATA[A generic RecordReader that can hand out different recordReaders
  20478. for each chunk in the CombineFileSplit.]]>
  20479. </doc>
  20480. </constructor>
  20481. <method name="initialize"
  20482. abstract="false" native="false" synchronized="false"
  20483. static="false" final="false" visibility="public"
  20484. deprecated="not deprecated">
  20485. <param name="split" type="org.apache.hadoop.mapreduce.InputSplit"/>
  20486. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  20487. <exception name="IOException" type="java.io.IOException"/>
  20488. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  20489. </method>
  20490. <method name="nextKeyValue" return="boolean"
  20491. abstract="false" native="false" synchronized="false"
  20492. static="false" final="false" visibility="public"
  20493. deprecated="not deprecated">
  20494. <exception name="IOException" type="java.io.IOException"/>
  20495. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  20496. </method>
  20497. <method name="getCurrentKey" return="K"
  20498. abstract="false" native="false" synchronized="false"
  20499. static="false" final="false" visibility="public"
  20500. deprecated="not deprecated">
  20501. <exception name="IOException" type="java.io.IOException"/>
  20502. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  20503. </method>
  20504. <method name="getCurrentValue" return="V"
  20505. abstract="false" native="false" synchronized="false"
  20506. static="false" final="false" visibility="public"
  20507. deprecated="not deprecated">
  20508. <exception name="IOException" type="java.io.IOException"/>
  20509. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  20510. </method>
  20511. <method name="close"
  20512. abstract="false" native="false" synchronized="false"
  20513. static="false" final="false" visibility="public"
  20514. deprecated="not deprecated">
  20515. <exception name="IOException" type="java.io.IOException"/>
  20516. </method>
  20517. <method name="getProgress" return="float"
  20518. abstract="false" native="false" synchronized="false"
  20519. static="false" final="false" visibility="public"
  20520. deprecated="not deprecated">
  20521. <exception name="IOException" type="java.io.IOException"/>
  20522. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  20523. <doc>
  20524. <![CDATA[return progress based on the amount of data processed so far.]]>
  20525. </doc>
  20526. </method>
  20527. <method name="initNextRecordReader" return="boolean"
  20528. abstract="false" native="false" synchronized="false"
  20529. static="false" final="false" visibility="protected"
  20530. deprecated="not deprecated">
  20531. <exception name="IOException" type="java.io.IOException"/>
  20532. <doc>
  20533. <![CDATA[Get the record reader for the next chunk in this CombineFileSplit.]]>
  20534. </doc>
  20535. </method>
  20536. <field name="split" type="org.apache.hadoop.mapreduce.lib.input.CombineFileSplit"
  20537. transient="false" volatile="false"
  20538. static="false" final="false" visibility="protected"
  20539. deprecated="not deprecated">
  20540. </field>
  20541. <field name="rrClass" type="java.lang.Class"
  20542. transient="false" volatile="false"
  20543. static="false" final="false" visibility="protected"
  20544. deprecated="not deprecated">
  20545. </field>
  20546. <field name="rrConstructor" type="java.lang.reflect.Constructor"
  20547. transient="false" volatile="false"
  20548. static="false" final="false" visibility="protected"
  20549. deprecated="not deprecated">
  20550. </field>
  20551. <field name="fs" type="org.apache.hadoop.fs.FileSystem"
  20552. transient="false" volatile="false"
  20553. static="false" final="false" visibility="protected"
  20554. deprecated="not deprecated">
  20555. </field>
  20556. <field name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"
  20557. transient="false" volatile="false"
  20558. static="false" final="false" visibility="protected"
  20559. deprecated="not deprecated">
  20560. </field>
  20561. <field name="idx" type="int"
  20562. transient="false" volatile="false"
  20563. static="false" final="false" visibility="protected"
  20564. deprecated="not deprecated">
  20565. </field>
  20566. <field name="progress" type="long"
  20567. transient="false" volatile="false"
  20568. static="false" final="false" visibility="protected"
  20569. deprecated="not deprecated">
  20570. </field>
  20571. <field name="curReader" type="org.apache.hadoop.mapreduce.RecordReader"
  20572. transient="false" volatile="false"
  20573. static="false" final="false" visibility="protected"
  20574. deprecated="not deprecated">
  20575. </field>
  20576. <doc>
  20577. <![CDATA[A generic RecordReader that can hand out different recordReaders
  20578. for each chunk in a {@link CombineFileSplit}.
  20579. A CombineFileSplit can combine data chunks from multiple files.
  20580. This class allows using different RecordReaders for processing
  20581. these data chunks from different files.
  20582. @see CombineFileSplit]]>
  20583. </doc>
  20584. </class>
  20585. <!-- end class org.apache.hadoop.mapreduce.lib.input.CombineFileRecordReader -->
  20586. <!-- start class org.apache.hadoop.mapreduce.lib.input.CombineFileSplit -->
  20587. <class name="CombineFileSplit" extends="org.apache.hadoop.mapreduce.InputSplit"
  20588. abstract="false"
  20589. static="false" final="false" visibility="public"
  20590. deprecated="not deprecated">
  20591. <implements name="org.apache.hadoop.io.Writable"/>
  20592. <constructor name="CombineFileSplit"
  20593. static="false" final="false" visibility="public"
  20594. deprecated="not deprecated">
  20595. <doc>
  20596. <![CDATA[default constructor]]>
  20597. </doc>
  20598. </constructor>
  20599. <constructor name="CombineFileSplit" type="org.apache.hadoop.fs.Path[], long[], long[], java.lang.String[]"
  20600. static="false" final="false" visibility="public"
  20601. deprecated="not deprecated">
  20602. </constructor>
  20603. <constructor name="CombineFileSplit" type="org.apache.hadoop.fs.Path[], long[]"
  20604. static="false" final="false" visibility="public"
  20605. deprecated="not deprecated">
  20606. </constructor>
  20607. <constructor name="CombineFileSplit" type="org.apache.hadoop.mapreduce.lib.input.CombineFileSplit"
  20608. static="false" final="false" visibility="public"
  20609. deprecated="not deprecated">
  20610. <exception name="IOException" type="java.io.IOException"/>
  20611. <doc>
  20612. <![CDATA[Copy constructor]]>
  20613. </doc>
  20614. </constructor>
  20615. <method name="getLength" return="long"
  20616. abstract="false" native="false" synchronized="false"
  20617. static="false" final="false" visibility="public"
  20618. deprecated="not deprecated">
  20619. </method>
  20620. <method name="getStartOffsets" return="long[]"
  20621. abstract="false" native="false" synchronized="false"
  20622. static="false" final="false" visibility="public"
  20623. deprecated="not deprecated">
  20624. <doc>
  20625. <![CDATA[Returns an array containing the start offsets of the files in the split]]>
  20626. </doc>
  20627. </method>
  20628. <method name="getLengths" return="long[]"
  20629. abstract="false" native="false" synchronized="false"
  20630. static="false" final="false" visibility="public"
  20631. deprecated="not deprecated">
  20632. <doc>
  20633. <![CDATA[Returns an array containing the lengths of the files in the split]]>
  20634. </doc>
  20635. </method>
  20636. <method name="getOffset" return="long"
  20637. abstract="false" native="false" synchronized="false"
  20638. static="false" final="false" visibility="public"
  20639. deprecated="not deprecated">
  20640. <param name="i" type="int"/>
  20641. <doc>
  20642. <![CDATA[Returns the start offset of the i<sup>th</sup> Path]]>
  20643. </doc>
  20644. </method>
  20645. <method name="getLength" return="long"
  20646. abstract="false" native="false" synchronized="false"
  20647. static="false" final="false" visibility="public"
  20648. deprecated="not deprecated">
  20649. <param name="i" type="int"/>
  20650. <doc>
  20651. <![CDATA[Returns the length of the i<sup>th</sup> Path]]>
  20652. </doc>
  20653. </method>
  20654. <method name="getNumPaths" return="int"
  20655. abstract="false" native="false" synchronized="false"
  20656. static="false" final="false" visibility="public"
  20657. deprecated="not deprecated">
  20658. <doc>
  20659. <![CDATA[Returns the number of Paths in the split]]>
  20660. </doc>
  20661. </method>
  20662. <method name="getPath" return="org.apache.hadoop.fs.Path"
  20663. abstract="false" native="false" synchronized="false"
  20664. static="false" final="false" visibility="public"
  20665. deprecated="not deprecated">
  20666. <param name="i" type="int"/>
  20667. <doc>
  20668. <![CDATA[Returns the i<sup>th</sup> Path]]>
  20669. </doc>
  20670. </method>
  20671. <method name="getPaths" return="org.apache.hadoop.fs.Path[]"
  20672. abstract="false" native="false" synchronized="false"
  20673. static="false" final="false" visibility="public"
  20674. deprecated="not deprecated">
  20675. <doc>
  20676. <![CDATA[Returns all the Paths in the split]]>
  20677. </doc>
  20678. </method>
  20679. <method name="getLocations" return="java.lang.String[]"
  20680. abstract="false" native="false" synchronized="false"
  20681. static="false" final="false" visibility="public"
  20682. deprecated="not deprecated">
  20683. <exception name="IOException" type="java.io.IOException"/>
  20684. <doc>
  20685. <![CDATA[Returns all the Paths where this input-split resides]]>
  20686. </doc>
  20687. </method>
  20688. <method name="readFields"
  20689. abstract="false" native="false" synchronized="false"
  20690. static="false" final="false" visibility="public"
  20691. deprecated="not deprecated">
  20692. <param name="in" type="java.io.DataInput"/>
  20693. <exception name="IOException" type="java.io.IOException"/>
  20694. </method>
  20695. <method name="write"
  20696. abstract="false" native="false" synchronized="false"
  20697. static="false" final="false" visibility="public"
  20698. deprecated="not deprecated">
  20699. <param name="out" type="java.io.DataOutput"/>
  20700. <exception name="IOException" type="java.io.IOException"/>
  20701. </method>
  20702. <method name="toString" return="java.lang.String"
  20703. abstract="false" native="false" synchronized="false"
  20704. static="false" final="false" visibility="public"
  20705. deprecated="not deprecated">
  20706. </method>
  20707. <doc>
  20708. <![CDATA[A sub-collection of input files.
  20709. Unlike {@link FileSplit}, CombineFileSplit class does not represent
  20710. a split of a file, but a split of input files into smaller sets.
  20711. A split may contain blocks from different file but all
  20712. the blocks in the same split are probably local to some rack <br>
  20713. CombineFileSplit can be used to implement {@link RecordReader}'s,
  20714. with reading one record per file.
  20715. @see FileSplit
  20716. @see CombineFileInputFormat]]>
  20717. </doc>
  20718. </class>
  20719. <!-- end class org.apache.hadoop.mapreduce.lib.input.CombineFileSplit -->
  20720. <!-- start class org.apache.hadoop.mapreduce.lib.input.FileInputFormat -->
  20721. <class name="FileInputFormat" extends="org.apache.hadoop.mapreduce.InputFormat"
  20722. abstract="true"
  20723. static="false" final="false" visibility="public"
  20724. deprecated="not deprecated">
  20725. <constructor name="FileInputFormat"
  20726. static="false" final="false" visibility="public"
  20727. deprecated="not deprecated">
  20728. </constructor>
  20729. <method name="getFormatMinSplitSize" return="long"
  20730. abstract="false" native="false" synchronized="false"
  20731. static="false" final="false" visibility="protected"
  20732. deprecated="not deprecated">
  20733. <doc>
  20734. <![CDATA[Get the lower bound on split size imposed by the format.
  20735. @return the number of bytes of the minimal split for this format]]>
  20736. </doc>
  20737. </method>
  20738. <method name="isSplitable" return="boolean"
  20739. abstract="false" native="false" synchronized="false"
  20740. static="false" final="false" visibility="protected"
  20741. deprecated="not deprecated">
  20742. <param name="context" type="org.apache.hadoop.mapreduce.JobContext"/>
  20743. <param name="filename" type="org.apache.hadoop.fs.Path"/>
  20744. <doc>
  20745. <![CDATA[Is the given filename splitable? Usually, true, but if the file is
  20746. stream compressed, it will not be.
  20747. <code>FileInputFormat</code> implementations can override this and return
  20748. <code>false</code> to ensure that individual input files are never split-up
  20749. so that {@link Mapper}s process entire files.
  20750. @param context the job context
  20751. @param filename the file name to check
  20752. @return is this file splitable?]]>
  20753. </doc>
  20754. </method>
  20755. <method name="setInputPathFilter"
  20756. abstract="false" native="false" synchronized="false"
  20757. static="true" final="false" visibility="public"
  20758. deprecated="not deprecated">
  20759. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  20760. <param name="filter" type="java.lang.Class"/>
  20761. <doc>
  20762. <![CDATA[Set a PathFilter to be applied to the input paths for the map-reduce job.
  20763. @param job the job to modify
  20764. @param filter the PathFilter class use for filtering the input paths.]]>
  20765. </doc>
  20766. </method>
  20767. <method name="setMinInputSplitSize"
  20768. abstract="false" native="false" synchronized="false"
  20769. static="true" final="false" visibility="public"
  20770. deprecated="not deprecated">
  20771. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  20772. <param name="size" type="long"/>
  20773. <doc>
  20774. <![CDATA[Set the minimum input split size
  20775. @param job the job to modify
  20776. @param size the minimum size]]>
  20777. </doc>
  20778. </method>
  20779. <method name="getMinSplitSize" return="long"
  20780. abstract="false" native="false" synchronized="false"
  20781. static="true" final="false" visibility="public"
  20782. deprecated="not deprecated">
  20783. <param name="job" type="org.apache.hadoop.mapreduce.JobContext"/>
  20784. <doc>
  20785. <![CDATA[Get the minimum split size
  20786. @param job the job
  20787. @return the minimum number of bytes that can be in a split]]>
  20788. </doc>
  20789. </method>
  20790. <method name="setMaxInputSplitSize"
  20791. abstract="false" native="false" synchronized="false"
  20792. static="true" final="false" visibility="public"
  20793. deprecated="not deprecated">
  20794. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  20795. <param name="size" type="long"/>
  20796. <doc>
  20797. <![CDATA[Set the maximum split size
  20798. @param job the job to modify
  20799. @param size the maximum split size]]>
  20800. </doc>
  20801. </method>
  20802. <method name="getMaxSplitSize" return="long"
  20803. abstract="false" native="false" synchronized="false"
  20804. static="true" final="false" visibility="public"
  20805. deprecated="not deprecated">
  20806. <param name="context" type="org.apache.hadoop.mapreduce.JobContext"/>
  20807. <doc>
  20808. <![CDATA[Get the maximum split size.
  20809. @param context the job to look at.
  20810. @return the maximum number of bytes a split can include]]>
  20811. </doc>
  20812. </method>
  20813. <method name="getInputPathFilter" return="org.apache.hadoop.fs.PathFilter"
  20814. abstract="false" native="false" synchronized="false"
  20815. static="true" final="false" visibility="public"
  20816. deprecated="not deprecated">
  20817. <param name="context" type="org.apache.hadoop.mapreduce.JobContext"/>
  20818. <doc>
  20819. <![CDATA[Get a PathFilter instance of the filter set for the input paths.
  20820. @return the PathFilter instance set for the job, NULL if none has been set.]]>
  20821. </doc>
  20822. </method>
  20823. <method name="listStatus" return="java.util.List"
  20824. abstract="false" native="false" synchronized="false"
  20825. static="false" final="false" visibility="protected"
  20826. deprecated="not deprecated">
  20827. <param name="job" type="org.apache.hadoop.mapreduce.JobContext"/>
  20828. <exception name="IOException" type="java.io.IOException"/>
  20829. <doc>
  20830. <![CDATA[List input directories.
  20831. Subclasses may override to, e.g., select only files matching a regular
  20832. expression.
  20833. @param job the job to list input paths for
  20834. @return array of FileStatus objects
  20835. @throws IOException if zero items.]]>
  20836. </doc>
  20837. </method>
  20838. <method name="makeSplit" return="org.apache.hadoop.mapreduce.lib.input.FileSplit"
  20839. abstract="false" native="false" synchronized="false"
  20840. static="false" final="false" visibility="protected"
  20841. deprecated="not deprecated">
  20842. <param name="file" type="org.apache.hadoop.fs.Path"/>
  20843. <param name="start" type="long"/>
  20844. <param name="length" type="long"/>
  20845. <param name="hosts" type="java.lang.String[]"/>
  20846. <doc>
  20847. <![CDATA[A factory that makes the split for this class. It can be overridden
  20848. by sub-classes to make sub-types]]>
  20849. </doc>
  20850. </method>
  20851. <method name="getSplits" return="java.util.List"
  20852. abstract="false" native="false" synchronized="false"
  20853. static="false" final="false" visibility="public"
  20854. deprecated="not deprecated">
  20855. <param name="job" type="org.apache.hadoop.mapreduce.JobContext"/>
  20856. <exception name="IOException" type="java.io.IOException"/>
  20857. <doc>
  20858. <![CDATA[Generate the list of files and make them into FileSplits.
  20859. @param job the job context
  20860. @throws IOException]]>
  20861. </doc>
  20862. </method>
  20863. <method name="computeSplitSize" return="long"
  20864. abstract="false" native="false" synchronized="false"
  20865. static="false" final="false" visibility="protected"
  20866. deprecated="not deprecated">
  20867. <param name="blockSize" type="long"/>
  20868. <param name="minSize" type="long"/>
  20869. <param name="maxSize" type="long"/>
  20870. </method>
  20871. <method name="getBlockIndex" return="int"
  20872. abstract="false" native="false" synchronized="false"
  20873. static="false" final="false" visibility="protected"
  20874. deprecated="not deprecated">
  20875. <param name="blkLocations" type="org.apache.hadoop.fs.BlockLocation[]"/>
  20876. <param name="offset" type="long"/>
  20877. </method>
  20878. <method name="setInputPaths"
  20879. abstract="false" native="false" synchronized="false"
  20880. static="true" final="false" visibility="public"
  20881. deprecated="not deprecated">
  20882. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  20883. <param name="commaSeparatedPaths" type="java.lang.String"/>
  20884. <exception name="IOException" type="java.io.IOException"/>
  20885. <doc>
  20886. <![CDATA[Sets the given comma separated paths as the list of inputs
  20887. for the map-reduce job.
  20888. @param job the job
  20889. @param commaSeparatedPaths Comma separated paths to be set as
  20890. the list of inputs for the map-reduce job.]]>
  20891. </doc>
  20892. </method>
  20893. <method name="addInputPaths"
  20894. abstract="false" native="false" synchronized="false"
  20895. static="true" final="false" visibility="public"
  20896. deprecated="not deprecated">
  20897. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  20898. <param name="commaSeparatedPaths" type="java.lang.String"/>
  20899. <exception name="IOException" type="java.io.IOException"/>
  20900. <doc>
  20901. <![CDATA[Add the given comma separated paths to the list of inputs for
  20902. the map-reduce job.
  20903. @param job The job to modify
  20904. @param commaSeparatedPaths Comma separated paths to be added to
  20905. the list of inputs for the map-reduce job.]]>
  20906. </doc>
  20907. </method>
  20908. <method name="setInputPaths"
  20909. abstract="false" native="false" synchronized="false"
  20910. static="true" final="false" visibility="public"
  20911. deprecated="not deprecated">
  20912. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  20913. <param name="inputPaths" type="org.apache.hadoop.fs.Path[]"/>
  20914. <exception name="IOException" type="java.io.IOException"/>
  20915. <doc>
  20916. <![CDATA[Set the array of {@link Path}s as the list of inputs
  20917. for the map-reduce job.
  20918. @param job The job to modify
  20919. @param inputPaths the {@link Path}s of the input directories/files
  20920. for the map-reduce job.]]>
  20921. </doc>
  20922. </method>
  20923. <method name="addInputPath"
  20924. abstract="false" native="false" synchronized="false"
  20925. static="true" final="false" visibility="public"
  20926. deprecated="not deprecated">
  20927. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  20928. <param name="path" type="org.apache.hadoop.fs.Path"/>
  20929. <exception name="IOException" type="java.io.IOException"/>
  20930. <doc>
  20931. <![CDATA[Add a {@link Path} to the list of inputs for the map-reduce job.
  20932. @param job The {@link Job} to modify
  20933. @param path {@link Path} to be added to the list of inputs for
  20934. the map-reduce job.]]>
  20935. </doc>
  20936. </method>
  20937. <method name="getInputPaths" return="org.apache.hadoop.fs.Path[]"
  20938. abstract="false" native="false" synchronized="false"
  20939. static="true" final="false" visibility="public"
  20940. deprecated="not deprecated">
  20941. <param name="context" type="org.apache.hadoop.mapreduce.JobContext"/>
  20942. <doc>
  20943. <![CDATA[Get the list of input {@link Path}s for the map-reduce job.
  20944. @param context The job
  20945. @return the list of input {@link Path}s for the map-reduce job.]]>
  20946. </doc>
  20947. </method>
  20948. <field name="COUNTER_GROUP" type="java.lang.String"
  20949. transient="false" volatile="false"
  20950. static="true" final="true" visibility="public"
  20951. deprecated="not deprecated">
  20952. </field>
  20953. <field name="BYTES_READ" type="java.lang.String"
  20954. transient="false" volatile="false"
  20955. static="true" final="true" visibility="public"
  20956. deprecated="not deprecated">
  20957. </field>
  20958. <field name="INPUT_DIR" type="java.lang.String"
  20959. transient="false" volatile="false"
  20960. static="true" final="true" visibility="public"
  20961. deprecated="not deprecated">
  20962. </field>
  20963. <field name="SPLIT_MAXSIZE" type="java.lang.String"
  20964. transient="false" volatile="false"
  20965. static="true" final="true" visibility="public"
  20966. deprecated="not deprecated">
  20967. </field>
  20968. <field name="SPLIT_MINSIZE" type="java.lang.String"
  20969. transient="false" volatile="false"
  20970. static="true" final="true" visibility="public"
  20971. deprecated="not deprecated">
  20972. </field>
  20973. <field name="PATHFILTER_CLASS" type="java.lang.String"
  20974. transient="false" volatile="false"
  20975. static="true" final="true" visibility="public"
  20976. deprecated="not deprecated">
  20977. </field>
  20978. <field name="NUM_INPUT_FILES" type="java.lang.String"
  20979. transient="false" volatile="false"
  20980. static="true" final="true" visibility="public"
  20981. deprecated="not deprecated">
  20982. </field>
  20983. <doc>
  20984. <![CDATA[A base class for file-based {@link InputFormat}s.
  20985. <p><code>FileInputFormat</code> is the base class for all file-based
  20986. <code>InputFormat</code>s. This provides a generic implementation of
  20987. {@link #getSplits(JobContext)}.
  20988. Subclasses of <code>FileInputFormat</code> can also override the
  20989. {@link #isSplitable(JobContext, Path)} method to ensure input-files are
  20990. not split-up and are processed as a whole by {@link Mapper}s.]]>
  20991. </doc>
  20992. </class>
  20993. <!-- end class org.apache.hadoop.mapreduce.lib.input.FileInputFormat -->
  20994. <!-- start class org.apache.hadoop.mapreduce.lib.input.FileSplit -->
  20995. <class name="FileSplit" extends="org.apache.hadoop.mapreduce.InputSplit"
  20996. abstract="false"
  20997. static="false" final="false" visibility="public"
  20998. deprecated="not deprecated">
  20999. <implements name="org.apache.hadoop.io.Writable"/>
  21000. <constructor name="FileSplit"
  21001. static="false" final="false" visibility="public"
  21002. deprecated="not deprecated">
  21003. </constructor>
  21004. <constructor name="FileSplit" type="org.apache.hadoop.fs.Path, long, long, java.lang.String[]"
  21005. static="false" final="false" visibility="public"
  21006. deprecated="not deprecated">
  21007. <doc>
  21008. <![CDATA[Constructs a split with host information
  21009. @param file the file name
  21010. @param start the position of the first byte in the file to process
  21011. @param length the number of bytes in the file to process
  21012. @param hosts the list of hosts containing the block, possibly null]]>
  21013. </doc>
  21014. </constructor>
  21015. <method name="getPath" return="org.apache.hadoop.fs.Path"
  21016. abstract="false" native="false" synchronized="false"
  21017. static="false" final="false" visibility="public"
  21018. deprecated="not deprecated">
  21019. <doc>
  21020. <![CDATA[The file containing this split's data.]]>
  21021. </doc>
  21022. </method>
  21023. <method name="getStart" return="long"
  21024. abstract="false" native="false" synchronized="false"
  21025. static="false" final="false" visibility="public"
  21026. deprecated="not deprecated">
  21027. <doc>
  21028. <![CDATA[The position of the first byte in the file to process.]]>
  21029. </doc>
  21030. </method>
  21031. <method name="getLength" return="long"
  21032. abstract="false" native="false" synchronized="false"
  21033. static="false" final="false" visibility="public"
  21034. deprecated="not deprecated">
  21035. <doc>
  21036. <![CDATA[The number of bytes in the file to process.]]>
  21037. </doc>
  21038. </method>
  21039. <method name="toString" return="java.lang.String"
  21040. abstract="false" native="false" synchronized="false"
  21041. static="false" final="false" visibility="public"
  21042. deprecated="not deprecated">
  21043. </method>
  21044. <method name="write"
  21045. abstract="false" native="false" synchronized="false"
  21046. static="false" final="false" visibility="public"
  21047. deprecated="not deprecated">
  21048. <param name="out" type="java.io.DataOutput"/>
  21049. <exception name="IOException" type="java.io.IOException"/>
  21050. </method>
  21051. <method name="readFields"
  21052. abstract="false" native="false" synchronized="false"
  21053. static="false" final="false" visibility="public"
  21054. deprecated="not deprecated">
  21055. <param name="in" type="java.io.DataInput"/>
  21056. <exception name="IOException" type="java.io.IOException"/>
  21057. </method>
  21058. <method name="getLocations" return="java.lang.String[]"
  21059. abstract="false" native="false" synchronized="false"
  21060. static="false" final="false" visibility="public"
  21061. deprecated="not deprecated">
  21062. <exception name="IOException" type="java.io.IOException"/>
  21063. </method>
  21064. <doc>
  21065. <![CDATA[A section of an input file. Returned by {@link
  21066. InputFormat#getSplits(JobContext)} and passed to
  21067. {@link InputFormat#createRecordReader(InputSplit,TaskAttemptContext)}.]]>
  21068. </doc>
  21069. </class>
  21070. <!-- end class org.apache.hadoop.mapreduce.lib.input.FileSplit -->
  21071. <!-- start class org.apache.hadoop.mapreduce.lib.input.InvalidInputException -->
  21072. <class name="InvalidInputException" extends="java.io.IOException"
  21073. abstract="false"
  21074. static="false" final="false" visibility="public"
  21075. deprecated="not deprecated">
  21076. <constructor name="InvalidInputException" type="java.util.List"
  21077. static="false" final="false" visibility="public"
  21078. deprecated="not deprecated">
  21079. <doc>
  21080. <![CDATA[Create the exception with the given list.
  21081. @param probs the list of problems to report. this list is not copied.]]>
  21082. </doc>
  21083. </constructor>
  21084. <method name="getProblems" return="java.util.List"
  21085. abstract="false" native="false" synchronized="false"
  21086. static="false" final="false" visibility="public"
  21087. deprecated="not deprecated">
  21088. <doc>
  21089. <![CDATA[Get the complete list of the problems reported.
  21090. @return the list of problems, which must not be modified]]>
  21091. </doc>
  21092. </method>
  21093. <method name="getMessage" return="java.lang.String"
  21094. abstract="false" native="false" synchronized="false"
  21095. static="false" final="false" visibility="public"
  21096. deprecated="not deprecated">
  21097. <doc>
  21098. <![CDATA[Get a summary message of the problems found.
  21099. @return the concatenated messages from all of the problems.]]>
  21100. </doc>
  21101. </method>
  21102. <doc>
  21103. <![CDATA[This class wraps a list of problems with the input, so that the user
  21104. can get a list of problems together instead of finding and fixing them one
  21105. by one.]]>
  21106. </doc>
  21107. </class>
  21108. <!-- end class org.apache.hadoop.mapreduce.lib.input.InvalidInputException -->
  21109. <!-- start class org.apache.hadoop.mapreduce.lib.input.KeyValueLineRecordReader -->
  21110. <class name="KeyValueLineRecordReader" extends="org.apache.hadoop.mapreduce.RecordReader"
  21111. abstract="false"
  21112. static="false" final="false" visibility="public"
  21113. deprecated="not deprecated">
  21114. <constructor name="KeyValueLineRecordReader" type="org.apache.hadoop.conf.Configuration"
  21115. static="false" final="false" visibility="public"
  21116. deprecated="not deprecated">
  21117. <exception name="IOException" type="java.io.IOException"/>
  21118. </constructor>
  21119. <method name="initialize"
  21120. abstract="false" native="false" synchronized="false"
  21121. static="false" final="false" visibility="public"
  21122. deprecated="not deprecated">
  21123. <param name="genericSplit" type="org.apache.hadoop.mapreduce.InputSplit"/>
  21124. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  21125. <exception name="IOException" type="java.io.IOException"/>
  21126. </method>
  21127. <method name="findSeparator" return="int"
  21128. abstract="false" native="false" synchronized="false"
  21129. static="true" final="false" visibility="public"
  21130. deprecated="not deprecated">
  21131. <param name="utf" type="byte[]"/>
  21132. <param name="start" type="int"/>
  21133. <param name="length" type="int"/>
  21134. <param name="sep" type="byte"/>
  21135. </method>
  21136. <method name="setKeyValue"
  21137. abstract="false" native="false" synchronized="false"
  21138. static="true" final="false" visibility="public"
  21139. deprecated="not deprecated">
  21140. <param name="key" type="org.apache.hadoop.io.Text"/>
  21141. <param name="value" type="org.apache.hadoop.io.Text"/>
  21142. <param name="line" type="byte[]"/>
  21143. <param name="lineLen" type="int"/>
  21144. <param name="pos" type="int"/>
  21145. </method>
  21146. <method name="nextKeyValue" return="boolean"
  21147. abstract="false" native="false" synchronized="true"
  21148. static="false" final="false" visibility="public"
  21149. deprecated="not deprecated">
  21150. <exception name="IOException" type="java.io.IOException"/>
  21151. <doc>
  21152. <![CDATA[Read key/value pair in a line.]]>
  21153. </doc>
  21154. </method>
  21155. <method name="getCurrentKey" return="org.apache.hadoop.io.Text"
  21156. abstract="false" native="false" synchronized="false"
  21157. static="false" final="false" visibility="public"
  21158. deprecated="not deprecated">
  21159. </method>
  21160. <method name="getCurrentValue" return="org.apache.hadoop.io.Text"
  21161. abstract="false" native="false" synchronized="false"
  21162. static="false" final="false" visibility="public"
  21163. deprecated="not deprecated">
  21164. </method>
  21165. <method name="getProgress" return="float"
  21166. abstract="false" native="false" synchronized="false"
  21167. static="false" final="false" visibility="public"
  21168. deprecated="not deprecated">
  21169. <exception name="IOException" type="java.io.IOException"/>
  21170. </method>
  21171. <method name="close"
  21172. abstract="false" native="false" synchronized="true"
  21173. static="false" final="false" visibility="public"
  21174. deprecated="not deprecated">
  21175. <exception name="IOException" type="java.io.IOException"/>
  21176. </method>
  21177. <field name="KEY_VALUE_SEPERATOR" type="java.lang.String"
  21178. transient="false" volatile="false"
  21179. static="true" final="true" visibility="public"
  21180. deprecated="not deprecated">
  21181. </field>
  21182. <doc>
  21183. <![CDATA[This class treats a line in the input as a key/value pair separated by a
  21184. separator character. The separator can be specified in config file
  21185. under the attribute name mapreduce.input.keyvaluelinerecordreader.key.value.separator. The default
  21186. separator is the tab character ('\t').]]>
  21187. </doc>
  21188. </class>
  21189. <!-- end class org.apache.hadoop.mapreduce.lib.input.KeyValueLineRecordReader -->
  21190. <!-- start class org.apache.hadoop.mapreduce.lib.input.KeyValueTextInputFormat -->
  21191. <class name="KeyValueTextInputFormat" extends="org.apache.hadoop.mapreduce.lib.input.FileInputFormat"
  21192. abstract="false"
  21193. static="false" final="false" visibility="public"
  21194. deprecated="not deprecated">
  21195. <constructor name="KeyValueTextInputFormat"
  21196. static="false" final="false" visibility="public"
  21197. deprecated="not deprecated">
  21198. </constructor>
  21199. <method name="isSplitable" return="boolean"
  21200. abstract="false" native="false" synchronized="false"
  21201. static="false" final="false" visibility="protected"
  21202. deprecated="not deprecated">
  21203. <param name="context" type="org.apache.hadoop.mapreduce.JobContext"/>
  21204. <param name="file" type="org.apache.hadoop.fs.Path"/>
  21205. </method>
  21206. <method name="createRecordReader" return="org.apache.hadoop.mapreduce.RecordReader"
  21207. abstract="false" native="false" synchronized="false"
  21208. static="false" final="false" visibility="public"
  21209. deprecated="not deprecated">
  21210. <param name="genericSplit" type="org.apache.hadoop.mapreduce.InputSplit"/>
  21211. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  21212. <exception name="IOException" type="java.io.IOException"/>
  21213. </method>
  21214. <doc>
  21215. <![CDATA[An {@link InputFormat} for plain text files. Files are broken into lines.
  21216. Either line feed or carriage-return are used to signal end of line.
  21217. Each line is divided into key and value parts by a separator byte. If no
  21218. such a byte exists, the key will be the entire line and value will be empty.]]>
  21219. </doc>
  21220. </class>
  21221. <!-- end class org.apache.hadoop.mapreduce.lib.input.KeyValueTextInputFormat -->
  21222. <!-- start class org.apache.hadoop.mapreduce.lib.input.MultipleInputs -->
  21223. <class name="MultipleInputs" extends="java.lang.Object"
  21224. abstract="false"
  21225. static="false" final="false" visibility="public"
  21226. deprecated="not deprecated">
  21227. <constructor name="MultipleInputs"
  21228. static="false" final="false" visibility="public"
  21229. deprecated="not deprecated">
  21230. </constructor>
  21231. <method name="addInputPath"
  21232. abstract="false" native="false" synchronized="false"
  21233. static="true" final="false" visibility="public"
  21234. deprecated="not deprecated">
  21235. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  21236. <param name="path" type="org.apache.hadoop.fs.Path"/>
  21237. <param name="inputFormatClass" type="java.lang.Class"/>
  21238. <doc>
  21239. <![CDATA[Add a {@link Path} with a custom {@link InputFormat} to the list of
  21240. inputs for the map-reduce job.
  21241. @param job The {@link Job}
  21242. @param path {@link Path} to be added to the list of inputs for the job
  21243. @param inputFormatClass {@link InputFormat} class to use for this path]]>
  21244. </doc>
  21245. </method>
  21246. <method name="addInputPath"
  21247. abstract="false" native="false" synchronized="false"
  21248. static="true" final="false" visibility="public"
  21249. deprecated="not deprecated">
  21250. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  21251. <param name="path" type="org.apache.hadoop.fs.Path"/>
  21252. <param name="inputFormatClass" type="java.lang.Class"/>
  21253. <param name="mapperClass" type="java.lang.Class"/>
  21254. <doc>
  21255. <![CDATA[Add a {@link Path} with a custom {@link InputFormat} and
  21256. {@link Mapper} to the list of inputs for the map-reduce job.
  21257. @param job The {@link Job}
  21258. @param path {@link Path} to be added to the list of inputs for the job
  21259. @param inputFormatClass {@link InputFormat} class to use for this path
  21260. @param mapperClass {@link Mapper} class to use for this path]]>
  21261. </doc>
  21262. </method>
  21263. <field name="DIR_FORMATS" type="java.lang.String"
  21264. transient="false" volatile="false"
  21265. static="true" final="true" visibility="public"
  21266. deprecated="not deprecated">
  21267. </field>
  21268. <field name="DIR_MAPPERS" type="java.lang.String"
  21269. transient="false" volatile="false"
  21270. static="true" final="true" visibility="public"
  21271. deprecated="not deprecated">
  21272. </field>
  21273. <doc>
  21274. <![CDATA[This class supports MapReduce jobs that have multiple input paths with
  21275. a different {@link InputFormat} and {@link Mapper} for each path]]>
  21276. </doc>
  21277. </class>
  21278. <!-- end class org.apache.hadoop.mapreduce.lib.input.MultipleInputs -->
  21279. <!-- start class org.apache.hadoop.mapreduce.lib.input.NLineInputFormat -->
  21280. <class name="NLineInputFormat" extends="org.apache.hadoop.mapreduce.lib.input.FileInputFormat"
  21281. abstract="false"
  21282. static="false" final="false" visibility="public"
  21283. deprecated="not deprecated">
  21284. <constructor name="NLineInputFormat"
  21285. static="false" final="false" visibility="public"
  21286. deprecated="not deprecated">
  21287. </constructor>
  21288. <method name="createRecordReader" return="org.apache.hadoop.mapreduce.RecordReader"
  21289. abstract="false" native="false" synchronized="false"
  21290. static="false" final="false" visibility="public"
  21291. deprecated="not deprecated">
  21292. <param name="genericSplit" type="org.apache.hadoop.mapreduce.InputSplit"/>
  21293. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  21294. <exception name="IOException" type="java.io.IOException"/>
  21295. </method>
  21296. <method name="getSplits" return="java.util.List"
  21297. abstract="false" native="false" synchronized="false"
  21298. static="false" final="false" visibility="public"
  21299. deprecated="not deprecated">
  21300. <param name="job" type="org.apache.hadoop.mapreduce.JobContext"/>
  21301. <exception name="IOException" type="java.io.IOException"/>
  21302. <doc>
  21303. <![CDATA[Logically splits the set of input files for the job, splits N lines
  21304. of the input as one split.
  21305. @see FileInputFormat#getSplits(JobContext)]]>
  21306. </doc>
  21307. </method>
  21308. <method name="getSplitsForFile" return="java.util.List"
  21309. abstract="false" native="false" synchronized="false"
  21310. static="true" final="false" visibility="public"
  21311. deprecated="not deprecated">
  21312. <param name="status" type="org.apache.hadoop.fs.FileStatus"/>
  21313. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  21314. <param name="numLinesPerSplit" type="int"/>
  21315. <exception name="IOException" type="java.io.IOException"/>
  21316. </method>
  21317. <method name="setNumLinesPerSplit"
  21318. abstract="false" native="false" synchronized="false"
  21319. static="true" final="false" visibility="public"
  21320. deprecated="not deprecated">
  21321. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  21322. <param name="numLines" type="int"/>
  21323. <doc>
  21324. <![CDATA[Set the number of lines per split
  21325. @param job the job to modify
  21326. @param numLines the number of lines per split]]>
  21327. </doc>
  21328. </method>
  21329. <method name="getNumLinesPerSplit" return="int"
  21330. abstract="false" native="false" synchronized="false"
  21331. static="true" final="false" visibility="public"
  21332. deprecated="not deprecated">
  21333. <param name="job" type="org.apache.hadoop.mapreduce.JobContext"/>
  21334. <doc>
  21335. <![CDATA[Get the number of lines per split
  21336. @param job the job
  21337. @return the number of lines per split]]>
  21338. </doc>
  21339. </method>
  21340. <field name="LINES_PER_MAP" type="java.lang.String"
  21341. transient="false" volatile="false"
  21342. static="true" final="true" visibility="public"
  21343. deprecated="not deprecated">
  21344. </field>
  21345. <doc>
  21346. <![CDATA[NLineInputFormat which splits N lines of input as one split.
  21347. In many "pleasantly" parallel applications, each process/mapper
  21348. processes the same input file (s), but with computations are
  21349. controlled by different parameters.(Referred to as "parameter sweeps").
  21350. One way to achieve this, is to specify a set of parameters
  21351. (one set per line) as input in a control file
  21352. (which is the input path to the map-reduce application,
  21353. where as the input dataset is specified
  21354. via a config variable in JobConf.).
  21355. The NLineInputFormat can be used in such applications, that splits
  21356. the input file such that by default, one line is fed as
  21357. a value to one map task, and key is the offset.
  21358. i.e. (k,v) is (LongWritable, Text).
  21359. The location hints will span the whole mapred cluster.]]>
  21360. </doc>
  21361. </class>
  21362. <!-- end class org.apache.hadoop.mapreduce.lib.input.NLineInputFormat -->
  21363. <!-- start class org.apache.hadoop.mapreduce.lib.input.SequenceFileAsBinaryInputFormat -->
  21364. <class name="SequenceFileAsBinaryInputFormat" extends="org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFormat"
  21365. abstract="false"
  21366. static="false" final="false" visibility="public"
  21367. deprecated="not deprecated">
  21368. <constructor name="SequenceFileAsBinaryInputFormat"
  21369. static="false" final="false" visibility="public"
  21370. deprecated="not deprecated">
  21371. </constructor>
  21372. <method name="createRecordReader" return="org.apache.hadoop.mapreduce.RecordReader"
  21373. abstract="false" native="false" synchronized="false"
  21374. static="false" final="false" visibility="public"
  21375. deprecated="not deprecated">
  21376. <param name="split" type="org.apache.hadoop.mapreduce.InputSplit"/>
  21377. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  21378. <exception name="IOException" type="java.io.IOException"/>
  21379. </method>
  21380. <doc>
  21381. <![CDATA[InputFormat reading keys, values from SequenceFiles in binary (raw)
  21382. format.]]>
  21383. </doc>
  21384. </class>
  21385. <!-- end class org.apache.hadoop.mapreduce.lib.input.SequenceFileAsBinaryInputFormat -->
  21386. <!-- start class org.apache.hadoop.mapreduce.lib.input.SequenceFileAsBinaryInputFormat.SequenceFileAsBinaryRecordReader -->
  21387. <class name="SequenceFileAsBinaryInputFormat.SequenceFileAsBinaryRecordReader" extends="org.apache.hadoop.mapreduce.RecordReader"
  21388. abstract="false"
  21389. static="true" final="false" visibility="public"
  21390. deprecated="not deprecated">
  21391. <constructor name="SequenceFileAsBinaryInputFormat.SequenceFileAsBinaryRecordReader"
  21392. static="false" final="false" visibility="public"
  21393. deprecated="not deprecated">
  21394. </constructor>
  21395. <method name="initialize"
  21396. abstract="false" native="false" synchronized="false"
  21397. static="false" final="false" visibility="public"
  21398. deprecated="not deprecated">
  21399. <param name="split" type="org.apache.hadoop.mapreduce.InputSplit"/>
  21400. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  21401. <exception name="IOException" type="java.io.IOException"/>
  21402. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  21403. </method>
  21404. <method name="getCurrentKey" return="org.apache.hadoop.io.BytesWritable"
  21405. abstract="false" native="false" synchronized="false"
  21406. static="false" final="false" visibility="public"
  21407. deprecated="not deprecated">
  21408. <exception name="IOException" type="java.io.IOException"/>
  21409. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  21410. </method>
  21411. <method name="getCurrentValue" return="org.apache.hadoop.io.BytesWritable"
  21412. abstract="false" native="false" synchronized="false"
  21413. static="false" final="false" visibility="public"
  21414. deprecated="not deprecated">
  21415. <exception name="IOException" type="java.io.IOException"/>
  21416. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  21417. </method>
  21418. <method name="getKeyClassName" return="java.lang.String"
  21419. abstract="false" native="false" synchronized="false"
  21420. static="false" final="false" visibility="public"
  21421. deprecated="not deprecated">
  21422. <doc>
  21423. <![CDATA[Retrieve the name of the key class for this SequenceFile.
  21424. @see org.apache.hadoop.io.SequenceFile.Reader#getKeyClassName]]>
  21425. </doc>
  21426. </method>
  21427. <method name="getValueClassName" return="java.lang.String"
  21428. abstract="false" native="false" synchronized="false"
  21429. static="false" final="false" visibility="public"
  21430. deprecated="not deprecated">
  21431. <doc>
  21432. <![CDATA[Retrieve the name of the value class for this SequenceFile.
  21433. @see org.apache.hadoop.io.SequenceFile.Reader#getValueClassName]]>
  21434. </doc>
  21435. </method>
  21436. <method name="nextKeyValue" return="boolean"
  21437. abstract="false" native="false" synchronized="true"
  21438. static="false" final="false" visibility="public"
  21439. deprecated="not deprecated">
  21440. <exception name="IOException" type="java.io.IOException"/>
  21441. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  21442. <doc>
  21443. <![CDATA[Read raw bytes from a SequenceFile.]]>
  21444. </doc>
  21445. </method>
  21446. <method name="close"
  21447. abstract="false" native="false" synchronized="false"
  21448. static="false" final="false" visibility="public"
  21449. deprecated="not deprecated">
  21450. <exception name="IOException" type="java.io.IOException"/>
  21451. </method>
  21452. <method name="getProgress" return="float"
  21453. abstract="false" native="false" synchronized="false"
  21454. static="false" final="false" visibility="public"
  21455. deprecated="not deprecated">
  21456. <exception name="IOException" type="java.io.IOException"/>
  21457. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  21458. <doc>
  21459. <![CDATA[Return the progress within the input split
  21460. @return 0.0 to 1.0 of the input byte range]]>
  21461. </doc>
  21462. </method>
  21463. <doc>
  21464. <![CDATA[Read records from a SequenceFile as binary (raw) bytes.]]>
  21465. </doc>
  21466. </class>
  21467. <!-- end class org.apache.hadoop.mapreduce.lib.input.SequenceFileAsBinaryInputFormat.SequenceFileAsBinaryRecordReader -->
  21468. <!-- start class org.apache.hadoop.mapreduce.lib.input.SequenceFileAsTextInputFormat -->
  21469. <class name="SequenceFileAsTextInputFormat" extends="org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFormat"
  21470. abstract="false"
  21471. static="false" final="false" visibility="public"
  21472. deprecated="not deprecated">
  21473. <constructor name="SequenceFileAsTextInputFormat"
  21474. static="false" final="false" visibility="public"
  21475. deprecated="not deprecated">
  21476. </constructor>
  21477. <method name="createRecordReader" return="org.apache.hadoop.mapreduce.RecordReader"
  21478. abstract="false" native="false" synchronized="false"
  21479. static="false" final="false" visibility="public"
  21480. deprecated="not deprecated">
  21481. <param name="split" type="org.apache.hadoop.mapreduce.InputSplit"/>
  21482. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  21483. <exception name="IOException" type="java.io.IOException"/>
  21484. </method>
  21485. <doc>
  21486. <![CDATA[This class is similar to SequenceFileInputFormat, except it generates
  21487. SequenceFileAsTextRecordReader which converts the input keys and values
  21488. to their String forms by calling toString() method.]]>
  21489. </doc>
  21490. </class>
  21491. <!-- end class org.apache.hadoop.mapreduce.lib.input.SequenceFileAsTextInputFormat -->
  21492. <!-- start class org.apache.hadoop.mapreduce.lib.input.SequenceFileAsTextRecordReader -->
  21493. <class name="SequenceFileAsTextRecordReader" extends="org.apache.hadoop.mapreduce.RecordReader"
  21494. abstract="false"
  21495. static="false" final="false" visibility="public"
  21496. deprecated="not deprecated">
  21497. <constructor name="SequenceFileAsTextRecordReader"
  21498. static="false" final="false" visibility="public"
  21499. deprecated="not deprecated">
  21500. <exception name="IOException" type="java.io.IOException"/>
  21501. </constructor>
  21502. <method name="initialize"
  21503. abstract="false" native="false" synchronized="false"
  21504. static="false" final="false" visibility="public"
  21505. deprecated="not deprecated">
  21506. <param name="split" type="org.apache.hadoop.mapreduce.InputSplit"/>
  21507. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  21508. <exception name="IOException" type="java.io.IOException"/>
  21509. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  21510. </method>
  21511. <method name="getCurrentKey" return="org.apache.hadoop.io.Text"
  21512. abstract="false" native="false" synchronized="false"
  21513. static="false" final="false" visibility="public"
  21514. deprecated="not deprecated">
  21515. <exception name="IOException" type="java.io.IOException"/>
  21516. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  21517. </method>
  21518. <method name="getCurrentValue" return="org.apache.hadoop.io.Text"
  21519. abstract="false" native="false" synchronized="false"
  21520. static="false" final="false" visibility="public"
  21521. deprecated="not deprecated">
  21522. <exception name="IOException" type="java.io.IOException"/>
  21523. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  21524. </method>
  21525. <method name="nextKeyValue" return="boolean"
  21526. abstract="false" native="false" synchronized="true"
  21527. static="false" final="false" visibility="public"
  21528. deprecated="not deprecated">
  21529. <exception name="IOException" type="java.io.IOException"/>
  21530. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  21531. <doc>
  21532. <![CDATA[Read key/value pair in a line.]]>
  21533. </doc>
  21534. </method>
  21535. <method name="getProgress" return="float"
  21536. abstract="false" native="false" synchronized="false"
  21537. static="false" final="false" visibility="public"
  21538. deprecated="not deprecated">
  21539. <exception name="IOException" type="java.io.IOException"/>
  21540. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  21541. </method>
  21542. <method name="close"
  21543. abstract="false" native="false" synchronized="true"
  21544. static="false" final="false" visibility="public"
  21545. deprecated="not deprecated">
  21546. <exception name="IOException" type="java.io.IOException"/>
  21547. </method>
  21548. <doc>
  21549. <![CDATA[This class converts the input keys and values to their String forms by
  21550. calling toString() method. This class to SequenceFileAsTextInputFormat
  21551. class is as LineRecordReader class to TextInputFormat class.]]>
  21552. </doc>
  21553. </class>
  21554. <!-- end class org.apache.hadoop.mapreduce.lib.input.SequenceFileAsTextRecordReader -->
  21555. <!-- start class org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFilter -->
  21556. <class name="SequenceFileInputFilter" extends="org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFormat"
  21557. abstract="false"
  21558. static="false" final="false" visibility="public"
  21559. deprecated="not deprecated">
  21560. <constructor name="SequenceFileInputFilter"
  21561. static="false" final="false" visibility="public"
  21562. deprecated="not deprecated">
  21563. </constructor>
  21564. <method name="createRecordReader" return="org.apache.hadoop.mapreduce.RecordReader"
  21565. abstract="false" native="false" synchronized="false"
  21566. static="false" final="false" visibility="public"
  21567. deprecated="not deprecated">
  21568. <param name="split" type="org.apache.hadoop.mapreduce.InputSplit"/>
  21569. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  21570. <exception name="IOException" type="java.io.IOException"/>
  21571. <doc>
  21572. <![CDATA[Create a record reader for the given split
  21573. @param split file split
  21574. @param context the task-attempt context
  21575. @return RecordReader]]>
  21576. </doc>
  21577. </method>
  21578. <method name="setFilterClass"
  21579. abstract="false" native="false" synchronized="false"
  21580. static="true" final="false" visibility="public"
  21581. deprecated="not deprecated">
  21582. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  21583. <param name="filterClass" type="java.lang.Class"/>
  21584. <doc>
  21585. <![CDATA[set the filter class
  21586. @param job The job
  21587. @param filterClass filter class]]>
  21588. </doc>
  21589. </method>
  21590. <field name="LOG" type="org.apache.commons.logging.Log"
  21591. transient="false" volatile="false"
  21592. static="true" final="true" visibility="public"
  21593. deprecated="not deprecated">
  21594. </field>
  21595. <field name="FILTER_CLASS" type="java.lang.String"
  21596. transient="false" volatile="false"
  21597. static="true" final="true" visibility="public"
  21598. deprecated="not deprecated">
  21599. </field>
  21600. <field name="FILTER_FREQUENCY" type="java.lang.String"
  21601. transient="false" volatile="false"
  21602. static="true" final="true" visibility="public"
  21603. deprecated="not deprecated">
  21604. </field>
  21605. <field name="FILTER_REGEX" type="java.lang.String"
  21606. transient="false" volatile="false"
  21607. static="true" final="true" visibility="public"
  21608. deprecated="not deprecated">
  21609. </field>
  21610. <doc>
  21611. <![CDATA[A class that allows a map/red job to work on a sample of sequence files.
  21612. The sample is decided by the filter class set by the job.]]>
  21613. </doc>
  21614. </class>
  21615. <!-- end class org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFilter -->
  21616. <!-- start interface org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFilter.Filter -->
  21617. <interface name="SequenceFileInputFilter.Filter" abstract="true"
  21618. static="true" final="false" visibility="public"
  21619. deprecated="not deprecated">
  21620. <implements name="org.apache.hadoop.conf.Configurable"/>
  21621. <method name="accept" return="boolean"
  21622. abstract="false" native="false" synchronized="false"
  21623. static="false" final="false" visibility="public"
  21624. deprecated="not deprecated">
  21625. <param name="key" type="java.lang.Object"/>
  21626. <doc>
  21627. <![CDATA[filter function
  21628. Decide if a record should be filtered or not
  21629. @param key record key
  21630. @return true if a record is accepted; return false otherwise]]>
  21631. </doc>
  21632. </method>
  21633. <doc>
  21634. <![CDATA[filter interface]]>
  21635. </doc>
  21636. </interface>
  21637. <!-- end interface org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFilter.Filter -->
  21638. <!-- start class org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFilter.FilterBase -->
  21639. <class name="SequenceFileInputFilter.FilterBase" extends="java.lang.Object"
  21640. abstract="true"
  21641. static="true" final="false" visibility="public"
  21642. deprecated="not deprecated">
  21643. <implements name="org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFilter.Filter"/>
  21644. <constructor name="SequenceFileInputFilter.FilterBase"
  21645. static="false" final="false" visibility="public"
  21646. deprecated="not deprecated">
  21647. </constructor>
  21648. <method name="getConf" return="org.apache.hadoop.conf.Configuration"
  21649. abstract="false" native="false" synchronized="false"
  21650. static="false" final="false" visibility="public"
  21651. deprecated="not deprecated">
  21652. </method>
  21653. <doc>
  21654. <![CDATA[base class for Filters]]>
  21655. </doc>
  21656. </class>
  21657. <!-- end class org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFilter.FilterBase -->
  21658. <!-- start class org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFilter.MD5Filter -->
  21659. <class name="SequenceFileInputFilter.MD5Filter" extends="org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFilter.FilterBase"
  21660. abstract="false"
  21661. static="true" final="false" visibility="public"
  21662. deprecated="not deprecated">
  21663. <constructor name="SequenceFileInputFilter.MD5Filter"
  21664. static="false" final="false" visibility="public"
  21665. deprecated="not deprecated">
  21666. </constructor>
  21667. <method name="setFrequency"
  21668. abstract="false" native="false" synchronized="false"
  21669. static="true" final="false" visibility="public"
  21670. deprecated="not deprecated">
  21671. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  21672. <param name="frequency" type="int"/>
  21673. <doc>
  21674. <![CDATA[set the filtering frequency in configuration
  21675. @param conf configuration
  21676. @param frequency filtering frequency]]>
  21677. </doc>
  21678. </method>
  21679. <method name="setConf"
  21680. abstract="false" native="false" synchronized="false"
  21681. static="false" final="false" visibility="public"
  21682. deprecated="not deprecated">
  21683. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  21684. <doc>
  21685. <![CDATA[configure the filter according to configuration
  21686. @param conf configuration]]>
  21687. </doc>
  21688. </method>
  21689. <method name="accept" return="boolean"
  21690. abstract="false" native="false" synchronized="false"
  21691. static="false" final="false" visibility="public"
  21692. deprecated="not deprecated">
  21693. <param name="key" type="java.lang.Object"/>
  21694. <doc>
  21695. <![CDATA[Filtering method
  21696. If MD5(key) % frequency==0, return true; otherwise return false
  21697. @see Filter#accept(Object)]]>
  21698. </doc>
  21699. </method>
  21700. <field name="MD5_LEN" type="int"
  21701. transient="false" volatile="false"
  21702. static="true" final="true" visibility="public"
  21703. deprecated="not deprecated">
  21704. </field>
  21705. <doc>
  21706. <![CDATA[This class returns a set of records by examing the MD5 digest of its
  21707. key against a filtering frequency <i>f</i>. The filtering criteria is
  21708. MD5(key) % f == 0.]]>
  21709. </doc>
  21710. </class>
  21711. <!-- end class org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFilter.MD5Filter -->
  21712. <!-- start class org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFilter.PercentFilter -->
  21713. <class name="SequenceFileInputFilter.PercentFilter" extends="org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFilter.FilterBase"
  21714. abstract="false"
  21715. static="true" final="false" visibility="public"
  21716. deprecated="not deprecated">
  21717. <constructor name="SequenceFileInputFilter.PercentFilter"
  21718. static="false" final="false" visibility="public"
  21719. deprecated="not deprecated">
  21720. </constructor>
  21721. <method name="setFrequency"
  21722. abstract="false" native="false" synchronized="false"
  21723. static="true" final="false" visibility="public"
  21724. deprecated="not deprecated">
  21725. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  21726. <param name="frequency" type="int"/>
  21727. <doc>
  21728. <![CDATA[set the frequency and stores it in conf
  21729. @param conf configuration
  21730. @param frequency filtering frequencey]]>
  21731. </doc>
  21732. </method>
  21733. <method name="setConf"
  21734. abstract="false" native="false" synchronized="false"
  21735. static="false" final="false" visibility="public"
  21736. deprecated="not deprecated">
  21737. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  21738. <doc>
  21739. <![CDATA[configure the filter by checking the configuration
  21740. @param conf configuration]]>
  21741. </doc>
  21742. </method>
  21743. <method name="accept" return="boolean"
  21744. abstract="false" native="false" synchronized="false"
  21745. static="false" final="false" visibility="public"
  21746. deprecated="not deprecated">
  21747. <param name="key" type="java.lang.Object"/>
  21748. <doc>
  21749. <![CDATA[Filtering method
  21750. If record# % frequency==0, return true; otherwise return false
  21751. @see Filter#accept(Object)]]>
  21752. </doc>
  21753. </method>
  21754. <doc>
  21755. <![CDATA[This class returns a percentage of records
  21756. The percentage is determined by a filtering frequency <i>f</i> using
  21757. the criteria record# % f == 0.
  21758. For example, if the frequency is 10, one out of 10 records is returned.]]>
  21759. </doc>
  21760. </class>
  21761. <!-- end class org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFilter.PercentFilter -->
  21762. <!-- start class org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFilter.RegexFilter -->
  21763. <class name="SequenceFileInputFilter.RegexFilter" extends="org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFilter.FilterBase"
  21764. abstract="false"
  21765. static="true" final="false" visibility="public"
  21766. deprecated="not deprecated">
  21767. <constructor name="SequenceFileInputFilter.RegexFilter"
  21768. static="false" final="false" visibility="public"
  21769. deprecated="not deprecated">
  21770. </constructor>
  21771. <method name="setPattern"
  21772. abstract="false" native="false" synchronized="false"
  21773. static="true" final="false" visibility="public"
  21774. deprecated="not deprecated">
  21775. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  21776. <param name="regex" type="java.lang.String"/>
  21777. <exception name="PatternSyntaxException" type="java.util.regex.PatternSyntaxException"/>
  21778. <doc>
  21779. <![CDATA[Define the filtering regex and stores it in conf
  21780. @param conf where the regex is set
  21781. @param regex regex used as a filter]]>
  21782. </doc>
  21783. </method>
  21784. <method name="setConf"
  21785. abstract="false" native="false" synchronized="false"
  21786. static="false" final="false" visibility="public"
  21787. deprecated="not deprecated">
  21788. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  21789. <doc>
  21790. <![CDATA[configure the Filter by checking the configuration]]>
  21791. </doc>
  21792. </method>
  21793. <method name="accept" return="boolean"
  21794. abstract="false" native="false" synchronized="false"
  21795. static="false" final="false" visibility="public"
  21796. deprecated="not deprecated">
  21797. <param name="key" type="java.lang.Object"/>
  21798. <doc>
  21799. <![CDATA[Filtering method
  21800. If key matches the regex, return true; otherwise return false
  21801. @see Filter#accept(Object)]]>
  21802. </doc>
  21803. </method>
  21804. <doc>
  21805. <![CDATA[Records filter by matching key to regex]]>
  21806. </doc>
  21807. </class>
  21808. <!-- end class org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFilter.RegexFilter -->
  21809. <!-- start class org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFormat -->
  21810. <class name="SequenceFileInputFormat" extends="org.apache.hadoop.mapreduce.lib.input.FileInputFormat"
  21811. abstract="false"
  21812. static="false" final="false" visibility="public"
  21813. deprecated="not deprecated">
  21814. <constructor name="SequenceFileInputFormat"
  21815. static="false" final="false" visibility="public"
  21816. deprecated="not deprecated">
  21817. </constructor>
  21818. <method name="createRecordReader" return="org.apache.hadoop.mapreduce.RecordReader"
  21819. abstract="false" native="false" synchronized="false"
  21820. static="false" final="false" visibility="public"
  21821. deprecated="not deprecated">
  21822. <param name="split" type="org.apache.hadoop.mapreduce.InputSplit"/>
  21823. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  21824. <exception name="IOException" type="java.io.IOException"/>
  21825. </method>
  21826. <method name="getFormatMinSplitSize" return="long"
  21827. abstract="false" native="false" synchronized="false"
  21828. static="false" final="false" visibility="protected"
  21829. deprecated="not deprecated">
  21830. </method>
  21831. <method name="listStatus" return="java.util.List"
  21832. abstract="false" native="false" synchronized="false"
  21833. static="false" final="false" visibility="protected"
  21834. deprecated="not deprecated">
  21835. <param name="job" type="org.apache.hadoop.mapreduce.JobContext"/>
  21836. <exception name="IOException" type="java.io.IOException"/>
  21837. </method>
  21838. <doc>
  21839. <![CDATA[An {@link InputFormat} for {@link SequenceFile}s.]]>
  21840. </doc>
  21841. </class>
  21842. <!-- end class org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFormat -->
  21843. <!-- start class org.apache.hadoop.mapreduce.lib.input.SequenceFileRecordReader -->
  21844. <class name="SequenceFileRecordReader" extends="org.apache.hadoop.mapreduce.RecordReader"
  21845. abstract="false"
  21846. static="false" final="false" visibility="public"
  21847. deprecated="not deprecated">
  21848. <constructor name="SequenceFileRecordReader"
  21849. static="false" final="false" visibility="public"
  21850. deprecated="not deprecated">
  21851. </constructor>
  21852. <method name="initialize"
  21853. abstract="false" native="false" synchronized="false"
  21854. static="false" final="false" visibility="public"
  21855. deprecated="not deprecated">
  21856. <param name="split" type="org.apache.hadoop.mapreduce.InputSplit"/>
  21857. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  21858. <exception name="IOException" type="java.io.IOException"/>
  21859. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  21860. </method>
  21861. <method name="nextKeyValue" return="boolean"
  21862. abstract="false" native="false" synchronized="false"
  21863. static="false" final="false" visibility="public"
  21864. deprecated="not deprecated">
  21865. <exception name="IOException" type="java.io.IOException"/>
  21866. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  21867. </method>
  21868. <method name="getCurrentKey" return="K"
  21869. abstract="false" native="false" synchronized="false"
  21870. static="false" final="false" visibility="public"
  21871. deprecated="not deprecated">
  21872. </method>
  21873. <method name="getCurrentValue" return="V"
  21874. abstract="false" native="false" synchronized="false"
  21875. static="false" final="false" visibility="public"
  21876. deprecated="not deprecated">
  21877. </method>
  21878. <method name="getProgress" return="float"
  21879. abstract="false" native="false" synchronized="false"
  21880. static="false" final="false" visibility="public"
  21881. deprecated="not deprecated">
  21882. <exception name="IOException" type="java.io.IOException"/>
  21883. <doc>
  21884. <![CDATA[Return the progress within the input split
  21885. @return 0.0 to 1.0 of the input byte range]]>
  21886. </doc>
  21887. </method>
  21888. <method name="close"
  21889. abstract="false" native="false" synchronized="true"
  21890. static="false" final="false" visibility="public"
  21891. deprecated="not deprecated">
  21892. <exception name="IOException" type="java.io.IOException"/>
  21893. </method>
  21894. <field name="conf" type="org.apache.hadoop.conf.Configuration"
  21895. transient="false" volatile="false"
  21896. static="false" final="false" visibility="protected"
  21897. deprecated="not deprecated">
  21898. </field>
  21899. <doc>
  21900. <![CDATA[An {@link RecordReader} for {@link SequenceFile}s.]]>
  21901. </doc>
  21902. </class>
  21903. <!-- end class org.apache.hadoop.mapreduce.lib.input.SequenceFileRecordReader -->
  21904. <!-- start class org.apache.hadoop.mapreduce.lib.input.TextInputFormat -->
  21905. <class name="TextInputFormat" extends="org.apache.hadoop.mapreduce.lib.input.FileInputFormat"
  21906. abstract="false"
  21907. static="false" final="false" visibility="public"
  21908. deprecated="not deprecated">
  21909. <constructor name="TextInputFormat"
  21910. static="false" final="false" visibility="public"
  21911. deprecated="not deprecated">
  21912. </constructor>
  21913. <method name="createRecordReader" return="org.apache.hadoop.mapreduce.RecordReader"
  21914. abstract="false" native="false" synchronized="false"
  21915. static="false" final="false" visibility="public"
  21916. deprecated="not deprecated">
  21917. <param name="split" type="org.apache.hadoop.mapreduce.InputSplit"/>
  21918. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  21919. </method>
  21920. <method name="isSplitable" return="boolean"
  21921. abstract="false" native="false" synchronized="false"
  21922. static="false" final="false" visibility="protected"
  21923. deprecated="not deprecated">
  21924. <param name="context" type="org.apache.hadoop.mapreduce.JobContext"/>
  21925. <param name="file" type="org.apache.hadoop.fs.Path"/>
  21926. </method>
  21927. <doc>
  21928. <![CDATA[An {@link InputFormat} for plain text files. Files are broken into lines.
  21929. Either linefeed or carriage-return are used to signal end of line. Keys are
  21930. the position in the file, and values are the line of text..]]>
  21931. </doc>
  21932. </class>
  21933. <!-- end class org.apache.hadoop.mapreduce.lib.input.TextInputFormat -->
  21934. </package>
  21935. <package name="org.apache.hadoop.mapreduce.lib.jobcontrol">
  21936. <!-- start class org.apache.hadoop.mapreduce.lib.jobcontrol.ControlledJob -->
  21937. <class name="ControlledJob" extends="java.lang.Object"
  21938. abstract="false"
  21939. static="false" final="false" visibility="public"
  21940. deprecated="not deprecated">
  21941. <constructor name="ControlledJob" type="org.apache.hadoop.mapreduce.Job, java.util.List"
  21942. static="false" final="false" visibility="public"
  21943. deprecated="not deprecated">
  21944. <exception name="IOException" type="java.io.IOException"/>
  21945. <doc>
  21946. <![CDATA[Construct a job.
  21947. @param job a mapreduce job to be executed.
  21948. @param dependingJobs an array of jobs the current job depends on]]>
  21949. </doc>
  21950. </constructor>
  21951. <constructor name="ControlledJob" type="org.apache.hadoop.conf.Configuration"
  21952. static="false" final="false" visibility="public"
  21953. deprecated="not deprecated">
  21954. <exception name="IOException" type="java.io.IOException"/>
  21955. <doc>
  21956. <![CDATA[Construct a job.
  21957. @param conf mapred job configuration representing a job to be executed.
  21958. @throws IOException]]>
  21959. </doc>
  21960. </constructor>
  21961. <method name="toString" return="java.lang.String"
  21962. abstract="false" native="false" synchronized="false"
  21963. static="false" final="false" visibility="public"
  21964. deprecated="not deprecated">
  21965. </method>
  21966. <method name="getJobName" return="java.lang.String"
  21967. abstract="false" native="false" synchronized="false"
  21968. static="false" final="false" visibility="public"
  21969. deprecated="not deprecated">
  21970. <doc>
  21971. <![CDATA[@return the job name of this job]]>
  21972. </doc>
  21973. </method>
  21974. <method name="setJobName"
  21975. abstract="false" native="false" synchronized="false"
  21976. static="false" final="false" visibility="public"
  21977. deprecated="not deprecated">
  21978. <param name="jobName" type="java.lang.String"/>
  21979. <doc>
  21980. <![CDATA[Set the job name for this job.
  21981. @param jobName the job name]]>
  21982. </doc>
  21983. </method>
  21984. <method name="getJobID" return="java.lang.String"
  21985. abstract="false" native="false" synchronized="false"
  21986. static="false" final="false" visibility="public"
  21987. deprecated="not deprecated">
  21988. <doc>
  21989. <![CDATA[@return the job ID of this job assigned by JobControl]]>
  21990. </doc>
  21991. </method>
  21992. <method name="setJobID"
  21993. abstract="false" native="false" synchronized="false"
  21994. static="false" final="false" visibility="public"
  21995. deprecated="not deprecated">
  21996. <param name="id" type="java.lang.String"/>
  21997. <doc>
  21998. <![CDATA[Set the job ID for this job.
  21999. @param id the job ID]]>
  22000. </doc>
  22001. </method>
  22002. <method name="getMapredJobID" return="org.apache.hadoop.mapreduce.JobID"
  22003. abstract="false" native="false" synchronized="false"
  22004. static="false" final="false" visibility="public"
  22005. deprecated="not deprecated">
  22006. <doc>
  22007. <![CDATA[@return the mapred ID of this job as assigned by the
  22008. mapred framework.]]>
  22009. </doc>
  22010. </method>
  22011. <method name="getJob" return="org.apache.hadoop.mapreduce.Job"
  22012. abstract="false" native="false" synchronized="true"
  22013. static="false" final="false" visibility="public"
  22014. deprecated="not deprecated">
  22015. <doc>
  22016. <![CDATA[@return the mapreduce job]]>
  22017. </doc>
  22018. </method>
  22019. <method name="setJob"
  22020. abstract="false" native="false" synchronized="true"
  22021. static="false" final="false" visibility="public"
  22022. deprecated="not deprecated">
  22023. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  22024. <doc>
  22025. <![CDATA[Set the mapreduce job
  22026. @param job the mapreduce job for this job.]]>
  22027. </doc>
  22028. </method>
  22029. <method name="getJobState" return="org.apache.hadoop.mapreduce.lib.jobcontrol.ControlledJob.State"
  22030. abstract="false" native="false" synchronized="true"
  22031. static="false" final="false" visibility="public"
  22032. deprecated="not deprecated">
  22033. <doc>
  22034. <![CDATA[@return the state of this job]]>
  22035. </doc>
  22036. </method>
  22037. <method name="setJobState"
  22038. abstract="false" native="false" synchronized="true"
  22039. static="false" final="false" visibility="protected"
  22040. deprecated="not deprecated">
  22041. <param name="state" type="org.apache.hadoop.mapreduce.lib.jobcontrol.ControlledJob.State"/>
  22042. <doc>
  22043. <![CDATA[Set the state for this job.
  22044. @param state the new state for this job.]]>
  22045. </doc>
  22046. </method>
  22047. <method name="getMessage" return="java.lang.String"
  22048. abstract="false" native="false" synchronized="true"
  22049. static="false" final="false" visibility="public"
  22050. deprecated="not deprecated">
  22051. <doc>
  22052. <![CDATA[@return the message of this job]]>
  22053. </doc>
  22054. </method>
  22055. <method name="setMessage"
  22056. abstract="false" native="false" synchronized="true"
  22057. static="false" final="false" visibility="public"
  22058. deprecated="not deprecated">
  22059. <param name="message" type="java.lang.String"/>
  22060. <doc>
  22061. <![CDATA[Set the message for this job.
  22062. @param message the message for this job.]]>
  22063. </doc>
  22064. </method>
  22065. <method name="getDependentJobs" return="java.util.List"
  22066. abstract="false" native="false" synchronized="false"
  22067. static="false" final="false" visibility="public"
  22068. deprecated="not deprecated">
  22069. <doc>
  22070. <![CDATA[@return the depending jobs of this job]]>
  22071. </doc>
  22072. </method>
  22073. <method name="addDependingJob" return="boolean"
  22074. abstract="false" native="false" synchronized="true"
  22075. static="false" final="false" visibility="public"
  22076. deprecated="not deprecated">
  22077. <param name="dependingJob" type="org.apache.hadoop.mapreduce.lib.jobcontrol.ControlledJob"/>
  22078. <doc>
  22079. <![CDATA[Add a job to this jobs' dependency list.
  22080. Dependent jobs can only be added while a Job
  22081. is waiting to run, not during or afterwards.
  22082. @param dependingJob Job that this Job depends on.
  22083. @return <tt>true</tt> if the Job was added.]]>
  22084. </doc>
  22085. </method>
  22086. <method name="isCompleted" return="boolean"
  22087. abstract="false" native="false" synchronized="true"
  22088. static="false" final="false" visibility="public"
  22089. deprecated="not deprecated">
  22090. <doc>
  22091. <![CDATA[@return true if this job is in a complete state]]>
  22092. </doc>
  22093. </method>
  22094. <method name="isReady" return="boolean"
  22095. abstract="false" native="false" synchronized="true"
  22096. static="false" final="false" visibility="public"
  22097. deprecated="not deprecated">
  22098. <doc>
  22099. <![CDATA[@return true if this job is in READY state]]>
  22100. </doc>
  22101. </method>
  22102. <method name="killJob"
  22103. abstract="false" native="false" synchronized="false"
  22104. static="false" final="false" visibility="public"
  22105. deprecated="not deprecated">
  22106. <exception name="IOException" type="java.io.IOException"/>
  22107. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  22108. </method>
  22109. <method name="submit"
  22110. abstract="false" native="false" synchronized="true"
  22111. static="false" final="false" visibility="protected"
  22112. deprecated="not deprecated">
  22113. <doc>
  22114. <![CDATA[Submit this job to mapred. The state becomes RUNNING if submission
  22115. is successful, FAILED otherwise.]]>
  22116. </doc>
  22117. </method>
  22118. <field name="CREATE_DIR" type="java.lang.String"
  22119. transient="false" volatile="false"
  22120. static="true" final="true" visibility="public"
  22121. deprecated="not deprecated">
  22122. </field>
  22123. <doc>
  22124. <![CDATA[This class encapsulates a MapReduce job and its dependency. It monitors
  22125. the states of the depending jobs and updates the state of this job.
  22126. A job starts in the WAITING state. If it does not have any depending jobs,
  22127. or all of the depending jobs are in SUCCESS state, then the job state
  22128. will become READY. If any depending jobs fail, the job will fail too.
  22129. When in READY state, the job can be submitted to Hadoop for execution, with
  22130. the state changing into RUNNING state. From RUNNING state, the job
  22131. can get into SUCCESS or FAILED state, depending
  22132. the status of the job execution.]]>
  22133. </doc>
  22134. </class>
  22135. <!-- end class org.apache.hadoop.mapreduce.lib.jobcontrol.ControlledJob -->
  22136. <!-- start class org.apache.hadoop.mapreduce.lib.jobcontrol.ControlledJob.State -->
  22137. <class name="ControlledJob.State" extends="java.lang.Enum"
  22138. abstract="false"
  22139. static="true" final="true" visibility="public"
  22140. deprecated="not deprecated">
  22141. <method name="values" return="org.apache.hadoop.mapreduce.lib.jobcontrol.ControlledJob.State[]"
  22142. abstract="false" native="false" synchronized="false"
  22143. static="true" final="false" visibility="public"
  22144. deprecated="not deprecated">
  22145. </method>
  22146. <method name="valueOf" return="org.apache.hadoop.mapreduce.lib.jobcontrol.ControlledJob.State"
  22147. abstract="false" native="false" synchronized="false"
  22148. static="true" final="false" visibility="public"
  22149. deprecated="not deprecated">
  22150. <param name="name" type="java.lang.String"/>
  22151. </method>
  22152. </class>
  22153. <!-- end class org.apache.hadoop.mapreduce.lib.jobcontrol.ControlledJob.State -->
  22154. <!-- start class org.apache.hadoop.mapreduce.lib.jobcontrol.JobControl -->
  22155. <class name="JobControl" extends="java.lang.Object"
  22156. abstract="false"
  22157. static="false" final="false" visibility="public"
  22158. deprecated="not deprecated">
  22159. <implements name="java.lang.Runnable"/>
  22160. <constructor name="JobControl" type="java.lang.String"
  22161. static="false" final="false" visibility="public"
  22162. deprecated="not deprecated">
  22163. <doc>
  22164. <![CDATA[Construct a job control for a group of jobs.
  22165. @param groupName a name identifying this group]]>
  22166. </doc>
  22167. </constructor>
  22168. <method name="getWaitingJobList" return="java.util.List"
  22169. abstract="false" native="false" synchronized="false"
  22170. static="false" final="false" visibility="public"
  22171. deprecated="not deprecated">
  22172. <doc>
  22173. <![CDATA[@return the jobs in the waiting state]]>
  22174. </doc>
  22175. </method>
  22176. <method name="getRunningJobList" return="java.util.List"
  22177. abstract="false" native="false" synchronized="false"
  22178. static="false" final="false" visibility="public"
  22179. deprecated="not deprecated">
  22180. <doc>
  22181. <![CDATA[@return the jobs in the running state]]>
  22182. </doc>
  22183. </method>
  22184. <method name="getReadyJobsList" return="java.util.List"
  22185. abstract="false" native="false" synchronized="false"
  22186. static="false" final="false" visibility="public"
  22187. deprecated="not deprecated">
  22188. <doc>
  22189. <![CDATA[@return the jobs in the ready state]]>
  22190. </doc>
  22191. </method>
  22192. <method name="getSuccessfulJobList" return="java.util.List"
  22193. abstract="false" native="false" synchronized="false"
  22194. static="false" final="false" visibility="public"
  22195. deprecated="not deprecated">
  22196. <doc>
  22197. <![CDATA[@return the jobs in the success state]]>
  22198. </doc>
  22199. </method>
  22200. <method name="getFailedJobList" return="java.util.List"
  22201. abstract="false" native="false" synchronized="false"
  22202. static="false" final="false" visibility="public"
  22203. deprecated="not deprecated">
  22204. </method>
  22205. <method name="addJob" return="java.lang.String"
  22206. abstract="false" native="false" synchronized="true"
  22207. static="false" final="false" visibility="public"
  22208. deprecated="not deprecated">
  22209. <param name="aJob" type="org.apache.hadoop.mapreduce.lib.jobcontrol.ControlledJob"/>
  22210. <doc>
  22211. <![CDATA[Add a new job.
  22212. @param aJob the new job]]>
  22213. </doc>
  22214. </method>
  22215. <method name="addJobCollection"
  22216. abstract="false" native="false" synchronized="false"
  22217. static="false" final="false" visibility="public"
  22218. deprecated="not deprecated">
  22219. <param name="jobs" type="java.util.Collection"/>
  22220. <doc>
  22221. <![CDATA[Add a collection of jobs
  22222. @param jobs]]>
  22223. </doc>
  22224. </method>
  22225. <method name="getThreadState" return="org.apache.hadoop.mapreduce.lib.jobcontrol.JobControl.ThreadState"
  22226. abstract="false" native="false" synchronized="false"
  22227. static="false" final="false" visibility="public"
  22228. deprecated="not deprecated">
  22229. <doc>
  22230. <![CDATA[@return the thread state]]>
  22231. </doc>
  22232. </method>
  22233. <method name="stop"
  22234. abstract="false" native="false" synchronized="false"
  22235. static="false" final="false" visibility="public"
  22236. deprecated="not deprecated">
  22237. <doc>
  22238. <![CDATA[set the thread state to STOPPING so that the
  22239. thread will stop when it wakes up.]]>
  22240. </doc>
  22241. </method>
  22242. <method name="suspend"
  22243. abstract="false" native="false" synchronized="false"
  22244. static="false" final="false" visibility="public"
  22245. deprecated="not deprecated">
  22246. <doc>
  22247. <![CDATA[suspend the running thread]]>
  22248. </doc>
  22249. </method>
  22250. <method name="resume"
  22251. abstract="false" native="false" synchronized="false"
  22252. static="false" final="false" visibility="public"
  22253. deprecated="not deprecated">
  22254. <doc>
  22255. <![CDATA[resume the suspended thread]]>
  22256. </doc>
  22257. </method>
  22258. <method name="allFinished" return="boolean"
  22259. abstract="false" native="false" synchronized="true"
  22260. static="false" final="false" visibility="public"
  22261. deprecated="not deprecated">
  22262. </method>
  22263. <method name="run"
  22264. abstract="false" native="false" synchronized="false"
  22265. static="false" final="false" visibility="public"
  22266. deprecated="not deprecated">
  22267. <doc>
  22268. <![CDATA[The main loop for the thread.
  22269. The loop does the following:
  22270. Check the states of the running jobs
  22271. Update the states of waiting jobs
  22272. Submit the jobs in ready state]]>
  22273. </doc>
  22274. </method>
  22275. <doc>
  22276. <![CDATA[This class encapsulates a set of MapReduce jobs and its dependency.
  22277. It tracks the states of the jobs by placing them into different tables
  22278. according to their states.
  22279. This class provides APIs for the client app to add a job to the group
  22280. and to get the jobs in the group in different states. When a job is
  22281. added, an ID unique to the group is assigned to the job.
  22282. This class has a thread that submits jobs when they become ready,
  22283. monitors the states of the running jobs, and updates the states of jobs
  22284. based on the state changes of their depending jobs states. The class
  22285. provides APIs for suspending/resuming the thread, and
  22286. for stopping the thread.]]>
  22287. </doc>
  22288. </class>
  22289. <!-- end class org.apache.hadoop.mapreduce.lib.jobcontrol.JobControl -->
  22290. <!-- start class org.apache.hadoop.mapreduce.lib.jobcontrol.JobControl.ThreadState -->
  22291. <class name="JobControl.ThreadState" extends="java.lang.Enum"
  22292. abstract="false"
  22293. static="true" final="true" visibility="public"
  22294. deprecated="not deprecated">
  22295. <method name="values" return="org.apache.hadoop.mapreduce.lib.jobcontrol.JobControl.ThreadState[]"
  22296. abstract="false" native="false" synchronized="false"
  22297. static="true" final="false" visibility="public"
  22298. deprecated="not deprecated">
  22299. </method>
  22300. <method name="valueOf" return="org.apache.hadoop.mapreduce.lib.jobcontrol.JobControl.ThreadState"
  22301. abstract="false" native="false" synchronized="false"
  22302. static="true" final="false" visibility="public"
  22303. deprecated="not deprecated">
  22304. <param name="name" type="java.lang.String"/>
  22305. </method>
  22306. </class>
  22307. <!-- end class org.apache.hadoop.mapreduce.lib.jobcontrol.JobControl.ThreadState -->
  22308. </package>
  22309. <package name="org.apache.hadoop.mapreduce.lib.join">
  22310. <!-- start class org.apache.hadoop.mapreduce.lib.join.ArrayListBackedIterator -->
  22311. <class name="ArrayListBackedIterator" extends="java.lang.Object"
  22312. abstract="false"
  22313. static="false" final="false" visibility="public"
  22314. deprecated="not deprecated">
  22315. <implements name="org.apache.hadoop.mapreduce.lib.join.ResetableIterator"/>
  22316. <constructor name="ArrayListBackedIterator"
  22317. static="false" final="false" visibility="public"
  22318. deprecated="not deprecated">
  22319. </constructor>
  22320. <constructor name="ArrayListBackedIterator" type="java.util.ArrayList"
  22321. static="false" final="false" visibility="public"
  22322. deprecated="not deprecated">
  22323. </constructor>
  22324. <method name="hasNext" return="boolean"
  22325. abstract="false" native="false" synchronized="false"
  22326. static="false" final="false" visibility="public"
  22327. deprecated="not deprecated">
  22328. </method>
  22329. <method name="next" return="boolean"
  22330. abstract="false" native="false" synchronized="false"
  22331. static="false" final="false" visibility="public"
  22332. deprecated="not deprecated">
  22333. <param name="val" type="X"/>
  22334. <exception name="IOException" type="java.io.IOException"/>
  22335. </method>
  22336. <method name="replay" return="boolean"
  22337. abstract="false" native="false" synchronized="false"
  22338. static="false" final="false" visibility="public"
  22339. deprecated="not deprecated">
  22340. <param name="val" type="X"/>
  22341. <exception name="IOException" type="java.io.IOException"/>
  22342. </method>
  22343. <method name="reset"
  22344. abstract="false" native="false" synchronized="false"
  22345. static="false" final="false" visibility="public"
  22346. deprecated="not deprecated">
  22347. </method>
  22348. <method name="add"
  22349. abstract="false" native="false" synchronized="false"
  22350. static="false" final="false" visibility="public"
  22351. deprecated="not deprecated">
  22352. <param name="item" type="X"/>
  22353. <exception name="IOException" type="java.io.IOException"/>
  22354. </method>
  22355. <method name="close"
  22356. abstract="false" native="false" synchronized="false"
  22357. static="false" final="false" visibility="public"
  22358. deprecated="not deprecated">
  22359. <exception name="IOException" type="java.io.IOException"/>
  22360. </method>
  22361. <method name="clear"
  22362. abstract="false" native="false" synchronized="false"
  22363. static="false" final="false" visibility="public"
  22364. deprecated="not deprecated">
  22365. </method>
  22366. <doc>
  22367. <![CDATA[This class provides an implementation of ResetableIterator. The
  22368. implementation uses an {@link java.util.ArrayList} to store elements
  22369. added to it, replaying them as requested.
  22370. Prefer {@link StreamBackedIterator}.]]>
  22371. </doc>
  22372. </class>
  22373. <!-- end class org.apache.hadoop.mapreduce.lib.join.ArrayListBackedIterator -->
  22374. <!-- start class org.apache.hadoop.mapreduce.lib.join.ComposableInputFormat -->
  22375. <class name="ComposableInputFormat" extends="org.apache.hadoop.mapreduce.InputFormat"
  22376. abstract="true"
  22377. static="false" final="false" visibility="public"
  22378. deprecated="not deprecated">
  22379. <constructor name="ComposableInputFormat"
  22380. static="false" final="false" visibility="public"
  22381. deprecated="not deprecated">
  22382. </constructor>
  22383. <method name="createRecordReader" return="org.apache.hadoop.mapreduce.lib.join.ComposableRecordReader"
  22384. abstract="true" native="false" synchronized="false"
  22385. static="false" final="false" visibility="public"
  22386. deprecated="not deprecated">
  22387. <param name="split" type="org.apache.hadoop.mapreduce.InputSplit"/>
  22388. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  22389. <exception name="IOException" type="java.io.IOException"/>
  22390. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  22391. </method>
  22392. <doc>
  22393. <![CDATA[Refinement of InputFormat requiring implementors to provide
  22394. ComposableRecordReader instead of RecordReader.]]>
  22395. </doc>
  22396. </class>
  22397. <!-- end class org.apache.hadoop.mapreduce.lib.join.ComposableInputFormat -->
  22398. <!-- start class org.apache.hadoop.mapreduce.lib.join.ComposableRecordReader -->
  22399. <class name="ComposableRecordReader" extends="org.apache.hadoop.mapreduce.RecordReader"
  22400. abstract="true"
  22401. static="false" final="false" visibility="public"
  22402. deprecated="not deprecated">
  22403. <implements name="java.lang.Comparable"/>
  22404. <constructor name="ComposableRecordReader"
  22405. static="false" final="false" visibility="public"
  22406. deprecated="not deprecated">
  22407. </constructor>
  22408. <doc>
  22409. <![CDATA[Additional operations required of a RecordReader to participate in a join.]]>
  22410. </doc>
  22411. </class>
  22412. <!-- end class org.apache.hadoop.mapreduce.lib.join.ComposableRecordReader -->
  22413. <!-- start class org.apache.hadoop.mapreduce.lib.join.CompositeInputFormat -->
  22414. <class name="CompositeInputFormat" extends="org.apache.hadoop.mapreduce.InputFormat"
  22415. abstract="false"
  22416. static="false" final="false" visibility="public"
  22417. deprecated="not deprecated">
  22418. <constructor name="CompositeInputFormat"
  22419. static="false" final="false" visibility="public"
  22420. deprecated="not deprecated">
  22421. </constructor>
  22422. <method name="setFormat"
  22423. abstract="false" native="false" synchronized="false"
  22424. static="false" final="false" visibility="public"
  22425. deprecated="not deprecated">
  22426. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  22427. <exception name="IOException" type="java.io.IOException"/>
  22428. <doc>
  22429. <![CDATA[Interpret a given string as a composite expression.
  22430. {@code
  22431. func ::= <ident>([<func>,]*<func>)
  22432. func ::= tbl(<class>,"<path>")
  22433. class ::= @see java.lang.Class#forName(java.lang.String)
  22434. path ::= @see org.apache.hadoop.fs.Path#Path(java.lang.String)
  22435. }
  22436. Reads expression from the <tt>mapreduce.join.expr</tt> property and
  22437. user-supplied join types from <tt>mapreduce.join.define.&lt;ident&gt;</tt>
  22438. types. Paths supplied to <tt>tbl</tt> are given as input paths to the
  22439. InputFormat class listed.
  22440. @see #compose(java.lang.String, java.lang.Class, java.lang.String...)]]>
  22441. </doc>
  22442. </method>
  22443. <method name="addDefaults"
  22444. abstract="false" native="false" synchronized="false"
  22445. static="false" final="false" visibility="protected"
  22446. deprecated="not deprecated">
  22447. <doc>
  22448. <![CDATA[Adds the default set of identifiers to the parser.]]>
  22449. </doc>
  22450. </method>
  22451. <method name="getSplits" return="java.util.List"
  22452. abstract="false" native="false" synchronized="false"
  22453. static="false" final="false" visibility="public"
  22454. deprecated="not deprecated">
  22455. <param name="job" type="org.apache.hadoop.mapreduce.JobContext"/>
  22456. <exception name="IOException" type="java.io.IOException"/>
  22457. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  22458. <doc>
  22459. <![CDATA[Build a CompositeInputSplit from the child InputFormats by assigning the
  22460. ith split from each child to the ith composite split.]]>
  22461. </doc>
  22462. </method>
  22463. <method name="createRecordReader" return="org.apache.hadoop.mapreduce.RecordReader"
  22464. abstract="false" native="false" synchronized="false"
  22465. static="false" final="false" visibility="public"
  22466. deprecated="not deprecated">
  22467. <param name="split" type="org.apache.hadoop.mapreduce.InputSplit"/>
  22468. <param name="taskContext" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  22469. <exception name="IOException" type="java.io.IOException"/>
  22470. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  22471. <doc>
  22472. <![CDATA[Construct a CompositeRecordReader for the children of this InputFormat
  22473. as defined in the init expression.
  22474. The outermost join need only be composable, not necessarily a composite.
  22475. Mandating TupleWritable isn't strictly correct.]]>
  22476. </doc>
  22477. </method>
  22478. <method name="compose" return="java.lang.String"
  22479. abstract="false" native="false" synchronized="false"
  22480. static="true" final="false" visibility="public"
  22481. deprecated="not deprecated">
  22482. <param name="inf" type="java.lang.Class"/>
  22483. <param name="path" type="java.lang.String"/>
  22484. <doc>
  22485. <![CDATA[Convenience method for constructing composite formats.
  22486. Given InputFormat class (inf), path (p) return:
  22487. {@code tbl(<inf>, <p>) }]]>
  22488. </doc>
  22489. </method>
  22490. <method name="compose" return="java.lang.String"
  22491. abstract="false" native="false" synchronized="false"
  22492. static="true" final="false" visibility="public"
  22493. deprecated="not deprecated">
  22494. <param name="op" type="java.lang.String"/>
  22495. <param name="inf" type="java.lang.Class"/>
  22496. <param name="path" type="java.lang.String[]"/>
  22497. <doc>
  22498. <![CDATA[Convenience method for constructing composite formats.
  22499. Given operation (op), Object class (inf), set of paths (p) return:
  22500. {@code <op>(tbl(<inf>,<p1>),tbl(<inf>,<p2>),...,tbl(<inf>,<pn>)) }]]>
  22501. </doc>
  22502. </method>
  22503. <method name="compose" return="java.lang.String"
  22504. abstract="false" native="false" synchronized="false"
  22505. static="true" final="false" visibility="public"
  22506. deprecated="not deprecated">
  22507. <param name="op" type="java.lang.String"/>
  22508. <param name="inf" type="java.lang.Class"/>
  22509. <param name="path" type="org.apache.hadoop.fs.Path[]"/>
  22510. <doc>
  22511. <![CDATA[Convenience method for constructing composite formats.
  22512. Given operation (op), Object class (inf), set of paths (p) return:
  22513. {@code <op>(tbl(<inf>,<p1>),tbl(<inf>,<p2>),...,tbl(<inf>,<pn>)) }]]>
  22514. </doc>
  22515. </method>
  22516. <field name="JOIN_EXPR" type="java.lang.String"
  22517. transient="false" volatile="false"
  22518. static="true" final="true" visibility="public"
  22519. deprecated="not deprecated">
  22520. </field>
  22521. <field name="JOIN_COMPARATOR" type="java.lang.String"
  22522. transient="false" volatile="false"
  22523. static="true" final="true" visibility="public"
  22524. deprecated="not deprecated">
  22525. </field>
  22526. <doc>
  22527. <![CDATA[An InputFormat capable of performing joins over a set of data sources sorted
  22528. and partitioned the same way.
  22529. @see #setFormat
  22530. A user may define new join types by setting the property
  22531. <tt>mapreduce.join.define.&lt;ident&gt;</tt> to a classname.
  22532. In the expression <tt>mapreduce.join.expr</tt>, the identifier will be
  22533. assumed to be a ComposableRecordReader.
  22534. <tt>mapreduce.join.keycomparator</tt> can be a classname used to compare
  22535. keys in the join.
  22536. @see JoinRecordReader
  22537. @see MultiFilterRecordReader]]>
  22538. </doc>
  22539. </class>
  22540. <!-- end class org.apache.hadoop.mapreduce.lib.join.CompositeInputFormat -->
  22541. <!-- start class org.apache.hadoop.mapreduce.lib.join.CompositeInputSplit -->
  22542. <class name="CompositeInputSplit" extends="org.apache.hadoop.mapreduce.InputSplit"
  22543. abstract="false"
  22544. static="false" final="false" visibility="public"
  22545. deprecated="not deprecated">
  22546. <implements name="org.apache.hadoop.io.Writable"/>
  22547. <constructor name="CompositeInputSplit"
  22548. static="false" final="false" visibility="public"
  22549. deprecated="not deprecated">
  22550. </constructor>
  22551. <constructor name="CompositeInputSplit" type="int"
  22552. static="false" final="false" visibility="public"
  22553. deprecated="not deprecated">
  22554. </constructor>
  22555. <method name="add"
  22556. abstract="false" native="false" synchronized="false"
  22557. static="false" final="false" visibility="public"
  22558. deprecated="not deprecated">
  22559. <param name="s" type="org.apache.hadoop.mapreduce.InputSplit"/>
  22560. <exception name="IOException" type="java.io.IOException"/>
  22561. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  22562. <doc>
  22563. <![CDATA[Add an InputSplit to this collection.
  22564. @throws IOException If capacity was not specified during construction
  22565. or if capacity has been reached.]]>
  22566. </doc>
  22567. </method>
  22568. <method name="get" return="org.apache.hadoop.mapreduce.InputSplit"
  22569. abstract="false" native="false" synchronized="false"
  22570. static="false" final="false" visibility="public"
  22571. deprecated="not deprecated">
  22572. <param name="i" type="int"/>
  22573. <doc>
  22574. <![CDATA[Get ith child InputSplit.]]>
  22575. </doc>
  22576. </method>
  22577. <method name="getLength" return="long"
  22578. abstract="false" native="false" synchronized="false"
  22579. static="false" final="false" visibility="public"
  22580. deprecated="not deprecated">
  22581. <exception name="IOException" type="java.io.IOException"/>
  22582. <doc>
  22583. <![CDATA[Return the aggregate length of all child InputSplits currently added.]]>
  22584. </doc>
  22585. </method>
  22586. <method name="getLength" return="long"
  22587. abstract="false" native="false" synchronized="false"
  22588. static="false" final="false" visibility="public"
  22589. deprecated="not deprecated">
  22590. <param name="i" type="int"/>
  22591. <exception name="IOException" type="java.io.IOException"/>
  22592. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  22593. <doc>
  22594. <![CDATA[Get the length of ith child InputSplit.]]>
  22595. </doc>
  22596. </method>
  22597. <method name="getLocations" return="java.lang.String[]"
  22598. abstract="false" native="false" synchronized="false"
  22599. static="false" final="false" visibility="public"
  22600. deprecated="not deprecated">
  22601. <exception name="IOException" type="java.io.IOException"/>
  22602. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  22603. <doc>
  22604. <![CDATA[Collect a set of hosts from all child InputSplits.]]>
  22605. </doc>
  22606. </method>
  22607. <method name="getLocation" return="java.lang.String[]"
  22608. abstract="false" native="false" synchronized="false"
  22609. static="false" final="false" visibility="public"
  22610. deprecated="not deprecated">
  22611. <param name="i" type="int"/>
  22612. <exception name="IOException" type="java.io.IOException"/>
  22613. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  22614. <doc>
  22615. <![CDATA[getLocations from ith InputSplit.]]>
  22616. </doc>
  22617. </method>
  22618. <method name="write"
  22619. abstract="false" native="false" synchronized="false"
  22620. static="false" final="false" visibility="public"
  22621. deprecated="not deprecated">
  22622. <param name="out" type="java.io.DataOutput"/>
  22623. <exception name="IOException" type="java.io.IOException"/>
  22624. <doc>
  22625. <![CDATA[Write splits in the following format.
  22626. {@code
  22627. <count><class1><class2>...<classn><split1><split2>...<splitn>
  22628. }]]>
  22629. </doc>
  22630. </method>
  22631. <method name="readFields"
  22632. abstract="false" native="false" synchronized="false"
  22633. static="false" final="false" visibility="public"
  22634. deprecated="not deprecated">
  22635. <param name="in" type="java.io.DataInput"/>
  22636. <exception name="IOException" type="java.io.IOException"/>
  22637. <doc>
  22638. <![CDATA[{@inheritDoc}
  22639. @throws IOException If the child InputSplit cannot be read, typically
  22640. for failing access checks.]]>
  22641. </doc>
  22642. </method>
  22643. <doc>
  22644. <![CDATA[This InputSplit contains a set of child InputSplits. Any InputSplit inserted
  22645. into this collection must have a public default constructor.]]>
  22646. </doc>
  22647. </class>
  22648. <!-- end class org.apache.hadoop.mapreduce.lib.join.CompositeInputSplit -->
  22649. <!-- start class org.apache.hadoop.mapreduce.lib.join.CompositeRecordReader -->
  22650. <class name="CompositeRecordReader" extends="org.apache.hadoop.mapreduce.lib.join.ComposableRecordReader"
  22651. abstract="true"
  22652. static="false" final="false" visibility="public"
  22653. deprecated="not deprecated">
  22654. <implements name="org.apache.hadoop.conf.Configurable"/>
  22655. <constructor name="CompositeRecordReader" type="int, int, java.lang.Class"
  22656. static="false" final="false" visibility="public"
  22657. deprecated="not deprecated">
  22658. <exception name="IOException" type="java.io.IOException"/>
  22659. <doc>
  22660. <![CDATA[Create a RecordReader with <tt>capacity</tt> children to position
  22661. <tt>id</tt> in the parent reader.
  22662. The id of a root CompositeRecordReader is -1 by convention, but relying
  22663. on this is not recommended.]]>
  22664. </doc>
  22665. </constructor>
  22666. <method name="combine" return="boolean"
  22667. abstract="true" native="false" synchronized="false"
  22668. static="false" final="false" visibility="protected"
  22669. deprecated="not deprecated">
  22670. <param name="srcs" type="java.lang.Object[]"/>
  22671. <param name="value" type="org.apache.hadoop.mapreduce.lib.join.TupleWritable"/>
  22672. </method>
  22673. <method name="initialize"
  22674. abstract="false" native="false" synchronized="false"
  22675. static="false" final="false" visibility="public"
  22676. deprecated="not deprecated">
  22677. <param name="split" type="org.apache.hadoop.mapreduce.InputSplit"/>
  22678. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  22679. <exception name="IOException" type="java.io.IOException"/>
  22680. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  22681. </method>
  22682. <method name="id" return="int"
  22683. abstract="false" native="false" synchronized="false"
  22684. static="false" final="false" visibility="public"
  22685. deprecated="not deprecated">
  22686. <doc>
  22687. <![CDATA[Return the position in the collector this class occupies.]]>
  22688. </doc>
  22689. </method>
  22690. <method name="setConf"
  22691. abstract="false" native="false" synchronized="false"
  22692. static="false" final="false" visibility="public"
  22693. deprecated="not deprecated">
  22694. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  22695. <doc>
  22696. <![CDATA[{@inheritDoc}]]>
  22697. </doc>
  22698. </method>
  22699. <method name="getConf" return="org.apache.hadoop.conf.Configuration"
  22700. abstract="false" native="false" synchronized="false"
  22701. static="false" final="false" visibility="public"
  22702. deprecated="not deprecated">
  22703. <doc>
  22704. <![CDATA[{@inheritDoc}]]>
  22705. </doc>
  22706. </method>
  22707. <method name="getRecordReaderQueue" return="java.util.PriorityQueue"
  22708. abstract="false" native="false" synchronized="false"
  22709. static="false" final="false" visibility="protected"
  22710. deprecated="not deprecated">
  22711. <doc>
  22712. <![CDATA[Return sorted list of RecordReaders for this composite.]]>
  22713. </doc>
  22714. </method>
  22715. <method name="getComparator" return="org.apache.hadoop.io.WritableComparator"
  22716. abstract="false" native="false" synchronized="false"
  22717. static="false" final="false" visibility="protected"
  22718. deprecated="not deprecated">
  22719. <doc>
  22720. <![CDATA[Return comparator defining the ordering for RecordReaders in this
  22721. composite.]]>
  22722. </doc>
  22723. </method>
  22724. <method name="add"
  22725. abstract="false" native="false" synchronized="false"
  22726. static="false" final="false" visibility="public"
  22727. deprecated="not deprecated">
  22728. <param name="rr" type="org.apache.hadoop.mapreduce.lib.join.ComposableRecordReader"/>
  22729. <exception name="IOException" type="java.io.IOException"/>
  22730. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  22731. <doc>
  22732. <![CDATA[Add a RecordReader to this collection.
  22733. The id() of a RecordReader determines where in the Tuple its
  22734. entry will appear. Adding RecordReaders with the same id has
  22735. undefined behavior.]]>
  22736. </doc>
  22737. </method>
  22738. <method name="key" return="K"
  22739. abstract="false" native="false" synchronized="false"
  22740. static="false" final="false" visibility="public"
  22741. deprecated="not deprecated">
  22742. <doc>
  22743. <![CDATA[Return the key for the current join or the value at the top of the
  22744. RecordReader heap.]]>
  22745. </doc>
  22746. </method>
  22747. <method name="key"
  22748. abstract="false" native="false" synchronized="false"
  22749. static="false" final="false" visibility="public"
  22750. deprecated="not deprecated">
  22751. <param name="key" type="K"/>
  22752. <exception name="IOException" type="java.io.IOException"/>
  22753. <doc>
  22754. <![CDATA[Clone the key at the top of this RR into the given object.]]>
  22755. </doc>
  22756. </method>
  22757. <method name="getCurrentKey" return="K"
  22758. abstract="false" native="false" synchronized="false"
  22759. static="false" final="false" visibility="public"
  22760. deprecated="not deprecated">
  22761. </method>
  22762. <method name="hasNext" return="boolean"
  22763. abstract="false" native="false" synchronized="false"
  22764. static="false" final="false" visibility="public"
  22765. deprecated="not deprecated">
  22766. <doc>
  22767. <![CDATA[Return true if it is possible that this could emit more values.]]>
  22768. </doc>
  22769. </method>
  22770. <method name="skip"
  22771. abstract="false" native="false" synchronized="false"
  22772. static="false" final="false" visibility="public"
  22773. deprecated="not deprecated">
  22774. <param name="key" type="K"/>
  22775. <exception name="IOException" type="java.io.IOException"/>
  22776. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  22777. <doc>
  22778. <![CDATA[Pass skip key to child RRs.]]>
  22779. </doc>
  22780. </method>
  22781. <method name="getDelegate" return="org.apache.hadoop.mapreduce.lib.join.ResetableIterator"
  22782. abstract="true" native="false" synchronized="false"
  22783. static="false" final="false" visibility="protected"
  22784. deprecated="not deprecated">
  22785. <doc>
  22786. <![CDATA[Obtain an iterator over the child RRs apropos of the value type
  22787. ultimately emitted from this join.]]>
  22788. </doc>
  22789. </method>
  22790. <method name="accept"
  22791. abstract="false" native="false" synchronized="false"
  22792. static="false" final="false" visibility="public"
  22793. deprecated="not deprecated">
  22794. <param name="jc" type="org.apache.hadoop.mapreduce.lib.join.CompositeRecordReader.JoinCollector"/>
  22795. <param name="key" type="K"/>
  22796. <exception name="IOException" type="java.io.IOException"/>
  22797. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  22798. <doc>
  22799. <![CDATA[If key provided matches that of this Composite, give JoinCollector
  22800. iterator over values it may emit.]]>
  22801. </doc>
  22802. </method>
  22803. <method name="fillJoinCollector"
  22804. abstract="false" native="false" synchronized="false"
  22805. static="false" final="false" visibility="protected"
  22806. deprecated="not deprecated">
  22807. <param name="iterkey" type="K"/>
  22808. <exception name="IOException" type="java.io.IOException"/>
  22809. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  22810. <doc>
  22811. <![CDATA[For all child RRs offering the key provided, obtain an iterator
  22812. at that position in the JoinCollector.]]>
  22813. </doc>
  22814. </method>
  22815. <method name="compareTo" return="int"
  22816. abstract="false" native="false" synchronized="false"
  22817. static="false" final="false" visibility="public"
  22818. deprecated="not deprecated">
  22819. <param name="other" type="org.apache.hadoop.mapreduce.lib.join.ComposableRecordReader"/>
  22820. <doc>
  22821. <![CDATA[Implement Comparable contract (compare key of join or head of heap
  22822. with that of another).]]>
  22823. </doc>
  22824. </method>
  22825. <method name="createKey" return="K"
  22826. abstract="false" native="false" synchronized="false"
  22827. static="false" final="false" visibility="protected"
  22828. deprecated="not deprecated">
  22829. <doc>
  22830. <![CDATA[Create a new key common to all child RRs.
  22831. @throws ClassCastException if key classes differ.]]>
  22832. </doc>
  22833. </method>
  22834. <method name="createTupleWritable" return="org.apache.hadoop.mapreduce.lib.join.TupleWritable"
  22835. abstract="false" native="false" synchronized="false"
  22836. static="false" final="false" visibility="protected"
  22837. deprecated="not deprecated">
  22838. <doc>
  22839. <![CDATA[Create a value to be used internally for joins.]]>
  22840. </doc>
  22841. </method>
  22842. <method name="getCurrentValue" return="X"
  22843. abstract="false" native="false" synchronized="false"
  22844. static="false" final="false" visibility="public"
  22845. deprecated="not deprecated">
  22846. <exception name="IOException" type="java.io.IOException"/>
  22847. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  22848. <doc>
  22849. <![CDATA[{@inheritDoc}]]>
  22850. </doc>
  22851. </method>
  22852. <method name="close"
  22853. abstract="false" native="false" synchronized="false"
  22854. static="false" final="false" visibility="public"
  22855. deprecated="not deprecated">
  22856. <exception name="IOException" type="java.io.IOException"/>
  22857. <doc>
  22858. <![CDATA[Close all child RRs.]]>
  22859. </doc>
  22860. </method>
  22861. <method name="getProgress" return="float"
  22862. abstract="false" native="false" synchronized="false"
  22863. static="false" final="false" visibility="public"
  22864. deprecated="not deprecated">
  22865. <exception name="IOException" type="java.io.IOException"/>
  22866. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  22867. <doc>
  22868. <![CDATA[Report progress as the minimum of all child RR progress.]]>
  22869. </doc>
  22870. </method>
  22871. <field name="conf" type="org.apache.hadoop.conf.Configuration"
  22872. transient="false" volatile="false"
  22873. static="false" final="false" visibility="protected"
  22874. deprecated="not deprecated">
  22875. </field>
  22876. <field name="keyclass" type="java.lang.Class"
  22877. transient="false" volatile="false"
  22878. static="false" final="false" visibility="protected"
  22879. deprecated="not deprecated">
  22880. </field>
  22881. <field name="jc" type="org.apache.hadoop.mapreduce.lib.join.CompositeRecordReader.JoinCollector"
  22882. transient="false" volatile="false"
  22883. static="false" final="true" visibility="protected"
  22884. deprecated="not deprecated">
  22885. </field>
  22886. <field name="kids" type="org.apache.hadoop.mapreduce.lib.join.ComposableRecordReader[]"
  22887. transient="false" volatile="false"
  22888. static="false" final="true" visibility="protected"
  22889. deprecated="not deprecated">
  22890. </field>
  22891. <field name="key" type="K"
  22892. transient="false" volatile="false"
  22893. static="false" final="false" visibility="protected"
  22894. deprecated="not deprecated">
  22895. </field>
  22896. <field name="value" type="X"
  22897. transient="false" volatile="false"
  22898. static="false" final="false" visibility="protected"
  22899. deprecated="not deprecated">
  22900. </field>
  22901. <doc>
  22902. <![CDATA[A RecordReader that can effect joins of RecordReaders sharing a common key
  22903. type and partitioning.]]>
  22904. </doc>
  22905. </class>
  22906. <!-- end class org.apache.hadoop.mapreduce.lib.join.CompositeRecordReader -->
  22907. <!-- start class org.apache.hadoop.mapreduce.lib.join.CompositeRecordReader.JoinCollector -->
  22908. <class name="CompositeRecordReader.JoinCollector" extends="java.lang.Object"
  22909. abstract="false"
  22910. static="false" final="false" visibility="public"
  22911. deprecated="not deprecated">
  22912. <constructor name="CompositeRecordReader.JoinCollector" type="int"
  22913. static="false" final="false" visibility="public"
  22914. deprecated="not deprecated">
  22915. <doc>
  22916. <![CDATA[Construct a collector capable of handling the specified number of
  22917. children.]]>
  22918. </doc>
  22919. </constructor>
  22920. <method name="add"
  22921. abstract="false" native="false" synchronized="false"
  22922. static="false" final="false" visibility="public"
  22923. deprecated="not deprecated">
  22924. <param name="id" type="int"/>
  22925. <param name="i" type="org.apache.hadoop.mapreduce.lib.join.ResetableIterator"/>
  22926. <exception name="IOException" type="java.io.IOException"/>
  22927. <doc>
  22928. <![CDATA[Register a given iterator at position id.]]>
  22929. </doc>
  22930. </method>
  22931. <method name="key" return="K"
  22932. abstract="false" native="false" synchronized="false"
  22933. static="false" final="false" visibility="public"
  22934. deprecated="not deprecated">
  22935. <doc>
  22936. <![CDATA[Return the key associated with this collection.]]>
  22937. </doc>
  22938. </method>
  22939. <method name="reset"
  22940. abstract="false" native="false" synchronized="false"
  22941. static="false" final="false" visibility="public"
  22942. deprecated="not deprecated">
  22943. <param name="key" type="K"/>
  22944. <doc>
  22945. <![CDATA[Codify the contents of the collector to be iterated over.
  22946. When this is called, all RecordReaders registered for this
  22947. key should have added ResetableIterators.]]>
  22948. </doc>
  22949. </method>
  22950. <method name="clear"
  22951. abstract="false" native="false" synchronized="false"
  22952. static="false" final="false" visibility="public"
  22953. deprecated="not deprecated">
  22954. <doc>
  22955. <![CDATA[Clear all state information.]]>
  22956. </doc>
  22957. </method>
  22958. <method name="hasNext" return="boolean"
  22959. abstract="false" native="false" synchronized="false"
  22960. static="false" final="false" visibility="public"
  22961. deprecated="not deprecated">
  22962. <doc>
  22963. <![CDATA[Returns false if exhausted or if reset(K) has not been called.]]>
  22964. </doc>
  22965. </method>
  22966. <method name="next" return="boolean"
  22967. abstract="false" native="false" synchronized="false"
  22968. static="false" final="false" visibility="protected"
  22969. deprecated="not deprecated">
  22970. <param name="val" type="org.apache.hadoop.mapreduce.lib.join.TupleWritable"/>
  22971. <exception name="IOException" type="java.io.IOException"/>
  22972. <doc>
  22973. <![CDATA[Populate Tuple from iterators.
  22974. It should be the case that, given iterators i_1...i_n over values from
  22975. sources s_1...s_n sharing key k, repeated calls to next should yield
  22976. I x I.]]>
  22977. </doc>
  22978. </method>
  22979. <method name="replay" return="boolean"
  22980. abstract="false" native="false" synchronized="false"
  22981. static="false" final="false" visibility="public"
  22982. deprecated="not deprecated">
  22983. <param name="val" type="org.apache.hadoop.mapreduce.lib.join.TupleWritable"/>
  22984. <exception name="IOException" type="java.io.IOException"/>
  22985. <doc>
  22986. <![CDATA[Replay the last Tuple emitted.]]>
  22987. </doc>
  22988. </method>
  22989. <method name="close"
  22990. abstract="false" native="false" synchronized="false"
  22991. static="false" final="false" visibility="public"
  22992. deprecated="not deprecated">
  22993. <exception name="IOException" type="java.io.IOException"/>
  22994. <doc>
  22995. <![CDATA[Close all child iterators.]]>
  22996. </doc>
  22997. </method>
  22998. <method name="flush" return="boolean"
  22999. abstract="false" native="false" synchronized="false"
  23000. static="false" final="false" visibility="public"
  23001. deprecated="not deprecated">
  23002. <param name="value" type="org.apache.hadoop.mapreduce.lib.join.TupleWritable"/>
  23003. <exception name="IOException" type="java.io.IOException"/>
  23004. <doc>
  23005. <![CDATA[Write the next value into key, value as accepted by the operation
  23006. associated with this set of RecordReaders.]]>
  23007. </doc>
  23008. </method>
  23009. <doc>
  23010. <![CDATA[Collector for join values.
  23011. This accumulates values for a given key from the child RecordReaders. If
  23012. one or more child RR contain duplicate keys, this will emit the cross
  23013. product of the associated values until exhausted.]]>
  23014. </doc>
  23015. </class>
  23016. <!-- end class org.apache.hadoop.mapreduce.lib.join.CompositeRecordReader.JoinCollector -->
  23017. <!-- start class org.apache.hadoop.mapreduce.lib.join.InnerJoinRecordReader -->
  23018. <class name="InnerJoinRecordReader" extends="org.apache.hadoop.mapreduce.lib.join.JoinRecordReader"
  23019. abstract="false"
  23020. static="false" final="false" visibility="public"
  23021. deprecated="not deprecated">
  23022. <method name="combine" return="boolean"
  23023. abstract="false" native="false" synchronized="false"
  23024. static="false" final="false" visibility="protected"
  23025. deprecated="not deprecated">
  23026. <param name="srcs" type="java.lang.Object[]"/>
  23027. <param name="dst" type="org.apache.hadoop.mapreduce.lib.join.TupleWritable"/>
  23028. <doc>
  23029. <![CDATA[Return true iff the tuple is full (all data sources contain this key).]]>
  23030. </doc>
  23031. </method>
  23032. <doc>
  23033. <![CDATA[Full inner join.]]>
  23034. </doc>
  23035. </class>
  23036. <!-- end class org.apache.hadoop.mapreduce.lib.join.InnerJoinRecordReader -->
  23037. <!-- start class org.apache.hadoop.mapreduce.lib.join.JoinRecordReader -->
  23038. <class name="JoinRecordReader" extends="org.apache.hadoop.mapreduce.lib.join.CompositeRecordReader"
  23039. abstract="true"
  23040. static="false" final="false" visibility="public"
  23041. deprecated="not deprecated">
  23042. <constructor name="JoinRecordReader" type="int, org.apache.hadoop.conf.Configuration, int, java.lang.Class"
  23043. static="false" final="false" visibility="public"
  23044. deprecated="not deprecated">
  23045. <exception name="IOException" type="java.io.IOException"/>
  23046. </constructor>
  23047. <method name="nextKeyValue" return="boolean"
  23048. abstract="false" native="false" synchronized="false"
  23049. static="false" final="false" visibility="public"
  23050. deprecated="not deprecated">
  23051. <exception name="IOException" type="java.io.IOException"/>
  23052. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  23053. <doc>
  23054. <![CDATA[Emit the next set of key, value pairs as defined by the child
  23055. RecordReaders and operation associated with this composite RR.]]>
  23056. </doc>
  23057. </method>
  23058. <method name="createValue" return="org.apache.hadoop.mapreduce.lib.join.TupleWritable"
  23059. abstract="false" native="false" synchronized="false"
  23060. static="false" final="false" visibility="public"
  23061. deprecated="not deprecated">
  23062. </method>
  23063. <method name="getDelegate" return="org.apache.hadoop.mapreduce.lib.join.ResetableIterator"
  23064. abstract="false" native="false" synchronized="false"
  23065. static="false" final="false" visibility="protected"
  23066. deprecated="not deprecated">
  23067. <doc>
  23068. <![CDATA[Return an iterator wrapping the JoinCollector.]]>
  23069. </doc>
  23070. </method>
  23071. <doc>
  23072. <![CDATA[Base class for Composite joins returning Tuples of arbitrary Writables.]]>
  23073. </doc>
  23074. </class>
  23075. <!-- end class org.apache.hadoop.mapreduce.lib.join.JoinRecordReader -->
  23076. <!-- start class org.apache.hadoop.mapreduce.lib.join.JoinRecordReader.JoinDelegationIterator -->
  23077. <class name="JoinRecordReader.JoinDelegationIterator" extends="java.lang.Object"
  23078. abstract="false"
  23079. static="false" final="false" visibility="protected"
  23080. deprecated="not deprecated">
  23081. <implements name="org.apache.hadoop.mapreduce.lib.join.ResetableIterator"/>
  23082. <constructor name="JoinRecordReader.JoinDelegationIterator"
  23083. static="false" final="false" visibility="protected"
  23084. deprecated="not deprecated">
  23085. </constructor>
  23086. <method name="hasNext" return="boolean"
  23087. abstract="false" native="false" synchronized="false"
  23088. static="false" final="false" visibility="public"
  23089. deprecated="not deprecated">
  23090. </method>
  23091. <method name="next" return="boolean"
  23092. abstract="false" native="false" synchronized="false"
  23093. static="false" final="false" visibility="public"
  23094. deprecated="not deprecated">
  23095. <param name="val" type="org.apache.hadoop.mapreduce.lib.join.TupleWritable"/>
  23096. <exception name="IOException" type="java.io.IOException"/>
  23097. </method>
  23098. <method name="replay" return="boolean"
  23099. abstract="false" native="false" synchronized="false"
  23100. static="false" final="false" visibility="public"
  23101. deprecated="not deprecated">
  23102. <param name="val" type="org.apache.hadoop.mapreduce.lib.join.TupleWritable"/>
  23103. <exception name="IOException" type="java.io.IOException"/>
  23104. </method>
  23105. <method name="reset"
  23106. abstract="false" native="false" synchronized="false"
  23107. static="false" final="false" visibility="public"
  23108. deprecated="not deprecated">
  23109. </method>
  23110. <method name="add"
  23111. abstract="false" native="false" synchronized="false"
  23112. static="false" final="false" visibility="public"
  23113. deprecated="not deprecated">
  23114. <param name="item" type="org.apache.hadoop.mapreduce.lib.join.TupleWritable"/>
  23115. <exception name="IOException" type="java.io.IOException"/>
  23116. </method>
  23117. <method name="close"
  23118. abstract="false" native="false" synchronized="false"
  23119. static="false" final="false" visibility="public"
  23120. deprecated="not deprecated">
  23121. <exception name="IOException" type="java.io.IOException"/>
  23122. </method>
  23123. <method name="clear"
  23124. abstract="false" native="false" synchronized="false"
  23125. static="false" final="false" visibility="public"
  23126. deprecated="not deprecated">
  23127. </method>
  23128. <doc>
  23129. <![CDATA[Since the JoinCollector is effecting our operation, we need only
  23130. provide an iterator proxy wrapping its operation.]]>
  23131. </doc>
  23132. </class>
  23133. <!-- end class org.apache.hadoop.mapreduce.lib.join.JoinRecordReader.JoinDelegationIterator -->
  23134. <!-- start class org.apache.hadoop.mapreduce.lib.join.MultiFilterRecordReader -->
  23135. <class name="MultiFilterRecordReader" extends="org.apache.hadoop.mapreduce.lib.join.CompositeRecordReader"
  23136. abstract="true"
  23137. static="false" final="false" visibility="public"
  23138. deprecated="not deprecated">
  23139. <constructor name="MultiFilterRecordReader" type="int, org.apache.hadoop.conf.Configuration, int, java.lang.Class"
  23140. static="false" final="false" visibility="public"
  23141. deprecated="not deprecated">
  23142. <exception name="IOException" type="java.io.IOException"/>
  23143. </constructor>
  23144. <method name="emit" return="V"
  23145. abstract="true" native="false" synchronized="false"
  23146. static="false" final="false" visibility="protected"
  23147. deprecated="not deprecated">
  23148. <param name="dst" type="org.apache.hadoop.mapreduce.lib.join.TupleWritable"/>
  23149. <exception name="IOException" type="java.io.IOException"/>
  23150. <doc>
  23151. <![CDATA[For each tuple emitted, return a value (typically one of the values
  23152. in the tuple).
  23153. Modifying the Writables in the tuple is permitted and unlikely to affect
  23154. join behavior in most cases, but it is not recommended. It's safer to
  23155. clone first.]]>
  23156. </doc>
  23157. </method>
  23158. <method name="combine" return="boolean"
  23159. abstract="false" native="false" synchronized="false"
  23160. static="false" final="false" visibility="protected"
  23161. deprecated="not deprecated">
  23162. <param name="srcs" type="java.lang.Object[]"/>
  23163. <param name="dst" type="org.apache.hadoop.mapreduce.lib.join.TupleWritable"/>
  23164. <doc>
  23165. <![CDATA[Default implementation offers {@link #emit} every Tuple from the
  23166. collector (the outer join of child RRs).]]>
  23167. </doc>
  23168. </method>
  23169. <method name="nextKeyValue" return="boolean"
  23170. abstract="false" native="false" synchronized="false"
  23171. static="false" final="false" visibility="public"
  23172. deprecated="not deprecated">
  23173. <exception name="IOException" type="java.io.IOException"/>
  23174. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  23175. <doc>
  23176. <![CDATA[{@inheritDoc}]]>
  23177. </doc>
  23178. </method>
  23179. <method name="initialize"
  23180. abstract="false" native="false" synchronized="false"
  23181. static="false" final="false" visibility="public"
  23182. deprecated="not deprecated">
  23183. <param name="split" type="org.apache.hadoop.mapreduce.InputSplit"/>
  23184. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  23185. <exception name="IOException" type="java.io.IOException"/>
  23186. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  23187. </method>
  23188. <method name="getDelegate" return="org.apache.hadoop.mapreduce.lib.join.ResetableIterator"
  23189. abstract="false" native="false" synchronized="false"
  23190. static="false" final="false" visibility="protected"
  23191. deprecated="not deprecated">
  23192. <doc>
  23193. <![CDATA[Return an iterator returning a single value from the tuple.
  23194. @see MultiFilterDelegationIterator]]>
  23195. </doc>
  23196. </method>
  23197. <doc>
  23198. <![CDATA[Base class for Composite join returning values derived from multiple
  23199. sources, but generally not tuples.]]>
  23200. </doc>
  23201. </class>
  23202. <!-- end class org.apache.hadoop.mapreduce.lib.join.MultiFilterRecordReader -->
  23203. <!-- start class org.apache.hadoop.mapreduce.lib.join.MultiFilterRecordReader.MultiFilterDelegationIterator -->
  23204. <class name="MultiFilterRecordReader.MultiFilterDelegationIterator" extends="java.lang.Object"
  23205. abstract="false"
  23206. static="false" final="false" visibility="protected"
  23207. deprecated="not deprecated">
  23208. <implements name="org.apache.hadoop.mapreduce.lib.join.ResetableIterator"/>
  23209. <constructor name="MultiFilterRecordReader.MultiFilterDelegationIterator"
  23210. static="false" final="false" visibility="protected"
  23211. deprecated="not deprecated">
  23212. </constructor>
  23213. <method name="hasNext" return="boolean"
  23214. abstract="false" native="false" synchronized="false"
  23215. static="false" final="false" visibility="public"
  23216. deprecated="not deprecated">
  23217. </method>
  23218. <method name="next" return="boolean"
  23219. abstract="false" native="false" synchronized="false"
  23220. static="false" final="false" visibility="public"
  23221. deprecated="not deprecated">
  23222. <param name="val" type="V"/>
  23223. <exception name="IOException" type="java.io.IOException"/>
  23224. </method>
  23225. <method name="replay" return="boolean"
  23226. abstract="false" native="false" synchronized="false"
  23227. static="false" final="false" visibility="public"
  23228. deprecated="not deprecated">
  23229. <param name="val" type="V"/>
  23230. <exception name="IOException" type="java.io.IOException"/>
  23231. </method>
  23232. <method name="reset"
  23233. abstract="false" native="false" synchronized="false"
  23234. static="false" final="false" visibility="public"
  23235. deprecated="not deprecated">
  23236. </method>
  23237. <method name="add"
  23238. abstract="false" native="false" synchronized="false"
  23239. static="false" final="false" visibility="public"
  23240. deprecated="not deprecated">
  23241. <param name="item" type="V"/>
  23242. <exception name="IOException" type="java.io.IOException"/>
  23243. </method>
  23244. <method name="close"
  23245. abstract="false" native="false" synchronized="false"
  23246. static="false" final="false" visibility="public"
  23247. deprecated="not deprecated">
  23248. <exception name="IOException" type="java.io.IOException"/>
  23249. </method>
  23250. <method name="clear"
  23251. abstract="false" native="false" synchronized="false"
  23252. static="false" final="false" visibility="public"
  23253. deprecated="not deprecated">
  23254. </method>
  23255. <doc>
  23256. <![CDATA[Proxy the JoinCollector, but include callback to emit.]]>
  23257. </doc>
  23258. </class>
  23259. <!-- end class org.apache.hadoop.mapreduce.lib.join.MultiFilterRecordReader.MultiFilterDelegationIterator -->
  23260. <!-- start class org.apache.hadoop.mapreduce.lib.join.OuterJoinRecordReader -->
  23261. <class name="OuterJoinRecordReader" extends="org.apache.hadoop.mapreduce.lib.join.JoinRecordReader"
  23262. abstract="false"
  23263. static="false" final="false" visibility="public"
  23264. deprecated="not deprecated">
  23265. <method name="combine" return="boolean"
  23266. abstract="false" native="false" synchronized="false"
  23267. static="false" final="false" visibility="protected"
  23268. deprecated="not deprecated">
  23269. <param name="srcs" type="java.lang.Object[]"/>
  23270. <param name="dst" type="org.apache.hadoop.mapreduce.lib.join.TupleWritable"/>
  23271. <doc>
  23272. <![CDATA[Emit everything from the collector.]]>
  23273. </doc>
  23274. </method>
  23275. <doc>
  23276. <![CDATA[Full outer join.]]>
  23277. </doc>
  23278. </class>
  23279. <!-- end class org.apache.hadoop.mapreduce.lib.join.OuterJoinRecordReader -->
  23280. <!-- start class org.apache.hadoop.mapreduce.lib.join.OverrideRecordReader -->
  23281. <class name="OverrideRecordReader" extends="org.apache.hadoop.mapreduce.lib.join.MultiFilterRecordReader"
  23282. abstract="false"
  23283. static="false" final="false" visibility="public"
  23284. deprecated="not deprecated">
  23285. <method name="emit" return="V"
  23286. abstract="false" native="false" synchronized="false"
  23287. static="false" final="false" visibility="protected"
  23288. deprecated="not deprecated">
  23289. <param name="dst" type="org.apache.hadoop.mapreduce.lib.join.TupleWritable"/>
  23290. <doc>
  23291. <![CDATA[Emit the value with the highest position in the tuple.]]>
  23292. </doc>
  23293. </method>
  23294. <method name="createValue" return="V"
  23295. abstract="false" native="false" synchronized="false"
  23296. static="false" final="false" visibility="public"
  23297. deprecated="not deprecated">
  23298. </method>
  23299. <method name="fillJoinCollector"
  23300. abstract="false" native="false" synchronized="false"
  23301. static="false" final="false" visibility="protected"
  23302. deprecated="not deprecated">
  23303. <param name="iterkey" type="K"/>
  23304. <exception name="IOException" type="java.io.IOException"/>
  23305. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  23306. <doc>
  23307. <![CDATA[Instead of filling the JoinCollector with iterators from all
  23308. data sources, fill only the rightmost for this key.
  23309. This not only saves space by discarding the other sources, but
  23310. it also emits the number of key-value pairs in the preferred
  23311. RecordReader instead of repeating that stream n times, where
  23312. n is the cardinality of the cross product of the discarded
  23313. streams for the given key.]]>
  23314. </doc>
  23315. </method>
  23316. <doc>
  23317. <![CDATA[Prefer the &quot;rightmost&quot; data source for this key.
  23318. For example, <tt>override(S1,S2,S3)</tt> will prefer values
  23319. from S3 over S2, and values from S2 over S1 for all keys
  23320. emitted from all sources.]]>
  23321. </doc>
  23322. </class>
  23323. <!-- end class org.apache.hadoop.mapreduce.lib.join.OverrideRecordReader -->
  23324. <!-- start class org.apache.hadoop.mapreduce.lib.join.Parser -->
  23325. <class name="Parser" extends="java.lang.Object"
  23326. abstract="false"
  23327. static="false" final="false" visibility="public"
  23328. deprecated="not deprecated">
  23329. <constructor name="Parser"
  23330. static="false" final="false" visibility="public"
  23331. deprecated="not deprecated">
  23332. </constructor>
  23333. <doc>
  23334. <![CDATA[Very simple shift-reduce parser for join expressions.
  23335. This should be sufficient for the user extension permitted now, but ought to
  23336. be replaced with a parser generator if more complex grammars are supported.
  23337. In particular, this &quot;shift-reduce&quot; parser has no states. Each set
  23338. of formals requires a different internal node type, which is responsible for
  23339. interpreting the list of tokens it receives. This is sufficient for the
  23340. current grammar, but it has several annoying properties that might inhibit
  23341. extension. In particular, parenthesis are always function calls; an
  23342. algebraic or filter grammar would not only require a node type, but must
  23343. also work around the internals of this parser.
  23344. For most other cases, adding classes to the hierarchy- particularly by
  23345. extending JoinRecordReader and MultiFilterRecordReader- is fairly
  23346. straightforward. One need only override the relevant method(s) (usually only
  23347. {@link CompositeRecordReader#combine}) and include a property to map its
  23348. value to an identifier in the parser.]]>
  23349. </doc>
  23350. </class>
  23351. <!-- end class org.apache.hadoop.mapreduce.lib.join.Parser -->
  23352. <!-- start class org.apache.hadoop.mapreduce.lib.join.Parser.Node -->
  23353. <class name="Parser.Node" extends="org.apache.hadoop.mapreduce.lib.join.ComposableInputFormat"
  23354. abstract="true"
  23355. static="true" final="false" visibility="public"
  23356. deprecated="not deprecated">
  23357. <constructor name="Parser.Node" type="java.lang.String"
  23358. static="false" final="false" visibility="protected"
  23359. deprecated="not deprecated">
  23360. </constructor>
  23361. <method name="addIdentifier"
  23362. abstract="false" native="false" synchronized="false"
  23363. static="true" final="false" visibility="protected"
  23364. deprecated="not deprecated">
  23365. <param name="ident" type="java.lang.String"/>
  23366. <param name="mcstrSig" type="java.lang.Class[]"/>
  23367. <param name="nodetype" type="java.lang.Class"/>
  23368. <param name="cl" type="java.lang.Class"/>
  23369. <exception name="NoSuchMethodException" type="java.lang.NoSuchMethodException"/>
  23370. <doc>
  23371. <![CDATA[For a given identifier, add a mapping to the nodetype for the parse
  23372. tree and to the ComposableRecordReader to be created, including the
  23373. formals required to invoke the constructor.
  23374. The nodetype and constructor signature should be filled in from the
  23375. child node.]]>
  23376. </doc>
  23377. </method>
  23378. <method name="setID"
  23379. abstract="false" native="false" synchronized="false"
  23380. static="false" final="false" visibility="protected"
  23381. deprecated="not deprecated">
  23382. <param name="id" type="int"/>
  23383. </method>
  23384. <method name="setKeyComparator"
  23385. abstract="false" native="false" synchronized="false"
  23386. static="false" final="false" visibility="protected"
  23387. deprecated="not deprecated">
  23388. <param name="cmpcl" type="java.lang.Class"/>
  23389. </method>
  23390. <field name="rrCstrMap" type="java.util.Map"
  23391. transient="false" volatile="false"
  23392. static="true" final="true" visibility="protected"
  23393. deprecated="not deprecated">
  23394. </field>
  23395. <field name="id" type="int"
  23396. transient="false" volatile="false"
  23397. static="false" final="false" visibility="protected"
  23398. deprecated="not deprecated">
  23399. </field>
  23400. <field name="ident" type="java.lang.String"
  23401. transient="false" volatile="false"
  23402. static="false" final="false" visibility="protected"
  23403. deprecated="not deprecated">
  23404. </field>
  23405. <field name="cmpcl" type="java.lang.Class"
  23406. transient="false" volatile="false"
  23407. static="false" final="false" visibility="protected"
  23408. deprecated="not deprecated">
  23409. </field>
  23410. </class>
  23411. <!-- end class org.apache.hadoop.mapreduce.lib.join.Parser.Node -->
  23412. <!-- start class org.apache.hadoop.mapreduce.lib.join.Parser.NodeToken -->
  23413. <class name="Parser.NodeToken" extends="org.apache.hadoop.mapreduce.lib.join.Parser.Token"
  23414. abstract="false"
  23415. static="true" final="false" visibility="public"
  23416. deprecated="not deprecated">
  23417. <method name="getNode" return="org.apache.hadoop.mapreduce.lib.join.Parser.Node"
  23418. abstract="false" native="false" synchronized="false"
  23419. static="false" final="false" visibility="public"
  23420. deprecated="not deprecated">
  23421. </method>
  23422. </class>
  23423. <!-- end class org.apache.hadoop.mapreduce.lib.join.Parser.NodeToken -->
  23424. <!-- start class org.apache.hadoop.mapreduce.lib.join.Parser.NumToken -->
  23425. <class name="Parser.NumToken" extends="org.apache.hadoop.mapreduce.lib.join.Parser.Token"
  23426. abstract="false"
  23427. static="true" final="false" visibility="public"
  23428. deprecated="not deprecated">
  23429. <constructor name="Parser.NumToken" type="double"
  23430. static="false" final="false" visibility="public"
  23431. deprecated="not deprecated">
  23432. </constructor>
  23433. <method name="getNum" return="double"
  23434. abstract="false" native="false" synchronized="false"
  23435. static="false" final="false" visibility="public"
  23436. deprecated="not deprecated">
  23437. </method>
  23438. </class>
  23439. <!-- end class org.apache.hadoop.mapreduce.lib.join.Parser.NumToken -->
  23440. <!-- start class org.apache.hadoop.mapreduce.lib.join.Parser.StrToken -->
  23441. <class name="Parser.StrToken" extends="org.apache.hadoop.mapreduce.lib.join.Parser.Token"
  23442. abstract="false"
  23443. static="true" final="false" visibility="public"
  23444. deprecated="not deprecated">
  23445. <constructor name="Parser.StrToken" type="org.apache.hadoop.mapreduce.lib.join.Parser.TType, java.lang.String"
  23446. static="false" final="false" visibility="public"
  23447. deprecated="not deprecated">
  23448. </constructor>
  23449. <method name="getStr" return="java.lang.String"
  23450. abstract="false" native="false" synchronized="false"
  23451. static="false" final="false" visibility="public"
  23452. deprecated="not deprecated">
  23453. </method>
  23454. </class>
  23455. <!-- end class org.apache.hadoop.mapreduce.lib.join.Parser.StrToken -->
  23456. <!-- start class org.apache.hadoop.mapreduce.lib.join.Parser.Token -->
  23457. <class name="Parser.Token" extends="java.lang.Object"
  23458. abstract="false"
  23459. static="true" final="false" visibility="public"
  23460. deprecated="not deprecated">
  23461. <method name="getType" return="org.apache.hadoop.mapreduce.lib.join.Parser.TType"
  23462. abstract="false" native="false" synchronized="false"
  23463. static="false" final="false" visibility="public"
  23464. deprecated="not deprecated">
  23465. </method>
  23466. <method name="getNode" return="org.apache.hadoop.mapreduce.lib.join.Parser.Node"
  23467. abstract="false" native="false" synchronized="false"
  23468. static="false" final="false" visibility="public"
  23469. deprecated="not deprecated">
  23470. <exception name="IOException" type="java.io.IOException"/>
  23471. </method>
  23472. <method name="getNum" return="double"
  23473. abstract="false" native="false" synchronized="false"
  23474. static="false" final="false" visibility="public"
  23475. deprecated="not deprecated">
  23476. <exception name="IOException" type="java.io.IOException"/>
  23477. </method>
  23478. <method name="getStr" return="java.lang.String"
  23479. abstract="false" native="false" synchronized="false"
  23480. static="false" final="false" visibility="public"
  23481. deprecated="not deprecated">
  23482. <exception name="IOException" type="java.io.IOException"/>
  23483. </method>
  23484. <doc>
  23485. <![CDATA[Tagged-union type for tokens from the join expression.
  23486. @see Parser.TType]]>
  23487. </doc>
  23488. </class>
  23489. <!-- end class org.apache.hadoop.mapreduce.lib.join.Parser.Token -->
  23490. <!-- start class org.apache.hadoop.mapreduce.lib.join.Parser.TType -->
  23491. <class name="Parser.TType" extends="java.lang.Enum"
  23492. abstract="false"
  23493. static="true" final="true" visibility="public"
  23494. deprecated="not deprecated">
  23495. <method name="values" return="org.apache.hadoop.mapreduce.lib.join.Parser.TType[]"
  23496. abstract="false" native="false" synchronized="false"
  23497. static="true" final="false" visibility="public"
  23498. deprecated="not deprecated">
  23499. </method>
  23500. <method name="valueOf" return="org.apache.hadoop.mapreduce.lib.join.Parser.TType"
  23501. abstract="false" native="false" synchronized="false"
  23502. static="true" final="false" visibility="public"
  23503. deprecated="not deprecated">
  23504. <param name="name" type="java.lang.String"/>
  23505. </method>
  23506. </class>
  23507. <!-- end class org.apache.hadoop.mapreduce.lib.join.Parser.TType -->
  23508. <!-- start interface org.apache.hadoop.mapreduce.lib.join.ResetableIterator -->
  23509. <interface name="ResetableIterator" abstract="true"
  23510. static="false" final="false" visibility="public"
  23511. deprecated="not deprecated">
  23512. <method name="hasNext" return="boolean"
  23513. abstract="false" native="false" synchronized="false"
  23514. static="false" final="false" visibility="public"
  23515. deprecated="not deprecated">
  23516. <doc>
  23517. <![CDATA[True if a call to next may return a value. This is permitted false
  23518. positives, but not false negatives.]]>
  23519. </doc>
  23520. </method>
  23521. <method name="next" return="boolean"
  23522. abstract="false" native="false" synchronized="false"
  23523. static="false" final="false" visibility="public"
  23524. deprecated="not deprecated">
  23525. <param name="val" type="T"/>
  23526. <exception name="IOException" type="java.io.IOException"/>
  23527. <doc>
  23528. <![CDATA[Assign next value to actual.
  23529. It is required that elements added to a ResetableIterator be returned in
  23530. the same order after a call to {@link #reset} (FIFO).
  23531. Note that a call to this may fail for nested joins (i.e. more elements
  23532. available, but none satisfying the constraints of the join)]]>
  23533. </doc>
  23534. </method>
  23535. <method name="replay" return="boolean"
  23536. abstract="false" native="false" synchronized="false"
  23537. static="false" final="false" visibility="public"
  23538. deprecated="not deprecated">
  23539. <param name="val" type="T"/>
  23540. <exception name="IOException" type="java.io.IOException"/>
  23541. <doc>
  23542. <![CDATA[Assign last value returned to actual.]]>
  23543. </doc>
  23544. </method>
  23545. <method name="reset"
  23546. abstract="false" native="false" synchronized="false"
  23547. static="false" final="false" visibility="public"
  23548. deprecated="not deprecated">
  23549. <doc>
  23550. <![CDATA[Set iterator to return to the start of its range. Must be called after
  23551. calling {@link #add} to avoid a ConcurrentModificationException.]]>
  23552. </doc>
  23553. </method>
  23554. <method name="add"
  23555. abstract="false" native="false" synchronized="false"
  23556. static="false" final="false" visibility="public"
  23557. deprecated="not deprecated">
  23558. <param name="item" type="T"/>
  23559. <exception name="IOException" type="java.io.IOException"/>
  23560. <doc>
  23561. <![CDATA[Add an element to the collection of elements to iterate over.]]>
  23562. </doc>
  23563. </method>
  23564. <method name="close"
  23565. abstract="false" native="false" synchronized="false"
  23566. static="false" final="false" visibility="public"
  23567. deprecated="not deprecated">
  23568. <exception name="IOException" type="java.io.IOException"/>
  23569. <doc>
  23570. <![CDATA[Close datasources and release resources. Calling methods on the iterator
  23571. after calling close has undefined behavior.]]>
  23572. </doc>
  23573. </method>
  23574. <method name="clear"
  23575. abstract="false" native="false" synchronized="false"
  23576. static="false" final="false" visibility="public"
  23577. deprecated="not deprecated">
  23578. <doc>
  23579. <![CDATA[Close datasources, but do not release internal resources. Calling this
  23580. method should permit the object to be reused with a different datasource.]]>
  23581. </doc>
  23582. </method>
  23583. <doc>
  23584. <![CDATA[This defines an interface to a stateful Iterator that can replay elements
  23585. added to it directly.
  23586. Note that this does not extend {@link java.util.Iterator}.]]>
  23587. </doc>
  23588. </interface>
  23589. <!-- end interface org.apache.hadoop.mapreduce.lib.join.ResetableIterator -->
  23590. <!-- start class org.apache.hadoop.mapreduce.lib.join.ResetableIterator.EMPTY -->
  23591. <class name="ResetableIterator.EMPTY" extends="java.lang.Object"
  23592. abstract="false"
  23593. static="true" final="false" visibility="public"
  23594. deprecated="not deprecated">
  23595. <implements name="org.apache.hadoop.mapreduce.lib.join.ResetableIterator"/>
  23596. <constructor name="ResetableIterator.EMPTY"
  23597. static="false" final="false" visibility="public"
  23598. deprecated="not deprecated">
  23599. </constructor>
  23600. <method name="hasNext" return="boolean"
  23601. abstract="false" native="false" synchronized="false"
  23602. static="false" final="false" visibility="public"
  23603. deprecated="not deprecated">
  23604. </method>
  23605. <method name="reset"
  23606. abstract="false" native="false" synchronized="false"
  23607. static="false" final="false" visibility="public"
  23608. deprecated="not deprecated">
  23609. </method>
  23610. <method name="close"
  23611. abstract="false" native="false" synchronized="false"
  23612. static="false" final="false" visibility="public"
  23613. deprecated="not deprecated">
  23614. <exception name="IOException" type="java.io.IOException"/>
  23615. </method>
  23616. <method name="clear"
  23617. abstract="false" native="false" synchronized="false"
  23618. static="false" final="false" visibility="public"
  23619. deprecated="not deprecated">
  23620. </method>
  23621. <method name="next" return="boolean"
  23622. abstract="false" native="false" synchronized="false"
  23623. static="false" final="false" visibility="public"
  23624. deprecated="not deprecated">
  23625. <param name="val" type="U"/>
  23626. <exception name="IOException" type="java.io.IOException"/>
  23627. </method>
  23628. <method name="replay" return="boolean"
  23629. abstract="false" native="false" synchronized="false"
  23630. static="false" final="false" visibility="public"
  23631. deprecated="not deprecated">
  23632. <param name="val" type="U"/>
  23633. <exception name="IOException" type="java.io.IOException"/>
  23634. </method>
  23635. <method name="add"
  23636. abstract="false" native="false" synchronized="false"
  23637. static="false" final="false" visibility="public"
  23638. deprecated="not deprecated">
  23639. <param name="item" type="U"/>
  23640. <exception name="IOException" type="java.io.IOException"/>
  23641. </method>
  23642. </class>
  23643. <!-- end class org.apache.hadoop.mapreduce.lib.join.ResetableIterator.EMPTY -->
  23644. <!-- start class org.apache.hadoop.mapreduce.lib.join.StreamBackedIterator -->
  23645. <class name="StreamBackedIterator" extends="java.lang.Object"
  23646. abstract="false"
  23647. static="false" final="false" visibility="public"
  23648. deprecated="not deprecated">
  23649. <implements name="org.apache.hadoop.mapreduce.lib.join.ResetableIterator"/>
  23650. <constructor name="StreamBackedIterator"
  23651. static="false" final="false" visibility="public"
  23652. deprecated="not deprecated">
  23653. </constructor>
  23654. <method name="hasNext" return="boolean"
  23655. abstract="false" native="false" synchronized="false"
  23656. static="false" final="false" visibility="public"
  23657. deprecated="not deprecated">
  23658. </method>
  23659. <method name="next" return="boolean"
  23660. abstract="false" native="false" synchronized="false"
  23661. static="false" final="false" visibility="public"
  23662. deprecated="not deprecated">
  23663. <param name="val" type="X"/>
  23664. <exception name="IOException" type="java.io.IOException"/>
  23665. </method>
  23666. <method name="replay" return="boolean"
  23667. abstract="false" native="false" synchronized="false"
  23668. static="false" final="false" visibility="public"
  23669. deprecated="not deprecated">
  23670. <param name="val" type="X"/>
  23671. <exception name="IOException" type="java.io.IOException"/>
  23672. </method>
  23673. <method name="reset"
  23674. abstract="false" native="false" synchronized="false"
  23675. static="false" final="false" visibility="public"
  23676. deprecated="not deprecated">
  23677. </method>
  23678. <method name="add"
  23679. abstract="false" native="false" synchronized="false"
  23680. static="false" final="false" visibility="public"
  23681. deprecated="not deprecated">
  23682. <param name="item" type="X"/>
  23683. <exception name="IOException" type="java.io.IOException"/>
  23684. </method>
  23685. <method name="close"
  23686. abstract="false" native="false" synchronized="false"
  23687. static="false" final="false" visibility="public"
  23688. deprecated="not deprecated">
  23689. <exception name="IOException" type="java.io.IOException"/>
  23690. </method>
  23691. <method name="clear"
  23692. abstract="false" native="false" synchronized="false"
  23693. static="false" final="false" visibility="public"
  23694. deprecated="not deprecated">
  23695. </method>
  23696. <doc>
  23697. <![CDATA[This class provides an implementation of ResetableIterator. This
  23698. implementation uses a byte array to store elements added to it.]]>
  23699. </doc>
  23700. </class>
  23701. <!-- end class org.apache.hadoop.mapreduce.lib.join.StreamBackedIterator -->
  23702. <!-- start class org.apache.hadoop.mapreduce.lib.join.TupleWritable -->
  23703. <class name="TupleWritable" extends="java.lang.Object"
  23704. abstract="false"
  23705. static="false" final="false" visibility="public"
  23706. deprecated="not deprecated">
  23707. <implements name="org.apache.hadoop.io.Writable"/>
  23708. <implements name="java.lang.Iterable"/>
  23709. <constructor name="TupleWritable"
  23710. static="false" final="false" visibility="public"
  23711. deprecated="not deprecated">
  23712. <doc>
  23713. <![CDATA[Create an empty tuple with no allocated storage for writables.]]>
  23714. </doc>
  23715. </constructor>
  23716. <constructor name="TupleWritable" type="org.apache.hadoop.io.Writable[]"
  23717. static="false" final="false" visibility="public"
  23718. deprecated="not deprecated">
  23719. <doc>
  23720. <![CDATA[Initialize tuple with storage; unknown whether any of them contain
  23721. &quot;written&quot; values.]]>
  23722. </doc>
  23723. </constructor>
  23724. <method name="has" return="boolean"
  23725. abstract="false" native="false" synchronized="false"
  23726. static="false" final="false" visibility="public"
  23727. deprecated="not deprecated">
  23728. <param name="i" type="int"/>
  23729. <doc>
  23730. <![CDATA[Return true if tuple has an element at the position provided.]]>
  23731. </doc>
  23732. </method>
  23733. <method name="get" return="org.apache.hadoop.io.Writable"
  23734. abstract="false" native="false" synchronized="false"
  23735. static="false" final="false" visibility="public"
  23736. deprecated="not deprecated">
  23737. <param name="i" type="int"/>
  23738. <doc>
  23739. <![CDATA[Get ith Writable from Tuple.]]>
  23740. </doc>
  23741. </method>
  23742. <method name="size" return="int"
  23743. abstract="false" native="false" synchronized="false"
  23744. static="false" final="false" visibility="public"
  23745. deprecated="not deprecated">
  23746. <doc>
  23747. <![CDATA[The number of children in this Tuple.]]>
  23748. </doc>
  23749. </method>
  23750. <method name="equals" return="boolean"
  23751. abstract="false" native="false" synchronized="false"
  23752. static="false" final="false" visibility="public"
  23753. deprecated="not deprecated">
  23754. <param name="other" type="java.lang.Object"/>
  23755. <doc>
  23756. <![CDATA[{@inheritDoc}]]>
  23757. </doc>
  23758. </method>
  23759. <method name="hashCode" return="int"
  23760. abstract="false" native="false" synchronized="false"
  23761. static="false" final="false" visibility="public"
  23762. deprecated="not deprecated">
  23763. </method>
  23764. <method name="iterator" return="java.util.Iterator"
  23765. abstract="false" native="false" synchronized="false"
  23766. static="false" final="false" visibility="public"
  23767. deprecated="not deprecated">
  23768. <doc>
  23769. <![CDATA[Return an iterator over the elements in this tuple.
  23770. Note that this doesn't flatten the tuple; one may receive tuples
  23771. from this iterator.]]>
  23772. </doc>
  23773. </method>
  23774. <method name="toString" return="java.lang.String"
  23775. abstract="false" native="false" synchronized="false"
  23776. static="false" final="false" visibility="public"
  23777. deprecated="not deprecated">
  23778. <doc>
  23779. <![CDATA[Convert Tuple to String as in the following.
  23780. <tt>[<child1>,<child2>,...,<childn>]</tt>]]>
  23781. </doc>
  23782. </method>
  23783. <method name="write"
  23784. abstract="false" native="false" synchronized="false"
  23785. static="false" final="false" visibility="public"
  23786. deprecated="not deprecated">
  23787. <param name="out" type="java.io.DataOutput"/>
  23788. <exception name="IOException" type="java.io.IOException"/>
  23789. <doc>
  23790. <![CDATA[Writes each Writable to <code>out</code>.
  23791. TupleWritable format:
  23792. {@code
  23793. <count><type1><type2>...<typen><obj1><obj2>...<objn>
  23794. }]]>
  23795. </doc>
  23796. </method>
  23797. <method name="readFields"
  23798. abstract="false" native="false" synchronized="false"
  23799. static="false" final="false" visibility="public"
  23800. deprecated="not deprecated">
  23801. <param name="in" type="java.io.DataInput"/>
  23802. <exception name="IOException" type="java.io.IOException"/>
  23803. <doc>
  23804. <![CDATA[{@inheritDoc}]]>
  23805. </doc>
  23806. </method>
  23807. <field name="written" type="java.util.BitSet"
  23808. transient="false" volatile="false"
  23809. static="false" final="false" visibility="protected"
  23810. deprecated="not deprecated">
  23811. </field>
  23812. <doc>
  23813. <![CDATA[Writable type storing multiple {@link org.apache.hadoop.io.Writable}s.
  23814. This is *not* a general-purpose tuple type. In almost all cases, users are
  23815. encouraged to implement their own serializable types, which can perform
  23816. better validation and provide more efficient encodings than this class is
  23817. capable. TupleWritable relies on the join framework for type safety and
  23818. assumes its instances will rarely be persisted, assumptions not only
  23819. incompatible with, but contrary to the general case.
  23820. @see org.apache.hadoop.io.Writable]]>
  23821. </doc>
  23822. </class>
  23823. <!-- end class org.apache.hadoop.mapreduce.lib.join.TupleWritable -->
  23824. <!-- start class org.apache.hadoop.mapreduce.lib.join.WrappedRecordReader -->
  23825. <class name="WrappedRecordReader" extends="org.apache.hadoop.mapreduce.lib.join.ComposableRecordReader"
  23826. abstract="false"
  23827. static="false" final="false" visibility="public"
  23828. deprecated="not deprecated">
  23829. <constructor name="WrappedRecordReader" type="int"
  23830. static="false" final="false" visibility="protected"
  23831. deprecated="not deprecated">
  23832. </constructor>
  23833. <method name="initialize"
  23834. abstract="false" native="false" synchronized="false"
  23835. static="false" final="false" visibility="public"
  23836. deprecated="not deprecated">
  23837. <param name="split" type="org.apache.hadoop.mapreduce.InputSplit"/>
  23838. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  23839. <exception name="IOException" type="java.io.IOException"/>
  23840. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  23841. </method>
  23842. <method name="createKey" return="K"
  23843. abstract="false" native="false" synchronized="false"
  23844. static="false" final="false" visibility="public"
  23845. deprecated="not deprecated">
  23846. <doc>
  23847. <![CDATA[Request new key from proxied RR.]]>
  23848. </doc>
  23849. </method>
  23850. <method name="createValue" return="U"
  23851. abstract="false" native="false" synchronized="false"
  23852. static="false" final="false" visibility="public"
  23853. deprecated="not deprecated">
  23854. </method>
  23855. <method name="id" return="int"
  23856. abstract="false" native="false" synchronized="false"
  23857. static="false" final="false" visibility="public"
  23858. deprecated="not deprecated">
  23859. <doc>
  23860. <![CDATA[{@inheritDoc}]]>
  23861. </doc>
  23862. </method>
  23863. <method name="key" return="K"
  23864. abstract="false" native="false" synchronized="false"
  23865. static="false" final="false" visibility="public"
  23866. deprecated="not deprecated">
  23867. <doc>
  23868. <![CDATA[Return the key at the head of this RR.]]>
  23869. </doc>
  23870. </method>
  23871. <method name="key"
  23872. abstract="false" native="false" synchronized="false"
  23873. static="false" final="false" visibility="public"
  23874. deprecated="not deprecated">
  23875. <param name="qkey" type="K"/>
  23876. <exception name="IOException" type="java.io.IOException"/>
  23877. <doc>
  23878. <![CDATA[Clone the key at the head of this RR into the object supplied.]]>
  23879. </doc>
  23880. </method>
  23881. <method name="hasNext" return="boolean"
  23882. abstract="false" native="false" synchronized="false"
  23883. static="false" final="false" visibility="public"
  23884. deprecated="not deprecated">
  23885. <doc>
  23886. <![CDATA[Return true if the RR- including the k,v pair stored in this object-
  23887. is exhausted.]]>
  23888. </doc>
  23889. </method>
  23890. <method name="skip"
  23891. abstract="false" native="false" synchronized="false"
  23892. static="false" final="false" visibility="public"
  23893. deprecated="not deprecated">
  23894. <param name="key" type="K"/>
  23895. <exception name="IOException" type="java.io.IOException"/>
  23896. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  23897. <doc>
  23898. <![CDATA[Skip key-value pairs with keys less than or equal to the key provided.]]>
  23899. </doc>
  23900. </method>
  23901. <method name="accept"
  23902. abstract="false" native="false" synchronized="false"
  23903. static="false" final="false" visibility="public"
  23904. deprecated="not deprecated">
  23905. <param name="i" type="org.apache.hadoop.mapreduce.lib.join.CompositeRecordReader.JoinCollector"/>
  23906. <param name="key" type="K"/>
  23907. <exception name="IOException" type="java.io.IOException"/>
  23908. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  23909. <doc>
  23910. <![CDATA[Add an iterator to the collector at the position occupied by this
  23911. RecordReader over the values in this stream paired with the key
  23912. provided (ie register a stream of values from this source matching K
  23913. with a collector).]]>
  23914. </doc>
  23915. </method>
  23916. <method name="nextKeyValue" return="boolean"
  23917. abstract="false" native="false" synchronized="false"
  23918. static="false" final="false" visibility="public"
  23919. deprecated="not deprecated">
  23920. <exception name="IOException" type="java.io.IOException"/>
  23921. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  23922. <doc>
  23923. <![CDATA[Read the next k,v pair into the head of this object; return true iff
  23924. the RR and this are exhausted.]]>
  23925. </doc>
  23926. </method>
  23927. <method name="getCurrentKey" return="K"
  23928. abstract="false" native="false" synchronized="false"
  23929. static="false" final="false" visibility="public"
  23930. deprecated="not deprecated">
  23931. <exception name="IOException" type="java.io.IOException"/>
  23932. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  23933. <doc>
  23934. <![CDATA[Get current key]]>
  23935. </doc>
  23936. </method>
  23937. <method name="getCurrentValue" return="U"
  23938. abstract="false" native="false" synchronized="false"
  23939. static="false" final="false" visibility="public"
  23940. deprecated="not deprecated">
  23941. <exception name="IOException" type="java.io.IOException"/>
  23942. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  23943. <doc>
  23944. <![CDATA[Get current value]]>
  23945. </doc>
  23946. </method>
  23947. <method name="getProgress" return="float"
  23948. abstract="false" native="false" synchronized="false"
  23949. static="false" final="false" visibility="public"
  23950. deprecated="not deprecated">
  23951. <exception name="IOException" type="java.io.IOException"/>
  23952. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  23953. <doc>
  23954. <![CDATA[Request progress from proxied RR.]]>
  23955. </doc>
  23956. </method>
  23957. <method name="close"
  23958. abstract="false" native="false" synchronized="false"
  23959. static="false" final="false" visibility="public"
  23960. deprecated="not deprecated">
  23961. <exception name="IOException" type="java.io.IOException"/>
  23962. <doc>
  23963. <![CDATA[Forward close request to proxied RR.]]>
  23964. </doc>
  23965. </method>
  23966. <method name="compareTo" return="int"
  23967. abstract="false" native="false" synchronized="false"
  23968. static="false" final="false" visibility="public"
  23969. deprecated="not deprecated">
  23970. <param name="other" type="org.apache.hadoop.mapreduce.lib.join.ComposableRecordReader"/>
  23971. <doc>
  23972. <![CDATA[Implement Comparable contract (compare key at head of proxied RR
  23973. with that of another).]]>
  23974. </doc>
  23975. </method>
  23976. <method name="equals" return="boolean"
  23977. abstract="false" native="false" synchronized="false"
  23978. static="false" final="false" visibility="public"
  23979. deprecated="not deprecated">
  23980. <param name="other" type="java.lang.Object"/>
  23981. <doc>
  23982. <![CDATA[Return true iff compareTo(other) retn true.]]>
  23983. </doc>
  23984. </method>
  23985. <method name="hashCode" return="int"
  23986. abstract="false" native="false" synchronized="false"
  23987. static="false" final="false" visibility="public"
  23988. deprecated="not deprecated">
  23989. </method>
  23990. <field name="empty" type="boolean"
  23991. transient="false" volatile="false"
  23992. static="false" final="false" visibility="protected"
  23993. deprecated="not deprecated">
  23994. </field>
  23995. <field name="cmp" type="org.apache.hadoop.io.WritableComparator"
  23996. transient="false" volatile="false"
  23997. static="false" final="false" visibility="protected"
  23998. deprecated="not deprecated">
  23999. </field>
  24000. <doc>
  24001. <![CDATA[Proxy class for a RecordReader participating in the join framework.
  24002. This class keeps track of the &quot;head&quot; key-value pair for the
  24003. provided RecordReader and keeps a store of values matching a key when
  24004. this source is participating in a join.]]>
  24005. </doc>
  24006. </class>
  24007. <!-- end class org.apache.hadoop.mapreduce.lib.join.WrappedRecordReader -->
  24008. </package>
  24009. <package name="org.apache.hadoop.mapreduce.lib.map">
  24010. <!-- start class org.apache.hadoop.mapreduce.lib.map.InverseMapper -->
  24011. <class name="InverseMapper" extends="org.apache.hadoop.mapreduce.Mapper"
  24012. abstract="false"
  24013. static="false" final="false" visibility="public"
  24014. deprecated="not deprecated">
  24015. <constructor name="InverseMapper"
  24016. static="false" final="false" visibility="public"
  24017. deprecated="not deprecated">
  24018. </constructor>
  24019. <method name="map"
  24020. abstract="false" native="false" synchronized="false"
  24021. static="false" final="false" visibility="public"
  24022. deprecated="not deprecated">
  24023. <param name="key" type="K"/>
  24024. <param name="value" type="V"/>
  24025. <param name="context" type="org.apache.hadoop.mapreduce.Mapper.Context"/>
  24026. <exception name="IOException" type="java.io.IOException"/>
  24027. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  24028. <doc>
  24029. <![CDATA[The inverse function. Input keys and values are swapped.]]>
  24030. </doc>
  24031. </method>
  24032. <doc>
  24033. <![CDATA[A {@link Mapper} that swaps keys and values.]]>
  24034. </doc>
  24035. </class>
  24036. <!-- end class org.apache.hadoop.mapreduce.lib.map.InverseMapper -->
  24037. <!-- start class org.apache.hadoop.mapreduce.lib.map.MultithreadedMapper -->
  24038. <class name="MultithreadedMapper" extends="org.apache.hadoop.mapreduce.Mapper"
  24039. abstract="false"
  24040. static="false" final="false" visibility="public"
  24041. deprecated="not deprecated">
  24042. <constructor name="MultithreadedMapper"
  24043. static="false" final="false" visibility="public"
  24044. deprecated="not deprecated">
  24045. </constructor>
  24046. <method name="getNumberOfThreads" return="int"
  24047. abstract="false" native="false" synchronized="false"
  24048. static="true" final="false" visibility="public"
  24049. deprecated="not deprecated">
  24050. <param name="job" type="org.apache.hadoop.mapreduce.JobContext"/>
  24051. <doc>
  24052. <![CDATA[The number of threads in the thread pool that will run the map function.
  24053. @param job the job
  24054. @return the number of threads]]>
  24055. </doc>
  24056. </method>
  24057. <method name="setNumberOfThreads"
  24058. abstract="false" native="false" synchronized="false"
  24059. static="true" final="false" visibility="public"
  24060. deprecated="not deprecated">
  24061. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  24062. <param name="threads" type="int"/>
  24063. <doc>
  24064. <![CDATA[Set the number of threads in the pool for running maps.
  24065. @param job the job to modify
  24066. @param threads the new number of threads]]>
  24067. </doc>
  24068. </method>
  24069. <method name="getMapperClass" return="java.lang.Class"
  24070. abstract="false" native="false" synchronized="false"
  24071. static="true" final="false" visibility="public"
  24072. deprecated="not deprecated">
  24073. <param name="job" type="org.apache.hadoop.mapreduce.JobContext"/>
  24074. <doc>
  24075. <![CDATA[Get the application's mapper class.
  24076. @param <K1> the map's input key type
  24077. @param <V1> the map's input value type
  24078. @param <K2> the map's output key type
  24079. @param <V2> the map's output value type
  24080. @param job the job
  24081. @return the mapper class to run]]>
  24082. </doc>
  24083. </method>
  24084. <method name="setMapperClass"
  24085. abstract="false" native="false" synchronized="false"
  24086. static="true" final="false" visibility="public"
  24087. deprecated="not deprecated">
  24088. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  24089. <param name="cls" type="java.lang.Class"/>
  24090. <doc>
  24091. <![CDATA[Set the application's mapper class.
  24092. @param <K1> the map input key type
  24093. @param <V1> the map input value type
  24094. @param <K2> the map output key type
  24095. @param <V2> the map output value type
  24096. @param job the job to modify
  24097. @param cls the class to use as the mapper]]>
  24098. </doc>
  24099. </method>
  24100. <method name="run"
  24101. abstract="false" native="false" synchronized="false"
  24102. static="false" final="false" visibility="public"
  24103. deprecated="not deprecated">
  24104. <param name="context" type="org.apache.hadoop.mapreduce.Mapper.Context"/>
  24105. <exception name="IOException" type="java.io.IOException"/>
  24106. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  24107. <doc>
  24108. <![CDATA[Run the application's maps using a thread pool.]]>
  24109. </doc>
  24110. </method>
  24111. <field name="NUM_THREADS" type="java.lang.String"
  24112. transient="false" volatile="false"
  24113. static="true" final="false" visibility="public"
  24114. deprecated="not deprecated">
  24115. </field>
  24116. <field name="MAP_CLASS" type="java.lang.String"
  24117. transient="false" volatile="false"
  24118. static="true" final="false" visibility="public"
  24119. deprecated="not deprecated">
  24120. </field>
  24121. <doc>
  24122. <![CDATA[Multithreaded implementation for @link org.apache.hadoop.mapreduce.Mapper.
  24123. <p>
  24124. It can be used instead of the default implementation,
  24125. @link org.apache.hadoop.mapred.MapRunner, when the Map operation is not CPU
  24126. bound in order to improve throughput.
  24127. <p>
  24128. Mapper implementations using this MapRunnable must be thread-safe.
  24129. <p>
  24130. The Map-Reduce job has to be configured with the mapper to use via
  24131. {@link #setMapperClass(Configuration, Class)} and
  24132. the number of thread the thread-pool can use with the
  24133. {@link #getNumberOfThreads(Configuration) method. The default
  24134. value is 10 threads.
  24135. <p>]]>
  24136. </doc>
  24137. </class>
  24138. <!-- end class org.apache.hadoop.mapreduce.lib.map.MultithreadedMapper -->
  24139. <!-- start class org.apache.hadoop.mapreduce.lib.map.RegexMapper -->
  24140. <class name="RegexMapper" extends="org.apache.hadoop.mapreduce.Mapper"
  24141. abstract="false"
  24142. static="false" final="false" visibility="public"
  24143. deprecated="not deprecated">
  24144. <constructor name="RegexMapper"
  24145. static="false" final="false" visibility="public"
  24146. deprecated="not deprecated">
  24147. </constructor>
  24148. <method name="setup"
  24149. abstract="false" native="false" synchronized="false"
  24150. static="false" final="false" visibility="public"
  24151. deprecated="not deprecated">
  24152. <param name="context" type="org.apache.hadoop.mapreduce.Mapper.Context"/>
  24153. </method>
  24154. <method name="map"
  24155. abstract="false" native="false" synchronized="false"
  24156. static="false" final="false" visibility="public"
  24157. deprecated="not deprecated">
  24158. <param name="key" type="K"/>
  24159. <param name="value" type="org.apache.hadoop.io.Text"/>
  24160. <param name="context" type="org.apache.hadoop.mapreduce.Mapper.Context"/>
  24161. <exception name="IOException" type="java.io.IOException"/>
  24162. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  24163. </method>
  24164. <field name="PATTERN" type="java.lang.String"
  24165. transient="false" volatile="false"
  24166. static="true" final="false" visibility="public"
  24167. deprecated="not deprecated">
  24168. </field>
  24169. <field name="GROUP" type="java.lang.String"
  24170. transient="false" volatile="false"
  24171. static="true" final="false" visibility="public"
  24172. deprecated="not deprecated">
  24173. </field>
  24174. <doc>
  24175. <![CDATA[A {@link Mapper} that extracts text matching a regular expression.]]>
  24176. </doc>
  24177. </class>
  24178. <!-- end class org.apache.hadoop.mapreduce.lib.map.RegexMapper -->
  24179. <!-- start class org.apache.hadoop.mapreduce.lib.map.TokenCounterMapper -->
  24180. <class name="TokenCounterMapper" extends="org.apache.hadoop.mapreduce.Mapper"
  24181. abstract="false"
  24182. static="false" final="false" visibility="public"
  24183. deprecated="not deprecated">
  24184. <constructor name="TokenCounterMapper"
  24185. static="false" final="false" visibility="public"
  24186. deprecated="not deprecated">
  24187. </constructor>
  24188. <method name="map"
  24189. abstract="false" native="false" synchronized="false"
  24190. static="false" final="false" visibility="public"
  24191. deprecated="not deprecated">
  24192. <param name="key" type="java.lang.Object"/>
  24193. <param name="value" type="org.apache.hadoop.io.Text"/>
  24194. <param name="context" type="org.apache.hadoop.mapreduce.Mapper.Context"/>
  24195. <exception name="IOException" type="java.io.IOException"/>
  24196. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  24197. </method>
  24198. <doc>
  24199. <![CDATA[Tokenize the input values and emit each word with a count of 1.]]>
  24200. </doc>
  24201. </class>
  24202. <!-- end class org.apache.hadoop.mapreduce.lib.map.TokenCounterMapper -->
  24203. <!-- start class org.apache.hadoop.mapreduce.lib.map.WrappedMapper -->
  24204. <class name="WrappedMapper" extends="org.apache.hadoop.mapreduce.Mapper"
  24205. abstract="false"
  24206. static="false" final="false" visibility="public"
  24207. deprecated="not deprecated">
  24208. <constructor name="WrappedMapper"
  24209. static="false" final="false" visibility="public"
  24210. deprecated="not deprecated">
  24211. </constructor>
  24212. <method name="getMapContext" return="org.apache.hadoop.mapreduce.Mapper.Context"
  24213. abstract="false" native="false" synchronized="false"
  24214. static="false" final="false" visibility="public"
  24215. deprecated="not deprecated">
  24216. <param name="mapContext" type="org.apache.hadoop.mapreduce.MapContext"/>
  24217. <doc>
  24218. <![CDATA[Get a wrapped {@link Mapper.Context} for custom implementations.
  24219. @param mapContext <code>MapContext</code> to be wrapped
  24220. @return a wrapped <code>Mapper.Context</code> for custom implementations]]>
  24221. </doc>
  24222. </method>
  24223. <doc>
  24224. <![CDATA[A {@link Mapper} which wraps a given one to allow custom
  24225. {@link Mapper.Context} implementations.]]>
  24226. </doc>
  24227. </class>
  24228. <!-- end class org.apache.hadoop.mapreduce.lib.map.WrappedMapper -->
  24229. <!-- start class org.apache.hadoop.mapreduce.lib.map.WrappedMapper.Context -->
  24230. <class name="WrappedMapper.Context" extends="org.apache.hadoop.mapreduce.Mapper.Context"
  24231. abstract="false"
  24232. static="false" final="false" visibility="public"
  24233. deprecated="not deprecated">
  24234. <constructor name="WrappedMapper.Context" type="org.apache.hadoop.mapreduce.MapContext"
  24235. static="false" final="false" visibility="public"
  24236. deprecated="not deprecated">
  24237. </constructor>
  24238. <method name="getInputSplit" return="org.apache.hadoop.mapreduce.InputSplit"
  24239. abstract="false" native="false" synchronized="false"
  24240. static="false" final="false" visibility="public"
  24241. deprecated="not deprecated">
  24242. <doc>
  24243. <![CDATA[Get the input split for this map.]]>
  24244. </doc>
  24245. </method>
  24246. <method name="getCurrentKey" return="KEYIN"
  24247. abstract="false" native="false" synchronized="false"
  24248. static="false" final="false" visibility="public"
  24249. deprecated="not deprecated">
  24250. <exception name="IOException" type="java.io.IOException"/>
  24251. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  24252. </method>
  24253. <method name="getCurrentValue" return="VALUEIN"
  24254. abstract="false" native="false" synchronized="false"
  24255. static="false" final="false" visibility="public"
  24256. deprecated="not deprecated">
  24257. <exception name="IOException" type="java.io.IOException"/>
  24258. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  24259. </method>
  24260. <method name="nextKeyValue" return="boolean"
  24261. abstract="false" native="false" synchronized="false"
  24262. static="false" final="false" visibility="public"
  24263. deprecated="not deprecated">
  24264. <exception name="IOException" type="java.io.IOException"/>
  24265. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  24266. </method>
  24267. <method name="getCounter" return="org.apache.hadoop.mapreduce.Counter"
  24268. abstract="false" native="false" synchronized="false"
  24269. static="false" final="false" visibility="public"
  24270. deprecated="not deprecated">
  24271. <param name="counterName" type="java.lang.Enum"/>
  24272. </method>
  24273. <method name="getCounter" return="org.apache.hadoop.mapreduce.Counter"
  24274. abstract="false" native="false" synchronized="false"
  24275. static="false" final="false" visibility="public"
  24276. deprecated="not deprecated">
  24277. <param name="groupName" type="java.lang.String"/>
  24278. <param name="counterName" type="java.lang.String"/>
  24279. </method>
  24280. <method name="getOutputCommitter" return="org.apache.hadoop.mapreduce.OutputCommitter"
  24281. abstract="false" native="false" synchronized="false"
  24282. static="false" final="false" visibility="public"
  24283. deprecated="not deprecated">
  24284. </method>
  24285. <method name="write"
  24286. abstract="false" native="false" synchronized="false"
  24287. static="false" final="false" visibility="public"
  24288. deprecated="not deprecated">
  24289. <param name="key" type="KEYOUT"/>
  24290. <param name="value" type="VALUEOUT"/>
  24291. <exception name="IOException" type="java.io.IOException"/>
  24292. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  24293. </method>
  24294. <method name="getStatus" return="java.lang.String"
  24295. abstract="false" native="false" synchronized="false"
  24296. static="false" final="false" visibility="public"
  24297. deprecated="not deprecated">
  24298. </method>
  24299. <method name="getTaskAttemptID" return="org.apache.hadoop.mapreduce.TaskAttemptID"
  24300. abstract="false" native="false" synchronized="false"
  24301. static="false" final="false" visibility="public"
  24302. deprecated="not deprecated">
  24303. </method>
  24304. <method name="setStatus"
  24305. abstract="false" native="false" synchronized="false"
  24306. static="false" final="false" visibility="public"
  24307. deprecated="not deprecated">
  24308. <param name="msg" type="java.lang.String"/>
  24309. </method>
  24310. <method name="getArchiveClassPaths" return="org.apache.hadoop.fs.Path[]"
  24311. abstract="false" native="false" synchronized="false"
  24312. static="false" final="false" visibility="public"
  24313. deprecated="not deprecated">
  24314. </method>
  24315. <method name="getArchiveTimestamps" return="java.lang.String[]"
  24316. abstract="false" native="false" synchronized="false"
  24317. static="false" final="false" visibility="public"
  24318. deprecated="not deprecated">
  24319. </method>
  24320. <method name="getCacheArchives" return="java.net.URI[]"
  24321. abstract="false" native="false" synchronized="false"
  24322. static="false" final="false" visibility="public"
  24323. deprecated="not deprecated">
  24324. <exception name="IOException" type="java.io.IOException"/>
  24325. </method>
  24326. <method name="getCacheFiles" return="java.net.URI[]"
  24327. abstract="false" native="false" synchronized="false"
  24328. static="false" final="false" visibility="public"
  24329. deprecated="not deprecated">
  24330. <exception name="IOException" type="java.io.IOException"/>
  24331. </method>
  24332. <method name="getCombinerClass" return="java.lang.Class"
  24333. abstract="false" native="false" synchronized="false"
  24334. static="false" final="false" visibility="public"
  24335. deprecated="not deprecated">
  24336. <exception name="ClassNotFoundException" type="java.lang.ClassNotFoundException"/>
  24337. </method>
  24338. <method name="getConfiguration" return="org.apache.hadoop.conf.Configuration"
  24339. abstract="false" native="false" synchronized="false"
  24340. static="false" final="false" visibility="public"
  24341. deprecated="not deprecated">
  24342. </method>
  24343. <method name="getFileClassPaths" return="org.apache.hadoop.fs.Path[]"
  24344. abstract="false" native="false" synchronized="false"
  24345. static="false" final="false" visibility="public"
  24346. deprecated="not deprecated">
  24347. </method>
  24348. <method name="getFileTimestamps" return="java.lang.String[]"
  24349. abstract="false" native="false" synchronized="false"
  24350. static="false" final="false" visibility="public"
  24351. deprecated="not deprecated">
  24352. </method>
  24353. <method name="getGroupingComparator" return="org.apache.hadoop.io.RawComparator"
  24354. abstract="false" native="false" synchronized="false"
  24355. static="false" final="false" visibility="public"
  24356. deprecated="not deprecated">
  24357. </method>
  24358. <method name="getInputFormatClass" return="java.lang.Class"
  24359. abstract="false" native="false" synchronized="false"
  24360. static="false" final="false" visibility="public"
  24361. deprecated="not deprecated">
  24362. <exception name="ClassNotFoundException" type="java.lang.ClassNotFoundException"/>
  24363. </method>
  24364. <method name="getJar" return="java.lang.String"
  24365. abstract="false" native="false" synchronized="false"
  24366. static="false" final="false" visibility="public"
  24367. deprecated="not deprecated">
  24368. </method>
  24369. <method name="getJobID" return="org.apache.hadoop.mapreduce.JobID"
  24370. abstract="false" native="false" synchronized="false"
  24371. static="false" final="false" visibility="public"
  24372. deprecated="not deprecated">
  24373. </method>
  24374. <method name="getJobName" return="java.lang.String"
  24375. abstract="false" native="false" synchronized="false"
  24376. static="false" final="false" visibility="public"
  24377. deprecated="not deprecated">
  24378. </method>
  24379. <method name="getJobSetupCleanupNeeded" return="boolean"
  24380. abstract="false" native="false" synchronized="false"
  24381. static="false" final="false" visibility="public"
  24382. deprecated="not deprecated">
  24383. </method>
  24384. <method name="getLocalCacheArchives" return="org.apache.hadoop.fs.Path[]"
  24385. abstract="false" native="false" synchronized="false"
  24386. static="false" final="false" visibility="public"
  24387. deprecated="not deprecated">
  24388. <exception name="IOException" type="java.io.IOException"/>
  24389. </method>
  24390. <method name="getLocalCacheFiles" return="org.apache.hadoop.fs.Path[]"
  24391. abstract="false" native="false" synchronized="false"
  24392. static="false" final="false" visibility="public"
  24393. deprecated="not deprecated">
  24394. <exception name="IOException" type="java.io.IOException"/>
  24395. </method>
  24396. <method name="getMapOutputKeyClass" return="java.lang.Class"
  24397. abstract="false" native="false" synchronized="false"
  24398. static="false" final="false" visibility="public"
  24399. deprecated="not deprecated">
  24400. </method>
  24401. <method name="getMapOutputValueClass" return="java.lang.Class"
  24402. abstract="false" native="false" synchronized="false"
  24403. static="false" final="false" visibility="public"
  24404. deprecated="not deprecated">
  24405. </method>
  24406. <method name="getMapperClass" return="java.lang.Class"
  24407. abstract="false" native="false" synchronized="false"
  24408. static="false" final="false" visibility="public"
  24409. deprecated="not deprecated">
  24410. <exception name="ClassNotFoundException" type="java.lang.ClassNotFoundException"/>
  24411. </method>
  24412. <method name="getMaxMapAttempts" return="int"
  24413. abstract="false" native="false" synchronized="false"
  24414. static="false" final="false" visibility="public"
  24415. deprecated="not deprecated">
  24416. </method>
  24417. <method name="getMaxReduceAttempts" return="int"
  24418. abstract="false" native="false" synchronized="false"
  24419. static="false" final="false" visibility="public"
  24420. deprecated="not deprecated">
  24421. </method>
  24422. <method name="getNumReduceTasks" return="int"
  24423. abstract="false" native="false" synchronized="false"
  24424. static="false" final="false" visibility="public"
  24425. deprecated="not deprecated">
  24426. </method>
  24427. <method name="getOutputFormatClass" return="java.lang.Class"
  24428. abstract="false" native="false" synchronized="false"
  24429. static="false" final="false" visibility="public"
  24430. deprecated="not deprecated">
  24431. <exception name="ClassNotFoundException" type="java.lang.ClassNotFoundException"/>
  24432. </method>
  24433. <method name="getOutputKeyClass" return="java.lang.Class"
  24434. abstract="false" native="false" synchronized="false"
  24435. static="false" final="false" visibility="public"
  24436. deprecated="not deprecated">
  24437. </method>
  24438. <method name="getOutputValueClass" return="java.lang.Class"
  24439. abstract="false" native="false" synchronized="false"
  24440. static="false" final="false" visibility="public"
  24441. deprecated="not deprecated">
  24442. </method>
  24443. <method name="getPartitionerClass" return="java.lang.Class"
  24444. abstract="false" native="false" synchronized="false"
  24445. static="false" final="false" visibility="public"
  24446. deprecated="not deprecated">
  24447. <exception name="ClassNotFoundException" type="java.lang.ClassNotFoundException"/>
  24448. </method>
  24449. <method name="getReducerClass" return="java.lang.Class"
  24450. abstract="false" native="false" synchronized="false"
  24451. static="false" final="false" visibility="public"
  24452. deprecated="not deprecated">
  24453. <exception name="ClassNotFoundException" type="java.lang.ClassNotFoundException"/>
  24454. </method>
  24455. <method name="getSortComparator" return="org.apache.hadoop.io.RawComparator"
  24456. abstract="false" native="false" synchronized="false"
  24457. static="false" final="false" visibility="public"
  24458. deprecated="not deprecated">
  24459. </method>
  24460. <method name="getSymlink" return="boolean"
  24461. abstract="false" native="false" synchronized="false"
  24462. static="false" final="false" visibility="public"
  24463. deprecated="not deprecated">
  24464. </method>
  24465. <method name="getWorkingDirectory" return="org.apache.hadoop.fs.Path"
  24466. abstract="false" native="false" synchronized="false"
  24467. static="false" final="false" visibility="public"
  24468. deprecated="not deprecated">
  24469. <exception name="IOException" type="java.io.IOException"/>
  24470. </method>
  24471. <method name="progress"
  24472. abstract="false" native="false" synchronized="false"
  24473. static="false" final="false" visibility="public"
  24474. deprecated="not deprecated">
  24475. </method>
  24476. <method name="getProfileEnabled" return="boolean"
  24477. abstract="false" native="false" synchronized="false"
  24478. static="false" final="false" visibility="public"
  24479. deprecated="not deprecated">
  24480. </method>
  24481. <method name="getProfileParams" return="java.lang.String"
  24482. abstract="false" native="false" synchronized="false"
  24483. static="false" final="false" visibility="public"
  24484. deprecated="not deprecated">
  24485. </method>
  24486. <method name="getProfileTaskRange" return="org.apache.hadoop.conf.Configuration.IntegerRanges"
  24487. abstract="false" native="false" synchronized="false"
  24488. static="false" final="false" visibility="public"
  24489. deprecated="not deprecated">
  24490. <param name="isMap" type="boolean"/>
  24491. </method>
  24492. <method name="getUser" return="java.lang.String"
  24493. abstract="false" native="false" synchronized="false"
  24494. static="false" final="false" visibility="public"
  24495. deprecated="not deprecated">
  24496. </method>
  24497. <field name="mapContext" type="org.apache.hadoop.mapreduce.MapContext"
  24498. transient="false" volatile="false"
  24499. static="false" final="false" visibility="protected"
  24500. deprecated="not deprecated">
  24501. </field>
  24502. </class>
  24503. <!-- end class org.apache.hadoop.mapreduce.lib.map.WrappedMapper.Context -->
  24504. </package>
  24505. <package name="org.apache.hadoop.mapreduce.lib.output">
  24506. <!-- start class org.apache.hadoop.mapreduce.lib.output.FileOutputCommitter -->
  24507. <class name="FileOutputCommitter" extends="org.apache.hadoop.mapreduce.OutputCommitter"
  24508. abstract="false"
  24509. static="false" final="false" visibility="public"
  24510. deprecated="not deprecated">
  24511. <constructor name="FileOutputCommitter" type="org.apache.hadoop.fs.Path, org.apache.hadoop.mapreduce.TaskAttemptContext"
  24512. static="false" final="false" visibility="public"
  24513. deprecated="not deprecated">
  24514. <exception name="IOException" type="java.io.IOException"/>
  24515. <doc>
  24516. <![CDATA[Create a file output committer
  24517. @param outputPath the job's output path
  24518. @param context the task's context
  24519. @throws IOException]]>
  24520. </doc>
  24521. </constructor>
  24522. <method name="setupJob"
  24523. abstract="false" native="false" synchronized="false"
  24524. static="false" final="false" visibility="public"
  24525. deprecated="not deprecated">
  24526. <param name="context" type="org.apache.hadoop.mapreduce.JobContext"/>
  24527. <exception name="IOException" type="java.io.IOException"/>
  24528. <doc>
  24529. <![CDATA[Create the temporary directory that is the root of all of the task
  24530. work directories.
  24531. @param context the job's context]]>
  24532. </doc>
  24533. </method>
  24534. <method name="commitJob"
  24535. abstract="false" native="false" synchronized="false"
  24536. static="false" final="false" visibility="public"
  24537. deprecated="not deprecated">
  24538. <param name="context" type="org.apache.hadoop.mapreduce.JobContext"/>
  24539. <exception name="IOException" type="java.io.IOException"/>
  24540. <doc>
  24541. <![CDATA[Delete the temporary directory, including all of the work directories.
  24542. Create a _SUCCESS file to make it as successful.
  24543. @param context the job's context]]>
  24544. </doc>
  24545. </method>
  24546. <method name="cleanupJob"
  24547. abstract="false" native="false" synchronized="false"
  24548. static="false" final="false" visibility="public"
  24549. deprecated="not deprecated">
  24550. <param name="context" type="org.apache.hadoop.mapreduce.JobContext"/>
  24551. <exception name="IOException" type="java.io.IOException"/>
  24552. </method>
  24553. <method name="abortJob"
  24554. abstract="false" native="false" synchronized="false"
  24555. static="false" final="false" visibility="public"
  24556. deprecated="not deprecated">
  24557. <param name="context" type="org.apache.hadoop.mapreduce.JobContext"/>
  24558. <param name="state" type="org.apache.hadoop.mapreduce.JobStatus.State"/>
  24559. <exception name="IOException" type="java.io.IOException"/>
  24560. <doc>
  24561. <![CDATA[Delete the temporary directory, including all of the work directories.
  24562. @param context the job's context]]>
  24563. </doc>
  24564. </method>
  24565. <method name="setupTask"
  24566. abstract="false" native="false" synchronized="false"
  24567. static="false" final="false" visibility="public"
  24568. deprecated="not deprecated">
  24569. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  24570. <exception name="IOException" type="java.io.IOException"/>
  24571. <doc>
  24572. <![CDATA[No task setup required.]]>
  24573. </doc>
  24574. </method>
  24575. <method name="commitTask"
  24576. abstract="false" native="false" synchronized="false"
  24577. static="false" final="false" visibility="public"
  24578. deprecated="not deprecated">
  24579. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  24580. <exception name="IOException" type="java.io.IOException"/>
  24581. <doc>
  24582. <![CDATA[Move the files from the work directory to the job output directory
  24583. @param context the task context]]>
  24584. </doc>
  24585. </method>
  24586. <method name="abortTask"
  24587. abstract="false" native="false" synchronized="false"
  24588. static="false" final="false" visibility="public"
  24589. deprecated="not deprecated">
  24590. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  24591. <exception name="IOException" type="java.io.IOException"/>
  24592. <doc>
  24593. <![CDATA[Delete the work directory
  24594. @throws IOException]]>
  24595. </doc>
  24596. </method>
  24597. <method name="needsTaskCommit" return="boolean"
  24598. abstract="false" native="false" synchronized="false"
  24599. static="false" final="false" visibility="public"
  24600. deprecated="not deprecated">
  24601. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  24602. <exception name="IOException" type="java.io.IOException"/>
  24603. <doc>
  24604. <![CDATA[Did this task write any files in the work directory?
  24605. @param context the task's context]]>
  24606. </doc>
  24607. </method>
  24608. <method name="getWorkPath" return="org.apache.hadoop.fs.Path"
  24609. abstract="false" native="false" synchronized="false"
  24610. static="false" final="false" visibility="public"
  24611. deprecated="not deprecated">
  24612. <exception name="IOException" type="java.io.IOException"/>
  24613. <doc>
  24614. <![CDATA[Get the directory that the task should write results into
  24615. @return the work directory
  24616. @throws IOException]]>
  24617. </doc>
  24618. </method>
  24619. <field name="TEMP_DIR_NAME" type="java.lang.String"
  24620. transient="false" volatile="false"
  24621. static="true" final="true" visibility="protected"
  24622. deprecated="not deprecated">
  24623. <doc>
  24624. <![CDATA[Temporary directory name]]>
  24625. </doc>
  24626. </field>
  24627. <field name="SUCCEEDED_FILE_NAME" type="java.lang.String"
  24628. transient="false" volatile="false"
  24629. static="true" final="true" visibility="public"
  24630. deprecated="not deprecated">
  24631. </field>
  24632. <doc>
  24633. <![CDATA[An {@link OutputCommitter} that commits files specified
  24634. in job output directory i.e. ${mapreduce.output.fileoutputformat.outputdir}.]]>
  24635. </doc>
  24636. </class>
  24637. <!-- end class org.apache.hadoop.mapreduce.lib.output.FileOutputCommitter -->
  24638. <!-- start class org.apache.hadoop.mapreduce.lib.output.FileOutputFormat -->
  24639. <class name="FileOutputFormat" extends="org.apache.hadoop.mapreduce.OutputFormat"
  24640. abstract="true"
  24641. static="false" final="false" visibility="public"
  24642. deprecated="not deprecated">
  24643. <constructor name="FileOutputFormat"
  24644. static="false" final="false" visibility="public"
  24645. deprecated="not deprecated">
  24646. </constructor>
  24647. <method name="setCompressOutput"
  24648. abstract="false" native="false" synchronized="false"
  24649. static="true" final="false" visibility="public"
  24650. deprecated="not deprecated">
  24651. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  24652. <param name="compress" type="boolean"/>
  24653. <doc>
  24654. <![CDATA[Set whether the output of the job is compressed.
  24655. @param job the job to modify
  24656. @param compress should the output of the job be compressed?]]>
  24657. </doc>
  24658. </method>
  24659. <method name="getCompressOutput" return="boolean"
  24660. abstract="false" native="false" synchronized="false"
  24661. static="true" final="false" visibility="public"
  24662. deprecated="not deprecated">
  24663. <param name="job" type="org.apache.hadoop.mapreduce.JobContext"/>
  24664. <doc>
  24665. <![CDATA[Is the job output compressed?
  24666. @param job the Job to look in
  24667. @return <code>true</code> if the job output should be compressed,
  24668. <code>false</code> otherwise]]>
  24669. </doc>
  24670. </method>
  24671. <method name="setOutputCompressorClass"
  24672. abstract="false" native="false" synchronized="false"
  24673. static="true" final="false" visibility="public"
  24674. deprecated="not deprecated">
  24675. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  24676. <param name="codecClass" type="java.lang.Class"/>
  24677. <doc>
  24678. <![CDATA[Set the {@link CompressionCodec} to be used to compress job outputs.
  24679. @param job the job to modify
  24680. @param codecClass the {@link CompressionCodec} to be used to
  24681. compress the job outputs]]>
  24682. </doc>
  24683. </method>
  24684. <method name="getOutputCompressorClass" return="java.lang.Class"
  24685. abstract="false" native="false" synchronized="false"
  24686. static="true" final="false" visibility="public"
  24687. deprecated="not deprecated">
  24688. <param name="job" type="org.apache.hadoop.mapreduce.JobContext"/>
  24689. <param name="defaultValue" type="java.lang.Class"/>
  24690. <doc>
  24691. <![CDATA[Get the {@link CompressionCodec} for compressing the job outputs.
  24692. @param job the {@link Job} to look in
  24693. @param defaultValue the {@link CompressionCodec} to return if not set
  24694. @return the {@link CompressionCodec} to be used to compress the
  24695. job outputs
  24696. @throws IllegalArgumentException if the class was specified, but not found]]>
  24697. </doc>
  24698. </method>
  24699. <method name="getRecordWriter" return="org.apache.hadoop.mapreduce.RecordWriter"
  24700. abstract="true" native="false" synchronized="false"
  24701. static="false" final="false" visibility="public"
  24702. deprecated="not deprecated">
  24703. <param name="job" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  24704. <exception name="IOException" type="java.io.IOException"/>
  24705. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  24706. </method>
  24707. <method name="checkOutputSpecs"
  24708. abstract="false" native="false" synchronized="false"
  24709. static="false" final="false" visibility="public"
  24710. deprecated="not deprecated">
  24711. <param name="job" type="org.apache.hadoop.mapreduce.JobContext"/>
  24712. <exception name="FileAlreadyExistsException" type="org.apache.hadoop.fs.FileAlreadyExistsException"/>
  24713. <exception name="IOException" type="java.io.IOException"/>
  24714. </method>
  24715. <method name="setOutputPath"
  24716. abstract="false" native="false" synchronized="false"
  24717. static="true" final="false" visibility="public"
  24718. deprecated="not deprecated">
  24719. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  24720. <param name="outputDir" type="org.apache.hadoop.fs.Path"/>
  24721. <doc>
  24722. <![CDATA[Set the {@link Path} of the output directory for the map-reduce job.
  24723. @param job The job to modify
  24724. @param outputDir the {@link Path} of the output directory for
  24725. the map-reduce job.]]>
  24726. </doc>
  24727. </method>
  24728. <method name="getOutputPath" return="org.apache.hadoop.fs.Path"
  24729. abstract="false" native="false" synchronized="false"
  24730. static="true" final="false" visibility="public"
  24731. deprecated="not deprecated">
  24732. <param name="job" type="org.apache.hadoop.mapreduce.JobContext"/>
  24733. <doc>
  24734. <![CDATA[Get the {@link Path} to the output directory for the map-reduce job.
  24735. @return the {@link Path} to the output directory for the map-reduce job.
  24736. @see FileOutputFormat#getWorkOutputPath(TaskInputOutputContext)]]>
  24737. </doc>
  24738. </method>
  24739. <method name="getWorkOutputPath" return="org.apache.hadoop.fs.Path"
  24740. abstract="false" native="false" synchronized="false"
  24741. static="true" final="false" visibility="public"
  24742. deprecated="not deprecated">
  24743. <param name="context" type="org.apache.hadoop.mapreduce.TaskInputOutputContext"/>
  24744. <exception name="IOException" type="java.io.IOException"/>
  24745. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  24746. <doc>
  24747. <![CDATA[Get the {@link Path} to the task's temporary output directory
  24748. for the map-reduce job
  24749. <h4 id="SideEffectFiles">Tasks' Side-Effect Files</h4>
  24750. <p>Some applications need to create/write-to side-files, which differ from
  24751. the actual job-outputs.
  24752. <p>In such cases there could be issues with 2 instances of the same TIP
  24753. (running simultaneously e.g. speculative tasks) trying to open/write-to the
  24754. same file (path) on HDFS. Hence the application-writer will have to pick
  24755. unique names per task-attempt (e.g. using the attemptid, say
  24756. <tt>attempt_200709221812_0001_m_000000_0</tt>), not just per TIP.</p>
  24757. <p>To get around this the Map-Reduce framework helps the application-writer
  24758. out by maintaining a special
  24759. <tt>${mapreduce.output.fileoutputformat.outputdir}/_temporary/_${taskid}</tt>
  24760. sub-directory for each task-attempt on HDFS where the output of the
  24761. task-attempt goes. On successful completion of the task-attempt the files
  24762. in the <tt>${mapreduce.output.fileoutputformat.outputdir}/_temporary/_${taskid}</tt> (only)
  24763. are <i>promoted</i> to <tt>${mapreduce.output.fileoutputformat.outputdir}</tt>. Of course, the
  24764. framework discards the sub-directory of unsuccessful task-attempts. This
  24765. is completely transparent to the application.</p>
  24766. <p>The application-writer can take advantage of this by creating any
  24767. side-files required in a work directory during execution
  24768. of his task i.e. via
  24769. {@link #getWorkOutputPath(TaskInputOutputContext)}, and
  24770. the framework will move them out similarly - thus she doesn't have to pick
  24771. unique paths per task-attempt.</p>
  24772. <p>The entire discussion holds true for maps of jobs with
  24773. reducer=NONE (i.e. 0 reduces) since output of the map, in that case,
  24774. goes directly to HDFS.</p>
  24775. @return the {@link Path} to the task's temporary output directory
  24776. for the map-reduce job.]]>
  24777. </doc>
  24778. </method>
  24779. <method name="getPathForWorkFile" return="org.apache.hadoop.fs.Path"
  24780. abstract="false" native="false" synchronized="false"
  24781. static="true" final="false" visibility="public"
  24782. deprecated="not deprecated">
  24783. <param name="context" type="org.apache.hadoop.mapreduce.TaskInputOutputContext"/>
  24784. <param name="name" type="java.lang.String"/>
  24785. <param name="extension" type="java.lang.String"/>
  24786. <exception name="IOException" type="java.io.IOException"/>
  24787. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  24788. <doc>
  24789. <![CDATA[Helper function to generate a {@link Path} for a file that is unique for
  24790. the task within the job output directory.
  24791. <p>The path can be used to create custom files from within the map and
  24792. reduce tasks. The path name will be unique for each task. The path parent
  24793. will be the job output directory.</p>ls
  24794. <p>This method uses the {@link #getUniqueFile} method to make the file name
  24795. unique for the task.</p>
  24796. @param context the context for the task.
  24797. @param name the name for the file.
  24798. @param extension the extension for the file
  24799. @return a unique path accross all tasks of the job.]]>
  24800. </doc>
  24801. </method>
  24802. <method name="getUniqueFile" return="java.lang.String"
  24803. abstract="false" native="false" synchronized="true"
  24804. static="true" final="false" visibility="public"
  24805. deprecated="not deprecated">
  24806. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  24807. <param name="name" type="java.lang.String"/>
  24808. <param name="extension" type="java.lang.String"/>
  24809. <doc>
  24810. <![CDATA[Generate a unique filename, based on the task id, name, and extension
  24811. @param context the task that is calling this
  24812. @param name the base filename
  24813. @param extension the filename extension
  24814. @return a string like $name-[mrsct]-$id$extension]]>
  24815. </doc>
  24816. </method>
  24817. <method name="getDefaultWorkFile" return="org.apache.hadoop.fs.Path"
  24818. abstract="false" native="false" synchronized="false"
  24819. static="false" final="false" visibility="public"
  24820. deprecated="not deprecated">
  24821. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  24822. <param name="extension" type="java.lang.String"/>
  24823. <exception name="IOException" type="java.io.IOException"/>
  24824. <doc>
  24825. <![CDATA[Get the default path and filename for the output format.
  24826. @param context the task context
  24827. @param extension an extension to add to the filename
  24828. @return a full path $output/_temporary/$taskid/part-[mr]-$id
  24829. @throws IOException]]>
  24830. </doc>
  24831. </method>
  24832. <method name="getOutputName" return="java.lang.String"
  24833. abstract="false" native="false" synchronized="false"
  24834. static="true" final="false" visibility="protected"
  24835. deprecated="not deprecated">
  24836. <param name="job" type="org.apache.hadoop.mapreduce.JobContext"/>
  24837. <doc>
  24838. <![CDATA[Get the base output name for the output file.]]>
  24839. </doc>
  24840. </method>
  24841. <method name="setOutputName"
  24842. abstract="false" native="false" synchronized="false"
  24843. static="true" final="false" visibility="protected"
  24844. deprecated="not deprecated">
  24845. <param name="job" type="org.apache.hadoop.mapreduce.JobContext"/>
  24846. <param name="name" type="java.lang.String"/>
  24847. <doc>
  24848. <![CDATA[Set the base output name for output file to be created.]]>
  24849. </doc>
  24850. </method>
  24851. <method name="getOutputCommitter" return="org.apache.hadoop.mapreduce.OutputCommitter"
  24852. abstract="false" native="false" synchronized="true"
  24853. static="false" final="false" visibility="public"
  24854. deprecated="not deprecated">
  24855. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  24856. <exception name="IOException" type="java.io.IOException"/>
  24857. </method>
  24858. <field name="BASE_OUTPUT_NAME" type="java.lang.String"
  24859. transient="false" volatile="false"
  24860. static="true" final="true" visibility="protected"
  24861. deprecated="not deprecated">
  24862. </field>
  24863. <field name="PART" type="java.lang.String"
  24864. transient="false" volatile="false"
  24865. static="true" final="true" visibility="protected"
  24866. deprecated="not deprecated">
  24867. </field>
  24868. <field name="COMPRESS" type="java.lang.String"
  24869. transient="false" volatile="false"
  24870. static="true" final="true" visibility="public"
  24871. deprecated="not deprecated">
  24872. </field>
  24873. <field name="COMPRESS_CODEC" type="java.lang.String"
  24874. transient="false" volatile="false"
  24875. static="true" final="true" visibility="public"
  24876. deprecated="not deprecated">
  24877. </field>
  24878. <field name="COMPRESS_TYPE" type="java.lang.String"
  24879. transient="false" volatile="false"
  24880. static="true" final="true" visibility="public"
  24881. deprecated="not deprecated">
  24882. </field>
  24883. <field name="OUTDIR" type="java.lang.String"
  24884. transient="false" volatile="false"
  24885. static="true" final="true" visibility="public"
  24886. deprecated="not deprecated">
  24887. </field>
  24888. <doc>
  24889. <![CDATA[A base class for {@link OutputFormat}s that read from {@link FileSystem}s.]]>
  24890. </doc>
  24891. </class>
  24892. <!-- end class org.apache.hadoop.mapreduce.lib.output.FileOutputFormat -->
  24893. <!-- start class org.apache.hadoop.mapreduce.lib.output.FilterOutputFormat -->
  24894. <class name="FilterOutputFormat" extends="org.apache.hadoop.mapreduce.OutputFormat"
  24895. abstract="false"
  24896. static="false" final="false" visibility="public"
  24897. deprecated="not deprecated">
  24898. <constructor name="FilterOutputFormat"
  24899. static="false" final="false" visibility="public"
  24900. deprecated="not deprecated">
  24901. </constructor>
  24902. <constructor name="FilterOutputFormat" type="org.apache.hadoop.mapreduce.OutputFormat"
  24903. static="false" final="false" visibility="public"
  24904. deprecated="not deprecated">
  24905. <doc>
  24906. <![CDATA[Create a FilterOutputFormat based on the underlying output format.
  24907. @param baseOut the underlying OutputFormat]]>
  24908. </doc>
  24909. </constructor>
  24910. <method name="getRecordWriter" return="org.apache.hadoop.mapreduce.RecordWriter"
  24911. abstract="false" native="false" synchronized="false"
  24912. static="false" final="false" visibility="public"
  24913. deprecated="not deprecated">
  24914. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  24915. <exception name="IOException" type="java.io.IOException"/>
  24916. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  24917. </method>
  24918. <method name="checkOutputSpecs"
  24919. abstract="false" native="false" synchronized="false"
  24920. static="false" final="false" visibility="public"
  24921. deprecated="not deprecated">
  24922. <param name="context" type="org.apache.hadoop.mapreduce.JobContext"/>
  24923. <exception name="IOException" type="java.io.IOException"/>
  24924. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  24925. </method>
  24926. <method name="getOutputCommitter" return="org.apache.hadoop.mapreduce.OutputCommitter"
  24927. abstract="false" native="false" synchronized="false"
  24928. static="false" final="false" visibility="public"
  24929. deprecated="not deprecated">
  24930. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  24931. <exception name="IOException" type="java.io.IOException"/>
  24932. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  24933. </method>
  24934. <field name="baseOut" type="org.apache.hadoop.mapreduce.OutputFormat"
  24935. transient="false" volatile="false"
  24936. static="false" final="false" visibility="protected"
  24937. deprecated="not deprecated">
  24938. </field>
  24939. <doc>
  24940. <![CDATA[FilterOutputFormat is a convenience class that wraps OutputFormat.]]>
  24941. </doc>
  24942. </class>
  24943. <!-- end class org.apache.hadoop.mapreduce.lib.output.FilterOutputFormat -->
  24944. <!-- start class org.apache.hadoop.mapreduce.lib.output.FilterOutputFormat.FilterRecordWriter -->
  24945. <class name="FilterOutputFormat.FilterRecordWriter" extends="org.apache.hadoop.mapreduce.RecordWriter"
  24946. abstract="false"
  24947. static="true" final="false" visibility="public"
  24948. deprecated="not deprecated">
  24949. <constructor name="FilterOutputFormat.FilterRecordWriter"
  24950. static="false" final="false" visibility="public"
  24951. deprecated="not deprecated">
  24952. </constructor>
  24953. <constructor name="FilterOutputFormat.FilterRecordWriter" type="org.apache.hadoop.mapreduce.RecordWriter"
  24954. static="false" final="false" visibility="public"
  24955. deprecated="not deprecated">
  24956. </constructor>
  24957. <method name="write"
  24958. abstract="false" native="false" synchronized="false"
  24959. static="false" final="false" visibility="public"
  24960. deprecated="not deprecated">
  24961. <param name="key" type="K"/>
  24962. <param name="value" type="V"/>
  24963. <exception name="IOException" type="java.io.IOException"/>
  24964. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  24965. </method>
  24966. <method name="close"
  24967. abstract="false" native="false" synchronized="false"
  24968. static="false" final="false" visibility="public"
  24969. deprecated="not deprecated">
  24970. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  24971. <exception name="IOException" type="java.io.IOException"/>
  24972. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  24973. </method>
  24974. <field name="rawWriter" type="org.apache.hadoop.mapreduce.RecordWriter"
  24975. transient="false" volatile="false"
  24976. static="false" final="false" visibility="protected"
  24977. deprecated="not deprecated">
  24978. </field>
  24979. <doc>
  24980. <![CDATA[<code>FilterRecordWriter</code> is a convenience wrapper
  24981. class that extends the {@link RecordWriter}.]]>
  24982. </doc>
  24983. </class>
  24984. <!-- end class org.apache.hadoop.mapreduce.lib.output.FilterOutputFormat.FilterRecordWriter -->
  24985. <!-- start class org.apache.hadoop.mapreduce.lib.output.LazyOutputFormat -->
  24986. <class name="LazyOutputFormat" extends="org.apache.hadoop.mapreduce.lib.output.FilterOutputFormat"
  24987. abstract="false"
  24988. static="false" final="false" visibility="public"
  24989. deprecated="not deprecated">
  24990. <constructor name="LazyOutputFormat"
  24991. static="false" final="false" visibility="public"
  24992. deprecated="not deprecated">
  24993. </constructor>
  24994. <method name="setOutputFormatClass"
  24995. abstract="false" native="false" synchronized="false"
  24996. static="true" final="false" visibility="public"
  24997. deprecated="not deprecated">
  24998. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  24999. <param name="theClass" type="java.lang.Class"/>
  25000. <doc>
  25001. <![CDATA[Set the underlying output format for LazyOutputFormat.
  25002. @param job the {@link Job} to modify
  25003. @param theClass the underlying class]]>
  25004. </doc>
  25005. </method>
  25006. <method name="getRecordWriter" return="org.apache.hadoop.mapreduce.RecordWriter"
  25007. abstract="false" native="false" synchronized="false"
  25008. static="false" final="false" visibility="public"
  25009. deprecated="not deprecated">
  25010. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  25011. <exception name="IOException" type="java.io.IOException"/>
  25012. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  25013. </method>
  25014. <method name="checkOutputSpecs"
  25015. abstract="false" native="false" synchronized="false"
  25016. static="false" final="false" visibility="public"
  25017. deprecated="not deprecated">
  25018. <param name="context" type="org.apache.hadoop.mapreduce.JobContext"/>
  25019. <exception name="IOException" type="java.io.IOException"/>
  25020. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  25021. </method>
  25022. <method name="getOutputCommitter" return="org.apache.hadoop.mapreduce.OutputCommitter"
  25023. abstract="false" native="false" synchronized="false"
  25024. static="false" final="false" visibility="public"
  25025. deprecated="not deprecated">
  25026. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  25027. <exception name="IOException" type="java.io.IOException"/>
  25028. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  25029. </method>
  25030. <field name="OUTPUT_FORMAT" type="java.lang.String"
  25031. transient="false" volatile="false"
  25032. static="true" final="false" visibility="public"
  25033. deprecated="not deprecated">
  25034. </field>
  25035. <doc>
  25036. <![CDATA[A Convenience class that creates output lazily.]]>
  25037. </doc>
  25038. </class>
  25039. <!-- end class org.apache.hadoop.mapreduce.lib.output.LazyOutputFormat -->
  25040. <!-- start class org.apache.hadoop.mapreduce.lib.output.MapFileOutputFormat -->
  25041. <class name="MapFileOutputFormat" extends="org.apache.hadoop.mapreduce.lib.output.FileOutputFormat"
  25042. abstract="false"
  25043. static="false" final="false" visibility="public"
  25044. deprecated="not deprecated">
  25045. <constructor name="MapFileOutputFormat"
  25046. static="false" final="false" visibility="public"
  25047. deprecated="not deprecated">
  25048. </constructor>
  25049. <method name="getRecordWriter" return="org.apache.hadoop.mapreduce.RecordWriter"
  25050. abstract="false" native="false" synchronized="false"
  25051. static="false" final="false" visibility="public"
  25052. deprecated="not deprecated">
  25053. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  25054. <exception name="IOException" type="java.io.IOException"/>
  25055. </method>
  25056. <method name="getReaders" return="org.apache.hadoop.io.MapFile.Reader[]"
  25057. abstract="false" native="false" synchronized="false"
  25058. static="true" final="false" visibility="public"
  25059. deprecated="not deprecated">
  25060. <param name="dir" type="org.apache.hadoop.fs.Path"/>
  25061. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  25062. <exception name="IOException" type="java.io.IOException"/>
  25063. <doc>
  25064. <![CDATA[Open the output generated by this format.]]>
  25065. </doc>
  25066. </method>
  25067. <method name="getEntry" return="org.apache.hadoop.io.Writable"
  25068. abstract="false" native="false" synchronized="false"
  25069. static="true" final="false" visibility="public"
  25070. deprecated="not deprecated">
  25071. <param name="readers" type="org.apache.hadoop.io.MapFile.Reader[]"/>
  25072. <param name="partitioner" type="org.apache.hadoop.mapreduce.Partitioner"/>
  25073. <param name="key" type="K"/>
  25074. <param name="value" type="V"/>
  25075. <exception name="IOException" type="java.io.IOException"/>
  25076. <doc>
  25077. <![CDATA[Get an entry from output generated by this class.]]>
  25078. </doc>
  25079. </method>
  25080. <doc>
  25081. <![CDATA[An {@link org.apache.hadoop.mapreduce.OutputFormat} that writes
  25082. {@link MapFile}s.]]>
  25083. </doc>
  25084. </class>
  25085. <!-- end class org.apache.hadoop.mapreduce.lib.output.MapFileOutputFormat -->
  25086. <!-- start class org.apache.hadoop.mapreduce.lib.output.MultipleOutputs -->
  25087. <class name="MultipleOutputs" extends="java.lang.Object"
  25088. abstract="false"
  25089. static="false" final="false" visibility="public"
  25090. deprecated="not deprecated">
  25091. <constructor name="MultipleOutputs" type="org.apache.hadoop.mapreduce.TaskInputOutputContext"
  25092. static="false" final="false" visibility="public"
  25093. deprecated="not deprecated">
  25094. <doc>
  25095. <![CDATA[Creates and initializes multiple outputs support,
  25096. it should be instantiated in the Mapper/Reducer setup method.
  25097. @param context the TaskInputOutputContext object]]>
  25098. </doc>
  25099. </constructor>
  25100. <method name="addNamedOutput"
  25101. abstract="false" native="false" synchronized="false"
  25102. static="true" final="false" visibility="public"
  25103. deprecated="not deprecated">
  25104. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  25105. <param name="namedOutput" type="java.lang.String"/>
  25106. <param name="outputFormatClass" type="java.lang.Class"/>
  25107. <param name="keyClass" type="java.lang.Class"/>
  25108. <param name="valueClass" type="java.lang.Class"/>
  25109. <doc>
  25110. <![CDATA[Adds a named output for the job.
  25111. <p/>
  25112. @param job job to add the named output
  25113. @param namedOutput named output name, it has to be a word, letters
  25114. and numbers only, cannot be the word 'part' as
  25115. that is reserved for the default output.
  25116. @param outputFormatClass OutputFormat class.
  25117. @param keyClass key class
  25118. @param valueClass value class]]>
  25119. </doc>
  25120. </method>
  25121. <method name="setCountersEnabled"
  25122. abstract="false" native="false" synchronized="false"
  25123. static="true" final="false" visibility="public"
  25124. deprecated="not deprecated">
  25125. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  25126. <param name="enabled" type="boolean"/>
  25127. <doc>
  25128. <![CDATA[Enables or disables counters for the named outputs.
  25129. The counters group is the {@link MultipleOutputs} class name.
  25130. The names of the counters are the same as the named outputs. These
  25131. counters count the number records written to each output name.
  25132. By default these counters are disabled.
  25133. @param job job to enable counters
  25134. @param enabled indicates if the counters will be enabled or not.]]>
  25135. </doc>
  25136. </method>
  25137. <method name="getCountersEnabled" return="boolean"
  25138. abstract="false" native="false" synchronized="false"
  25139. static="true" final="false" visibility="public"
  25140. deprecated="not deprecated">
  25141. <param name="job" type="org.apache.hadoop.mapreduce.JobContext"/>
  25142. <doc>
  25143. <![CDATA[Returns if the counters for the named outputs are enabled or not.
  25144. By default these counters are disabled.
  25145. @param job the job
  25146. @return TRUE if the counters are enabled, FALSE if they are disabled.]]>
  25147. </doc>
  25148. </method>
  25149. <method name="write"
  25150. abstract="false" native="false" synchronized="false"
  25151. static="false" final="false" visibility="public"
  25152. deprecated="not deprecated">
  25153. <param name="namedOutput" type="java.lang.String"/>
  25154. <param name="key" type="K"/>
  25155. <param name="value" type="V"/>
  25156. <exception name="IOException" type="java.io.IOException"/>
  25157. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  25158. <doc>
  25159. <![CDATA[Write key and value to the namedOutput.
  25160. Output path is a unique file generated for the namedOutput.
  25161. For example, {namedOutput}-(m|r)-{part-number}
  25162. @param namedOutput the named output name
  25163. @param key the key
  25164. @param value the value]]>
  25165. </doc>
  25166. </method>
  25167. <method name="write"
  25168. abstract="false" native="false" synchronized="false"
  25169. static="false" final="false" visibility="public"
  25170. deprecated="not deprecated">
  25171. <param name="namedOutput" type="java.lang.String"/>
  25172. <param name="key" type="K"/>
  25173. <param name="value" type="V"/>
  25174. <param name="baseOutputPath" type="java.lang.String"/>
  25175. <exception name="IOException" type="java.io.IOException"/>
  25176. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  25177. <doc>
  25178. <![CDATA[Write key and value to baseOutputPath using the namedOutput.
  25179. @param namedOutput the named output name
  25180. @param key the key
  25181. @param value the value
  25182. @param baseOutputPath base-output path to write the record to.
  25183. Note: Framework will generate unique filename for the baseOutputPath]]>
  25184. </doc>
  25185. </method>
  25186. <method name="write"
  25187. abstract="false" native="false" synchronized="false"
  25188. static="false" final="false" visibility="public"
  25189. deprecated="not deprecated">
  25190. <param name="key" type="KEYOUT"/>
  25191. <param name="value" type="VALUEOUT"/>
  25192. <param name="baseOutputPath" type="java.lang.String"/>
  25193. <exception name="IOException" type="java.io.IOException"/>
  25194. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  25195. <doc>
  25196. <![CDATA[Write key value to an output file name.
  25197. Gets the record writer from job's output format.
  25198. Job's output format should be a FileOutputFormat.
  25199. @param key the key
  25200. @param value the value
  25201. @param baseOutputPath base-output path to write the record to.
  25202. Note: Framework will generate unique filename for the baseOutputPath]]>
  25203. </doc>
  25204. </method>
  25205. <method name="close"
  25206. abstract="false" native="false" synchronized="false"
  25207. static="false" final="false" visibility="public"
  25208. deprecated="not deprecated">
  25209. <exception name="IOException" type="java.io.IOException"/>
  25210. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  25211. <doc>
  25212. <![CDATA[Closes all the opened outputs.
  25213. This should be called from cleanup method of map/reduce task.
  25214. If overridden subclasses must invoke <code>super.close()</code> at the
  25215. end of their <code>close()</code>]]>
  25216. </doc>
  25217. </method>
  25218. <doc>
  25219. <![CDATA[The MultipleOutputs class simplifies writing output data
  25220. to multiple outputs
  25221. <p>
  25222. Case one: writing to additional outputs other than the job default output.
  25223. Each additional output, or named output, may be configured with its own
  25224. <code>OutputFormat</code>, with its own key class and with its own value
  25225. class.
  25226. <p>
  25227. Case two: to write data to different files provided by user
  25228. </p>
  25229. <p>
  25230. MultipleOutputs supports counters, by default they are disabled. The
  25231. counters group is the {@link MultipleOutputs} class name. The names of the
  25232. counters are the same as the output name. These count the number records
  25233. written to each output name.
  25234. </p>
  25235. Usage pattern for job submission:
  25236. <pre>
  25237. Job job = new Job();
  25238. FileInputFormat.setInputPath(job, inDir);
  25239. FileOutputFormat.setOutputPath(job, outDir);
  25240. job.setMapperClass(MOMap.class);
  25241. job.setReducerClass(MOReduce.class);
  25242. ...
  25243. // Defines additional single text based output 'text' for the job
  25244. MultipleOutputs.addNamedOutput(job, "text", TextOutputFormat.class,
  25245. LongWritable.class, Text.class);
  25246. // Defines additional sequence-file based output 'sequence' for the job
  25247. MultipleOutputs.addNamedOutput(job, "seq",
  25248. SequenceFileOutputFormat.class,
  25249. LongWritable.class, Text.class);
  25250. ...
  25251. job.waitForCompletion(true);
  25252. ...
  25253. </pre>
  25254. <p>
  25255. Usage in Reducer:
  25256. <pre>
  25257. <K, V> String generateFileName(K k, V v) {
  25258. return k.toString() + "_" + v.toString();
  25259. }
  25260. public class MOReduce extends
  25261. Reducer&lt;WritableComparable, Writable,WritableComparable, Writable&gt; {
  25262. private MultipleOutputs mos;
  25263. public void setup(Context context) {
  25264. ...
  25265. mos = new MultipleOutputs(context);
  25266. }
  25267. public void reduce(WritableComparable key, Iterator&lt;Writable&gt; values,
  25268. Context context)
  25269. throws IOException {
  25270. ...
  25271. mos.write("text", , key, new Text("Hello"));
  25272. mos.write("seq", LongWritable(1), new Text("Bye"), "seq_a");
  25273. mos.write("seq", LongWritable(2), key, new Text("Chau"), "seq_b");
  25274. mos.write(key, new Text("value"), generateFileName(key, new Text("value")));
  25275. ...
  25276. }
  25277. public void cleanup(Context) throws IOException {
  25278. mos.close();
  25279. ...
  25280. }
  25281. }
  25282. </pre>]]>
  25283. </doc>
  25284. </class>
  25285. <!-- end class org.apache.hadoop.mapreduce.lib.output.MultipleOutputs -->
  25286. <!-- start class org.apache.hadoop.mapreduce.lib.output.NullOutputFormat -->
  25287. <class name="NullOutputFormat" extends="org.apache.hadoop.mapreduce.OutputFormat"
  25288. abstract="false"
  25289. static="false" final="false" visibility="public"
  25290. deprecated="not deprecated">
  25291. <constructor name="NullOutputFormat"
  25292. static="false" final="false" visibility="public"
  25293. deprecated="not deprecated">
  25294. </constructor>
  25295. <method name="getRecordWriter" return="org.apache.hadoop.mapreduce.RecordWriter"
  25296. abstract="false" native="false" synchronized="false"
  25297. static="false" final="false" visibility="public"
  25298. deprecated="not deprecated">
  25299. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  25300. </method>
  25301. <method name="checkOutputSpecs"
  25302. abstract="false" native="false" synchronized="false"
  25303. static="false" final="false" visibility="public"
  25304. deprecated="not deprecated">
  25305. <param name="context" type="org.apache.hadoop.mapreduce.JobContext"/>
  25306. </method>
  25307. <method name="getOutputCommitter" return="org.apache.hadoop.mapreduce.OutputCommitter"
  25308. abstract="false" native="false" synchronized="false"
  25309. static="false" final="false" visibility="public"
  25310. deprecated="not deprecated">
  25311. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  25312. </method>
  25313. <doc>
  25314. <![CDATA[Consume all outputs and put them in /dev/null.]]>
  25315. </doc>
  25316. </class>
  25317. <!-- end class org.apache.hadoop.mapreduce.lib.output.NullOutputFormat -->
  25318. <!-- start class org.apache.hadoop.mapreduce.lib.output.SequenceFileAsBinaryOutputFormat -->
  25319. <class name="SequenceFileAsBinaryOutputFormat" extends="org.apache.hadoop.mapreduce.lib.output.SequenceFileOutputFormat"
  25320. abstract="false"
  25321. static="false" final="false" visibility="public"
  25322. deprecated="not deprecated">
  25323. <constructor name="SequenceFileAsBinaryOutputFormat"
  25324. static="false" final="false" visibility="public"
  25325. deprecated="not deprecated">
  25326. </constructor>
  25327. <method name="setSequenceFileOutputKeyClass"
  25328. abstract="false" native="false" synchronized="false"
  25329. static="true" final="false" visibility="public"
  25330. deprecated="not deprecated">
  25331. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  25332. <param name="theClass" type="java.lang.Class"/>
  25333. <doc>
  25334. <![CDATA[Set the key class for the {@link SequenceFile}
  25335. <p>This allows the user to specify the key class to be different
  25336. from the actual class ({@link BytesWritable}) used for writing </p>
  25337. @param job the {@link Job} to modify
  25338. @param theClass the SequenceFile output key class.]]>
  25339. </doc>
  25340. </method>
  25341. <method name="setSequenceFileOutputValueClass"
  25342. abstract="false" native="false" synchronized="false"
  25343. static="true" final="false" visibility="public"
  25344. deprecated="not deprecated">
  25345. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  25346. <param name="theClass" type="java.lang.Class"/>
  25347. <doc>
  25348. <![CDATA[Set the value class for the {@link SequenceFile}
  25349. <p>This allows the user to specify the value class to be different
  25350. from the actual class ({@link BytesWritable}) used for writing </p>
  25351. @param job the {@link Job} to modify
  25352. @param theClass the SequenceFile output key class.]]>
  25353. </doc>
  25354. </method>
  25355. <method name="getSequenceFileOutputKeyClass" return="java.lang.Class"
  25356. abstract="false" native="false" synchronized="false"
  25357. static="true" final="false" visibility="public"
  25358. deprecated="not deprecated">
  25359. <param name="job" type="org.apache.hadoop.mapreduce.JobContext"/>
  25360. <doc>
  25361. <![CDATA[Get the key class for the {@link SequenceFile}
  25362. @return the key class of the {@link SequenceFile}]]>
  25363. </doc>
  25364. </method>
  25365. <method name="getSequenceFileOutputValueClass" return="java.lang.Class"
  25366. abstract="false" native="false" synchronized="false"
  25367. static="true" final="false" visibility="public"
  25368. deprecated="not deprecated">
  25369. <param name="job" type="org.apache.hadoop.mapreduce.JobContext"/>
  25370. <doc>
  25371. <![CDATA[Get the value class for the {@link SequenceFile}
  25372. @return the value class of the {@link SequenceFile}]]>
  25373. </doc>
  25374. </method>
  25375. <method name="getRecordWriter" return="org.apache.hadoop.mapreduce.RecordWriter"
  25376. abstract="false" native="false" synchronized="false"
  25377. static="false" final="false" visibility="public"
  25378. deprecated="not deprecated">
  25379. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  25380. <exception name="IOException" type="java.io.IOException"/>
  25381. </method>
  25382. <method name="checkOutputSpecs"
  25383. abstract="false" native="false" synchronized="false"
  25384. static="false" final="false" visibility="public"
  25385. deprecated="not deprecated">
  25386. <param name="job" type="org.apache.hadoop.mapreduce.JobContext"/>
  25387. <exception name="IOException" type="java.io.IOException"/>
  25388. </method>
  25389. <field name="KEY_CLASS" type="java.lang.String"
  25390. transient="false" volatile="false"
  25391. static="true" final="false" visibility="public"
  25392. deprecated="not deprecated">
  25393. </field>
  25394. <field name="VALUE_CLASS" type="java.lang.String"
  25395. transient="false" volatile="false"
  25396. static="true" final="false" visibility="public"
  25397. deprecated="not deprecated">
  25398. </field>
  25399. <doc>
  25400. <![CDATA[An {@link org.apache.hadoop.mapreduce.OutputFormat} that writes keys,
  25401. values to {@link SequenceFile}s in binary(raw) format]]>
  25402. </doc>
  25403. </class>
  25404. <!-- end class org.apache.hadoop.mapreduce.lib.output.SequenceFileAsBinaryOutputFormat -->
  25405. <!-- start class org.apache.hadoop.mapreduce.lib.output.SequenceFileAsBinaryOutputFormat.WritableValueBytes -->
  25406. <class name="SequenceFileAsBinaryOutputFormat.WritableValueBytes" extends="java.lang.Object"
  25407. abstract="false"
  25408. static="true" final="false" visibility="public"
  25409. deprecated="not deprecated">
  25410. <implements name="org.apache.hadoop.io.SequenceFile.ValueBytes"/>
  25411. <constructor name="SequenceFileAsBinaryOutputFormat.WritableValueBytes"
  25412. static="false" final="false" visibility="public"
  25413. deprecated="not deprecated">
  25414. </constructor>
  25415. <constructor name="SequenceFileAsBinaryOutputFormat.WritableValueBytes" type="org.apache.hadoop.io.BytesWritable"
  25416. static="false" final="false" visibility="public"
  25417. deprecated="not deprecated">
  25418. </constructor>
  25419. <method name="reset"
  25420. abstract="false" native="false" synchronized="false"
  25421. static="false" final="false" visibility="public"
  25422. deprecated="not deprecated">
  25423. <param name="value" type="org.apache.hadoop.io.BytesWritable"/>
  25424. </method>
  25425. <method name="writeUncompressedBytes"
  25426. abstract="false" native="false" synchronized="false"
  25427. static="false" final="false" visibility="public"
  25428. deprecated="not deprecated">
  25429. <param name="outStream" type="java.io.DataOutputStream"/>
  25430. <exception name="IOException" type="java.io.IOException"/>
  25431. </method>
  25432. <method name="writeCompressedBytes"
  25433. abstract="false" native="false" synchronized="false"
  25434. static="false" final="false" visibility="public"
  25435. deprecated="not deprecated">
  25436. <param name="outStream" type="java.io.DataOutputStream"/>
  25437. <exception name="IllegalArgumentException" type="java.lang.IllegalArgumentException"/>
  25438. <exception name="IOException" type="java.io.IOException"/>
  25439. </method>
  25440. <method name="getSize" return="int"
  25441. abstract="false" native="false" synchronized="false"
  25442. static="false" final="false" visibility="public"
  25443. deprecated="not deprecated">
  25444. </method>
  25445. <doc>
  25446. <![CDATA[Inner class used for appendRaw]]>
  25447. </doc>
  25448. </class>
  25449. <!-- end class org.apache.hadoop.mapreduce.lib.output.SequenceFileAsBinaryOutputFormat.WritableValueBytes -->
  25450. <!-- start class org.apache.hadoop.mapreduce.lib.output.SequenceFileOutputFormat -->
  25451. <class name="SequenceFileOutputFormat" extends="org.apache.hadoop.mapreduce.lib.output.FileOutputFormat"
  25452. abstract="false"
  25453. static="false" final="false" visibility="public"
  25454. deprecated="not deprecated">
  25455. <constructor name="SequenceFileOutputFormat"
  25456. static="false" final="false" visibility="public"
  25457. deprecated="not deprecated">
  25458. </constructor>
  25459. <method name="getSequenceWriter" return="org.apache.hadoop.io.SequenceFile.Writer"
  25460. abstract="false" native="false" synchronized="false"
  25461. static="false" final="false" visibility="protected"
  25462. deprecated="not deprecated">
  25463. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  25464. <param name="keyClass" type="java.lang.Class"/>
  25465. <param name="valueClass" type="java.lang.Class"/>
  25466. <exception name="IOException" type="java.io.IOException"/>
  25467. </method>
  25468. <method name="getRecordWriter" return="org.apache.hadoop.mapreduce.RecordWriter"
  25469. abstract="false" native="false" synchronized="false"
  25470. static="false" final="false" visibility="public"
  25471. deprecated="not deprecated">
  25472. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  25473. <exception name="IOException" type="java.io.IOException"/>
  25474. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  25475. </method>
  25476. <method name="getOutputCompressionType" return="org.apache.hadoop.io.SequenceFile.CompressionType"
  25477. abstract="false" native="false" synchronized="false"
  25478. static="true" final="false" visibility="public"
  25479. deprecated="not deprecated">
  25480. <param name="job" type="org.apache.hadoop.mapreduce.JobContext"/>
  25481. <doc>
  25482. <![CDATA[Get the {@link CompressionType} for the output {@link SequenceFile}.
  25483. @param job the {@link Job}
  25484. @return the {@link CompressionType} for the output {@link SequenceFile},
  25485. defaulting to {@link CompressionType#RECORD}]]>
  25486. </doc>
  25487. </method>
  25488. <method name="setOutputCompressionType"
  25489. abstract="false" native="false" synchronized="false"
  25490. static="true" final="false" visibility="public"
  25491. deprecated="not deprecated">
  25492. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  25493. <param name="style" type="org.apache.hadoop.io.SequenceFile.CompressionType"/>
  25494. <doc>
  25495. <![CDATA[Set the {@link CompressionType} for the output {@link SequenceFile}.
  25496. @param job the {@link Job} to modify
  25497. @param style the {@link CompressionType} for the output
  25498. {@link SequenceFile}]]>
  25499. </doc>
  25500. </method>
  25501. <doc>
  25502. <![CDATA[An {@link OutputFormat} that writes {@link SequenceFile}s.]]>
  25503. </doc>
  25504. </class>
  25505. <!-- end class org.apache.hadoop.mapreduce.lib.output.SequenceFileOutputFormat -->
  25506. <!-- start class org.apache.hadoop.mapreduce.lib.output.TextOutputFormat -->
  25507. <class name="TextOutputFormat" extends="org.apache.hadoop.mapreduce.lib.output.FileOutputFormat"
  25508. abstract="false"
  25509. static="false" final="false" visibility="public"
  25510. deprecated="not deprecated">
  25511. <constructor name="TextOutputFormat"
  25512. static="false" final="false" visibility="public"
  25513. deprecated="not deprecated">
  25514. </constructor>
  25515. <method name="getRecordWriter" return="org.apache.hadoop.mapreduce.RecordWriter"
  25516. abstract="false" native="false" synchronized="false"
  25517. static="false" final="false" visibility="public"
  25518. deprecated="not deprecated">
  25519. <param name="job" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  25520. <exception name="IOException" type="java.io.IOException"/>
  25521. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  25522. </method>
  25523. <field name="SEPERATOR" type="java.lang.String"
  25524. transient="false" volatile="false"
  25525. static="true" final="false" visibility="public"
  25526. deprecated="not deprecated">
  25527. </field>
  25528. <doc>
  25529. <![CDATA[An {@link OutputFormat} that writes plain text files.]]>
  25530. </doc>
  25531. </class>
  25532. <!-- end class org.apache.hadoop.mapreduce.lib.output.TextOutputFormat -->
  25533. <!-- start class org.apache.hadoop.mapreduce.lib.output.TextOutputFormat.LineRecordWriter -->
  25534. <class name="TextOutputFormat.LineRecordWriter" extends="org.apache.hadoop.mapreduce.RecordWriter"
  25535. abstract="false"
  25536. static="true" final="false" visibility="protected"
  25537. deprecated="not deprecated">
  25538. <constructor name="TextOutputFormat.LineRecordWriter" type="java.io.DataOutputStream, java.lang.String"
  25539. static="false" final="false" visibility="public"
  25540. deprecated="not deprecated">
  25541. </constructor>
  25542. <constructor name="TextOutputFormat.LineRecordWriter" type="java.io.DataOutputStream"
  25543. static="false" final="false" visibility="public"
  25544. deprecated="not deprecated">
  25545. </constructor>
  25546. <method name="write"
  25547. abstract="false" native="false" synchronized="true"
  25548. static="false" final="false" visibility="public"
  25549. deprecated="not deprecated">
  25550. <param name="key" type="K"/>
  25551. <param name="value" type="V"/>
  25552. <exception name="IOException" type="java.io.IOException"/>
  25553. </method>
  25554. <method name="close"
  25555. abstract="false" native="false" synchronized="true"
  25556. static="false" final="false" visibility="public"
  25557. deprecated="not deprecated">
  25558. <param name="context" type="org.apache.hadoop.mapreduce.TaskAttemptContext"/>
  25559. <exception name="IOException" type="java.io.IOException"/>
  25560. </method>
  25561. <field name="out" type="java.io.DataOutputStream"
  25562. transient="false" volatile="false"
  25563. static="false" final="false" visibility="protected"
  25564. deprecated="not deprecated">
  25565. </field>
  25566. </class>
  25567. <!-- end class org.apache.hadoop.mapreduce.lib.output.TextOutputFormat.LineRecordWriter -->
  25568. </package>
  25569. <package name="org.apache.hadoop.mapreduce.lib.partition">
  25570. <!-- start class org.apache.hadoop.mapreduce.lib.partition.BinaryPartitioner -->
  25571. <class name="BinaryPartitioner" extends="org.apache.hadoop.mapreduce.Partitioner"
  25572. abstract="false"
  25573. static="false" final="false" visibility="public"
  25574. deprecated="not deprecated">
  25575. <implements name="org.apache.hadoop.conf.Configurable"/>
  25576. <constructor name="BinaryPartitioner"
  25577. static="false" final="false" visibility="public"
  25578. deprecated="not deprecated">
  25579. </constructor>
  25580. <method name="setOffsets"
  25581. abstract="false" native="false" synchronized="false"
  25582. static="true" final="false" visibility="public"
  25583. deprecated="not deprecated">
  25584. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  25585. <param name="left" type="int"/>
  25586. <param name="right" type="int"/>
  25587. <doc>
  25588. <![CDATA[Set the subarray to be used for partitioning to
  25589. <code>bytes[left:(right+1)]</code> in Python syntax.
  25590. @param conf configuration object
  25591. @param left left Python-style offset
  25592. @param right right Python-style offset]]>
  25593. </doc>
  25594. </method>
  25595. <method name="setLeftOffset"
  25596. abstract="false" native="false" synchronized="false"
  25597. static="true" final="false" visibility="public"
  25598. deprecated="not deprecated">
  25599. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  25600. <param name="offset" type="int"/>
  25601. <doc>
  25602. <![CDATA[Set the subarray to be used for partitioning to
  25603. <code>bytes[offset:]</code> in Python syntax.
  25604. @param conf configuration object
  25605. @param offset left Python-style offset]]>
  25606. </doc>
  25607. </method>
  25608. <method name="setRightOffset"
  25609. abstract="false" native="false" synchronized="false"
  25610. static="true" final="false" visibility="public"
  25611. deprecated="not deprecated">
  25612. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  25613. <param name="offset" type="int"/>
  25614. <doc>
  25615. <![CDATA[Set the subarray to be used for partitioning to
  25616. <code>bytes[:(offset+1)]</code> in Python syntax.
  25617. @param conf configuration object
  25618. @param offset right Python-style offset]]>
  25619. </doc>
  25620. </method>
  25621. <method name="setConf"
  25622. abstract="false" native="false" synchronized="false"
  25623. static="false" final="false" visibility="public"
  25624. deprecated="not deprecated">
  25625. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  25626. </method>
  25627. <method name="getConf" return="org.apache.hadoop.conf.Configuration"
  25628. abstract="false" native="false" synchronized="false"
  25629. static="false" final="false" visibility="public"
  25630. deprecated="not deprecated">
  25631. </method>
  25632. <method name="getPartition" return="int"
  25633. abstract="false" native="false" synchronized="false"
  25634. static="false" final="false" visibility="public"
  25635. deprecated="not deprecated">
  25636. <param name="key" type="org.apache.hadoop.io.BinaryComparable"/>
  25637. <param name="value" type="V"/>
  25638. <param name="numPartitions" type="int"/>
  25639. <doc>
  25640. <![CDATA[Use (the specified slice of the array returned by)
  25641. {@link BinaryComparable#getBytes()} to partition.]]>
  25642. </doc>
  25643. </method>
  25644. <field name="LEFT_OFFSET_PROPERTY_NAME" type="java.lang.String"
  25645. transient="false" volatile="false"
  25646. static="true" final="true" visibility="public"
  25647. deprecated="not deprecated">
  25648. </field>
  25649. <field name="RIGHT_OFFSET_PROPERTY_NAME" type="java.lang.String"
  25650. transient="false" volatile="false"
  25651. static="true" final="true" visibility="public"
  25652. deprecated="not deprecated">
  25653. </field>
  25654. <doc>
  25655. <![CDATA[<p>Partition {@link BinaryComparable} keys using a configurable part of
  25656. the bytes array returned by {@link BinaryComparable#getBytes()}.</p>
  25657. <p>The subarray to be used for the partitioning can be defined by means
  25658. of the following properties:
  25659. <ul>
  25660. <li>
  25661. <i>mapreduce.partition.binarypartitioner.left.offset</i>:
  25662. left offset in array (0 by default)
  25663. </li>
  25664. <li>
  25665. <i>mapreduce.partition.binarypartitioner.right.offset</i>:
  25666. right offset in array (-1 by default)
  25667. </li>
  25668. </ul>
  25669. Like in Python, both negative and positive offsets are allowed, but
  25670. the meaning is slightly different. In case of an array of length 5,
  25671. for instance, the possible offsets are:
  25672. <pre><code>
  25673. +---+---+---+---+---+
  25674. | B | B | B | B | B |
  25675. +---+---+---+---+---+
  25676. 0 1 2 3 4
  25677. -5 -4 -3 -2 -1
  25678. </code></pre>
  25679. The first row of numbers gives the position of the offsets 0...5 in
  25680. the array; the second row gives the corresponding negative offsets.
  25681. Contrary to Python, the specified subarray has byte <code>i</code>
  25682. and <code>j</code> as first and last element, repectively, when
  25683. <code>i</code> and <code>j</code> are the left and right offset.
  25684. <p>For Hadoop programs written in Java, it is advisable to use one of
  25685. the following static convenience methods for setting the offsets:
  25686. <ul>
  25687. <li>{@link #setOffsets}</li>
  25688. <li>{@link #setLeftOffset}</li>
  25689. <li>{@link #setRightOffset}</li>
  25690. </ul></p>]]>
  25691. </doc>
  25692. </class>
  25693. <!-- end class org.apache.hadoop.mapreduce.lib.partition.BinaryPartitioner -->
  25694. <!-- start class org.apache.hadoop.mapreduce.lib.partition.HashPartitioner -->
  25695. <class name="HashPartitioner" extends="org.apache.hadoop.mapreduce.Partitioner"
  25696. abstract="false"
  25697. static="false" final="false" visibility="public"
  25698. deprecated="not deprecated">
  25699. <constructor name="HashPartitioner"
  25700. static="false" final="false" visibility="public"
  25701. deprecated="not deprecated">
  25702. </constructor>
  25703. <method name="getPartition" return="int"
  25704. abstract="false" native="false" synchronized="false"
  25705. static="false" final="false" visibility="public"
  25706. deprecated="not deprecated">
  25707. <param name="key" type="K"/>
  25708. <param name="value" type="V"/>
  25709. <param name="numReduceTasks" type="int"/>
  25710. <doc>
  25711. <![CDATA[Use {@link Object#hashCode()} to partition.]]>
  25712. </doc>
  25713. </method>
  25714. <doc>
  25715. <![CDATA[Partition keys by their {@link Object#hashCode()}.]]>
  25716. </doc>
  25717. </class>
  25718. <!-- end class org.apache.hadoop.mapreduce.lib.partition.HashPartitioner -->
  25719. <!-- start class org.apache.hadoop.mapreduce.lib.partition.InputSampler -->
  25720. <class name="InputSampler" extends="org.apache.hadoop.conf.Configured"
  25721. abstract="false"
  25722. static="false" final="false" visibility="public"
  25723. deprecated="not deprecated">
  25724. <implements name="org.apache.hadoop.util.Tool"/>
  25725. <constructor name="InputSampler" type="org.apache.hadoop.conf.Configuration"
  25726. static="false" final="false" visibility="public"
  25727. deprecated="not deprecated">
  25728. </constructor>
  25729. <method name="writePartitionFile"
  25730. abstract="false" native="false" synchronized="false"
  25731. static="true" final="false" visibility="public"
  25732. deprecated="not deprecated">
  25733. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  25734. <param name="sampler" type="org.apache.hadoop.mapreduce.lib.partition.InputSampler.Sampler"/>
  25735. <exception name="IOException" type="java.io.IOException"/>
  25736. <exception name="ClassNotFoundException" type="java.lang.ClassNotFoundException"/>
  25737. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  25738. <doc>
  25739. <![CDATA[Write a partition file for the given job, using the Sampler provided.
  25740. Queries the sampler for a sample keyset, sorts by the output key
  25741. comparator, selects the keys for each rank, and writes to the destination
  25742. returned from {@link TotalOrderPartitioner#getPartitionFile}.]]>
  25743. </doc>
  25744. </method>
  25745. <method name="run" return="int"
  25746. abstract="false" native="false" synchronized="false"
  25747. static="false" final="false" visibility="public"
  25748. deprecated="not deprecated">
  25749. <param name="args" type="java.lang.String[]"/>
  25750. <exception name="Exception" type="java.lang.Exception"/>
  25751. <doc>
  25752. <![CDATA[Driver for InputSampler from the command line.
  25753. Configures a JobConf instance and calls {@link #writePartitionFile}.]]>
  25754. </doc>
  25755. </method>
  25756. <method name="main"
  25757. abstract="false" native="false" synchronized="false"
  25758. static="true" final="false" visibility="public"
  25759. deprecated="not deprecated">
  25760. <param name="args" type="java.lang.String[]"/>
  25761. <exception name="Exception" type="java.lang.Exception"/>
  25762. </method>
  25763. <doc>
  25764. <![CDATA[Utility for collecting samples and writing a partition file for
  25765. {@link TotalOrderPartitioner}.]]>
  25766. </doc>
  25767. </class>
  25768. <!-- end class org.apache.hadoop.mapreduce.lib.partition.InputSampler -->
  25769. <!-- start class org.apache.hadoop.mapreduce.lib.partition.InputSampler.IntervalSampler -->
  25770. <class name="InputSampler.IntervalSampler" extends="java.lang.Object"
  25771. abstract="false"
  25772. static="true" final="false" visibility="public"
  25773. deprecated="not deprecated">
  25774. <implements name="org.apache.hadoop.mapreduce.lib.partition.InputSampler.Sampler"/>
  25775. <constructor name="InputSampler.IntervalSampler" type="double"
  25776. static="false" final="false" visibility="public"
  25777. deprecated="not deprecated">
  25778. <doc>
  25779. <![CDATA[Create a new IntervalSampler sampling <em>all</em> splits.
  25780. @param freq The frequency with which records will be emitted.]]>
  25781. </doc>
  25782. </constructor>
  25783. <constructor name="InputSampler.IntervalSampler" type="double, int"
  25784. static="false" final="false" visibility="public"
  25785. deprecated="not deprecated">
  25786. <doc>
  25787. <![CDATA[Create a new IntervalSampler.
  25788. @param freq The frequency with which records will be emitted.
  25789. @param maxSplitsSampled The maximum number of splits to examine.
  25790. @see #getSample]]>
  25791. </doc>
  25792. </constructor>
  25793. <method name="getSample" return="K[]"
  25794. abstract="false" native="false" synchronized="false"
  25795. static="false" final="false" visibility="public"
  25796. deprecated="not deprecated">
  25797. <param name="inf" type="org.apache.hadoop.mapreduce.InputFormat"/>
  25798. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  25799. <exception name="IOException" type="java.io.IOException"/>
  25800. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  25801. <doc>
  25802. <![CDATA[For each split sampled, emit when the ratio of the number of records
  25803. retained to the total record count is less than the specified
  25804. frequency.]]>
  25805. </doc>
  25806. </method>
  25807. <doc>
  25808. <![CDATA[Sample from s splits at regular intervals.
  25809. Useful for sorted data.]]>
  25810. </doc>
  25811. </class>
  25812. <!-- end class org.apache.hadoop.mapreduce.lib.partition.InputSampler.IntervalSampler -->
  25813. <!-- start class org.apache.hadoop.mapreduce.lib.partition.InputSampler.RandomSampler -->
  25814. <class name="InputSampler.RandomSampler" extends="java.lang.Object"
  25815. abstract="false"
  25816. static="true" final="false" visibility="public"
  25817. deprecated="not deprecated">
  25818. <implements name="org.apache.hadoop.mapreduce.lib.partition.InputSampler.Sampler"/>
  25819. <constructor name="InputSampler.RandomSampler" type="double, int"
  25820. static="false" final="false" visibility="public"
  25821. deprecated="not deprecated">
  25822. <doc>
  25823. <![CDATA[Create a new RandomSampler sampling <em>all</em> splits.
  25824. This will read every split at the client, which is very expensive.
  25825. @param freq Probability with which a key will be chosen.
  25826. @param numSamples Total number of samples to obtain from all selected
  25827. splits.]]>
  25828. </doc>
  25829. </constructor>
  25830. <constructor name="InputSampler.RandomSampler" type="double, int, int"
  25831. static="false" final="false" visibility="public"
  25832. deprecated="not deprecated">
  25833. <doc>
  25834. <![CDATA[Create a new RandomSampler.
  25835. @param freq Probability with which a key will be chosen.
  25836. @param numSamples Total number of samples to obtain from all selected
  25837. splits.
  25838. @param maxSplitsSampled The maximum number of splits to examine.]]>
  25839. </doc>
  25840. </constructor>
  25841. <method name="getSample" return="K[]"
  25842. abstract="false" native="false" synchronized="false"
  25843. static="false" final="false" visibility="public"
  25844. deprecated="not deprecated">
  25845. <param name="inf" type="org.apache.hadoop.mapreduce.InputFormat"/>
  25846. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  25847. <exception name="IOException" type="java.io.IOException"/>
  25848. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  25849. <doc>
  25850. <![CDATA[Randomize the split order, then take the specified number of keys from
  25851. each split sampled, where each key is selected with the specified
  25852. probability and possibly replaced by a subsequently selected key when
  25853. the quota of keys from that split is satisfied.]]>
  25854. </doc>
  25855. </method>
  25856. <doc>
  25857. <![CDATA[Sample from random points in the input.
  25858. General-purpose sampler. Takes numSamples / maxSplitsSampled inputs from
  25859. each split.]]>
  25860. </doc>
  25861. </class>
  25862. <!-- end class org.apache.hadoop.mapreduce.lib.partition.InputSampler.RandomSampler -->
  25863. <!-- start interface org.apache.hadoop.mapreduce.lib.partition.InputSampler.Sampler -->
  25864. <interface name="InputSampler.Sampler" abstract="true"
  25865. static="true" final="false" visibility="public"
  25866. deprecated="not deprecated">
  25867. <method name="getSample" return="K[]"
  25868. abstract="false" native="false" synchronized="false"
  25869. static="false" final="false" visibility="public"
  25870. deprecated="not deprecated">
  25871. <param name="inf" type="org.apache.hadoop.mapreduce.InputFormat"/>
  25872. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  25873. <exception name="IOException" type="java.io.IOException"/>
  25874. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  25875. <doc>
  25876. <![CDATA[For a given job, collect and return a subset of the keys from the
  25877. input data.]]>
  25878. </doc>
  25879. </method>
  25880. <doc>
  25881. <![CDATA[Interface to sample using an
  25882. {@link org.apache.hadoop.mapreduce.InputFormat}.]]>
  25883. </doc>
  25884. </interface>
  25885. <!-- end interface org.apache.hadoop.mapreduce.lib.partition.InputSampler.Sampler -->
  25886. <!-- start class org.apache.hadoop.mapreduce.lib.partition.InputSampler.SplitSampler -->
  25887. <class name="InputSampler.SplitSampler" extends="java.lang.Object"
  25888. abstract="false"
  25889. static="true" final="false" visibility="public"
  25890. deprecated="not deprecated">
  25891. <implements name="org.apache.hadoop.mapreduce.lib.partition.InputSampler.Sampler"/>
  25892. <constructor name="InputSampler.SplitSampler" type="int"
  25893. static="false" final="false" visibility="public"
  25894. deprecated="not deprecated">
  25895. <doc>
  25896. <![CDATA[Create a SplitSampler sampling <em>all</em> splits.
  25897. Takes the first numSamples / numSplits records from each split.
  25898. @param numSamples Total number of samples to obtain from all selected
  25899. splits.]]>
  25900. </doc>
  25901. </constructor>
  25902. <constructor name="InputSampler.SplitSampler" type="int, int"
  25903. static="false" final="false" visibility="public"
  25904. deprecated="not deprecated">
  25905. <doc>
  25906. <![CDATA[Create a new SplitSampler.
  25907. @param numSamples Total number of samples to obtain from all selected
  25908. splits.
  25909. @param maxSplitsSampled The maximum number of splits to examine.]]>
  25910. </doc>
  25911. </constructor>
  25912. <method name="getSample" return="K[]"
  25913. abstract="false" native="false" synchronized="false"
  25914. static="false" final="false" visibility="public"
  25915. deprecated="not deprecated">
  25916. <param name="inf" type="org.apache.hadoop.mapreduce.InputFormat"/>
  25917. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  25918. <exception name="IOException" type="java.io.IOException"/>
  25919. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  25920. <doc>
  25921. <![CDATA[From each split sampled, take the first numSamples / numSplits records.]]>
  25922. </doc>
  25923. </method>
  25924. <doc>
  25925. <![CDATA[Samples the first n records from s splits.
  25926. Inexpensive way to sample random data.]]>
  25927. </doc>
  25928. </class>
  25929. <!-- end class org.apache.hadoop.mapreduce.lib.partition.InputSampler.SplitSampler -->
  25930. <!-- start class org.apache.hadoop.mapreduce.lib.partition.KeyFieldBasedComparator -->
  25931. <class name="KeyFieldBasedComparator" extends="org.apache.hadoop.io.WritableComparator"
  25932. abstract="false"
  25933. static="false" final="false" visibility="public"
  25934. deprecated="not deprecated">
  25935. <implements name="org.apache.hadoop.conf.Configurable"/>
  25936. <constructor name="KeyFieldBasedComparator"
  25937. static="false" final="false" visibility="public"
  25938. deprecated="not deprecated">
  25939. </constructor>
  25940. <method name="setConf"
  25941. abstract="false" native="false" synchronized="false"
  25942. static="false" final="false" visibility="public"
  25943. deprecated="not deprecated">
  25944. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  25945. </method>
  25946. <method name="getConf" return="org.apache.hadoop.conf.Configuration"
  25947. abstract="false" native="false" synchronized="false"
  25948. static="false" final="false" visibility="public"
  25949. deprecated="not deprecated">
  25950. </method>
  25951. <method name="compare" return="int"
  25952. abstract="false" native="false" synchronized="false"
  25953. static="false" final="false" visibility="public"
  25954. deprecated="not deprecated">
  25955. <param name="b1" type="byte[]"/>
  25956. <param name="s1" type="int"/>
  25957. <param name="l1" type="int"/>
  25958. <param name="b2" type="byte[]"/>
  25959. <param name="s2" type="int"/>
  25960. <param name="l2" type="int"/>
  25961. </method>
  25962. <method name="setKeyFieldComparatorOptions"
  25963. abstract="false" native="false" synchronized="false"
  25964. static="true" final="false" visibility="public"
  25965. deprecated="not deprecated">
  25966. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  25967. <param name="keySpec" type="java.lang.String"/>
  25968. <doc>
  25969. <![CDATA[Set the {@link KeyFieldBasedComparator} options used to compare keys.
  25970. @param keySpec the key specification of the form -k pos1[,pos2], where,
  25971. pos is of the form f[.c][opts], where f is the number
  25972. of the key field to use, and c is the number of the first character from
  25973. the beginning of the field. Fields and character posns are numbered
  25974. starting with 1; a character position of zero in pos2 indicates the
  25975. field's last character. If '.c' is omitted from pos1, it defaults to 1
  25976. (the beginning of the field); if omitted from pos2, it defaults to 0
  25977. (the end of the field). opts are ordering options. The supported options
  25978. are:
  25979. -n, (Sort numerically)
  25980. -r, (Reverse the result of comparison)]]>
  25981. </doc>
  25982. </method>
  25983. <method name="getKeyFieldComparatorOption" return="java.lang.String"
  25984. abstract="false" native="false" synchronized="false"
  25985. static="true" final="false" visibility="public"
  25986. deprecated="not deprecated">
  25987. <param name="job" type="org.apache.hadoop.mapreduce.JobContext"/>
  25988. <doc>
  25989. <![CDATA[Get the {@link KeyFieldBasedComparator} options]]>
  25990. </doc>
  25991. </method>
  25992. <field name="COMPARATOR_OPTIONS" type="java.lang.String"
  25993. transient="false" volatile="false"
  25994. static="true" final="false" visibility="public"
  25995. deprecated="not deprecated">
  25996. </field>
  25997. <doc>
  25998. <![CDATA[This comparator implementation provides a subset of the features provided
  25999. by the Unix/GNU Sort. In particular, the supported features are:
  26000. -n, (Sort numerically)
  26001. -r, (Reverse the result of comparison)
  26002. -k pos1[,pos2], where pos is of the form f[.c][opts], where f is the number
  26003. of the field to use, and c is the number of the first character from the
  26004. beginning of the field. Fields and character posns are numbered starting
  26005. with 1; a character position of zero in pos2 indicates the field's last
  26006. character. If '.c' is omitted from pos1, it defaults to 1 (the beginning
  26007. of the field); if omitted from pos2, it defaults to 0 (the end of the
  26008. field). opts are ordering options (any of 'nr' as described above).
  26009. We assume that the fields in the key are separated by
  26010. {@link JobContext#MAP_OUTPUT_KEY_FIELD_SEPERATOR}.]]>
  26011. </doc>
  26012. </class>
  26013. <!-- end class org.apache.hadoop.mapreduce.lib.partition.KeyFieldBasedComparator -->
  26014. <!-- start class org.apache.hadoop.mapreduce.lib.partition.KeyFieldBasedPartitioner -->
  26015. <class name="KeyFieldBasedPartitioner" extends="org.apache.hadoop.mapreduce.Partitioner"
  26016. abstract="false"
  26017. static="false" final="false" visibility="public"
  26018. deprecated="not deprecated">
  26019. <implements name="org.apache.hadoop.conf.Configurable"/>
  26020. <constructor name="KeyFieldBasedPartitioner"
  26021. static="false" final="false" visibility="public"
  26022. deprecated="not deprecated">
  26023. </constructor>
  26024. <method name="setConf"
  26025. abstract="false" native="false" synchronized="false"
  26026. static="false" final="false" visibility="public"
  26027. deprecated="not deprecated">
  26028. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  26029. </method>
  26030. <method name="getConf" return="org.apache.hadoop.conf.Configuration"
  26031. abstract="false" native="false" synchronized="false"
  26032. static="false" final="false" visibility="public"
  26033. deprecated="not deprecated">
  26034. </method>
  26035. <method name="getPartition" return="int"
  26036. abstract="false" native="false" synchronized="false"
  26037. static="false" final="false" visibility="public"
  26038. deprecated="not deprecated">
  26039. <param name="key" type="K2"/>
  26040. <param name="value" type="V2"/>
  26041. <param name="numReduceTasks" type="int"/>
  26042. </method>
  26043. <method name="hashCode" return="int"
  26044. abstract="false" native="false" synchronized="false"
  26045. static="false" final="false" visibility="protected"
  26046. deprecated="not deprecated">
  26047. <param name="b" type="byte[]"/>
  26048. <param name="start" type="int"/>
  26049. <param name="end" type="int"/>
  26050. <param name="currentHash" type="int"/>
  26051. </method>
  26052. <method name="getPartition" return="int"
  26053. abstract="false" native="false" synchronized="false"
  26054. static="false" final="false" visibility="protected"
  26055. deprecated="not deprecated">
  26056. <param name="hash" type="int"/>
  26057. <param name="numReduceTasks" type="int"/>
  26058. </method>
  26059. <method name="setKeyFieldPartitionerOptions"
  26060. abstract="false" native="false" synchronized="false"
  26061. static="false" final="false" visibility="public"
  26062. deprecated="not deprecated">
  26063. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  26064. <param name="keySpec" type="java.lang.String"/>
  26065. <doc>
  26066. <![CDATA[Set the {@link KeyFieldBasedPartitioner} options used for
  26067. {@link Partitioner}
  26068. @param keySpec the key specification of the form -k pos1[,pos2], where,
  26069. pos is of the form f[.c][opts], where f is the number
  26070. of the key field to use, and c is the number of the first character from
  26071. the beginning of the field. Fields and character posns are numbered
  26072. starting with 1; a character position of zero in pos2 indicates the
  26073. field's last character. If '.c' is omitted from pos1, it defaults to 1
  26074. (the beginning of the field); if omitted from pos2, it defaults to 0
  26075. (the end of the field).]]>
  26076. </doc>
  26077. </method>
  26078. <method name="getKeyFieldPartitionerOption" return="java.lang.String"
  26079. abstract="false" native="false" synchronized="false"
  26080. static="false" final="false" visibility="public"
  26081. deprecated="not deprecated">
  26082. <param name="job" type="org.apache.hadoop.mapreduce.JobContext"/>
  26083. <doc>
  26084. <![CDATA[Get the {@link KeyFieldBasedPartitioner} options]]>
  26085. </doc>
  26086. </method>
  26087. <field name="PARTITIONER_OPTIONS" type="java.lang.String"
  26088. transient="false" volatile="false"
  26089. static="true" final="false" visibility="public"
  26090. deprecated="not deprecated">
  26091. </field>
  26092. <doc>
  26093. <![CDATA[Defines a way to partition keys based on certain key fields (also see
  26094. {@link KeyFieldBasedComparator}.
  26095. The key specification supported is of the form -k pos1[,pos2], where,
  26096. pos is of the form f[.c][opts], where f is the number
  26097. of the key field to use, and c is the number of the first character from
  26098. the beginning of the field. Fields and character posns are numbered
  26099. starting with 1; a character position of zero in pos2 indicates the
  26100. field's last character. If '.c' is omitted from pos1, it defaults to 1
  26101. (the beginning of the field); if omitted from pos2, it defaults to 0
  26102. (the end of the field).]]>
  26103. </doc>
  26104. </class>
  26105. <!-- end class org.apache.hadoop.mapreduce.lib.partition.KeyFieldBasedPartitioner -->
  26106. <!-- start class org.apache.hadoop.mapreduce.lib.partition.TotalOrderPartitioner -->
  26107. <class name="TotalOrderPartitioner" extends="org.apache.hadoop.mapreduce.Partitioner"
  26108. abstract="false"
  26109. static="false" final="false" visibility="public"
  26110. deprecated="not deprecated">
  26111. <implements name="org.apache.hadoop.conf.Configurable"/>
  26112. <constructor name="TotalOrderPartitioner"
  26113. static="false" final="false" visibility="public"
  26114. deprecated="not deprecated">
  26115. </constructor>
  26116. <method name="setConf"
  26117. abstract="false" native="false" synchronized="false"
  26118. static="false" final="false" visibility="public"
  26119. deprecated="not deprecated">
  26120. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  26121. <doc>
  26122. <![CDATA[Read in the partition file and build indexing data structures.
  26123. If the keytype is {@link org.apache.hadoop.io.BinaryComparable} and
  26124. <tt>total.order.partitioner.natural.order</tt> is not false, a trie
  26125. of the first <tt>total.order.partitioner.max.trie.depth</tt>(2) + 1 bytes
  26126. will be built. Otherwise, keys will be located using a binary search of
  26127. the partition keyset using the {@link org.apache.hadoop.io.RawComparator}
  26128. defined for this job. The input file must be sorted with the same
  26129. comparator and contain {@link Job#getNumReduceTasks()} - 1 keys.]]>
  26130. </doc>
  26131. </method>
  26132. <method name="getConf" return="org.apache.hadoop.conf.Configuration"
  26133. abstract="false" native="false" synchronized="false"
  26134. static="false" final="false" visibility="public"
  26135. deprecated="not deprecated">
  26136. </method>
  26137. <method name="getPartition" return="int"
  26138. abstract="false" native="false" synchronized="false"
  26139. static="false" final="false" visibility="public"
  26140. deprecated="not deprecated">
  26141. <param name="key" type="K"/>
  26142. <param name="value" type="V"/>
  26143. <param name="numPartitions" type="int"/>
  26144. </method>
  26145. <method name="setPartitionFile"
  26146. abstract="false" native="false" synchronized="false"
  26147. static="true" final="false" visibility="public"
  26148. deprecated="not deprecated">
  26149. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  26150. <param name="p" type="org.apache.hadoop.fs.Path"/>
  26151. <doc>
  26152. <![CDATA[Set the path to the SequenceFile storing the sorted partition keyset.
  26153. It must be the case that for <tt>R</tt> reduces, there are <tt>R-1</tt>
  26154. keys in the SequenceFile.]]>
  26155. </doc>
  26156. </method>
  26157. <method name="getPartitionFile" return="java.lang.String"
  26158. abstract="false" native="false" synchronized="false"
  26159. static="true" final="false" visibility="public"
  26160. deprecated="not deprecated">
  26161. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  26162. <doc>
  26163. <![CDATA[Get the path to the SequenceFile storing the sorted partition keyset.
  26164. @see #setPartitionFile(Configuration, Path)]]>
  26165. </doc>
  26166. </method>
  26167. <field name="DEFAULT_PATH" type="java.lang.String"
  26168. transient="false" volatile="false"
  26169. static="true" final="true" visibility="public"
  26170. deprecated="not deprecated">
  26171. </field>
  26172. <field name="PARTITIONER_PATH" type="java.lang.String"
  26173. transient="false" volatile="false"
  26174. static="true" final="true" visibility="public"
  26175. deprecated="not deprecated">
  26176. </field>
  26177. <field name="MAX_TRIE_DEPTH" type="java.lang.String"
  26178. transient="false" volatile="false"
  26179. static="true" final="true" visibility="public"
  26180. deprecated="not deprecated">
  26181. </field>
  26182. <field name="NATURAL_ORDER" type="java.lang.String"
  26183. transient="false" volatile="false"
  26184. static="true" final="true" visibility="public"
  26185. deprecated="not deprecated">
  26186. </field>
  26187. <doc>
  26188. <![CDATA[Partitioner effecting a total order by reading split points from
  26189. an externally generated source.]]>
  26190. </doc>
  26191. </class>
  26192. <!-- end class org.apache.hadoop.mapreduce.lib.partition.TotalOrderPartitioner -->
  26193. </package>
  26194. <package name="org.apache.hadoop.mapreduce.lib.reduce">
  26195. <!-- start class org.apache.hadoop.mapreduce.lib.reduce.IntSumReducer -->
  26196. <class name="IntSumReducer" extends="org.apache.hadoop.mapreduce.Reducer"
  26197. abstract="false"
  26198. static="false" final="false" visibility="public"
  26199. deprecated="not deprecated">
  26200. <constructor name="IntSumReducer"
  26201. static="false" final="false" visibility="public"
  26202. deprecated="not deprecated">
  26203. </constructor>
  26204. <method name="reduce"
  26205. abstract="false" native="false" synchronized="false"
  26206. static="false" final="false" visibility="public"
  26207. deprecated="not deprecated">
  26208. <param name="key" type="Key"/>
  26209. <param name="values" type="java.lang.Iterable"/>
  26210. <param name="context" type="org.apache.hadoop.mapreduce.Reducer.Context"/>
  26211. <exception name="IOException" type="java.io.IOException"/>
  26212. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  26213. </method>
  26214. </class>
  26215. <!-- end class org.apache.hadoop.mapreduce.lib.reduce.IntSumReducer -->
  26216. <!-- start class org.apache.hadoop.mapreduce.lib.reduce.LongSumReducer -->
  26217. <class name="LongSumReducer" extends="org.apache.hadoop.mapreduce.Reducer"
  26218. abstract="false"
  26219. static="false" final="false" visibility="public"
  26220. deprecated="not deprecated">
  26221. <constructor name="LongSumReducer"
  26222. static="false" final="false" visibility="public"
  26223. deprecated="not deprecated">
  26224. </constructor>
  26225. <method name="reduce"
  26226. abstract="false" native="false" synchronized="false"
  26227. static="false" final="false" visibility="public"
  26228. deprecated="not deprecated">
  26229. <param name="key" type="KEY"/>
  26230. <param name="values" type="java.lang.Iterable"/>
  26231. <param name="context" type="org.apache.hadoop.mapreduce.Reducer.Context"/>
  26232. <exception name="IOException" type="java.io.IOException"/>
  26233. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  26234. </method>
  26235. </class>
  26236. <!-- end class org.apache.hadoop.mapreduce.lib.reduce.LongSumReducer -->
  26237. <!-- start class org.apache.hadoop.mapreduce.lib.reduce.WrappedReducer -->
  26238. <class name="WrappedReducer" extends="org.apache.hadoop.mapreduce.Reducer"
  26239. abstract="false"
  26240. static="false" final="false" visibility="public"
  26241. deprecated="not deprecated">
  26242. <constructor name="WrappedReducer"
  26243. static="false" final="false" visibility="public"
  26244. deprecated="not deprecated">
  26245. </constructor>
  26246. <method name="getReducerContext" return="org.apache.hadoop.mapreduce.Reducer.Context"
  26247. abstract="false" native="false" synchronized="false"
  26248. static="false" final="false" visibility="public"
  26249. deprecated="not deprecated">
  26250. <param name="reduceContext" type="org.apache.hadoop.mapreduce.ReduceContext"/>
  26251. <doc>
  26252. <![CDATA[A a wrapped {@link Reducer.Context} for custom implementations.
  26253. @param reduceContext <code>ReduceContext</code> to be wrapped
  26254. @return a wrapped <code>Reducer.Context</code> for custom implementations]]>
  26255. </doc>
  26256. </method>
  26257. <doc>
  26258. <![CDATA[A {@link Reducer} which wraps a given one to allow for custom
  26259. {@link Reducer.Context} implementations.]]>
  26260. </doc>
  26261. </class>
  26262. <!-- end class org.apache.hadoop.mapreduce.lib.reduce.WrappedReducer -->
  26263. <!-- start class org.apache.hadoop.mapreduce.lib.reduce.WrappedReducer.Context -->
  26264. <class name="WrappedReducer.Context" extends="org.apache.hadoop.mapreduce.Reducer.Context"
  26265. abstract="false"
  26266. static="false" final="false" visibility="public"
  26267. deprecated="not deprecated">
  26268. <constructor name="WrappedReducer.Context" type="org.apache.hadoop.mapreduce.ReduceContext"
  26269. static="false" final="false" visibility="public"
  26270. deprecated="not deprecated">
  26271. </constructor>
  26272. <method name="getCurrentKey" return="KEYIN"
  26273. abstract="false" native="false" synchronized="false"
  26274. static="false" final="false" visibility="public"
  26275. deprecated="not deprecated">
  26276. <exception name="IOException" type="java.io.IOException"/>
  26277. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  26278. </method>
  26279. <method name="getCurrentValue" return="VALUEIN"
  26280. abstract="false" native="false" synchronized="false"
  26281. static="false" final="false" visibility="public"
  26282. deprecated="not deprecated">
  26283. <exception name="IOException" type="java.io.IOException"/>
  26284. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  26285. </method>
  26286. <method name="nextKeyValue" return="boolean"
  26287. abstract="false" native="false" synchronized="false"
  26288. static="false" final="false" visibility="public"
  26289. deprecated="not deprecated">
  26290. <exception name="IOException" type="java.io.IOException"/>
  26291. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  26292. </method>
  26293. <method name="getCounter" return="org.apache.hadoop.mapreduce.Counter"
  26294. abstract="false" native="false" synchronized="false"
  26295. static="false" final="false" visibility="public"
  26296. deprecated="not deprecated">
  26297. <param name="counterName" type="java.lang.Enum"/>
  26298. </method>
  26299. <method name="getCounter" return="org.apache.hadoop.mapreduce.Counter"
  26300. abstract="false" native="false" synchronized="false"
  26301. static="false" final="false" visibility="public"
  26302. deprecated="not deprecated">
  26303. <param name="groupName" type="java.lang.String"/>
  26304. <param name="counterName" type="java.lang.String"/>
  26305. </method>
  26306. <method name="getOutputCommitter" return="org.apache.hadoop.mapreduce.OutputCommitter"
  26307. abstract="false" native="false" synchronized="false"
  26308. static="false" final="false" visibility="public"
  26309. deprecated="not deprecated">
  26310. </method>
  26311. <method name="write"
  26312. abstract="false" native="false" synchronized="false"
  26313. static="false" final="false" visibility="public"
  26314. deprecated="not deprecated">
  26315. <param name="key" type="KEYOUT"/>
  26316. <param name="value" type="VALUEOUT"/>
  26317. <exception name="IOException" type="java.io.IOException"/>
  26318. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  26319. </method>
  26320. <method name="getStatus" return="java.lang.String"
  26321. abstract="false" native="false" synchronized="false"
  26322. static="false" final="false" visibility="public"
  26323. deprecated="not deprecated">
  26324. </method>
  26325. <method name="getTaskAttemptID" return="org.apache.hadoop.mapreduce.TaskAttemptID"
  26326. abstract="false" native="false" synchronized="false"
  26327. static="false" final="false" visibility="public"
  26328. deprecated="not deprecated">
  26329. </method>
  26330. <method name="setStatus"
  26331. abstract="false" native="false" synchronized="false"
  26332. static="false" final="false" visibility="public"
  26333. deprecated="not deprecated">
  26334. <param name="msg" type="java.lang.String"/>
  26335. </method>
  26336. <method name="getArchiveClassPaths" return="org.apache.hadoop.fs.Path[]"
  26337. abstract="false" native="false" synchronized="false"
  26338. static="false" final="false" visibility="public"
  26339. deprecated="not deprecated">
  26340. </method>
  26341. <method name="getArchiveTimestamps" return="java.lang.String[]"
  26342. abstract="false" native="false" synchronized="false"
  26343. static="false" final="false" visibility="public"
  26344. deprecated="not deprecated">
  26345. </method>
  26346. <method name="getCacheArchives" return="java.net.URI[]"
  26347. abstract="false" native="false" synchronized="false"
  26348. static="false" final="false" visibility="public"
  26349. deprecated="not deprecated">
  26350. <exception name="IOException" type="java.io.IOException"/>
  26351. </method>
  26352. <method name="getCacheFiles" return="java.net.URI[]"
  26353. abstract="false" native="false" synchronized="false"
  26354. static="false" final="false" visibility="public"
  26355. deprecated="not deprecated">
  26356. <exception name="IOException" type="java.io.IOException"/>
  26357. </method>
  26358. <method name="getCombinerClass" return="java.lang.Class"
  26359. abstract="false" native="false" synchronized="false"
  26360. static="false" final="false" visibility="public"
  26361. deprecated="not deprecated">
  26362. <exception name="ClassNotFoundException" type="java.lang.ClassNotFoundException"/>
  26363. </method>
  26364. <method name="getConfiguration" return="org.apache.hadoop.conf.Configuration"
  26365. abstract="false" native="false" synchronized="false"
  26366. static="false" final="false" visibility="public"
  26367. deprecated="not deprecated">
  26368. </method>
  26369. <method name="getFileClassPaths" return="org.apache.hadoop.fs.Path[]"
  26370. abstract="false" native="false" synchronized="false"
  26371. static="false" final="false" visibility="public"
  26372. deprecated="not deprecated">
  26373. </method>
  26374. <method name="getFileTimestamps" return="java.lang.String[]"
  26375. abstract="false" native="false" synchronized="false"
  26376. static="false" final="false" visibility="public"
  26377. deprecated="not deprecated">
  26378. </method>
  26379. <method name="getGroupingComparator" return="org.apache.hadoop.io.RawComparator"
  26380. abstract="false" native="false" synchronized="false"
  26381. static="false" final="false" visibility="public"
  26382. deprecated="not deprecated">
  26383. </method>
  26384. <method name="getInputFormatClass" return="java.lang.Class"
  26385. abstract="false" native="false" synchronized="false"
  26386. static="false" final="false" visibility="public"
  26387. deprecated="not deprecated">
  26388. <exception name="ClassNotFoundException" type="java.lang.ClassNotFoundException"/>
  26389. </method>
  26390. <method name="getJar" return="java.lang.String"
  26391. abstract="false" native="false" synchronized="false"
  26392. static="false" final="false" visibility="public"
  26393. deprecated="not deprecated">
  26394. </method>
  26395. <method name="getJobID" return="org.apache.hadoop.mapreduce.JobID"
  26396. abstract="false" native="false" synchronized="false"
  26397. static="false" final="false" visibility="public"
  26398. deprecated="not deprecated">
  26399. </method>
  26400. <method name="getJobName" return="java.lang.String"
  26401. abstract="false" native="false" synchronized="false"
  26402. static="false" final="false" visibility="public"
  26403. deprecated="not deprecated">
  26404. </method>
  26405. <method name="getJobSetupCleanupNeeded" return="boolean"
  26406. abstract="false" native="false" synchronized="false"
  26407. static="false" final="false" visibility="public"
  26408. deprecated="not deprecated">
  26409. </method>
  26410. <method name="getLocalCacheArchives" return="org.apache.hadoop.fs.Path[]"
  26411. abstract="false" native="false" synchronized="false"
  26412. static="false" final="false" visibility="public"
  26413. deprecated="not deprecated">
  26414. <exception name="IOException" type="java.io.IOException"/>
  26415. </method>
  26416. <method name="getLocalCacheFiles" return="org.apache.hadoop.fs.Path[]"
  26417. abstract="false" native="false" synchronized="false"
  26418. static="false" final="false" visibility="public"
  26419. deprecated="not deprecated">
  26420. <exception name="IOException" type="java.io.IOException"/>
  26421. </method>
  26422. <method name="getMapOutputKeyClass" return="java.lang.Class"
  26423. abstract="false" native="false" synchronized="false"
  26424. static="false" final="false" visibility="public"
  26425. deprecated="not deprecated">
  26426. </method>
  26427. <method name="getMapOutputValueClass" return="java.lang.Class"
  26428. abstract="false" native="false" synchronized="false"
  26429. static="false" final="false" visibility="public"
  26430. deprecated="not deprecated">
  26431. </method>
  26432. <method name="getMapperClass" return="java.lang.Class"
  26433. abstract="false" native="false" synchronized="false"
  26434. static="false" final="false" visibility="public"
  26435. deprecated="not deprecated">
  26436. <exception name="ClassNotFoundException" type="java.lang.ClassNotFoundException"/>
  26437. </method>
  26438. <method name="getMaxMapAttempts" return="int"
  26439. abstract="false" native="false" synchronized="false"
  26440. static="false" final="false" visibility="public"
  26441. deprecated="not deprecated">
  26442. </method>
  26443. <method name="getMaxReduceAttempts" return="int"
  26444. abstract="false" native="false" synchronized="false"
  26445. static="false" final="false" visibility="public"
  26446. deprecated="not deprecated">
  26447. </method>
  26448. <method name="getNumReduceTasks" return="int"
  26449. abstract="false" native="false" synchronized="false"
  26450. static="false" final="false" visibility="public"
  26451. deprecated="not deprecated">
  26452. </method>
  26453. <method name="getOutputFormatClass" return="java.lang.Class"
  26454. abstract="false" native="false" synchronized="false"
  26455. static="false" final="false" visibility="public"
  26456. deprecated="not deprecated">
  26457. <exception name="ClassNotFoundException" type="java.lang.ClassNotFoundException"/>
  26458. </method>
  26459. <method name="getOutputKeyClass" return="java.lang.Class"
  26460. abstract="false" native="false" synchronized="false"
  26461. static="false" final="false" visibility="public"
  26462. deprecated="not deprecated">
  26463. </method>
  26464. <method name="getOutputValueClass" return="java.lang.Class"
  26465. abstract="false" native="false" synchronized="false"
  26466. static="false" final="false" visibility="public"
  26467. deprecated="not deprecated">
  26468. </method>
  26469. <method name="getPartitionerClass" return="java.lang.Class"
  26470. abstract="false" native="false" synchronized="false"
  26471. static="false" final="false" visibility="public"
  26472. deprecated="not deprecated">
  26473. <exception name="ClassNotFoundException" type="java.lang.ClassNotFoundException"/>
  26474. </method>
  26475. <method name="getReducerClass" return="java.lang.Class"
  26476. abstract="false" native="false" synchronized="false"
  26477. static="false" final="false" visibility="public"
  26478. deprecated="not deprecated">
  26479. <exception name="ClassNotFoundException" type="java.lang.ClassNotFoundException"/>
  26480. </method>
  26481. <method name="getSortComparator" return="org.apache.hadoop.io.RawComparator"
  26482. abstract="false" native="false" synchronized="false"
  26483. static="false" final="false" visibility="public"
  26484. deprecated="not deprecated">
  26485. </method>
  26486. <method name="getSymlink" return="boolean"
  26487. abstract="false" native="false" synchronized="false"
  26488. static="false" final="false" visibility="public"
  26489. deprecated="not deprecated">
  26490. </method>
  26491. <method name="getWorkingDirectory" return="org.apache.hadoop.fs.Path"
  26492. abstract="false" native="false" synchronized="false"
  26493. static="false" final="false" visibility="public"
  26494. deprecated="not deprecated">
  26495. <exception name="IOException" type="java.io.IOException"/>
  26496. </method>
  26497. <method name="progress"
  26498. abstract="false" native="false" synchronized="false"
  26499. static="false" final="false" visibility="public"
  26500. deprecated="not deprecated">
  26501. </method>
  26502. <method name="getValues" return="java.lang.Iterable"
  26503. abstract="false" native="false" synchronized="false"
  26504. static="false" final="false" visibility="public"
  26505. deprecated="not deprecated">
  26506. <exception name="IOException" type="java.io.IOException"/>
  26507. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  26508. </method>
  26509. <method name="nextKey" return="boolean"
  26510. abstract="false" native="false" synchronized="false"
  26511. static="false" final="false" visibility="public"
  26512. deprecated="not deprecated">
  26513. <exception name="IOException" type="java.io.IOException"/>
  26514. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  26515. </method>
  26516. <method name="getProfileEnabled" return="boolean"
  26517. abstract="false" native="false" synchronized="false"
  26518. static="false" final="false" visibility="public"
  26519. deprecated="not deprecated">
  26520. </method>
  26521. <method name="getProfileParams" return="java.lang.String"
  26522. abstract="false" native="false" synchronized="false"
  26523. static="false" final="false" visibility="public"
  26524. deprecated="not deprecated">
  26525. </method>
  26526. <method name="getProfileTaskRange" return="org.apache.hadoop.conf.Configuration.IntegerRanges"
  26527. abstract="false" native="false" synchronized="false"
  26528. static="false" final="false" visibility="public"
  26529. deprecated="not deprecated">
  26530. <param name="isMap" type="boolean"/>
  26531. </method>
  26532. <method name="getUser" return="java.lang.String"
  26533. abstract="false" native="false" synchronized="false"
  26534. static="false" final="false" visibility="public"
  26535. deprecated="not deprecated">
  26536. </method>
  26537. <field name="reduceContext" type="org.apache.hadoop.mapreduce.ReduceContext"
  26538. transient="false" volatile="false"
  26539. static="false" final="false" visibility="protected"
  26540. deprecated="not deprecated">
  26541. </field>
  26542. </class>
  26543. <!-- end class org.apache.hadoop.mapreduce.lib.reduce.WrappedReducer.Context -->
  26544. </package>
  26545. <package name="org.apache.hadoop.mapreduce.security">
  26546. <!-- start class org.apache.hadoop.mapreduce.security.TokenCache -->
  26547. <class name="TokenCache" extends="java.lang.Object"
  26548. abstract="false"
  26549. static="false" final="false" visibility="public"
  26550. deprecated="not deprecated">
  26551. <constructor name="TokenCache"
  26552. static="false" final="false" visibility="public"
  26553. deprecated="not deprecated">
  26554. </constructor>
  26555. <method name="getSecretKey" return="byte[]"
  26556. abstract="false" native="false" synchronized="false"
  26557. static="true" final="false" visibility="public"
  26558. deprecated="not deprecated">
  26559. <param name="alias" type="org.apache.hadoop.io.Text"/>
  26560. <doc>
  26561. <![CDATA[auxiliary method to get user's secret keys..
  26562. @param alias
  26563. @return secret key from the storage]]>
  26564. </doc>
  26565. </method>
  26566. <method name="addSecretKey"
  26567. abstract="false" native="false" synchronized="false"
  26568. static="true" final="false" visibility="public"
  26569. deprecated="not deprecated">
  26570. <param name="alias" type="org.apache.hadoop.io.Text"/>
  26571. <param name="key" type="byte[]"/>
  26572. <doc>
  26573. <![CDATA[auxiliary methods to store user' s secret keys
  26574. @param alias
  26575. @param key]]>
  26576. </doc>
  26577. </method>
  26578. <method name="addDelegationToken"
  26579. abstract="false" native="false" synchronized="false"
  26580. static="true" final="false" visibility="public"
  26581. deprecated="not deprecated">
  26582. <param name="namenode" type="java.lang.String"/>
  26583. <param name="t" type="org.apache.hadoop.security.token.Token"/>
  26584. <doc>
  26585. <![CDATA[auxiliary method to add a delegation token]]>
  26586. </doc>
  26587. </method>
  26588. <method name="getAllTokens" return="java.util.Collection"
  26589. abstract="false" native="false" synchronized="false"
  26590. static="true" final="false" visibility="public"
  26591. deprecated="not deprecated">
  26592. <doc>
  26593. <![CDATA[auxiliary method
  26594. @return all the available tokens]]>
  26595. </doc>
  26596. </method>
  26597. <method name="obtainTokensForNamenodes"
  26598. abstract="false" native="false" synchronized="false"
  26599. static="true" final="false" visibility="public"
  26600. deprecated="not deprecated">
  26601. <param name="ps" type="org.apache.hadoop.fs.Path[]"/>
  26602. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  26603. <exception name="IOException" type="java.io.IOException"/>
  26604. <doc>
  26605. <![CDATA[Convenience method to obtain delegation tokens from namenodes
  26606. corresponding to the paths passed.
  26607. @param ps array of paths
  26608. @param conf configuration
  26609. @throws IOException]]>
  26610. </doc>
  26611. </method>
  26612. <method name="getDelegationToken" return="org.apache.hadoop.security.token.Token"
  26613. abstract="false" native="false" synchronized="false"
  26614. static="true" final="false" visibility="public"
  26615. deprecated="not deprecated">
  26616. <param name="namenode" type="java.lang.String"/>
  26617. <doc>
  26618. <![CDATA[@param namenode
  26619. @return delegation token]]>
  26620. </doc>
  26621. </method>
  26622. <method name="getTokenStorage" return="org.apache.hadoop.security.TokenStorage"
  26623. abstract="false" native="false" synchronized="false"
  26624. static="true" final="false" visibility="public"
  26625. deprecated="not deprecated">
  26626. <doc>
  26627. <![CDATA[@return TokenStore object]]>
  26628. </doc>
  26629. </method>
  26630. <method name="setTokenStorage"
  26631. abstract="false" native="false" synchronized="false"
  26632. static="true" final="false" visibility="public"
  26633. deprecated="not deprecated">
  26634. <param name="ts" type="org.apache.hadoop.security.TokenStorage"/>
  26635. <doc>
  26636. <![CDATA[sets TokenStorage
  26637. @param ts]]>
  26638. </doc>
  26639. </method>
  26640. <method name="loadTaskTokenStorage" return="org.apache.hadoop.security.TokenStorage"
  26641. abstract="false" native="false" synchronized="false"
  26642. static="true" final="false" visibility="public"
  26643. deprecated="not deprecated">
  26644. <param name="fileName" type="java.lang.String"/>
  26645. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  26646. <exception name="IOException" type="java.io.IOException"/>
  26647. <doc>
  26648. <![CDATA[load token storage and stores it
  26649. @param conf
  26650. @return Loaded TokenStorage object
  26651. @throws IOException]]>
  26652. </doc>
  26653. </method>
  26654. <method name="loadTokens" return="org.apache.hadoop.security.TokenStorage"
  26655. abstract="false" native="false" synchronized="false"
  26656. static="true" final="false" visibility="public"
  26657. deprecated="not deprecated">
  26658. <param name="jobTokenFile" type="java.lang.String"/>
  26659. <param name="conf" type="org.apache.hadoop.mapred.JobConf"/>
  26660. <exception name="IOException" type="java.io.IOException"/>
  26661. <doc>
  26662. <![CDATA[load job token from a file
  26663. @param conf
  26664. @throws IOException]]>
  26665. </doc>
  26666. </method>
  26667. <method name="setJobToken"
  26668. abstract="false" native="false" synchronized="false"
  26669. static="true" final="false" visibility="public"
  26670. deprecated="not deprecated">
  26671. <param name="t" type="org.apache.hadoop.security.token.Token"/>
  26672. <param name="ts" type="org.apache.hadoop.security.TokenStorage"/>
  26673. <doc>
  26674. <![CDATA[store job token
  26675. @param t]]>
  26676. </doc>
  26677. </method>
  26678. <method name="getJobToken" return="org.apache.hadoop.security.token.Token"
  26679. abstract="false" native="false" synchronized="false"
  26680. static="true" final="false" visibility="public"
  26681. deprecated="not deprecated">
  26682. <param name="ts" type="org.apache.hadoop.security.TokenStorage"/>
  26683. <doc>
  26684. <![CDATA[@return job token]]>
  26685. </doc>
  26686. </method>
  26687. <field name="JOB_TOKEN_HDFS_FILE" type="java.lang.String"
  26688. transient="false" volatile="false"
  26689. static="true" final="true" visibility="public"
  26690. deprecated="not deprecated">
  26691. <doc>
  26692. <![CDATA[file name used on HDFS for generated job token]]>
  26693. </doc>
  26694. </field>
  26695. <field name="JOB_TOKENS_FILENAME" type="java.lang.String"
  26696. transient="false" volatile="false"
  26697. static="true" final="true" visibility="public"
  26698. deprecated="not deprecated">
  26699. <doc>
  26700. <![CDATA[conf setting for job tokens cache file name]]>
  26701. </doc>
  26702. </field>
  26703. <doc>
  26704. <![CDATA[This class provides user facing APIs for transferring secrets from
  26705. the job client to the tasks.
  26706. The secrets can be stored just before submission of jobs and read during
  26707. the task execution.]]>
  26708. </doc>
  26709. </class>
  26710. <!-- end class org.apache.hadoop.mapreduce.security.TokenCache -->
  26711. </package>
  26712. <package name="org.apache.hadoop.mapreduce.server.jobtracker">
  26713. <!-- start class org.apache.hadoop.mapreduce.server.jobtracker.State -->
  26714. <class name="State" extends="java.lang.Enum"
  26715. abstract="false"
  26716. static="false" final="true" visibility="public"
  26717. deprecated="not deprecated">
  26718. <method name="values" return="org.apache.hadoop.mapreduce.server.jobtracker.State[]"
  26719. abstract="false" native="false" synchronized="false"
  26720. static="true" final="false" visibility="public"
  26721. deprecated="not deprecated">
  26722. </method>
  26723. <method name="valueOf" return="org.apache.hadoop.mapreduce.server.jobtracker.State"
  26724. abstract="false" native="false" synchronized="false"
  26725. static="true" final="false" visibility="public"
  26726. deprecated="not deprecated">
  26727. <param name="name" type="java.lang.String"/>
  26728. </method>
  26729. <doc>
  26730. <![CDATA[Describes the state of JobTracker]]>
  26731. </doc>
  26732. </class>
  26733. <!-- end class org.apache.hadoop.mapreduce.server.jobtracker.State -->
  26734. </package>
  26735. <package name="org.apache.hadoop.mapreduce.tools">
  26736. <!-- start class org.apache.hadoop.mapreduce.tools.CLI -->
  26737. <class name="CLI" extends="org.apache.hadoop.conf.Configured"
  26738. abstract="false"
  26739. static="false" final="false" visibility="public"
  26740. deprecated="not deprecated">
  26741. <implements name="org.apache.hadoop.util.Tool"/>
  26742. <constructor name="CLI"
  26743. static="false" final="false" visibility="public"
  26744. deprecated="not deprecated">
  26745. </constructor>
  26746. <constructor name="CLI" type="org.apache.hadoop.conf.Configuration"
  26747. static="false" final="false" visibility="public"
  26748. deprecated="not deprecated">
  26749. </constructor>
  26750. <method name="run" return="int"
  26751. abstract="false" native="false" synchronized="false"
  26752. static="false" final="false" visibility="public"
  26753. deprecated="not deprecated">
  26754. <param name="argv" type="java.lang.String[]"/>
  26755. <exception name="Exception" type="java.lang.Exception"/>
  26756. </method>
  26757. <method name="getCounter" return="long"
  26758. abstract="false" native="false" synchronized="false"
  26759. static="false" final="false" visibility="protected"
  26760. deprecated="not deprecated">
  26761. <param name="counters" type="org.apache.hadoop.mapreduce.Counters"/>
  26762. <param name="counterGroupName" type="java.lang.String"/>
  26763. <param name="counterName" type="java.lang.String"/>
  26764. <exception name="IOException" type="java.io.IOException"/>
  26765. </method>
  26766. <method name="getTaskLogURL" return="java.lang.String"
  26767. abstract="false" native="false" synchronized="false"
  26768. static="true" final="false" visibility="protected"
  26769. deprecated="not deprecated">
  26770. <param name="taskId" type="org.apache.hadoop.mapreduce.TaskAttemptID"/>
  26771. <param name="baseUrl" type="java.lang.String"/>
  26772. </method>
  26773. <method name="displayTasks"
  26774. abstract="false" native="false" synchronized="false"
  26775. static="false" final="false" visibility="protected"
  26776. deprecated="not deprecated">
  26777. <param name="job" type="org.apache.hadoop.mapreduce.Job"/>
  26778. <param name="type" type="java.lang.String"/>
  26779. <param name="state" type="java.lang.String"/>
  26780. <exception name="IOException" type="java.io.IOException"/>
  26781. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  26782. <doc>
  26783. <![CDATA[Display the information about a job's tasks, of a particular type and
  26784. in a particular state
  26785. @param job the job
  26786. @param type the type of the task (map/reduce/setup/cleanup)
  26787. @param state the state of the task
  26788. (pending/running/completed/failed/killed)]]>
  26789. </doc>
  26790. </method>
  26791. <method name="displayJobList"
  26792. abstract="false" native="false" synchronized="false"
  26793. static="false" final="false" visibility="protected"
  26794. deprecated="not deprecated">
  26795. <param name="jobs" type="org.apache.hadoop.mapreduce.Job[]"/>
  26796. <exception name="IOException" type="java.io.IOException"/>
  26797. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  26798. </method>
  26799. <method name="main"
  26800. abstract="false" native="false" synchronized="false"
  26801. static="true" final="false" visibility="public"
  26802. deprecated="not deprecated">
  26803. <param name="argv" type="java.lang.String[]"/>
  26804. <exception name="Exception" type="java.lang.Exception"/>
  26805. </method>
  26806. <doc>
  26807. <![CDATA[Interprets the map reduce cli options]]>
  26808. </doc>
  26809. </class>
  26810. <!-- end class org.apache.hadoop.mapreduce.tools.CLI -->
  26811. </package>
  26812. <package name="org.apache.hadoop.fs">
  26813. <!-- start class org.apache.hadoop.fs.HarFileSystem -->
  26814. <class name="HarFileSystem" extends="org.apache.hadoop.fs.FilterFileSystem"
  26815. abstract="false"
  26816. static="false" final="false" visibility="public"
  26817. deprecated="not deprecated">
  26818. <constructor name="HarFileSystem"
  26819. static="false" final="false" visibility="public"
  26820. deprecated="not deprecated">
  26821. <doc>
  26822. <![CDATA[public construction of harfilesystem]]>
  26823. </doc>
  26824. </constructor>
  26825. <constructor name="HarFileSystem" type="org.apache.hadoop.fs.FileSystem"
  26826. static="false" final="false" visibility="public"
  26827. deprecated="not deprecated">
  26828. <doc>
  26829. <![CDATA[Constructor to create a HarFileSystem with an
  26830. underlying filesystem.
  26831. @param fs]]>
  26832. </doc>
  26833. </constructor>
  26834. <method name="initialize"
  26835. abstract="false" native="false" synchronized="false"
  26836. static="false" final="false" visibility="public"
  26837. deprecated="not deprecated">
  26838. <param name="name" type="java.net.URI"/>
  26839. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  26840. <exception name="IOException" type="java.io.IOException"/>
  26841. <doc>
  26842. <![CDATA[Initialize a Har filesystem per har archive. The
  26843. archive home directory is the top level directory
  26844. in the filesystem that contains the HAR archive.
  26845. Be careful with this method, you do not want to go
  26846. on creating new Filesystem instances per call to
  26847. path.getFileSystem().
  26848. the uri of Har is
  26849. har://underlyingfsscheme-host:port/archivepath.
  26850. or
  26851. har:///archivepath. This assumes the underlying filesystem
  26852. to be used in case not specified.]]>
  26853. </doc>
  26854. </method>
  26855. <method name="getHarVersion" return="int"
  26856. abstract="false" native="false" synchronized="false"
  26857. static="false" final="false" visibility="public"
  26858. deprecated="not deprecated">
  26859. <exception name="IOException" type="java.io.IOException"/>
  26860. </method>
  26861. <method name="getWorkingDirectory" return="org.apache.hadoop.fs.Path"
  26862. abstract="false" native="false" synchronized="false"
  26863. static="false" final="false" visibility="public"
  26864. deprecated="not deprecated">
  26865. <doc>
  26866. <![CDATA[return the top level archive.]]>
  26867. </doc>
  26868. </method>
  26869. <method name="getUri" return="java.net.URI"
  26870. abstract="false" native="false" synchronized="false"
  26871. static="false" final="false" visibility="public"
  26872. deprecated="not deprecated">
  26873. <doc>
  26874. <![CDATA[Returns the uri of this filesystem.
  26875. The uri is of the form
  26876. har://underlyingfsschema-host:port/pathintheunderlyingfs]]>
  26877. </doc>
  26878. </method>
  26879. <method name="makeQualified" return="org.apache.hadoop.fs.Path"
  26880. abstract="false" native="false" synchronized="false"
  26881. static="false" final="false" visibility="public"
  26882. deprecated="not deprecated">
  26883. <param name="path" type="org.apache.hadoop.fs.Path"/>
  26884. </method>
  26885. <method name="getFileBlockLocations" return="org.apache.hadoop.fs.BlockLocation[]"
  26886. abstract="false" native="false" synchronized="false"
  26887. static="false" final="false" visibility="public"
  26888. deprecated="not deprecated">
  26889. <param name="file" type="org.apache.hadoop.fs.FileStatus"/>
  26890. <param name="start" type="long"/>
  26891. <param name="len" type="long"/>
  26892. <exception name="IOException" type="java.io.IOException"/>
  26893. <doc>
  26894. <![CDATA[get block locations from the underlying fs
  26895. @param file the input filestatus to get block locations
  26896. @param start the start in the file
  26897. @param len the length in the file
  26898. @return block locations for this segment of file
  26899. @throws IOException]]>
  26900. </doc>
  26901. </method>
  26902. <method name="getHarHash" return="int"
  26903. abstract="false" native="false" synchronized="false"
  26904. static="true" final="false" visibility="public"
  26905. deprecated="not deprecated">
  26906. <param name="p" type="org.apache.hadoop.fs.Path"/>
  26907. <doc>
  26908. <![CDATA[the hash of the path p inside iniside
  26909. the filesystem
  26910. @param p the path in the harfilesystem
  26911. @return the hash code of the path.]]>
  26912. </doc>
  26913. </method>
  26914. <method name="getFileStatus" return="org.apache.hadoop.fs.FileStatus"
  26915. abstract="false" native="false" synchronized="false"
  26916. static="false" final="false" visibility="public"
  26917. deprecated="not deprecated">
  26918. <param name="f" type="org.apache.hadoop.fs.Path"/>
  26919. <exception name="IOException" type="java.io.IOException"/>
  26920. <doc>
  26921. <![CDATA[return the filestatus of files in har archive.
  26922. The permission returned are that of the archive
  26923. index files. The permissions are not persisted
  26924. while creating a hadoop archive.
  26925. @param f the path in har filesystem
  26926. @return filestatus.
  26927. @throws IOException]]>
  26928. </doc>
  26929. </method>
  26930. <method name="getFileChecksum" return="org.apache.hadoop.fs.FileChecksum"
  26931. abstract="false" native="false" synchronized="false"
  26932. static="false" final="false" visibility="public"
  26933. deprecated="not deprecated">
  26934. <param name="f" type="org.apache.hadoop.fs.Path"/>
  26935. <doc>
  26936. <![CDATA[@return null since no checksum algorithm is implemented.]]>
  26937. </doc>
  26938. </method>
  26939. <method name="open" return="org.apache.hadoop.fs.FSDataInputStream"
  26940. abstract="false" native="false" synchronized="false"
  26941. static="false" final="false" visibility="public"
  26942. deprecated="not deprecated">
  26943. <param name="f" type="org.apache.hadoop.fs.Path"/>
  26944. <param name="bufferSize" type="int"/>
  26945. <exception name="IOException" type="java.io.IOException"/>
  26946. <doc>
  26947. <![CDATA[Returns a har input stream which fakes end of
  26948. file. It reads the index files to get the part
  26949. file name and the size and start of the file.]]>
  26950. </doc>
  26951. </method>
  26952. <method name="create" return="org.apache.hadoop.fs.FSDataOutputStream"
  26953. abstract="false" native="false" synchronized="false"
  26954. static="false" final="false" visibility="public"
  26955. deprecated="not deprecated">
  26956. <param name="f" type="org.apache.hadoop.fs.Path"/>
  26957. <param name="bufferSize" type="int"/>
  26958. <exception name="IOException" type="java.io.IOException"/>
  26959. </method>
  26960. <method name="create" return="org.apache.hadoop.fs.FSDataOutputStream"
  26961. abstract="false" native="false" synchronized="false"
  26962. static="false" final="false" visibility="public"
  26963. deprecated="not deprecated">
  26964. <param name="f" type="org.apache.hadoop.fs.Path"/>
  26965. <param name="permission" type="org.apache.hadoop.fs.permission.FsPermission"/>
  26966. <param name="flag" type="java.util.EnumSet"/>
  26967. <param name="bufferSize" type="int"/>
  26968. <param name="replication" type="short"/>
  26969. <param name="blockSize" type="long"/>
  26970. <param name="progress" type="org.apache.hadoop.util.Progressable"/>
  26971. <exception name="IOException" type="java.io.IOException"/>
  26972. </method>
  26973. <method name="close"
  26974. abstract="false" native="false" synchronized="false"
  26975. static="false" final="false" visibility="public"
  26976. deprecated="not deprecated">
  26977. <exception name="IOException" type="java.io.IOException"/>
  26978. </method>
  26979. <method name="setReplication" return="boolean"
  26980. abstract="false" native="false" synchronized="false"
  26981. static="false" final="false" visibility="public"
  26982. deprecated="not deprecated">
  26983. <param name="src" type="org.apache.hadoop.fs.Path"/>
  26984. <param name="replication" type="short"/>
  26985. <exception name="IOException" type="java.io.IOException"/>
  26986. <doc>
  26987. <![CDATA[Not implemented.]]>
  26988. </doc>
  26989. </method>
  26990. <method name="delete" return="boolean"
  26991. abstract="false" native="false" synchronized="false"
  26992. static="false" final="false" visibility="public"
  26993. deprecated="not deprecated">
  26994. <param name="f" type="org.apache.hadoop.fs.Path"/>
  26995. <param name="recursive" type="boolean"/>
  26996. <exception name="IOException" type="java.io.IOException"/>
  26997. <doc>
  26998. <![CDATA[Not implemented.]]>
  26999. </doc>
  27000. </method>
  27001. <method name="listStatus" return="org.apache.hadoop.fs.FileStatus[]"
  27002. abstract="false" native="false" synchronized="false"
  27003. static="false" final="false" visibility="public"
  27004. deprecated="not deprecated">
  27005. <param name="f" type="org.apache.hadoop.fs.Path"/>
  27006. <exception name="IOException" type="java.io.IOException"/>
  27007. <doc>
  27008. <![CDATA[liststatus returns the children of a directory
  27009. after looking up the index files.]]>
  27010. </doc>
  27011. </method>
  27012. <method name="getHomeDirectory" return="org.apache.hadoop.fs.Path"
  27013. abstract="false" native="false" synchronized="false"
  27014. static="false" final="false" visibility="public"
  27015. deprecated="not deprecated">
  27016. <doc>
  27017. <![CDATA[return the top level archive path.]]>
  27018. </doc>
  27019. </method>
  27020. <method name="setWorkingDirectory"
  27021. abstract="false" native="false" synchronized="false"
  27022. static="false" final="false" visibility="public"
  27023. deprecated="not deprecated">
  27024. <param name="newDir" type="org.apache.hadoop.fs.Path"/>
  27025. </method>
  27026. <method name="mkdirs" return="boolean"
  27027. abstract="false" native="false" synchronized="false"
  27028. static="false" final="false" visibility="public"
  27029. deprecated="not deprecated">
  27030. <param name="f" type="org.apache.hadoop.fs.Path"/>
  27031. <param name="permission" type="org.apache.hadoop.fs.permission.FsPermission"/>
  27032. <exception name="IOException" type="java.io.IOException"/>
  27033. <doc>
  27034. <![CDATA[not implemented.]]>
  27035. </doc>
  27036. </method>
  27037. <method name="copyFromLocalFile"
  27038. abstract="false" native="false" synchronized="false"
  27039. static="false" final="false" visibility="public"
  27040. deprecated="not deprecated">
  27041. <param name="delSrc" type="boolean"/>
  27042. <param name="src" type="org.apache.hadoop.fs.Path"/>
  27043. <param name="dst" type="org.apache.hadoop.fs.Path"/>
  27044. <exception name="IOException" type="java.io.IOException"/>
  27045. <doc>
  27046. <![CDATA[not implemented.]]>
  27047. </doc>
  27048. </method>
  27049. <method name="copyToLocalFile"
  27050. abstract="false" native="false" synchronized="false"
  27051. static="false" final="false" visibility="public"
  27052. deprecated="not deprecated">
  27053. <param name="delSrc" type="boolean"/>
  27054. <param name="src" type="org.apache.hadoop.fs.Path"/>
  27055. <param name="dst" type="org.apache.hadoop.fs.Path"/>
  27056. <exception name="IOException" type="java.io.IOException"/>
  27057. <doc>
  27058. <![CDATA[copies the file in the har filesystem to a local file.]]>
  27059. </doc>
  27060. </method>
  27061. <method name="startLocalOutput" return="org.apache.hadoop.fs.Path"
  27062. abstract="false" native="false" synchronized="false"
  27063. static="false" final="false" visibility="public"
  27064. deprecated="not deprecated">
  27065. <param name="fsOutputFile" type="org.apache.hadoop.fs.Path"/>
  27066. <param name="tmpLocalFile" type="org.apache.hadoop.fs.Path"/>
  27067. <exception name="IOException" type="java.io.IOException"/>
  27068. <doc>
  27069. <![CDATA[not implemented.]]>
  27070. </doc>
  27071. </method>
  27072. <method name="completeLocalOutput"
  27073. abstract="false" native="false" synchronized="false"
  27074. static="false" final="false" visibility="public"
  27075. deprecated="not deprecated">
  27076. <param name="fsOutputFile" type="org.apache.hadoop.fs.Path"/>
  27077. <param name="tmpLocalFile" type="org.apache.hadoop.fs.Path"/>
  27078. <exception name="IOException" type="java.io.IOException"/>
  27079. <doc>
  27080. <![CDATA[not implemented.]]>
  27081. </doc>
  27082. </method>
  27083. <method name="setOwner"
  27084. abstract="false" native="false" synchronized="false"
  27085. static="false" final="false" visibility="public"
  27086. deprecated="not deprecated">
  27087. <param name="p" type="org.apache.hadoop.fs.Path"/>
  27088. <param name="username" type="java.lang.String"/>
  27089. <param name="groupname" type="java.lang.String"/>
  27090. <exception name="IOException" type="java.io.IOException"/>
  27091. <doc>
  27092. <![CDATA[not implemented.]]>
  27093. </doc>
  27094. </method>
  27095. <method name="setPermission"
  27096. abstract="false" native="false" synchronized="false"
  27097. static="false" final="false" visibility="public"
  27098. deprecated="not deprecated">
  27099. <param name="p" type="org.apache.hadoop.fs.Path"/>
  27100. <param name="permisssion" type="org.apache.hadoop.fs.permission.FsPermission"/>
  27101. <exception name="IOException" type="java.io.IOException"/>
  27102. <doc>
  27103. <![CDATA[Not implemented.]]>
  27104. </doc>
  27105. </method>
  27106. <field name="VERSION" type="int"
  27107. transient="false" volatile="false"
  27108. static="true" final="true" visibility="public"
  27109. deprecated="not deprecated">
  27110. </field>
  27111. <doc>
  27112. <![CDATA[This is an implementation of the Hadoop Archive
  27113. Filesystem. This archive Filesystem has index files
  27114. of the form _index* and has contents of the form
  27115. part-*. The index files store the indexes of the
  27116. real files. The index files are of the form _masterindex
  27117. and _index. The master index is a level of indirection
  27118. in to the index file to make the look ups faster. the index
  27119. file is sorted with hash code of the paths that it contains
  27120. and the master index contains pointers to the positions in
  27121. index for ranges of hashcodes.]]>
  27122. </doc>
  27123. </class>
  27124. <!-- end class org.apache.hadoop.fs.HarFileSystem -->
  27125. </package>
  27126. <package name="org.apache.hadoop.tools">
  27127. <!-- start class org.apache.hadoop.tools.DistCh -->
  27128. <class name="DistCh" extends="org.apache.hadoop.tools.DistTool"
  27129. abstract="false"
  27130. static="false" final="false" visibility="public"
  27131. deprecated="not deprecated">
  27132. <method name="run" return="int"
  27133. abstract="false" native="false" synchronized="false"
  27134. static="false" final="false" visibility="public"
  27135. deprecated="not deprecated">
  27136. <param name="args" type="java.lang.String[]"/>
  27137. <exception name="Exception" type="java.lang.Exception"/>
  27138. <doc>
  27139. <![CDATA[This is the main driver for recursively changing files properties.]]>
  27140. </doc>
  27141. </method>
  27142. <method name="main"
  27143. abstract="false" native="false" synchronized="false"
  27144. static="true" final="false" visibility="public"
  27145. deprecated="not deprecated">
  27146. <param name="args" type="java.lang.String[]"/>
  27147. <exception name="Exception" type="java.lang.Exception"/>
  27148. </method>
  27149. <doc>
  27150. <![CDATA[A Map-reduce program to recursively change files properties
  27151. such as owner, group and permission.]]>
  27152. </doc>
  27153. </class>
  27154. <!-- end class org.apache.hadoop.tools.DistCh -->
  27155. <!-- start class org.apache.hadoop.tools.DistCp -->
  27156. <class name="DistCp" extends="java.lang.Object"
  27157. abstract="false"
  27158. static="false" final="false" visibility="public"
  27159. deprecated="not deprecated">
  27160. <implements name="org.apache.hadoop.util.Tool"/>
  27161. <constructor name="DistCp" type="org.apache.hadoop.conf.Configuration"
  27162. static="false" final="false" visibility="public"
  27163. deprecated="not deprecated">
  27164. </constructor>
  27165. <method name="setConf"
  27166. abstract="false" native="false" synchronized="false"
  27167. static="false" final="false" visibility="public"
  27168. deprecated="not deprecated">
  27169. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  27170. </method>
  27171. <method name="getConf" return="org.apache.hadoop.conf.Configuration"
  27172. abstract="false" native="false" synchronized="false"
  27173. static="false" final="false" visibility="public"
  27174. deprecated="not deprecated">
  27175. </method>
  27176. <method name="copy"
  27177. abstract="false" native="false" synchronized="false"
  27178. static="true" final="false" visibility="public"
  27179. deprecated="not deprecated">
  27180. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  27181. <param name="srcPath" type="java.lang.String"/>
  27182. <param name="destPath" type="java.lang.String"/>
  27183. <param name="logPath" type="org.apache.hadoop.fs.Path"/>
  27184. <param name="srcAsList" type="boolean"/>
  27185. <param name="ignoreReadFailures" type="boolean"/>
  27186. <exception name="IOException" type="java.io.IOException"/>
  27187. </method>
  27188. <method name="run" return="int"
  27189. abstract="false" native="false" synchronized="false"
  27190. static="false" final="false" visibility="public"
  27191. deprecated="not deprecated">
  27192. <param name="args" type="java.lang.String[]"/>
  27193. <doc>
  27194. <![CDATA[This is the main driver for recursively copying directories
  27195. across file systems. It takes at least two cmdline parameters. A source
  27196. URL and a destination URL. It then essentially does an "ls -lR" on the
  27197. source URL, and writes the output in a round-robin manner to all the map
  27198. input files. The mapper actually copies the files allotted to it. The
  27199. reduce is empty.]]>
  27200. </doc>
  27201. </method>
  27202. <method name="main"
  27203. abstract="false" native="false" synchronized="false"
  27204. static="true" final="false" visibility="public"
  27205. deprecated="not deprecated">
  27206. <param name="args" type="java.lang.String[]"/>
  27207. <exception name="Exception" type="java.lang.Exception"/>
  27208. </method>
  27209. <method name="getRandomId" return="java.lang.String"
  27210. abstract="false" native="false" synchronized="false"
  27211. static="true" final="false" visibility="public"
  27212. deprecated="not deprecated">
  27213. </method>
  27214. <field name="LOG" type="org.apache.commons.logging.Log"
  27215. transient="false" volatile="false"
  27216. static="true" final="true" visibility="public"
  27217. deprecated="not deprecated">
  27218. </field>
  27219. <doc>
  27220. <![CDATA[A Map-reduce program to recursively copy directories between
  27221. different file-systems.]]>
  27222. </doc>
  27223. </class>
  27224. <!-- end class org.apache.hadoop.tools.DistCp -->
  27225. <!-- start class org.apache.hadoop.tools.DistCp.DuplicationException -->
  27226. <class name="DistCp.DuplicationException" extends="java.io.IOException"
  27227. abstract="false"
  27228. static="true" final="false" visibility="public"
  27229. deprecated="not deprecated">
  27230. <field name="ERROR_CODE" type="int"
  27231. transient="false" volatile="false"
  27232. static="true" final="true" visibility="public"
  27233. deprecated="not deprecated">
  27234. <doc>
  27235. <![CDATA[Error code for this exception]]>
  27236. </doc>
  27237. </field>
  27238. <doc>
  27239. <![CDATA[An exception class for duplicated source files.]]>
  27240. </doc>
  27241. </class>
  27242. <!-- end class org.apache.hadoop.tools.DistCp.DuplicationException -->
  27243. <!-- start class org.apache.hadoop.tools.HadoopArchives -->
  27244. <class name="HadoopArchives" extends="java.lang.Object"
  27245. abstract="false"
  27246. static="false" final="false" visibility="public"
  27247. deprecated="not deprecated">
  27248. <implements name="org.apache.hadoop.util.Tool"/>
  27249. <constructor name="HadoopArchives" type="org.apache.hadoop.conf.Configuration"
  27250. static="false" final="false" visibility="public"
  27251. deprecated="not deprecated">
  27252. </constructor>
  27253. <method name="setConf"
  27254. abstract="false" native="false" synchronized="false"
  27255. static="false" final="false" visibility="public"
  27256. deprecated="not deprecated">
  27257. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  27258. </method>
  27259. <method name="getConf" return="org.apache.hadoop.conf.Configuration"
  27260. abstract="false" native="false" synchronized="false"
  27261. static="false" final="false" visibility="public"
  27262. deprecated="not deprecated">
  27263. </method>
  27264. <method name="run" return="int"
  27265. abstract="false" native="false" synchronized="false"
  27266. static="false" final="false" visibility="public"
  27267. deprecated="not deprecated">
  27268. <param name="args" type="java.lang.String[]"/>
  27269. <exception name="Exception" type="java.lang.Exception"/>
  27270. <doc>
  27271. <![CDATA[the main driver for creating the archives
  27272. it takes at least three command line parameters. The parent path,
  27273. The src and the dest. It does an lsr on the source paths.
  27274. The mapper created archuves and the reducer creates
  27275. the archive index.]]>
  27276. </doc>
  27277. </method>
  27278. <method name="main"
  27279. abstract="false" native="false" synchronized="false"
  27280. static="true" final="false" visibility="public"
  27281. deprecated="not deprecated">
  27282. <param name="args" type="java.lang.String[]"/>
  27283. <doc>
  27284. <![CDATA[the main functions]]>
  27285. </doc>
  27286. </method>
  27287. <field name="VERSION" type="int"
  27288. transient="false" volatile="false"
  27289. static="true" final="true" visibility="public"
  27290. deprecated="not deprecated">
  27291. </field>
  27292. <doc>
  27293. <![CDATA[a archive creation utility.
  27294. This class provides methods that can be used
  27295. to create hadoop archives. For understanding of
  27296. Hadoop archives look at {@link HarFileSystem}.]]>
  27297. </doc>
  27298. </class>
  27299. <!-- end class org.apache.hadoop.tools.HadoopArchives -->
  27300. <!-- start class org.apache.hadoop.tools.Logalyzer -->
  27301. <class name="Logalyzer" extends="java.lang.Object"
  27302. abstract="false"
  27303. static="false" final="false" visibility="public"
  27304. deprecated="not deprecated">
  27305. <constructor name="Logalyzer"
  27306. static="false" final="false" visibility="public"
  27307. deprecated="not deprecated">
  27308. </constructor>
  27309. <method name="doArchive"
  27310. abstract="false" native="false" synchronized="false"
  27311. static="false" final="false" visibility="public"
  27312. deprecated="not deprecated">
  27313. <param name="logListURI" type="java.lang.String"/>
  27314. <param name="archiveDirectory" type="java.lang.String"/>
  27315. <exception name="IOException" type="java.io.IOException"/>
  27316. <doc>
  27317. <![CDATA[doArchive: Workhorse function to archive log-files.
  27318. @param logListURI : The uri which will serve list of log-files to archive.
  27319. @param archiveDirectory : The directory to store archived logfiles.
  27320. @throws IOException]]>
  27321. </doc>
  27322. </method>
  27323. <method name="doAnalyze"
  27324. abstract="false" native="false" synchronized="false"
  27325. static="false" final="false" visibility="public"
  27326. deprecated="not deprecated">
  27327. <param name="inputFilesDirectory" type="java.lang.String"/>
  27328. <param name="outputDirectory" type="java.lang.String"/>
  27329. <param name="grepPattern" type="java.lang.String"/>
  27330. <param name="sortColumns" type="java.lang.String"/>
  27331. <param name="columnSeparator" type="java.lang.String"/>
  27332. <exception name="IOException" type="java.io.IOException"/>
  27333. <doc>
  27334. <![CDATA[doAnalyze:
  27335. @param inputFilesDirectory : Directory containing the files to be analyzed.
  27336. @param outputDirectory : Directory to store analysis (output).
  27337. @param grepPattern : Pattern to *grep* for.
  27338. @param sortColumns : Sort specification for output.
  27339. @param columnSeparator : Column separator.
  27340. @throws IOException]]>
  27341. </doc>
  27342. </method>
  27343. <method name="main"
  27344. abstract="false" native="false" synchronized="false"
  27345. static="true" final="false" visibility="public"
  27346. deprecated="not deprecated">
  27347. <param name="args" type="java.lang.String[]"/>
  27348. </method>
  27349. <field name="SORT_COLUMNS" type="java.lang.String"
  27350. transient="false" volatile="false"
  27351. static="true" final="false" visibility="public"
  27352. deprecated="not deprecated">
  27353. </field>
  27354. <field name="COLUMN_SEPARATOR" type="java.lang.String"
  27355. transient="false" volatile="false"
  27356. static="true" final="false" visibility="public"
  27357. deprecated="not deprecated">
  27358. </field>
  27359. <doc>
  27360. <![CDATA[Logalyzer: A utility tool for archiving and analyzing hadoop logs.
  27361. <p>
  27362. This tool supports archiving and anaylzing (sort/grep) of log-files.
  27363. It takes as input
  27364. a) Input uri which will serve uris of the logs to be archived.
  27365. b) Output directory (not mandatory).
  27366. b) Directory on dfs to archive the logs.
  27367. c) The sort/grep patterns for analyzing the files and separator for boundaries.
  27368. Usage:
  27369. Logalyzer -archive -archiveDir <directory to archive logs> -analysis <directory> -logs <log-list uri> -grep <pattern> -sort <col1, col2> -separator <separator>
  27370. <p>]]>
  27371. </doc>
  27372. </class>
  27373. <!-- end class org.apache.hadoop.tools.Logalyzer -->
  27374. <!-- start class org.apache.hadoop.tools.Logalyzer.LogComparator -->
  27375. <class name="Logalyzer.LogComparator" extends="org.apache.hadoop.io.Text.Comparator"
  27376. abstract="false"
  27377. static="true" final="false" visibility="public"
  27378. deprecated="not deprecated">
  27379. <implements name="org.apache.hadoop.conf.Configurable"/>
  27380. <constructor name="Logalyzer.LogComparator"
  27381. static="false" final="false" visibility="public"
  27382. deprecated="not deprecated">
  27383. </constructor>
  27384. <method name="setConf"
  27385. abstract="false" native="false" synchronized="false"
  27386. static="false" final="false" visibility="public"
  27387. deprecated="not deprecated">
  27388. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  27389. </method>
  27390. <method name="getConf" return="org.apache.hadoop.conf.Configuration"
  27391. abstract="false" native="false" synchronized="false"
  27392. static="false" final="false" visibility="public"
  27393. deprecated="not deprecated">
  27394. </method>
  27395. <method name="compare" return="int"
  27396. abstract="false" native="false" synchronized="false"
  27397. static="false" final="false" visibility="public"
  27398. deprecated="not deprecated">
  27399. <param name="b1" type="byte[]"/>
  27400. <param name="s1" type="int"/>
  27401. <param name="l1" type="int"/>
  27402. <param name="b2" type="byte[]"/>
  27403. <param name="s2" type="int"/>
  27404. <param name="l2" type="int"/>
  27405. </method>
  27406. <doc>
  27407. <![CDATA[A WritableComparator optimized for UTF8 keys of the logs.]]>
  27408. </doc>
  27409. </class>
  27410. <!-- end class org.apache.hadoop.tools.Logalyzer.LogComparator -->
  27411. <!-- start class org.apache.hadoop.tools.Logalyzer.LogRegexMapper -->
  27412. <class name="Logalyzer.LogRegexMapper" extends="org.apache.hadoop.mapred.MapReduceBase"
  27413. abstract="false"
  27414. static="true" final="false" visibility="public"
  27415. deprecated="not deprecated">
  27416. <implements name="org.apache.hadoop.mapred.Mapper"/>
  27417. <constructor name="Logalyzer.LogRegexMapper"
  27418. static="false" final="false" visibility="public"
  27419. deprecated="not deprecated">
  27420. </constructor>
  27421. <method name="configure"
  27422. abstract="false" native="false" synchronized="false"
  27423. static="false" final="false" visibility="public"
  27424. deprecated="not deprecated">
  27425. <param name="job" type="org.apache.hadoop.mapred.JobConf"/>
  27426. </method>
  27427. <method name="map"
  27428. abstract="false" native="false" synchronized="false"
  27429. static="false" final="false" visibility="public"
  27430. deprecated="not deprecated">
  27431. <param name="key" type="K"/>
  27432. <param name="value" type="org.apache.hadoop.io.Text"/>
  27433. <param name="output" type="org.apache.hadoop.mapred.OutputCollector"/>
  27434. <param name="reporter" type="org.apache.hadoop.mapred.Reporter"/>
  27435. <exception name="IOException" type="java.io.IOException"/>
  27436. </method>
  27437. <doc>
  27438. <![CDATA[A {@link Mapper} that extracts text matching a regular expression.]]>
  27439. </doc>
  27440. </class>
  27441. <!-- end class org.apache.hadoop.tools.Logalyzer.LogRegexMapper -->
  27442. </package>
  27443. <package name="org.apache.hadoop.tools.rumen">
  27444. <!-- start class org.apache.hadoop.tools.rumen.AbstractClusterStory -->
  27445. <class name="AbstractClusterStory" extends="java.lang.Object"
  27446. abstract="true"
  27447. static="false" final="false" visibility="public"
  27448. deprecated="not deprecated">
  27449. <implements name="org.apache.hadoop.tools.rumen.ClusterStory"/>
  27450. <constructor name="AbstractClusterStory"
  27451. static="false" final="false" visibility="public"
  27452. deprecated="not deprecated">
  27453. </constructor>
  27454. <method name="getMachines" return="java.util.Set"
  27455. abstract="false" native="false" synchronized="false"
  27456. static="false" final="false" visibility="public"
  27457. deprecated="not deprecated">
  27458. </method>
  27459. <method name="getRacks" return="java.util.Set"
  27460. abstract="false" native="false" synchronized="true"
  27461. static="false" final="false" visibility="public"
  27462. deprecated="not deprecated">
  27463. </method>
  27464. <method name="getRandomMachines" return="org.apache.hadoop.tools.rumen.MachineNode[]"
  27465. abstract="false" native="false" synchronized="true"
  27466. static="false" final="false" visibility="public"
  27467. deprecated="not deprecated">
  27468. <param name="expected" type="int"/>
  27469. <param name="random" type="java.util.Random"/>
  27470. </method>
  27471. <method name="buildMachineNodeMap"
  27472. abstract="false" native="false" synchronized="true"
  27473. static="false" final="false" visibility="protected"
  27474. deprecated="not deprecated">
  27475. </method>
  27476. <method name="getMachineByName" return="org.apache.hadoop.tools.rumen.MachineNode"
  27477. abstract="false" native="false" synchronized="false"
  27478. static="false" final="false" visibility="public"
  27479. deprecated="not deprecated">
  27480. <param name="name" type="java.lang.String"/>
  27481. </method>
  27482. <method name="distance" return="int"
  27483. abstract="false" native="false" synchronized="false"
  27484. static="false" final="false" visibility="public"
  27485. deprecated="not deprecated">
  27486. <param name="a" type="org.apache.hadoop.tools.rumen.Node"/>
  27487. <param name="b" type="org.apache.hadoop.tools.rumen.Node"/>
  27488. </method>
  27489. <method name="buildRackNodeMap"
  27490. abstract="false" native="false" synchronized="true"
  27491. static="false" final="false" visibility="protected"
  27492. deprecated="not deprecated">
  27493. </method>
  27494. <method name="getRackByName" return="org.apache.hadoop.tools.rumen.RackNode"
  27495. abstract="false" native="false" synchronized="false"
  27496. static="false" final="false" visibility="public"
  27497. deprecated="not deprecated">
  27498. <param name="name" type="java.lang.String"/>
  27499. </method>
  27500. <method name="getMaximumDistance" return="int"
  27501. abstract="false" native="false" synchronized="false"
  27502. static="false" final="false" visibility="public"
  27503. deprecated="not deprecated">
  27504. </method>
  27505. <method name="parseTopologyTree"
  27506. abstract="false" native="false" synchronized="true"
  27507. static="false" final="false" visibility="protected"
  27508. deprecated="not deprecated">
  27509. </method>
  27510. <field name="machineNodes" type="java.util.Set"
  27511. transient="false" volatile="false"
  27512. static="false" final="false" visibility="protected"
  27513. deprecated="not deprecated">
  27514. </field>
  27515. <field name="rackNodes" type="java.util.Set"
  27516. transient="false" volatile="false"
  27517. static="false" final="false" visibility="protected"
  27518. deprecated="not deprecated">
  27519. </field>
  27520. <field name="mNodesFlattened" type="org.apache.hadoop.tools.rumen.MachineNode[]"
  27521. transient="false" volatile="false"
  27522. static="false" final="false" visibility="protected"
  27523. deprecated="not deprecated">
  27524. </field>
  27525. <field name="mNodeMap" type="java.util.Map"
  27526. transient="false" volatile="false"
  27527. static="false" final="false" visibility="protected"
  27528. deprecated="not deprecated">
  27529. </field>
  27530. <field name="rNodeMap" type="java.util.Map"
  27531. transient="false" volatile="false"
  27532. static="false" final="false" visibility="protected"
  27533. deprecated="not deprecated">
  27534. </field>
  27535. <field name="maximumDistance" type="int"
  27536. transient="false" volatile="false"
  27537. static="false" final="false" visibility="protected"
  27538. deprecated="not deprecated">
  27539. </field>
  27540. <doc>
  27541. <![CDATA[{@link AbstractClusterStory} provides a partial implementation of
  27542. {@link ClusterStory} by parsing the topology tree.]]>
  27543. </doc>
  27544. </class>
  27545. <!-- end class org.apache.hadoop.tools.rumen.AbstractClusterStory -->
  27546. <!-- start class org.apache.hadoop.tools.rumen.CDFPiecewiseLinearRandomGenerator -->
  27547. <class name="CDFPiecewiseLinearRandomGenerator" extends="org.apache.hadoop.tools.rumen.CDFRandomGenerator"
  27548. abstract="false"
  27549. static="false" final="false" visibility="public"
  27550. deprecated="not deprecated">
  27551. <constructor name="CDFPiecewiseLinearRandomGenerator" type="org.apache.hadoop.tools.rumen.LoggedDiscreteCDF"
  27552. static="false" final="false" visibility="public"
  27553. deprecated="not deprecated">
  27554. <doc>
  27555. <![CDATA[@param cdf
  27556. builds a CDFRandomValue engine around this
  27557. {@link LoggedDiscreteCDF}, with a defaultly seeded RNG]]>
  27558. </doc>
  27559. </constructor>
  27560. <constructor name="CDFPiecewiseLinearRandomGenerator" type="org.apache.hadoop.tools.rumen.LoggedDiscreteCDF, long"
  27561. static="false" final="false" visibility="public"
  27562. deprecated="not deprecated">
  27563. <doc>
  27564. <![CDATA[@param cdf
  27565. builds a CDFRandomValue engine around this
  27566. {@link LoggedDiscreteCDF}, with an explicitly seeded RNG
  27567. @param seed
  27568. the random number generator seed]]>
  27569. </doc>
  27570. </constructor>
  27571. <method name="valueAt" return="long"
  27572. abstract="false" native="false" synchronized="false"
  27573. static="false" final="false" visibility="public"
  27574. deprecated="not deprecated">
  27575. <param name="probability" type="double"/>
  27576. <doc>
  27577. <![CDATA[TODO This code assumes that the empirical minimum resp. maximum is the
  27578. epistomological minimum resp. maximum. This is probably okay for the
  27579. minimum, because that likely represents a task where everything went well,
  27580. but for the maximum we may want to develop a way of extrapolating past the
  27581. maximum.]]>
  27582. </doc>
  27583. </method>
  27584. </class>
  27585. <!-- end class org.apache.hadoop.tools.rumen.CDFPiecewiseLinearRandomGenerator -->
  27586. <!-- start class org.apache.hadoop.tools.rumen.CDFRandomGenerator -->
  27587. <class name="CDFRandomGenerator" extends="java.lang.Object"
  27588. abstract="true"
  27589. static="false" final="false" visibility="public"
  27590. deprecated="not deprecated">
  27591. <method name="initializeTables"
  27592. abstract="false" native="false" synchronized="false"
  27593. static="false" final="true" visibility="protected"
  27594. deprecated="not deprecated">
  27595. <param name="cdf" type="org.apache.hadoop.tools.rumen.LoggedDiscreteCDF"/>
  27596. </method>
  27597. <method name="floorIndex" return="int"
  27598. abstract="false" native="false" synchronized="false"
  27599. static="false" final="false" visibility="protected"
  27600. deprecated="not deprecated">
  27601. <param name="probe" type="double"/>
  27602. </method>
  27603. <method name="getRankingAt" return="double"
  27604. abstract="false" native="false" synchronized="false"
  27605. static="false" final="false" visibility="protected"
  27606. deprecated="not deprecated">
  27607. <param name="index" type="int"/>
  27608. </method>
  27609. <method name="getDatumAt" return="long"
  27610. abstract="false" native="false" synchronized="false"
  27611. static="false" final="false" visibility="protected"
  27612. deprecated="not deprecated">
  27613. <param name="index" type="int"/>
  27614. </method>
  27615. <method name="randomValue" return="long"
  27616. abstract="false" native="false" synchronized="false"
  27617. static="false" final="false" visibility="public"
  27618. deprecated="not deprecated">
  27619. </method>
  27620. <method name="valueAt" return="long"
  27621. abstract="true" native="false" synchronized="false"
  27622. static="false" final="false" visibility="public"
  27623. deprecated="not deprecated">
  27624. <param name="probability" type="double"/>
  27625. </method>
  27626. <doc>
  27627. <![CDATA[An instance of this class generates random values that confirm to the
  27628. embedded {@link LoggedDiscreteCDF} . The discrete CDF is a pointwise
  27629. approximation of the "real" CDF. We therefore have a choice of interpolation
  27630. rules.
  27631. A concrete subclass of this abstract class will implement valueAt(double)
  27632. using a class-dependent interpolation rule.]]>
  27633. </doc>
  27634. </class>
  27635. <!-- end class org.apache.hadoop.tools.rumen.CDFRandomGenerator -->
  27636. <!-- start interface org.apache.hadoop.tools.rumen.ClusterStory -->
  27637. <interface name="ClusterStory" abstract="true"
  27638. static="false" final="false" visibility="public"
  27639. deprecated="not deprecated">
  27640. <method name="getMachines" return="java.util.Set"
  27641. abstract="false" native="false" synchronized="false"
  27642. static="false" final="false" visibility="public"
  27643. deprecated="not deprecated">
  27644. <doc>
  27645. <![CDATA[Get all machines of the cluster.
  27646. @return A read-only set that contains all machines of the cluster.]]>
  27647. </doc>
  27648. </method>
  27649. <method name="getRacks" return="java.util.Set"
  27650. abstract="false" native="false" synchronized="false"
  27651. static="false" final="false" visibility="public"
  27652. deprecated="not deprecated">
  27653. <doc>
  27654. <![CDATA[Get all racks of the cluster.
  27655. @return A read-only set that contains all racks of the cluster.]]>
  27656. </doc>
  27657. </method>
  27658. <method name="getClusterTopology" return="org.apache.hadoop.tools.rumen.Node"
  27659. abstract="false" native="false" synchronized="false"
  27660. static="false" final="false" visibility="public"
  27661. deprecated="not deprecated">
  27662. <doc>
  27663. <![CDATA[Get the cluster topology tree.
  27664. @return The root node of the cluster topology tree.]]>
  27665. </doc>
  27666. </method>
  27667. <method name="getRandomMachines" return="org.apache.hadoop.tools.rumen.MachineNode[]"
  27668. abstract="false" native="false" synchronized="false"
  27669. static="false" final="false" visibility="public"
  27670. deprecated="not deprecated">
  27671. <param name="expected" type="int"/>
  27672. <param name="random" type="java.util.Random"/>
  27673. <doc>
  27674. <![CDATA[Select a random set of machines.
  27675. @param expected The expected sample size.
  27676. @param random Random number generator to use.
  27677. @return An array of up to expected number of {@link MachineNode}s.]]>
  27678. </doc>
  27679. </method>
  27680. <method name="getMachineByName" return="org.apache.hadoop.tools.rumen.MachineNode"
  27681. abstract="false" native="false" synchronized="false"
  27682. static="false" final="false" visibility="public"
  27683. deprecated="not deprecated">
  27684. <param name="name" type="java.lang.String"/>
  27685. <doc>
  27686. <![CDATA[Get {@link MachineNode} by its host name.
  27687. @return The {@line MachineNode} with the same name. Or null if not found.]]>
  27688. </doc>
  27689. </method>
  27690. <method name="getRackByName" return="org.apache.hadoop.tools.rumen.RackNode"
  27691. abstract="false" native="false" synchronized="false"
  27692. static="false" final="false" visibility="public"
  27693. deprecated="not deprecated">
  27694. <param name="name" type="java.lang.String"/>
  27695. <doc>
  27696. <![CDATA[Get {@link RackNode} by its name.
  27697. @return The {@line RackNode} with the same name. Or null if not found.]]>
  27698. </doc>
  27699. </method>
  27700. <method name="distance" return="int"
  27701. abstract="false" native="false" synchronized="false"
  27702. static="false" final="false" visibility="public"
  27703. deprecated="not deprecated">
  27704. <param name="a" type="org.apache.hadoop.tools.rumen.Node"/>
  27705. <param name="b" type="org.apache.hadoop.tools.rumen.Node"/>
  27706. <doc>
  27707. <![CDATA[Determine the distance between two {@link Node}s. Currently, the distance
  27708. is loosely defined as the length of the longer path for either a or b to
  27709. reach their common ancestor.
  27710. @param a
  27711. @param b
  27712. @return The distance between {@link Node} a and {@link Node} b.]]>
  27713. </doc>
  27714. </method>
  27715. <method name="getMaximumDistance" return="int"
  27716. abstract="false" native="false" synchronized="false"
  27717. static="false" final="false" visibility="public"
  27718. deprecated="not deprecated">
  27719. <doc>
  27720. <![CDATA[Get the maximum distance possible between any two nodes.
  27721. @return the maximum distance possible between any two nodes.]]>
  27722. </doc>
  27723. </method>
  27724. <doc>
  27725. <![CDATA[{@link ClusterStory} represents all configurations of a MapReduce cluster,
  27726. including nodes, network topology, and slot configurations.]]>
  27727. </doc>
  27728. </interface>
  27729. <!-- end interface org.apache.hadoop.tools.rumen.ClusterStory -->
  27730. <!-- start class org.apache.hadoop.tools.rumen.ClusterTopologyReader -->
  27731. <class name="ClusterTopologyReader" extends="java.lang.Object"
  27732. abstract="false"
  27733. static="false" final="false" visibility="public"
  27734. deprecated="not deprecated">
  27735. <constructor name="ClusterTopologyReader" type="org.apache.hadoop.fs.Path, org.apache.hadoop.conf.Configuration"
  27736. static="false" final="false" visibility="public"
  27737. deprecated="not deprecated">
  27738. <exception name="IOException" type="java.io.IOException"/>
  27739. <doc>
  27740. <![CDATA[Constructor.
  27741. @param path
  27742. Path to the JSON-encoded topology file, possibly compressed.
  27743. @param conf
  27744. @throws IOException]]>
  27745. </doc>
  27746. </constructor>
  27747. <constructor name="ClusterTopologyReader" type="java.io.InputStream"
  27748. static="false" final="false" visibility="public"
  27749. deprecated="not deprecated">
  27750. <exception name="IOException" type="java.io.IOException"/>
  27751. <doc>
  27752. <![CDATA[Constructor.
  27753. @param input
  27754. The input stream for the JSON-encoded topology data.]]>
  27755. </doc>
  27756. </constructor>
  27757. <method name="get" return="org.apache.hadoop.tools.rumen.LoggedNetworkTopology"
  27758. abstract="false" native="false" synchronized="false"
  27759. static="false" final="false" visibility="public"
  27760. deprecated="not deprecated">
  27761. <doc>
  27762. <![CDATA[Get the {@link LoggedNetworkTopology} object.
  27763. @return The {@link LoggedNetworkTopology} object parsed from the input.]]>
  27764. </doc>
  27765. </method>
  27766. <doc>
  27767. <![CDATA[Reading JSON-encoded cluster topology and produce the parsed
  27768. {@link LoggedNetworkTopology} object.]]>
  27769. </doc>
  27770. </class>
  27771. <!-- end class org.apache.hadoop.tools.rumen.ClusterTopologyReader -->
  27772. <!-- start class org.apache.hadoop.tools.rumen.CurrentJHParser -->
  27773. <class name="CurrentJHParser" extends="java.lang.Object"
  27774. abstract="false"
  27775. static="false" final="false" visibility="public"
  27776. deprecated="not deprecated">
  27777. <implements name="org.apache.hadoop.tools.rumen.JobHistoryParser"/>
  27778. <constructor name="CurrentJHParser" type="java.io.InputStream"
  27779. static="false" final="false" visibility="public"
  27780. deprecated="not deprecated">
  27781. <exception name="IOException" type="java.io.IOException"/>
  27782. </constructor>
  27783. <method name="canParse" return="boolean"
  27784. abstract="false" native="false" synchronized="false"
  27785. static="true" final="false" visibility="public"
  27786. deprecated="not deprecated">
  27787. <param name="input" type="java.io.InputStream"/>
  27788. <exception name="IOException" type="java.io.IOException"/>
  27789. <doc>
  27790. <![CDATA[Can this parser parse the input?
  27791. @param input
  27792. @return Whether this parser can parse the input.
  27793. @throws IOException]]>
  27794. </doc>
  27795. </method>
  27796. <method name="nextEvent" return="org.apache.hadoop.mapreduce.jobhistory.HistoryEvent"
  27797. abstract="false" native="false" synchronized="false"
  27798. static="false" final="false" visibility="public"
  27799. deprecated="not deprecated">
  27800. <exception name="IOException" type="java.io.IOException"/>
  27801. </method>
  27802. <method name="close"
  27803. abstract="false" native="false" synchronized="false"
  27804. static="false" final="false" visibility="public"
  27805. deprecated="not deprecated">
  27806. <exception name="IOException" type="java.io.IOException"/>
  27807. </method>
  27808. <doc>
  27809. <![CDATA[{@link JobHistoryParser} that parses {@link JobHistory} files produced by
  27810. {@link org.apache.hadoop.mapreduce.jobhistory.JobHistory} in the same source
  27811. code tree as rumen.]]>
  27812. </doc>
  27813. </class>
  27814. <!-- end class org.apache.hadoop.tools.rumen.CurrentJHParser -->
  27815. <!-- start interface org.apache.hadoop.tools.rumen.DeepCompare -->
  27816. <interface name="DeepCompare" abstract="true"
  27817. static="false" final="false" visibility="public"
  27818. deprecated="not deprecated">
  27819. <method name="deepCompare"
  27820. abstract="false" native="false" synchronized="false"
  27821. static="false" final="false" visibility="public"
  27822. deprecated="not deprecated">
  27823. <param name="other" type="org.apache.hadoop.tools.rumen.DeepCompare"/>
  27824. <param name="myLocation" type="org.apache.hadoop.tools.rumen.TreePath"/>
  27825. <exception name="DeepInequalityException" type="org.apache.hadoop.tools.rumen.DeepInequalityException"/>
  27826. <doc>
  27827. <![CDATA[@param other
  27828. the other comparand that's being compared to me
  27829. @param myLocation
  27830. the path that got to me. In the root, myLocation is null. To
  27831. process the scalar {@code foo} field of the root we will make a
  27832. recursive call with a {@link TreePath} whose {@code fieldName} is
  27833. {@code "bar"} and whose {@code index} is -1 and whose {@code
  27834. parent} is {@code null}. To process the plural {@code bar} field
  27835. of the root we will make a recursive call with a {@link TreePath}
  27836. whose fieldName is {@code "foo"} and whose {@code index} is -1 and
  27837. whose {@code parent} is also {@code null}.
  27838. @throws DeepInequalityException]]>
  27839. </doc>
  27840. </method>
  27841. <doc>
  27842. <![CDATA[Classes that implement this interface can deep-compare [for equality only,
  27843. not order] with another instance. They do a deep compare. If there is any
  27844. semantically significant difference, an implementer throws an Exception to be
  27845. thrown with a chain of causes describing the chain of field references and
  27846. indices that get you to the miscompared point.]]>
  27847. </doc>
  27848. </interface>
  27849. <!-- end interface org.apache.hadoop.tools.rumen.DeepCompare -->
  27850. <!-- start class org.apache.hadoop.tools.rumen.DeepInequalityException -->
  27851. <class name="DeepInequalityException" extends="java.lang.Exception"
  27852. abstract="false"
  27853. static="false" final="false" visibility="public"
  27854. deprecated="not deprecated">
  27855. <constructor name="DeepInequalityException" type="java.lang.String, org.apache.hadoop.tools.rumen.TreePath, java.lang.Throwable"
  27856. static="false" final="false" visibility="public"
  27857. deprecated="not deprecated">
  27858. <doc>
  27859. <![CDATA[@param message
  27860. an exception message
  27861. @param path
  27862. the path that gets from the root to the inequality
  27863. This is the constructor that I intend to have used for this
  27864. exception.]]>
  27865. </doc>
  27866. </constructor>
  27867. <constructor name="DeepInequalityException" type="java.lang.String, org.apache.hadoop.tools.rumen.TreePath"
  27868. static="false" final="false" visibility="public"
  27869. deprecated="not deprecated">
  27870. <doc>
  27871. <![CDATA[@param message
  27872. an exception message
  27873. @param path
  27874. the path that gets from the root to the inequality
  27875. This is the constructor that I intend to have used for this
  27876. exception.]]>
  27877. </doc>
  27878. </constructor>
  27879. <doc>
  27880. <![CDATA[We use this exception class in the unit test, and we do a deep comparison
  27881. when we run the]]>
  27882. </doc>
  27883. </class>
  27884. <!-- end class org.apache.hadoop.tools.rumen.DeepInequalityException -->
  27885. <!-- start class org.apache.hadoop.tools.rumen.DefaultInputDemuxer -->
  27886. <class name="DefaultInputDemuxer" extends="java.lang.Object"
  27887. abstract="false"
  27888. static="false" final="false" visibility="public"
  27889. deprecated="not deprecated">
  27890. <implements name="org.apache.hadoop.tools.rumen.InputDemuxer"/>
  27891. <constructor name="DefaultInputDemuxer"
  27892. static="false" final="false" visibility="public"
  27893. deprecated="not deprecated">
  27894. </constructor>
  27895. <method name="bindTo"
  27896. abstract="false" native="false" synchronized="false"
  27897. static="false" final="false" visibility="public"
  27898. deprecated="not deprecated">
  27899. <param name="path" type="org.apache.hadoop.fs.Path"/>
  27900. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  27901. <exception name="IOException" type="java.io.IOException"/>
  27902. </method>
  27903. <method name="getNext" return="org.apache.hadoop.tools.rumen.Pair"
  27904. abstract="false" native="false" synchronized="false"
  27905. static="false" final="false" visibility="public"
  27906. deprecated="not deprecated">
  27907. <exception name="IOException" type="java.io.IOException"/>
  27908. </method>
  27909. <method name="close"
  27910. abstract="false" native="false" synchronized="false"
  27911. static="false" final="false" visibility="public"
  27912. deprecated="not deprecated">
  27913. <exception name="IOException" type="java.io.IOException"/>
  27914. </method>
  27915. <doc>
  27916. <![CDATA[{@link DefaultInputDemuxer} acts as a pass-through demuxer. It just opens
  27917. each file and returns back the input stream. If the input is compressed, it
  27918. would return a decompression stream.]]>
  27919. </doc>
  27920. </class>
  27921. <!-- end class org.apache.hadoop.tools.rumen.DefaultInputDemuxer -->
  27922. <!-- start class org.apache.hadoop.tools.rumen.DefaultOutputter -->
  27923. <class name="DefaultOutputter" extends="java.lang.Object"
  27924. abstract="false"
  27925. static="false" final="false" visibility="public"
  27926. deprecated="not deprecated">
  27927. <implements name="org.apache.hadoop.tools.rumen.Outputter"/>
  27928. <constructor name="DefaultOutputter"
  27929. static="false" final="false" visibility="public"
  27930. deprecated="not deprecated">
  27931. </constructor>
  27932. <method name="init"
  27933. abstract="false" native="false" synchronized="false"
  27934. static="false" final="false" visibility="public"
  27935. deprecated="not deprecated">
  27936. <param name="path" type="org.apache.hadoop.fs.Path"/>
  27937. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  27938. <exception name="IOException" type="java.io.IOException"/>
  27939. </method>
  27940. <method name="output"
  27941. abstract="false" native="false" synchronized="false"
  27942. static="false" final="false" visibility="public"
  27943. deprecated="not deprecated">
  27944. <param name="object" type="T"/>
  27945. <exception name="IOException" type="java.io.IOException"/>
  27946. </method>
  27947. <method name="close"
  27948. abstract="false" native="false" synchronized="false"
  27949. static="false" final="false" visibility="public"
  27950. deprecated="not deprecated">
  27951. <exception name="IOException" type="java.io.IOException"/>
  27952. </method>
  27953. <doc>
  27954. <![CDATA[The default {@link Outputter} that outputs to a plain file. Compression
  27955. will be applied if the path has the right suffix.]]>
  27956. </doc>
  27957. </class>
  27958. <!-- end class org.apache.hadoop.tools.rumen.DefaultOutputter -->
  27959. <!-- start class org.apache.hadoop.tools.rumen.DeskewedJobTraceReader -->
  27960. <class name="DeskewedJobTraceReader" extends="java.lang.Object"
  27961. abstract="false"
  27962. static="false" final="false" visibility="public"
  27963. deprecated="not deprecated">
  27964. <implements name="java.io.Closeable"/>
  27965. <constructor name="DeskewedJobTraceReader" type="org.apache.hadoop.tools.rumen.JobTraceReader, int, boolean"
  27966. static="false" final="false" visibility="public"
  27967. deprecated="not deprecated">
  27968. <exception name="IOException" type="java.io.IOException"/>
  27969. <doc>
  27970. <![CDATA[Constructor.
  27971. @param reader
  27972. the {@link JobTraceReader} that's being protected
  27973. @param skewBufferSize
  27974. [the number of late jobs that can preced a later out-of-order
  27975. earlier job
  27976. @throws IOException]]>
  27977. </doc>
  27978. </constructor>
  27979. <constructor name="DeskewedJobTraceReader" type="org.apache.hadoop.tools.rumen.JobTraceReader"
  27980. static="false" final="false" visibility="public"
  27981. deprecated="not deprecated">
  27982. <exception name="IOException" type="java.io.IOException"/>
  27983. </constructor>
  27984. <method name="close"
  27985. abstract="false" native="false" synchronized="false"
  27986. static="false" final="false" visibility="public"
  27987. deprecated="not deprecated">
  27988. <exception name="IOException" type="java.io.IOException"/>
  27989. </method>
  27990. </class>
  27991. <!-- end class org.apache.hadoop.tools.rumen.DeskewedJobTraceReader -->
  27992. <!-- start class org.apache.hadoop.tools.rumen.Folder -->
  27993. <class name="Folder" extends="org.apache.hadoop.conf.Configured"
  27994. abstract="false"
  27995. static="false" final="false" visibility="public"
  27996. deprecated="not deprecated">
  27997. <implements name="org.apache.hadoop.util.Tool"/>
  27998. <constructor name="Folder"
  27999. static="false" final="false" visibility="public"
  28000. deprecated="not deprecated">
  28001. </constructor>
  28002. <method name="run" return="int"
  28003. abstract="false" native="false" synchronized="false"
  28004. static="false" final="false" visibility="public"
  28005. deprecated="not deprecated">
  28006. <param name="args" type="java.lang.String[]"/>
  28007. <exception name="IOException" type="java.io.IOException"/>
  28008. </method>
  28009. <method name="run" return="int"
  28010. abstract="false" native="false" synchronized="false"
  28011. static="false" final="false" visibility="public"
  28012. deprecated="not deprecated">
  28013. <exception name="IOException" type="java.io.IOException"/>
  28014. </method>
  28015. <method name="main"
  28016. abstract="false" native="false" synchronized="false"
  28017. static="true" final="false" visibility="public"
  28018. deprecated="not deprecated">
  28019. <param name="args" type="java.lang.String[]"/>
  28020. <doc>
  28021. <![CDATA[@param args]]>
  28022. </doc>
  28023. </method>
  28024. </class>
  28025. <!-- end class org.apache.hadoop.tools.rumen.Folder -->
  28026. <!-- start class org.apache.hadoop.tools.rumen.Hadoop20JHParser -->
  28027. <class name="Hadoop20JHParser" extends="java.lang.Object"
  28028. abstract="false"
  28029. static="false" final="false" visibility="public"
  28030. deprecated="not deprecated">
  28031. <implements name="org.apache.hadoop.tools.rumen.JobHistoryParser"/>
  28032. <constructor name="Hadoop20JHParser" type="java.io.InputStream"
  28033. static="false" final="false" visibility="public"
  28034. deprecated="not deprecated">
  28035. <exception name="IOException" type="java.io.IOException"/>
  28036. </constructor>
  28037. <method name="canParse" return="boolean"
  28038. abstract="false" native="false" synchronized="false"
  28039. static="true" final="false" visibility="public"
  28040. deprecated="not deprecated">
  28041. <param name="input" type="java.io.InputStream"/>
  28042. <exception name="IOException" type="java.io.IOException"/>
  28043. <doc>
  28044. <![CDATA[Can this parser parse the input?
  28045. @param input
  28046. @return Whether this parser can parse the input.
  28047. @throws IOException
  28048. We will deem a stream to be a good 0.20 job history stream if the
  28049. first line is exactly "Meta VERSION=\"1\" ."]]>
  28050. </doc>
  28051. </method>
  28052. <method name="nextEvent" return="org.apache.hadoop.mapreduce.jobhistory.HistoryEvent"
  28053. abstract="false" native="false" synchronized="false"
  28054. static="false" final="false" visibility="public"
  28055. deprecated="not deprecated">
  28056. </method>
  28057. <method name="close"
  28058. abstract="false" native="false" synchronized="false"
  28059. static="false" final="false" visibility="public"
  28060. deprecated="not deprecated">
  28061. <exception name="IOException" type="java.io.IOException"/>
  28062. </method>
  28063. <doc>
  28064. <![CDATA[{@link JobHistoryParser} to parse job histories for hadoop 0.20 (META=1).]]>
  28065. </doc>
  28066. </class>
  28067. <!-- end class org.apache.hadoop.tools.rumen.Hadoop20JHParser -->
  28068. <!-- start class org.apache.hadoop.tools.rumen.HadoopLogsAnalyzer -->
  28069. <class name="HadoopLogsAnalyzer" extends="org.apache.hadoop.conf.Configured"
  28070. abstract="false"
  28071. static="false" final="false" visibility="public"
  28072. deprecated="not deprecated">
  28073. <implements name="org.apache.hadoop.util.Tool"/>
  28074. <constructor name="HadoopLogsAnalyzer"
  28075. static="false" final="false" visibility="public"
  28076. deprecated="not deprecated">
  28077. </constructor>
  28078. <method name="run" return="int"
  28079. abstract="false" native="false" synchronized="false"
  28080. static="false" final="false" visibility="public"
  28081. deprecated="not deprecated">
  28082. <param name="args" type="java.lang.String[]"/>
  28083. <exception name="IOException" type="java.io.IOException"/>
  28084. </method>
  28085. <method name="main"
  28086. abstract="false" native="false" synchronized="false"
  28087. static="true" final="false" visibility="public"
  28088. deprecated="not deprecated">
  28089. <param name="args" type="java.lang.String[]"/>
  28090. <doc>
  28091. <![CDATA[@param args
  28092. Last arg is the input file. That file can be a directory, in which
  28093. case you get all the files in sorted order. We will decompress
  28094. files whose nmes end in .gz .
  28095. switches: -c collect line types.
  28096. -d debug mode
  28097. -delays print out the delays [interval between job submit time and
  28098. launch time]
  28099. -runtimes print out the job runtimes
  28100. -spreads print out the ratio of 10%ile and 90%ile, of both the
  28101. successful map task attempt run times and the the successful
  28102. reduce task attempt run times
  28103. -tasktimes prints out individual task time distributions
  28104. collects all the line types and prints the first example of each
  28105. one]]>
  28106. </doc>
  28107. </method>
  28108. <doc>
  28109. <![CDATA[This is the main class for rumen log mining functionality.
  28110. It reads a directory of job tracker logs, and computes various information
  28111. about it. See {@code usage()}, below.]]>
  28112. </doc>
  28113. </class>
  28114. <!-- end class org.apache.hadoop.tools.rumen.HadoopLogsAnalyzer -->
  28115. <!-- start interface org.apache.hadoop.tools.rumen.InputDemuxer -->
  28116. <interface name="InputDemuxer" abstract="true"
  28117. static="false" final="false" visibility="public"
  28118. deprecated="not deprecated">
  28119. <implements name="java.io.Closeable"/>
  28120. <method name="bindTo"
  28121. abstract="false" native="false" synchronized="false"
  28122. static="false" final="false" visibility="public"
  28123. deprecated="not deprecated">
  28124. <param name="path" type="org.apache.hadoop.fs.Path"/>
  28125. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  28126. <exception name="IOException" type="java.io.IOException"/>
  28127. <doc>
  28128. <![CDATA[Bind the {@link InputDemuxer} to a particular file.
  28129. @param path
  28130. The path to the find it should bind to.
  28131. @param conf
  28132. Configuration
  28133. @throws IOException
  28134. Returns true when the binding succeeds. If the file can be read
  28135. but is in the wrong format, returns false. IOException is
  28136. reserved for read errors.]]>
  28137. </doc>
  28138. </method>
  28139. <method name="getNext" return="org.apache.hadoop.tools.rumen.Pair"
  28140. abstract="false" native="false" synchronized="false"
  28141. static="false" final="false" visibility="public"
  28142. deprecated="not deprecated">
  28143. <exception name="IOException" type="java.io.IOException"/>
  28144. <doc>
  28145. <![CDATA[Get the next <name, input> pair. The name should preserve the original job
  28146. history file or job conf file name. The input object should be closed
  28147. before calling getNext() again. The old input object would be invalid after
  28148. calling getNext() again.
  28149. @return the next <name, input> pair.]]>
  28150. </doc>
  28151. </method>
  28152. <doc>
  28153. <![CDATA[{@link InputDemuxer} dem-ultiplexes the input files into individual input
  28154. streams.]]>
  28155. </doc>
  28156. </interface>
  28157. <!-- end interface org.apache.hadoop.tools.rumen.InputDemuxer -->
  28158. <!-- start class org.apache.hadoop.tools.rumen.Job20LineHistoryEventEmitter -->
  28159. <class name="Job20LineHistoryEventEmitter" extends="org.apache.hadoop.tools.rumen.HistoryEventEmitter"
  28160. abstract="false"
  28161. static="false" final="false" visibility="public"
  28162. deprecated="not deprecated">
  28163. </class>
  28164. <!-- end class org.apache.hadoop.tools.rumen.Job20LineHistoryEventEmitter -->
  28165. <!-- start class org.apache.hadoop.tools.rumen.JobBuilder -->
  28166. <class name="JobBuilder" extends="java.lang.Object"
  28167. abstract="false"
  28168. static="false" final="false" visibility="public"
  28169. deprecated="not deprecated">
  28170. <constructor name="JobBuilder" type="java.lang.String"
  28171. static="false" final="false" visibility="public"
  28172. deprecated="not deprecated">
  28173. </constructor>
  28174. <method name="getJobID" return="java.lang.String"
  28175. abstract="false" native="false" synchronized="false"
  28176. static="false" final="false" visibility="public"
  28177. deprecated="not deprecated">
  28178. </method>
  28179. <method name="process"
  28180. abstract="false" native="false" synchronized="false"
  28181. static="false" final="false" visibility="public"
  28182. deprecated="not deprecated">
  28183. <param name="event" type="org.apache.hadoop.mapreduce.jobhistory.HistoryEvent"/>
  28184. <doc>
  28185. <![CDATA[Process one {@link HistoryEvent}
  28186. @param event
  28187. The {@link HistoryEvent} to be processed.]]>
  28188. </doc>
  28189. </method>
  28190. <method name="process"
  28191. abstract="false" native="false" synchronized="false"
  28192. static="false" final="false" visibility="public"
  28193. deprecated="not deprecated">
  28194. <param name="conf" type="java.util.Properties"/>
  28195. <doc>
  28196. <![CDATA[Process a collection of JobConf {@link Properties}. We do not restrict it
  28197. to be called once. It is okay to process a conf before, during or after the
  28198. events.
  28199. @param conf
  28200. The job conf properties to be added.]]>
  28201. </doc>
  28202. </method>
  28203. <method name="build" return="org.apache.hadoop.tools.rumen.LoggedJob"
  28204. abstract="false" native="false" synchronized="false"
  28205. static="false" final="false" visibility="public"
  28206. deprecated="not deprecated">
  28207. <doc>
  28208. <![CDATA[Request the builder to build the final object. Once called, the
  28209. {@link JobBuilder} would accept no more events or job-conf properties.
  28210. @return Parsed {@link LoggedJob} object.]]>
  28211. </doc>
  28212. </method>
  28213. <doc>
  28214. <![CDATA[{@link JobBuilder} builds one job. It processes a sequence of
  28215. {@link HistoryEvent}s.]]>
  28216. </doc>
  28217. </class>
  28218. <!-- end class org.apache.hadoop.tools.rumen.JobBuilder -->
  28219. <!-- start class org.apache.hadoop.tools.rumen.JobConfigurationParser -->
  28220. <class name="JobConfigurationParser" extends="java.lang.Object"
  28221. abstract="false"
  28222. static="false" final="false" visibility="public"
  28223. deprecated="not deprecated">
  28224. <constructor name="JobConfigurationParser" type="java.util.List"
  28225. static="false" final="false" visibility="public"
  28226. deprecated="not deprecated">
  28227. <doc>
  28228. <![CDATA[Constructor
  28229. @param interested
  28230. properties we should extract from the job configuration xml.]]>
  28231. </doc>
  28232. </constructor>
  28233. <doc>
  28234. <![CDATA[{@link JobConfigurationParser} parses the job configuration xml file, and
  28235. extracts various framework specific properties. It parses the file using a
  28236. stream-parser and thus is more memory efficient. [This optimization may be
  28237. postponed for a future release]]]>
  28238. </doc>
  28239. </class>
  28240. <!-- end class org.apache.hadoop.tools.rumen.JobConfigurationParser -->
  28241. <!-- start class org.apache.hadoop.tools.rumen.JobConfPropertyNames -->
  28242. <class name="JobConfPropertyNames" extends="java.lang.Enum"
  28243. abstract="false"
  28244. static="false" final="true" visibility="public"
  28245. deprecated="not deprecated">
  28246. <method name="values" return="org.apache.hadoop.tools.rumen.JobConfPropertyNames[]"
  28247. abstract="false" native="false" synchronized="false"
  28248. static="true" final="false" visibility="public"
  28249. deprecated="not deprecated">
  28250. </method>
  28251. <method name="valueOf" return="org.apache.hadoop.tools.rumen.JobConfPropertyNames"
  28252. abstract="false" native="false" synchronized="false"
  28253. static="true" final="false" visibility="public"
  28254. deprecated="not deprecated">
  28255. <param name="name" type="java.lang.String"/>
  28256. </method>
  28257. <method name="getCandidates" return="java.lang.String[]"
  28258. abstract="false" native="false" synchronized="false"
  28259. static="false" final="false" visibility="public"
  28260. deprecated="not deprecated">
  28261. </method>
  28262. </class>
  28263. <!-- end class org.apache.hadoop.tools.rumen.JobConfPropertyNames -->
  28264. <!-- start interface org.apache.hadoop.tools.rumen.JobHistoryParser -->
  28265. <interface name="JobHistoryParser" abstract="true"
  28266. static="false" final="false" visibility="public"
  28267. deprecated="not deprecated">
  28268. <implements name="java.io.Closeable"/>
  28269. <method name="nextEvent" return="org.apache.hadoop.mapreduce.jobhistory.HistoryEvent"
  28270. abstract="false" native="false" synchronized="false"
  28271. static="false" final="false" visibility="public"
  28272. deprecated="not deprecated">
  28273. <exception name="IOException" type="java.io.IOException"/>
  28274. <doc>
  28275. <![CDATA[Get the next {@link HistoryEvent}
  28276. @return the next {@link HistoryEvent}. If no more events left, return null.
  28277. @throws IOException]]>
  28278. </doc>
  28279. </method>
  28280. <doc>
  28281. <![CDATA[{@link JobHistoryParser} defines the interface of a Job History file parser.]]>
  28282. </doc>
  28283. </interface>
  28284. <!-- end interface org.apache.hadoop.tools.rumen.JobHistoryParser -->
  28285. <!-- start class org.apache.hadoop.tools.rumen.JobHistoryParserFactory -->
  28286. <class name="JobHistoryParserFactory" extends="java.lang.Object"
  28287. abstract="false"
  28288. static="false" final="false" visibility="public"
  28289. deprecated="not deprecated">
  28290. <constructor name="JobHistoryParserFactory"
  28291. static="false" final="false" visibility="public"
  28292. deprecated="not deprecated">
  28293. </constructor>
  28294. <method name="getParser" return="org.apache.hadoop.tools.rumen.JobHistoryParser"
  28295. abstract="false" native="false" synchronized="false"
  28296. static="true" final="false" visibility="public"
  28297. deprecated="not deprecated">
  28298. <param name="ris" type="org.apache.hadoop.tools.rumen.RewindableInputStream"/>
  28299. <exception name="IOException" type="java.io.IOException"/>
  28300. </method>
  28301. <doc>
  28302. <![CDATA[{@link JobHistoryParserFactory} is a singleton class that attempts to
  28303. determine the version of job history and return a proper parser.]]>
  28304. </doc>
  28305. </class>
  28306. <!-- end class org.apache.hadoop.tools.rumen.JobHistoryParserFactory -->
  28307. <!-- start interface org.apache.hadoop.tools.rumen.JobStory -->
  28308. <interface name="JobStory" abstract="true"
  28309. static="false" final="false" visibility="public"
  28310. deprecated="not deprecated">
  28311. <method name="getJobConf" return="org.apache.hadoop.mapred.JobConf"
  28312. abstract="false" native="false" synchronized="false"
  28313. static="false" final="false" visibility="public"
  28314. deprecated="not deprecated">
  28315. <doc>
  28316. <![CDATA[Get the {@link JobConf} for the job.
  28317. @return the <code>JobConf</code> for the job]]>
  28318. </doc>
  28319. </method>
  28320. <method name="getName" return="java.lang.String"
  28321. abstract="false" native="false" synchronized="false"
  28322. static="false" final="false" visibility="public"
  28323. deprecated="not deprecated">
  28324. <doc>
  28325. <![CDATA[Get the job name.
  28326. @return the job name]]>
  28327. </doc>
  28328. </method>
  28329. <method name="getJobID" return="org.apache.hadoop.mapreduce.JobID"
  28330. abstract="false" native="false" synchronized="false"
  28331. static="false" final="false" visibility="public"
  28332. deprecated="not deprecated">
  28333. <doc>
  28334. <![CDATA[Get the job ID
  28335. @return the job ID]]>
  28336. </doc>
  28337. </method>
  28338. <method name="getUser" return="java.lang.String"
  28339. abstract="false" native="false" synchronized="false"
  28340. static="false" final="false" visibility="public"
  28341. deprecated="not deprecated">
  28342. <doc>
  28343. <![CDATA[Get the user who ran the job.
  28344. @return the user who ran the job]]>
  28345. </doc>
  28346. </method>
  28347. <method name="getSubmissionTime" return="long"
  28348. abstract="false" native="false" synchronized="false"
  28349. static="false" final="false" visibility="public"
  28350. deprecated="not deprecated">
  28351. <doc>
  28352. <![CDATA[Get the job submission time.
  28353. @return the job submission time]]>
  28354. </doc>
  28355. </method>
  28356. <method name="getNumberMaps" return="int"
  28357. abstract="false" native="false" synchronized="false"
  28358. static="false" final="false" visibility="public"
  28359. deprecated="not deprecated">
  28360. <doc>
  28361. <![CDATA[Get the number of maps in the {@link JobStory}.
  28362. @return the number of maps in the <code>Job</code>]]>
  28363. </doc>
  28364. </method>
  28365. <method name="getNumberReduces" return="int"
  28366. abstract="false" native="false" synchronized="false"
  28367. static="false" final="false" visibility="public"
  28368. deprecated="not deprecated">
  28369. <doc>
  28370. <![CDATA[Get the number of reduce in the {@link JobStory}.
  28371. @return the number of reduces in the <code>Job</code>]]>
  28372. </doc>
  28373. </method>
  28374. <method name="getInputSplits" return="org.apache.hadoop.mapreduce.InputSplit[]"
  28375. abstract="false" native="false" synchronized="false"
  28376. static="false" final="false" visibility="public"
  28377. deprecated="not deprecated">
  28378. <doc>
  28379. <![CDATA[Get the input splits for the job.
  28380. @return the input splits for the job]]>
  28381. </doc>
  28382. </method>
  28383. <method name="getTaskInfo" return="org.apache.hadoop.tools.rumen.TaskInfo"
  28384. abstract="false" native="false" synchronized="false"
  28385. static="false" final="false" visibility="public"
  28386. deprecated="not deprecated">
  28387. <param name="taskType" type="org.apache.hadoop.mapreduce.TaskType"/>
  28388. <param name="taskNumber" type="int"/>
  28389. <doc>
  28390. <![CDATA[Get {@link TaskInfo} for a given task.
  28391. @param taskType {@link TaskType} of the task
  28392. @param taskNumber Partition number of the task
  28393. @return the <code>TaskInfo</code> for the given task]]>
  28394. </doc>
  28395. </method>
  28396. <method name="getTaskAttemptInfo" return="org.apache.hadoop.tools.rumen.TaskAttemptInfo"
  28397. abstract="false" native="false" synchronized="false"
  28398. static="false" final="false" visibility="public"
  28399. deprecated="not deprecated">
  28400. <param name="taskType" type="org.apache.hadoop.mapreduce.TaskType"/>
  28401. <param name="taskNumber" type="int"/>
  28402. <param name="taskAttemptNumber" type="int"/>
  28403. <doc>
  28404. <![CDATA[Get {@link TaskAttemptInfo} for a given task-attempt, without regard to
  28405. impact of locality (e.g. not needed to make scheduling decisions).
  28406. @param taskType {@link TaskType} of the task-attempt
  28407. @param taskNumber Partition number of the task-attempt
  28408. @param taskAttemptNumber Attempt number of the task
  28409. @return the <code>TaskAttemptInfo</code> for the given task-attempt]]>
  28410. </doc>
  28411. </method>
  28412. <method name="getMapTaskAttemptInfoAdjusted" return="org.apache.hadoop.tools.rumen.TaskAttemptInfo"
  28413. abstract="false" native="false" synchronized="false"
  28414. static="false" final="false" visibility="public"
  28415. deprecated="not deprecated">
  28416. <param name="taskNumber" type="int"/>
  28417. <param name="taskAttemptNumber" type="int"/>
  28418. <param name="locality" type="int"/>
  28419. <doc>
  28420. <![CDATA[Get {@link TaskAttemptInfo} for a given task-attempt, considering impact
  28421. of locality.
  28422. @param taskNumber Partition number of the task-attempt
  28423. @param taskAttemptNumber Attempt number of the task
  28424. @param locality Data locality of the task as scheduled in simulation
  28425. @return the <code>TaskAttemptInfo</code> for the given task-attempt]]>
  28426. </doc>
  28427. </method>
  28428. <method name="getOutcome" return="org.apache.hadoop.tools.rumen.Pre21JobHistoryConstants.Values"
  28429. abstract="false" native="false" synchronized="false"
  28430. static="false" final="false" visibility="public"
  28431. deprecated="not deprecated">
  28432. <doc>
  28433. <![CDATA[Get the outcome of the job execution.
  28434. @return The outcome of the job execution.]]>
  28435. </doc>
  28436. </method>
  28437. <method name="getQueueName" return="java.lang.String"
  28438. abstract="false" native="false" synchronized="false"
  28439. static="false" final="false" visibility="public"
  28440. deprecated="not deprecated">
  28441. <doc>
  28442. <![CDATA[Get the queue where the job is submitted.
  28443. @return the queue where the job is submitted.]]>
  28444. </doc>
  28445. </method>
  28446. <doc>
  28447. <![CDATA[{@link JobStory} represents the runtime information available for a
  28448. completed Map-Reduce job.]]>
  28449. </doc>
  28450. </interface>
  28451. <!-- end interface org.apache.hadoop.tools.rumen.JobStory -->
  28452. <!-- start interface org.apache.hadoop.tools.rumen.JobStoryProducer -->
  28453. <interface name="JobStoryProducer" abstract="true"
  28454. static="false" final="false" visibility="public"
  28455. deprecated="not deprecated">
  28456. <implements name="java.io.Closeable"/>
  28457. <method name="getNextJob" return="org.apache.hadoop.tools.rumen.JobStory"
  28458. abstract="false" native="false" synchronized="false"
  28459. static="false" final="false" visibility="public"
  28460. deprecated="not deprecated">
  28461. <exception name="IOException" type="java.io.IOException"/>
  28462. <doc>
  28463. <![CDATA[Get the next job.
  28464. @return The next job. Or null if no more job is available.
  28465. @throws IOException]]>
  28466. </doc>
  28467. </method>
  28468. <doc>
  28469. <![CDATA[{@link JobStoryProducer} produces the sequence of {@link JobStory}'s.]]>
  28470. </doc>
  28471. </interface>
  28472. <!-- end interface org.apache.hadoop.tools.rumen.JobStoryProducer -->
  28473. <!-- start class org.apache.hadoop.tools.rumen.JobTraceReader -->
  28474. <class name="JobTraceReader" extends="org.apache.hadoop.tools.rumen.JsonObjectMapperParser"
  28475. abstract="false"
  28476. static="false" final="false" visibility="public"
  28477. deprecated="not deprecated">
  28478. <constructor name="JobTraceReader" type="org.apache.hadoop.fs.Path, org.apache.hadoop.conf.Configuration"
  28479. static="false" final="false" visibility="public"
  28480. deprecated="not deprecated">
  28481. <exception name="IOException" type="java.io.IOException"/>
  28482. <doc>
  28483. <![CDATA[Constructor.
  28484. @param path
  28485. Path to the JSON trace file, possibly compressed.
  28486. @param conf
  28487. @throws IOException]]>
  28488. </doc>
  28489. </constructor>
  28490. <constructor name="JobTraceReader" type="java.io.InputStream"
  28491. static="false" final="false" visibility="public"
  28492. deprecated="not deprecated">
  28493. <exception name="IOException" type="java.io.IOException"/>
  28494. <doc>
  28495. <![CDATA[Constructor.
  28496. @param input
  28497. The input stream for the JSON trace.]]>
  28498. </doc>
  28499. </constructor>
  28500. <doc>
  28501. <![CDATA[Reading JSON-encoded job traces and produce {@link LoggedJob} instances.]]>
  28502. </doc>
  28503. </class>
  28504. <!-- end class org.apache.hadoop.tools.rumen.JobTraceReader -->
  28505. <!-- start class org.apache.hadoop.tools.rumen.JsonObjectMapperWriter -->
  28506. <class name="JsonObjectMapperWriter" extends="java.lang.Object"
  28507. abstract="false"
  28508. static="false" final="false" visibility="public"
  28509. deprecated="not deprecated">
  28510. <implements name="java.io.Closeable"/>
  28511. <constructor name="JsonObjectMapperWriter" type="java.io.OutputStream, boolean"
  28512. static="false" final="false" visibility="public"
  28513. deprecated="not deprecated">
  28514. <exception name="IOException" type="java.io.IOException"/>
  28515. </constructor>
  28516. <method name="write"
  28517. abstract="false" native="false" synchronized="false"
  28518. static="false" final="false" visibility="public"
  28519. deprecated="not deprecated">
  28520. <param name="object" type="T"/>
  28521. <exception name="IOException" type="java.io.IOException"/>
  28522. </method>
  28523. <method name="close"
  28524. abstract="false" native="false" synchronized="false"
  28525. static="false" final="false" visibility="public"
  28526. deprecated="not deprecated">
  28527. <exception name="IOException" type="java.io.IOException"/>
  28528. </method>
  28529. <doc>
  28530. <![CDATA[Simple wrapper around {@link JsonGenerator} to write objects in JSON format.
  28531. @param <T> The type of the objects to be written.]]>
  28532. </doc>
  28533. </class>
  28534. <!-- end class org.apache.hadoop.tools.rumen.JsonObjectMapperWriter -->
  28535. <!-- start class org.apache.hadoop.tools.rumen.LoggedDiscreteCDF -->
  28536. <class name="LoggedDiscreteCDF" extends="java.lang.Object"
  28537. abstract="false"
  28538. static="false" final="false" visibility="public"
  28539. deprecated="not deprecated">
  28540. <implements name="org.apache.hadoop.tools.rumen.DeepCompare"/>
  28541. <constructor name="LoggedDiscreteCDF"
  28542. static="false" final="false" visibility="public"
  28543. deprecated="not deprecated">
  28544. </constructor>
  28545. <method name="getMinimum" return="long"
  28546. abstract="false" native="false" synchronized="false"
  28547. static="false" final="false" visibility="public"
  28548. deprecated="not deprecated">
  28549. </method>
  28550. <method name="getRankings" return="java.util.List"
  28551. abstract="false" native="false" synchronized="false"
  28552. static="false" final="false" visibility="public"
  28553. deprecated="not deprecated">
  28554. </method>
  28555. <method name="getMaximum" return="long"
  28556. abstract="false" native="false" synchronized="false"
  28557. static="false" final="false" visibility="public"
  28558. deprecated="not deprecated">
  28559. </method>
  28560. <method name="getNumberValues" return="long"
  28561. abstract="false" native="false" synchronized="false"
  28562. static="false" final="false" visibility="public"
  28563. deprecated="not deprecated">
  28564. </method>
  28565. <method name="deepCompare"
  28566. abstract="false" native="false" synchronized="false"
  28567. static="false" final="false" visibility="public"
  28568. deprecated="not deprecated">
  28569. <param name="comparand" type="org.apache.hadoop.tools.rumen.DeepCompare"/>
  28570. <param name="loc" type="org.apache.hadoop.tools.rumen.TreePath"/>
  28571. <exception name="DeepInequalityException" type="org.apache.hadoop.tools.rumen.DeepInequalityException"/>
  28572. </method>
  28573. <doc>
  28574. <![CDATA[A {@link LoggedDiscreteCDF} is a discrete approximation of a cumulative
  28575. distribution function, with this class set up to meet the requirements of the
  28576. Jackson JSON parser/generator.
  28577. All of the public methods are simply accessors for the instance variables we
  28578. want to write out in the JSON files.]]>
  28579. </doc>
  28580. </class>
  28581. <!-- end class org.apache.hadoop.tools.rumen.LoggedDiscreteCDF -->
  28582. <!-- start class org.apache.hadoop.tools.rumen.LoggedJob -->
  28583. <class name="LoggedJob" extends="java.lang.Object"
  28584. abstract="false"
  28585. static="false" final="false" visibility="public"
  28586. deprecated="not deprecated">
  28587. <implements name="org.apache.hadoop.tools.rumen.DeepCompare"/>
  28588. <method name="setUnknownAttribute"
  28589. abstract="false" native="false" synchronized="false"
  28590. static="false" final="false" visibility="public"
  28591. deprecated="not deprecated">
  28592. <param name="attributeName" type="java.lang.String"/>
  28593. <param name="ignored" type="java.lang.Object"/>
  28594. </method>
  28595. <method name="getUser" return="java.lang.String"
  28596. abstract="false" native="false" synchronized="false"
  28597. static="false" final="false" visibility="public"
  28598. deprecated="not deprecated">
  28599. </method>
  28600. <method name="getJobID" return="java.lang.String"
  28601. abstract="false" native="false" synchronized="false"
  28602. static="false" final="false" visibility="public"
  28603. deprecated="not deprecated">
  28604. </method>
  28605. <method name="getPriority" return="org.apache.hadoop.tools.rumen.LoggedJob.JobPriority"
  28606. abstract="false" native="false" synchronized="false"
  28607. static="false" final="false" visibility="public"
  28608. deprecated="not deprecated">
  28609. </method>
  28610. <method name="getComputonsPerMapInputByte" return="long"
  28611. abstract="false" native="false" synchronized="false"
  28612. static="false" final="false" visibility="public"
  28613. deprecated="not deprecated">
  28614. </method>
  28615. <method name="getComputonsPerMapOutputByte" return="long"
  28616. abstract="false" native="false" synchronized="false"
  28617. static="false" final="false" visibility="public"
  28618. deprecated="not deprecated">
  28619. </method>
  28620. <method name="getComputonsPerReduceInputByte" return="long"
  28621. abstract="false" native="false" synchronized="false"
  28622. static="false" final="false" visibility="public"
  28623. deprecated="not deprecated">
  28624. </method>
  28625. <method name="getComputonsPerReduceOutputByte" return="long"
  28626. abstract="false" native="false" synchronized="false"
  28627. static="false" final="false" visibility="public"
  28628. deprecated="not deprecated">
  28629. </method>
  28630. <method name="getSubmitTime" return="long"
  28631. abstract="false" native="false" synchronized="false"
  28632. static="false" final="false" visibility="public"
  28633. deprecated="not deprecated">
  28634. </method>
  28635. <method name="getLaunchTime" return="long"
  28636. abstract="false" native="false" synchronized="false"
  28637. static="false" final="false" visibility="public"
  28638. deprecated="not deprecated">
  28639. </method>
  28640. <method name="getFinishTime" return="long"
  28641. abstract="false" native="false" synchronized="false"
  28642. static="false" final="false" visibility="public"
  28643. deprecated="not deprecated">
  28644. </method>
  28645. <method name="getHeapMegabytes" return="int"
  28646. abstract="false" native="false" synchronized="false"
  28647. static="false" final="false" visibility="public"
  28648. deprecated="not deprecated">
  28649. </method>
  28650. <method name="getTotalMaps" return="int"
  28651. abstract="false" native="false" synchronized="false"
  28652. static="false" final="false" visibility="public"
  28653. deprecated="not deprecated">
  28654. </method>
  28655. <method name="getTotalReduces" return="int"
  28656. abstract="false" native="false" synchronized="false"
  28657. static="false" final="false" visibility="public"
  28658. deprecated="not deprecated">
  28659. </method>
  28660. <method name="getOutcome" return="org.apache.hadoop.tools.rumen.Pre21JobHistoryConstants.Values"
  28661. abstract="false" native="false" synchronized="false"
  28662. static="false" final="false" visibility="public"
  28663. deprecated="not deprecated">
  28664. </method>
  28665. <method name="getJobtype" return="org.apache.hadoop.tools.rumen.LoggedJob.JobType"
  28666. abstract="false" native="false" synchronized="false"
  28667. static="false" final="false" visibility="public"
  28668. deprecated="not deprecated">
  28669. </method>
  28670. <method name="getDirectDependantJobs" return="java.util.List"
  28671. abstract="false" native="false" synchronized="false"
  28672. static="false" final="false" visibility="public"
  28673. deprecated="not deprecated">
  28674. </method>
  28675. <method name="getMapTasks" return="java.util.List"
  28676. abstract="false" native="false" synchronized="false"
  28677. static="false" final="false" visibility="public"
  28678. deprecated="not deprecated">
  28679. </method>
  28680. <method name="getReduceTasks" return="java.util.List"
  28681. abstract="false" native="false" synchronized="false"
  28682. static="false" final="false" visibility="public"
  28683. deprecated="not deprecated">
  28684. </method>
  28685. <method name="getOtherTasks" return="java.util.List"
  28686. abstract="false" native="false" synchronized="false"
  28687. static="false" final="false" visibility="public"
  28688. deprecated="not deprecated">
  28689. </method>
  28690. <method name="getSuccessfulMapAttemptCDFs" return="java.util.ArrayList"
  28691. abstract="false" native="false" synchronized="false"
  28692. static="false" final="false" visibility="public"
  28693. deprecated="not deprecated">
  28694. </method>
  28695. <method name="getFailedMapAttemptCDFs" return="java.util.ArrayList"
  28696. abstract="false" native="false" synchronized="false"
  28697. static="false" final="false" visibility="public"
  28698. deprecated="not deprecated">
  28699. </method>
  28700. <method name="getSuccessfulReduceAttemptCDF" return="org.apache.hadoop.tools.rumen.LoggedDiscreteCDF"
  28701. abstract="false" native="false" synchronized="false"
  28702. static="false" final="false" visibility="public"
  28703. deprecated="not deprecated">
  28704. </method>
  28705. <method name="getFailedReduceAttemptCDF" return="org.apache.hadoop.tools.rumen.LoggedDiscreteCDF"
  28706. abstract="false" native="false" synchronized="false"
  28707. static="false" final="false" visibility="public"
  28708. deprecated="not deprecated">
  28709. </method>
  28710. <method name="getMapperTriesToSucceed" return="double[]"
  28711. abstract="false" native="false" synchronized="false"
  28712. static="false" final="false" visibility="public"
  28713. deprecated="not deprecated">
  28714. </method>
  28715. <method name="getFailedMapperFraction" return="double"
  28716. abstract="false" native="false" synchronized="false"
  28717. static="false" final="false" visibility="public"
  28718. deprecated="not deprecated">
  28719. </method>
  28720. <method name="getRelativeTime" return="long"
  28721. abstract="false" native="false" synchronized="false"
  28722. static="false" final="false" visibility="public"
  28723. deprecated="not deprecated">
  28724. </method>
  28725. <method name="getQueue" return="java.lang.String"
  28726. abstract="false" native="false" synchronized="false"
  28727. static="false" final="false" visibility="public"
  28728. deprecated="not deprecated">
  28729. </method>
  28730. <method name="getJobName" return="java.lang.String"
  28731. abstract="false" native="false" synchronized="false"
  28732. static="false" final="false" visibility="public"
  28733. deprecated="not deprecated">
  28734. </method>
  28735. <method name="getClusterMapMB" return="int"
  28736. abstract="false" native="false" synchronized="false"
  28737. static="false" final="false" visibility="public"
  28738. deprecated="not deprecated">
  28739. </method>
  28740. <method name="getClusterReduceMB" return="int"
  28741. abstract="false" native="false" synchronized="false"
  28742. static="false" final="false" visibility="public"
  28743. deprecated="not deprecated">
  28744. </method>
  28745. <method name="getJobMapMB" return="int"
  28746. abstract="false" native="false" synchronized="false"
  28747. static="false" final="false" visibility="public"
  28748. deprecated="not deprecated">
  28749. </method>
  28750. <method name="getJobReduceMB" return="int"
  28751. abstract="false" native="false" synchronized="false"
  28752. static="false" final="false" visibility="public"
  28753. deprecated="not deprecated">
  28754. </method>
  28755. <method name="deepCompare"
  28756. abstract="false" native="false" synchronized="false"
  28757. static="false" final="false" visibility="public"
  28758. deprecated="not deprecated">
  28759. <param name="comparand" type="org.apache.hadoop.tools.rumen.DeepCompare"/>
  28760. <param name="loc" type="org.apache.hadoop.tools.rumen.TreePath"/>
  28761. <exception name="DeepInequalityException" type="org.apache.hadoop.tools.rumen.DeepInequalityException"/>
  28762. </method>
  28763. <doc>
  28764. <![CDATA[A {@link LoggedDiscreteCDF} is a representation of an hadoop job, with the
  28765. details of this class set up to meet the requirements of the Jackson JSON
  28766. parser/generator.
  28767. All of the public methods are simply accessors for the instance variables we
  28768. want to write out in the JSON files.]]>
  28769. </doc>
  28770. </class>
  28771. <!-- end class org.apache.hadoop.tools.rumen.LoggedJob -->
  28772. <!-- start class org.apache.hadoop.tools.rumen.LoggedJob.JobPriority -->
  28773. <class name="LoggedJob.JobPriority" extends="java.lang.Enum"
  28774. abstract="false"
  28775. static="true" final="true" visibility="public"
  28776. deprecated="not deprecated">
  28777. <method name="values" return="org.apache.hadoop.tools.rumen.LoggedJob.JobPriority[]"
  28778. abstract="false" native="false" synchronized="false"
  28779. static="true" final="false" visibility="public"
  28780. deprecated="not deprecated">
  28781. </method>
  28782. <method name="valueOf" return="org.apache.hadoop.tools.rumen.LoggedJob.JobPriority"
  28783. abstract="false" native="false" synchronized="false"
  28784. static="true" final="false" visibility="public"
  28785. deprecated="not deprecated">
  28786. <param name="name" type="java.lang.String"/>
  28787. </method>
  28788. </class>
  28789. <!-- end class org.apache.hadoop.tools.rumen.LoggedJob.JobPriority -->
  28790. <!-- start class org.apache.hadoop.tools.rumen.LoggedJob.JobType -->
  28791. <class name="LoggedJob.JobType" extends="java.lang.Enum"
  28792. abstract="false"
  28793. static="true" final="true" visibility="public"
  28794. deprecated="not deprecated">
  28795. <method name="values" return="org.apache.hadoop.tools.rumen.LoggedJob.JobType[]"
  28796. abstract="false" native="false" synchronized="false"
  28797. static="true" final="false" visibility="public"
  28798. deprecated="not deprecated">
  28799. </method>
  28800. <method name="valueOf" return="org.apache.hadoop.tools.rumen.LoggedJob.JobType"
  28801. abstract="false" native="false" synchronized="false"
  28802. static="true" final="false" visibility="public"
  28803. deprecated="not deprecated">
  28804. <param name="name" type="java.lang.String"/>
  28805. </method>
  28806. </class>
  28807. <!-- end class org.apache.hadoop.tools.rumen.LoggedJob.JobType -->
  28808. <!-- start class org.apache.hadoop.tools.rumen.LoggedLocation -->
  28809. <class name="LoggedLocation" extends="java.lang.Object"
  28810. abstract="false"
  28811. static="false" final="false" visibility="public"
  28812. deprecated="not deprecated">
  28813. <implements name="org.apache.hadoop.tools.rumen.DeepCompare"/>
  28814. <constructor name="LoggedLocation"
  28815. static="false" final="false" visibility="public"
  28816. deprecated="not deprecated">
  28817. </constructor>
  28818. <method name="getLayers" return="java.util.List"
  28819. abstract="false" native="false" synchronized="false"
  28820. static="false" final="false" visibility="public"
  28821. deprecated="not deprecated">
  28822. </method>
  28823. <method name="setUnknownAttribute"
  28824. abstract="false" native="false" synchronized="false"
  28825. static="false" final="false" visibility="public"
  28826. deprecated="not deprecated">
  28827. <param name="attributeName" type="java.lang.String"/>
  28828. <param name="ignored" type="java.lang.Object"/>
  28829. </method>
  28830. <method name="deepCompare"
  28831. abstract="false" native="false" synchronized="false"
  28832. static="false" final="false" visibility="public"
  28833. deprecated="not deprecated">
  28834. <param name="comparand" type="org.apache.hadoop.tools.rumen.DeepCompare"/>
  28835. <param name="loc" type="org.apache.hadoop.tools.rumen.TreePath"/>
  28836. <exception name="DeepInequalityException" type="org.apache.hadoop.tools.rumen.DeepInequalityException"/>
  28837. </method>
  28838. <doc>
  28839. <![CDATA[A {@link LoggedLocation} is a representation of a point in an hierarchical
  28840. network, represented as a series of membership names, broadest first.
  28841. For example, if your network has <i>hosts</i> grouped into <i>racks</i>, then
  28842. in onecluster you might have a node {@code node1} on rack {@code rack1}. This
  28843. would be represented with a ArrayList of two layers, with two {@link String}
  28844. s being {@code "rack1"} and {@code "node1"}.
  28845. The details of this class are set up to meet the requirements of the Jackson
  28846. JSON parser/generator.
  28847. All of the public methods are simply accessors for the instance variables we
  28848. want to write out in the JSON files.]]>
  28849. </doc>
  28850. </class>
  28851. <!-- end class org.apache.hadoop.tools.rumen.LoggedLocation -->
  28852. <!-- start class org.apache.hadoop.tools.rumen.LoggedNetworkTopology -->
  28853. <class name="LoggedNetworkTopology" extends="java.lang.Object"
  28854. abstract="false"
  28855. static="false" final="false" visibility="public"
  28856. deprecated="not deprecated">
  28857. <implements name="org.apache.hadoop.tools.rumen.DeepCompare"/>
  28858. <constructor name="LoggedNetworkTopology"
  28859. static="false" final="false" visibility="public"
  28860. deprecated="not deprecated">
  28861. </constructor>
  28862. <method name="setUnknownAttribute"
  28863. abstract="false" native="false" synchronized="false"
  28864. static="false" final="false" visibility="public"
  28865. deprecated="not deprecated">
  28866. <param name="attributeName" type="java.lang.String"/>
  28867. <param name="ignored" type="java.lang.Object"/>
  28868. </method>
  28869. <method name="getName" return="java.lang.String"
  28870. abstract="false" native="false" synchronized="false"
  28871. static="false" final="false" visibility="public"
  28872. deprecated="not deprecated">
  28873. </method>
  28874. <method name="getChildren" return="java.util.List"
  28875. abstract="false" native="false" synchronized="false"
  28876. static="false" final="false" visibility="public"
  28877. deprecated="not deprecated">
  28878. </method>
  28879. <method name="deepCompare"
  28880. abstract="false" native="false" synchronized="false"
  28881. static="false" final="false" visibility="public"
  28882. deprecated="not deprecated">
  28883. <param name="comparand" type="org.apache.hadoop.tools.rumen.DeepCompare"/>
  28884. <param name="loc" type="org.apache.hadoop.tools.rumen.TreePath"/>
  28885. <exception name="DeepInequalityException" type="org.apache.hadoop.tools.rumen.DeepInequalityException"/>
  28886. </method>
  28887. <doc>
  28888. <![CDATA[A {@link LoggedNetworkTopology} represents a tree that in turn represents a
  28889. hierarchy of hosts. The current version requires the tree to have all leaves
  28890. at the same level.
  28891. All of the public methods are simply accessors for the instance variables we
  28892. want to write out in the JSON files.]]>
  28893. </doc>
  28894. </class>
  28895. <!-- end class org.apache.hadoop.tools.rumen.LoggedNetworkTopology -->
  28896. <!-- start class org.apache.hadoop.tools.rumen.LoggedSingleRelativeRanking -->
  28897. <class name="LoggedSingleRelativeRanking" extends="java.lang.Object"
  28898. abstract="false"
  28899. static="false" final="false" visibility="public"
  28900. deprecated="not deprecated">
  28901. <implements name="org.apache.hadoop.tools.rumen.DeepCompare"/>
  28902. <constructor name="LoggedSingleRelativeRanking"
  28903. static="false" final="false" visibility="public"
  28904. deprecated="not deprecated">
  28905. </constructor>
  28906. <method name="setUnknownAttribute"
  28907. abstract="false" native="false" synchronized="false"
  28908. static="false" final="false" visibility="public"
  28909. deprecated="not deprecated">
  28910. <param name="attributeName" type="java.lang.String"/>
  28911. <param name="ignored" type="java.lang.Object"/>
  28912. </method>
  28913. <method name="getRelativeRanking" return="double"
  28914. abstract="false" native="false" synchronized="false"
  28915. static="false" final="false" visibility="public"
  28916. deprecated="not deprecated">
  28917. </method>
  28918. <method name="getDatum" return="long"
  28919. abstract="false" native="false" synchronized="false"
  28920. static="false" final="false" visibility="public"
  28921. deprecated="not deprecated">
  28922. </method>
  28923. <method name="deepCompare"
  28924. abstract="false" native="false" synchronized="false"
  28925. static="false" final="false" visibility="public"
  28926. deprecated="not deprecated">
  28927. <param name="comparand" type="org.apache.hadoop.tools.rumen.DeepCompare"/>
  28928. <param name="loc" type="org.apache.hadoop.tools.rumen.TreePath"/>
  28929. <exception name="DeepInequalityException" type="org.apache.hadoop.tools.rumen.DeepInequalityException"/>
  28930. </method>
  28931. <doc>
  28932. <![CDATA[A {@link LoggedSingleRelativeRanking} represents an X-Y coordinate of a
  28933. single point in a discrete CDF.
  28934. All of the public methods are simply accessors for the instance variables we
  28935. want to write out in the JSON files.]]>
  28936. </doc>
  28937. </class>
  28938. <!-- end class org.apache.hadoop.tools.rumen.LoggedSingleRelativeRanking -->
  28939. <!-- start class org.apache.hadoop.tools.rumen.LoggedTask -->
  28940. <class name="LoggedTask" extends="java.lang.Object"
  28941. abstract="false"
  28942. static="false" final="false" visibility="public"
  28943. deprecated="not deprecated">
  28944. <implements name="org.apache.hadoop.tools.rumen.DeepCompare"/>
  28945. <method name="setUnknownAttribute"
  28946. abstract="false" native="false" synchronized="false"
  28947. static="false" final="false" visibility="public"
  28948. deprecated="not deprecated">
  28949. <param name="attributeName" type="java.lang.String"/>
  28950. <param name="ignored" type="java.lang.Object"/>
  28951. </method>
  28952. <method name="getInputBytes" return="long"
  28953. abstract="false" native="false" synchronized="false"
  28954. static="false" final="false" visibility="public"
  28955. deprecated="not deprecated">
  28956. </method>
  28957. <method name="getInputRecords" return="long"
  28958. abstract="false" native="false" synchronized="false"
  28959. static="false" final="false" visibility="public"
  28960. deprecated="not deprecated">
  28961. </method>
  28962. <method name="getOutputBytes" return="long"
  28963. abstract="false" native="false" synchronized="false"
  28964. static="false" final="false" visibility="public"
  28965. deprecated="not deprecated">
  28966. </method>
  28967. <method name="getOutputRecords" return="long"
  28968. abstract="false" native="false" synchronized="false"
  28969. static="false" final="false" visibility="public"
  28970. deprecated="not deprecated">
  28971. </method>
  28972. <method name="getTaskID" return="java.lang.String"
  28973. abstract="false" native="false" synchronized="false"
  28974. static="false" final="false" visibility="public"
  28975. deprecated="not deprecated">
  28976. </method>
  28977. <method name="getStartTime" return="long"
  28978. abstract="false" native="false" synchronized="false"
  28979. static="false" final="false" visibility="public"
  28980. deprecated="not deprecated">
  28981. </method>
  28982. <method name="getFinishTime" return="long"
  28983. abstract="false" native="false" synchronized="false"
  28984. static="false" final="false" visibility="public"
  28985. deprecated="not deprecated">
  28986. </method>
  28987. <method name="getAttempts" return="java.util.List"
  28988. abstract="false" native="false" synchronized="false"
  28989. static="false" final="false" visibility="public"
  28990. deprecated="not deprecated">
  28991. </method>
  28992. <method name="getPreferredLocations" return="java.util.List"
  28993. abstract="false" native="false" synchronized="false"
  28994. static="false" final="false" visibility="public"
  28995. deprecated="not deprecated">
  28996. </method>
  28997. <method name="getTaskStatus" return="org.apache.hadoop.tools.rumen.Pre21JobHistoryConstants.Values"
  28998. abstract="false" native="false" synchronized="false"
  28999. static="false" final="false" visibility="public"
  29000. deprecated="not deprecated">
  29001. </method>
  29002. <method name="getTaskType" return="org.apache.hadoop.tools.rumen.Pre21JobHistoryConstants.Values"
  29003. abstract="false" native="false" synchronized="false"
  29004. static="false" final="false" visibility="public"
  29005. deprecated="not deprecated">
  29006. </method>
  29007. <method name="incorporateCounters"
  29008. abstract="false" native="false" synchronized="false"
  29009. static="false" final="false" visibility="public"
  29010. deprecated="not deprecated">
  29011. <param name="counters" type="org.apache.hadoop.mapreduce.jobhistory.JhCounters"/>
  29012. </method>
  29013. <method name="deepCompare"
  29014. abstract="false" native="false" synchronized="false"
  29015. static="false" final="false" visibility="public"
  29016. deprecated="not deprecated">
  29017. <param name="comparand" type="org.apache.hadoop.tools.rumen.DeepCompare"/>
  29018. <param name="loc" type="org.apache.hadoop.tools.rumen.TreePath"/>
  29019. <exception name="DeepInequalityException" type="org.apache.hadoop.tools.rumen.DeepInequalityException"/>
  29020. </method>
  29021. <doc>
  29022. <![CDATA[A {@link LoggedTask} represents a [hadoop] task that is part of a hadoop job.
  29023. It knows about the [pssibly empty] sequence of attempts, its I/O footprint,
  29024. and its runtime.
  29025. All of the public methods are simply accessors for the instance variables we
  29026. want to write out in the JSON files.]]>
  29027. </doc>
  29028. </class>
  29029. <!-- end class org.apache.hadoop.tools.rumen.LoggedTask -->
  29030. <!-- start class org.apache.hadoop.tools.rumen.LoggedTaskAttempt -->
  29031. <class name="LoggedTaskAttempt" extends="java.lang.Object"
  29032. abstract="false"
  29033. static="false" final="false" visibility="public"
  29034. deprecated="not deprecated">
  29035. <implements name="org.apache.hadoop.tools.rumen.DeepCompare"/>
  29036. <method name="setUnknownAttribute"
  29037. abstract="false" native="false" synchronized="false"
  29038. static="false" final="false" visibility="public"
  29039. deprecated="not deprecated">
  29040. <param name="attributeName" type="java.lang.String"/>
  29041. <param name="ignored" type="java.lang.Object"/>
  29042. </method>
  29043. <method name="getShuffleFinished" return="long"
  29044. abstract="false" native="false" synchronized="false"
  29045. static="false" final="false" visibility="public"
  29046. deprecated="not deprecated">
  29047. </method>
  29048. <method name="getSortFinished" return="long"
  29049. abstract="false" native="false" synchronized="false"
  29050. static="false" final="false" visibility="public"
  29051. deprecated="not deprecated">
  29052. </method>
  29053. <method name="getAttemptID" return="java.lang.String"
  29054. abstract="false" native="false" synchronized="false"
  29055. static="false" final="false" visibility="public"
  29056. deprecated="not deprecated">
  29057. </method>
  29058. <method name="getResult" return="org.apache.hadoop.tools.rumen.Pre21JobHistoryConstants.Values"
  29059. abstract="false" native="false" synchronized="false"
  29060. static="false" final="false" visibility="public"
  29061. deprecated="not deprecated">
  29062. </method>
  29063. <method name="getStartTime" return="long"
  29064. abstract="false" native="false" synchronized="false"
  29065. static="false" final="false" visibility="public"
  29066. deprecated="not deprecated">
  29067. </method>
  29068. <method name="getFinishTime" return="long"
  29069. abstract="false" native="false" synchronized="false"
  29070. static="false" final="false" visibility="public"
  29071. deprecated="not deprecated">
  29072. </method>
  29073. <method name="getHostName" return="java.lang.String"
  29074. abstract="false" native="false" synchronized="false"
  29075. static="false" final="false" visibility="public"
  29076. deprecated="not deprecated">
  29077. </method>
  29078. <method name="getHdfsBytesRead" return="long"
  29079. abstract="false" native="false" synchronized="false"
  29080. static="false" final="false" visibility="public"
  29081. deprecated="not deprecated">
  29082. </method>
  29083. <method name="getHdfsBytesWritten" return="long"
  29084. abstract="false" native="false" synchronized="false"
  29085. static="false" final="false" visibility="public"
  29086. deprecated="not deprecated">
  29087. </method>
  29088. <method name="getFileBytesRead" return="long"
  29089. abstract="false" native="false" synchronized="false"
  29090. static="false" final="false" visibility="public"
  29091. deprecated="not deprecated">
  29092. </method>
  29093. <method name="getFileBytesWritten" return="long"
  29094. abstract="false" native="false" synchronized="false"
  29095. static="false" final="false" visibility="public"
  29096. deprecated="not deprecated">
  29097. </method>
  29098. <method name="getMapInputRecords" return="long"
  29099. abstract="false" native="false" synchronized="false"
  29100. static="false" final="false" visibility="public"
  29101. deprecated="not deprecated">
  29102. </method>
  29103. <method name="getMapOutputBytes" return="long"
  29104. abstract="false" native="false" synchronized="false"
  29105. static="false" final="false" visibility="public"
  29106. deprecated="not deprecated">
  29107. </method>
  29108. <method name="getMapOutputRecords" return="long"
  29109. abstract="false" native="false" synchronized="false"
  29110. static="false" final="false" visibility="public"
  29111. deprecated="not deprecated">
  29112. </method>
  29113. <method name="getCombineInputRecords" return="long"
  29114. abstract="false" native="false" synchronized="false"
  29115. static="false" final="false" visibility="public"
  29116. deprecated="not deprecated">
  29117. </method>
  29118. <method name="getReduceInputGroups" return="long"
  29119. abstract="false" native="false" synchronized="false"
  29120. static="false" final="false" visibility="public"
  29121. deprecated="not deprecated">
  29122. </method>
  29123. <method name="getReduceInputRecords" return="long"
  29124. abstract="false" native="false" synchronized="false"
  29125. static="false" final="false" visibility="public"
  29126. deprecated="not deprecated">
  29127. </method>
  29128. <method name="getReduceShuffleBytes" return="long"
  29129. abstract="false" native="false" synchronized="false"
  29130. static="false" final="false" visibility="public"
  29131. deprecated="not deprecated">
  29132. </method>
  29133. <method name="getReduceOutputRecords" return="long"
  29134. abstract="false" native="false" synchronized="false"
  29135. static="false" final="false" visibility="public"
  29136. deprecated="not deprecated">
  29137. </method>
  29138. <method name="getSpilledRecords" return="long"
  29139. abstract="false" native="false" synchronized="false"
  29140. static="false" final="false" visibility="public"
  29141. deprecated="not deprecated">
  29142. </method>
  29143. <method name="getLocation" return="org.apache.hadoop.tools.rumen.LoggedLocation"
  29144. abstract="false" native="false" synchronized="false"
  29145. static="false" final="false" visibility="public"
  29146. deprecated="not deprecated">
  29147. </method>
  29148. <method name="getMapInputBytes" return="long"
  29149. abstract="false" native="false" synchronized="false"
  29150. static="false" final="false" visibility="public"
  29151. deprecated="not deprecated">
  29152. </method>
  29153. <method name="incorporateCounters"
  29154. abstract="false" native="false" synchronized="false"
  29155. static="false" final="false" visibility="public"
  29156. deprecated="not deprecated">
  29157. <param name="counters" type="org.apache.hadoop.mapreduce.jobhistory.JhCounters"/>
  29158. </method>
  29159. <method name="deepCompare"
  29160. abstract="false" native="false" synchronized="false"
  29161. static="false" final="false" visibility="public"
  29162. deprecated="not deprecated">
  29163. <param name="comparand" type="org.apache.hadoop.tools.rumen.DeepCompare"/>
  29164. <param name="loc" type="org.apache.hadoop.tools.rumen.TreePath"/>
  29165. <exception name="DeepInequalityException" type="org.apache.hadoop.tools.rumen.DeepInequalityException"/>
  29166. </method>
  29167. <doc>
  29168. <![CDATA[A {@link LoggedTaskAttempt} represents an attempt to run an hadoop task in a
  29169. hadoop job. Note that a task can have several attempts.
  29170. All of the public methods are simply accessors for the instance variables we
  29171. want to write out in the JSON files.]]>
  29172. </doc>
  29173. </class>
  29174. <!-- end class org.apache.hadoop.tools.rumen.LoggedTaskAttempt -->
  29175. <!-- start class org.apache.hadoop.tools.rumen.MachineNode -->
  29176. <class name="MachineNode" extends="org.apache.hadoop.tools.rumen.Node"
  29177. abstract="false"
  29178. static="false" final="true" visibility="public"
  29179. deprecated="not deprecated">
  29180. <method name="equals" return="boolean"
  29181. abstract="false" native="false" synchronized="false"
  29182. static="false" final="false" visibility="public"
  29183. deprecated="not deprecated">
  29184. <param name="obj" type="java.lang.Object"/>
  29185. </method>
  29186. <method name="hashCode" return="int"
  29187. abstract="false" native="false" synchronized="false"
  29188. static="false" final="false" visibility="public"
  29189. deprecated="not deprecated">
  29190. </method>
  29191. <method name="getMemory" return="long"
  29192. abstract="false" native="false" synchronized="false"
  29193. static="false" final="false" visibility="public"
  29194. deprecated="not deprecated">
  29195. <doc>
  29196. <![CDATA[Get the available physical RAM of the node.
  29197. @return The available physical RAM of the node, in KB.]]>
  29198. </doc>
  29199. </method>
  29200. <method name="getMapSlots" return="int"
  29201. abstract="false" native="false" synchronized="false"
  29202. static="false" final="false" visibility="public"
  29203. deprecated="not deprecated">
  29204. <doc>
  29205. <![CDATA[Get the number of map slots of the node.
  29206. @return The number of map slots of the node.]]>
  29207. </doc>
  29208. </method>
  29209. <method name="getReduceSlots" return="int"
  29210. abstract="false" native="false" synchronized="false"
  29211. static="false" final="false" visibility="public"
  29212. deprecated="not deprecated">
  29213. <doc>
  29214. <![CDATA[Get the number of reduce slots of the node.
  29215. @return The number of reduce slots fo the node.]]>
  29216. </doc>
  29217. </method>
  29218. <method name="getMemoryPerMapSlot" return="long"
  29219. abstract="false" native="false" synchronized="false"
  29220. static="false" final="false" visibility="public"
  29221. deprecated="not deprecated">
  29222. <doc>
  29223. <![CDATA[Get the amount of RAM reserved for each map slot.
  29224. @return the amount of RAM reserved for each map slot, in KB.]]>
  29225. </doc>
  29226. </method>
  29227. <method name="getMemoryPerReduceSlot" return="long"
  29228. abstract="false" native="false" synchronized="false"
  29229. static="false" final="false" visibility="public"
  29230. deprecated="not deprecated">
  29231. <doc>
  29232. <![CDATA[Get the amount of RAM reserved for each reduce slot.
  29233. @return the amount of RAM reserved for each reduce slot, in KB.]]>
  29234. </doc>
  29235. </method>
  29236. <method name="getNumCores" return="int"
  29237. abstract="false" native="false" synchronized="false"
  29238. static="false" final="false" visibility="public"
  29239. deprecated="not deprecated">
  29240. <doc>
  29241. <![CDATA[Get the number of cores of the node.
  29242. @return the number of cores of the node.]]>
  29243. </doc>
  29244. </method>
  29245. <method name="getRackNode" return="org.apache.hadoop.tools.rumen.RackNode"
  29246. abstract="false" native="false" synchronized="false"
  29247. static="false" final="false" visibility="public"
  29248. deprecated="not deprecated">
  29249. <doc>
  29250. <![CDATA[Get the rack node that the machine belongs to.
  29251. @return The rack node that the machine belongs to. Returns null if the
  29252. machine does not belong to any rack.]]>
  29253. </doc>
  29254. </method>
  29255. <method name="addChild" return="boolean"
  29256. abstract="false" native="false" synchronized="true"
  29257. static="false" final="false" visibility="public"
  29258. deprecated="not deprecated">
  29259. <param name="child" type="org.apache.hadoop.tools.rumen.Node"/>
  29260. </method>
  29261. <doc>
  29262. <![CDATA[{@link MachineNode} represents the configuration of a cluster node.
  29263. {@link MachineNode} should be constructed by {@link MachineNode.Builder}.]]>
  29264. </doc>
  29265. </class>
  29266. <!-- end class org.apache.hadoop.tools.rumen.MachineNode -->
  29267. <!-- start class org.apache.hadoop.tools.rumen.MachineNode.Builder -->
  29268. <class name="MachineNode.Builder" extends="java.lang.Object"
  29269. abstract="false"
  29270. static="true" final="true" visibility="public"
  29271. deprecated="not deprecated">
  29272. <constructor name="MachineNode.Builder" type="java.lang.String, int"
  29273. static="false" final="false" visibility="public"
  29274. deprecated="not deprecated">
  29275. <doc>
  29276. <![CDATA[Start building a new NodeInfo object.
  29277. @param name
  29278. Unique name of the node. Typically the fully qualified domain
  29279. name.]]>
  29280. </doc>
  29281. </constructor>
  29282. <method name="setMemory" return="org.apache.hadoop.tools.rumen.MachineNode.Builder"
  29283. abstract="false" native="false" synchronized="false"
  29284. static="false" final="false" visibility="public"
  29285. deprecated="not deprecated">
  29286. <param name="memory" type="long"/>
  29287. <doc>
  29288. <![CDATA[Set the physical memory of the node.
  29289. @param memory Available RAM in KB.]]>
  29290. </doc>
  29291. </method>
  29292. <method name="setMapSlots" return="org.apache.hadoop.tools.rumen.MachineNode.Builder"
  29293. abstract="false" native="false" synchronized="false"
  29294. static="false" final="false" visibility="public"
  29295. deprecated="not deprecated">
  29296. <param name="mapSlots" type="int"/>
  29297. <doc>
  29298. <![CDATA[Set the number of map slot for the node.
  29299. @param mapSlots The number of map slots for the node.]]>
  29300. </doc>
  29301. </method>
  29302. <method name="setReduceSlots" return="org.apache.hadoop.tools.rumen.MachineNode.Builder"
  29303. abstract="false" native="false" synchronized="false"
  29304. static="false" final="false" visibility="public"
  29305. deprecated="not deprecated">
  29306. <param name="reduceSlots" type="int"/>
  29307. <doc>
  29308. <![CDATA[Set the number of reduce slot for the node.
  29309. @param reduceSlots The number of reduce slots for the node.]]>
  29310. </doc>
  29311. </method>
  29312. <method name="setMemoryPerMapSlot" return="org.apache.hadoop.tools.rumen.MachineNode.Builder"
  29313. abstract="false" native="false" synchronized="false"
  29314. static="false" final="false" visibility="public"
  29315. deprecated="not deprecated">
  29316. <param name="memoryPerMapSlot" type="long"/>
  29317. <doc>
  29318. <![CDATA[Set the amount of RAM reserved for each map slot.
  29319. @param memoryPerMapSlot The amount of RAM reserved for each map slot, in KB.]]>
  29320. </doc>
  29321. </method>
  29322. <method name="setMemoryPerReduceSlot" return="org.apache.hadoop.tools.rumen.MachineNode.Builder"
  29323. abstract="false" native="false" synchronized="false"
  29324. static="false" final="false" visibility="public"
  29325. deprecated="not deprecated">
  29326. <param name="memoryPerReduceSlot" type="long"/>
  29327. <doc>
  29328. <![CDATA[Set the amount of RAM reserved for each reduce slot.
  29329. @param memoryPerReduceSlot The amount of RAM reserved for each reduce slot, in KB.]]>
  29330. </doc>
  29331. </method>
  29332. <method name="setNumCores" return="org.apache.hadoop.tools.rumen.MachineNode.Builder"
  29333. abstract="false" native="false" synchronized="false"
  29334. static="false" final="false" visibility="public"
  29335. deprecated="not deprecated">
  29336. <param name="numCores" type="int"/>
  29337. <doc>
  29338. <![CDATA[Set the number of cores for the node.
  29339. @param numCores Number of cores for the node.]]>
  29340. </doc>
  29341. </method>
  29342. <method name="cloneFrom" return="org.apache.hadoop.tools.rumen.MachineNode.Builder"
  29343. abstract="false" native="false" synchronized="false"
  29344. static="false" final="false" visibility="public"
  29345. deprecated="not deprecated">
  29346. <param name="ref" type="org.apache.hadoop.tools.rumen.MachineNode"/>
  29347. <doc>
  29348. <![CDATA[Clone the settings from a reference {@link MachineNode} object.
  29349. @param ref The reference {@link MachineNode} object.]]>
  29350. </doc>
  29351. </method>
  29352. <method name="build" return="org.apache.hadoop.tools.rumen.MachineNode"
  29353. abstract="false" native="false" synchronized="false"
  29354. static="false" final="false" visibility="public"
  29355. deprecated="not deprecated">
  29356. <doc>
  29357. <![CDATA[Build the {@link MachineNode} object.
  29358. @return The {@link MachineNode} object being built.]]>
  29359. </doc>
  29360. </method>
  29361. <doc>
  29362. <![CDATA[Builder for a NodeInfo object]]>
  29363. </doc>
  29364. </class>
  29365. <!-- end class org.apache.hadoop.tools.rumen.MachineNode.Builder -->
  29366. <!-- start class org.apache.hadoop.tools.rumen.MapAttempt20LineHistoryEventEmitter -->
  29367. <class name="MapAttempt20LineHistoryEventEmitter" extends="org.apache.hadoop.tools.rumen.TaskAttempt20LineEventEmitter"
  29368. abstract="false"
  29369. static="false" final="false" visibility="public"
  29370. deprecated="not deprecated">
  29371. <constructor name="MapAttempt20LineHistoryEventEmitter"
  29372. static="false" final="false" visibility="protected"
  29373. deprecated="not deprecated">
  29374. </constructor>
  29375. </class>
  29376. <!-- end class org.apache.hadoop.tools.rumen.MapAttempt20LineHistoryEventEmitter -->
  29377. <!-- start class org.apache.hadoop.tools.rumen.MapTaskAttemptInfo -->
  29378. <class name="MapTaskAttemptInfo" extends="org.apache.hadoop.tools.rumen.TaskAttemptInfo"
  29379. abstract="false"
  29380. static="false" final="false" visibility="public"
  29381. deprecated="not deprecated">
  29382. <constructor name="MapTaskAttemptInfo" type="org.apache.hadoop.mapred.TaskStatus.State, org.apache.hadoop.tools.rumen.TaskInfo, long"
  29383. static="false" final="false" visibility="public"
  29384. deprecated="not deprecated">
  29385. </constructor>
  29386. <method name="getRuntime" return="long"
  29387. abstract="false" native="false" synchronized="false"
  29388. static="false" final="false" visibility="public"
  29389. deprecated="not deprecated">
  29390. </method>
  29391. <method name="getMapRuntime" return="long"
  29392. abstract="false" native="false" synchronized="false"
  29393. static="false" final="false" visibility="public"
  29394. deprecated="not deprecated">
  29395. <doc>
  29396. <![CDATA[Get the runtime for the <b>map</b> phase of the map-task attempt.
  29397. @return the runtime for the <b>map</b> phase of the map-task attempt]]>
  29398. </doc>
  29399. </method>
  29400. <doc>
  29401. <![CDATA[{@link MapTaskAttemptInfo} represents the information with regard to a
  29402. map task attempt.]]>
  29403. </doc>
  29404. </class>
  29405. <!-- end class org.apache.hadoop.tools.rumen.MapTaskAttemptInfo -->
  29406. <!-- start class org.apache.hadoop.tools.rumen.Node -->
  29407. <class name="Node" extends="java.lang.Object"
  29408. abstract="false"
  29409. static="false" final="false" visibility="public"
  29410. deprecated="not deprecated">
  29411. <implements name="java.lang.Comparable"/>
  29412. <constructor name="Node" type="java.lang.String, int"
  29413. static="false" final="false" visibility="public"
  29414. deprecated="not deprecated">
  29415. <doc>
  29416. <![CDATA[@param name
  29417. A unique name to identify a node in the cluster.
  29418. @param level
  29419. The level of the node in the cluster]]>
  29420. </doc>
  29421. </constructor>
  29422. <method name="getName" return="java.lang.String"
  29423. abstract="false" native="false" synchronized="false"
  29424. static="false" final="false" visibility="public"
  29425. deprecated="not deprecated">
  29426. <doc>
  29427. <![CDATA[Get the name of the node.
  29428. @return The name of the node.]]>
  29429. </doc>
  29430. </method>
  29431. <method name="getLevel" return="int"
  29432. abstract="false" native="false" synchronized="false"
  29433. static="false" final="false" visibility="public"
  29434. deprecated="not deprecated">
  29435. <doc>
  29436. <![CDATA[Get the level of the node.
  29437. @return The level of the node.]]>
  29438. </doc>
  29439. </method>
  29440. <method name="addChild" return="boolean"
  29441. abstract="false" native="false" synchronized="true"
  29442. static="false" final="false" visibility="public"
  29443. deprecated="not deprecated">
  29444. <param name="child" type="org.apache.hadoop.tools.rumen.Node"/>
  29445. <doc>
  29446. <![CDATA[Add a child node to this node.
  29447. @param child The child node to be added. The child node should currently not be belong to another cluster topology.
  29448. @return Boolean indicating whether the node is successfully added.]]>
  29449. </doc>
  29450. </method>
  29451. <method name="hasChildren" return="boolean"
  29452. abstract="false" native="false" synchronized="true"
  29453. static="false" final="false" visibility="public"
  29454. deprecated="not deprecated">
  29455. <doc>
  29456. <![CDATA[Does this node have any children?
  29457. @return Boolean indicate whether this node has any children.]]>
  29458. </doc>
  29459. </method>
  29460. <method name="getChildren" return="java.util.Set"
  29461. abstract="false" native="false" synchronized="true"
  29462. static="false" final="false" visibility="public"
  29463. deprecated="not deprecated">
  29464. <doc>
  29465. <![CDATA[Get the children of this node.
  29466. @return The children of this node. If no child, an empty set will be
  29467. returned. The returned set is read-only.]]>
  29468. </doc>
  29469. </method>
  29470. <method name="getParent" return="org.apache.hadoop.tools.rumen.Node"
  29471. abstract="false" native="false" synchronized="false"
  29472. static="false" final="false" visibility="public"
  29473. deprecated="not deprecated">
  29474. <doc>
  29475. <![CDATA[Get the parent node.
  29476. @return the parent node. If root node, return null.]]>
  29477. </doc>
  29478. </method>
  29479. <method name="hashCode" return="int"
  29480. abstract="false" native="false" synchronized="false"
  29481. static="false" final="false" visibility="public"
  29482. deprecated="not deprecated">
  29483. </method>
  29484. <method name="equals" return="boolean"
  29485. abstract="false" native="false" synchronized="false"
  29486. static="false" final="false" visibility="public"
  29487. deprecated="not deprecated">
  29488. <param name="obj" type="java.lang.Object"/>
  29489. </method>
  29490. <method name="toString" return="java.lang.String"
  29491. abstract="false" native="false" synchronized="false"
  29492. static="false" final="false" visibility="public"
  29493. deprecated="not deprecated">
  29494. </method>
  29495. <method name="compareTo" return="int"
  29496. abstract="false" native="false" synchronized="false"
  29497. static="false" final="false" visibility="public"
  29498. deprecated="not deprecated">
  29499. <param name="o" type="org.apache.hadoop.tools.rumen.Node"/>
  29500. </method>
  29501. <doc>
  29502. <![CDATA[{@link Node} represents a node in the cluster topology. A node can be a
  29503. {@MachineNode}, or a {@link RackNode}, etc.]]>
  29504. </doc>
  29505. </class>
  29506. <!-- end class org.apache.hadoop.tools.rumen.Node -->
  29507. <!-- start interface org.apache.hadoop.tools.rumen.Outputter -->
  29508. <interface name="Outputter" abstract="true"
  29509. static="false" final="false" visibility="public"
  29510. deprecated="not deprecated">
  29511. <implements name="java.io.Closeable"/>
  29512. <method name="init"
  29513. abstract="false" native="false" synchronized="false"
  29514. static="false" final="false" visibility="public"
  29515. deprecated="not deprecated">
  29516. <param name="path" type="org.apache.hadoop.fs.Path"/>
  29517. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  29518. <exception name="IOException" type="java.io.IOException"/>
  29519. <doc>
  29520. <![CDATA[Initialize the {@link Outputter} to a specific path.
  29521. @param path The {@link Path} to the output file.
  29522. @param conf Configuration
  29523. @throws IOException]]>
  29524. </doc>
  29525. </method>
  29526. <method name="output"
  29527. abstract="false" native="false" synchronized="false"
  29528. static="false" final="false" visibility="public"
  29529. deprecated="not deprecated">
  29530. <param name="object" type="T"/>
  29531. <exception name="IOException" type="java.io.IOException"/>
  29532. <doc>
  29533. <![CDATA[Output an object.
  29534. @param object The objecte.
  29535. @throws IOException]]>
  29536. </doc>
  29537. </method>
  29538. <doc>
  29539. <![CDATA[Interface to output a sequence of objects of type T.]]>
  29540. </doc>
  29541. </interface>
  29542. <!-- end interface org.apache.hadoop.tools.rumen.Outputter -->
  29543. <!-- start class org.apache.hadoop.tools.rumen.Pre21JobHistoryConstants -->
  29544. <class name="Pre21JobHistoryConstants" extends="java.lang.Object"
  29545. abstract="false"
  29546. static="false" final="false" visibility="public"
  29547. deprecated="not deprecated">
  29548. <constructor name="Pre21JobHistoryConstants"
  29549. static="false" final="false" visibility="public"
  29550. deprecated="not deprecated">
  29551. </constructor>
  29552. </class>
  29553. <!-- end class org.apache.hadoop.tools.rumen.Pre21JobHistoryConstants -->
  29554. <!-- start class org.apache.hadoop.tools.rumen.Pre21JobHistoryConstants.Values -->
  29555. <class name="Pre21JobHistoryConstants.Values" extends="java.lang.Enum"
  29556. abstract="false"
  29557. static="true" final="true" visibility="public"
  29558. deprecated="not deprecated">
  29559. <method name="values" return="org.apache.hadoop.tools.rumen.Pre21JobHistoryConstants.Values[]"
  29560. abstract="false" native="false" synchronized="false"
  29561. static="true" final="false" visibility="public"
  29562. deprecated="not deprecated">
  29563. </method>
  29564. <method name="valueOf" return="org.apache.hadoop.tools.rumen.Pre21JobHistoryConstants.Values"
  29565. abstract="false" native="false" synchronized="false"
  29566. static="true" final="false" visibility="public"
  29567. deprecated="not deprecated">
  29568. <param name="name" type="java.lang.String"/>
  29569. </method>
  29570. <doc>
  29571. <![CDATA[This enum contains some of the values commonly used by history log events.
  29572. since values in history can only be strings - Values.name() is used in
  29573. most places in history file.]]>
  29574. </doc>
  29575. </class>
  29576. <!-- end class org.apache.hadoop.tools.rumen.Pre21JobHistoryConstants.Values -->
  29577. <!-- start class org.apache.hadoop.tools.rumen.RackNode -->
  29578. <class name="RackNode" extends="org.apache.hadoop.tools.rumen.Node"
  29579. abstract="false"
  29580. static="false" final="true" visibility="public"
  29581. deprecated="not deprecated">
  29582. <constructor name="RackNode" type="java.lang.String, int"
  29583. static="false" final="false" visibility="public"
  29584. deprecated="not deprecated">
  29585. </constructor>
  29586. <method name="addChild" return="boolean"
  29587. abstract="false" native="false" synchronized="true"
  29588. static="false" final="false" visibility="public"
  29589. deprecated="not deprecated">
  29590. <param name="child" type="org.apache.hadoop.tools.rumen.Node"/>
  29591. </method>
  29592. <method name="getMachinesInRack" return="java.util.Set"
  29593. abstract="false" native="false" synchronized="false"
  29594. static="false" final="false" visibility="public"
  29595. deprecated="not deprecated">
  29596. <doc>
  29597. <![CDATA[Get the machine nodes that belong to the rack.
  29598. @return The machine nodes that belong to the rack.]]>
  29599. </doc>
  29600. </method>
  29601. <doc>
  29602. <![CDATA[{@link RackNode} represents a rack node in the cluster topology.]]>
  29603. </doc>
  29604. </class>
  29605. <!-- end class org.apache.hadoop.tools.rumen.RackNode -->
  29606. <!-- start class org.apache.hadoop.tools.rumen.RandomSeedGenerator -->
  29607. <class name="RandomSeedGenerator" extends="java.lang.Object"
  29608. abstract="false"
  29609. static="false" final="false" visibility="public"
  29610. deprecated="not deprecated">
  29611. <constructor name="RandomSeedGenerator"
  29612. static="false" final="false" visibility="public"
  29613. deprecated="not deprecated">
  29614. </constructor>
  29615. <method name="getSeed" return="long"
  29616. abstract="false" native="false" synchronized="false"
  29617. static="true" final="false" visibility="public"
  29618. deprecated="not deprecated">
  29619. <param name="streamId" type="java.lang.String"/>
  29620. <param name="masterSeed" type="long"/>
  29621. <doc>
  29622. <![CDATA[Generates a new random seed.
  29623. @param streamId a string identifying the stream of random numbers
  29624. @param masterSeed higher level master random seed
  29625. @return the random seed. Different (streamId, masterSeed) pairs result in
  29626. (vastly) different random seeds.]]>
  29627. </doc>
  29628. </method>
  29629. <doc>
  29630. <![CDATA[The purpose of this class is to generate new random seeds from a master
  29631. seed. This is needed to make the Random().next*() calls in rumen and mumak
  29632. deterministic so that mumak simulations become deterministically replayable.
  29633. In these tools we need many independent streams of random numbers, some of
  29634. which are created dynamically. We seed these streams with the sub-seeds
  29635. returned by RandomSeedGenerator.
  29636. For a slightly more complicated approach to generating multiple streams of
  29637. random numbers with better theoretical guarantees, see
  29638. P. L'Ecuyer, R. Simard, E. J. Chen, and W. D. Kelton,
  29639. ``An Objected-Oriented Random-Number Package with Many Long Streams and
  29640. Substreams'', Operations Research, 50, 6 (2002), 1073--1075
  29641. http://www.iro.umontreal.ca/~lecuyer/papers.html
  29642. http://www.iro.umontreal.ca/~lecuyer/myftp/streams00/]]>
  29643. </doc>
  29644. </class>
  29645. <!-- end class org.apache.hadoop.tools.rumen.RandomSeedGenerator -->
  29646. <!-- start class org.apache.hadoop.tools.rumen.ReduceAttempt20LineHistoryEventEmitter -->
  29647. <class name="ReduceAttempt20LineHistoryEventEmitter" extends="org.apache.hadoop.tools.rumen.TaskAttempt20LineEventEmitter"
  29648. abstract="false"
  29649. static="false" final="false" visibility="public"
  29650. deprecated="not deprecated">
  29651. </class>
  29652. <!-- end class org.apache.hadoop.tools.rumen.ReduceAttempt20LineHistoryEventEmitter -->
  29653. <!-- start class org.apache.hadoop.tools.rumen.ReduceTaskAttemptInfo -->
  29654. <class name="ReduceTaskAttemptInfo" extends="org.apache.hadoop.tools.rumen.TaskAttemptInfo"
  29655. abstract="false"
  29656. static="false" final="false" visibility="public"
  29657. deprecated="not deprecated">
  29658. <constructor name="ReduceTaskAttemptInfo" type="org.apache.hadoop.mapred.TaskStatus.State, org.apache.hadoop.tools.rumen.TaskInfo, long, long, long"
  29659. static="false" final="false" visibility="public"
  29660. deprecated="not deprecated">
  29661. </constructor>
  29662. <method name="getReduceRuntime" return="long"
  29663. abstract="false" native="false" synchronized="false"
  29664. static="false" final="false" visibility="public"
  29665. deprecated="not deprecated">
  29666. <doc>
  29667. <![CDATA[Get the runtime for the <b>reduce</b> phase of the reduce task-attempt.
  29668. @return the runtime for the <b>reduce</b> phase of the reduce task-attempt]]>
  29669. </doc>
  29670. </method>
  29671. <method name="getShuffleRuntime" return="long"
  29672. abstract="false" native="false" synchronized="false"
  29673. static="false" final="false" visibility="public"
  29674. deprecated="not deprecated">
  29675. <doc>
  29676. <![CDATA[Get the runtime for the <b>shuffle</b> phase of the reduce task-attempt.
  29677. @return the runtime for the <b>shuffle</b> phase of the reduce task-attempt]]>
  29678. </doc>
  29679. </method>
  29680. <method name="getMergeRuntime" return="long"
  29681. abstract="false" native="false" synchronized="false"
  29682. static="false" final="false" visibility="public"
  29683. deprecated="not deprecated">
  29684. <doc>
  29685. <![CDATA[Get the runtime for the <b>merge</b> phase of the reduce task-attempt
  29686. @return the runtime for the <b>merge</b> phase of the reduce task-attempt]]>
  29687. </doc>
  29688. </method>
  29689. <method name="getRuntime" return="long"
  29690. abstract="false" native="false" synchronized="false"
  29691. static="false" final="false" visibility="public"
  29692. deprecated="not deprecated">
  29693. </method>
  29694. <doc>
  29695. <![CDATA[{@link ReduceTaskAttemptInfo} represents the information with regard to a
  29696. reduce task attempt.]]>
  29697. </doc>
  29698. </class>
  29699. <!-- end class org.apache.hadoop.tools.rumen.ReduceTaskAttemptInfo -->
  29700. <!-- start class org.apache.hadoop.tools.rumen.RewindableInputStream -->
  29701. <class name="RewindableInputStream" extends="java.io.InputStream"
  29702. abstract="false"
  29703. static="false" final="false" visibility="public"
  29704. deprecated="not deprecated">
  29705. <constructor name="RewindableInputStream" type="java.io.InputStream"
  29706. static="false" final="false" visibility="public"
  29707. deprecated="not deprecated">
  29708. <doc>
  29709. <![CDATA[Constructor.
  29710. @param input]]>
  29711. </doc>
  29712. </constructor>
  29713. <constructor name="RewindableInputStream" type="java.io.InputStream, int"
  29714. static="false" final="false" visibility="public"
  29715. deprecated="not deprecated">
  29716. <doc>
  29717. <![CDATA[Constructor
  29718. @param input
  29719. input stream.
  29720. @param maxBytesToRemember
  29721. Maximum number of bytes we need to remember at the beginning of
  29722. the stream. If {@link #rewind()} is called after so many bytes are
  29723. read from the stream, {@link #rewind()} would fail.]]>
  29724. </doc>
  29725. </constructor>
  29726. <method name="read" return="int"
  29727. abstract="false" native="false" synchronized="false"
  29728. static="false" final="false" visibility="public"
  29729. deprecated="not deprecated">
  29730. <exception name="IOException" type="java.io.IOException"/>
  29731. </method>
  29732. <method name="read" return="int"
  29733. abstract="false" native="false" synchronized="false"
  29734. static="false" final="false" visibility="public"
  29735. deprecated="not deprecated">
  29736. <param name="buffer" type="byte[]"/>
  29737. <param name="offset" type="int"/>
  29738. <param name="length" type="int"/>
  29739. <exception name="IOException" type="java.io.IOException"/>
  29740. </method>
  29741. <method name="close"
  29742. abstract="false" native="false" synchronized="false"
  29743. static="false" final="false" visibility="public"
  29744. deprecated="not deprecated">
  29745. <exception name="IOException" type="java.io.IOException"/>
  29746. </method>
  29747. <method name="rewind" return="java.io.InputStream"
  29748. abstract="false" native="false" synchronized="false"
  29749. static="false" final="false" visibility="public"
  29750. deprecated="not deprecated">
  29751. <exception name="IOException" type="java.io.IOException"/>
  29752. </method>
  29753. <doc>
  29754. <![CDATA[A simple wrapper class to make any input stream "rewindable". It could be
  29755. made more memory efficient by grow the internal buffer adaptively.]]>
  29756. </doc>
  29757. </class>
  29758. <!-- end class org.apache.hadoop.tools.rumen.RewindableInputStream -->
  29759. <!-- start class org.apache.hadoop.tools.rumen.Task20LineHistoryEventEmitter -->
  29760. <class name="Task20LineHistoryEventEmitter" extends="org.apache.hadoop.tools.rumen.HistoryEventEmitter"
  29761. abstract="false"
  29762. static="false" final="false" visibility="public"
  29763. deprecated="not deprecated">
  29764. <constructor name="Task20LineHistoryEventEmitter"
  29765. static="false" final="false" visibility="protected"
  29766. deprecated="not deprecated">
  29767. </constructor>
  29768. </class>
  29769. <!-- end class org.apache.hadoop.tools.rumen.Task20LineHistoryEventEmitter -->
  29770. <!-- start class org.apache.hadoop.tools.rumen.TaskAttempt20LineEventEmitter -->
  29771. <class name="TaskAttempt20LineEventEmitter" extends="org.apache.hadoop.tools.rumen.HistoryEventEmitter"
  29772. abstract="true"
  29773. static="false" final="false" visibility="public"
  29774. deprecated="not deprecated">
  29775. <constructor name="TaskAttempt20LineEventEmitter"
  29776. static="false" final="false" visibility="protected"
  29777. deprecated="not deprecated">
  29778. </constructor>
  29779. </class>
  29780. <!-- end class org.apache.hadoop.tools.rumen.TaskAttempt20LineEventEmitter -->
  29781. <!-- start class org.apache.hadoop.tools.rumen.TaskAttemptInfo -->
  29782. <class name="TaskAttemptInfo" extends="java.lang.Object"
  29783. abstract="true"
  29784. static="false" final="false" visibility="public"
  29785. deprecated="not deprecated">
  29786. <constructor name="TaskAttemptInfo" type="org.apache.hadoop.mapred.TaskStatus.State, org.apache.hadoop.tools.rumen.TaskInfo"
  29787. static="false" final="false" visibility="protected"
  29788. deprecated="not deprecated">
  29789. </constructor>
  29790. <method name="getRunState" return="org.apache.hadoop.mapred.TaskStatus.State"
  29791. abstract="false" native="false" synchronized="false"
  29792. static="false" final="false" visibility="public"
  29793. deprecated="not deprecated">
  29794. <doc>
  29795. <![CDATA[Get the final {@link TaskStatus.State} of the task-attempt.
  29796. @return the final <code>State</code> of the task-attempt]]>
  29797. </doc>
  29798. </method>
  29799. <method name="getRuntime" return="long"
  29800. abstract="true" native="false" synchronized="false"
  29801. static="false" final="false" visibility="public"
  29802. deprecated="not deprecated">
  29803. <doc>
  29804. <![CDATA[Get the total runtime for the task-attempt.
  29805. @return the total runtime for the task-attempt]]>
  29806. </doc>
  29807. </method>
  29808. <method name="getTaskInfo" return="org.apache.hadoop.tools.rumen.TaskInfo"
  29809. abstract="false" native="false" synchronized="false"
  29810. static="false" final="false" visibility="public"
  29811. deprecated="not deprecated">
  29812. <doc>
  29813. <![CDATA[Get the {@link TaskInfo} for the given task-attempt.
  29814. @return the <code>TaskInfo</code> for the given task-attempt]]>
  29815. </doc>
  29816. </method>
  29817. <field name="state" type="org.apache.hadoop.mapred.TaskStatus.State"
  29818. transient="false" volatile="false"
  29819. static="false" final="true" visibility="protected"
  29820. deprecated="not deprecated">
  29821. </field>
  29822. <field name="taskInfo" type="org.apache.hadoop.tools.rumen.TaskInfo"
  29823. transient="false" volatile="false"
  29824. static="false" final="true" visibility="protected"
  29825. deprecated="not deprecated">
  29826. </field>
  29827. <doc>
  29828. <![CDATA[{@link TaskAttemptInfo} is a collection of statistics about a particular
  29829. task-attempt gleaned from job-history of the job.]]>
  29830. </doc>
  29831. </class>
  29832. <!-- end class org.apache.hadoop.tools.rumen.TaskAttemptInfo -->
  29833. <!-- start class org.apache.hadoop.tools.rumen.TaskInfo -->
  29834. <class name="TaskInfo" extends="java.lang.Object"
  29835. abstract="false"
  29836. static="false" final="false" visibility="public"
  29837. deprecated="not deprecated">
  29838. <constructor name="TaskInfo" type="long, int, long, int, long"
  29839. static="false" final="false" visibility="public"
  29840. deprecated="not deprecated">
  29841. </constructor>
  29842. <method name="getInputBytes" return="long"
  29843. abstract="false" native="false" synchronized="false"
  29844. static="false" final="false" visibility="public"
  29845. deprecated="not deprecated">
  29846. <doc>
  29847. <![CDATA[@return Raw bytes read from the FileSystem into the task. Note that this
  29848. may not always match the input bytes to the task.]]>
  29849. </doc>
  29850. </method>
  29851. <method name="getInputRecords" return="int"
  29852. abstract="false" native="false" synchronized="false"
  29853. static="false" final="false" visibility="public"
  29854. deprecated="not deprecated">
  29855. <doc>
  29856. <![CDATA[@return Number of records input to this task.]]>
  29857. </doc>
  29858. </method>
  29859. <method name="getOutputBytes" return="long"
  29860. abstract="false" native="false" synchronized="false"
  29861. static="false" final="false" visibility="public"
  29862. deprecated="not deprecated">
  29863. <doc>
  29864. <![CDATA[@return Raw bytes written to the destination FileSystem. Note that this may
  29865. not match output bytes.]]>
  29866. </doc>
  29867. </method>
  29868. <method name="getOutputRecords" return="int"
  29869. abstract="false" native="false" synchronized="false"
  29870. static="false" final="false" visibility="public"
  29871. deprecated="not deprecated">
  29872. <doc>
  29873. <![CDATA[@return Number of records output from this task.]]>
  29874. </doc>
  29875. </method>
  29876. <method name="getTaskMemory" return="long"
  29877. abstract="false" native="false" synchronized="false"
  29878. static="false" final="false" visibility="public"
  29879. deprecated="not deprecated">
  29880. <doc>
  29881. <![CDATA[@return Memory used by the task leq the heap size.]]>
  29882. </doc>
  29883. </method>
  29884. </class>
  29885. <!-- end class org.apache.hadoop.tools.rumen.TaskInfo -->
  29886. <!-- start class org.apache.hadoop.tools.rumen.TopologyBuilder -->
  29887. <class name="TopologyBuilder" extends="java.lang.Object"
  29888. abstract="false"
  29889. static="false" final="false" visibility="public"
  29890. deprecated="not deprecated">
  29891. <constructor name="TopologyBuilder"
  29892. static="false" final="false" visibility="public"
  29893. deprecated="not deprecated">
  29894. </constructor>
  29895. <method name="process"
  29896. abstract="false" native="false" synchronized="false"
  29897. static="false" final="false" visibility="public"
  29898. deprecated="not deprecated">
  29899. <param name="event" type="org.apache.hadoop.mapreduce.jobhistory.HistoryEvent"/>
  29900. <doc>
  29901. <![CDATA[Process one {@link HistoryEvent}
  29902. @param event
  29903. The {@link HistoryEvent} to be processed.]]>
  29904. </doc>
  29905. </method>
  29906. <method name="process"
  29907. abstract="false" native="false" synchronized="false"
  29908. static="false" final="false" visibility="public"
  29909. deprecated="not deprecated">
  29910. <param name="conf" type="java.util.Properties"/>
  29911. <doc>
  29912. <![CDATA[Process a collection of JobConf {@link Properties}. We do not restrict it
  29913. to be called once.
  29914. @param conf
  29915. The job conf properties to be added.]]>
  29916. </doc>
  29917. </method>
  29918. <method name="build" return="org.apache.hadoop.tools.rumen.LoggedNetworkTopology"
  29919. abstract="false" native="false" synchronized="false"
  29920. static="false" final="false" visibility="public"
  29921. deprecated="not deprecated">
  29922. <doc>
  29923. <![CDATA[Request the builder to build the final object. Once called, the
  29924. {@link TopologyBuilder} would accept no more events or job-conf properties.
  29925. @return Parsed {@link LoggedNetworkTopology} object.]]>
  29926. </doc>
  29927. </method>
  29928. <doc>
  29929. <![CDATA[Building the cluster topology.]]>
  29930. </doc>
  29931. </class>
  29932. <!-- end class org.apache.hadoop.tools.rumen.TopologyBuilder -->
  29933. <!-- start class org.apache.hadoop.tools.rumen.TraceBuilder -->
  29934. <class name="TraceBuilder" extends="org.apache.hadoop.conf.Configured"
  29935. abstract="false"
  29936. static="false" final="false" visibility="public"
  29937. deprecated="not deprecated">
  29938. <implements name="org.apache.hadoop.util.Tool"/>
  29939. <constructor name="TraceBuilder"
  29940. static="false" final="false" visibility="public"
  29941. deprecated="not deprecated">
  29942. </constructor>
  29943. <method name="main"
  29944. abstract="false" native="false" synchronized="false"
  29945. static="true" final="false" visibility="public"
  29946. deprecated="not deprecated">
  29947. <param name="args" type="java.lang.String[]"/>
  29948. </method>
  29949. <method name="run" return="int"
  29950. abstract="false" native="false" synchronized="false"
  29951. static="false" final="false" visibility="public"
  29952. deprecated="not deprecated">
  29953. <param name="args" type="java.lang.String[]"/>
  29954. <exception name="Exception" type="java.lang.Exception"/>
  29955. </method>
  29956. <doc>
  29957. <![CDATA[The main driver of the Rumen Parser.]]>
  29958. </doc>
  29959. </class>
  29960. <!-- end class org.apache.hadoop.tools.rumen.TraceBuilder -->
  29961. <!-- start class org.apache.hadoop.tools.rumen.TreePath -->
  29962. <class name="TreePath" extends="java.lang.Object"
  29963. abstract="false"
  29964. static="false" final="false" visibility="public"
  29965. deprecated="not deprecated">
  29966. <constructor name="TreePath" type="org.apache.hadoop.tools.rumen.TreePath, java.lang.String"
  29967. static="false" final="false" visibility="public"
  29968. deprecated="not deprecated">
  29969. </constructor>
  29970. <constructor name="TreePath" type="org.apache.hadoop.tools.rumen.TreePath, java.lang.String, int"
  29971. static="false" final="false" visibility="public"
  29972. deprecated="not deprecated">
  29973. </constructor>
  29974. <method name="toString" return="java.lang.String"
  29975. abstract="false" native="false" synchronized="false"
  29976. static="false" final="false" visibility="public"
  29977. deprecated="not deprecated">
  29978. </method>
  29979. <doc>
  29980. <![CDATA[This describes a path from a node to the root. We use it when we compare two
  29981. trees during rumen unit tests. If the trees are not identical, this chain
  29982. will be converted to a string which describes the path from the root to the
  29983. fields that did not compare.]]>
  29984. </doc>
  29985. </class>
  29986. <!-- end class org.apache.hadoop.tools.rumen.TreePath -->
  29987. <!-- start class org.apache.hadoop.tools.rumen.ZombieCluster -->
  29988. <class name="ZombieCluster" extends="org.apache.hadoop.tools.rumen.AbstractClusterStory"
  29989. abstract="false"
  29990. static="false" final="false" visibility="public"
  29991. deprecated="not deprecated">
  29992. <constructor name="ZombieCluster" type="org.apache.hadoop.tools.rumen.LoggedNetworkTopology, org.apache.hadoop.tools.rumen.MachineNode"
  29993. static="false" final="false" visibility="public"
  29994. deprecated="not deprecated">
  29995. <doc>
  29996. <![CDATA[Construct a homogeneous cluster. We assume that the leaves on the topology
  29997. are {@link MachineNode}s, and the parents of {@link MachineNode}s are
  29998. {@link RackNode}s. We also expect all leaf nodes are on the same level.
  29999. @param topology
  30000. The network topology.
  30001. @param defaultNode
  30002. The default node setting.]]>
  30003. </doc>
  30004. </constructor>
  30005. <constructor name="ZombieCluster" type="org.apache.hadoop.fs.Path, org.apache.hadoop.tools.rumen.MachineNode, org.apache.hadoop.conf.Configuration"
  30006. static="false" final="false" visibility="public"
  30007. deprecated="not deprecated">
  30008. <exception name="IOException" type="java.io.IOException"/>
  30009. <doc>
  30010. <![CDATA[Construct a homogeneous cluster. We assume that the leaves on the topology
  30011. are {@link MachineNode}s, and the parents of {@link MachineNode}s are
  30012. {@link RackNode}s. We also expect all leaf nodes are on the same level.
  30013. @param path Path to the JSON-encoded topology file.
  30014. @param conf
  30015. @param defaultNode
  30016. The default node setting.
  30017. @throws IOException]]>
  30018. </doc>
  30019. </constructor>
  30020. <constructor name="ZombieCluster" type="java.io.InputStream, org.apache.hadoop.tools.rumen.MachineNode"
  30021. static="false" final="false" visibility="public"
  30022. deprecated="not deprecated">
  30023. <exception name="IOException" type="java.io.IOException"/>
  30024. <doc>
  30025. <![CDATA[Construct a homogeneous cluster. We assume that the leaves on the topology
  30026. are {@link MachineNode}s, and the parents of {@link MachineNode}s are
  30027. {@link RackNode}s. We also expect all leaf nodes are on the same level.
  30028. @param input The input stream for the JSON-encoded topology file.
  30029. @param defaultNode
  30030. The default node setting.
  30031. @throws IOException]]>
  30032. </doc>
  30033. </constructor>
  30034. <method name="getClusterTopology" return="org.apache.hadoop.tools.rumen.Node"
  30035. abstract="false" native="false" synchronized="false"
  30036. static="false" final="false" visibility="public"
  30037. deprecated="not deprecated">
  30038. </method>
  30039. <doc>
  30040. <![CDATA[{@link ZombieCluster} rebuilds the cluster topology using the information
  30041. obtained from job history logs.]]>
  30042. </doc>
  30043. </class>
  30044. <!-- end class org.apache.hadoop.tools.rumen.ZombieCluster -->
  30045. <!-- start class org.apache.hadoop.tools.rumen.ZombieJob -->
  30046. <class name="ZombieJob" extends="java.lang.Object"
  30047. abstract="false"
  30048. static="false" final="false" visibility="public"
  30049. deprecated="not deprecated">
  30050. <implements name="org.apache.hadoop.tools.rumen.JobStory"/>
  30051. <constructor name="ZombieJob" type="org.apache.hadoop.tools.rumen.LoggedJob, org.apache.hadoop.tools.rumen.ClusterStory, long"
  30052. static="false" final="false" visibility="public"
  30053. deprecated="not deprecated">
  30054. <doc>
  30055. <![CDATA[This constructor creates a {@link ZombieJob} with the same semantics as the
  30056. {@link LoggedJob} passed in this parameter
  30057. @param job
  30058. The dead job this ZombieJob instance is based on.
  30059. @param cluster
  30060. The cluster topology where the dead job ran on. This argument can
  30061. be null if we do not have knowledge of the cluster topology.
  30062. @param seed
  30063. Seed for the random number generator for filling in information
  30064. not available from the ZombieJob.]]>
  30065. </doc>
  30066. </constructor>
  30067. <constructor name="ZombieJob" type="org.apache.hadoop.tools.rumen.LoggedJob, org.apache.hadoop.tools.rumen.ClusterStory"
  30068. static="false" final="false" visibility="public"
  30069. deprecated="not deprecated">
  30070. <doc>
  30071. <![CDATA[This constructor creates a {@link ZombieJob} with the same semantics as the
  30072. {@link LoggedJob} passed in this parameter
  30073. @param job
  30074. The dead job this ZombieJob instance is based on.
  30075. @param cluster
  30076. The cluster topology where the dead job ran on. This argument can
  30077. be null if we do not have knowledge of the cluster topology.]]>
  30078. </doc>
  30079. </constructor>
  30080. <method name="getJobConf" return="org.apache.hadoop.mapred.JobConf"
  30081. abstract="false" native="false" synchronized="true"
  30082. static="false" final="false" visibility="public"
  30083. deprecated="not deprecated">
  30084. </method>
  30085. <method name="getInputSplits" return="org.apache.hadoop.mapreduce.InputSplit[]"
  30086. abstract="false" native="false" synchronized="false"
  30087. static="false" final="false" visibility="public"
  30088. deprecated="not deprecated">
  30089. </method>
  30090. <method name="getName" return="java.lang.String"
  30091. abstract="false" native="false" synchronized="false"
  30092. static="false" final="false" visibility="public"
  30093. deprecated="not deprecated">
  30094. </method>
  30095. <method name="getJobID" return="org.apache.hadoop.mapreduce.JobID"
  30096. abstract="false" native="false" synchronized="false"
  30097. static="false" final="false" visibility="public"
  30098. deprecated="not deprecated">
  30099. </method>
  30100. <method name="getNumberMaps" return="int"
  30101. abstract="false" native="false" synchronized="false"
  30102. static="false" final="false" visibility="public"
  30103. deprecated="not deprecated">
  30104. </method>
  30105. <method name="getNumberReduces" return="int"
  30106. abstract="false" native="false" synchronized="false"
  30107. static="false" final="false" visibility="public"
  30108. deprecated="not deprecated">
  30109. </method>
  30110. <method name="getOutcome" return="org.apache.hadoop.tools.rumen.Pre21JobHistoryConstants.Values"
  30111. abstract="false" native="false" synchronized="false"
  30112. static="false" final="false" visibility="public"
  30113. deprecated="not deprecated">
  30114. </method>
  30115. <method name="getSubmissionTime" return="long"
  30116. abstract="false" native="false" synchronized="false"
  30117. static="false" final="false" visibility="public"
  30118. deprecated="not deprecated">
  30119. </method>
  30120. <method name="getQueueName" return="java.lang.String"
  30121. abstract="false" native="false" synchronized="false"
  30122. static="false" final="false" visibility="public"
  30123. deprecated="not deprecated">
  30124. </method>
  30125. <method name="getNumLoggedMaps" return="int"
  30126. abstract="false" native="false" synchronized="false"
  30127. static="false" final="false" visibility="public"
  30128. deprecated="not deprecated">
  30129. <doc>
  30130. <![CDATA[Getting the number of map tasks that are actually logged in the trace.
  30131. @return The number of map tasks that are actually logged in the trace.]]>
  30132. </doc>
  30133. </method>
  30134. <method name="getNumLoggedReduces" return="int"
  30135. abstract="false" native="false" synchronized="false"
  30136. static="false" final="false" visibility="public"
  30137. deprecated="not deprecated">
  30138. <doc>
  30139. <![CDATA[Getting the number of reduce tasks that are actually logged in the trace.
  30140. @return The number of map tasks that are actually logged in the trace.]]>
  30141. </doc>
  30142. </method>
  30143. <method name="getUser" return="java.lang.String"
  30144. abstract="false" native="false" synchronized="false"
  30145. static="false" final="false" visibility="public"
  30146. deprecated="not deprecated">
  30147. </method>
  30148. <method name="getLoggedJob" return="org.apache.hadoop.tools.rumen.LoggedJob"
  30149. abstract="false" native="false" synchronized="false"
  30150. static="false" final="false" visibility="public"
  30151. deprecated="not deprecated">
  30152. <doc>
  30153. <![CDATA[Get the underlining {@link LoggedJob} object read directly from the trace.
  30154. This is mainly for debugging.
  30155. @return the underlining {@link LoggedJob} object]]>
  30156. </doc>
  30157. </method>
  30158. <method name="getTaskAttemptInfo" return="org.apache.hadoop.tools.rumen.TaskAttemptInfo"
  30159. abstract="false" native="false" synchronized="false"
  30160. static="false" final="false" visibility="public"
  30161. deprecated="not deprecated">
  30162. <param name="taskType" type="org.apache.hadoop.mapreduce.TaskType"/>
  30163. <param name="taskNumber" type="int"/>
  30164. <param name="taskAttemptNumber" type="int"/>
  30165. <doc>
  30166. <![CDATA[Get a {@link TaskAttemptInfo} with a {@link TaskAttemptID} associated with
  30167. taskType, taskNumber, and taskAttemptNumber. This function does not care
  30168. about locality, and follows the following decision logic: 1. Make up a
  30169. {@link TaskAttemptInfo} if the task attempt is missing in trace, 2. Make up
  30170. a {@link TaskAttemptInfo} if the task attempt has a KILLED final status in
  30171. trace, 3. Otherwise (final state is SUCCEEDED or FAILED), construct the
  30172. {@link TaskAttemptInfo} from the trace.]]>
  30173. </doc>
  30174. </method>
  30175. <method name="getTaskInfo" return="org.apache.hadoop.tools.rumen.TaskInfo"
  30176. abstract="false" native="false" synchronized="false"
  30177. static="false" final="false" visibility="public"
  30178. deprecated="not deprecated">
  30179. <param name="taskType" type="org.apache.hadoop.mapreduce.TaskType"/>
  30180. <param name="taskNumber" type="int"/>
  30181. </method>
  30182. <method name="getMapTaskAttemptInfoAdjusted" return="org.apache.hadoop.tools.rumen.TaskAttemptInfo"
  30183. abstract="false" native="false" synchronized="false"
  30184. static="false" final="false" visibility="public"
  30185. deprecated="not deprecated">
  30186. <param name="taskNumber" type="int"/>
  30187. <param name="taskAttemptNumber" type="int"/>
  30188. <param name="locality" type="int"/>
  30189. <doc>
  30190. <![CDATA[Get a {@link TaskAttemptInfo} with a {@link TaskAttemptID} associated with
  30191. taskType, taskNumber, and taskAttemptNumber. This function considers
  30192. locality, and follows the following decision logic: 1. Make up a
  30193. {@link TaskAttemptInfo} if the task attempt is missing in trace, 2. Make up
  30194. a {@link TaskAttemptInfo} if the task attempt has a KILLED final status in
  30195. trace, 3. If final state is FAILED, construct a {@link TaskAttemptInfo}
  30196. from the trace, without considering locality. 4. If final state is
  30197. SUCCEEDED, construct a {@link TaskAttemptInfo} from the trace, with runtime
  30198. scaled according to locality in simulation and locality in trace.]]>
  30199. </doc>
  30200. </method>
  30201. <doc>
  30202. <![CDATA[{@link ZombieJob} is a layer above {@link LoggedJob} raw JSON objects.
  30203. Each {@link ZombieJob} object represents a job in job history. For everything
  30204. that exists in job history, contents are returned unchanged faithfully. To
  30205. get input splits of a non-exist task, a non-exist task attempt, or an
  30206. ill-formed task attempt, proper objects are made up from statistical
  30207. sketches.]]>
  30208. </doc>
  30209. </class>
  30210. <!-- end class org.apache.hadoop.tools.rumen.ZombieJob -->
  30211. <!-- start class org.apache.hadoop.tools.rumen.ZombieJobProducer -->
  30212. <class name="ZombieJobProducer" extends="java.lang.Object"
  30213. abstract="false"
  30214. static="false" final="false" visibility="public"
  30215. deprecated="not deprecated">
  30216. <implements name="org.apache.hadoop.tools.rumen.JobStoryProducer"/>
  30217. <constructor name="ZombieJobProducer" type="org.apache.hadoop.fs.Path, org.apache.hadoop.tools.rumen.ZombieCluster, org.apache.hadoop.conf.Configuration"
  30218. static="false" final="false" visibility="public"
  30219. deprecated="not deprecated">
  30220. <exception name="IOException" type="java.io.IOException"/>
  30221. <doc>
  30222. <![CDATA[Constructor
  30223. @param path
  30224. Path to the JSON trace file, possibly compressed.
  30225. @param cluster
  30226. The topology of the cluster that corresponds to the jobs in the
  30227. trace. The argument can be null if we do not have knowledge of the
  30228. cluster topology.
  30229. @param conf
  30230. @throws IOException]]>
  30231. </doc>
  30232. </constructor>
  30233. <constructor name="ZombieJobProducer" type="org.apache.hadoop.fs.Path, org.apache.hadoop.tools.rumen.ZombieCluster, org.apache.hadoop.conf.Configuration, long"
  30234. static="false" final="false" visibility="public"
  30235. deprecated="not deprecated">
  30236. <exception name="IOException" type="java.io.IOException"/>
  30237. <doc>
  30238. <![CDATA[Constructor
  30239. @param path
  30240. Path to the JSON trace file, possibly compressed.
  30241. @param cluster
  30242. The topology of the cluster that corresponds to the jobs in the
  30243. trace. The argument can be null if we do not have knowledge of the
  30244. cluster topology.
  30245. @param conf
  30246. @param randomSeed
  30247. use a deterministic seed.
  30248. @throws IOException]]>
  30249. </doc>
  30250. </constructor>
  30251. <constructor name="ZombieJobProducer" type="java.io.InputStream, org.apache.hadoop.tools.rumen.ZombieCluster"
  30252. static="false" final="false" visibility="public"
  30253. deprecated="not deprecated">
  30254. <exception name="IOException" type="java.io.IOException"/>
  30255. <doc>
  30256. <![CDATA[Constructor
  30257. @param input
  30258. The input stream for the JSON trace.
  30259. @param cluster
  30260. The topology of the cluster that corresponds to the jobs in the
  30261. trace. The argument can be null if we do not have knowledge of the
  30262. cluster topology.
  30263. @throws IOException]]>
  30264. </doc>
  30265. </constructor>
  30266. <constructor name="ZombieJobProducer" type="java.io.InputStream, org.apache.hadoop.tools.rumen.ZombieCluster, long"
  30267. static="false" final="false" visibility="public"
  30268. deprecated="not deprecated">
  30269. <exception name="IOException" type="java.io.IOException"/>
  30270. <doc>
  30271. <![CDATA[Constructor
  30272. @param input
  30273. The input stream for the JSON trace.
  30274. @param cluster
  30275. The topology of the cluster that corresponds to the jobs in the
  30276. trace. The argument can be null if we do not have knowledge of the
  30277. cluster topology.
  30278. @param randomSeed
  30279. use a deterministic seed.
  30280. @throws IOException]]>
  30281. </doc>
  30282. </constructor>
  30283. <method name="getNextJob" return="org.apache.hadoop.tools.rumen.ZombieJob"
  30284. abstract="false" native="false" synchronized="false"
  30285. static="false" final="false" visibility="public"
  30286. deprecated="not deprecated">
  30287. <exception name="IOException" type="java.io.IOException"/>
  30288. </method>
  30289. <method name="close"
  30290. abstract="false" native="false" synchronized="false"
  30291. static="false" final="false" visibility="public"
  30292. deprecated="not deprecated">
  30293. <exception name="IOException" type="java.io.IOException"/>
  30294. </method>
  30295. <doc>
  30296. <![CDATA[Producing {@link JobStory}s from job trace.]]>
  30297. </doc>
  30298. </class>
  30299. <!-- end class org.apache.hadoop.tools.rumen.ZombieJobProducer -->
  30300. </package>
  30301. </api>