Apache_Hadoop_HDFS_2.6.0.xml 874 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520
  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 Mon Mar 30 15:30:43 PDT 2015 -->
  5. <api
  6. xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
  7. xsi:noNamespaceSchemaLocation='api.xsd'
  8. name="hadoop-hdfs 2.6.0"
  9. jdversion="1.0.9">
  10. <!-- Command line arguments = -doclet org.apache.hadoop.classification.tools.ExcludePrivateAnnotationsJDiffDoclet -docletpath /Users/llu/hadoop-common/hadoop-hdfs-project/hadoop-hdfs/target/hadoop-annotations.jar:/Users/llu/hadoop-common/hadoop-hdfs-project/hadoop-hdfs/target/jdiff.jar -verbose -classpath /Users/llu/hadoop-common/hadoop-hdfs-project/hadoop-hdfs/target/classes:/Users/llu/hadoop-common/hadoop-common-project/hadoop-annotations/target/hadoop-annotations-2.6.0.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/lib/tools.jar:/Users/llu/hadoop-common/hadoop-common-project/hadoop-auth/target/hadoop-auth-2.6.0.jar:/Users/llu/.m2/repository/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar:/Users/llu/.m2/repository/org/apache/httpcomponents/httpclient/4.2.5/httpclient-4.2.5.jar:/Users/llu/.m2/repository/org/apache/httpcomponents/httpcore/4.2.5/httpcore-4.2.5.jar:/Users/llu/.m2/repository/org/apache/directory/server/apacheds-kerberos-codec/2.0.0-M15/apacheds-kerberos-codec-2.0.0-M15.jar:/Users/llu/.m2/repository/org/apache/directory/server/apacheds-i18n/2.0.0-M15/apacheds-i18n-2.0.0-M15.jar:/Users/llu/.m2/repository/org/apache/directory/api/api-asn1-api/1.0.0-M20/api-asn1-api-1.0.0-M20.jar:/Users/llu/.m2/repository/org/apache/directory/api/api-util/1.0.0-M20/api-util-1.0.0-M20.jar:/Users/llu/.m2/repository/org/apache/zookeeper/zookeeper/3.4.6/zookeeper-3.4.6.jar:/Users/llu/.m2/repository/org/apache/curator/curator-framework/2.6.0/curator-framework-2.6.0.jar:/Users/llu/hadoop-common/hadoop-common-project/hadoop-common/target/hadoop-common-2.6.0.jar:/Users/llu/.m2/repository/org/apache/commons/commons-math3/3.1.1/commons-math3-3.1.1.jar:/Users/llu/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar:/Users/llu/.m2/repository/commons-net/commons-net/3.1/commons-net-3.1.jar:/Users/llu/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/Users/llu/.m2/repository/com/sun/jersey/jersey-json/1.9/jersey-json-1.9.jar:/Users/llu/.m2/repository/org/codehaus/jettison/jettison/1.1/jettison-1.1.jar:/Users/llu/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.3-1/jaxb-impl-2.2.3-1.jar:/Users/llu/.m2/repository/javax/xml/bind/jaxb-api/2.2.2/jaxb-api-2.2.2.jar:/Users/llu/.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar:/Users/llu/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar:/Users/llu/.m2/repository/org/codehaus/jackson/jackson-jaxrs/1.9.13/jackson-jaxrs-1.9.13.jar:/Users/llu/.m2/repository/org/codehaus/jackson/jackson-xc/1.9.13/jackson-xc-1.9.13.jar:/Users/llu/.m2/repository/tomcat/jasper-compiler/5.5.23/jasper-compiler-5.5.23.jar:/Users/llu/.m2/repository/commons-el/commons-el/1.0/commons-el-1.0.jar:/Users/llu/.m2/repository/net/java/dev/jets3t/jets3t/0.9.0/jets3t-0.9.0.jar:/Users/llu/.m2/repository/com/jamesmurty/utils/java-xmlbuilder/0.4/java-xmlbuilder-0.4.jar:/Users/llu/.m2/repository/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar:/Users/llu/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar:/Users/llu/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar:/Users/llu/.m2/repository/commons-beanutils/commons-beanutils-core/1.8.0/commons-beanutils-core-1.8.0.jar:/Users/llu/.m2/repository/org/apache/avro/avro/1.7.4/avro-1.7.4.jar:/Users/llu/.m2/repository/com/thoughtworks/paranamer/paranamer/2.3/paranamer-2.3.jar:/Users/llu/.m2/repository/org/xerial/snappy/snappy-java/1.0.4.1/snappy-java-1.0.4.1.jar:/Users/llu/.m2/repository/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar:/Users/llu/.m2/repository/com/jcraft/jsch/0.1.42/jsch-0.1.42.jar:/Users/llu/.m2/repository/org/apache/curator/curator-client/2.6.0/curator-client-2.6.0.jar:/Users/llu/.m2/repository/org/apache/curator/curator-recipes/2.6.0/curator-recipes-2.6.0.jar:/Users/llu/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar:/Users/llu/.m2/repository/org/apache/commons/commons-compress/1.4.1/commons-compress-1.4.1.jar:/Users/llu/.m2/repository/org/tukaani/xz/1.0/xz-1.0.jar:/Users/llu/.m2/repository/jline/jline/0.9.94/jline-0.9.94.jar:/Users/llu/.m2/repository/com/google/guava/guava/11.0.2/guava-11.0.2.jar:/Users/llu/.m2/repository/org/mortbay/jetty/jetty/6.1.26/jetty-6.1.26.jar:/Users/llu/.m2/repository/org/mortbay/jetty/jetty-util/6.1.26/jetty-util-6.1.26.jar:/Users/llu/.m2/repository/com/sun/jersey/jersey-core/1.9/jersey-core-1.9.jar:/Users/llu/.m2/repository/com/sun/jersey/jersey-server/1.9/jersey-server-1.9.jar:/Users/llu/.m2/repository/asm/asm/3.2/asm-3.2.jar:/Users/llu/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar:/Users/llu/.m2/repository/commons-codec/commons-codec/1.4/commons-codec-1.4.jar:/Users/llu/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar:/Users/llu/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/Users/llu/.m2/repository/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar:/Users/llu/.m2/repository/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13.jar:/Users/llu/.m2/repository/javax/servlet/jsp/jsp-api/2.1/jsp-api-2.1.jar:/Users/llu/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar:/Users/llu/.m2/repository/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.jar:/Users/llu/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar:/Users/llu/.m2/repository/org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5.jar:/Users/llu/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.13/jackson-core-asl-1.9.13.jar:/Users/llu/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.13/jackson-mapper-asl-1.9.13.jar:/Users/llu/.m2/repository/tomcat/jasper-runtime/5.5.23/jasper-runtime-5.5.23.jar:/Users/llu/.m2/repository/xmlenc/xmlenc/0.52/xmlenc-0.52.jar:/Users/llu/.m2/repository/io/netty/netty/3.6.2.Final/netty-3.6.2.Final.jar:/Users/llu/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar:/Users/llu/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar:/Users/llu/.m2/repository/org/htrace/htrace-core/3.0.4/htrace-core-3.0.4.jar -sourcepath /Users/llu/hadoop-common/hadoop-hdfs-project/hadoop-hdfs/src/main/java -apidir /Users/llu/hadoop-common/hadoop-hdfs-project/hadoop-hdfs/target/site/jdiff/xml -apiname hadoop-core 2.6.0 -->
  11. <package name="org.apache.hadoop.fs">
  12. <!-- start class org.apache.hadoop.fs.BlockStorageLocation -->
  13. <class name="BlockStorageLocation" extends="org.apache.hadoop.fs.BlockLocation"
  14. abstract="false"
  15. static="false" final="false" visibility="public"
  16. deprecated="not deprecated">
  17. <constructor name="BlockStorageLocation" type="org.apache.hadoop.fs.BlockLocation, org.apache.hadoop.fs.VolumeId[]"
  18. static="false" final="false" visibility="public"
  19. deprecated="not deprecated">
  20. <exception name="IOException" type="java.io.IOException"/>
  21. </constructor>
  22. <method name="getVolumeIds" return="org.apache.hadoop.fs.VolumeId[]"
  23. abstract="false" native="false" synchronized="false"
  24. static="false" final="false" visibility="public"
  25. deprecated="not deprecated">
  26. <doc>
  27. <![CDATA[Gets the list of {@link VolumeId} corresponding to the block's replicas.
  28. @return volumeIds list of VolumeId for the block's replicas]]>
  29. </doc>
  30. </method>
  31. <doc>
  32. <![CDATA[Wrapper for {@link BlockLocation} that also adds {@link VolumeId} volume
  33. location information for each replica.]]>
  34. </doc>
  35. </class>
  36. <!-- end class org.apache.hadoop.fs.BlockStorageLocation -->
  37. <!-- start class org.apache.hadoop.fs.CacheFlag -->
  38. <class name="CacheFlag" extends="java.lang.Enum"
  39. abstract="false"
  40. static="false" final="true" visibility="public"
  41. deprecated="not deprecated">
  42. <method name="values" return="org.apache.hadoop.fs.CacheFlag[]"
  43. abstract="false" native="false" synchronized="false"
  44. static="true" final="false" visibility="public"
  45. deprecated="not deprecated">
  46. </method>
  47. <method name="valueOf" return="org.apache.hadoop.fs.CacheFlag"
  48. abstract="false" native="false" synchronized="false"
  49. static="true" final="false" visibility="public"
  50. deprecated="not deprecated">
  51. <param name="name" type="java.lang.String"/>
  52. </method>
  53. <doc>
  54. <![CDATA[Specifies semantics for CacheDirective operations. Multiple flags can
  55. be combined in an EnumSet.]]>
  56. </doc>
  57. </class>
  58. <!-- end class org.apache.hadoop.fs.CacheFlag -->
  59. <!-- start class org.apache.hadoop.fs.HdfsVolumeId -->
  60. <class name="HdfsVolumeId" extends="java.lang.Object"
  61. abstract="false"
  62. static="false" final="false" visibility="public"
  63. deprecated="not deprecated">
  64. <implements name="org.apache.hadoop.fs.VolumeId"/>
  65. <constructor name="HdfsVolumeId" type="byte[]"
  66. static="false" final="false" visibility="public"
  67. deprecated="not deprecated">
  68. </constructor>
  69. <method name="compareTo" return="int"
  70. abstract="false" native="false" synchronized="false"
  71. static="false" final="false" visibility="public"
  72. deprecated="not deprecated">
  73. <param name="arg0" type="org.apache.hadoop.fs.VolumeId"/>
  74. </method>
  75. <method name="hashCode" return="int"
  76. abstract="false" native="false" synchronized="false"
  77. static="false" final="false" visibility="public"
  78. deprecated="not deprecated">
  79. </method>
  80. <method name="equals" return="boolean"
  81. abstract="false" native="false" synchronized="false"
  82. static="false" final="false" visibility="public"
  83. deprecated="not deprecated">
  84. <param name="obj" type="java.lang.Object"/>
  85. </method>
  86. <method name="toString" return="java.lang.String"
  87. abstract="false" native="false" synchronized="false"
  88. static="false" final="false" visibility="public"
  89. deprecated="not deprecated">
  90. </method>
  91. <doc>
  92. <![CDATA[HDFS-specific volume identifier which implements {@link VolumeId}. Can be
  93. used to differentiate between the data directories on a single datanode. This
  94. identifier is only unique on a per-datanode basis.]]>
  95. </doc>
  96. </class>
  97. <!-- end class org.apache.hadoop.fs.HdfsVolumeId -->
  98. <!-- start interface org.apache.hadoop.fs.VolumeId -->
  99. <interface name="VolumeId" abstract="true"
  100. static="false" final="false" visibility="public"
  101. deprecated="not deprecated">
  102. <implements name="java.lang.Comparable"/>
  103. <method name="compareTo" return="int"
  104. abstract="false" native="false" synchronized="false"
  105. static="false" final="false" visibility="public"
  106. deprecated="not deprecated">
  107. <param name="arg0" type="org.apache.hadoop.fs.VolumeId"/>
  108. </method>
  109. <method name="hashCode" return="int"
  110. abstract="false" native="false" synchronized="false"
  111. static="false" final="false" visibility="public"
  112. deprecated="not deprecated">
  113. </method>
  114. <method name="equals" return="boolean"
  115. abstract="false" native="false" synchronized="false"
  116. static="false" final="false" visibility="public"
  117. deprecated="not deprecated">
  118. <param name="obj" type="java.lang.Object"/>
  119. </method>
  120. <doc>
  121. <![CDATA[Opaque interface that identifies a disk location. Subclasses
  122. should implement {@link Comparable} and override both equals and hashCode.]]>
  123. </doc>
  124. </interface>
  125. <!-- end interface org.apache.hadoop.fs.VolumeId -->
  126. <!-- start class org.apache.hadoop.fs.XAttr.Builder -->
  127. <class name="XAttr.Builder" extends="java.lang.Object"
  128. abstract="false"
  129. static="true" final="false" visibility="public"
  130. deprecated="not deprecated">
  131. <constructor name="XAttr.Builder"
  132. static="false" final="false" visibility="public"
  133. deprecated="not deprecated">
  134. </constructor>
  135. <method name="setNameSpace" return="org.apache.hadoop.fs.XAttr.Builder"
  136. abstract="false" native="false" synchronized="false"
  137. static="false" final="false" visibility="public"
  138. deprecated="not deprecated">
  139. <param name="ns" type="org.apache.hadoop.fs.XAttr.NameSpace"/>
  140. </method>
  141. <method name="setName" return="org.apache.hadoop.fs.XAttr.Builder"
  142. abstract="false" native="false" synchronized="false"
  143. static="false" final="false" visibility="public"
  144. deprecated="not deprecated">
  145. <param name="name" type="java.lang.String"/>
  146. </method>
  147. <method name="setValue" return="org.apache.hadoop.fs.XAttr.Builder"
  148. abstract="false" native="false" synchronized="false"
  149. static="false" final="false" visibility="public"
  150. deprecated="not deprecated">
  151. <param name="value" type="byte[]"/>
  152. </method>
  153. <method name="build" return="org.apache.hadoop.fs.XAttr"
  154. abstract="false" native="false" synchronized="false"
  155. static="false" final="false" visibility="public"
  156. deprecated="not deprecated">
  157. </method>
  158. </class>
  159. <!-- end class org.apache.hadoop.fs.XAttr.Builder -->
  160. <!-- start class org.apache.hadoop.fs.XAttr.NameSpace -->
  161. <class name="XAttr.NameSpace" extends="java.lang.Enum"
  162. abstract="false"
  163. static="true" final="true" visibility="public"
  164. deprecated="not deprecated">
  165. <method name="values" return="org.apache.hadoop.fs.XAttr.NameSpace[]"
  166. abstract="false" native="false" synchronized="false"
  167. static="true" final="false" visibility="public"
  168. deprecated="not deprecated">
  169. </method>
  170. <method name="valueOf" return="org.apache.hadoop.fs.XAttr.NameSpace"
  171. abstract="false" native="false" synchronized="false"
  172. static="true" final="false" visibility="public"
  173. deprecated="not deprecated">
  174. <param name="name" type="java.lang.String"/>
  175. </method>
  176. </class>
  177. <!-- end class org.apache.hadoop.fs.XAttr.NameSpace -->
  178. </package>
  179. <package name="org.apache.hadoop.hdfs">
  180. <!-- start interface org.apache.hadoop.hdfs.BlockReader -->
  181. <interface name="BlockReader" abstract="true"
  182. static="false" final="false" visibility="public"
  183. deprecated="not deprecated">
  184. <implements name="org.apache.hadoop.fs.ByteBufferReadable"/>
  185. <method name="read" return="int"
  186. abstract="false" native="false" synchronized="false"
  187. static="false" final="false" visibility="public"
  188. deprecated="not deprecated">
  189. <param name="buf" type="byte[]"/>
  190. <param name="off" type="int"/>
  191. <param name="len" type="int"/>
  192. <exception name="IOException" type="java.io.IOException"/>
  193. </method>
  194. <method name="skip" return="long"
  195. abstract="false" native="false" synchronized="false"
  196. static="false" final="false" visibility="public"
  197. deprecated="not deprecated">
  198. <param name="n" type="long"/>
  199. <exception name="IOException" type="java.io.IOException"/>
  200. <doc>
  201. <![CDATA[Skip the given number of bytes]]>
  202. </doc>
  203. </method>
  204. <method name="available" return="int"
  205. abstract="false" native="false" synchronized="false"
  206. static="false" final="false" visibility="public"
  207. deprecated="not deprecated">
  208. <exception name="IOException" type="java.io.IOException"/>
  209. <doc>
  210. <![CDATA[Returns an estimate of the number of bytes that can be read
  211. (or skipped over) from this input stream without performing
  212. network I/O.
  213. This may return more than what is actually present in the block.]]>
  214. </doc>
  215. </method>
  216. <method name="close"
  217. abstract="false" native="false" synchronized="false"
  218. static="false" final="false" visibility="public"
  219. deprecated="not deprecated">
  220. <exception name="IOException" type="java.io.IOException"/>
  221. <doc>
  222. <![CDATA[Close the block reader.
  223. @throws IOException]]>
  224. </doc>
  225. </method>
  226. <method name="readFully"
  227. abstract="false" native="false" synchronized="false"
  228. static="false" final="false" visibility="public"
  229. deprecated="not deprecated">
  230. <param name="buf" type="byte[]"/>
  231. <param name="readOffset" type="int"/>
  232. <param name="amtToRead" type="int"/>
  233. <exception name="IOException" type="java.io.IOException"/>
  234. <doc>
  235. <![CDATA[Read exactly the given amount of data, throwing an exception
  236. if EOF is reached before that amount]]>
  237. </doc>
  238. </method>
  239. <method name="readAll" return="int"
  240. abstract="false" native="false" synchronized="false"
  241. static="false" final="false" visibility="public"
  242. deprecated="not deprecated">
  243. <param name="buf" type="byte[]"/>
  244. <param name="offset" type="int"/>
  245. <param name="len" type="int"/>
  246. <exception name="IOException" type="java.io.IOException"/>
  247. <doc>
  248. <![CDATA[Similar to {@link #readFully(byte[], int, int)} except that it will
  249. not throw an exception on EOF. However, it differs from the simple
  250. {@link #read(byte[], int, int)} call in that it is guaranteed to
  251. read the data if it is available. In other words, if this call
  252. does not throw an exception, then either the buffer has been
  253. filled or the next call will return EOF.]]>
  254. </doc>
  255. </method>
  256. <method name="isLocal" return="boolean"
  257. abstract="false" native="false" synchronized="false"
  258. static="false" final="false" visibility="public"
  259. deprecated="not deprecated">
  260. <doc>
  261. <![CDATA[@return true only if this is a local read.]]>
  262. </doc>
  263. </method>
  264. <method name="isShortCircuit" return="boolean"
  265. abstract="false" native="false" synchronized="false"
  266. static="false" final="false" visibility="public"
  267. deprecated="not deprecated">
  268. <doc>
  269. <![CDATA[@return true only if this is a short-circuit read.
  270. All short-circuit reads are also local.]]>
  271. </doc>
  272. </method>
  273. <method name="getClientMmap" return="org.apache.hadoop.hdfs.shortcircuit.ClientMmap"
  274. abstract="false" native="false" synchronized="false"
  275. static="false" final="false" visibility="public"
  276. deprecated="not deprecated">
  277. <param name="opts" type="java.util.EnumSet"/>
  278. <doc>
  279. <![CDATA[Get a ClientMmap object for this BlockReader.
  280. @param opts The read options to use.
  281. @return The ClientMmap object, or null if mmap is not
  282. supported.]]>
  283. </doc>
  284. </method>
  285. <doc>
  286. <![CDATA[A BlockReader is responsible for reading a single block
  287. from a single datanode.]]>
  288. </doc>
  289. </interface>
  290. <!-- end interface org.apache.hadoop.hdfs.BlockReader -->
  291. <!-- start class org.apache.hadoop.hdfs.BlockReaderFactory.BlockReaderPeer -->
  292. <class name="BlockReaderFactory.BlockReaderPeer" extends="java.lang.Object"
  293. abstract="false"
  294. static="true" final="false" visibility="public"
  295. deprecated="not deprecated">
  296. </class>
  297. <!-- end class org.apache.hadoop.hdfs.BlockReaderFactory.BlockReaderPeer -->
  298. <!-- start class org.apache.hadoop.hdfs.CorruptFileBlockIterator -->
  299. <class name="CorruptFileBlockIterator" extends="java.lang.Object"
  300. abstract="false"
  301. static="false" final="false" visibility="public"
  302. deprecated="not deprecated">
  303. <implements name="org.apache.hadoop.fs.RemoteIterator"/>
  304. <constructor name="CorruptFileBlockIterator" type="org.apache.hadoop.hdfs.DFSClient, org.apache.hadoop.fs.Path"
  305. static="false" final="false" visibility="public"
  306. deprecated="not deprecated">
  307. <exception name="IOException" type="java.io.IOException"/>
  308. </constructor>
  309. <method name="getCallsMade" return="int"
  310. abstract="false" native="false" synchronized="false"
  311. static="false" final="false" visibility="public"
  312. deprecated="not deprecated">
  313. <doc>
  314. <![CDATA[@return the number of calls made to the DFSClient.
  315. This is for debugging and testing purposes.]]>
  316. </doc>
  317. </method>
  318. <method name="hasNext" return="boolean"
  319. abstract="false" native="false" synchronized="false"
  320. static="false" final="false" visibility="public"
  321. deprecated="not deprecated">
  322. </method>
  323. <method name="next" return="org.apache.hadoop.fs.Path"
  324. abstract="false" native="false" synchronized="false"
  325. static="false" final="false" visibility="public"
  326. deprecated="not deprecated">
  327. <exception name="IOException" type="java.io.IOException"/>
  328. </method>
  329. <doc>
  330. <![CDATA[Provides an iterator interface for listCorruptFileBlocks.
  331. This class is used by DistributedFileSystem and Hdfs.]]>
  332. </doc>
  333. </class>
  334. <!-- end class org.apache.hadoop.hdfs.CorruptFileBlockIterator -->
  335. <!-- start class org.apache.hadoop.hdfs.DFSClient.Conf -->
  336. <class name="DFSClient.Conf" extends="java.lang.Object"
  337. abstract="false"
  338. static="true" final="false" visibility="public"
  339. deprecated="not deprecated">
  340. <constructor name="DFSClient.Conf" type="org.apache.hadoop.conf.Configuration"
  341. static="false" final="false" visibility="public"
  342. deprecated="not deprecated">
  343. </constructor>
  344. <method name="isUseLegacyBlockReaderLocal" return="boolean"
  345. abstract="false" native="false" synchronized="false"
  346. static="false" final="false" visibility="public"
  347. deprecated="not deprecated">
  348. </method>
  349. <method name="getDomainSocketPath" return="java.lang.String"
  350. abstract="false" native="false" synchronized="false"
  351. static="false" final="false" visibility="public"
  352. deprecated="not deprecated">
  353. </method>
  354. <method name="isShortCircuitLocalReads" return="boolean"
  355. abstract="false" native="false" synchronized="false"
  356. static="false" final="false" visibility="public"
  357. deprecated="not deprecated">
  358. </method>
  359. <method name="isDomainSocketDataTraffic" return="boolean"
  360. abstract="false" native="false" synchronized="false"
  361. static="false" final="false" visibility="public"
  362. deprecated="not deprecated">
  363. </method>
  364. <doc>
  365. <![CDATA[DFSClient configuration]]>
  366. </doc>
  367. </class>
  368. <!-- end class org.apache.hadoop.hdfs.DFSClient.Conf -->
  369. <!-- start class org.apache.hadoop.hdfs.DFSClient.DFSDataInputStream -->
  370. <class name="DFSClient.DFSDataInputStream" extends="org.apache.hadoop.hdfs.client.HdfsDataInputStream"
  371. abstract="false"
  372. static="true" final="false" visibility="public"
  373. deprecated="use {@link HdfsDataInputStream} instead.">
  374. <constructor name="DFSClient.DFSDataInputStream" type="org.apache.hadoop.hdfs.DFSInputStream"
  375. static="false" final="false" visibility="public"
  376. deprecated="not deprecated">
  377. <exception name="IOException" type="java.io.IOException"/>
  378. </constructor>
  379. <doc>
  380. <![CDATA[@deprecated use {@link HdfsDataInputStream} instead.]]>
  381. </doc>
  382. </class>
  383. <!-- end class org.apache.hadoop.hdfs.DFSClient.DFSDataInputStream -->
  384. <!-- start class org.apache.hadoop.hdfs.DFSHedgedReadMetrics -->
  385. <class name="DFSHedgedReadMetrics" extends="java.lang.Object"
  386. abstract="false"
  387. static="false" final="false" visibility="public"
  388. deprecated="not deprecated">
  389. <constructor name="DFSHedgedReadMetrics"
  390. static="false" final="false" visibility="public"
  391. deprecated="not deprecated">
  392. </constructor>
  393. <method name="incHedgedReadOps"
  394. abstract="false" native="false" synchronized="false"
  395. static="false" final="false" visibility="public"
  396. deprecated="not deprecated">
  397. </method>
  398. <method name="incHedgedReadOpsInCurThread"
  399. abstract="false" native="false" synchronized="false"
  400. static="false" final="false" visibility="public"
  401. deprecated="not deprecated">
  402. </method>
  403. <method name="incHedgedReadWins"
  404. abstract="false" native="false" synchronized="false"
  405. static="false" final="false" visibility="public"
  406. deprecated="not deprecated">
  407. </method>
  408. <method name="getHedgedReadOps" return="long"
  409. abstract="false" native="false" synchronized="false"
  410. static="false" final="false" visibility="public"
  411. deprecated="not deprecated">
  412. </method>
  413. <method name="getHedgedReadOpsInCurThread" return="long"
  414. abstract="false" native="false" synchronized="false"
  415. static="false" final="false" visibility="public"
  416. deprecated="not deprecated">
  417. </method>
  418. <method name="getHedgedReadWins" return="long"
  419. abstract="false" native="false" synchronized="false"
  420. static="false" final="false" visibility="public"
  421. deprecated="not deprecated">
  422. </method>
  423. <field name="hedgedReadOps" type="java.util.concurrent.atomic.AtomicLong"
  424. transient="false" volatile="false"
  425. static="false" final="true" visibility="public"
  426. deprecated="not deprecated">
  427. </field>
  428. <field name="hedgedReadOpsWin" type="java.util.concurrent.atomic.AtomicLong"
  429. transient="false" volatile="false"
  430. static="false" final="true" visibility="public"
  431. deprecated="not deprecated">
  432. </field>
  433. <field name="hedgedReadOpsInCurThread" type="java.util.concurrent.atomic.AtomicLong"
  434. transient="false" volatile="false"
  435. static="false" final="true" visibility="public"
  436. deprecated="not deprecated">
  437. </field>
  438. <doc>
  439. <![CDATA[The client-side metrics for hedged read feature.
  440. This class has a number of metrics variables that are publicly accessible,
  441. we can grab them from client side, like HBase.]]>
  442. </doc>
  443. </class>
  444. <!-- end class org.apache.hadoop.hdfs.DFSHedgedReadMetrics -->
  445. <!-- start class org.apache.hadoop.hdfs.DFSInotifyEventInputStream -->
  446. <class name="DFSInotifyEventInputStream" extends="java.lang.Object"
  447. abstract="false"
  448. static="false" final="false" visibility="public"
  449. deprecated="not deprecated">
  450. <method name="poll" return="org.apache.hadoop.hdfs.inotify.Event"
  451. abstract="false" native="false" synchronized="false"
  452. static="false" final="false" visibility="public"
  453. deprecated="not deprecated">
  454. <exception name="IOException" type="java.io.IOException"/>
  455. <exception name="MissingEventsException" type="org.apache.hadoop.hdfs.inotify.MissingEventsException"/>
  456. <doc>
  457. <![CDATA[Returns the next event in the stream or null if no new events are currently
  458. available.
  459. @throws IOException because of network error or edit log
  460. corruption. Also possible if JournalNodes are unresponsive in the
  461. QJM setting (even one unresponsive JournalNode is enough in rare cases),
  462. so catching this exception and retrying at least a few times is
  463. recommended.
  464. @throws MissingEventsException if we cannot return the next event in the
  465. stream because the data for the event (and possibly some subsequent events)
  466. has been deleted (generally because this stream is a very large number of
  467. events behind the current state of the NameNode). It is safe to continue
  468. reading from the stream after this exception is thrown -- the next
  469. available event will be returned.]]>
  470. </doc>
  471. </method>
  472. <method name="getEventsBehindEstimate" return="long"
  473. abstract="false" native="false" synchronized="false"
  474. static="false" final="false" visibility="public"
  475. deprecated="not deprecated">
  476. <doc>
  477. <![CDATA[Return a estimate of how many events behind the NameNode's current state
  478. this stream is. Clients should periodically call this method and check if
  479. its result is steadily increasing, which indicates that they are falling
  480. behind (i.e. events are being generated faster than the client is reading
  481. them). If a client falls too far behind events may be deleted before the
  482. client can read them.
  483. <p/>
  484. A return value of -1 indicates that an estimate could not be produced, and
  485. should be ignored. The value returned by this method is really only useful
  486. when compared to previous or subsequent returned values.]]>
  487. </doc>
  488. </method>
  489. <method name="poll" return="org.apache.hadoop.hdfs.inotify.Event"
  490. abstract="false" native="false" synchronized="false"
  491. static="false" final="false" visibility="public"
  492. deprecated="not deprecated">
  493. <param name="time" type="long"/>
  494. <param name="tu" type="java.util.concurrent.TimeUnit"/>
  495. <exception name="IOException" type="java.io.IOException"/>
  496. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  497. <exception name="MissingEventsException" type="org.apache.hadoop.hdfs.inotify.MissingEventsException"/>
  498. <doc>
  499. <![CDATA[Returns the next event in the stream, waiting up to the specified amount of
  500. time for a new event. Returns null if a new event is not available at the
  501. end of the specified amount of time. The time before the method returns may
  502. exceed the specified amount of time by up to the time required for an RPC
  503. to the NameNode.
  504. @param time number of units of the given TimeUnit to wait
  505. @param tu the desired TimeUnit
  506. @throws IOException see {@link DFSInotifyEventInputStream#poll()}
  507. @throws MissingEventsException
  508. see {@link DFSInotifyEventInputStream#poll()}
  509. @throws InterruptedException if the calling thread is interrupted]]>
  510. </doc>
  511. </method>
  512. <method name="take" return="org.apache.hadoop.hdfs.inotify.Event"
  513. abstract="false" native="false" synchronized="false"
  514. static="false" final="false" visibility="public"
  515. deprecated="not deprecated">
  516. <exception name="IOException" type="java.io.IOException"/>
  517. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  518. <exception name="MissingEventsException" type="org.apache.hadoop.hdfs.inotify.MissingEventsException"/>
  519. <doc>
  520. <![CDATA[Returns the next event in the stream, waiting indefinitely if a new event
  521. is not immediately available.
  522. @throws IOException see {@link DFSInotifyEventInputStream#poll()}
  523. @throws MissingEventsException see
  524. {@link DFSInotifyEventInputStream#poll()}
  525. @throws InterruptedException if the calling thread is interrupted]]>
  526. </doc>
  527. </method>
  528. <field name="LOG" type="org.slf4j.Logger"
  529. transient="false" volatile="false"
  530. static="true" final="false" visibility="public"
  531. deprecated="not deprecated">
  532. </field>
  533. <doc>
  534. <![CDATA[Stream for reading inotify events. DFSInotifyEventInputStreams should not
  535. be shared among multiple threads.]]>
  536. </doc>
  537. </class>
  538. <!-- end class org.apache.hadoop.hdfs.DFSInotifyEventInputStream -->
  539. <!-- start class org.apache.hadoop.hdfs.DFSInputStream.ReadStatistics -->
  540. <class name="DFSInputStream.ReadStatistics" extends="java.lang.Object"
  541. abstract="false"
  542. static="true" final="false" visibility="public"
  543. deprecated="not deprecated">
  544. <constructor name="DFSInputStream.ReadStatistics"
  545. static="false" final="false" visibility="public"
  546. deprecated="not deprecated">
  547. </constructor>
  548. <constructor name="DFSInputStream.ReadStatistics" type="org.apache.hadoop.hdfs.DFSInputStream.ReadStatistics"
  549. static="false" final="false" visibility="public"
  550. deprecated="not deprecated">
  551. </constructor>
  552. <method name="getTotalBytesRead" return="long"
  553. abstract="false" native="false" synchronized="false"
  554. static="false" final="false" visibility="public"
  555. deprecated="not deprecated">
  556. <doc>
  557. <![CDATA[@return The total bytes read. This will always be at least as
  558. high as the other numbers, since it includes all of them.]]>
  559. </doc>
  560. </method>
  561. <method name="getTotalLocalBytesRead" return="long"
  562. abstract="false" native="false" synchronized="false"
  563. static="false" final="false" visibility="public"
  564. deprecated="not deprecated">
  565. <doc>
  566. <![CDATA[@return The total local bytes read. This will always be at least
  567. as high as totalShortCircuitBytesRead, since all short-circuit
  568. reads are also local.]]>
  569. </doc>
  570. </method>
  571. <method name="getTotalShortCircuitBytesRead" return="long"
  572. abstract="false" native="false" synchronized="false"
  573. static="false" final="false" visibility="public"
  574. deprecated="not deprecated">
  575. <doc>
  576. <![CDATA[@return The total short-circuit local bytes read.]]>
  577. </doc>
  578. </method>
  579. <method name="getTotalZeroCopyBytesRead" return="long"
  580. abstract="false" native="false" synchronized="false"
  581. static="false" final="false" visibility="public"
  582. deprecated="not deprecated">
  583. <doc>
  584. <![CDATA[@return The total number of zero-copy bytes read.]]>
  585. </doc>
  586. </method>
  587. <method name="getRemoteBytesRead" return="long"
  588. abstract="false" native="false" synchronized="false"
  589. static="false" final="false" visibility="public"
  590. deprecated="not deprecated">
  591. <doc>
  592. <![CDATA[@return The total number of bytes read which were not local.]]>
  593. </doc>
  594. </method>
  595. </class>
  596. <!-- end class org.apache.hadoop.hdfs.DFSInputStream.ReadStatistics -->
  597. <!-- start class org.apache.hadoop.hdfs.DFSUtil.ConfiguredNNAddress -->
  598. <class name="DFSUtil.ConfiguredNNAddress" extends="java.lang.Object"
  599. abstract="false"
  600. static="true" final="false" visibility="public"
  601. deprecated="not deprecated">
  602. <method name="getNameserviceId" return="java.lang.String"
  603. abstract="false" native="false" synchronized="false"
  604. static="false" final="false" visibility="public"
  605. deprecated="not deprecated">
  606. </method>
  607. <method name="getNamenodeId" return="java.lang.String"
  608. abstract="false" native="false" synchronized="false"
  609. static="false" final="false" visibility="public"
  610. deprecated="not deprecated">
  611. </method>
  612. <method name="getAddress" return="java.net.InetSocketAddress"
  613. abstract="false" native="false" synchronized="false"
  614. static="false" final="false" visibility="public"
  615. deprecated="not deprecated">
  616. </method>
  617. <method name="toString" return="java.lang.String"
  618. abstract="false" native="false" synchronized="false"
  619. static="false" final="false" visibility="public"
  620. deprecated="not deprecated">
  621. </method>
  622. <doc>
  623. <![CDATA[Represent one of the NameNodes configured in the cluster.]]>
  624. </doc>
  625. </class>
  626. <!-- end class org.apache.hadoop.hdfs.DFSUtil.ConfiguredNNAddress -->
  627. <!-- start class org.apache.hadoop.hdfs.ExtendedBlockId -->
  628. <class name="ExtendedBlockId" extends="java.lang.Object"
  629. abstract="false"
  630. static="false" final="true" visibility="public"
  631. deprecated="not deprecated">
  632. <constructor name="ExtendedBlockId" type="long, java.lang.String"
  633. static="false" final="false" visibility="public"
  634. deprecated="not deprecated">
  635. </constructor>
  636. <method name="fromExtendedBlock" return="org.apache.hadoop.hdfs.ExtendedBlockId"
  637. abstract="false" native="false" synchronized="false"
  638. static="true" final="false" visibility="public"
  639. deprecated="not deprecated">
  640. <param name="block" type="org.apache.hadoop.hdfs.protocol.ExtendedBlock"/>
  641. </method>
  642. <method name="getBlockId" return="long"
  643. abstract="false" native="false" synchronized="false"
  644. static="false" final="false" visibility="public"
  645. deprecated="not deprecated">
  646. </method>
  647. <method name="getBlockPoolId" return="java.lang.String"
  648. abstract="false" native="false" synchronized="false"
  649. static="false" final="false" visibility="public"
  650. deprecated="not deprecated">
  651. </method>
  652. <method name="equals" return="boolean"
  653. abstract="false" native="false" synchronized="false"
  654. static="false" final="false" visibility="public"
  655. deprecated="not deprecated">
  656. <param name="o" type="java.lang.Object"/>
  657. </method>
  658. <method name="hashCode" return="int"
  659. abstract="false" native="false" synchronized="false"
  660. static="false" final="false" visibility="public"
  661. deprecated="not deprecated">
  662. </method>
  663. <method name="toString" return="java.lang.String"
  664. abstract="false" native="false" synchronized="false"
  665. static="false" final="false" visibility="public"
  666. deprecated="not deprecated">
  667. </method>
  668. <doc>
  669. <![CDATA[An immutable key which identifies a block.]]>
  670. </doc>
  671. </class>
  672. <!-- end class org.apache.hadoop.hdfs.ExtendedBlockId -->
  673. <!-- start class org.apache.hadoop.hdfs.HAUtil -->
  674. <class name="HAUtil" extends="java.lang.Object"
  675. abstract="false"
  676. static="false" final="false" visibility="public"
  677. deprecated="not deprecated">
  678. <method name="isHAEnabled" return="boolean"
  679. abstract="false" native="false" synchronized="false"
  680. static="true" final="false" visibility="public"
  681. deprecated="not deprecated">
  682. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  683. <param name="nsId" type="java.lang.String"/>
  684. <doc>
  685. <![CDATA[Returns true if HA for namenode is configured for the given nameservice
  686. @param conf Configuration
  687. @param nsId nameservice, or null if no federated NS is configured
  688. @return true if HA is configured in the configuration; else false.]]>
  689. </doc>
  690. </method>
  691. <method name="usesSharedEditsDir" return="boolean"
  692. abstract="false" native="false" synchronized="false"
  693. static="true" final="false" visibility="public"
  694. deprecated="not deprecated">
  695. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  696. <doc>
  697. <![CDATA[Returns true if HA is using a shared edits directory.
  698. @param conf Configuration
  699. @return true if HA config is using a shared edits dir, false otherwise.]]>
  700. </doc>
  701. </method>
  702. <method name="getNameNodeId" return="java.lang.String"
  703. abstract="false" native="false" synchronized="false"
  704. static="true" final="false" visibility="public"
  705. deprecated="not deprecated">
  706. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  707. <param name="nsId" type="java.lang.String"/>
  708. <doc>
  709. <![CDATA[Get the namenode Id by matching the {@code addressKey}
  710. with the the address of the local node.
  711. If {@link DFSConfigKeys#DFS_HA_NAMENODE_ID_KEY} is not specifically
  712. configured, this method determines the namenode Id by matching the local
  713. node's address with the configured addresses. When a match is found, it
  714. returns the namenode Id from the corresponding configuration key.
  715. @param conf Configuration
  716. @return namenode Id on success, null on failure.
  717. @throws HadoopIllegalArgumentException on error]]>
  718. </doc>
  719. </method>
  720. <method name="getNameNodeIdFromAddress" return="java.lang.String"
  721. abstract="false" native="false" synchronized="false"
  722. static="true" final="false" visibility="public"
  723. deprecated="not deprecated">
  724. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  725. <param name="address" type="java.net.InetSocketAddress"/>
  726. <param name="keys" type="java.lang.String[]"/>
  727. <doc>
  728. <![CDATA[Similar to
  729. {@link DFSUtil#getNameServiceIdFromAddress(Configuration,
  730. InetSocketAddress, String...)}]]>
  731. </doc>
  732. </method>
  733. <method name="getNameNodeIdOfOtherNode" return="java.lang.String"
  734. abstract="false" native="false" synchronized="false"
  735. static="true" final="false" visibility="public"
  736. deprecated="not deprecated">
  737. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  738. <param name="nsId" type="java.lang.String"/>
  739. <doc>
  740. <![CDATA[Get the NN ID of the other node in an HA setup.
  741. @param conf the configuration of this node
  742. @return the NN ID of the other node in this nameservice]]>
  743. </doc>
  744. </method>
  745. <method name="getConfForOtherNode" return="org.apache.hadoop.conf.Configuration"
  746. abstract="false" native="false" synchronized="false"
  747. static="true" final="false" visibility="public"
  748. deprecated="not deprecated">
  749. <param name="myConf" type="org.apache.hadoop.conf.Configuration"/>
  750. <doc>
  751. <![CDATA[Given the configuration for this node, return a Configuration object for
  752. the other node in an HA setup.
  753. @param myConf the configuration of this node
  754. @return the configuration of the other node in an HA setup]]>
  755. </doc>
  756. </method>
  757. <method name="shouldAllowStandbyReads" return="boolean"
  758. abstract="false" native="false" synchronized="false"
  759. static="true" final="false" visibility="public"
  760. deprecated="not deprecated">
  761. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  762. <doc>
  763. <![CDATA[This is used only by tests at the moment.
  764. @return true if the NN should allow read operations while in standby mode.]]>
  765. </doc>
  766. </method>
  767. <method name="setAllowStandbyReads"
  768. abstract="false" native="false" synchronized="false"
  769. static="true" final="false" visibility="public"
  770. deprecated="not deprecated">
  771. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  772. <param name="val" type="boolean"/>
  773. </method>
  774. <method name="isLogicalUri" return="boolean"
  775. abstract="false" native="false" synchronized="false"
  776. static="true" final="false" visibility="public"
  777. deprecated="not deprecated">
  778. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  779. <param name="nameNodeUri" type="java.net.URI"/>
  780. <doc>
  781. <![CDATA[@return true if the given nameNodeUri appears to be a logical URI.]]>
  782. </doc>
  783. </method>
  784. <method name="isClientFailoverConfigured" return="boolean"
  785. abstract="false" native="false" synchronized="false"
  786. static="true" final="false" visibility="public"
  787. deprecated="not deprecated">
  788. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  789. <param name="nameNodeUri" type="java.net.URI"/>
  790. <doc>
  791. <![CDATA[Check whether the client has a failover proxy provider configured
  792. for the namenode/nameservice.
  793. @param conf Configuration
  794. @param nameNodeUri The URI of namenode
  795. @return true if failover is configured.]]>
  796. </doc>
  797. </method>
  798. <method name="useLogicalUri" return="boolean"
  799. abstract="false" native="false" synchronized="false"
  800. static="true" final="false" visibility="public"
  801. deprecated="not deprecated">
  802. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  803. <param name="nameNodeUri" type="java.net.URI"/>
  804. <exception name="IOException" type="java.io.IOException"/>
  805. <doc>
  806. <![CDATA[Check whether logical URI is needed for the namenode and
  807. the corresponding failover proxy provider in the config.
  808. @param conf Configuration
  809. @param nameNodeUri The URI of namenode
  810. @return true if logical URI is needed. false, if not needed.
  811. @throws IOException most likely due to misconfiguration.]]>
  812. </doc>
  813. </method>
  814. <method name="getServiceUriFromToken" return="java.net.URI"
  815. abstract="false" native="false" synchronized="false"
  816. static="true" final="false" visibility="public"
  817. deprecated="not deprecated">
  818. <param name="scheme" type="java.lang.String"/>
  819. <param name="token" type="org.apache.hadoop.security.token.Token"/>
  820. <doc>
  821. <![CDATA[Parse the file system URI out of the provided token.]]>
  822. </doc>
  823. </method>
  824. <method name="buildTokenServiceForLogicalUri" return="org.apache.hadoop.io.Text"
  825. abstract="false" native="false" synchronized="false"
  826. static="true" final="false" visibility="public"
  827. deprecated="not deprecated">
  828. <param name="uri" type="java.net.URI"/>
  829. <param name="scheme" type="java.lang.String"/>
  830. <doc>
  831. <![CDATA[Get the service name used in the delegation token for the given logical
  832. HA service.
  833. @param uri the logical URI of the cluster
  834. @param scheme the scheme of the corresponding FileSystem
  835. @return the service name]]>
  836. </doc>
  837. </method>
  838. <method name="isTokenForLogicalUri" return="boolean"
  839. abstract="false" native="false" synchronized="false"
  840. static="true" final="false" visibility="public"
  841. deprecated="not deprecated">
  842. <param name="token" type="org.apache.hadoop.security.token.Token"/>
  843. <doc>
  844. <![CDATA[@return true if this token corresponds to a logical nameservice
  845. rather than a specific namenode.]]>
  846. </doc>
  847. </method>
  848. <method name="buildTokenServicePrefixForLogicalUri" return="java.lang.String"
  849. abstract="false" native="false" synchronized="false"
  850. static="true" final="false" visibility="public"
  851. deprecated="not deprecated">
  852. <param name="scheme" type="java.lang.String"/>
  853. </method>
  854. <method name="cloneDelegationTokenForLogicalUri"
  855. abstract="false" native="false" synchronized="false"
  856. static="true" final="false" visibility="public"
  857. deprecated="not deprecated">
  858. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  859. <param name="haUri" type="java.net.URI"/>
  860. <param name="nnAddrs" type="java.util.Collection"/>
  861. <doc>
  862. <![CDATA[Locate a delegation token associated with the given HA cluster URI, and if
  863. one is found, clone it to also represent the underlying namenode address.
  864. @param ugi the UGI to modify
  865. @param haUri the logical URI for the cluster
  866. @param nnAddrs collection of NNs in the cluster to which the token
  867. applies]]>
  868. </doc>
  869. </method>
  870. <method name="getAddressOfActive" return="java.net.InetSocketAddress"
  871. abstract="false" native="false" synchronized="false"
  872. static="true" final="false" visibility="public"
  873. deprecated="not deprecated">
  874. <param name="fs" type="org.apache.hadoop.fs.FileSystem"/>
  875. <exception name="IOException" type="java.io.IOException"/>
  876. <doc>
  877. <![CDATA[Get the internet address of the currently-active NN. This should rarely be
  878. used, since callers of this method who connect directly to the NN using the
  879. resulting InetSocketAddress will not be able to connect to the active NN if
  880. a failover were to occur after this method has been called.
  881. @param fs the file system to get the active address of.
  882. @return the internet address of the currently-active NN.
  883. @throws IOException if an error occurs while resolving the active NN.]]>
  884. </doc>
  885. </method>
  886. <method name="getProxiesForAllNameNodesInNameservice" return="java.util.List"
  887. abstract="false" native="false" synchronized="false"
  888. static="true" final="false" visibility="public"
  889. deprecated="not deprecated">
  890. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  891. <param name="nsId" type="java.lang.String"/>
  892. <exception name="IOException" type="java.io.IOException"/>
  893. <doc>
  894. <![CDATA[Get an RPC proxy for each NN in an HA nameservice. Used when a given RPC
  895. call should be made on every NN in an HA nameservice, not just the active.
  896. @param conf configuration
  897. @param nsId the nameservice to get all of the proxies for.
  898. @return a list of RPC proxies for each NN in the nameservice.
  899. @throws IOException in the event of error.]]>
  900. </doc>
  901. </method>
  902. <method name="getProxiesForAllNameNodesInNameservice" return="java.util.List"
  903. abstract="false" native="false" synchronized="false"
  904. static="true" final="false" visibility="public"
  905. deprecated="not deprecated">
  906. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  907. <param name="nsId" type="java.lang.String"/>
  908. <param name="xface" type="java.lang.Class"/>
  909. <exception name="IOException" type="java.io.IOException"/>
  910. <doc>
  911. <![CDATA[Get an RPC proxy for each NN in an HA nameservice. Used when a given RPC
  912. call should be made on every NN in an HA nameservice, not just the active.
  913. @param conf configuration
  914. @param nsId the nameservice to get all of the proxies for.
  915. @param xface the protocol class.
  916. @return a list of RPC proxies for each NN in the nameservice.
  917. @throws IOException in the event of error.]]>
  918. </doc>
  919. </method>
  920. <method name="isAtLeastOneActive" return="boolean"
  921. abstract="false" native="false" synchronized="false"
  922. static="true" final="false" visibility="public"
  923. deprecated="not deprecated">
  924. <param name="namenodes" type="java.util.List"/>
  925. <exception name="IOException" type="java.io.IOException"/>
  926. <doc>
  927. <![CDATA[Used to ensure that at least one of the given HA NNs is currently in the
  928. active state..
  929. @param namenodes list of RPC proxies for each NN to check.
  930. @return true if at least one NN is active, false if all are in the standby state.
  931. @throws IOException in the event of error.]]>
  932. </doc>
  933. </method>
  934. </class>
  935. <!-- end class org.apache.hadoop.hdfs.HAUtil -->
  936. <!-- start class org.apache.hadoop.hdfs.NameNodeProxies -->
  937. <class name="NameNodeProxies" extends="java.lang.Object"
  938. abstract="false"
  939. static="false" final="false" visibility="public"
  940. deprecated="not deprecated">
  941. <constructor name="NameNodeProxies"
  942. static="false" final="false" visibility="public"
  943. deprecated="not deprecated">
  944. </constructor>
  945. <method name="createProxy" return="org.apache.hadoop.hdfs.NameNodeProxies.ProxyAndInfo"
  946. abstract="false" native="false" synchronized="false"
  947. static="true" final="false" visibility="public"
  948. deprecated="not deprecated">
  949. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  950. <param name="nameNodeUri" type="java.net.URI"/>
  951. <param name="xface" type="java.lang.Class"/>
  952. <exception name="IOException" type="java.io.IOException"/>
  953. <doc>
  954. <![CDATA[Creates the namenode proxy with the passed protocol. This will handle
  955. creation of either HA- or non-HA-enabled proxy objects, depending upon
  956. if the provided URI is a configured logical URI.
  957. @param conf the configuration containing the required IPC
  958. properties, client failover configurations, etc.
  959. @param nameNodeUri the URI pointing either to a specific NameNode
  960. or to a logical nameservice.
  961. @param xface the IPC interface which should be created
  962. @return an object containing both the proxy and the associated
  963. delegation token service it corresponds to
  964. @throws IOException if there is an error creating the proxy]]>
  965. </doc>
  966. </method>
  967. <method name="createProxy" return="org.apache.hadoop.hdfs.NameNodeProxies.ProxyAndInfo"
  968. abstract="false" native="false" synchronized="false"
  969. static="true" final="false" visibility="public"
  970. deprecated="not deprecated">
  971. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  972. <param name="nameNodeUri" type="java.net.URI"/>
  973. <param name="xface" type="java.lang.Class"/>
  974. <param name="fallbackToSimpleAuth" type="java.util.concurrent.atomic.AtomicBoolean"/>
  975. <exception name="IOException" type="java.io.IOException"/>
  976. <doc>
  977. <![CDATA[Creates the namenode proxy with the passed protocol. This will handle
  978. creation of either HA- or non-HA-enabled proxy objects, depending upon
  979. if the provided URI is a configured logical URI.
  980. @param conf the configuration containing the required IPC
  981. properties, client failover configurations, etc.
  982. @param nameNodeUri the URI pointing either to a specific NameNode
  983. or to a logical nameservice.
  984. @param xface the IPC interface which should be created
  985. @param fallbackToSimpleAuth set to true or false during calls to indicate if
  986. a secure client falls back to simple auth
  987. @return an object containing both the proxy and the associated
  988. delegation token service it corresponds to
  989. @throws IOException if there is an error creating the proxy]]>
  990. </doc>
  991. </method>
  992. <method name="createProxyWithLossyRetryHandler" return="org.apache.hadoop.hdfs.NameNodeProxies.ProxyAndInfo"
  993. abstract="false" native="false" synchronized="false"
  994. static="true" final="false" visibility="public"
  995. deprecated="not deprecated">
  996. <param name="config" type="org.apache.hadoop.conf.Configuration"/>
  997. <param name="nameNodeUri" type="java.net.URI"/>
  998. <param name="xface" type="java.lang.Class"/>
  999. <param name="numResponseToDrop" type="int"/>
  1000. <param name="fallbackToSimpleAuth" type="java.util.concurrent.atomic.AtomicBoolean"/>
  1001. <exception name="IOException" type="java.io.IOException"/>
  1002. <doc>
  1003. <![CDATA[Generate a dummy namenode proxy instance that utilizes our hacked
  1004. {@link LossyRetryInvocationHandler}. Proxy instance generated using this
  1005. method will proactively drop RPC responses. Currently this method only
  1006. support HA setup. null will be returned if the given configuration is not
  1007. for HA.
  1008. @param config the configuration containing the required IPC
  1009. properties, client failover configurations, etc.
  1010. @param nameNodeUri the URI pointing either to a specific NameNode
  1011. or to a logical nameservice.
  1012. @param xface the IPC interface which should be created
  1013. @param numResponseToDrop The number of responses to drop for each RPC call
  1014. @param fallbackToSimpleAuth set to true or false during calls to indicate if
  1015. a secure client falls back to simple auth
  1016. @return an object containing both the proxy and the associated
  1017. delegation token service it corresponds to. Will return null of the
  1018. given configuration does not support HA.
  1019. @throws IOException if there is an error creating the proxy]]>
  1020. </doc>
  1021. </method>
  1022. <method name="createNonHAProxy" return="org.apache.hadoop.hdfs.NameNodeProxies.ProxyAndInfo"
  1023. abstract="false" native="false" synchronized="false"
  1024. static="true" final="false" visibility="public"
  1025. deprecated="not deprecated">
  1026. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  1027. <param name="nnAddr" type="java.net.InetSocketAddress"/>
  1028. <param name="xface" type="java.lang.Class"/>
  1029. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  1030. <param name="withRetries" type="boolean"/>
  1031. <exception name="IOException" type="java.io.IOException"/>
  1032. <doc>
  1033. <![CDATA[Creates an explicitly non-HA-enabled proxy object. Most of the time you
  1034. don't want to use this, and should instead use {@link NameNodeProxies#createProxy}.
  1035. @param conf the configuration object
  1036. @param nnAddr address of the remote NN to connect to
  1037. @param xface the IPC interface which should be created
  1038. @param ugi the user who is making the calls on the proxy object
  1039. @param withRetries certain interfaces have a non-standard retry policy
  1040. @return an object containing both the proxy and the associated
  1041. delegation token service it corresponds to
  1042. @throws IOException]]>
  1043. </doc>
  1044. </method>
  1045. <method name="createNonHAProxy" return="org.apache.hadoop.hdfs.NameNodeProxies.ProxyAndInfo"
  1046. abstract="false" native="false" synchronized="false"
  1047. static="true" final="false" visibility="public"
  1048. deprecated="not deprecated">
  1049. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  1050. <param name="nnAddr" type="java.net.InetSocketAddress"/>
  1051. <param name="xface" type="java.lang.Class"/>
  1052. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  1053. <param name="withRetries" type="boolean"/>
  1054. <param name="fallbackToSimpleAuth" type="java.util.concurrent.atomic.AtomicBoolean"/>
  1055. <exception name="IOException" type="java.io.IOException"/>
  1056. <doc>
  1057. <![CDATA[Creates an explicitly non-HA-enabled proxy object. Most of the time you
  1058. don't want to use this, and should instead use {@link NameNodeProxies#createProxy}.
  1059. @param conf the configuration object
  1060. @param nnAddr address of the remote NN to connect to
  1061. @param xface the IPC interface which should be created
  1062. @param ugi the user who is making the calls on the proxy object
  1063. @param withRetries certain interfaces have a non-standard retry policy
  1064. @param fallbackToSimpleAuth - set to true or false during this method to
  1065. indicate if a secure client falls back to simple auth
  1066. @return an object containing both the proxy and the associated
  1067. delegation token service it corresponds to
  1068. @throws IOException]]>
  1069. </doc>
  1070. </method>
  1071. <method name="getFailoverProxyProviderClass" return="java.lang.Class"
  1072. abstract="false" native="false" synchronized="false"
  1073. static="true" final="false" visibility="public"
  1074. deprecated="not deprecated">
  1075. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  1076. <param name="nameNodeUri" type="java.net.URI"/>
  1077. <exception name="IOException" type="java.io.IOException"/>
  1078. <doc>
  1079. <![CDATA[Gets the configured Failover proxy provider's class]]>
  1080. </doc>
  1081. </method>
  1082. <method name="createFailoverProxyProvider" return="org.apache.hadoop.hdfs.server.namenode.ha.AbstractNNFailoverProxyProvider"
  1083. abstract="false" native="false" synchronized="false"
  1084. static="true" final="false" visibility="public"
  1085. deprecated="not deprecated">
  1086. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  1087. <param name="nameNodeUri" type="java.net.URI"/>
  1088. <param name="xface" type="java.lang.Class"/>
  1089. <param name="checkPort" type="boolean"/>
  1090. <param name="fallbackToSimpleAuth" type="java.util.concurrent.atomic.AtomicBoolean"/>
  1091. <exception name="IOException" type="java.io.IOException"/>
  1092. <doc>
  1093. <![CDATA[Creates the Failover proxy provider instance]]>
  1094. </doc>
  1095. </method>
  1096. <doc>
  1097. <![CDATA[Create proxy objects to communicate with a remote NN. All remote access to an
  1098. NN should be funneled through this class. Most of the time you'll want to use
  1099. {@link NameNodeProxies#createProxy(Configuration, URI, Class)}, which will
  1100. create either an HA- or non-HA-enabled client proxy as appropriate.]]>
  1101. </doc>
  1102. </class>
  1103. <!-- end class org.apache.hadoop.hdfs.NameNodeProxies -->
  1104. <!-- start class org.apache.hadoop.hdfs.NameNodeProxies.ProxyAndInfo -->
  1105. <class name="NameNodeProxies.ProxyAndInfo" extends="java.lang.Object"
  1106. abstract="false"
  1107. static="true" final="false" visibility="public"
  1108. deprecated="not deprecated">
  1109. <constructor name="NameNodeProxies.ProxyAndInfo" type="PROXYTYPE, org.apache.hadoop.io.Text, java.net.InetSocketAddress"
  1110. static="false" final="false" visibility="public"
  1111. deprecated="not deprecated">
  1112. </constructor>
  1113. <method name="getProxy" return="PROXYTYPE"
  1114. abstract="false" native="false" synchronized="false"
  1115. static="false" final="false" visibility="public"
  1116. deprecated="not deprecated">
  1117. </method>
  1118. <method name="getDelegationTokenService" return="org.apache.hadoop.io.Text"
  1119. abstract="false" native="false" synchronized="false"
  1120. static="false" final="false" visibility="public"
  1121. deprecated="not deprecated">
  1122. </method>
  1123. <method name="getAddress" return="java.net.InetSocketAddress"
  1124. abstract="false" native="false" synchronized="false"
  1125. static="false" final="false" visibility="public"
  1126. deprecated="not deprecated">
  1127. </method>
  1128. <doc>
  1129. <![CDATA[Wrapper for a client proxy as well as its associated service ID.
  1130. This is simply used as a tuple-like return type for
  1131. {@link NameNodeProxies#createProxy} and
  1132. {@link NameNodeProxies#createNonHAProxy}.]]>
  1133. </doc>
  1134. </class>
  1135. <!-- end class org.apache.hadoop.hdfs.NameNodeProxies.ProxyAndInfo -->
  1136. <!-- start interface org.apache.hadoop.hdfs.RemotePeerFactory -->
  1137. <interface name="RemotePeerFactory" abstract="true"
  1138. static="false" final="false" visibility="public"
  1139. deprecated="not deprecated">
  1140. <method name="newConnectedPeer" return="org.apache.hadoop.hdfs.net.Peer"
  1141. abstract="false" native="false" synchronized="false"
  1142. static="false" final="false" visibility="public"
  1143. deprecated="not deprecated">
  1144. <param name="addr" type="java.net.InetSocketAddress"/>
  1145. <param name="blockToken" type="org.apache.hadoop.security.token.Token"/>
  1146. <param name="datanodeId" type="org.apache.hadoop.hdfs.protocol.DatanodeID"/>
  1147. <exception name="IOException" type="java.io.IOException"/>
  1148. <doc>
  1149. <![CDATA[@param addr The address to connect to.
  1150. @param blockToken Token used during optional SASL negotiation
  1151. @param datanodeId ID of destination DataNode
  1152. @return A new Peer connected to the address.
  1153. @throws IOException If there was an error connecting or creating
  1154. the remote socket, encrypted stream, etc.]]>
  1155. </doc>
  1156. </method>
  1157. </interface>
  1158. <!-- end interface org.apache.hadoop.hdfs.RemotePeerFactory -->
  1159. <!-- start class org.apache.hadoop.hdfs.StorageType -->
  1160. <class name="StorageType" extends="java.lang.Enum"
  1161. abstract="false"
  1162. static="false" final="true" visibility="public"
  1163. deprecated="not deprecated">
  1164. <method name="values" return="org.apache.hadoop.hdfs.StorageType[]"
  1165. abstract="false" native="false" synchronized="false"
  1166. static="true" final="false" visibility="public"
  1167. deprecated="not deprecated">
  1168. </method>
  1169. <method name="valueOf" return="org.apache.hadoop.hdfs.StorageType"
  1170. abstract="false" native="false" synchronized="false"
  1171. static="true" final="false" visibility="public"
  1172. deprecated="not deprecated">
  1173. <param name="name" type="java.lang.String"/>
  1174. </method>
  1175. <method name="isTransient" return="boolean"
  1176. abstract="false" native="false" synchronized="false"
  1177. static="false" final="false" visibility="public"
  1178. deprecated="not deprecated">
  1179. </method>
  1180. <method name="isMovable" return="boolean"
  1181. abstract="false" native="false" synchronized="false"
  1182. static="false" final="false" visibility="public"
  1183. deprecated="not deprecated">
  1184. </method>
  1185. <method name="asList" return="java.util.List"
  1186. abstract="false" native="false" synchronized="false"
  1187. static="true" final="false" visibility="public"
  1188. deprecated="not deprecated">
  1189. </method>
  1190. <method name="getMovableTypes" return="java.util.List"
  1191. abstract="false" native="false" synchronized="false"
  1192. static="true" final="false" visibility="public"
  1193. deprecated="not deprecated">
  1194. </method>
  1195. <field name="DEFAULT" type="org.apache.hadoop.hdfs.StorageType"
  1196. transient="false" volatile="false"
  1197. static="true" final="true" visibility="public"
  1198. deprecated="not deprecated">
  1199. </field>
  1200. <field name="EMPTY_ARRAY" type="org.apache.hadoop.hdfs.StorageType[]"
  1201. transient="false" volatile="false"
  1202. static="true" final="true" visibility="public"
  1203. deprecated="not deprecated">
  1204. </field>
  1205. <doc>
  1206. <![CDATA[Defines the types of supported storage media. The default storage
  1207. medium is assumed to be DISK.]]>
  1208. </doc>
  1209. </class>
  1210. <!-- end class org.apache.hadoop.hdfs.StorageType -->
  1211. <!-- start class org.apache.hadoop.hdfs.UnknownCipherSuiteException -->
  1212. <class name="UnknownCipherSuiteException" extends="java.io.IOException"
  1213. abstract="false"
  1214. static="false" final="false" visibility="public"
  1215. deprecated="not deprecated">
  1216. <constructor name="UnknownCipherSuiteException" type="java.lang.String"
  1217. static="false" final="false" visibility="public"
  1218. deprecated="not deprecated">
  1219. </constructor>
  1220. <doc>
  1221. <![CDATA[Thrown when an unknown cipher suite is encountered.]]>
  1222. </doc>
  1223. </class>
  1224. <!-- end class org.apache.hadoop.hdfs.UnknownCipherSuiteException -->
  1225. <!-- start class org.apache.hadoop.hdfs.UnknownCryptoProtocolVersionException -->
  1226. <class name="UnknownCryptoProtocolVersionException" extends="java.io.IOException"
  1227. abstract="false"
  1228. static="false" final="false" visibility="public"
  1229. deprecated="not deprecated">
  1230. <constructor name="UnknownCryptoProtocolVersionException"
  1231. static="false" final="false" visibility="public"
  1232. deprecated="not deprecated">
  1233. </constructor>
  1234. <constructor name="UnknownCryptoProtocolVersionException" type="java.lang.String"
  1235. static="false" final="false" visibility="public"
  1236. deprecated="not deprecated">
  1237. </constructor>
  1238. </class>
  1239. <!-- end class org.apache.hadoop.hdfs.UnknownCryptoProtocolVersionException -->
  1240. <doc>
  1241. <![CDATA[<p>A distributed implementation of {@link
  1242. org.apache.hadoop.fs.FileSystem}. This is loosely modelled after
  1243. Google's <a href="http://research.google.com/archive/gfs.html">GFS</a>.</p>
  1244. <p>The most important difference is that unlike GFS, Hadoop DFS files
  1245. have strictly one writer at any one time. Bytes are always appended
  1246. to the end of the writer's stream. There is no notion of "record appends"
  1247. or "mutations" that are then checked or reordered. Writers simply emit
  1248. a byte stream. That byte stream is guaranteed to be stored in the
  1249. order written.</p>]]>
  1250. </doc>
  1251. </package>
  1252. <package name="org.apache.hadoop.hdfs.client">
  1253. <!-- start class org.apache.hadoop.hdfs.client.HdfsAdmin -->
  1254. <class name="HdfsAdmin" extends="java.lang.Object"
  1255. abstract="false"
  1256. static="false" final="false" visibility="public"
  1257. deprecated="not deprecated">
  1258. <constructor name="HdfsAdmin" type="java.net.URI, org.apache.hadoop.conf.Configuration"
  1259. static="false" final="false" visibility="public"
  1260. deprecated="not deprecated">
  1261. <exception name="IOException" type="java.io.IOException"/>
  1262. <doc>
  1263. <![CDATA[Create a new HdfsAdmin client.
  1264. @param uri the unique URI of the HDFS file system to administer
  1265. @param conf configuration
  1266. @throws IOException in the event the file system could not be created]]>
  1267. </doc>
  1268. </constructor>
  1269. <method name="setQuota"
  1270. abstract="false" native="false" synchronized="false"
  1271. static="false" final="false" visibility="public"
  1272. deprecated="not deprecated">
  1273. <param name="src" type="org.apache.hadoop.fs.Path"/>
  1274. <param name="quota" type="long"/>
  1275. <exception name="IOException" type="java.io.IOException"/>
  1276. <doc>
  1277. <![CDATA[Set the namespace quota (count of files, directories, and sym links) for a
  1278. directory.
  1279. @param src the path to set the quota for
  1280. @param quota the value to set for the quota
  1281. @throws IOException in the event of error]]>
  1282. </doc>
  1283. </method>
  1284. <method name="clearQuota"
  1285. abstract="false" native="false" synchronized="false"
  1286. static="false" final="false" visibility="public"
  1287. deprecated="not deprecated">
  1288. <param name="src" type="org.apache.hadoop.fs.Path"/>
  1289. <exception name="IOException" type="java.io.IOException"/>
  1290. <doc>
  1291. <![CDATA[Clear the namespace quota (count of files, directories and sym links) for a
  1292. directory.
  1293. @param src the path to clear the quota of
  1294. @throws IOException in the event of error]]>
  1295. </doc>
  1296. </method>
  1297. <method name="setSpaceQuota"
  1298. abstract="false" native="false" synchronized="false"
  1299. static="false" final="false" visibility="public"
  1300. deprecated="not deprecated">
  1301. <param name="src" type="org.apache.hadoop.fs.Path"/>
  1302. <param name="spaceQuota" type="long"/>
  1303. <exception name="IOException" type="java.io.IOException"/>
  1304. <doc>
  1305. <![CDATA[Set the disk space quota (size of files) for a directory. Note that
  1306. directories and sym links do not occupy disk space.
  1307. @param src the path to set the space quota of
  1308. @param spaceQuota the value to set for the space quota
  1309. @throws IOException in the event of error]]>
  1310. </doc>
  1311. </method>
  1312. <method name="clearSpaceQuota"
  1313. abstract="false" native="false" synchronized="false"
  1314. static="false" final="false" visibility="public"
  1315. deprecated="not deprecated">
  1316. <param name="src" type="org.apache.hadoop.fs.Path"/>
  1317. <exception name="IOException" type="java.io.IOException"/>
  1318. <doc>
  1319. <![CDATA[Clear the disk space quota (size of files) for a directory. Note that
  1320. directories and sym links do not occupy disk space.
  1321. @param src the path to clear the space quota of
  1322. @throws IOException in the event of error]]>
  1323. </doc>
  1324. </method>
  1325. <method name="allowSnapshot"
  1326. abstract="false" native="false" synchronized="false"
  1327. static="false" final="false" visibility="public"
  1328. deprecated="not deprecated">
  1329. <param name="path" type="org.apache.hadoop.fs.Path"/>
  1330. <exception name="IOException" type="java.io.IOException"/>
  1331. <doc>
  1332. <![CDATA[Allow snapshot on a directory.
  1333. @param path The path of the directory where snapshots will be taken.]]>
  1334. </doc>
  1335. </method>
  1336. <method name="disallowSnapshot"
  1337. abstract="false" native="false" synchronized="false"
  1338. static="false" final="false" visibility="public"
  1339. deprecated="not deprecated">
  1340. <param name="path" type="org.apache.hadoop.fs.Path"/>
  1341. <exception name="IOException" type="java.io.IOException"/>
  1342. <doc>
  1343. <![CDATA[Disallow snapshot on a directory.
  1344. @param path The path of the snapshottable directory.]]>
  1345. </doc>
  1346. </method>
  1347. <method name="addCacheDirective" return="long"
  1348. abstract="false" native="false" synchronized="false"
  1349. static="false" final="false" visibility="public"
  1350. deprecated="not deprecated">
  1351. <param name="info" type="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo"/>
  1352. <param name="flags" type="java.util.EnumSet"/>
  1353. <exception name="IOException" type="java.io.IOException"/>
  1354. <doc>
  1355. <![CDATA[Add a new CacheDirectiveInfo.
  1356. @param info Information about a directive to add.
  1357. @param flags {@link CacheFlag}s to use for this operation.
  1358. @return the ID of the directive that was created.
  1359. @throws IOException if the directive could not be added]]>
  1360. </doc>
  1361. </method>
  1362. <method name="modifyCacheDirective"
  1363. abstract="false" native="false" synchronized="false"
  1364. static="false" final="false" visibility="public"
  1365. deprecated="not deprecated">
  1366. <param name="info" type="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo"/>
  1367. <param name="flags" type="java.util.EnumSet"/>
  1368. <exception name="IOException" type="java.io.IOException"/>
  1369. <doc>
  1370. <![CDATA[Modify a CacheDirective.
  1371. @param info Information about the directive to modify. You must set the ID
  1372. to indicate which CacheDirective you want to modify.
  1373. @param flags {@link CacheFlag}s to use for this operation.
  1374. @throws IOException if the directive could not be modified]]>
  1375. </doc>
  1376. </method>
  1377. <method name="removeCacheDirective"
  1378. abstract="false" native="false" synchronized="false"
  1379. static="false" final="false" visibility="public"
  1380. deprecated="not deprecated">
  1381. <param name="id" type="long"/>
  1382. <exception name="IOException" type="java.io.IOException"/>
  1383. <doc>
  1384. <![CDATA[Remove a CacheDirective.
  1385. @param id identifier of the CacheDirectiveInfo to remove
  1386. @throws IOException if the directive could not be removed]]>
  1387. </doc>
  1388. </method>
  1389. <method name="listCacheDirectives" return="org.apache.hadoop.fs.RemoteIterator"
  1390. abstract="false" native="false" synchronized="false"
  1391. static="false" final="false" visibility="public"
  1392. deprecated="not deprecated">
  1393. <param name="filter" type="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo"/>
  1394. <exception name="IOException" type="java.io.IOException"/>
  1395. <doc>
  1396. <![CDATA[List cache directives. Incrementally fetches results from the server.
  1397. @param filter Filter parameters to use when listing the directives, null to
  1398. list all directives visible to us.
  1399. @return A RemoteIterator which returns CacheDirectiveInfo objects.]]>
  1400. </doc>
  1401. </method>
  1402. <method name="addCachePool"
  1403. abstract="false" native="false" synchronized="false"
  1404. static="false" final="false" visibility="public"
  1405. deprecated="not deprecated">
  1406. <param name="info" type="org.apache.hadoop.hdfs.protocol.CachePoolInfo"/>
  1407. <exception name="IOException" type="java.io.IOException"/>
  1408. <doc>
  1409. <![CDATA[Add a cache pool.
  1410. @param info
  1411. The request to add a cache pool.
  1412. @throws IOException
  1413. If the request could not be completed.]]>
  1414. </doc>
  1415. </method>
  1416. <method name="modifyCachePool"
  1417. abstract="false" native="false" synchronized="false"
  1418. static="false" final="false" visibility="public"
  1419. deprecated="not deprecated">
  1420. <param name="info" type="org.apache.hadoop.hdfs.protocol.CachePoolInfo"/>
  1421. <exception name="IOException" type="java.io.IOException"/>
  1422. <doc>
  1423. <![CDATA[Modify an existing cache pool.
  1424. @param info
  1425. The request to modify a cache pool.
  1426. @throws IOException
  1427. If the request could not be completed.]]>
  1428. </doc>
  1429. </method>
  1430. <method name="removeCachePool"
  1431. abstract="false" native="false" synchronized="false"
  1432. static="false" final="false" visibility="public"
  1433. deprecated="not deprecated">
  1434. <param name="poolName" type="java.lang.String"/>
  1435. <exception name="IOException" type="java.io.IOException"/>
  1436. <doc>
  1437. <![CDATA[Remove a cache pool.
  1438. @param poolName
  1439. Name of the cache pool to remove.
  1440. @throws IOException
  1441. if the cache pool did not exist, or could not be removed.]]>
  1442. </doc>
  1443. </method>
  1444. <method name="listCachePools" return="org.apache.hadoop.fs.RemoteIterator"
  1445. abstract="false" native="false" synchronized="false"
  1446. static="false" final="false" visibility="public"
  1447. deprecated="not deprecated">
  1448. <exception name="IOException" type="java.io.IOException"/>
  1449. <doc>
  1450. <![CDATA[List all cache pools.
  1451. @return A remote iterator from which you can get CachePoolEntry objects.
  1452. Requests will be made as needed.
  1453. @throws IOException
  1454. If there was an error listing cache pools.]]>
  1455. </doc>
  1456. </method>
  1457. <method name="createEncryptionZone"
  1458. abstract="false" native="false" synchronized="false"
  1459. static="false" final="false" visibility="public"
  1460. deprecated="not deprecated">
  1461. <param name="path" type="org.apache.hadoop.fs.Path"/>
  1462. <param name="keyName" type="java.lang.String"/>
  1463. <exception name="IOException" type="java.io.IOException"/>
  1464. <exception name="AccessControlException" type="org.apache.hadoop.security.AccessControlException"/>
  1465. <exception name="FileNotFoundException" type="java.io.FileNotFoundException"/>
  1466. <doc>
  1467. <![CDATA[Create an encryption zone rooted at an empty existing directory, using the
  1468. specified encryption key. An encryption zone has an associated encryption
  1469. key used when reading and writing files within the zone.
  1470. @param path The path of the root of the encryption zone. Must refer to
  1471. an empty, existing directory.
  1472. @param keyName Name of key available at the KeyProvider.
  1473. @throws IOException if there was a general IO exception
  1474. @throws AccessControlException if the caller does not have access to path
  1475. @throws FileNotFoundException if the path does not exist]]>
  1476. </doc>
  1477. </method>
  1478. <method name="getEncryptionZoneForPath" return="org.apache.hadoop.hdfs.protocol.EncryptionZone"
  1479. abstract="false" native="false" synchronized="false"
  1480. static="false" final="false" visibility="public"
  1481. deprecated="not deprecated">
  1482. <param name="path" type="org.apache.hadoop.fs.Path"/>
  1483. <exception name="IOException" type="java.io.IOException"/>
  1484. <exception name="AccessControlException" type="org.apache.hadoop.security.AccessControlException"/>
  1485. <exception name="FileNotFoundException" type="java.io.FileNotFoundException"/>
  1486. <doc>
  1487. <![CDATA[Get the path of the encryption zone for a given file or directory.
  1488. @param path The path to get the ez for.
  1489. @return The EncryptionZone of the ez, or null if path is not in an ez.
  1490. @throws IOException if there was a general IO exception
  1491. @throws AccessControlException if the caller does not have access to path
  1492. @throws FileNotFoundException if the path does not exist]]>
  1493. </doc>
  1494. </method>
  1495. <method name="listEncryptionZones" return="org.apache.hadoop.fs.RemoteIterator"
  1496. abstract="false" native="false" synchronized="false"
  1497. static="false" final="false" visibility="public"
  1498. deprecated="not deprecated">
  1499. <exception name="IOException" type="java.io.IOException"/>
  1500. <doc>
  1501. <![CDATA[Returns a RemoteIterator which can be used to list the encryption zones
  1502. in HDFS. For large numbers of encryption zones, the iterator will fetch
  1503. the list of zones in a number of small batches.
  1504. <p/>
  1505. Since the list is fetched in batches, it does not represent a
  1506. consistent snapshot of the entire list of encryption zones.
  1507. <p/>
  1508. This method can only be called by HDFS superusers.]]>
  1509. </doc>
  1510. </method>
  1511. <method name="getInotifyEventStream" return="org.apache.hadoop.hdfs.DFSInotifyEventInputStream"
  1512. abstract="false" native="false" synchronized="false"
  1513. static="false" final="false" visibility="public"
  1514. deprecated="not deprecated">
  1515. <exception name="IOException" type="java.io.IOException"/>
  1516. <doc>
  1517. <![CDATA[Exposes a stream of namesystem events. Only events occurring after the
  1518. stream is created are available.
  1519. See {@link org.apache.hadoop.hdfs.DFSInotifyEventInputStream}
  1520. for information on stream usage.
  1521. See {@link org.apache.hadoop.hdfs.inotify.Event}
  1522. for information on the available events.
  1523. <p/>
  1524. Inotify users may want to tune the following HDFS parameters to
  1525. ensure that enough extra HDFS edits are saved to support inotify clients
  1526. that fall behind the current state of the namespace while reading events.
  1527. The default parameter values should generally be reasonable. If edits are
  1528. deleted before their corresponding events can be read, clients will see a
  1529. {@link org.apache.hadoop.hdfs.inotify.MissingEventsException} on
  1530. {@link org.apache.hadoop.hdfs.DFSInotifyEventInputStream} method calls.
  1531. It should generally be sufficient to tune these parameters:
  1532. dfs.namenode.num.extra.edits.retained
  1533. dfs.namenode.max.extra.edits.segments.retained
  1534. Parameters that affect the number of created segments and the number of
  1535. edits that are considered necessary, i.e. do not count towards the
  1536. dfs.namenode.num.extra.edits.retained quota):
  1537. dfs.namenode.checkpoint.period
  1538. dfs.namenode.checkpoint.txns
  1539. dfs.namenode.num.checkpoints.retained
  1540. dfs.ha.log-roll.period
  1541. <p/>
  1542. It is recommended that local journaling be configured
  1543. (dfs.namenode.edits.dir) for inotify (in addition to a shared journal)
  1544. so that edit transfers from the shared journal can be avoided.
  1545. @throws IOException If there was an error obtaining the stream.]]>
  1546. </doc>
  1547. </method>
  1548. <method name="getInotifyEventStream" return="org.apache.hadoop.hdfs.DFSInotifyEventInputStream"
  1549. abstract="false" native="false" synchronized="false"
  1550. static="false" final="false" visibility="public"
  1551. deprecated="not deprecated">
  1552. <param name="lastReadTxid" type="long"/>
  1553. <exception name="IOException" type="java.io.IOException"/>
  1554. <doc>
  1555. <![CDATA[A version of {@link HdfsAdmin#getInotifyEventStream()} meant for advanced
  1556. users who are aware of HDFS edits up to lastReadTxid (e.g. because they
  1557. have access to an FSImage inclusive of lastReadTxid) and only want to read
  1558. events after this point.]]>
  1559. </doc>
  1560. </method>
  1561. <method name="setStoragePolicy"
  1562. abstract="false" native="false" synchronized="false"
  1563. static="false" final="false" visibility="public"
  1564. deprecated="not deprecated">
  1565. <param name="src" type="org.apache.hadoop.fs.Path"/>
  1566. <param name="policyName" type="java.lang.String"/>
  1567. <exception name="IOException" type="java.io.IOException"/>
  1568. <doc>
  1569. <![CDATA[Set the source path to the specified storage policy.
  1570. @param src The source path referring to either a directory or a file.
  1571. @param policyName The name of the storage policy.]]>
  1572. </doc>
  1573. </method>
  1574. <doc>
  1575. <![CDATA[The public API for performing administrative functions on HDFS. Those writing
  1576. applications against HDFS should prefer this interface to directly accessing
  1577. functionality in DistributedFileSystem or DFSClient.
  1578. Note that this is distinct from the similarly-named {@link DFSAdmin}, which
  1579. is a class that provides the functionality for the CLI `hdfs dfsadmin ...'
  1580. commands.]]>
  1581. </doc>
  1582. </class>
  1583. <!-- end class org.apache.hadoop.hdfs.client.HdfsAdmin -->
  1584. <!-- start class org.apache.hadoop.hdfs.client.HdfsDataInputStream -->
  1585. <class name="HdfsDataInputStream" extends="org.apache.hadoop.fs.FSDataInputStream"
  1586. abstract="false"
  1587. static="false" final="false" visibility="public"
  1588. deprecated="not deprecated">
  1589. <constructor name="HdfsDataInputStream" type="org.apache.hadoop.hdfs.DFSInputStream"
  1590. static="false" final="false" visibility="public"
  1591. deprecated="not deprecated">
  1592. <exception name="IOException" type="java.io.IOException"/>
  1593. </constructor>
  1594. <constructor name="HdfsDataInputStream" type="org.apache.hadoop.crypto.CryptoInputStream"
  1595. static="false" final="false" visibility="public"
  1596. deprecated="not deprecated">
  1597. <exception name="IOException" type="java.io.IOException"/>
  1598. </constructor>
  1599. <method name="getWrappedStream" return="java.io.InputStream"
  1600. abstract="false" native="false" synchronized="false"
  1601. static="false" final="false" visibility="public"
  1602. deprecated="not deprecated">
  1603. <doc>
  1604. <![CDATA[Get a reference to the wrapped output stream. We always want to return the
  1605. actual underlying InputStream, even when we're using a CryptoStream. e.g.
  1606. in the delegated methods below.
  1607. @return the underlying output stream]]>
  1608. </doc>
  1609. </method>
  1610. <method name="getCurrentDatanode" return="org.apache.hadoop.hdfs.protocol.DatanodeInfo"
  1611. abstract="false" native="false" synchronized="false"
  1612. static="false" final="false" visibility="public"
  1613. deprecated="not deprecated">
  1614. <doc>
  1615. <![CDATA[Get the datanode from which the stream is currently reading.]]>
  1616. </doc>
  1617. </method>
  1618. <method name="getCurrentBlock" return="org.apache.hadoop.hdfs.protocol.ExtendedBlock"
  1619. abstract="false" native="false" synchronized="false"
  1620. static="false" final="false" visibility="public"
  1621. deprecated="not deprecated">
  1622. <doc>
  1623. <![CDATA[Get the block containing the target position.]]>
  1624. </doc>
  1625. </method>
  1626. <method name="getAllBlocks" return="java.util.List"
  1627. abstract="false" native="false" synchronized="true"
  1628. static="false" final="false" visibility="public"
  1629. deprecated="not deprecated">
  1630. <exception name="IOException" type="java.io.IOException"/>
  1631. <doc>
  1632. <![CDATA[Get the collection of blocks that has already been located.]]>
  1633. </doc>
  1634. </method>
  1635. <method name="getVisibleLength" return="long"
  1636. abstract="false" native="false" synchronized="false"
  1637. static="false" final="false" visibility="public"
  1638. deprecated="not deprecated">
  1639. <exception name="IOException" type="java.io.IOException"/>
  1640. <doc>
  1641. <![CDATA[Get the visible length of the file. It will include the length of the last
  1642. block even if that is in UnderConstruction state.
  1643. @return The visible length of the file.]]>
  1644. </doc>
  1645. </method>
  1646. <method name="getReadStatistics" return="org.apache.hadoop.hdfs.DFSInputStream.ReadStatistics"
  1647. abstract="false" native="false" synchronized="true"
  1648. static="false" final="false" visibility="public"
  1649. deprecated="not deprecated">
  1650. <doc>
  1651. <![CDATA[Get statistics about the reads which this DFSInputStream has done.
  1652. Note that because HdfsDataInputStream is buffered, these stats may
  1653. be higher than you would expect just by adding up the number of
  1654. bytes read through HdfsDataInputStream.]]>
  1655. </doc>
  1656. </method>
  1657. <doc>
  1658. <![CDATA[The Hdfs implementation of {@link FSDataInputStream}.]]>
  1659. </doc>
  1660. </class>
  1661. <!-- end class org.apache.hadoop.hdfs.client.HdfsDataInputStream -->
  1662. <!-- start class org.apache.hadoop.hdfs.client.HdfsDataOutputStream -->
  1663. <class name="HdfsDataOutputStream" extends="org.apache.hadoop.fs.FSDataOutputStream"
  1664. abstract="false"
  1665. static="false" final="false" visibility="public"
  1666. deprecated="not deprecated">
  1667. <constructor name="HdfsDataOutputStream" type="org.apache.hadoop.hdfs.DFSOutputStream, org.apache.hadoop.fs.FileSystem.Statistics, long"
  1668. static="false" final="false" visibility="public"
  1669. deprecated="not deprecated">
  1670. <exception name="IOException" type="java.io.IOException"/>
  1671. </constructor>
  1672. <constructor name="HdfsDataOutputStream" type="org.apache.hadoop.hdfs.DFSOutputStream, org.apache.hadoop.fs.FileSystem.Statistics"
  1673. static="false" final="false" visibility="public"
  1674. deprecated="not deprecated">
  1675. <exception name="IOException" type="java.io.IOException"/>
  1676. </constructor>
  1677. <constructor name="HdfsDataOutputStream" type="org.apache.hadoop.crypto.CryptoOutputStream, org.apache.hadoop.fs.FileSystem.Statistics, long"
  1678. static="false" final="false" visibility="public"
  1679. deprecated="not deprecated">
  1680. <exception name="IOException" type="java.io.IOException"/>
  1681. </constructor>
  1682. <constructor name="HdfsDataOutputStream" type="org.apache.hadoop.crypto.CryptoOutputStream, org.apache.hadoop.fs.FileSystem.Statistics"
  1683. static="false" final="false" visibility="public"
  1684. deprecated="not deprecated">
  1685. <exception name="IOException" type="java.io.IOException"/>
  1686. </constructor>
  1687. <method name="getCurrentBlockReplication" return="int"
  1688. abstract="false" native="false" synchronized="true"
  1689. static="false" final="false" visibility="public"
  1690. deprecated="not deprecated">
  1691. <exception name="IOException" type="java.io.IOException"/>
  1692. <doc>
  1693. <![CDATA[Get the actual number of replicas of the current block.
  1694. This can be different from the designated replication factor of the file
  1695. because the namenode does not maintain replication for the blocks which are
  1696. currently being written to. Depending on the configuration, the client may
  1697. continue to write to a block even if a few datanodes in the write pipeline
  1698. have failed, or the client may add a new datanodes once a datanode has
  1699. failed.
  1700. @return the number of valid replicas of the current block]]>
  1701. </doc>
  1702. </method>
  1703. <method name="hsync"
  1704. abstract="false" native="false" synchronized="false"
  1705. static="false" final="false" visibility="public"
  1706. deprecated="not deprecated">
  1707. <param name="syncFlags" type="java.util.EnumSet"/>
  1708. <exception name="IOException" type="java.io.IOException"/>
  1709. <doc>
  1710. <![CDATA[Sync buffered data to DataNodes (flush to disk devices).
  1711. @param syncFlags
  1712. Indicate the detailed semantic and actions of the hsync.
  1713. @throws IOException
  1714. @see FSDataOutputStream#hsync()]]>
  1715. </doc>
  1716. </method>
  1717. <doc>
  1718. <![CDATA[The Hdfs implementation of {@link FSDataOutputStream}.]]>
  1719. </doc>
  1720. </class>
  1721. <!-- end class org.apache.hadoop.hdfs.client.HdfsDataOutputStream -->
  1722. <!-- start class org.apache.hadoop.hdfs.client.HdfsDataOutputStream.SyncFlag -->
  1723. <class name="HdfsDataOutputStream.SyncFlag" extends="java.lang.Enum"
  1724. abstract="false"
  1725. static="true" final="true" visibility="public"
  1726. deprecated="not deprecated">
  1727. <method name="values" return="org.apache.hadoop.hdfs.client.HdfsDataOutputStream.SyncFlag[]"
  1728. abstract="false" native="false" synchronized="false"
  1729. static="true" final="false" visibility="public"
  1730. deprecated="not deprecated">
  1731. </method>
  1732. <method name="valueOf" return="org.apache.hadoop.hdfs.client.HdfsDataOutputStream.SyncFlag"
  1733. abstract="false" native="false" synchronized="false"
  1734. static="true" final="false" visibility="public"
  1735. deprecated="not deprecated">
  1736. <param name="name" type="java.lang.String"/>
  1737. </method>
  1738. </class>
  1739. <!-- end class org.apache.hadoop.hdfs.client.HdfsDataOutputStream.SyncFlag -->
  1740. <!-- start class org.apache.hadoop.hdfs.client.HdfsUtils -->
  1741. <class name="HdfsUtils" extends="java.lang.Object"
  1742. abstract="false"
  1743. static="false" final="false" visibility="public"
  1744. deprecated="not deprecated">
  1745. <constructor name="HdfsUtils"
  1746. static="false" final="false" visibility="public"
  1747. deprecated="not deprecated">
  1748. </constructor>
  1749. <method name="isHealthy" return="boolean"
  1750. abstract="false" native="false" synchronized="false"
  1751. static="true" final="false" visibility="public"
  1752. deprecated="not deprecated">
  1753. <param name="uri" type="java.net.URI"/>
  1754. <doc>
  1755. <![CDATA[Is the HDFS healthy?
  1756. HDFS is considered as healthy if it is up and not in safemode.
  1757. @param uri the HDFS URI. Note that the URI path is ignored.
  1758. @return true if HDFS is healthy; false, otherwise.]]>
  1759. </doc>
  1760. </method>
  1761. <doc>
  1762. <![CDATA[The public utility API for HDFS.]]>
  1763. </doc>
  1764. </class>
  1765. <!-- end class org.apache.hadoop.hdfs.client.HdfsUtils -->
  1766. </package>
  1767. <package name="org.apache.hadoop.hdfs.inotify">
  1768. <!-- start class org.apache.hadoop.hdfs.inotify.Event -->
  1769. <class name="Event" extends="java.lang.Object"
  1770. abstract="true"
  1771. static="false" final="false" visibility="public"
  1772. deprecated="not deprecated">
  1773. <constructor name="Event" type="org.apache.hadoop.hdfs.inotify.Event.EventType"
  1774. static="false" final="false" visibility="public"
  1775. deprecated="not deprecated">
  1776. </constructor>
  1777. <method name="getEventType" return="org.apache.hadoop.hdfs.inotify.Event.EventType"
  1778. abstract="false" native="false" synchronized="false"
  1779. static="false" final="false" visibility="public"
  1780. deprecated="not deprecated">
  1781. </method>
  1782. <doc>
  1783. <![CDATA[Events sent by the inotify system. Note that no events are necessarily sent
  1784. when a file is opened for read (although a MetadataUpdateEvent will be sent
  1785. if the atime is updated).]]>
  1786. </doc>
  1787. </class>
  1788. <!-- end class org.apache.hadoop.hdfs.inotify.Event -->
  1789. <!-- start class org.apache.hadoop.hdfs.inotify.Event.AppendEvent -->
  1790. <class name="Event.AppendEvent" extends="org.apache.hadoop.hdfs.inotify.Event"
  1791. abstract="false"
  1792. static="true" final="false" visibility="public"
  1793. deprecated="not deprecated">
  1794. <constructor name="Event.AppendEvent" type="java.lang.String"
  1795. static="false" final="false" visibility="public"
  1796. deprecated="not deprecated">
  1797. </constructor>
  1798. <method name="getPath" return="java.lang.String"
  1799. abstract="false" native="false" synchronized="false"
  1800. static="false" final="false" visibility="public"
  1801. deprecated="not deprecated">
  1802. </method>
  1803. <doc>
  1804. <![CDATA[Sent when an existing file is opened for append.]]>
  1805. </doc>
  1806. </class>
  1807. <!-- end class org.apache.hadoop.hdfs.inotify.Event.AppendEvent -->
  1808. <!-- start class org.apache.hadoop.hdfs.inotify.Event.CloseEvent -->
  1809. <class name="Event.CloseEvent" extends="org.apache.hadoop.hdfs.inotify.Event"
  1810. abstract="false"
  1811. static="true" final="false" visibility="public"
  1812. deprecated="not deprecated">
  1813. <constructor name="Event.CloseEvent" type="java.lang.String, long, long"
  1814. static="false" final="false" visibility="public"
  1815. deprecated="not deprecated">
  1816. </constructor>
  1817. <method name="getPath" return="java.lang.String"
  1818. abstract="false" native="false" synchronized="false"
  1819. static="false" final="false" visibility="public"
  1820. deprecated="not deprecated">
  1821. </method>
  1822. <method name="getFileSize" return="long"
  1823. abstract="false" native="false" synchronized="false"
  1824. static="false" final="false" visibility="public"
  1825. deprecated="not deprecated">
  1826. <doc>
  1827. <![CDATA[The size of the closed file in bytes. May be -1 if the size is not
  1828. available (e.g. in the case of a close generated by a concat operation).]]>
  1829. </doc>
  1830. </method>
  1831. <method name="getTimestamp" return="long"
  1832. abstract="false" native="false" synchronized="false"
  1833. static="false" final="false" visibility="public"
  1834. deprecated="not deprecated">
  1835. <doc>
  1836. <![CDATA[The time when this event occurred, in milliseconds since the epoch.]]>
  1837. </doc>
  1838. </method>
  1839. <doc>
  1840. <![CDATA[Sent when a file is closed after append or create.]]>
  1841. </doc>
  1842. </class>
  1843. <!-- end class org.apache.hadoop.hdfs.inotify.Event.CloseEvent -->
  1844. <!-- start class org.apache.hadoop.hdfs.inotify.Event.CreateEvent -->
  1845. <class name="Event.CreateEvent" extends="org.apache.hadoop.hdfs.inotify.Event"
  1846. abstract="false"
  1847. static="true" final="false" visibility="public"
  1848. deprecated="not deprecated">
  1849. <method name="getiNodeType" return="org.apache.hadoop.hdfs.inotify.Event.CreateEvent.INodeType"
  1850. abstract="false" native="false" synchronized="false"
  1851. static="false" final="false" visibility="public"
  1852. deprecated="not deprecated">
  1853. </method>
  1854. <method name="getPath" return="java.lang.String"
  1855. abstract="false" native="false" synchronized="false"
  1856. static="false" final="false" visibility="public"
  1857. deprecated="not deprecated">
  1858. </method>
  1859. <method name="getCtime" return="long"
  1860. abstract="false" native="false" synchronized="false"
  1861. static="false" final="false" visibility="public"
  1862. deprecated="not deprecated">
  1863. <doc>
  1864. <![CDATA[Creation time of the file, directory, or symlink.]]>
  1865. </doc>
  1866. </method>
  1867. <method name="getReplication" return="int"
  1868. abstract="false" native="false" synchronized="false"
  1869. static="false" final="false" visibility="public"
  1870. deprecated="not deprecated">
  1871. <doc>
  1872. <![CDATA[Replication is zero if the CreateEvent iNodeType is directory or symlink.]]>
  1873. </doc>
  1874. </method>
  1875. <method name="getOwnerName" return="java.lang.String"
  1876. abstract="false" native="false" synchronized="false"
  1877. static="false" final="false" visibility="public"
  1878. deprecated="not deprecated">
  1879. </method>
  1880. <method name="getGroupName" return="java.lang.String"
  1881. abstract="false" native="false" synchronized="false"
  1882. static="false" final="false" visibility="public"
  1883. deprecated="not deprecated">
  1884. </method>
  1885. <method name="getPerms" return="org.apache.hadoop.fs.permission.FsPermission"
  1886. abstract="false" native="false" synchronized="false"
  1887. static="false" final="false" visibility="public"
  1888. deprecated="not deprecated">
  1889. </method>
  1890. <method name="getSymlinkTarget" return="java.lang.String"
  1891. abstract="false" native="false" synchronized="false"
  1892. static="false" final="false" visibility="public"
  1893. deprecated="not deprecated">
  1894. <doc>
  1895. <![CDATA[Symlink target is null if the CreateEvent iNodeType is not symlink.]]>
  1896. </doc>
  1897. </method>
  1898. <method name="getOverwrite" return="boolean"
  1899. abstract="false" native="false" synchronized="false"
  1900. static="false" final="false" visibility="public"
  1901. deprecated="not deprecated">
  1902. </method>
  1903. <doc>
  1904. <![CDATA[Sent when a new file is created (including overwrite).]]>
  1905. </doc>
  1906. </class>
  1907. <!-- end class org.apache.hadoop.hdfs.inotify.Event.CreateEvent -->
  1908. <!-- start class org.apache.hadoop.hdfs.inotify.Event.CreateEvent.Builder -->
  1909. <class name="Event.CreateEvent.Builder" extends="java.lang.Object"
  1910. abstract="false"
  1911. static="true" final="false" visibility="public"
  1912. deprecated="not deprecated">
  1913. <constructor name="Event.CreateEvent.Builder"
  1914. static="false" final="false" visibility="public"
  1915. deprecated="not deprecated">
  1916. </constructor>
  1917. <method name="iNodeType" return="org.apache.hadoop.hdfs.inotify.Event.CreateEvent.Builder"
  1918. abstract="false" native="false" synchronized="false"
  1919. static="false" final="false" visibility="public"
  1920. deprecated="not deprecated">
  1921. <param name="type" type="org.apache.hadoop.hdfs.inotify.Event.CreateEvent.INodeType"/>
  1922. </method>
  1923. <method name="path" return="org.apache.hadoop.hdfs.inotify.Event.CreateEvent.Builder"
  1924. abstract="false" native="false" synchronized="false"
  1925. static="false" final="false" visibility="public"
  1926. deprecated="not deprecated">
  1927. <param name="path" type="java.lang.String"/>
  1928. </method>
  1929. <method name="ctime" return="org.apache.hadoop.hdfs.inotify.Event.CreateEvent.Builder"
  1930. abstract="false" native="false" synchronized="false"
  1931. static="false" final="false" visibility="public"
  1932. deprecated="not deprecated">
  1933. <param name="ctime" type="long"/>
  1934. </method>
  1935. <method name="replication" return="org.apache.hadoop.hdfs.inotify.Event.CreateEvent.Builder"
  1936. abstract="false" native="false" synchronized="false"
  1937. static="false" final="false" visibility="public"
  1938. deprecated="not deprecated">
  1939. <param name="replication" type="int"/>
  1940. </method>
  1941. <method name="ownerName" return="org.apache.hadoop.hdfs.inotify.Event.CreateEvent.Builder"
  1942. abstract="false" native="false" synchronized="false"
  1943. static="false" final="false" visibility="public"
  1944. deprecated="not deprecated">
  1945. <param name="ownerName" type="java.lang.String"/>
  1946. </method>
  1947. <method name="groupName" return="org.apache.hadoop.hdfs.inotify.Event.CreateEvent.Builder"
  1948. abstract="false" native="false" synchronized="false"
  1949. static="false" final="false" visibility="public"
  1950. deprecated="not deprecated">
  1951. <param name="groupName" type="java.lang.String"/>
  1952. </method>
  1953. <method name="perms" return="org.apache.hadoop.hdfs.inotify.Event.CreateEvent.Builder"
  1954. abstract="false" native="false" synchronized="false"
  1955. static="false" final="false" visibility="public"
  1956. deprecated="not deprecated">
  1957. <param name="perms" type="org.apache.hadoop.fs.permission.FsPermission"/>
  1958. </method>
  1959. <method name="symlinkTarget" return="org.apache.hadoop.hdfs.inotify.Event.CreateEvent.Builder"
  1960. abstract="false" native="false" synchronized="false"
  1961. static="false" final="false" visibility="public"
  1962. deprecated="not deprecated">
  1963. <param name="symlinkTarget" type="java.lang.String"/>
  1964. </method>
  1965. <method name="overwrite" return="org.apache.hadoop.hdfs.inotify.Event.CreateEvent.Builder"
  1966. abstract="false" native="false" synchronized="false"
  1967. static="false" final="false" visibility="public"
  1968. deprecated="not deprecated">
  1969. <param name="overwrite" type="boolean"/>
  1970. </method>
  1971. <method name="build" return="org.apache.hadoop.hdfs.inotify.Event.CreateEvent"
  1972. abstract="false" native="false" synchronized="false"
  1973. static="false" final="false" visibility="public"
  1974. deprecated="not deprecated">
  1975. </method>
  1976. </class>
  1977. <!-- end class org.apache.hadoop.hdfs.inotify.Event.CreateEvent.Builder -->
  1978. <!-- start class org.apache.hadoop.hdfs.inotify.Event.CreateEvent.INodeType -->
  1979. <class name="Event.CreateEvent.INodeType" extends="java.lang.Enum"
  1980. abstract="false"
  1981. static="true" final="true" visibility="public"
  1982. deprecated="not deprecated">
  1983. <method name="values" return="org.apache.hadoop.hdfs.inotify.Event.CreateEvent.INodeType[]"
  1984. abstract="false" native="false" synchronized="false"
  1985. static="true" final="false" visibility="public"
  1986. deprecated="not deprecated">
  1987. </method>
  1988. <method name="valueOf" return="org.apache.hadoop.hdfs.inotify.Event.CreateEvent.INodeType"
  1989. abstract="false" native="false" synchronized="false"
  1990. static="true" final="false" visibility="public"
  1991. deprecated="not deprecated">
  1992. <param name="name" type="java.lang.String"/>
  1993. </method>
  1994. </class>
  1995. <!-- end class org.apache.hadoop.hdfs.inotify.Event.CreateEvent.INodeType -->
  1996. <!-- start class org.apache.hadoop.hdfs.inotify.Event.EventType -->
  1997. <class name="Event.EventType" extends="java.lang.Enum"
  1998. abstract="false"
  1999. static="true" final="true" visibility="public"
  2000. deprecated="not deprecated">
  2001. <method name="values" return="org.apache.hadoop.hdfs.inotify.Event.EventType[]"
  2002. abstract="false" native="false" synchronized="false"
  2003. static="true" final="false" visibility="public"
  2004. deprecated="not deprecated">
  2005. </method>
  2006. <method name="valueOf" return="org.apache.hadoop.hdfs.inotify.Event.EventType"
  2007. abstract="false" native="false" synchronized="false"
  2008. static="true" final="false" visibility="public"
  2009. deprecated="not deprecated">
  2010. <param name="name" type="java.lang.String"/>
  2011. </method>
  2012. </class>
  2013. <!-- end class org.apache.hadoop.hdfs.inotify.Event.EventType -->
  2014. <!-- start class org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent -->
  2015. <class name="Event.MetadataUpdateEvent" extends="org.apache.hadoop.hdfs.inotify.Event"
  2016. abstract="false"
  2017. static="true" final="false" visibility="public"
  2018. deprecated="not deprecated">
  2019. <method name="getPath" return="java.lang.String"
  2020. abstract="false" native="false" synchronized="false"
  2021. static="false" final="false" visibility="public"
  2022. deprecated="not deprecated">
  2023. </method>
  2024. <method name="getMetadataType" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.MetadataType"
  2025. abstract="false" native="false" synchronized="false"
  2026. static="false" final="false" visibility="public"
  2027. deprecated="not deprecated">
  2028. </method>
  2029. <method name="getMtime" return="long"
  2030. abstract="false" native="false" synchronized="false"
  2031. static="false" final="false" visibility="public"
  2032. deprecated="not deprecated">
  2033. </method>
  2034. <method name="getAtime" return="long"
  2035. abstract="false" native="false" synchronized="false"
  2036. static="false" final="false" visibility="public"
  2037. deprecated="not deprecated">
  2038. </method>
  2039. <method name="getReplication" return="int"
  2040. abstract="false" native="false" synchronized="false"
  2041. static="false" final="false" visibility="public"
  2042. deprecated="not deprecated">
  2043. </method>
  2044. <method name="getOwnerName" return="java.lang.String"
  2045. abstract="false" native="false" synchronized="false"
  2046. static="false" final="false" visibility="public"
  2047. deprecated="not deprecated">
  2048. </method>
  2049. <method name="getGroupName" return="java.lang.String"
  2050. abstract="false" native="false" synchronized="false"
  2051. static="false" final="false" visibility="public"
  2052. deprecated="not deprecated">
  2053. </method>
  2054. <method name="getPerms" return="org.apache.hadoop.fs.permission.FsPermission"
  2055. abstract="false" native="false" synchronized="false"
  2056. static="false" final="false" visibility="public"
  2057. deprecated="not deprecated">
  2058. </method>
  2059. <method name="getAcls" return="java.util.List"
  2060. abstract="false" native="false" synchronized="false"
  2061. static="false" final="false" visibility="public"
  2062. deprecated="not deprecated">
  2063. <doc>
  2064. <![CDATA[The full set of ACLs currently associated with this file or directory.
  2065. May be null if all ACLs were removed.]]>
  2066. </doc>
  2067. </method>
  2068. <method name="getxAttrs" return="java.util.List"
  2069. abstract="false" native="false" synchronized="false"
  2070. static="false" final="false" visibility="public"
  2071. deprecated="not deprecated">
  2072. </method>
  2073. <method name="isxAttrsRemoved" return="boolean"
  2074. abstract="false" native="false" synchronized="false"
  2075. static="false" final="false" visibility="public"
  2076. deprecated="not deprecated">
  2077. <doc>
  2078. <![CDATA[Whether the xAttrs returned by getxAttrs() were removed (as opposed to
  2079. added).]]>
  2080. </doc>
  2081. </method>
  2082. <doc>
  2083. <![CDATA[Sent when there is an update to directory or file (none of the metadata
  2084. tracked here applies to symlinks) that is not associated with another
  2085. inotify event. The tracked metadata includes atime/mtime, replication,
  2086. owner/group, permissions, ACLs, and XAttributes. Fields not relevant to the
  2087. metadataType of the MetadataUpdateEvent will be null or will have their default
  2088. values.]]>
  2089. </doc>
  2090. </class>
  2091. <!-- end class org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent -->
  2092. <!-- start class org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.Builder -->
  2093. <class name="Event.MetadataUpdateEvent.Builder" extends="java.lang.Object"
  2094. abstract="false"
  2095. static="true" final="false" visibility="public"
  2096. deprecated="not deprecated">
  2097. <constructor name="Event.MetadataUpdateEvent.Builder"
  2098. static="false" final="false" visibility="public"
  2099. deprecated="not deprecated">
  2100. </constructor>
  2101. <method name="path" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.Builder"
  2102. abstract="false" native="false" synchronized="false"
  2103. static="false" final="false" visibility="public"
  2104. deprecated="not deprecated">
  2105. <param name="path" type="java.lang.String"/>
  2106. </method>
  2107. <method name="metadataType" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.Builder"
  2108. abstract="false" native="false" synchronized="false"
  2109. static="false" final="false" visibility="public"
  2110. deprecated="not deprecated">
  2111. <param name="type" type="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.MetadataType"/>
  2112. </method>
  2113. <method name="mtime" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.Builder"
  2114. abstract="false" native="false" synchronized="false"
  2115. static="false" final="false" visibility="public"
  2116. deprecated="not deprecated">
  2117. <param name="mtime" type="long"/>
  2118. </method>
  2119. <method name="atime" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.Builder"
  2120. abstract="false" native="false" synchronized="false"
  2121. static="false" final="false" visibility="public"
  2122. deprecated="not deprecated">
  2123. <param name="atime" type="long"/>
  2124. </method>
  2125. <method name="replication" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.Builder"
  2126. abstract="false" native="false" synchronized="false"
  2127. static="false" final="false" visibility="public"
  2128. deprecated="not deprecated">
  2129. <param name="replication" type="int"/>
  2130. </method>
  2131. <method name="ownerName" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.Builder"
  2132. abstract="false" native="false" synchronized="false"
  2133. static="false" final="false" visibility="public"
  2134. deprecated="not deprecated">
  2135. <param name="ownerName" type="java.lang.String"/>
  2136. </method>
  2137. <method name="groupName" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.Builder"
  2138. abstract="false" native="false" synchronized="false"
  2139. static="false" final="false" visibility="public"
  2140. deprecated="not deprecated">
  2141. <param name="groupName" type="java.lang.String"/>
  2142. </method>
  2143. <method name="perms" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.Builder"
  2144. abstract="false" native="false" synchronized="false"
  2145. static="false" final="false" visibility="public"
  2146. deprecated="not deprecated">
  2147. <param name="perms" type="org.apache.hadoop.fs.permission.FsPermission"/>
  2148. </method>
  2149. <method name="acls" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.Builder"
  2150. abstract="false" native="false" synchronized="false"
  2151. static="false" final="false" visibility="public"
  2152. deprecated="not deprecated">
  2153. <param name="acls" type="java.util.List"/>
  2154. </method>
  2155. <method name="xAttrs" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.Builder"
  2156. abstract="false" native="false" synchronized="false"
  2157. static="false" final="false" visibility="public"
  2158. deprecated="not deprecated">
  2159. <param name="xAttrs" type="java.util.List"/>
  2160. </method>
  2161. <method name="xAttrsRemoved" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.Builder"
  2162. abstract="false" native="false" synchronized="false"
  2163. static="false" final="false" visibility="public"
  2164. deprecated="not deprecated">
  2165. <param name="xAttrsRemoved" type="boolean"/>
  2166. </method>
  2167. <method name="build" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent"
  2168. abstract="false" native="false" synchronized="false"
  2169. static="false" final="false" visibility="public"
  2170. deprecated="not deprecated">
  2171. </method>
  2172. </class>
  2173. <!-- end class org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.Builder -->
  2174. <!-- start class org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.MetadataType -->
  2175. <class name="Event.MetadataUpdateEvent.MetadataType" extends="java.lang.Enum"
  2176. abstract="false"
  2177. static="true" final="true" visibility="public"
  2178. deprecated="not deprecated">
  2179. <method name="values" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.MetadataType[]"
  2180. abstract="false" native="false" synchronized="false"
  2181. static="true" final="false" visibility="public"
  2182. deprecated="not deprecated">
  2183. </method>
  2184. <method name="valueOf" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.MetadataType"
  2185. abstract="false" native="false" synchronized="false"
  2186. static="true" final="false" visibility="public"
  2187. deprecated="not deprecated">
  2188. <param name="name" type="java.lang.String"/>
  2189. </method>
  2190. </class>
  2191. <!-- end class org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.MetadataType -->
  2192. <!-- start class org.apache.hadoop.hdfs.inotify.Event.RenameEvent -->
  2193. <class name="Event.RenameEvent" extends="org.apache.hadoop.hdfs.inotify.Event"
  2194. abstract="false"
  2195. static="true" final="false" visibility="public"
  2196. deprecated="not deprecated">
  2197. <constructor name="Event.RenameEvent" type="java.lang.String, java.lang.String, long"
  2198. static="false" final="false" visibility="public"
  2199. deprecated="not deprecated">
  2200. </constructor>
  2201. <method name="getSrcPath" return="java.lang.String"
  2202. abstract="false" native="false" synchronized="false"
  2203. static="false" final="false" visibility="public"
  2204. deprecated="not deprecated">
  2205. </method>
  2206. <method name="getDstPath" return="java.lang.String"
  2207. abstract="false" native="false" synchronized="false"
  2208. static="false" final="false" visibility="public"
  2209. deprecated="not deprecated">
  2210. </method>
  2211. <method name="getTimestamp" return="long"
  2212. abstract="false" native="false" synchronized="false"
  2213. static="false" final="false" visibility="public"
  2214. deprecated="not deprecated">
  2215. <doc>
  2216. <![CDATA[The time when this event occurred, in milliseconds since the epoch.]]>
  2217. </doc>
  2218. </method>
  2219. <doc>
  2220. <![CDATA[Sent when a file, directory, or symlink is renamed.]]>
  2221. </doc>
  2222. </class>
  2223. <!-- end class org.apache.hadoop.hdfs.inotify.Event.RenameEvent -->
  2224. <!-- start class org.apache.hadoop.hdfs.inotify.Event.UnlinkEvent -->
  2225. <class name="Event.UnlinkEvent" extends="org.apache.hadoop.hdfs.inotify.Event"
  2226. abstract="false"
  2227. static="true" final="false" visibility="public"
  2228. deprecated="not deprecated">
  2229. <constructor name="Event.UnlinkEvent" type="java.lang.String, long"
  2230. static="false" final="false" visibility="public"
  2231. deprecated="not deprecated">
  2232. </constructor>
  2233. <method name="getPath" return="java.lang.String"
  2234. abstract="false" native="false" synchronized="false"
  2235. static="false" final="false" visibility="public"
  2236. deprecated="not deprecated">
  2237. </method>
  2238. <method name="getTimestamp" return="long"
  2239. abstract="false" native="false" synchronized="false"
  2240. static="false" final="false" visibility="public"
  2241. deprecated="not deprecated">
  2242. <doc>
  2243. <![CDATA[The time when this event occurred, in milliseconds since the epoch.]]>
  2244. </doc>
  2245. </method>
  2246. <doc>
  2247. <![CDATA[Sent when a file, directory, or symlink is deleted.]]>
  2248. </doc>
  2249. </class>
  2250. <!-- end class org.apache.hadoop.hdfs.inotify.Event.UnlinkEvent -->
  2251. <!-- start class org.apache.hadoop.hdfs.inotify.MissingEventsException -->
  2252. <class name="MissingEventsException" extends="java.lang.Exception"
  2253. abstract="false"
  2254. static="false" final="false" visibility="public"
  2255. deprecated="not deprecated">
  2256. <constructor name="MissingEventsException"
  2257. static="false" final="false" visibility="public"
  2258. deprecated="not deprecated">
  2259. </constructor>
  2260. <constructor name="MissingEventsException" type="long, long"
  2261. static="false" final="false" visibility="public"
  2262. deprecated="not deprecated">
  2263. </constructor>
  2264. <method name="getExpectedTxid" return="long"
  2265. abstract="false" native="false" synchronized="false"
  2266. static="false" final="false" visibility="public"
  2267. deprecated="not deprecated">
  2268. </method>
  2269. <method name="getActualTxid" return="long"
  2270. abstract="false" native="false" synchronized="false"
  2271. static="false" final="false" visibility="public"
  2272. deprecated="not deprecated">
  2273. </method>
  2274. <method name="toString" return="java.lang.String"
  2275. abstract="false" native="false" synchronized="false"
  2276. static="false" final="false" visibility="public"
  2277. deprecated="not deprecated">
  2278. </method>
  2279. </class>
  2280. <!-- end class org.apache.hadoop.hdfs.inotify.MissingEventsException -->
  2281. </package>
  2282. <package name="org.apache.hadoop.hdfs.net">
  2283. </package>
  2284. <package name="org.apache.hadoop.hdfs.protocol">
  2285. <!-- start class org.apache.hadoop.hdfs.protocol.CacheDirectiveEntry -->
  2286. <class name="CacheDirectiveEntry" extends="java.lang.Object"
  2287. abstract="false"
  2288. static="false" final="false" visibility="public"
  2289. deprecated="not deprecated">
  2290. <constructor name="CacheDirectiveEntry" type="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo, org.apache.hadoop.hdfs.protocol.CacheDirectiveStats"
  2291. static="false" final="false" visibility="public"
  2292. deprecated="not deprecated">
  2293. </constructor>
  2294. <method name="getInfo" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo"
  2295. abstract="false" native="false" synchronized="false"
  2296. static="false" final="false" visibility="public"
  2297. deprecated="not deprecated">
  2298. </method>
  2299. <method name="getStats" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveStats"
  2300. abstract="false" native="false" synchronized="false"
  2301. static="false" final="false" visibility="public"
  2302. deprecated="not deprecated">
  2303. </method>
  2304. <doc>
  2305. <![CDATA[Describes a path-based cache directive entry.]]>
  2306. </doc>
  2307. </class>
  2308. <!-- end class org.apache.hadoop.hdfs.protocol.CacheDirectiveEntry -->
  2309. <!-- start class org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo -->
  2310. <class name="CacheDirectiveInfo" extends="java.lang.Object"
  2311. abstract="false"
  2312. static="false" final="false" visibility="public"
  2313. deprecated="not deprecated">
  2314. <method name="getId" return="java.lang.Long"
  2315. abstract="false" native="false" synchronized="false"
  2316. static="false" final="false" visibility="public"
  2317. deprecated="not deprecated">
  2318. <doc>
  2319. <![CDATA[@return The ID of this directive.]]>
  2320. </doc>
  2321. </method>
  2322. <method name="getPath" return="org.apache.hadoop.fs.Path"
  2323. abstract="false" native="false" synchronized="false"
  2324. static="false" final="false" visibility="public"
  2325. deprecated="not deprecated">
  2326. <doc>
  2327. <![CDATA[@return The path used in this request.]]>
  2328. </doc>
  2329. </method>
  2330. <method name="getReplication" return="java.lang.Short"
  2331. abstract="false" native="false" synchronized="false"
  2332. static="false" final="false" visibility="public"
  2333. deprecated="not deprecated">
  2334. <doc>
  2335. <![CDATA[@return The number of times the block should be cached.]]>
  2336. </doc>
  2337. </method>
  2338. <method name="getPool" return="java.lang.String"
  2339. abstract="false" native="false" synchronized="false"
  2340. static="false" final="false" visibility="public"
  2341. deprecated="not deprecated">
  2342. <doc>
  2343. <![CDATA[@return The pool used in this request.]]>
  2344. </doc>
  2345. </method>
  2346. <method name="getExpiration" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Expiration"
  2347. abstract="false" native="false" synchronized="false"
  2348. static="false" final="false" visibility="public"
  2349. deprecated="not deprecated">
  2350. <doc>
  2351. <![CDATA[@return When this directive expires.]]>
  2352. </doc>
  2353. </method>
  2354. <method name="equals" return="boolean"
  2355. abstract="false" native="false" synchronized="false"
  2356. static="false" final="false" visibility="public"
  2357. deprecated="not deprecated">
  2358. <param name="o" type="java.lang.Object"/>
  2359. </method>
  2360. <method name="hashCode" return="int"
  2361. abstract="false" native="false" synchronized="false"
  2362. static="false" final="false" visibility="public"
  2363. deprecated="not deprecated">
  2364. </method>
  2365. <method name="toString" return="java.lang.String"
  2366. abstract="false" native="false" synchronized="false"
  2367. static="false" final="false" visibility="public"
  2368. deprecated="not deprecated">
  2369. </method>
  2370. <doc>
  2371. <![CDATA[Describes a path-based cache directive.]]>
  2372. </doc>
  2373. </class>
  2374. <!-- end class org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo -->
  2375. <!-- start class org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Builder -->
  2376. <class name="CacheDirectiveInfo.Builder" extends="java.lang.Object"
  2377. abstract="false"
  2378. static="true" final="false" visibility="public"
  2379. deprecated="not deprecated">
  2380. <constructor name="CacheDirectiveInfo.Builder"
  2381. static="false" final="false" visibility="public"
  2382. deprecated="not deprecated">
  2383. <doc>
  2384. <![CDATA[Creates an empty builder.]]>
  2385. </doc>
  2386. </constructor>
  2387. <constructor name="CacheDirectiveInfo.Builder" type="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo"
  2388. static="false" final="false" visibility="public"
  2389. deprecated="not deprecated">
  2390. <doc>
  2391. <![CDATA[Creates a builder with all elements set to the same values as the
  2392. given CacheDirectiveInfo.]]>
  2393. </doc>
  2394. </constructor>
  2395. <method name="build" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo"
  2396. abstract="false" native="false" synchronized="false"
  2397. static="false" final="false" visibility="public"
  2398. deprecated="not deprecated">
  2399. <doc>
  2400. <![CDATA[Builds a new CacheDirectiveInfo populated with the set properties.
  2401. @return New CacheDirectiveInfo.]]>
  2402. </doc>
  2403. </method>
  2404. <method name="setId" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Builder"
  2405. abstract="false" native="false" synchronized="false"
  2406. static="false" final="false" visibility="public"
  2407. deprecated="not deprecated">
  2408. <param name="id" type="java.lang.Long"/>
  2409. <doc>
  2410. <![CDATA[Sets the id used in this request.
  2411. @param id The id used in this request.
  2412. @return This builder, for call chaining.]]>
  2413. </doc>
  2414. </method>
  2415. <method name="setPath" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Builder"
  2416. abstract="false" native="false" synchronized="false"
  2417. static="false" final="false" visibility="public"
  2418. deprecated="not deprecated">
  2419. <param name="path" type="org.apache.hadoop.fs.Path"/>
  2420. <doc>
  2421. <![CDATA[Sets the path used in this request.
  2422. @param path The path used in this request.
  2423. @return This builder, for call chaining.]]>
  2424. </doc>
  2425. </method>
  2426. <method name="setReplication" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Builder"
  2427. abstract="false" native="false" synchronized="false"
  2428. static="false" final="false" visibility="public"
  2429. deprecated="not deprecated">
  2430. <param name="replication" type="java.lang.Short"/>
  2431. <doc>
  2432. <![CDATA[Sets the replication used in this request.
  2433. @param replication The replication used in this request.
  2434. @return This builder, for call chaining.]]>
  2435. </doc>
  2436. </method>
  2437. <method name="setPool" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Builder"
  2438. abstract="false" native="false" synchronized="false"
  2439. static="false" final="false" visibility="public"
  2440. deprecated="not deprecated">
  2441. <param name="pool" type="java.lang.String"/>
  2442. <doc>
  2443. <![CDATA[Sets the pool used in this request.
  2444. @param pool The pool used in this request.
  2445. @return This builder, for call chaining.]]>
  2446. </doc>
  2447. </method>
  2448. <method name="setExpiration" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Builder"
  2449. abstract="false" native="false" synchronized="false"
  2450. static="false" final="false" visibility="public"
  2451. deprecated="not deprecated">
  2452. <param name="expiration" type="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Expiration"/>
  2453. <doc>
  2454. <![CDATA[Sets when the CacheDirective should expire. A
  2455. {@link CacheDirectiveInfo.Expiration} can specify either an absolute or
  2456. relative expiration time.
  2457. @param expiration when this CacheDirective should expire
  2458. @return This builder, for call chaining]]>
  2459. </doc>
  2460. </method>
  2461. <doc>
  2462. <![CDATA[A builder for creating new CacheDirectiveInfo instances.]]>
  2463. </doc>
  2464. </class>
  2465. <!-- end class org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Builder -->
  2466. <!-- start class org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Expiration -->
  2467. <class name="CacheDirectiveInfo.Expiration" extends="java.lang.Object"
  2468. abstract="false"
  2469. static="true" final="false" visibility="public"
  2470. deprecated="not deprecated">
  2471. <method name="newRelative" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Expiration"
  2472. abstract="false" native="false" synchronized="false"
  2473. static="true" final="false" visibility="public"
  2474. deprecated="not deprecated">
  2475. <param name="ms" type="long"/>
  2476. <doc>
  2477. <![CDATA[Create a new relative Expiration.
  2478. <p>
  2479. Use {@link Expiration#NEVER} to indicate an Expiration that never
  2480. expires.
  2481. @param ms how long until the CacheDirective expires, in milliseconds
  2482. @return A relative Expiration]]>
  2483. </doc>
  2484. </method>
  2485. <method name="newAbsolute" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Expiration"
  2486. abstract="false" native="false" synchronized="false"
  2487. static="true" final="false" visibility="public"
  2488. deprecated="not deprecated">
  2489. <param name="date" type="java.util.Date"/>
  2490. <doc>
  2491. <![CDATA[Create a new absolute Expiration.
  2492. <p>
  2493. Use {@link Expiration#NEVER} to indicate an Expiration that never
  2494. expires.
  2495. @param date when the CacheDirective expires
  2496. @return An absolute Expiration]]>
  2497. </doc>
  2498. </method>
  2499. <method name="newAbsolute" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Expiration"
  2500. abstract="false" native="false" synchronized="false"
  2501. static="true" final="false" visibility="public"
  2502. deprecated="not deprecated">
  2503. <param name="ms" type="long"/>
  2504. <doc>
  2505. <![CDATA[Create a new absolute Expiration.
  2506. <p>
  2507. Use {@link Expiration#NEVER} to indicate an Expiration that never
  2508. expires.
  2509. @param ms when the CacheDirective expires, in milliseconds since the Unix
  2510. epoch.
  2511. @return An absolute Expiration]]>
  2512. </doc>
  2513. </method>
  2514. <method name="isRelative" return="boolean"
  2515. abstract="false" native="false" synchronized="false"
  2516. static="false" final="false" visibility="public"
  2517. deprecated="not deprecated">
  2518. <doc>
  2519. <![CDATA[@return true if Expiration was specified as a relative duration, false if
  2520. specified as an absolute time.]]>
  2521. </doc>
  2522. </method>
  2523. <method name="getMillis" return="long"
  2524. abstract="false" native="false" synchronized="false"
  2525. static="false" final="false" visibility="public"
  2526. deprecated="not deprecated">
  2527. <doc>
  2528. <![CDATA[@return The raw underlying millisecond value, either a relative duration
  2529. or an absolute time as milliseconds since the Unix epoch.]]>
  2530. </doc>
  2531. </method>
  2532. <method name="getAbsoluteDate" return="java.util.Date"
  2533. abstract="false" native="false" synchronized="false"
  2534. static="false" final="false" visibility="public"
  2535. deprecated="not deprecated">
  2536. <doc>
  2537. <![CDATA[@return Expiration time as a {@link Date} object. This converts a
  2538. relative Expiration into an absolute Date based on the local
  2539. clock.]]>
  2540. </doc>
  2541. </method>
  2542. <method name="getAbsoluteMillis" return="long"
  2543. abstract="false" native="false" synchronized="false"
  2544. static="false" final="false" visibility="public"
  2545. deprecated="not deprecated">
  2546. <doc>
  2547. <![CDATA[@return Expiration time in milliseconds from the Unix epoch. This
  2548. converts a relative Expiration into an absolute time based on the
  2549. local clock.]]>
  2550. </doc>
  2551. </method>
  2552. <method name="toString" return="java.lang.String"
  2553. abstract="false" native="false" synchronized="false"
  2554. static="false" final="false" visibility="public"
  2555. deprecated="not deprecated">
  2556. </method>
  2557. <field name="MAX_RELATIVE_EXPIRY_MS" type="long"
  2558. transient="false" volatile="false"
  2559. static="true" final="true" visibility="public"
  2560. deprecated="not deprecated">
  2561. <doc>
  2562. <![CDATA[The maximum value we accept for a relative expiry.]]>
  2563. </doc>
  2564. </field>
  2565. <field name="NEVER" type="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Expiration"
  2566. transient="false" volatile="false"
  2567. static="true" final="true" visibility="public"
  2568. deprecated="not deprecated">
  2569. <doc>
  2570. <![CDATA[An relative Expiration that never expires.]]>
  2571. </doc>
  2572. </field>
  2573. <doc>
  2574. <![CDATA[Denotes a relative or absolute expiration time for a CacheDirective. Use
  2575. factory methods {@link CacheDirectiveInfo.Expiration#newAbsolute(Date)} and
  2576. {@link CacheDirectiveInfo.Expiration#newRelative(long)} to create an
  2577. Expiration.
  2578. <p>
  2579. In either case, the server-side clock is used to determine when a
  2580. CacheDirective expires.]]>
  2581. </doc>
  2582. </class>
  2583. <!-- end class org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Expiration -->
  2584. <!-- start class org.apache.hadoop.hdfs.protocol.CacheDirectiveStats -->
  2585. <class name="CacheDirectiveStats" extends="java.lang.Object"
  2586. abstract="false"
  2587. static="false" final="false" visibility="public"
  2588. deprecated="not deprecated">
  2589. <method name="getBytesNeeded" return="long"
  2590. abstract="false" native="false" synchronized="false"
  2591. static="false" final="false" visibility="public"
  2592. deprecated="not deprecated">
  2593. <doc>
  2594. <![CDATA[@return The bytes needed.]]>
  2595. </doc>
  2596. </method>
  2597. <method name="getBytesCached" return="long"
  2598. abstract="false" native="false" synchronized="false"
  2599. static="false" final="false" visibility="public"
  2600. deprecated="not deprecated">
  2601. <doc>
  2602. <![CDATA[@return The bytes cached.]]>
  2603. </doc>
  2604. </method>
  2605. <method name="getFilesNeeded" return="long"
  2606. abstract="false" native="false" synchronized="false"
  2607. static="false" final="false" visibility="public"
  2608. deprecated="not deprecated">
  2609. <doc>
  2610. <![CDATA[@return The number of files needed.]]>
  2611. </doc>
  2612. </method>
  2613. <method name="getFilesCached" return="long"
  2614. abstract="false" native="false" synchronized="false"
  2615. static="false" final="false" visibility="public"
  2616. deprecated="not deprecated">
  2617. <doc>
  2618. <![CDATA[@return The number of files cached.]]>
  2619. </doc>
  2620. </method>
  2621. <method name="hasExpired" return="boolean"
  2622. abstract="false" native="false" synchronized="false"
  2623. static="false" final="false" visibility="public"
  2624. deprecated="not deprecated">
  2625. <doc>
  2626. <![CDATA[@return Whether this directive has expired.]]>
  2627. </doc>
  2628. </method>
  2629. <method name="toString" return="java.lang.String"
  2630. abstract="false" native="false" synchronized="false"
  2631. static="false" final="false" visibility="public"
  2632. deprecated="not deprecated">
  2633. </method>
  2634. <doc>
  2635. <![CDATA[Describes a path-based cache directive.]]>
  2636. </doc>
  2637. </class>
  2638. <!-- end class org.apache.hadoop.hdfs.protocol.CacheDirectiveStats -->
  2639. <!-- start class org.apache.hadoop.hdfs.protocol.CacheDirectiveStats.Builder -->
  2640. <class name="CacheDirectiveStats.Builder" extends="java.lang.Object"
  2641. abstract="false"
  2642. static="true" final="false" visibility="public"
  2643. deprecated="not deprecated">
  2644. <constructor name="CacheDirectiveStats.Builder"
  2645. static="false" final="false" visibility="public"
  2646. deprecated="not deprecated">
  2647. <doc>
  2648. <![CDATA[Creates an empty builder.]]>
  2649. </doc>
  2650. </constructor>
  2651. <method name="build" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveStats"
  2652. abstract="false" native="false" synchronized="false"
  2653. static="false" final="false" visibility="public"
  2654. deprecated="not deprecated">
  2655. <doc>
  2656. <![CDATA[Builds a new CacheDirectiveStats populated with the set properties.
  2657. @return New CacheDirectiveStats.]]>
  2658. </doc>
  2659. </method>
  2660. <method name="setBytesNeeded" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveStats.Builder"
  2661. abstract="false" native="false" synchronized="false"
  2662. static="false" final="false" visibility="public"
  2663. deprecated="not deprecated">
  2664. <param name="bytesNeeded" type="long"/>
  2665. <doc>
  2666. <![CDATA[Sets the bytes needed by this directive.
  2667. @param bytesNeeded The bytes needed.
  2668. @return This builder, for call chaining.]]>
  2669. </doc>
  2670. </method>
  2671. <method name="setBytesCached" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveStats.Builder"
  2672. abstract="false" native="false" synchronized="false"
  2673. static="false" final="false" visibility="public"
  2674. deprecated="not deprecated">
  2675. <param name="bytesCached" type="long"/>
  2676. <doc>
  2677. <![CDATA[Sets the bytes cached by this directive.
  2678. @param bytesCached The bytes cached.
  2679. @return This builder, for call chaining.]]>
  2680. </doc>
  2681. </method>
  2682. <method name="setFilesNeeded" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveStats.Builder"
  2683. abstract="false" native="false" synchronized="false"
  2684. static="false" final="false" visibility="public"
  2685. deprecated="not deprecated">
  2686. <param name="filesNeeded" type="long"/>
  2687. <doc>
  2688. <![CDATA[Sets the files needed by this directive.
  2689. @param filesNeeded The number of files needed
  2690. @return This builder, for call chaining.]]>
  2691. </doc>
  2692. </method>
  2693. <method name="setFilesCached" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveStats.Builder"
  2694. abstract="false" native="false" synchronized="false"
  2695. static="false" final="false" visibility="public"
  2696. deprecated="not deprecated">
  2697. <param name="filesCached" type="long"/>
  2698. <doc>
  2699. <![CDATA[Sets the files cached by this directive.
  2700. @param filesCached The number of files cached.
  2701. @return This builder, for call chaining.]]>
  2702. </doc>
  2703. </method>
  2704. <method name="setHasExpired" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveStats.Builder"
  2705. abstract="false" native="false" synchronized="false"
  2706. static="false" final="false" visibility="public"
  2707. deprecated="not deprecated">
  2708. <param name="hasExpired" type="boolean"/>
  2709. <doc>
  2710. <![CDATA[Sets whether this directive has expired.
  2711. @param hasExpired if this directive has expired
  2712. @return This builder, for call chaining.]]>
  2713. </doc>
  2714. </method>
  2715. </class>
  2716. <!-- end class org.apache.hadoop.hdfs.protocol.CacheDirectiveStats.Builder -->
  2717. <!-- start class org.apache.hadoop.hdfs.protocol.CachePoolEntry -->
  2718. <class name="CachePoolEntry" extends="java.lang.Object"
  2719. abstract="false"
  2720. static="false" final="false" visibility="public"
  2721. deprecated="not deprecated">
  2722. <constructor name="CachePoolEntry" type="org.apache.hadoop.hdfs.protocol.CachePoolInfo, org.apache.hadoop.hdfs.protocol.CachePoolStats"
  2723. static="false" final="false" visibility="public"
  2724. deprecated="not deprecated">
  2725. </constructor>
  2726. <method name="getInfo" return="org.apache.hadoop.hdfs.protocol.CachePoolInfo"
  2727. abstract="false" native="false" synchronized="false"
  2728. static="false" final="false" visibility="public"
  2729. deprecated="not deprecated">
  2730. </method>
  2731. <method name="getStats" return="org.apache.hadoop.hdfs.protocol.CachePoolStats"
  2732. abstract="false" native="false" synchronized="false"
  2733. static="false" final="false" visibility="public"
  2734. deprecated="not deprecated">
  2735. </method>
  2736. <doc>
  2737. <![CDATA[Describes a Cache Pool entry.]]>
  2738. </doc>
  2739. </class>
  2740. <!-- end class org.apache.hadoop.hdfs.protocol.CachePoolEntry -->
  2741. <!-- start class org.apache.hadoop.hdfs.protocol.CachePoolInfo -->
  2742. <class name="CachePoolInfo" extends="java.lang.Object"
  2743. abstract="false"
  2744. static="false" final="false" visibility="public"
  2745. deprecated="not deprecated">
  2746. <constructor name="CachePoolInfo" type="java.lang.String"
  2747. static="false" final="false" visibility="public"
  2748. deprecated="not deprecated">
  2749. </constructor>
  2750. <method name="getPoolName" return="java.lang.String"
  2751. abstract="false" native="false" synchronized="false"
  2752. static="false" final="false" visibility="public"
  2753. deprecated="not deprecated">
  2754. <doc>
  2755. <![CDATA[@return Name of the pool.]]>
  2756. </doc>
  2757. </method>
  2758. <method name="getOwnerName" return="java.lang.String"
  2759. abstract="false" native="false" synchronized="false"
  2760. static="false" final="false" visibility="public"
  2761. deprecated="not deprecated">
  2762. <doc>
  2763. <![CDATA[@return The owner of the pool. Along with the group and mode, determines
  2764. who has access to view and modify the pool.]]>
  2765. </doc>
  2766. </method>
  2767. <method name="setOwnerName" return="org.apache.hadoop.hdfs.protocol.CachePoolInfo"
  2768. abstract="false" native="false" synchronized="false"
  2769. static="false" final="false" visibility="public"
  2770. deprecated="not deprecated">
  2771. <param name="ownerName" type="java.lang.String"/>
  2772. </method>
  2773. <method name="getGroupName" return="java.lang.String"
  2774. abstract="false" native="false" synchronized="false"
  2775. static="false" final="false" visibility="public"
  2776. deprecated="not deprecated">
  2777. <doc>
  2778. <![CDATA[@return The group of the pool. Along with the owner and mode, determines
  2779. who has access to view and modify the pool.]]>
  2780. </doc>
  2781. </method>
  2782. <method name="setGroupName" return="org.apache.hadoop.hdfs.protocol.CachePoolInfo"
  2783. abstract="false" native="false" synchronized="false"
  2784. static="false" final="false" visibility="public"
  2785. deprecated="not deprecated">
  2786. <param name="groupName" type="java.lang.String"/>
  2787. </method>
  2788. <method name="getMode" return="org.apache.hadoop.fs.permission.FsPermission"
  2789. abstract="false" native="false" synchronized="false"
  2790. static="false" final="false" visibility="public"
  2791. deprecated="not deprecated">
  2792. <doc>
  2793. <![CDATA[@return Unix-style permissions of the pool. Along with the owner and group,
  2794. determines who has access to view and modify the pool.]]>
  2795. </doc>
  2796. </method>
  2797. <method name="setMode" return="org.apache.hadoop.hdfs.protocol.CachePoolInfo"
  2798. abstract="false" native="false" synchronized="false"
  2799. static="false" final="false" visibility="public"
  2800. deprecated="not deprecated">
  2801. <param name="mode" type="org.apache.hadoop.fs.permission.FsPermission"/>
  2802. </method>
  2803. <method name="getLimit" return="java.lang.Long"
  2804. abstract="false" native="false" synchronized="false"
  2805. static="false" final="false" visibility="public"
  2806. deprecated="not deprecated">
  2807. <doc>
  2808. <![CDATA[@return The maximum aggregate number of bytes that can be cached by
  2809. directives in this pool.]]>
  2810. </doc>
  2811. </method>
  2812. <method name="setLimit" return="org.apache.hadoop.hdfs.protocol.CachePoolInfo"
  2813. abstract="false" native="false" synchronized="false"
  2814. static="false" final="false" visibility="public"
  2815. deprecated="not deprecated">
  2816. <param name="bytes" type="java.lang.Long"/>
  2817. </method>
  2818. <method name="getMaxRelativeExpiryMs" return="java.lang.Long"
  2819. abstract="false" native="false" synchronized="false"
  2820. static="false" final="false" visibility="public"
  2821. deprecated="not deprecated">
  2822. <doc>
  2823. <![CDATA[@return The maximum relative expiration of directives of this pool in
  2824. milliseconds]]>
  2825. </doc>
  2826. </method>
  2827. <method name="setMaxRelativeExpiryMs" return="org.apache.hadoop.hdfs.protocol.CachePoolInfo"
  2828. abstract="false" native="false" synchronized="false"
  2829. static="false" final="false" visibility="public"
  2830. deprecated="not deprecated">
  2831. <param name="ms" type="java.lang.Long"/>
  2832. <doc>
  2833. <![CDATA[Set the maximum relative expiration of directives of this pool in
  2834. milliseconds.
  2835. @param ms in milliseconds
  2836. @return This builder, for call chaining.]]>
  2837. </doc>
  2838. </method>
  2839. <method name="toString" return="java.lang.String"
  2840. abstract="false" native="false" synchronized="false"
  2841. static="false" final="false" visibility="public"
  2842. deprecated="not deprecated">
  2843. </method>
  2844. <method name="equals" return="boolean"
  2845. abstract="false" native="false" synchronized="false"
  2846. static="false" final="false" visibility="public"
  2847. deprecated="not deprecated">
  2848. <param name="o" type="java.lang.Object"/>
  2849. </method>
  2850. <method name="hashCode" return="int"
  2851. abstract="false" native="false" synchronized="false"
  2852. static="false" final="false" visibility="public"
  2853. deprecated="not deprecated">
  2854. </method>
  2855. <method name="validate"
  2856. abstract="false" native="false" synchronized="false"
  2857. static="true" final="false" visibility="public"
  2858. deprecated="not deprecated">
  2859. <param name="info" type="org.apache.hadoop.hdfs.protocol.CachePoolInfo"/>
  2860. <exception name="IOException" type="java.io.IOException"/>
  2861. </method>
  2862. <method name="validateName"
  2863. abstract="false" native="false" synchronized="false"
  2864. static="true" final="false" visibility="public"
  2865. deprecated="not deprecated">
  2866. <param name="poolName" type="java.lang.String"/>
  2867. <exception name="IOException" type="java.io.IOException"/>
  2868. </method>
  2869. <field name="LOG" type="org.apache.commons.logging.Log"
  2870. transient="false" volatile="false"
  2871. static="true" final="true" visibility="public"
  2872. deprecated="not deprecated">
  2873. </field>
  2874. <field name="RELATIVE_EXPIRY_NEVER" type="long"
  2875. transient="false" volatile="false"
  2876. static="true" final="true" visibility="public"
  2877. deprecated="not deprecated">
  2878. <doc>
  2879. <![CDATA[Indicates that the pool does not have a maximum relative expiry.]]>
  2880. </doc>
  2881. </field>
  2882. <field name="DEFAULT_MAX_RELATIVE_EXPIRY" type="long"
  2883. transient="false" volatile="false"
  2884. static="true" final="true" visibility="public"
  2885. deprecated="not deprecated">
  2886. <doc>
  2887. <![CDATA[Default max relative expiry for cache pools.]]>
  2888. </doc>
  2889. </field>
  2890. <field name="LIMIT_UNLIMITED" type="long"
  2891. transient="false" volatile="false"
  2892. static="true" final="true" visibility="public"
  2893. deprecated="not deprecated">
  2894. </field>
  2895. <field name="DEFAULT_LIMIT" type="long"
  2896. transient="false" volatile="false"
  2897. static="true" final="true" visibility="public"
  2898. deprecated="not deprecated">
  2899. </field>
  2900. <doc>
  2901. <![CDATA[CachePoolInfo describes a cache pool.
  2902. This class is used in RPCs to create and modify cache pools.
  2903. It is serializable and can be stored in the edit log.]]>
  2904. </doc>
  2905. </class>
  2906. <!-- end class org.apache.hadoop.hdfs.protocol.CachePoolInfo -->
  2907. <!-- start class org.apache.hadoop.hdfs.protocol.CachePoolStats -->
  2908. <class name="CachePoolStats" extends="java.lang.Object"
  2909. abstract="false"
  2910. static="false" final="false" visibility="public"
  2911. deprecated="not deprecated">
  2912. <method name="getBytesNeeded" return="long"
  2913. abstract="false" native="false" synchronized="false"
  2914. static="false" final="false" visibility="public"
  2915. deprecated="not deprecated">
  2916. </method>
  2917. <method name="getBytesCached" return="long"
  2918. abstract="false" native="false" synchronized="false"
  2919. static="false" final="false" visibility="public"
  2920. deprecated="not deprecated">
  2921. </method>
  2922. <method name="getBytesOverlimit" return="long"
  2923. abstract="false" native="false" synchronized="false"
  2924. static="false" final="false" visibility="public"
  2925. deprecated="not deprecated">
  2926. </method>
  2927. <method name="getFilesNeeded" return="long"
  2928. abstract="false" native="false" synchronized="false"
  2929. static="false" final="false" visibility="public"
  2930. deprecated="not deprecated">
  2931. </method>
  2932. <method name="getFilesCached" return="long"
  2933. abstract="false" native="false" synchronized="false"
  2934. static="false" final="false" visibility="public"
  2935. deprecated="not deprecated">
  2936. </method>
  2937. <method name="toString" return="java.lang.String"
  2938. abstract="false" native="false" synchronized="false"
  2939. static="false" final="false" visibility="public"
  2940. deprecated="not deprecated">
  2941. </method>
  2942. <doc>
  2943. <![CDATA[CachePoolStats describes cache pool statistics.]]>
  2944. </doc>
  2945. </class>
  2946. <!-- end class org.apache.hadoop.hdfs.protocol.CachePoolStats -->
  2947. <!-- start class org.apache.hadoop.hdfs.protocol.CachePoolStats.Builder -->
  2948. <class name="CachePoolStats.Builder" extends="java.lang.Object"
  2949. abstract="false"
  2950. static="true" final="false" visibility="public"
  2951. deprecated="not deprecated">
  2952. <constructor name="CachePoolStats.Builder"
  2953. static="false" final="false" visibility="public"
  2954. deprecated="not deprecated">
  2955. </constructor>
  2956. <method name="setBytesNeeded" return="org.apache.hadoop.hdfs.protocol.CachePoolStats.Builder"
  2957. abstract="false" native="false" synchronized="false"
  2958. static="false" final="false" visibility="public"
  2959. deprecated="not deprecated">
  2960. <param name="bytesNeeded" type="long"/>
  2961. </method>
  2962. <method name="setBytesCached" return="org.apache.hadoop.hdfs.protocol.CachePoolStats.Builder"
  2963. abstract="false" native="false" synchronized="false"
  2964. static="false" final="false" visibility="public"
  2965. deprecated="not deprecated">
  2966. <param name="bytesCached" type="long"/>
  2967. </method>
  2968. <method name="setBytesOverlimit" return="org.apache.hadoop.hdfs.protocol.CachePoolStats.Builder"
  2969. abstract="false" native="false" synchronized="false"
  2970. static="false" final="false" visibility="public"
  2971. deprecated="not deprecated">
  2972. <param name="bytesOverlimit" type="long"/>
  2973. </method>
  2974. <method name="setFilesNeeded" return="org.apache.hadoop.hdfs.protocol.CachePoolStats.Builder"
  2975. abstract="false" native="false" synchronized="false"
  2976. static="false" final="false" visibility="public"
  2977. deprecated="not deprecated">
  2978. <param name="filesNeeded" type="long"/>
  2979. </method>
  2980. <method name="setFilesCached" return="org.apache.hadoop.hdfs.protocol.CachePoolStats.Builder"
  2981. abstract="false" native="false" synchronized="false"
  2982. static="false" final="false" visibility="public"
  2983. deprecated="not deprecated">
  2984. <param name="filesCached" type="long"/>
  2985. </method>
  2986. <method name="build" return="org.apache.hadoop.hdfs.protocol.CachePoolStats"
  2987. abstract="false" native="false" synchronized="false"
  2988. static="false" final="false" visibility="public"
  2989. deprecated="not deprecated">
  2990. </method>
  2991. </class>
  2992. <!-- end class org.apache.hadoop.hdfs.protocol.CachePoolStats.Builder -->
  2993. <!-- start class org.apache.hadoop.hdfs.protocol.CorruptFileBlocks -->
  2994. <class name="CorruptFileBlocks" extends="java.lang.Object"
  2995. abstract="false"
  2996. static="false" final="false" visibility="public"
  2997. deprecated="not deprecated">
  2998. <constructor name="CorruptFileBlocks"
  2999. static="false" final="false" visibility="public"
  3000. deprecated="not deprecated">
  3001. </constructor>
  3002. <constructor name="CorruptFileBlocks" type="java.lang.String[], java.lang.String"
  3003. static="false" final="false" visibility="public"
  3004. deprecated="not deprecated">
  3005. </constructor>
  3006. <method name="getFiles" return="java.lang.String[]"
  3007. abstract="false" native="false" synchronized="false"
  3008. static="false" final="false" visibility="public"
  3009. deprecated="not deprecated">
  3010. </method>
  3011. <method name="getCookie" return="java.lang.String"
  3012. abstract="false" native="false" synchronized="false"
  3013. static="false" final="false" visibility="public"
  3014. deprecated="not deprecated">
  3015. </method>
  3016. <method name="equals" return="boolean"
  3017. abstract="false" native="false" synchronized="false"
  3018. static="false" final="false" visibility="public"
  3019. deprecated="not deprecated">
  3020. <param name="obj" type="java.lang.Object"/>
  3021. </method>
  3022. <method name="hashCode" return="int"
  3023. abstract="false" native="false" synchronized="false"
  3024. static="false" final="false" visibility="public"
  3025. deprecated="not deprecated">
  3026. </method>
  3027. <doc>
  3028. <![CDATA[Contains a list of paths corresponding to corrupt files and a cookie
  3029. used for iterative calls to NameNode.listCorruptFileBlocks.]]>
  3030. </doc>
  3031. </class>
  3032. <!-- end class org.apache.hadoop.hdfs.protocol.CorruptFileBlocks -->
  3033. <!-- start class org.apache.hadoop.hdfs.protocol.DatanodeInfo.AdminStates -->
  3034. <class name="DatanodeInfo.AdminStates" extends="java.lang.Enum"
  3035. abstract="false"
  3036. static="true" final="true" visibility="public"
  3037. deprecated="not deprecated">
  3038. <method name="values" return="org.apache.hadoop.hdfs.protocol.DatanodeInfo.AdminStates[]"
  3039. abstract="false" native="false" synchronized="false"
  3040. static="true" final="false" visibility="public"
  3041. deprecated="not deprecated">
  3042. </method>
  3043. <method name="valueOf" return="org.apache.hadoop.hdfs.protocol.DatanodeInfo.AdminStates"
  3044. abstract="false" native="false" synchronized="false"
  3045. static="true" final="false" visibility="public"
  3046. deprecated="not deprecated">
  3047. <param name="name" type="java.lang.String"/>
  3048. </method>
  3049. <method name="toString" return="java.lang.String"
  3050. abstract="false" native="false" synchronized="false"
  3051. static="false" final="false" visibility="public"
  3052. deprecated="not deprecated">
  3053. </method>
  3054. <method name="fromValue" return="org.apache.hadoop.hdfs.protocol.DatanodeInfo.AdminStates"
  3055. abstract="false" native="false" synchronized="false"
  3056. static="true" final="false" visibility="public"
  3057. deprecated="not deprecated">
  3058. <param name="value" type="java.lang.String"/>
  3059. </method>
  3060. </class>
  3061. <!-- end class org.apache.hadoop.hdfs.protocol.DatanodeInfo.AdminStates -->
  3062. <!-- start class org.apache.hadoop.hdfs.protocol.EncryptionZone -->
  3063. <class name="EncryptionZone" extends="java.lang.Object"
  3064. abstract="false"
  3065. static="false" final="false" visibility="public"
  3066. deprecated="not deprecated">
  3067. <constructor name="EncryptionZone" type="long, java.lang.String, org.apache.hadoop.crypto.CipherSuite, org.apache.hadoop.crypto.CryptoProtocolVersion, java.lang.String"
  3068. static="false" final="false" visibility="public"
  3069. deprecated="not deprecated">
  3070. </constructor>
  3071. <method name="getId" return="long"
  3072. abstract="false" native="false" synchronized="false"
  3073. static="false" final="false" visibility="public"
  3074. deprecated="not deprecated">
  3075. </method>
  3076. <method name="getPath" return="java.lang.String"
  3077. abstract="false" native="false" synchronized="false"
  3078. static="false" final="false" visibility="public"
  3079. deprecated="not deprecated">
  3080. </method>
  3081. <method name="getSuite" return="org.apache.hadoop.crypto.CipherSuite"
  3082. abstract="false" native="false" synchronized="false"
  3083. static="false" final="false" visibility="public"
  3084. deprecated="not deprecated">
  3085. </method>
  3086. <method name="getVersion" return="org.apache.hadoop.crypto.CryptoProtocolVersion"
  3087. abstract="false" native="false" synchronized="false"
  3088. static="false" final="false" visibility="public"
  3089. deprecated="not deprecated">
  3090. </method>
  3091. <method name="getKeyName" return="java.lang.String"
  3092. abstract="false" native="false" synchronized="false"
  3093. static="false" final="false" visibility="public"
  3094. deprecated="not deprecated">
  3095. </method>
  3096. <method name="hashCode" return="int"
  3097. abstract="false" native="false" synchronized="false"
  3098. static="false" final="false" visibility="public"
  3099. deprecated="not deprecated">
  3100. </method>
  3101. <method name="equals" return="boolean"
  3102. abstract="false" native="false" synchronized="false"
  3103. static="false" final="false" visibility="public"
  3104. deprecated="not deprecated">
  3105. <param name="obj" type="java.lang.Object"/>
  3106. </method>
  3107. <method name="toString" return="java.lang.String"
  3108. abstract="false" native="false" synchronized="false"
  3109. static="false" final="false" visibility="public"
  3110. deprecated="not deprecated">
  3111. </method>
  3112. <doc>
  3113. <![CDATA[A simple class for representing an encryption zone. Presently an encryption
  3114. zone only has a path (the root of the encryption zone), a key name, and a
  3115. unique id. The id is used to implement batched listing of encryption zones.]]>
  3116. </doc>
  3117. </class>
  3118. <!-- end class org.apache.hadoop.hdfs.protocol.EncryptionZone -->
  3119. <!-- start class org.apache.hadoop.hdfs.protocol.FSConstants -->
  3120. <class name="FSConstants" extends="org.apache.hadoop.hdfs.protocol.HdfsConstants"
  3121. abstract="true"
  3122. static="false" final="false" visibility="public"
  3123. deprecated="Please use {@link HdfsConstants}. This class
  3124. is left only for other ecosystem projects which depended on
  3125. it for SafemodeAction and DatanodeReport types.">
  3126. <constructor name="FSConstants"
  3127. static="false" final="false" visibility="public"
  3128. deprecated="not deprecated">
  3129. </constructor>
  3130. <doc>
  3131. <![CDATA[@deprecated Please use {@link HdfsConstants}. This class
  3132. is left only for other ecosystem projects which depended on
  3133. it for SafemodeAction and DatanodeReport types.]]>
  3134. </doc>
  3135. </class>
  3136. <!-- end class org.apache.hadoop.hdfs.protocol.FSConstants -->
  3137. <!-- start class org.apache.hadoop.hdfs.protocol.FSLimitException.MaxDirectoryItemsExceededException -->
  3138. <class name="FSLimitException.MaxDirectoryItemsExceededException" extends="org.apache.hadoop.hdfs.protocol.FSLimitException"
  3139. abstract="false"
  3140. static="true" final="true" visibility="public"
  3141. deprecated="not deprecated">
  3142. <constructor name="FSLimitException.MaxDirectoryItemsExceededException"
  3143. static="false" final="false" visibility="protected"
  3144. deprecated="not deprecated">
  3145. </constructor>
  3146. <constructor name="FSLimitException.MaxDirectoryItemsExceededException" type="java.lang.String"
  3147. static="false" final="false" visibility="protected"
  3148. deprecated="not deprecated">
  3149. </constructor>
  3150. <constructor name="FSLimitException.MaxDirectoryItemsExceededException" type="long, long"
  3151. static="false" final="false" visibility="public"
  3152. deprecated="not deprecated">
  3153. </constructor>
  3154. <method name="getMessage" return="java.lang.String"
  3155. abstract="false" native="false" synchronized="false"
  3156. static="false" final="false" visibility="public"
  3157. deprecated="not deprecated">
  3158. </method>
  3159. <field name="serialVersionUID" type="long"
  3160. transient="false" volatile="false"
  3161. static="true" final="true" visibility="protected"
  3162. deprecated="not deprecated">
  3163. </field>
  3164. <doc>
  3165. <![CDATA[Directory has too many items]]>
  3166. </doc>
  3167. </class>
  3168. <!-- end class org.apache.hadoop.hdfs.protocol.FSLimitException.MaxDirectoryItemsExceededException -->
  3169. <!-- start class org.apache.hadoop.hdfs.protocol.FSLimitException.PathComponentTooLongException -->
  3170. <class name="FSLimitException.PathComponentTooLongException" extends="org.apache.hadoop.hdfs.protocol.FSLimitException"
  3171. abstract="false"
  3172. static="true" final="true" visibility="public"
  3173. deprecated="not deprecated">
  3174. <constructor name="FSLimitException.PathComponentTooLongException"
  3175. static="false" final="false" visibility="protected"
  3176. deprecated="not deprecated">
  3177. </constructor>
  3178. <constructor name="FSLimitException.PathComponentTooLongException" type="java.lang.String"
  3179. static="false" final="false" visibility="protected"
  3180. deprecated="not deprecated">
  3181. </constructor>
  3182. <constructor name="FSLimitException.PathComponentTooLongException" type="long, long, java.lang.String, java.lang.String"
  3183. static="false" final="false" visibility="public"
  3184. deprecated="not deprecated">
  3185. </constructor>
  3186. <method name="getMessage" return="java.lang.String"
  3187. abstract="false" native="false" synchronized="false"
  3188. static="false" final="false" visibility="public"
  3189. deprecated="not deprecated">
  3190. </method>
  3191. <field name="serialVersionUID" type="long"
  3192. transient="false" volatile="false"
  3193. static="true" final="true" visibility="protected"
  3194. deprecated="not deprecated">
  3195. </field>
  3196. <doc>
  3197. <![CDATA[Path component length is too long]]>
  3198. </doc>
  3199. </class>
  3200. <!-- end class org.apache.hadoop.hdfs.protocol.FSLimitException.PathComponentTooLongException -->
  3201. <!-- start class org.apache.hadoop.hdfs.protocol.HdfsConstants.DatanodeReportType -->
  3202. <class name="HdfsConstants.DatanodeReportType" extends="java.lang.Enum"
  3203. abstract="false"
  3204. static="true" final="true" visibility="public"
  3205. deprecated="not deprecated">
  3206. <method name="values" return="org.apache.hadoop.hdfs.protocol.HdfsConstants.DatanodeReportType[]"
  3207. abstract="false" native="false" synchronized="false"
  3208. static="true" final="false" visibility="public"
  3209. deprecated="not deprecated">
  3210. </method>
  3211. <method name="valueOf" return="org.apache.hadoop.hdfs.protocol.HdfsConstants.DatanodeReportType"
  3212. abstract="false" native="false" synchronized="false"
  3213. static="true" final="false" visibility="public"
  3214. deprecated="not deprecated">
  3215. <param name="name" type="java.lang.String"/>
  3216. </method>
  3217. </class>
  3218. <!-- end class org.apache.hadoop.hdfs.protocol.HdfsConstants.DatanodeReportType -->
  3219. <!-- start class org.apache.hadoop.hdfs.protocol.HdfsConstants.RollingUpgradeAction -->
  3220. <class name="HdfsConstants.RollingUpgradeAction" extends="java.lang.Enum"
  3221. abstract="false"
  3222. static="true" final="true" visibility="public"
  3223. deprecated="not deprecated">
  3224. <method name="values" return="org.apache.hadoop.hdfs.protocol.HdfsConstants.RollingUpgradeAction[]"
  3225. abstract="false" native="false" synchronized="false"
  3226. static="true" final="false" visibility="public"
  3227. deprecated="not deprecated">
  3228. </method>
  3229. <method name="valueOf" return="org.apache.hadoop.hdfs.protocol.HdfsConstants.RollingUpgradeAction"
  3230. abstract="false" native="false" synchronized="false"
  3231. static="true" final="false" visibility="public"
  3232. deprecated="not deprecated">
  3233. <param name="name" type="java.lang.String"/>
  3234. </method>
  3235. <method name="fromString" return="org.apache.hadoop.hdfs.protocol.HdfsConstants.RollingUpgradeAction"
  3236. abstract="false" native="false" synchronized="false"
  3237. static="true" final="false" visibility="public"
  3238. deprecated="not deprecated">
  3239. <param name="s" type="java.lang.String"/>
  3240. <doc>
  3241. <![CDATA[Convert the given String to a RollingUpgradeAction.]]>
  3242. </doc>
  3243. </method>
  3244. </class>
  3245. <!-- end class org.apache.hadoop.hdfs.protocol.HdfsConstants.RollingUpgradeAction -->
  3246. <!-- start class org.apache.hadoop.hdfs.protocol.HdfsConstants.SafeModeAction -->
  3247. <class name="HdfsConstants.SafeModeAction" extends="java.lang.Enum"
  3248. abstract="false"
  3249. static="true" final="true" visibility="public"
  3250. deprecated="not deprecated">
  3251. <method name="values" return="org.apache.hadoop.hdfs.protocol.HdfsConstants.SafeModeAction[]"
  3252. abstract="false" native="false" synchronized="false"
  3253. static="true" final="false" visibility="public"
  3254. deprecated="not deprecated">
  3255. </method>
  3256. <method name="valueOf" return="org.apache.hadoop.hdfs.protocol.HdfsConstants.SafeModeAction"
  3257. abstract="false" native="false" synchronized="false"
  3258. static="true" final="false" visibility="public"
  3259. deprecated="not deprecated">
  3260. <param name="name" type="java.lang.String"/>
  3261. </method>
  3262. </class>
  3263. <!-- end class org.apache.hadoop.hdfs.protocol.HdfsConstants.SafeModeAction -->
  3264. <!-- start class org.apache.hadoop.hdfs.protocol.LayoutVersion.Feature -->
  3265. <class name="LayoutVersion.Feature" extends="java.lang.Enum"
  3266. abstract="false"
  3267. static="true" final="true" visibility="public"
  3268. deprecated="not deprecated">
  3269. <implements name="org.apache.hadoop.hdfs.protocol.LayoutVersion.LayoutFeature"/>
  3270. <method name="values" return="org.apache.hadoop.hdfs.protocol.LayoutVersion.Feature[]"
  3271. abstract="false" native="false" synchronized="false"
  3272. static="true" final="false" visibility="public"
  3273. deprecated="not deprecated">
  3274. </method>
  3275. <method name="valueOf" return="org.apache.hadoop.hdfs.protocol.LayoutVersion.Feature"
  3276. abstract="false" native="false" synchronized="false"
  3277. static="true" final="false" visibility="public"
  3278. deprecated="not deprecated">
  3279. <param name="name" type="java.lang.String"/>
  3280. </method>
  3281. <method name="getInfo" return="org.apache.hadoop.hdfs.protocol.LayoutVersion.FeatureInfo"
  3282. abstract="false" native="false" synchronized="false"
  3283. static="false" final="false" visibility="public"
  3284. deprecated="not deprecated">
  3285. </method>
  3286. <doc>
  3287. <![CDATA[Enums for features that change the layout version before rolling
  3288. upgrade is supported.
  3289. <br><br>
  3290. To add a new layout version:
  3291. <ul>
  3292. <li>Define a new enum constant with a short enum name, the new layout version
  3293. and description of the added feature.</li>
  3294. <li>When adding a layout version with an ancestor that is not same as
  3295. its immediate predecessor, use the constructor where a specific ancestor
  3296. can be passed.
  3297. </li>
  3298. </ul>]]>
  3299. </doc>
  3300. </class>
  3301. <!-- end class org.apache.hadoop.hdfs.protocol.LayoutVersion.Feature -->
  3302. <!-- start class org.apache.hadoop.hdfs.protocol.LayoutVersion.FeatureInfo -->
  3303. <class name="LayoutVersion.FeatureInfo" extends="java.lang.Object"
  3304. abstract="false"
  3305. static="true" final="false" visibility="public"
  3306. deprecated="not deprecated">
  3307. <constructor name="LayoutVersion.FeatureInfo" type="int, int, java.lang.String, boolean, org.apache.hadoop.hdfs.protocol.LayoutVersion.LayoutFeature[]"
  3308. static="false" final="false" visibility="public"
  3309. deprecated="not deprecated">
  3310. </constructor>
  3311. <method name="getLayoutVersion" return="int"
  3312. abstract="false" native="false" synchronized="false"
  3313. static="false" final="false" visibility="public"
  3314. deprecated="not deprecated">
  3315. <doc>
  3316. <![CDATA[Accessor method for feature layout version
  3317. @return int lv value]]>
  3318. </doc>
  3319. </method>
  3320. <method name="getAncestorLayoutVersion" return="int"
  3321. abstract="false" native="false" synchronized="false"
  3322. static="false" final="false" visibility="public"
  3323. deprecated="not deprecated">
  3324. <doc>
  3325. <![CDATA[Accessor method for feature ancestor layout version
  3326. @return int ancestor LV value]]>
  3327. </doc>
  3328. </method>
  3329. <method name="getDescription" return="java.lang.String"
  3330. abstract="false" native="false" synchronized="false"
  3331. static="false" final="false" visibility="public"
  3332. deprecated="not deprecated">
  3333. <doc>
  3334. <![CDATA[Accessor method for feature description
  3335. @return String feature description]]>
  3336. </doc>
  3337. </method>
  3338. <method name="isReservedForOldRelease" return="boolean"
  3339. abstract="false" native="false" synchronized="false"
  3340. static="false" final="false" visibility="public"
  3341. deprecated="not deprecated">
  3342. </method>
  3343. <method name="getSpecialFeatures" return="org.apache.hadoop.hdfs.protocol.LayoutVersion.LayoutFeature[]"
  3344. abstract="false" native="false" synchronized="false"
  3345. static="false" final="false" visibility="public"
  3346. deprecated="not deprecated">
  3347. </method>
  3348. <doc>
  3349. <![CDATA[Feature information.]]>
  3350. </doc>
  3351. </class>
  3352. <!-- end class org.apache.hadoop.hdfs.protocol.LayoutVersion.FeatureInfo -->
  3353. <!-- start interface org.apache.hadoop.hdfs.protocol.LayoutVersion.LayoutFeature -->
  3354. <interface name="LayoutVersion.LayoutFeature" abstract="true"
  3355. static="true" final="false" visibility="public"
  3356. deprecated="not deprecated">
  3357. <method name="getInfo" return="org.apache.hadoop.hdfs.protocol.LayoutVersion.FeatureInfo"
  3358. abstract="false" native="false" synchronized="false"
  3359. static="false" final="false" visibility="public"
  3360. deprecated="not deprecated">
  3361. </method>
  3362. <doc>
  3363. <![CDATA[The interface to be implemented by NameNode and DataNode layout features]]>
  3364. </doc>
  3365. </interface>
  3366. <!-- end interface org.apache.hadoop.hdfs.protocol.LayoutVersion.LayoutFeature -->
  3367. <!-- start class org.apache.hadoop.hdfs.protocol.RollingUpgradeInfo.Bean -->
  3368. <class name="RollingUpgradeInfo.Bean" extends="java.lang.Object"
  3369. abstract="false"
  3370. static="true" final="false" visibility="public"
  3371. deprecated="not deprecated">
  3372. <constructor name="RollingUpgradeInfo.Bean" type="org.apache.hadoop.hdfs.protocol.RollingUpgradeInfo"
  3373. static="false" final="false" visibility="public"
  3374. deprecated="not deprecated">
  3375. </constructor>
  3376. <method name="getBlockPoolId" return="java.lang.String"
  3377. abstract="false" native="false" synchronized="false"
  3378. static="false" final="false" visibility="public"
  3379. deprecated="not deprecated">
  3380. </method>
  3381. <method name="getStartTime" return="long"
  3382. abstract="false" native="false" synchronized="false"
  3383. static="false" final="false" visibility="public"
  3384. deprecated="not deprecated">
  3385. </method>
  3386. <method name="getFinalizeTime" return="long"
  3387. abstract="false" native="false" synchronized="false"
  3388. static="false" final="false" visibility="public"
  3389. deprecated="not deprecated">
  3390. </method>
  3391. <method name="isCreatedRollbackImages" return="boolean"
  3392. abstract="false" native="false" synchronized="false"
  3393. static="false" final="false" visibility="public"
  3394. deprecated="not deprecated">
  3395. </method>
  3396. </class>
  3397. <!-- end class org.apache.hadoop.hdfs.protocol.RollingUpgradeInfo.Bean -->
  3398. <!-- start class org.apache.hadoop.hdfs.protocol.SnapshotAccessControlException -->
  3399. <class name="SnapshotAccessControlException" extends="org.apache.hadoop.security.AccessControlException"
  3400. abstract="false"
  3401. static="false" final="false" visibility="public"
  3402. deprecated="not deprecated">
  3403. <constructor name="SnapshotAccessControlException" type="java.lang.String"
  3404. static="false" final="false" visibility="public"
  3405. deprecated="not deprecated">
  3406. </constructor>
  3407. <constructor name="SnapshotAccessControlException" type="java.lang.Throwable"
  3408. static="false" final="false" visibility="public"
  3409. deprecated="not deprecated">
  3410. </constructor>
  3411. <doc>
  3412. <![CDATA[Snapshot access related exception.]]>
  3413. </doc>
  3414. </class>
  3415. <!-- end class org.apache.hadoop.hdfs.protocol.SnapshotAccessControlException -->
  3416. <!-- start class org.apache.hadoop.hdfs.protocol.SnapshotDiffReport -->
  3417. <class name="SnapshotDiffReport" extends="java.lang.Object"
  3418. abstract="false"
  3419. static="false" final="false" visibility="public"
  3420. deprecated="not deprecated">
  3421. <constructor name="SnapshotDiffReport" type="java.lang.String, java.lang.String, java.lang.String, java.util.List"
  3422. static="false" final="false" visibility="public"
  3423. deprecated="not deprecated">
  3424. </constructor>
  3425. <method name="getSnapshotRoot" return="java.lang.String"
  3426. abstract="false" native="false" synchronized="false"
  3427. static="false" final="false" visibility="public"
  3428. deprecated="not deprecated">
  3429. <doc>
  3430. <![CDATA[@return {@link #snapshotRoot}]]>
  3431. </doc>
  3432. </method>
  3433. <method name="getFromSnapshot" return="java.lang.String"
  3434. abstract="false" native="false" synchronized="false"
  3435. static="false" final="false" visibility="public"
  3436. deprecated="not deprecated">
  3437. <doc>
  3438. <![CDATA[@return {@link #fromSnapshot}]]>
  3439. </doc>
  3440. </method>
  3441. <method name="getLaterSnapshotName" return="java.lang.String"
  3442. abstract="false" native="false" synchronized="false"
  3443. static="false" final="false" visibility="public"
  3444. deprecated="not deprecated">
  3445. <doc>
  3446. <![CDATA[@return {@link #toSnapshot}]]>
  3447. </doc>
  3448. </method>
  3449. <method name="getDiffList" return="java.util.List"
  3450. abstract="false" native="false" synchronized="false"
  3451. static="false" final="false" visibility="public"
  3452. deprecated="not deprecated">
  3453. <doc>
  3454. <![CDATA[@return {@link #diffList}]]>
  3455. </doc>
  3456. </method>
  3457. <method name="toString" return="java.lang.String"
  3458. abstract="false" native="false" synchronized="false"
  3459. static="false" final="false" visibility="public"
  3460. deprecated="not deprecated">
  3461. </method>
  3462. <doc>
  3463. <![CDATA[This class represents to end users the difference between two snapshots of
  3464. the same directory, or the difference between a snapshot of the directory and
  3465. its current state. Instead of capturing all the details of the diff, this
  3466. class only lists where the changes happened and their types.]]>
  3467. </doc>
  3468. </class>
  3469. <!-- end class org.apache.hadoop.hdfs.protocol.SnapshotDiffReport -->
  3470. <!-- start class org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffReportEntry -->
  3471. <class name="SnapshotDiffReport.DiffReportEntry" extends="java.lang.Object"
  3472. abstract="false"
  3473. static="true" final="false" visibility="public"
  3474. deprecated="not deprecated">
  3475. <constructor name="SnapshotDiffReport.DiffReportEntry" type="org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffType, byte[]"
  3476. static="false" final="false" visibility="public"
  3477. deprecated="not deprecated">
  3478. </constructor>
  3479. <constructor name="SnapshotDiffReport.DiffReportEntry" type="org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffType, byte[][]"
  3480. static="false" final="false" visibility="public"
  3481. deprecated="not deprecated">
  3482. </constructor>
  3483. <constructor name="SnapshotDiffReport.DiffReportEntry" type="org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffType, byte[], byte[]"
  3484. static="false" final="false" visibility="public"
  3485. deprecated="not deprecated">
  3486. </constructor>
  3487. <constructor name="SnapshotDiffReport.DiffReportEntry" type="org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffType, byte[][], byte[][]"
  3488. static="false" final="false" visibility="public"
  3489. deprecated="not deprecated">
  3490. </constructor>
  3491. <method name="toString" return="java.lang.String"
  3492. abstract="false" native="false" synchronized="false"
  3493. static="false" final="false" visibility="public"
  3494. deprecated="not deprecated">
  3495. </method>
  3496. <method name="getType" return="org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffType"
  3497. abstract="false" native="false" synchronized="false"
  3498. static="false" final="false" visibility="public"
  3499. deprecated="not deprecated">
  3500. </method>
  3501. <method name="getSourcePath" return="byte[]"
  3502. abstract="false" native="false" synchronized="false"
  3503. static="false" final="false" visibility="public"
  3504. deprecated="not deprecated">
  3505. </method>
  3506. <method name="getTargetPath" return="byte[]"
  3507. abstract="false" native="false" synchronized="false"
  3508. static="false" final="false" visibility="public"
  3509. deprecated="not deprecated">
  3510. </method>
  3511. <method name="equals" return="boolean"
  3512. abstract="false" native="false" synchronized="false"
  3513. static="false" final="false" visibility="public"
  3514. deprecated="not deprecated">
  3515. <param name="other" type="java.lang.Object"/>
  3516. </method>
  3517. <method name="hashCode" return="int"
  3518. abstract="false" native="false" synchronized="false"
  3519. static="false" final="false" visibility="public"
  3520. deprecated="not deprecated">
  3521. </method>
  3522. <doc>
  3523. <![CDATA[Representing the full path and diff type of a file/directory where changes
  3524. have happened.]]>
  3525. </doc>
  3526. </class>
  3527. <!-- end class org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffReportEntry -->
  3528. <!-- start class org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffType -->
  3529. <class name="SnapshotDiffReport.DiffType" extends="java.lang.Enum"
  3530. abstract="false"
  3531. static="true" final="true" visibility="public"
  3532. deprecated="not deprecated">
  3533. <method name="values" return="org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffType[]"
  3534. abstract="false" native="false" synchronized="false"
  3535. static="true" final="false" visibility="public"
  3536. deprecated="not deprecated">
  3537. </method>
  3538. <method name="valueOf" return="org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffType"
  3539. abstract="false" native="false" synchronized="false"
  3540. static="true" final="false" visibility="public"
  3541. deprecated="not deprecated">
  3542. <param name="name" type="java.lang.String"/>
  3543. </method>
  3544. <method name="getLabel" return="java.lang.String"
  3545. abstract="false" native="false" synchronized="false"
  3546. static="false" final="false" visibility="public"
  3547. deprecated="not deprecated">
  3548. </method>
  3549. <method name="getTypeFromLabel" return="org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffType"
  3550. abstract="false" native="false" synchronized="false"
  3551. static="true" final="false" visibility="public"
  3552. deprecated="not deprecated">
  3553. <param name="label" type="java.lang.String"/>
  3554. </method>
  3555. <doc>
  3556. <![CDATA[Types of the difference, which include CREATE, MODIFY, DELETE, and RENAME.
  3557. Each type has a label for representation: +/M/-/R represent CREATE, MODIFY,
  3558. DELETE, and RENAME respectively.]]>
  3559. </doc>
  3560. </class>
  3561. <!-- end class org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffType -->
  3562. <!-- start class org.apache.hadoop.hdfs.protocol.SnapshotException -->
  3563. <class name="SnapshotException" extends="java.io.IOException"
  3564. abstract="false"
  3565. static="false" final="false" visibility="public"
  3566. deprecated="not deprecated">
  3567. <constructor name="SnapshotException" type="java.lang.String"
  3568. static="false" final="false" visibility="public"
  3569. deprecated="not deprecated">
  3570. </constructor>
  3571. <constructor name="SnapshotException" type="java.lang.Throwable"
  3572. static="false" final="false" visibility="public"
  3573. deprecated="not deprecated">
  3574. </constructor>
  3575. <doc>
  3576. <![CDATA[Snapshot related exception.]]>
  3577. </doc>
  3578. </class>
  3579. <!-- end class org.apache.hadoop.hdfs.protocol.SnapshotException -->
  3580. <!-- start class org.apache.hadoop.hdfs.protocol.SnapshotInfo.Bean -->
  3581. <class name="SnapshotInfo.Bean" extends="java.lang.Object"
  3582. abstract="false"
  3583. static="true" final="false" visibility="public"
  3584. deprecated="not deprecated">
  3585. <constructor name="SnapshotInfo.Bean" type="java.lang.String, java.lang.String, long"
  3586. static="false" final="false" visibility="public"
  3587. deprecated="not deprecated">
  3588. </constructor>
  3589. <method name="getSnapshotID" return="java.lang.String"
  3590. abstract="false" native="false" synchronized="false"
  3591. static="false" final="false" visibility="public"
  3592. deprecated="not deprecated">
  3593. </method>
  3594. <method name="getSnapshotDirectory" return="java.lang.String"
  3595. abstract="false" native="false" synchronized="false"
  3596. static="false" final="false" visibility="public"
  3597. deprecated="not deprecated">
  3598. </method>
  3599. <method name="getModificationTime" return="long"
  3600. abstract="false" native="false" synchronized="false"
  3601. static="false" final="false" visibility="public"
  3602. deprecated="not deprecated">
  3603. </method>
  3604. </class>
  3605. <!-- end class org.apache.hadoop.hdfs.protocol.SnapshotInfo.Bean -->
  3606. <!-- start class org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus -->
  3607. <class name="SnapshottableDirectoryStatus" extends="java.lang.Object"
  3608. abstract="false"
  3609. static="false" final="false" visibility="public"
  3610. deprecated="not deprecated">
  3611. <constructor name="SnapshottableDirectoryStatus" type="long, long, org.apache.hadoop.fs.permission.FsPermission, java.lang.String, java.lang.String, byte[], long, int, int, int, byte[]"
  3612. static="false" final="false" visibility="public"
  3613. deprecated="not deprecated">
  3614. </constructor>
  3615. <method name="getSnapshotNumber" return="int"
  3616. abstract="false" native="false" synchronized="false"
  3617. static="false" final="false" visibility="public"
  3618. deprecated="not deprecated">
  3619. <doc>
  3620. <![CDATA[@return Number of snapshots that have been taken for the directory]]>
  3621. </doc>
  3622. </method>
  3623. <method name="getSnapshotQuota" return="int"
  3624. abstract="false" native="false" synchronized="false"
  3625. static="false" final="false" visibility="public"
  3626. deprecated="not deprecated">
  3627. <doc>
  3628. <![CDATA[@return Number of snapshots allowed for the directory]]>
  3629. </doc>
  3630. </method>
  3631. <method name="getParentFullPath" return="byte[]"
  3632. abstract="false" native="false" synchronized="false"
  3633. static="false" final="false" visibility="public"
  3634. deprecated="not deprecated">
  3635. <doc>
  3636. <![CDATA[@return Full path of the parent]]>
  3637. </doc>
  3638. </method>
  3639. <method name="getDirStatus" return="org.apache.hadoop.hdfs.protocol.HdfsFileStatus"
  3640. abstract="false" native="false" synchronized="false"
  3641. static="false" final="false" visibility="public"
  3642. deprecated="not deprecated">
  3643. <doc>
  3644. <![CDATA[@return The basic information of the directory]]>
  3645. </doc>
  3646. </method>
  3647. <method name="getFullPath" return="org.apache.hadoop.fs.Path"
  3648. abstract="false" native="false" synchronized="false"
  3649. static="false" final="false" visibility="public"
  3650. deprecated="not deprecated">
  3651. <doc>
  3652. <![CDATA[@return Full path of the file]]>
  3653. </doc>
  3654. </method>
  3655. <method name="print"
  3656. abstract="false" native="false" synchronized="false"
  3657. static="true" final="false" visibility="public"
  3658. deprecated="not deprecated">
  3659. <param name="stats" type="org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus[]"/>
  3660. <param name="out" type="java.io.PrintStream"/>
  3661. <doc>
  3662. <![CDATA[Print a list of {@link SnapshottableDirectoryStatus} out to a given stream.
  3663. @param stats The list of {@link SnapshottableDirectoryStatus}
  3664. @param out The given stream for printing.]]>
  3665. </doc>
  3666. </method>
  3667. <field name="COMPARATOR" type="java.util.Comparator"
  3668. transient="false" volatile="false"
  3669. static="true" final="true" visibility="public"
  3670. deprecated="not deprecated">
  3671. <doc>
  3672. <![CDATA[Compare the statuses by full paths.]]>
  3673. </doc>
  3674. </field>
  3675. <doc>
  3676. <![CDATA[Metadata about a snapshottable directory]]>
  3677. </doc>
  3678. </class>
  3679. <!-- end class org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus -->
  3680. <!-- start class org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus.Bean -->
  3681. <class name="SnapshottableDirectoryStatus.Bean" extends="java.lang.Object"
  3682. abstract="false"
  3683. static="true" final="false" visibility="public"
  3684. deprecated="not deprecated">
  3685. <constructor name="SnapshottableDirectoryStatus.Bean" type="java.lang.String, int, int, long, short, java.lang.String, java.lang.String"
  3686. static="false" final="false" visibility="public"
  3687. deprecated="not deprecated">
  3688. </constructor>
  3689. <method name="getPath" return="java.lang.String"
  3690. abstract="false" native="false" synchronized="false"
  3691. static="false" final="false" visibility="public"
  3692. deprecated="not deprecated">
  3693. </method>
  3694. <method name="getSnapshotNumber" return="int"
  3695. abstract="false" native="false" synchronized="false"
  3696. static="false" final="false" visibility="public"
  3697. deprecated="not deprecated">
  3698. </method>
  3699. <method name="getSnapshotQuota" return="int"
  3700. abstract="false" native="false" synchronized="false"
  3701. static="false" final="false" visibility="public"
  3702. deprecated="not deprecated">
  3703. </method>
  3704. <method name="getModificationTime" return="long"
  3705. abstract="false" native="false" synchronized="false"
  3706. static="false" final="false" visibility="public"
  3707. deprecated="not deprecated">
  3708. </method>
  3709. <method name="getPermission" return="short"
  3710. abstract="false" native="false" synchronized="false"
  3711. static="false" final="false" visibility="public"
  3712. deprecated="not deprecated">
  3713. </method>
  3714. <method name="getOwner" return="java.lang.String"
  3715. abstract="false" native="false" synchronized="false"
  3716. static="false" final="false" visibility="public"
  3717. deprecated="not deprecated">
  3718. </method>
  3719. <method name="getGroup" return="java.lang.String"
  3720. abstract="false" native="false" synchronized="false"
  3721. static="false" final="false" visibility="public"
  3722. deprecated="not deprecated">
  3723. </method>
  3724. </class>
  3725. <!-- end class org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus.Bean -->
  3726. </package>
  3727. <package name="org.apache.hadoop.hdfs.protocol.datatransfer">
  3728. <!-- start class org.apache.hadoop.hdfs.protocol.datatransfer.ReplaceDatanodeOnFailure.Policy -->
  3729. <class name="ReplaceDatanodeOnFailure.Policy" extends="java.lang.Enum"
  3730. abstract="false"
  3731. static="true" final="true" visibility="public"
  3732. deprecated="not deprecated">
  3733. <method name="values" return="org.apache.hadoop.hdfs.protocol.datatransfer.ReplaceDatanodeOnFailure.Policy[]"
  3734. abstract="false" native="false" synchronized="false"
  3735. static="true" final="false" visibility="public"
  3736. deprecated="not deprecated">
  3737. </method>
  3738. <method name="valueOf" return="org.apache.hadoop.hdfs.protocol.datatransfer.ReplaceDatanodeOnFailure.Policy"
  3739. abstract="false" native="false" synchronized="false"
  3740. static="true" final="false" visibility="public"
  3741. deprecated="not deprecated">
  3742. <param name="name" type="java.lang.String"/>
  3743. </method>
  3744. <doc>
  3745. <![CDATA[The replacement policies]]>
  3746. </doc>
  3747. </class>
  3748. <!-- end class org.apache.hadoop.hdfs.protocol.datatransfer.ReplaceDatanodeOnFailure.Policy -->
  3749. <!-- start class org.apache.hadoop.hdfs.protocol.datatransfer.TrustedChannelResolver -->
  3750. <class name="TrustedChannelResolver" extends="java.lang.Object"
  3751. abstract="false"
  3752. static="false" final="false" visibility="public"
  3753. deprecated="not deprecated">
  3754. <implements name="org.apache.hadoop.conf.Configurable"/>
  3755. <constructor name="TrustedChannelResolver"
  3756. static="false" final="false" visibility="public"
  3757. deprecated="not deprecated">
  3758. </constructor>
  3759. <method name="getInstance" return="org.apache.hadoop.hdfs.protocol.datatransfer.TrustedChannelResolver"
  3760. abstract="false" native="false" synchronized="false"
  3761. static="true" final="false" visibility="public"
  3762. deprecated="not deprecated">
  3763. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  3764. <doc>
  3765. <![CDATA[Returns an instance of TrustedChannelResolver.
  3766. Looks up the configuration to see if there is custom class specified.
  3767. @param conf
  3768. @return TrustedChannelResolver]]>
  3769. </doc>
  3770. </method>
  3771. <method name="setConf"
  3772. abstract="false" native="false" synchronized="false"
  3773. static="false" final="false" visibility="public"
  3774. deprecated="not deprecated">
  3775. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  3776. </method>
  3777. <method name="getConf" return="org.apache.hadoop.conf.Configuration"
  3778. abstract="false" native="false" synchronized="false"
  3779. static="false" final="false" visibility="public"
  3780. deprecated="not deprecated">
  3781. </method>
  3782. <method name="isTrusted" return="boolean"
  3783. abstract="false" native="false" synchronized="false"
  3784. static="false" final="false" visibility="public"
  3785. deprecated="not deprecated">
  3786. <doc>
  3787. <![CDATA[Return boolean value indicating whether a channel is trusted or not
  3788. from a client's perspective.
  3789. @return true if the channel is trusted and false otherwise.]]>
  3790. </doc>
  3791. </method>
  3792. <method name="isTrusted" return="boolean"
  3793. abstract="false" native="false" synchronized="false"
  3794. static="false" final="false" visibility="public"
  3795. deprecated="not deprecated">
  3796. <param name="peerAddress" type="java.net.InetAddress"/>
  3797. <doc>
  3798. <![CDATA[Identify boolean value indicating whether a channel is trusted or not.
  3799. @param peerAddress address of the peer
  3800. @return true if the channel is trusted and false otherwise.]]>
  3801. </doc>
  3802. </method>
  3803. <doc>
  3804. <![CDATA[Class used to indicate whether a channel is trusted or not.
  3805. The default implementation is to return false indicating that
  3806. the channel is not trusted.
  3807. This class can be overridden to provide custom logic to determine
  3808. whether a channel is trusted or not.
  3809. The custom class can be specified via configuration.]]>
  3810. </doc>
  3811. </class>
  3812. <!-- end class org.apache.hadoop.hdfs.protocol.datatransfer.TrustedChannelResolver -->
  3813. <!-- start class org.apache.hadoop.hdfs.protocol.datatransfer.WhitelistBasedTrustedChannelResolver -->
  3814. <class name="WhitelistBasedTrustedChannelResolver" extends="org.apache.hadoop.hdfs.protocol.datatransfer.TrustedChannelResolver"
  3815. abstract="false"
  3816. static="false" final="false" visibility="public"
  3817. deprecated="not deprecated">
  3818. <constructor name="WhitelistBasedTrustedChannelResolver"
  3819. static="false" final="false" visibility="public"
  3820. deprecated="not deprecated">
  3821. </constructor>
  3822. <method name="setConf"
  3823. abstract="false" native="false" synchronized="false"
  3824. static="false" final="false" visibility="public"
  3825. deprecated="not deprecated">
  3826. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  3827. </method>
  3828. <method name="isTrusted" return="boolean"
  3829. abstract="false" native="false" synchronized="false"
  3830. static="false" final="false" visibility="public"
  3831. deprecated="not deprecated">
  3832. </method>
  3833. <method name="isTrusted" return="boolean"
  3834. abstract="false" native="false" synchronized="false"
  3835. static="false" final="false" visibility="public"
  3836. deprecated="not deprecated">
  3837. <param name="clientAddress" type="java.net.InetAddress"/>
  3838. </method>
  3839. <field name="DFS_DATATRANSFER_SERVER_FIXEDWHITELIST_FILE" type="java.lang.String"
  3840. transient="false" volatile="false"
  3841. static="true" final="true" visibility="public"
  3842. deprecated="not deprecated">
  3843. <doc>
  3844. <![CDATA[Path to the file to containing subnets and ip addresses to form fixed whitelist.]]>
  3845. </doc>
  3846. </field>
  3847. <field name="DFS_DATATRANSFER_SERVER_VARIABLEWHITELIST_ENABLE" type="java.lang.String"
  3848. transient="false" volatile="false"
  3849. static="true" final="true" visibility="public"
  3850. deprecated="not deprecated">
  3851. <doc>
  3852. <![CDATA[Enables/Disables variable whitelist]]>
  3853. </doc>
  3854. </field>
  3855. <field name="DFS_DATATRANSFER_SERVER_VARIABLEWHITELIST_FILE" type="java.lang.String"
  3856. transient="false" volatile="false"
  3857. static="true" final="true" visibility="public"
  3858. deprecated="not deprecated">
  3859. <doc>
  3860. <![CDATA[Path to the file to containing subnets and ip addresses to form variable whitelist.]]>
  3861. </doc>
  3862. </field>
  3863. <field name="DFS_DATATRANSFER_SERVER_VARIABLEWHITELIST_CACHE_SECS" type="java.lang.String"
  3864. transient="false" volatile="false"
  3865. static="true" final="true" visibility="public"
  3866. deprecated="not deprecated">
  3867. <doc>
  3868. <![CDATA[time in seconds by which the variable whitelist file is checked for updates]]>
  3869. </doc>
  3870. </field>
  3871. <field name="DFS_DATATRANSFER_CLIENT_FIXEDWHITELIST_FILE" type="java.lang.String"
  3872. transient="false" volatile="false"
  3873. static="true" final="true" visibility="public"
  3874. deprecated="not deprecated">
  3875. <doc>
  3876. <![CDATA[Path to the file to containing subnets and ip addresses to form fixed whitelist.]]>
  3877. </doc>
  3878. </field>
  3879. <field name="DFS_DATATRANSFER_CLIENT_VARIABLEWHITELIST_ENABLE" type="java.lang.String"
  3880. transient="false" volatile="false"
  3881. static="true" final="true" visibility="public"
  3882. deprecated="not deprecated">
  3883. <doc>
  3884. <![CDATA[Enables/Disables variable whitelist]]>
  3885. </doc>
  3886. </field>
  3887. <field name="DFS_DATATRANSFER_CLIENT_VARIABLEWHITELIST_FILE" type="java.lang.String"
  3888. transient="false" volatile="false"
  3889. static="true" final="true" visibility="public"
  3890. deprecated="not deprecated">
  3891. <doc>
  3892. <![CDATA[Path to the file to containing subnets and ip addresses to form variable whitelist.]]>
  3893. </doc>
  3894. </field>
  3895. <field name="DFS_DATATRANSFER_CLIENT_VARIABLEWHITELIST_CACHE_SECS" type="java.lang.String"
  3896. transient="false" volatile="false"
  3897. static="true" final="true" visibility="public"
  3898. deprecated="not deprecated">
  3899. <doc>
  3900. <![CDATA[time in seconds by which the variable whitelist file is checked for updates]]>
  3901. </doc>
  3902. </field>
  3903. </class>
  3904. <!-- end class org.apache.hadoop.hdfs.protocol.datatransfer.WhitelistBasedTrustedChannelResolver -->
  3905. </package>
  3906. <package name="org.apache.hadoop.hdfs.protocol.datatransfer.sasl">
  3907. </package>
  3908. <package name="org.apache.hadoop.hdfs.protocolPB">
  3909. <!-- start class org.apache.hadoop.hdfs.protocolPB.DatanodeProtocolServerSideTranslatorPB -->
  3910. <class name="DatanodeProtocolServerSideTranslatorPB" extends="java.lang.Object"
  3911. abstract="false"
  3912. static="false" final="false" visibility="public"
  3913. deprecated="not deprecated">
  3914. <implements name="org.apache.hadoop.hdfs.protocolPB.DatanodeProtocolPB"/>
  3915. <constructor name="DatanodeProtocolServerSideTranslatorPB" type="org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol"
  3916. static="false" final="false" visibility="public"
  3917. deprecated="not deprecated">
  3918. </constructor>
  3919. <method name="registerDatanode" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.RegisterDatanodeResponseProto"
  3920. abstract="false" native="false" synchronized="false"
  3921. static="false" final="false" visibility="public"
  3922. deprecated="not deprecated">
  3923. <param name="controller" type="com.google.protobuf.RpcController"/>
  3924. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.RegisterDatanodeRequestProto"/>
  3925. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  3926. </method>
  3927. <method name="sendHeartbeat" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.HeartbeatResponseProto"
  3928. abstract="false" native="false" synchronized="false"
  3929. static="false" final="false" visibility="public"
  3930. deprecated="not deprecated">
  3931. <param name="controller" type="com.google.protobuf.RpcController"/>
  3932. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.HeartbeatRequestProto"/>
  3933. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  3934. </method>
  3935. <method name="blockReport" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.BlockReportResponseProto"
  3936. abstract="false" native="false" synchronized="false"
  3937. static="false" final="false" visibility="public"
  3938. deprecated="not deprecated">
  3939. <param name="controller" type="com.google.protobuf.RpcController"/>
  3940. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.BlockReportRequestProto"/>
  3941. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  3942. </method>
  3943. <method name="cacheReport" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.CacheReportResponseProto"
  3944. abstract="false" native="false" synchronized="false"
  3945. static="false" final="false" visibility="public"
  3946. deprecated="not deprecated">
  3947. <param name="controller" type="com.google.protobuf.RpcController"/>
  3948. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.CacheReportRequestProto"/>
  3949. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  3950. </method>
  3951. <method name="blockReceivedAndDeleted" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.BlockReceivedAndDeletedResponseProto"
  3952. abstract="false" native="false" synchronized="false"
  3953. static="false" final="false" visibility="public"
  3954. deprecated="not deprecated">
  3955. <param name="controller" type="com.google.protobuf.RpcController"/>
  3956. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.BlockReceivedAndDeletedRequestProto"/>
  3957. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  3958. </method>
  3959. <method name="errorReport" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.ErrorReportResponseProto"
  3960. abstract="false" native="false" synchronized="false"
  3961. static="false" final="false" visibility="public"
  3962. deprecated="not deprecated">
  3963. <param name="controller" type="com.google.protobuf.RpcController"/>
  3964. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.ErrorReportRequestProto"/>
  3965. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  3966. </method>
  3967. <method name="versionRequest" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.VersionResponseProto"
  3968. abstract="false" native="false" synchronized="false"
  3969. static="false" final="false" visibility="public"
  3970. deprecated="not deprecated">
  3971. <param name="controller" type="com.google.protobuf.RpcController"/>
  3972. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.VersionRequestProto"/>
  3973. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  3974. </method>
  3975. <method name="reportBadBlocks" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.ReportBadBlocksResponseProto"
  3976. abstract="false" native="false" synchronized="false"
  3977. static="false" final="false" visibility="public"
  3978. deprecated="not deprecated">
  3979. <param name="controller" type="com.google.protobuf.RpcController"/>
  3980. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.ReportBadBlocksRequestProto"/>
  3981. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  3982. </method>
  3983. <method name="commitBlockSynchronization" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.CommitBlockSynchronizationResponseProto"
  3984. abstract="false" native="false" synchronized="false"
  3985. static="false" final="false" visibility="public"
  3986. deprecated="not deprecated">
  3987. <param name="controller" type="com.google.protobuf.RpcController"/>
  3988. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto"/>
  3989. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  3990. </method>
  3991. </class>
  3992. <!-- end class org.apache.hadoop.hdfs.protocolPB.DatanodeProtocolServerSideTranslatorPB -->
  3993. <!-- start class org.apache.hadoop.hdfs.protocolPB.NamenodeProtocolServerSideTranslatorPB -->
  3994. <class name="NamenodeProtocolServerSideTranslatorPB" extends="java.lang.Object"
  3995. abstract="false"
  3996. static="false" final="false" visibility="public"
  3997. deprecated="not deprecated">
  3998. <implements name="org.apache.hadoop.hdfs.protocolPB.NamenodeProtocolPB"/>
  3999. <constructor name="NamenodeProtocolServerSideTranslatorPB" type="org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol"
  4000. static="false" final="false" visibility="public"
  4001. deprecated="not deprecated">
  4002. </constructor>
  4003. <method name="getBlocks" return="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.GetBlocksResponseProto"
  4004. abstract="false" native="false" synchronized="false"
  4005. static="false" final="false" visibility="public"
  4006. deprecated="not deprecated">
  4007. <param name="unused" type="com.google.protobuf.RpcController"/>
  4008. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.GetBlocksRequestProto"/>
  4009. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4010. </method>
  4011. <method name="getBlockKeys" return="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.GetBlockKeysResponseProto"
  4012. abstract="false" native="false" synchronized="false"
  4013. static="false" final="false" visibility="public"
  4014. deprecated="not deprecated">
  4015. <param name="unused" type="com.google.protobuf.RpcController"/>
  4016. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.GetBlockKeysRequestProto"/>
  4017. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4018. </method>
  4019. <method name="getTransactionId" return="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.GetTransactionIdResponseProto"
  4020. abstract="false" native="false" synchronized="false"
  4021. static="false" final="false" visibility="public"
  4022. deprecated="not deprecated">
  4023. <param name="unused" type="com.google.protobuf.RpcController"/>
  4024. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.GetTransactionIdRequestProto"/>
  4025. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4026. </method>
  4027. <method name="getMostRecentCheckpointTxId" return="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.GetMostRecentCheckpointTxIdResponseProto"
  4028. abstract="false" native="false" synchronized="false"
  4029. static="false" final="false" visibility="public"
  4030. deprecated="not deprecated">
  4031. <param name="unused" type="com.google.protobuf.RpcController"/>
  4032. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.GetMostRecentCheckpointTxIdRequestProto"/>
  4033. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4034. </method>
  4035. <method name="rollEditLog" return="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.RollEditLogResponseProto"
  4036. abstract="false" native="false" synchronized="false"
  4037. static="false" final="false" visibility="public"
  4038. deprecated="not deprecated">
  4039. <param name="unused" type="com.google.protobuf.RpcController"/>
  4040. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.RollEditLogRequestProto"/>
  4041. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4042. </method>
  4043. <method name="errorReport" return="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.ErrorReportResponseProto"
  4044. abstract="false" native="false" synchronized="false"
  4045. static="false" final="false" visibility="public"
  4046. deprecated="not deprecated">
  4047. <param name="unused" type="com.google.protobuf.RpcController"/>
  4048. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.ErrorReportRequestProto"/>
  4049. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4050. </method>
  4051. <method name="registerSubordinateNamenode" return="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.RegisterResponseProto"
  4052. abstract="false" native="false" synchronized="false"
  4053. static="false" final="false" visibility="public"
  4054. deprecated="not deprecated">
  4055. <param name="unused" type="com.google.protobuf.RpcController"/>
  4056. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.RegisterRequestProto"/>
  4057. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4058. </method>
  4059. <method name="startCheckpoint" return="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.StartCheckpointResponseProto"
  4060. abstract="false" native="false" synchronized="false"
  4061. static="false" final="false" visibility="public"
  4062. deprecated="not deprecated">
  4063. <param name="unused" type="com.google.protobuf.RpcController"/>
  4064. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.StartCheckpointRequestProto"/>
  4065. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4066. </method>
  4067. <method name="endCheckpoint" return="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.EndCheckpointResponseProto"
  4068. abstract="false" native="false" synchronized="false"
  4069. static="false" final="false" visibility="public"
  4070. deprecated="not deprecated">
  4071. <param name="unused" type="com.google.protobuf.RpcController"/>
  4072. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.EndCheckpointRequestProto"/>
  4073. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4074. </method>
  4075. <method name="getEditLogManifest" return="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.GetEditLogManifestResponseProto"
  4076. abstract="false" native="false" synchronized="false"
  4077. static="false" final="false" visibility="public"
  4078. deprecated="not deprecated">
  4079. <param name="unused" type="com.google.protobuf.RpcController"/>
  4080. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.GetEditLogManifestRequestProto"/>
  4081. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4082. </method>
  4083. <method name="versionRequest" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.VersionResponseProto"
  4084. abstract="false" native="false" synchronized="false"
  4085. static="false" final="false" visibility="public"
  4086. deprecated="not deprecated">
  4087. <param name="controller" type="com.google.protobuf.RpcController"/>
  4088. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.VersionRequestProto"/>
  4089. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4090. </method>
  4091. <doc>
  4092. <![CDATA[Implementation for protobuf service that forwards requests
  4093. received on {@link NamenodeProtocolPB} to the
  4094. {@link NamenodeProtocol} server implementation.]]>
  4095. </doc>
  4096. </class>
  4097. <!-- end class org.apache.hadoop.hdfs.protocolPB.NamenodeProtocolServerSideTranslatorPB -->
  4098. <!-- start class org.apache.hadoop.hdfs.protocolPB.PBHelper -->
  4099. <class name="PBHelper" extends="java.lang.Object"
  4100. abstract="false"
  4101. static="false" final="false" visibility="public"
  4102. deprecated="not deprecated">
  4103. <method name="getByteString" return="com.google.protobuf.ByteString"
  4104. abstract="false" native="false" synchronized="false"
  4105. static="true" final="false" visibility="public"
  4106. deprecated="not deprecated">
  4107. <param name="bytes" type="byte[]"/>
  4108. </method>
  4109. <method name="convert" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.NamenodeRole"
  4110. abstract="false" native="false" synchronized="false"
  4111. static="true" final="false" visibility="public"
  4112. deprecated="not deprecated">
  4113. <param name="role" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.NamenodeRegistrationProto.NamenodeRoleProto"/>
  4114. </method>
  4115. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.NamenodeRegistrationProto.NamenodeRoleProto"
  4116. abstract="false" native="false" synchronized="false"
  4117. static="true" final="false" visibility="public"
  4118. deprecated="not deprecated">
  4119. <param name="role" type="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.NamenodeRole"/>
  4120. </method>
  4121. <method name="convertStoragePolicies" return="org.apache.hadoop.hdfs.protocol.BlockStoragePolicy[]"
  4122. abstract="false" native="false" synchronized="false"
  4123. static="true" final="false" visibility="public"
  4124. deprecated="not deprecated">
  4125. <param name="policyProtos" type="java.util.List"/>
  4126. </method>
  4127. <method name="convert" return="org.apache.hadoop.hdfs.protocol.BlockStoragePolicy"
  4128. abstract="false" native="false" synchronized="false"
  4129. static="true" final="false" visibility="public"
  4130. deprecated="not deprecated">
  4131. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockStoragePolicyProto"/>
  4132. </method>
  4133. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockStoragePolicyProto"
  4134. abstract="false" native="false" synchronized="false"
  4135. static="true" final="false" visibility="public"
  4136. deprecated="not deprecated">
  4137. <param name="policy" type="org.apache.hadoop.hdfs.protocol.BlockStoragePolicy"/>
  4138. </method>
  4139. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProto"
  4140. abstract="false" native="false" synchronized="false"
  4141. static="true" final="false" visibility="public"
  4142. deprecated="not deprecated">
  4143. <param name="types" type="org.apache.hadoop.hdfs.StorageType[]"/>
  4144. </method>
  4145. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageInfoProto"
  4146. abstract="false" native="false" synchronized="false"
  4147. static="true" final="false" visibility="public"
  4148. deprecated="not deprecated">
  4149. <param name="info" type="org.apache.hadoop.hdfs.server.common.StorageInfo"/>
  4150. </method>
  4151. <method name="convert" return="org.apache.hadoop.hdfs.server.common.StorageInfo"
  4152. abstract="false" native="false" synchronized="false"
  4153. static="true" final="false" visibility="public"
  4154. deprecated="not deprecated">
  4155. <param name="info" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageInfoProto"/>
  4156. <param name="type" type="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.NodeType"/>
  4157. </method>
  4158. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.NamenodeRegistrationProto"
  4159. abstract="false" native="false" synchronized="false"
  4160. static="true" final="false" visibility="public"
  4161. deprecated="not deprecated">
  4162. <param name="reg" type="org.apache.hadoop.hdfs.server.protocol.NamenodeRegistration"/>
  4163. </method>
  4164. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.NamenodeRegistration"
  4165. abstract="false" native="false" synchronized="false"
  4166. static="true" final="false" visibility="public"
  4167. deprecated="not deprecated">
  4168. <param name="reg" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.NamenodeRegistrationProto"/>
  4169. </method>
  4170. <method name="convert" return="org.apache.hadoop.hdfs.protocol.DatanodeID"
  4171. abstract="false" native="false" synchronized="false"
  4172. static="true" final="false" visibility="public"
  4173. deprecated="not deprecated">
  4174. <param name="dn" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeIDProto"/>
  4175. </method>
  4176. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeIDProto"
  4177. abstract="false" native="false" synchronized="false"
  4178. static="true" final="false" visibility="public"
  4179. deprecated="not deprecated">
  4180. <param name="dn" type="org.apache.hadoop.hdfs.protocol.DatanodeID"/>
  4181. </method>
  4182. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeIDProto[]"
  4183. abstract="false" native="false" synchronized="false"
  4184. static="true" final="false" visibility="public"
  4185. deprecated="not deprecated">
  4186. <param name="did" type="org.apache.hadoop.hdfs.protocol.DatanodeID[]"/>
  4187. </method>
  4188. <method name="convert" return="org.apache.hadoop.hdfs.protocol.DatanodeID[]"
  4189. abstract="false" native="false" synchronized="false"
  4190. static="true" final="false" visibility="public"
  4191. deprecated="not deprecated">
  4192. <param name="did" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeIDProto[]"/>
  4193. </method>
  4194. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto"
  4195. abstract="false" native="false" synchronized="false"
  4196. static="true" final="false" visibility="public"
  4197. deprecated="not deprecated">
  4198. <param name="b" type="org.apache.hadoop.hdfs.protocol.Block"/>
  4199. </method>
  4200. <method name="convert" return="org.apache.hadoop.hdfs.protocol.Block"
  4201. abstract="false" native="false" synchronized="false"
  4202. static="true" final="false" visibility="public"
  4203. deprecated="not deprecated">
  4204. <param name="b" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto"/>
  4205. </method>
  4206. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockWithLocationsProto"
  4207. abstract="false" native="false" synchronized="false"
  4208. static="true" final="false" visibility="public"
  4209. deprecated="not deprecated">
  4210. <param name="blk" type="org.apache.hadoop.hdfs.server.protocol.BlocksWithLocations.BlockWithLocations"/>
  4211. </method>
  4212. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.BlocksWithLocations.BlockWithLocations"
  4213. abstract="false" native="false" synchronized="false"
  4214. static="true" final="false" visibility="public"
  4215. deprecated="not deprecated">
  4216. <param name="b" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockWithLocationsProto"/>
  4217. </method>
  4218. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlocksWithLocationsProto"
  4219. abstract="false" native="false" synchronized="false"
  4220. static="true" final="false" visibility="public"
  4221. deprecated="not deprecated">
  4222. <param name="blks" type="org.apache.hadoop.hdfs.server.protocol.BlocksWithLocations"/>
  4223. </method>
  4224. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.BlocksWithLocations"
  4225. abstract="false" native="false" synchronized="false"
  4226. static="true" final="false" visibility="public"
  4227. deprecated="not deprecated">
  4228. <param name="blocks" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlocksWithLocationsProto"/>
  4229. </method>
  4230. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockKeyProto"
  4231. abstract="false" native="false" synchronized="false"
  4232. static="true" final="false" visibility="public"
  4233. deprecated="not deprecated">
  4234. <param name="key" type="org.apache.hadoop.hdfs.security.token.block.BlockKey"/>
  4235. </method>
  4236. <method name="convert" return="org.apache.hadoop.hdfs.security.token.block.BlockKey"
  4237. abstract="false" native="false" synchronized="false"
  4238. static="true" final="false" visibility="public"
  4239. deprecated="not deprecated">
  4240. <param name="k" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockKeyProto"/>
  4241. </method>
  4242. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExportedBlockKeysProto"
  4243. abstract="false" native="false" synchronized="false"
  4244. static="true" final="false" visibility="public"
  4245. deprecated="not deprecated">
  4246. <param name="keys" type="org.apache.hadoop.hdfs.security.token.block.ExportedBlockKeys"/>
  4247. </method>
  4248. <method name="convert" return="org.apache.hadoop.hdfs.security.token.block.ExportedBlockKeys"
  4249. abstract="false" native="false" synchronized="false"
  4250. static="true" final="false" visibility="public"
  4251. deprecated="not deprecated">
  4252. <param name="keys" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExportedBlockKeysProto"/>
  4253. </method>
  4254. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.CheckpointSignatureProto"
  4255. abstract="false" native="false" synchronized="false"
  4256. static="true" final="false" visibility="public"
  4257. deprecated="not deprecated">
  4258. <param name="s" type="org.apache.hadoop.hdfs.server.namenode.CheckpointSignature"/>
  4259. </method>
  4260. <method name="convert" return="org.apache.hadoop.hdfs.server.namenode.CheckpointSignature"
  4261. abstract="false" native="false" synchronized="false"
  4262. static="true" final="false" visibility="public"
  4263. deprecated="not deprecated">
  4264. <param name="s" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.CheckpointSignatureProto"/>
  4265. </method>
  4266. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.RemoteEditLogProto"
  4267. abstract="false" native="false" synchronized="false"
  4268. static="true" final="false" visibility="public"
  4269. deprecated="not deprecated">
  4270. <param name="log" type="org.apache.hadoop.hdfs.server.protocol.RemoteEditLog"/>
  4271. </method>
  4272. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.RemoteEditLog"
  4273. abstract="false" native="false" synchronized="false"
  4274. static="true" final="false" visibility="public"
  4275. deprecated="not deprecated">
  4276. <param name="l" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.RemoteEditLogProto"/>
  4277. </method>
  4278. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.RemoteEditLogManifestProto"
  4279. abstract="false" native="false" synchronized="false"
  4280. static="true" final="false" visibility="public"
  4281. deprecated="not deprecated">
  4282. <param name="manifest" type="org.apache.hadoop.hdfs.server.protocol.RemoteEditLogManifest"/>
  4283. </method>
  4284. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.RemoteEditLogManifest"
  4285. abstract="false" native="false" synchronized="false"
  4286. static="true" final="false" visibility="public"
  4287. deprecated="not deprecated">
  4288. <param name="manifest" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.RemoteEditLogManifestProto"/>
  4289. </method>
  4290. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.CheckpointCommandProto"
  4291. abstract="false" native="false" synchronized="false"
  4292. static="true" final="false" visibility="public"
  4293. deprecated="not deprecated">
  4294. <param name="cmd" type="org.apache.hadoop.hdfs.server.protocol.CheckpointCommand"/>
  4295. </method>
  4296. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.NamenodeCommandProto"
  4297. abstract="false" native="false" synchronized="false"
  4298. static="true" final="false" visibility="public"
  4299. deprecated="not deprecated">
  4300. <param name="cmd" type="org.apache.hadoop.hdfs.server.protocol.NamenodeCommand"/>
  4301. </method>
  4302. <method name="convertBlockKeys" return="org.apache.hadoop.hdfs.security.token.block.BlockKey[]"
  4303. abstract="false" native="false" synchronized="false"
  4304. static="true" final="false" visibility="public"
  4305. deprecated="not deprecated">
  4306. <param name="list" type="java.util.List"/>
  4307. </method>
  4308. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.NamespaceInfo"
  4309. abstract="false" native="false" synchronized="false"
  4310. static="true" final="false" visibility="public"
  4311. deprecated="not deprecated">
  4312. <param name="info" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.NamespaceInfoProto"/>
  4313. </method>
  4314. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.NamenodeCommand"
  4315. abstract="false" native="false" synchronized="false"
  4316. static="true" final="false" visibility="public"
  4317. deprecated="not deprecated">
  4318. <param name="cmd" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.NamenodeCommandProto"/>
  4319. </method>
  4320. <method name="convert" return="org.apache.hadoop.hdfs.protocol.ExtendedBlock"
  4321. abstract="false" native="false" synchronized="false"
  4322. static="true" final="false" visibility="public"
  4323. deprecated="not deprecated">
  4324. <param name="eb" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProto"/>
  4325. </method>
  4326. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProto"
  4327. abstract="false" native="false" synchronized="false"
  4328. static="true" final="false" visibility="public"
  4329. deprecated="not deprecated">
  4330. <param name="b" type="org.apache.hadoop.hdfs.protocol.ExtendedBlock"/>
  4331. </method>
  4332. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.RecoveringBlockProto"
  4333. abstract="false" native="false" synchronized="false"
  4334. static="true" final="false" visibility="public"
  4335. deprecated="not deprecated">
  4336. <param name="b" type="org.apache.hadoop.hdfs.server.protocol.BlockRecoveryCommand.RecoveringBlock"/>
  4337. </method>
  4338. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.BlockRecoveryCommand.RecoveringBlock"
  4339. abstract="false" native="false" synchronized="false"
  4340. static="true" final="false" visibility="public"
  4341. deprecated="not deprecated">
  4342. <param name="b" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.RecoveringBlockProto"/>
  4343. </method>
  4344. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfoProto.AdminState"
  4345. abstract="false" native="false" synchronized="false"
  4346. static="true" final="false" visibility="public"
  4347. deprecated="not deprecated">
  4348. <param name="inAs" type="org.apache.hadoop.hdfs.protocol.DatanodeInfo.AdminStates"/>
  4349. </method>
  4350. <method name="convert" return="org.apache.hadoop.hdfs.protocol.DatanodeInfo"
  4351. abstract="false" native="false" synchronized="false"
  4352. static="true" final="false" visibility="public"
  4353. deprecated="not deprecated">
  4354. <param name="di" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfoProto"/>
  4355. </method>
  4356. <method name="convertDatanodeInfo" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfoProto"
  4357. abstract="false" native="false" synchronized="false"
  4358. static="true" final="false" visibility="public"
  4359. deprecated="not deprecated">
  4360. <param name="di" type="org.apache.hadoop.hdfs.protocol.DatanodeInfo"/>
  4361. </method>
  4362. <method name="convert" return="org.apache.hadoop.hdfs.protocol.DatanodeInfo[]"
  4363. abstract="false" native="false" synchronized="false"
  4364. static="true" final="false" visibility="public"
  4365. deprecated="not deprecated">
  4366. <param name="di" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfoProto[]"/>
  4367. </method>
  4368. <method name="convert" return="java.util.List"
  4369. abstract="false" native="false" synchronized="false"
  4370. static="true" final="false" visibility="public"
  4371. deprecated="not deprecated">
  4372. <param name="dnInfos" type="org.apache.hadoop.hdfs.protocol.DatanodeInfo[]"/>
  4373. </method>
  4374. <method name="convert" return="java.util.List"
  4375. abstract="false" native="false" synchronized="false"
  4376. static="true" final="false" visibility="public"
  4377. deprecated="not deprecated">
  4378. <param name="dnInfos" type="org.apache.hadoop.hdfs.protocol.DatanodeInfo[]"/>
  4379. <param name="startIdx" type="int"/>
  4380. <doc>
  4381. <![CDATA[Copy from {@code dnInfos} to a target of list of same size starting at
  4382. {@code startIdx}.]]>
  4383. </doc>
  4384. </method>
  4385. <method name="convert" return="org.apache.hadoop.hdfs.protocol.DatanodeInfo[]"
  4386. abstract="false" native="false" synchronized="false"
  4387. static="true" final="false" visibility="public"
  4388. deprecated="not deprecated">
  4389. <param name="list" type="java.util.List"/>
  4390. </method>
  4391. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfoProto"
  4392. abstract="false" native="false" synchronized="false"
  4393. static="true" final="false" visibility="public"
  4394. deprecated="not deprecated">
  4395. <param name="info" type="org.apache.hadoop.hdfs.protocol.DatanodeInfo"/>
  4396. </method>
  4397. <method name="convertDatanodeStorageReport" return="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.DatanodeStorageReportProto"
  4398. abstract="false" native="false" synchronized="false"
  4399. static="true" final="false" visibility="public"
  4400. deprecated="not deprecated">
  4401. <param name="report" type="org.apache.hadoop.hdfs.server.protocol.DatanodeStorageReport"/>
  4402. </method>
  4403. <method name="convertDatanodeStorageReports" return="java.util.List"
  4404. abstract="false" native="false" synchronized="false"
  4405. static="true" final="false" visibility="public"
  4406. deprecated="not deprecated">
  4407. <param name="reports" type="org.apache.hadoop.hdfs.server.protocol.DatanodeStorageReport[]"/>
  4408. </method>
  4409. <method name="convertDatanodeStorageReport" return="org.apache.hadoop.hdfs.server.protocol.DatanodeStorageReport"
  4410. abstract="false" native="false" synchronized="false"
  4411. static="true" final="false" visibility="public"
  4412. deprecated="not deprecated">
  4413. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.DatanodeStorageReportProto"/>
  4414. </method>
  4415. <method name="convertDatanodeStorageReports" return="org.apache.hadoop.hdfs.server.protocol.DatanodeStorageReport[]"
  4416. abstract="false" native="false" synchronized="false"
  4417. static="true" final="false" visibility="public"
  4418. deprecated="not deprecated">
  4419. <param name="protos" type="java.util.List"/>
  4420. </method>
  4421. <method name="convert" return="org.apache.hadoop.hdfs.protocol.DatanodeInfo.AdminStates"
  4422. abstract="false" native="false" synchronized="false"
  4423. static="true" final="false" visibility="public"
  4424. deprecated="not deprecated">
  4425. <param name="adminState" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfoProto.AdminState"/>
  4426. </method>
  4427. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.LocatedBlockProto"
  4428. abstract="false" native="false" synchronized="false"
  4429. static="true" final="false" visibility="public"
  4430. deprecated="not deprecated">
  4431. <param name="b" type="org.apache.hadoop.hdfs.protocol.LocatedBlock"/>
  4432. </method>
  4433. <method name="convert" return="org.apache.hadoop.hdfs.protocol.LocatedBlock"
  4434. abstract="false" native="false" synchronized="false"
  4435. static="true" final="false" visibility="public"
  4436. deprecated="not deprecated">
  4437. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.LocatedBlockProto"/>
  4438. </method>
  4439. <method name="convert" return="org.apache.hadoop.security.proto.SecurityProtos.TokenProto"
  4440. abstract="false" native="false" synchronized="false"
  4441. static="true" final="false" visibility="public"
  4442. deprecated="not deprecated">
  4443. <param name="tok" type="org.apache.hadoop.security.token.Token"/>
  4444. </method>
  4445. <method name="convert" return="org.apache.hadoop.security.token.Token"
  4446. abstract="false" native="false" synchronized="false"
  4447. static="true" final="false" visibility="public"
  4448. deprecated="not deprecated">
  4449. <param name="blockToken" type="org.apache.hadoop.security.proto.SecurityProtos.TokenProto"/>
  4450. </method>
  4451. <method name="convertDelegationToken" return="org.apache.hadoop.security.token.Token"
  4452. abstract="false" native="false" synchronized="false"
  4453. static="true" final="false" visibility="public"
  4454. deprecated="not deprecated">
  4455. <param name="blockToken" type="org.apache.hadoop.security.proto.SecurityProtos.TokenProto"/>
  4456. </method>
  4457. <method name="convert" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.ReplicaState"
  4458. abstract="false" native="false" synchronized="false"
  4459. static="true" final="false" visibility="public"
  4460. deprecated="not deprecated">
  4461. <param name="state" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ReplicaStateProto"/>
  4462. </method>
  4463. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ReplicaStateProto"
  4464. abstract="false" native="false" synchronized="false"
  4465. static="true" final="false" visibility="public"
  4466. deprecated="not deprecated">
  4467. <param name="state" type="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.ReplicaState"/>
  4468. </method>
  4469. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.DatanodeRegistrationProto"
  4470. abstract="false" native="false" synchronized="false"
  4471. static="true" final="false" visibility="public"
  4472. deprecated="not deprecated">
  4473. <param name="registration" type="org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration"/>
  4474. </method>
  4475. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration"
  4476. abstract="false" native="false" synchronized="false"
  4477. static="true" final="false" visibility="public"
  4478. deprecated="not deprecated">
  4479. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.DatanodeRegistrationProto"/>
  4480. </method>
  4481. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.DatanodeCommand"
  4482. abstract="false" native="false" synchronized="false"
  4483. static="true" final="false" visibility="public"
  4484. deprecated="not deprecated">
  4485. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.DatanodeCommandProto"/>
  4486. </method>
  4487. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.BalancerBandwidthCommandProto"
  4488. abstract="false" native="false" synchronized="false"
  4489. static="true" final="false" visibility="public"
  4490. deprecated="not deprecated">
  4491. <param name="bbCmd" type="org.apache.hadoop.hdfs.server.protocol.BalancerBandwidthCommand"/>
  4492. </method>
  4493. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.KeyUpdateCommandProto"
  4494. abstract="false" native="false" synchronized="false"
  4495. static="true" final="false" visibility="public"
  4496. deprecated="not deprecated">
  4497. <param name="cmd" type="org.apache.hadoop.hdfs.server.protocol.KeyUpdateCommand"/>
  4498. </method>
  4499. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.BlockRecoveryCommandProto"
  4500. abstract="false" native="false" synchronized="false"
  4501. static="true" final="false" visibility="public"
  4502. deprecated="not deprecated">
  4503. <param name="cmd" type="org.apache.hadoop.hdfs.server.protocol.BlockRecoveryCommand"/>
  4504. </method>
  4505. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.FinalizeCommandProto"
  4506. abstract="false" native="false" synchronized="false"
  4507. static="true" final="false" visibility="public"
  4508. deprecated="not deprecated">
  4509. <param name="cmd" type="org.apache.hadoop.hdfs.server.protocol.FinalizeCommand"/>
  4510. </method>
  4511. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.BlockCommandProto"
  4512. abstract="false" native="false" synchronized="false"
  4513. static="true" final="false" visibility="public"
  4514. deprecated="not deprecated">
  4515. <param name="cmd" type="org.apache.hadoop.hdfs.server.protocol.BlockCommand"/>
  4516. </method>
  4517. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.BlockIdCommandProto"
  4518. abstract="false" native="false" synchronized="false"
  4519. static="true" final="false" visibility="public"
  4520. deprecated="not deprecated">
  4521. <param name="cmd" type="org.apache.hadoop.hdfs.server.protocol.BlockIdCommand"/>
  4522. </method>
  4523. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.DatanodeCommandProto"
  4524. abstract="false" native="false" synchronized="false"
  4525. static="true" final="false" visibility="public"
  4526. deprecated="not deprecated">
  4527. <param name="datanodeCommand" type="org.apache.hadoop.hdfs.server.protocol.DatanodeCommand"/>
  4528. </method>
  4529. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.KeyUpdateCommand"
  4530. abstract="false" native="false" synchronized="false"
  4531. static="true" final="false" visibility="public"
  4532. deprecated="not deprecated">
  4533. <param name="keyUpdateCmd" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.KeyUpdateCommandProto"/>
  4534. </method>
  4535. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.FinalizeCommand"
  4536. abstract="false" native="false" synchronized="false"
  4537. static="true" final="false" visibility="public"
  4538. deprecated="not deprecated">
  4539. <param name="finalizeCmd" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.FinalizeCommandProto"/>
  4540. </method>
  4541. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.BlockRecoveryCommand"
  4542. abstract="false" native="false" synchronized="false"
  4543. static="true" final="false" visibility="public"
  4544. deprecated="not deprecated">
  4545. <param name="recoveryCmd" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.BlockRecoveryCommandProto"/>
  4546. </method>
  4547. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.BlockCommand"
  4548. abstract="false" native="false" synchronized="false"
  4549. static="true" final="false" visibility="public"
  4550. deprecated="not deprecated">
  4551. <param name="blkCmd" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.BlockCommandProto"/>
  4552. </method>
  4553. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.BlockIdCommand"
  4554. abstract="false" native="false" synchronized="false"
  4555. static="true" final="false" visibility="public"
  4556. deprecated="not deprecated">
  4557. <param name="blkIdCmd" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.BlockIdCommandProto"/>
  4558. </method>
  4559. <method name="convert" return="org.apache.hadoop.hdfs.protocol.DatanodeInfo[]"
  4560. abstract="false" native="false" synchronized="false"
  4561. static="true" final="false" visibility="public"
  4562. deprecated="not deprecated">
  4563. <param name="datanodeInfosProto" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto"/>
  4564. </method>
  4565. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.BalancerBandwidthCommand"
  4566. abstract="false" native="false" synchronized="false"
  4567. static="true" final="false" visibility="public"
  4568. deprecated="not deprecated">
  4569. <param name="balancerCmd" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.BalancerBandwidthCommandProto"/>
  4570. </method>
  4571. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.ReceivedDeletedBlockInfoProto"
  4572. abstract="false" native="false" synchronized="false"
  4573. static="true" final="false" visibility="public"
  4574. deprecated="not deprecated">
  4575. <param name="receivedDeletedBlockInfo" type="org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo"/>
  4576. </method>
  4577. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo"
  4578. abstract="false" native="false" synchronized="false"
  4579. static="true" final="false" visibility="public"
  4580. deprecated="not deprecated">
  4581. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.ReceivedDeletedBlockInfoProto"/>
  4582. </method>
  4583. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.NamespaceInfoProto"
  4584. abstract="false" native="false" synchronized="false"
  4585. static="true" final="false" visibility="public"
  4586. deprecated="not deprecated">
  4587. <param name="info" type="org.apache.hadoop.hdfs.server.protocol.NamespaceInfo"/>
  4588. </method>
  4589. <method name="convertLocatedBlock" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.LocatedBlockProto[]"
  4590. abstract="false" native="false" synchronized="false"
  4591. static="true" final="false" visibility="public"
  4592. deprecated="not deprecated">
  4593. <param name="lb" type="org.apache.hadoop.hdfs.protocol.LocatedBlock[]"/>
  4594. </method>
  4595. <method name="convertLocatedBlock" return="org.apache.hadoop.hdfs.protocol.LocatedBlock[]"
  4596. abstract="false" native="false" synchronized="false"
  4597. static="true" final="false" visibility="public"
  4598. deprecated="not deprecated">
  4599. <param name="lb" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.LocatedBlockProto[]"/>
  4600. </method>
  4601. <method name="convertLocatedBlock" return="java.util.List"
  4602. abstract="false" native="false" synchronized="false"
  4603. static="true" final="false" visibility="public"
  4604. deprecated="not deprecated">
  4605. <param name="lb" type="java.util.List"/>
  4606. </method>
  4607. <method name="convertLocatedBlock2" return="java.util.List"
  4608. abstract="false" native="false" synchronized="false"
  4609. static="true" final="false" visibility="public"
  4610. deprecated="not deprecated">
  4611. <param name="lb" type="java.util.List"/>
  4612. </method>
  4613. <method name="convert" return="org.apache.hadoop.hdfs.protocol.LocatedBlocks"
  4614. abstract="false" native="false" synchronized="false"
  4615. static="true" final="false" visibility="public"
  4616. deprecated="not deprecated">
  4617. <param name="lb" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.LocatedBlocksProto"/>
  4618. </method>
  4619. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.LocatedBlocksProto"
  4620. abstract="false" native="false" synchronized="false"
  4621. static="true" final="false" visibility="public"
  4622. deprecated="not deprecated">
  4623. <param name="lb" type="org.apache.hadoop.hdfs.protocol.LocatedBlocks"/>
  4624. </method>
  4625. <method name="convert" return="org.apache.hadoop.hdfs.security.token.block.DataEncryptionKey"
  4626. abstract="false" native="false" synchronized="false"
  4627. static="true" final="false" visibility="public"
  4628. deprecated="not deprecated">
  4629. <param name="bet" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DataEncryptionKeyProto"/>
  4630. </method>
  4631. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DataEncryptionKeyProto"
  4632. abstract="false" native="false" synchronized="false"
  4633. static="true" final="false" visibility="public"
  4634. deprecated="not deprecated">
  4635. <param name="bet" type="org.apache.hadoop.hdfs.security.token.block.DataEncryptionKey"/>
  4636. </method>
  4637. <method name="convert" return="org.apache.hadoop.fs.FsServerDefaults"
  4638. abstract="false" native="false" synchronized="false"
  4639. static="true" final="false" visibility="public"
  4640. deprecated="not deprecated">
  4641. <param name="fs" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.FsServerDefaultsProto"/>
  4642. </method>
  4643. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.FsServerDefaultsProto"
  4644. abstract="false" native="false" synchronized="false"
  4645. static="true" final="false" visibility="public"
  4646. deprecated="not deprecated">
  4647. <param name="fs" type="org.apache.hadoop.fs.FsServerDefaults"/>
  4648. </method>
  4649. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.FsPermissionProto"
  4650. abstract="false" native="false" synchronized="false"
  4651. static="true" final="false" visibility="public"
  4652. deprecated="not deprecated">
  4653. <param name="p" type="org.apache.hadoop.fs.permission.FsPermission"/>
  4654. </method>
  4655. <method name="convert" return="org.apache.hadoop.fs.permission.FsPermission"
  4656. abstract="false" native="false" synchronized="false"
  4657. static="true" final="false" visibility="public"
  4658. deprecated="not deprecated">
  4659. <param name="p" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.FsPermissionProto"/>
  4660. </method>
  4661. <method name="convertCreateFlag" return="int"
  4662. abstract="false" native="false" synchronized="false"
  4663. static="true" final="false" visibility="public"
  4664. deprecated="not deprecated">
  4665. <param name="flag" type="org.apache.hadoop.io.EnumSetWritable"/>
  4666. </method>
  4667. <method name="convertCreateFlag" return="org.apache.hadoop.io.EnumSetWritable"
  4668. abstract="false" native="false" synchronized="false"
  4669. static="true" final="false" visibility="public"
  4670. deprecated="not deprecated">
  4671. <param name="flag" type="int"/>
  4672. </method>
  4673. <method name="convertCacheFlags" return="int"
  4674. abstract="false" native="false" synchronized="false"
  4675. static="true" final="false" visibility="public"
  4676. deprecated="not deprecated">
  4677. <param name="flags" type="java.util.EnumSet"/>
  4678. </method>
  4679. <method name="convertCacheFlags" return="java.util.EnumSet"
  4680. abstract="false" native="false" synchronized="false"
  4681. static="true" final="false" visibility="public"
  4682. deprecated="not deprecated">
  4683. <param name="flags" type="int"/>
  4684. </method>
  4685. <method name="convert" return="org.apache.hadoop.hdfs.protocol.HdfsFileStatus"
  4686. abstract="false" native="false" synchronized="false"
  4687. static="true" final="false" visibility="public"
  4688. deprecated="not deprecated">
  4689. <param name="fs" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.HdfsFileStatusProto"/>
  4690. </method>
  4691. <method name="convert" return="org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus"
  4692. abstract="false" native="false" synchronized="false"
  4693. static="true" final="false" visibility="public"
  4694. deprecated="not deprecated">
  4695. <param name="sdirStatusProto" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.SnapshottableDirectoryStatusProto"/>
  4696. </method>
  4697. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.HdfsFileStatusProto"
  4698. abstract="false" native="false" synchronized="false"
  4699. static="true" final="false" visibility="public"
  4700. deprecated="not deprecated">
  4701. <param name="fs" type="org.apache.hadoop.hdfs.protocol.HdfsFileStatus"/>
  4702. </method>
  4703. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.SnapshottableDirectoryStatusProto"
  4704. abstract="false" native="false" synchronized="false"
  4705. static="true" final="false" visibility="public"
  4706. deprecated="not deprecated">
  4707. <param name="status" type="org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus"/>
  4708. </method>
  4709. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.HdfsFileStatusProto[]"
  4710. abstract="false" native="false" synchronized="false"
  4711. static="true" final="false" visibility="public"
  4712. deprecated="not deprecated">
  4713. <param name="fs" type="org.apache.hadoop.hdfs.protocol.HdfsFileStatus[]"/>
  4714. </method>
  4715. <method name="convert" return="org.apache.hadoop.hdfs.protocol.HdfsFileStatus[]"
  4716. abstract="false" native="false" synchronized="false"
  4717. static="true" final="false" visibility="public"
  4718. deprecated="not deprecated">
  4719. <param name="fs" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.HdfsFileStatusProto[]"/>
  4720. </method>
  4721. <method name="convert" return="org.apache.hadoop.hdfs.protocol.DirectoryListing"
  4722. abstract="false" native="false" synchronized="false"
  4723. static="true" final="false" visibility="public"
  4724. deprecated="not deprecated">
  4725. <param name="dl" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DirectoryListingProto"/>
  4726. </method>
  4727. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DirectoryListingProto"
  4728. abstract="false" native="false" synchronized="false"
  4729. static="true" final="false" visibility="public"
  4730. deprecated="not deprecated">
  4731. <param name="d" type="org.apache.hadoop.hdfs.protocol.DirectoryListing"/>
  4732. </method>
  4733. <method name="convert" return="long[]"
  4734. abstract="false" native="false" synchronized="false"
  4735. static="true" final="false" visibility="public"
  4736. deprecated="not deprecated">
  4737. <param name="res" type="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.GetFsStatsResponseProto"/>
  4738. </method>
  4739. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.GetFsStatsResponseProto"
  4740. abstract="false" native="false" synchronized="false"
  4741. static="true" final="false" visibility="public"
  4742. deprecated="not deprecated">
  4743. <param name="fsStats" type="long[]"/>
  4744. </method>
  4745. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.DatanodeReportTypeProto"
  4746. abstract="false" native="false" synchronized="false"
  4747. static="true" final="false" visibility="public"
  4748. deprecated="not deprecated">
  4749. <param name="t" type="org.apache.hadoop.hdfs.protocol.HdfsConstants.DatanodeReportType"/>
  4750. </method>
  4751. <method name="convert" return="org.apache.hadoop.hdfs.protocol.HdfsConstants.DatanodeReportType"
  4752. abstract="false" native="false" synchronized="false"
  4753. static="true" final="false" visibility="public"
  4754. deprecated="not deprecated">
  4755. <param name="t" type="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.DatanodeReportTypeProto"/>
  4756. </method>
  4757. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.SafeModeActionProto"
  4758. abstract="false" native="false" synchronized="false"
  4759. static="true" final="false" visibility="public"
  4760. deprecated="not deprecated">
  4761. <param name="a" type="org.apache.hadoop.hdfs.protocol.HdfsConstants.SafeModeAction"/>
  4762. </method>
  4763. <method name="convert" return="org.apache.hadoop.hdfs.protocol.HdfsConstants.SafeModeAction"
  4764. abstract="false" native="false" synchronized="false"
  4765. static="true" final="false" visibility="public"
  4766. deprecated="not deprecated">
  4767. <param name="a" type="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.SafeModeActionProto"/>
  4768. </method>
  4769. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.RollingUpgradeActionProto"
  4770. abstract="false" native="false" synchronized="false"
  4771. static="true" final="false" visibility="public"
  4772. deprecated="not deprecated">
  4773. <param name="a" type="org.apache.hadoop.hdfs.protocol.HdfsConstants.RollingUpgradeAction"/>
  4774. </method>
  4775. <method name="convert" return="org.apache.hadoop.hdfs.protocol.HdfsConstants.RollingUpgradeAction"
  4776. abstract="false" native="false" synchronized="false"
  4777. static="true" final="false" visibility="public"
  4778. deprecated="not deprecated">
  4779. <param name="a" type="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.RollingUpgradeActionProto"/>
  4780. </method>
  4781. <method name="convertRollingUpgradeStatus" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.RollingUpgradeStatusProto"
  4782. abstract="false" native="false" synchronized="false"
  4783. static="true" final="false" visibility="public"
  4784. deprecated="not deprecated">
  4785. <param name="status" type="org.apache.hadoop.hdfs.protocol.RollingUpgradeStatus"/>
  4786. </method>
  4787. <method name="convert" return="org.apache.hadoop.hdfs.protocol.RollingUpgradeStatus"
  4788. abstract="false" native="false" synchronized="false"
  4789. static="true" final="false" visibility="public"
  4790. deprecated="not deprecated">
  4791. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.RollingUpgradeStatusProto"/>
  4792. </method>
  4793. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.RollingUpgradeInfoProto"
  4794. abstract="false" native="false" synchronized="false"
  4795. static="true" final="false" visibility="public"
  4796. deprecated="not deprecated">
  4797. <param name="info" type="org.apache.hadoop.hdfs.protocol.RollingUpgradeInfo"/>
  4798. </method>
  4799. <method name="convert" return="org.apache.hadoop.hdfs.protocol.RollingUpgradeInfo"
  4800. abstract="false" native="false" synchronized="false"
  4801. static="true" final="false" visibility="public"
  4802. deprecated="not deprecated">
  4803. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.RollingUpgradeInfoProto"/>
  4804. </method>
  4805. <method name="convert" return="org.apache.hadoop.hdfs.protocol.CorruptFileBlocks"
  4806. abstract="false" native="false" synchronized="false"
  4807. static="true" final="false" visibility="public"
  4808. deprecated="not deprecated">
  4809. <param name="c" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.CorruptFileBlocksProto"/>
  4810. </method>
  4811. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.CorruptFileBlocksProto"
  4812. abstract="false" native="false" synchronized="false"
  4813. static="true" final="false" visibility="public"
  4814. deprecated="not deprecated">
  4815. <param name="c" type="org.apache.hadoop.hdfs.protocol.CorruptFileBlocks"/>
  4816. </method>
  4817. <method name="convert" return="org.apache.hadoop.fs.ContentSummary"
  4818. abstract="false" native="false" synchronized="false"
  4819. static="true" final="false" visibility="public"
  4820. deprecated="not deprecated">
  4821. <param name="cs" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ContentSummaryProto"/>
  4822. </method>
  4823. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ContentSummaryProto"
  4824. abstract="false" native="false" synchronized="false"
  4825. static="true" final="false" visibility="public"
  4826. deprecated="not deprecated">
  4827. <param name="cs" type="org.apache.hadoop.fs.ContentSummary"/>
  4828. </method>
  4829. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.NNHAStatusHeartbeat"
  4830. abstract="false" native="false" synchronized="false"
  4831. static="true" final="false" visibility="public"
  4832. deprecated="not deprecated">
  4833. <param name="s" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.NNHAStatusHeartbeatProto"/>
  4834. </method>
  4835. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.NNHAStatusHeartbeatProto"
  4836. abstract="false" native="false" synchronized="false"
  4837. static="true" final="false" visibility="public"
  4838. deprecated="not deprecated">
  4839. <param name="hb" type="org.apache.hadoop.hdfs.server.protocol.NNHAStatusHeartbeat"/>
  4840. </method>
  4841. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeStorageProto"
  4842. abstract="false" native="false" synchronized="false"
  4843. static="true" final="false" visibility="public"
  4844. deprecated="not deprecated">
  4845. <param name="s" type="org.apache.hadoop.hdfs.server.protocol.DatanodeStorage"/>
  4846. </method>
  4847. <method name="convertStorageTypes" return="java.util.List"
  4848. abstract="false" native="false" synchronized="false"
  4849. static="true" final="false" visibility="public"
  4850. deprecated="not deprecated">
  4851. <param name="types" type="org.apache.hadoop.hdfs.StorageType[]"/>
  4852. </method>
  4853. <method name="convertStorageTypes" return="java.util.List"
  4854. abstract="false" native="false" synchronized="false"
  4855. static="true" final="false" visibility="public"
  4856. deprecated="not deprecated">
  4857. <param name="types" type="org.apache.hadoop.hdfs.StorageType[]"/>
  4858. <param name="startIdx" type="int"/>
  4859. </method>
  4860. <method name="convertStorageType" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypeProto"
  4861. abstract="false" native="false" synchronized="false"
  4862. static="true" final="false" visibility="public"
  4863. deprecated="not deprecated">
  4864. <param name="type" type="org.apache.hadoop.hdfs.StorageType"/>
  4865. </method>
  4866. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.DatanodeStorage"
  4867. abstract="false" native="false" synchronized="false"
  4868. static="true" final="false" visibility="public"
  4869. deprecated="not deprecated">
  4870. <param name="s" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeStorageProto"/>
  4871. </method>
  4872. <method name="convertStorageType" return="org.apache.hadoop.hdfs.StorageType"
  4873. abstract="false" native="false" synchronized="false"
  4874. static="true" final="false" visibility="public"
  4875. deprecated="not deprecated">
  4876. <param name="type" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypeProto"/>
  4877. </method>
  4878. <method name="convertStorageTypes" return="org.apache.hadoop.hdfs.StorageType[]"
  4879. abstract="false" native="false" synchronized="false"
  4880. static="true" final="false" visibility="public"
  4881. deprecated="not deprecated">
  4882. <param name="storageTypesList" type="java.util.List"/>
  4883. <param name="expectedSize" type="int"/>
  4884. </method>
  4885. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageReportProto"
  4886. abstract="false" native="false" synchronized="false"
  4887. static="true" final="false" visibility="public"
  4888. deprecated="not deprecated">
  4889. <param name="r" type="org.apache.hadoop.hdfs.server.protocol.StorageReport"/>
  4890. </method>
  4891. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.StorageReport"
  4892. abstract="false" native="false" synchronized="false"
  4893. static="true" final="false" visibility="public"
  4894. deprecated="not deprecated">
  4895. <param name="p" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageReportProto"/>
  4896. </method>
  4897. <method name="convertStorageReports" return="org.apache.hadoop.hdfs.server.protocol.StorageReport[]"
  4898. abstract="false" native="false" synchronized="false"
  4899. static="true" final="false" visibility="public"
  4900. deprecated="not deprecated">
  4901. <param name="list" type="java.util.List"/>
  4902. </method>
  4903. <method name="convertStorageReports" return="java.util.List"
  4904. abstract="false" native="false" synchronized="false"
  4905. static="true" final="false" visibility="public"
  4906. deprecated="not deprecated">
  4907. <param name="storages" type="org.apache.hadoop.hdfs.server.protocol.StorageReport[]"/>
  4908. </method>
  4909. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.JournalInfo"
  4910. abstract="false" native="false" synchronized="false"
  4911. static="true" final="false" visibility="public"
  4912. deprecated="not deprecated">
  4913. <param name="info" type="org.apache.hadoop.hdfs.protocol.proto.JournalProtocolProtos.JournalInfoProto"/>
  4914. </method>
  4915. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.JournalProtocolProtos.JournalInfoProto"
  4916. abstract="false" native="false" synchronized="false"
  4917. static="true" final="false" visibility="public"
  4918. deprecated="not deprecated">
  4919. <param name="j" type="org.apache.hadoop.hdfs.server.protocol.JournalInfo"/>
  4920. <doc>
  4921. <![CDATA[Method used for converting {@link JournalInfoProto} sent from Namenode
  4922. to Journal receivers to {@link NamenodeRegistration}.]]>
  4923. </doc>
  4924. </method>
  4925. <method name="convert" return="org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus[]"
  4926. abstract="false" native="false" synchronized="false"
  4927. static="true" final="false" visibility="public"
  4928. deprecated="not deprecated">
  4929. <param name="sdlp" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.SnapshottableDirectoryListingProto"/>
  4930. </method>
  4931. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.SnapshottableDirectoryListingProto"
  4932. abstract="false" native="false" synchronized="false"
  4933. static="true" final="false" visibility="public"
  4934. deprecated="not deprecated">
  4935. <param name="status" type="org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus[]"/>
  4936. </method>
  4937. <method name="convert" return="org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffReportEntry"
  4938. abstract="false" native="false" synchronized="false"
  4939. static="true" final="false" visibility="public"
  4940. deprecated="not deprecated">
  4941. <param name="entry" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.SnapshotDiffReportEntryProto"/>
  4942. </method>
  4943. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.SnapshotDiffReportEntryProto"
  4944. abstract="false" native="false" synchronized="false"
  4945. static="true" final="false" visibility="public"
  4946. deprecated="not deprecated">
  4947. <param name="entry" type="org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffReportEntry"/>
  4948. </method>
  4949. <method name="convert" return="org.apache.hadoop.hdfs.protocol.SnapshotDiffReport"
  4950. abstract="false" native="false" synchronized="false"
  4951. static="true" final="false" visibility="public"
  4952. deprecated="not deprecated">
  4953. <param name="reportProto" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.SnapshotDiffReportProto"/>
  4954. </method>
  4955. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.SnapshotDiffReportProto"
  4956. abstract="false" native="false" synchronized="false"
  4957. static="true" final="false" visibility="public"
  4958. deprecated="not deprecated">
  4959. <param name="report" type="org.apache.hadoop.hdfs.protocol.SnapshotDiffReport"/>
  4960. </method>
  4961. <method name="convert" return="org.apache.hadoop.util.DataChecksum.Type"
  4962. abstract="false" native="false" synchronized="false"
  4963. static="true" final="false" visibility="public"
  4964. deprecated="not deprecated">
  4965. <param name="type" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ChecksumTypeProto"/>
  4966. </method>
  4967. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CacheDirectiveInfoProto"
  4968. abstract="false" native="false" synchronized="false"
  4969. static="true" final="false" visibility="public"
  4970. deprecated="not deprecated">
  4971. <param name="info" type="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo"/>
  4972. </method>
  4973. <method name="convert" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo"
  4974. abstract="false" native="false" synchronized="false"
  4975. static="true" final="false" visibility="public"
  4976. deprecated="not deprecated">
  4977. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CacheDirectiveInfoProto"/>
  4978. </method>
  4979. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CacheDirectiveInfoExpirationProto"
  4980. abstract="false" native="false" synchronized="false"
  4981. static="true" final="false" visibility="public"
  4982. deprecated="not deprecated">
  4983. <param name="expiration" type="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Expiration"/>
  4984. </method>
  4985. <method name="convert" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Expiration"
  4986. abstract="false" native="false" synchronized="false"
  4987. static="true" final="false" visibility="public"
  4988. deprecated="not deprecated">
  4989. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CacheDirectiveInfoExpirationProto"/>
  4990. </method>
  4991. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CacheDirectiveStatsProto"
  4992. abstract="false" native="false" synchronized="false"
  4993. static="true" final="false" visibility="public"
  4994. deprecated="not deprecated">
  4995. <param name="stats" type="org.apache.hadoop.hdfs.protocol.CacheDirectiveStats"/>
  4996. </method>
  4997. <method name="convert" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveStats"
  4998. abstract="false" native="false" synchronized="false"
  4999. static="true" final="false" visibility="public"
  5000. deprecated="not deprecated">
  5001. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CacheDirectiveStatsProto"/>
  5002. </method>
  5003. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CacheDirectiveEntryProto"
  5004. abstract="false" native="false" synchronized="false"
  5005. static="true" final="false" visibility="public"
  5006. deprecated="not deprecated">
  5007. <param name="entry" type="org.apache.hadoop.hdfs.protocol.CacheDirectiveEntry"/>
  5008. </method>
  5009. <method name="convert" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveEntry"
  5010. abstract="false" native="false" synchronized="false"
  5011. static="true" final="false" visibility="public"
  5012. deprecated="not deprecated">
  5013. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CacheDirectiveEntryProto"/>
  5014. </method>
  5015. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CachePoolInfoProto"
  5016. abstract="false" native="false" synchronized="false"
  5017. static="true" final="false" visibility="public"
  5018. deprecated="not deprecated">
  5019. <param name="info" type="org.apache.hadoop.hdfs.protocol.CachePoolInfo"/>
  5020. </method>
  5021. <method name="convert" return="org.apache.hadoop.hdfs.protocol.CachePoolInfo"
  5022. abstract="false" native="false" synchronized="false"
  5023. static="true" final="false" visibility="public"
  5024. deprecated="not deprecated">
  5025. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CachePoolInfoProto"/>
  5026. </method>
  5027. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CachePoolStatsProto"
  5028. abstract="false" native="false" synchronized="false"
  5029. static="true" final="false" visibility="public"
  5030. deprecated="not deprecated">
  5031. <param name="stats" type="org.apache.hadoop.hdfs.protocol.CachePoolStats"/>
  5032. </method>
  5033. <method name="convert" return="org.apache.hadoop.hdfs.protocol.CachePoolStats"
  5034. abstract="false" native="false" synchronized="false"
  5035. static="true" final="false" visibility="public"
  5036. deprecated="not deprecated">
  5037. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CachePoolStatsProto"/>
  5038. </method>
  5039. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CachePoolEntryProto"
  5040. abstract="false" native="false" synchronized="false"
  5041. static="true" final="false" visibility="public"
  5042. deprecated="not deprecated">
  5043. <param name="entry" type="org.apache.hadoop.hdfs.protocol.CachePoolEntry"/>
  5044. </method>
  5045. <method name="convert" return="org.apache.hadoop.hdfs.protocol.CachePoolEntry"
  5046. abstract="false" native="false" synchronized="false"
  5047. static="true" final="false" visibility="public"
  5048. deprecated="not deprecated">
  5049. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CachePoolEntryProto"/>
  5050. </method>
  5051. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ChecksumTypeProto"
  5052. abstract="false" native="false" synchronized="false"
  5053. static="true" final="false" visibility="public"
  5054. deprecated="not deprecated">
  5055. <param name="type" type="org.apache.hadoop.util.DataChecksum.Type"/>
  5056. </method>
  5057. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeLocalInfoProto"
  5058. abstract="false" native="false" synchronized="false"
  5059. static="true" final="false" visibility="public"
  5060. deprecated="not deprecated">
  5061. <param name="info" type="org.apache.hadoop.hdfs.protocol.DatanodeLocalInfo"/>
  5062. </method>
  5063. <method name="convert" return="org.apache.hadoop.hdfs.protocol.DatanodeLocalInfo"
  5064. abstract="false" native="false" synchronized="false"
  5065. static="true" final="false" visibility="public"
  5066. deprecated="not deprecated">
  5067. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeLocalInfoProto"/>
  5068. </method>
  5069. <method name="vintPrefixed" return="java.io.InputStream"
  5070. abstract="false" native="false" synchronized="false"
  5071. static="true" final="false" visibility="public"
  5072. deprecated="not deprecated">
  5073. <param name="input" type="java.io.InputStream"/>
  5074. <exception name="IOException" type="java.io.IOException"/>
  5075. </method>
  5076. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.FsActionProto"
  5077. abstract="false" native="false" synchronized="false"
  5078. static="true" final="false" visibility="public"
  5079. deprecated="not deprecated">
  5080. <param name="v" type="org.apache.hadoop.fs.permission.FsAction"/>
  5081. </method>
  5082. <method name="convert" return="org.apache.hadoop.fs.permission.FsAction"
  5083. abstract="false" native="false" synchronized="false"
  5084. static="true" final="false" visibility="public"
  5085. deprecated="not deprecated">
  5086. <param name="v" type="org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.FsActionProto"/>
  5087. </method>
  5088. <method name="convertAclEntryProto" return="java.util.List"
  5089. abstract="false" native="false" synchronized="false"
  5090. static="true" final="false" visibility="public"
  5091. deprecated="not deprecated">
  5092. <param name="aclSpec" type="java.util.List"/>
  5093. </method>
  5094. <method name="convertAclEntry" return="java.util.List"
  5095. abstract="false" native="false" synchronized="false"
  5096. static="true" final="false" visibility="public"
  5097. deprecated="not deprecated">
  5098. <param name="aclSpec" type="java.util.List"/>
  5099. </method>
  5100. <method name="convert" return="org.apache.hadoop.fs.permission.AclStatus"
  5101. abstract="false" native="false" synchronized="false"
  5102. static="true" final="false" visibility="public"
  5103. deprecated="not deprecated">
  5104. <param name="e" type="org.apache.hadoop.hdfs.protocol.proto.AclProtos.GetAclStatusResponseProto"/>
  5105. </method>
  5106. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.AclProtos.GetAclStatusResponseProto"
  5107. abstract="false" native="false" synchronized="false"
  5108. static="true" final="false" visibility="public"
  5109. deprecated="not deprecated">
  5110. <param name="e" type="org.apache.hadoop.fs.permission.AclStatus"/>
  5111. </method>
  5112. <method name="convertXAttrProto" return="org.apache.hadoop.hdfs.protocol.proto.XAttrProtos.XAttrProto"
  5113. abstract="false" native="false" synchronized="false"
  5114. static="true" final="false" visibility="public"
  5115. deprecated="not deprecated">
  5116. <param name="a" type="org.apache.hadoop.fs.XAttr"/>
  5117. </method>
  5118. <method name="convertXAttrProto" return="java.util.List"
  5119. abstract="false" native="false" synchronized="false"
  5120. static="true" final="false" visibility="public"
  5121. deprecated="not deprecated">
  5122. <param name="xAttrSpec" type="java.util.List"/>
  5123. </method>
  5124. <method name="convert" return="int"
  5125. abstract="false" native="false" synchronized="false"
  5126. static="true" final="false" visibility="public"
  5127. deprecated="not deprecated">
  5128. <param name="flag" type="java.util.EnumSet"/>
  5129. <doc>
  5130. <![CDATA[The flag field in PB is a bitmask whose values are the same a the
  5131. emum values of XAttrSetFlag]]>
  5132. </doc>
  5133. </method>
  5134. <method name="convert" return="java.util.EnumSet"
  5135. abstract="false" native="false" synchronized="false"
  5136. static="true" final="false" visibility="public"
  5137. deprecated="not deprecated">
  5138. <param name="flag" type="int"/>
  5139. </method>
  5140. <method name="convertXAttr" return="org.apache.hadoop.fs.XAttr"
  5141. abstract="false" native="false" synchronized="false"
  5142. static="true" final="false" visibility="public"
  5143. deprecated="not deprecated">
  5144. <param name="a" type="org.apache.hadoop.hdfs.protocol.proto.XAttrProtos.XAttrProto"/>
  5145. </method>
  5146. <method name="convertXAttrs" return="java.util.List"
  5147. abstract="false" native="false" synchronized="false"
  5148. static="true" final="false" visibility="public"
  5149. deprecated="not deprecated">
  5150. <param name="xAttrSpec" type="java.util.List"/>
  5151. </method>
  5152. <method name="convert" return="java.util.List"
  5153. abstract="false" native="false" synchronized="false"
  5154. static="true" final="false" visibility="public"
  5155. deprecated="not deprecated">
  5156. <param name="a" type="org.apache.hadoop.hdfs.protocol.proto.XAttrProtos.GetXAttrsResponseProto"/>
  5157. </method>
  5158. <method name="convertXAttrsResponse" return="org.apache.hadoop.hdfs.protocol.proto.XAttrProtos.GetXAttrsResponseProto"
  5159. abstract="false" native="false" synchronized="false"
  5160. static="true" final="false" visibility="public"
  5161. deprecated="not deprecated">
  5162. <param name="xAttrs" type="java.util.List"/>
  5163. </method>
  5164. <method name="convert" return="java.util.List"
  5165. abstract="false" native="false" synchronized="false"
  5166. static="true" final="false" visibility="public"
  5167. deprecated="not deprecated">
  5168. <param name="a" type="org.apache.hadoop.hdfs.protocol.proto.XAttrProtos.ListXAttrsResponseProto"/>
  5169. </method>
  5170. <method name="convertListXAttrsResponse" return="org.apache.hadoop.hdfs.protocol.proto.XAttrProtos.ListXAttrsResponseProto"
  5171. abstract="false" native="false" synchronized="false"
  5172. static="true" final="false" visibility="public"
  5173. deprecated="not deprecated">
  5174. <param name="names" type="java.util.List"/>
  5175. </method>
  5176. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.EncryptionZonesProtos.EncryptionZoneProto"
  5177. abstract="false" native="false" synchronized="false"
  5178. static="true" final="false" visibility="public"
  5179. deprecated="not deprecated">
  5180. <param name="zone" type="org.apache.hadoop.hdfs.protocol.EncryptionZone"/>
  5181. </method>
  5182. <method name="convert" return="org.apache.hadoop.hdfs.protocol.EncryptionZone"
  5183. abstract="false" native="false" synchronized="false"
  5184. static="true" final="false" visibility="public"
  5185. deprecated="not deprecated">
  5186. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.EncryptionZonesProtos.EncryptionZoneProto"/>
  5187. </method>
  5188. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.DataTransferProtos.ShortCircuitShmSlotProto"
  5189. abstract="false" native="false" synchronized="false"
  5190. static="true" final="false" visibility="public"
  5191. deprecated="not deprecated">
  5192. <param name="slotId" type="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.SlotId"/>
  5193. </method>
  5194. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.DataTransferProtos.ShortCircuitShmIdProto"
  5195. abstract="false" native="false" synchronized="false"
  5196. static="true" final="false" visibility="public"
  5197. deprecated="not deprecated">
  5198. <param name="shmId" type="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.ShmId"/>
  5199. </method>
  5200. <method name="convert" return="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.SlotId"
  5201. abstract="false" native="false" synchronized="false"
  5202. static="true" final="false" visibility="public"
  5203. deprecated="not deprecated">
  5204. <param name="slotId" type="org.apache.hadoop.hdfs.protocol.proto.DataTransferProtos.ShortCircuitShmSlotProto"/>
  5205. </method>
  5206. <method name="convert" return="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.ShmId"
  5207. abstract="false" native="false" synchronized="false"
  5208. static="true" final="false" visibility="public"
  5209. deprecated="not deprecated">
  5210. <param name="shmId" type="org.apache.hadoop.hdfs.protocol.proto.DataTransferProtos.ShortCircuitShmIdProto"/>
  5211. </method>
  5212. <method name="convert" return="org.apache.hadoop.hdfs.inotify.EventsList"
  5213. abstract="false" native="false" synchronized="false"
  5214. static="true" final="false" visibility="public"
  5215. deprecated="not deprecated">
  5216. <param name="resp" type="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.GetEditsFromTxidResponseProto"/>
  5217. <exception name="IOException" type="java.io.IOException"/>
  5218. </method>
  5219. <method name="convertEditsResponse" return="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.GetEditsFromTxidResponseProto"
  5220. abstract="false" native="false" synchronized="false"
  5221. static="true" final="false" visibility="public"
  5222. deprecated="not deprecated">
  5223. <param name="el" type="org.apache.hadoop.hdfs.inotify.EventsList"/>
  5224. </method>
  5225. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.CipherOptionProto"
  5226. abstract="false" native="false" synchronized="false"
  5227. static="true" final="false" visibility="public"
  5228. deprecated="not deprecated">
  5229. <param name="option" type="org.apache.hadoop.crypto.CipherOption"/>
  5230. </method>
  5231. <method name="convert" return="org.apache.hadoop.crypto.CipherOption"
  5232. abstract="false" native="false" synchronized="false"
  5233. static="true" final="false" visibility="public"
  5234. deprecated="not deprecated">
  5235. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.CipherOptionProto"/>
  5236. </method>
  5237. <method name="convertCipherOptions" return="java.util.List"
  5238. abstract="false" native="false" synchronized="false"
  5239. static="true" final="false" visibility="public"
  5240. deprecated="not deprecated">
  5241. <param name="options" type="java.util.List"/>
  5242. </method>
  5243. <method name="convertCipherOptionProtos" return="java.util.List"
  5244. abstract="false" native="false" synchronized="false"
  5245. static="true" final="false" visibility="public"
  5246. deprecated="not deprecated">
  5247. <param name="protos" type="java.util.List"/>
  5248. </method>
  5249. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.CipherSuiteProto"
  5250. abstract="false" native="false" synchronized="false"
  5251. static="true" final="false" visibility="public"
  5252. deprecated="not deprecated">
  5253. <param name="suite" type="org.apache.hadoop.crypto.CipherSuite"/>
  5254. </method>
  5255. <method name="convert" return="org.apache.hadoop.crypto.CipherSuite"
  5256. abstract="false" native="false" synchronized="false"
  5257. static="true" final="false" visibility="public"
  5258. deprecated="not deprecated">
  5259. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.CipherSuiteProto"/>
  5260. </method>
  5261. <method name="convert" return="java.util.List"
  5262. abstract="false" native="false" synchronized="false"
  5263. static="true" final="false" visibility="public"
  5264. deprecated="not deprecated">
  5265. <param name="versions" type="org.apache.hadoop.crypto.CryptoProtocolVersion[]"/>
  5266. </method>
  5267. <method name="convertCryptoProtocolVersions" return="org.apache.hadoop.crypto.CryptoProtocolVersion[]"
  5268. abstract="false" native="false" synchronized="false"
  5269. static="true" final="false" visibility="public"
  5270. deprecated="not deprecated">
  5271. <param name="protos" type="java.util.List"/>
  5272. </method>
  5273. <method name="convert" return="org.apache.hadoop.crypto.CryptoProtocolVersion"
  5274. abstract="false" native="false" synchronized="false"
  5275. static="true" final="false" visibility="public"
  5276. deprecated="not deprecated">
  5277. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.CryptoProtocolVersionProto"/>
  5278. </method>
  5279. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.CryptoProtocolVersionProto"
  5280. abstract="false" native="false" synchronized="false"
  5281. static="true" final="false" visibility="public"
  5282. deprecated="not deprecated">
  5283. <param name="version" type="org.apache.hadoop.crypto.CryptoProtocolVersion"/>
  5284. </method>
  5285. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.FileEncryptionInfoProto"
  5286. abstract="false" native="false" synchronized="false"
  5287. static="true" final="false" visibility="public"
  5288. deprecated="not deprecated">
  5289. <param name="info" type="org.apache.hadoop.fs.FileEncryptionInfo"/>
  5290. </method>
  5291. <method name="convertPerFileEncInfo" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.PerFileEncryptionInfoProto"
  5292. abstract="false" native="false" synchronized="false"
  5293. static="true" final="false" visibility="public"
  5294. deprecated="not deprecated">
  5295. <param name="info" type="org.apache.hadoop.fs.FileEncryptionInfo"/>
  5296. </method>
  5297. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ZoneEncryptionInfoProto"
  5298. abstract="false" native="false" synchronized="false"
  5299. static="true" final="false" visibility="public"
  5300. deprecated="not deprecated">
  5301. <param name="suite" type="org.apache.hadoop.crypto.CipherSuite"/>
  5302. <param name="version" type="org.apache.hadoop.crypto.CryptoProtocolVersion"/>
  5303. <param name="keyName" type="java.lang.String"/>
  5304. </method>
  5305. <method name="convert" return="org.apache.hadoop.fs.FileEncryptionInfo"
  5306. abstract="false" native="false" synchronized="false"
  5307. static="true" final="false" visibility="public"
  5308. deprecated="not deprecated">
  5309. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.FileEncryptionInfoProto"/>
  5310. </method>
  5311. <method name="convert" return="org.apache.hadoop.fs.FileEncryptionInfo"
  5312. abstract="false" native="false" synchronized="false"
  5313. static="true" final="false" visibility="public"
  5314. deprecated="not deprecated">
  5315. <param name="fileProto" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.PerFileEncryptionInfoProto"/>
  5316. <param name="suite" type="org.apache.hadoop.crypto.CipherSuite"/>
  5317. <param name="version" type="org.apache.hadoop.crypto.CryptoProtocolVersion"/>
  5318. <param name="keyName" type="java.lang.String"/>
  5319. </method>
  5320. <doc>
  5321. <![CDATA[Utilities for converting protobuf classes to and from implementation classes
  5322. and other helper utilities to help in dealing with protobuf.
  5323. Note that when converting from an internal type to protobuf type, the
  5324. converter never return null for protobuf type. The check for internal type
  5325. being null must be done before calling the convert() method.]]>
  5326. </doc>
  5327. </class>
  5328. <!-- end class org.apache.hadoop.hdfs.protocolPB.PBHelper -->
  5329. </package>
  5330. <package name="org.apache.hadoop.hdfs.qjournal.client">
  5331. </package>
  5332. <package name="org.apache.hadoop.hdfs.qjournal.protocol">
  5333. </package>
  5334. <package name="org.apache.hadoop.hdfs.qjournal.protocolPB">
  5335. </package>
  5336. <package name="org.apache.hadoop.hdfs.qjournal.server">
  5337. <!-- start class org.apache.hadoop.hdfs.qjournal.server.Journal -->
  5338. <class name="Journal" extends="java.lang.Object"
  5339. abstract="false"
  5340. static="false" final="false" visibility="public"
  5341. deprecated="not deprecated">
  5342. <implements name="java.io.Closeable"/>
  5343. <method name="close"
  5344. abstract="false" native="false" synchronized="false"
  5345. static="false" final="false" visibility="public"
  5346. deprecated="not deprecated">
  5347. <exception name="IOException" type="java.io.IOException"/>
  5348. <doc>
  5349. <![CDATA[Unlock and release resources.]]>
  5350. </doc>
  5351. </method>
  5352. <method name="getLastWriterEpoch" return="long"
  5353. abstract="false" native="false" synchronized="true"
  5354. static="false" final="false" visibility="public"
  5355. deprecated="not deprecated">
  5356. <exception name="IOException" type="java.io.IOException"/>
  5357. </method>
  5358. <method name="heartbeat"
  5359. abstract="false" native="false" synchronized="false"
  5360. static="false" final="false" visibility="public"
  5361. deprecated="not deprecated">
  5362. <param name="reqInfo" type="org.apache.hadoop.hdfs.qjournal.protocol.RequestInfo"/>
  5363. <exception name="IOException" type="java.io.IOException"/>
  5364. </method>
  5365. <method name="isFormatted" return="boolean"
  5366. abstract="false" native="false" synchronized="true"
  5367. static="false" final="false" visibility="public"
  5368. deprecated="not deprecated">
  5369. </method>
  5370. <method name="startLogSegment"
  5371. abstract="false" native="false" synchronized="true"
  5372. static="false" final="false" visibility="public"
  5373. deprecated="not deprecated">
  5374. <param name="reqInfo" type="org.apache.hadoop.hdfs.qjournal.protocol.RequestInfo"/>
  5375. <param name="txid" type="long"/>
  5376. <param name="layoutVersion" type="int"/>
  5377. <exception name="IOException" type="java.io.IOException"/>
  5378. <doc>
  5379. <![CDATA[Start a new segment at the given txid. The previous segment
  5380. must have already been finalized.]]>
  5381. </doc>
  5382. </method>
  5383. <method name="finalizeLogSegment"
  5384. abstract="false" native="false" synchronized="true"
  5385. static="false" final="false" visibility="public"
  5386. deprecated="not deprecated">
  5387. <param name="reqInfo" type="org.apache.hadoop.hdfs.qjournal.protocol.RequestInfo"/>
  5388. <param name="startTxId" type="long"/>
  5389. <param name="endTxId" type="long"/>
  5390. <exception name="IOException" type="java.io.IOException"/>
  5391. <doc>
  5392. <![CDATA[Finalize the log segment at the given transaction ID.]]>
  5393. </doc>
  5394. </method>
  5395. <method name="purgeLogsOlderThan"
  5396. abstract="false" native="false" synchronized="true"
  5397. static="false" final="false" visibility="public"
  5398. deprecated="not deprecated">
  5399. <param name="reqInfo" type="org.apache.hadoop.hdfs.qjournal.protocol.RequestInfo"/>
  5400. <param name="minTxIdToKeep" type="long"/>
  5401. <exception name="IOException" type="java.io.IOException"/>
  5402. <doc>
  5403. <![CDATA[@see JournalManager#purgeLogsOlderThan(long)]]>
  5404. </doc>
  5405. </method>
  5406. <method name="getEditLogManifest" return="org.apache.hadoop.hdfs.server.protocol.RemoteEditLogManifest"
  5407. abstract="false" native="false" synchronized="false"
  5408. static="false" final="false" visibility="public"
  5409. deprecated="not deprecated">
  5410. <param name="sinceTxId" type="long"/>
  5411. <param name="inProgressOk" type="boolean"/>
  5412. <exception name="IOException" type="java.io.IOException"/>
  5413. <doc>
  5414. <![CDATA[@see QJournalProtocol#getEditLogManifest(String, long, boolean)]]>
  5415. </doc>
  5416. </method>
  5417. <method name="prepareRecovery" return="org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.PrepareRecoveryResponseProto"
  5418. abstract="false" native="false" synchronized="true"
  5419. static="false" final="false" visibility="public"
  5420. deprecated="not deprecated">
  5421. <param name="reqInfo" type="org.apache.hadoop.hdfs.qjournal.protocol.RequestInfo"/>
  5422. <param name="segmentTxId" type="long"/>
  5423. <exception name="IOException" type="java.io.IOException"/>
  5424. <doc>
  5425. <![CDATA[@see QJournalProtocol#prepareRecovery(RequestInfo, long)]]>
  5426. </doc>
  5427. </method>
  5428. <method name="acceptRecovery"
  5429. abstract="false" native="false" synchronized="true"
  5430. static="false" final="false" visibility="public"
  5431. deprecated="not deprecated">
  5432. <param name="reqInfo" type="org.apache.hadoop.hdfs.qjournal.protocol.RequestInfo"/>
  5433. <param name="segment" type="org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.SegmentStateProto"/>
  5434. <param name="fromUrl" type="java.net.URL"/>
  5435. <exception name="IOException" type="java.io.IOException"/>
  5436. <doc>
  5437. <![CDATA[@see QJournalProtocol#acceptRecovery(RequestInfo, QJournalProtocolProtos.SegmentStateProto, URL)]]>
  5438. </doc>
  5439. </method>
  5440. <method name="doPreUpgrade"
  5441. abstract="false" native="false" synchronized="true"
  5442. static="false" final="false" visibility="public"
  5443. deprecated="not deprecated">
  5444. <exception name="IOException" type="java.io.IOException"/>
  5445. </method>
  5446. <method name="doUpgrade"
  5447. abstract="false" native="false" synchronized="true"
  5448. static="false" final="false" visibility="public"
  5449. deprecated="not deprecated">
  5450. <param name="sInfo" type="org.apache.hadoop.hdfs.server.common.StorageInfo"/>
  5451. <exception name="IOException" type="java.io.IOException"/>
  5452. </method>
  5453. <method name="doFinalize"
  5454. abstract="false" native="false" synchronized="true"
  5455. static="false" final="false" visibility="public"
  5456. deprecated="not deprecated">
  5457. <exception name="IOException" type="java.io.IOException"/>
  5458. </method>
  5459. <method name="canRollBack" return="java.lang.Boolean"
  5460. abstract="false" native="false" synchronized="false"
  5461. static="false" final="false" visibility="public"
  5462. deprecated="not deprecated">
  5463. <param name="storage" type="org.apache.hadoop.hdfs.server.common.StorageInfo"/>
  5464. <param name="prevStorage" type="org.apache.hadoop.hdfs.server.common.StorageInfo"/>
  5465. <param name="targetLayoutVersion" type="int"/>
  5466. <exception name="IOException" type="java.io.IOException"/>
  5467. </method>
  5468. <method name="doRollback"
  5469. abstract="false" native="false" synchronized="true"
  5470. static="false" final="false" visibility="public"
  5471. deprecated="not deprecated">
  5472. <exception name="IOException" type="java.io.IOException"/>
  5473. </method>
  5474. <method name="getJournalCTime" return="java.lang.Long"
  5475. abstract="false" native="false" synchronized="false"
  5476. static="false" final="false" visibility="public"
  5477. deprecated="not deprecated">
  5478. <exception name="IOException" type="java.io.IOException"/>
  5479. </method>
  5480. <field name="LAST_PROMISED_FILENAME" type="java.lang.String"
  5481. transient="false" volatile="false"
  5482. static="true" final="true" visibility="public"
  5483. deprecated="not deprecated">
  5484. </field>
  5485. <field name="LAST_WRITER_EPOCH" type="java.lang.String"
  5486. transient="false" volatile="false"
  5487. static="true" final="true" visibility="public"
  5488. deprecated="not deprecated">
  5489. </field>
  5490. <doc>
  5491. <![CDATA[A JournalNode can manage journals for several clusters at once.
  5492. Each such journal is entirely independent despite being hosted by
  5493. the same JVM.]]>
  5494. </doc>
  5495. </class>
  5496. <!-- end class org.apache.hadoop.hdfs.qjournal.server.Journal -->
  5497. <!-- start interface org.apache.hadoop.hdfs.qjournal.server.JournalNodeMXBean -->
  5498. <interface name="JournalNodeMXBean" abstract="true"
  5499. static="false" final="false" visibility="public"
  5500. deprecated="not deprecated">
  5501. <method name="getJournalsStatus" return="java.lang.String"
  5502. abstract="false" native="false" synchronized="false"
  5503. static="false" final="false" visibility="public"
  5504. deprecated="not deprecated">
  5505. <doc>
  5506. <![CDATA[Get status information (e.g., whether formatted) of JournalNode's journals.
  5507. @return A string presenting status for each journal]]>
  5508. </doc>
  5509. </method>
  5510. <doc>
  5511. <![CDATA[This is the JMX management interface for JournalNode information]]>
  5512. </doc>
  5513. </interface>
  5514. <!-- end interface org.apache.hadoop.hdfs.qjournal.server.JournalNodeMXBean -->
  5515. </package>
  5516. <package name="org.apache.hadoop.hdfs.security.token.block">
  5517. <!-- start class org.apache.hadoop.hdfs.security.token.block.BlockPoolTokenSecretManager -->
  5518. <class name="BlockPoolTokenSecretManager" extends="org.apache.hadoop.security.token.SecretManager"
  5519. abstract="false"
  5520. static="false" final="false" visibility="public"
  5521. deprecated="not deprecated">
  5522. <constructor name="BlockPoolTokenSecretManager"
  5523. static="false" final="false" visibility="public"
  5524. deprecated="not deprecated">
  5525. </constructor>
  5526. <method name="addBlockPool"
  5527. abstract="false" native="false" synchronized="true"
  5528. static="false" final="false" visibility="public"
  5529. deprecated="not deprecated">
  5530. <param name="bpid" type="java.lang.String"/>
  5531. <param name="secretMgr" type="org.apache.hadoop.hdfs.security.token.block.BlockTokenSecretManager"/>
  5532. <doc>
  5533. <![CDATA[Add a block pool Id and corresponding {@link BlockTokenSecretManager} to map
  5534. @param bpid block pool Id
  5535. @param secretMgr {@link BlockTokenSecretManager}]]>
  5536. </doc>
  5537. </method>
  5538. <method name="isBlockPoolRegistered" return="boolean"
  5539. abstract="false" native="false" synchronized="true"
  5540. static="false" final="false" visibility="public"
  5541. deprecated="not deprecated">
  5542. <param name="bpid" type="java.lang.String"/>
  5543. </method>
  5544. <method name="createIdentifier" return="org.apache.hadoop.hdfs.security.token.block.BlockTokenIdentifier"
  5545. abstract="false" native="false" synchronized="false"
  5546. static="false" final="false" visibility="public"
  5547. deprecated="not deprecated">
  5548. <doc>
  5549. <![CDATA[Return an empty BlockTokenIdentifer]]>
  5550. </doc>
  5551. </method>
  5552. <method name="createPassword" return="byte[]"
  5553. abstract="false" native="false" synchronized="false"
  5554. static="false" final="false" visibility="public"
  5555. deprecated="not deprecated">
  5556. <param name="identifier" type="org.apache.hadoop.hdfs.security.token.block.BlockTokenIdentifier"/>
  5557. </method>
  5558. <method name="retrievePassword" return="byte[]"
  5559. abstract="false" native="false" synchronized="false"
  5560. static="false" final="false" visibility="public"
  5561. deprecated="not deprecated">
  5562. <param name="identifier" type="org.apache.hadoop.hdfs.security.token.block.BlockTokenIdentifier"/>
  5563. <exception name="SecretManager.InvalidToken" type="org.apache.hadoop.security.token.SecretManager.InvalidToken"/>
  5564. </method>
  5565. <method name="checkAccess"
  5566. abstract="false" native="false" synchronized="false"
  5567. static="false" final="false" visibility="public"
  5568. deprecated="not deprecated">
  5569. <param name="id" type="org.apache.hadoop.hdfs.security.token.block.BlockTokenIdentifier"/>
  5570. <param name="userId" type="java.lang.String"/>
  5571. <param name="block" type="org.apache.hadoop.hdfs.protocol.ExtendedBlock"/>
  5572. <param name="mode" type="org.apache.hadoop.hdfs.security.token.block.BlockTokenSecretManager.AccessMode"/>
  5573. <exception name="SecretManager.InvalidToken" type="org.apache.hadoop.security.token.SecretManager.InvalidToken"/>
  5574. <doc>
  5575. <![CDATA[See {@link BlockTokenSecretManager#checkAccess(BlockTokenIdentifier,
  5576. String, ExtendedBlock, AccessMode)}]]>
  5577. </doc>
  5578. </method>
  5579. <method name="checkAccess"
  5580. abstract="false" native="false" synchronized="false"
  5581. static="false" final="false" visibility="public"
  5582. deprecated="not deprecated">
  5583. <param name="token" type="org.apache.hadoop.security.token.Token"/>
  5584. <param name="userId" type="java.lang.String"/>
  5585. <param name="block" type="org.apache.hadoop.hdfs.protocol.ExtendedBlock"/>
  5586. <param name="mode" type="org.apache.hadoop.hdfs.security.token.block.BlockTokenSecretManager.AccessMode"/>
  5587. <exception name="SecretManager.InvalidToken" type="org.apache.hadoop.security.token.SecretManager.InvalidToken"/>
  5588. <doc>
  5589. <![CDATA[See {@link BlockTokenSecretManager#checkAccess(Token, String,
  5590. ExtendedBlock, AccessMode)}]]>
  5591. </doc>
  5592. </method>
  5593. <method name="addKeys"
  5594. abstract="false" native="false" synchronized="false"
  5595. static="false" final="false" visibility="public"
  5596. deprecated="not deprecated">
  5597. <param name="bpid" type="java.lang.String"/>
  5598. <param name="exportedKeys" type="org.apache.hadoop.hdfs.security.token.block.ExportedBlockKeys"/>
  5599. <exception name="IOException" type="java.io.IOException"/>
  5600. <doc>
  5601. <![CDATA[See {@link BlockTokenSecretManager#addKeys(ExportedBlockKeys)}]]>
  5602. </doc>
  5603. </method>
  5604. <method name="generateToken" return="org.apache.hadoop.security.token.Token"
  5605. abstract="false" native="false" synchronized="false"
  5606. static="false" final="false" visibility="public"
  5607. deprecated="not deprecated">
  5608. <param name="b" type="org.apache.hadoop.hdfs.protocol.ExtendedBlock"/>
  5609. <param name="of" type="java.util.EnumSet"/>
  5610. <exception name="IOException" type="java.io.IOException"/>
  5611. <doc>
  5612. <![CDATA[See {@link BlockTokenSecretManager#generateToken(ExtendedBlock, EnumSet)}]]>
  5613. </doc>
  5614. </method>
  5615. <method name="clearAllKeysForTesting"
  5616. abstract="false" native="false" synchronized="false"
  5617. static="false" final="false" visibility="public"
  5618. deprecated="not deprecated">
  5619. </method>
  5620. <method name="generateDataEncryptionKey" return="org.apache.hadoop.hdfs.security.token.block.DataEncryptionKey"
  5621. abstract="false" native="false" synchronized="false"
  5622. static="false" final="false" visibility="public"
  5623. deprecated="not deprecated">
  5624. <param name="blockPoolId" type="java.lang.String"/>
  5625. </method>
  5626. <method name="retrieveDataEncryptionKey" return="byte[]"
  5627. abstract="false" native="false" synchronized="false"
  5628. static="false" final="false" visibility="public"
  5629. deprecated="not deprecated">
  5630. <param name="keyId" type="int"/>
  5631. <param name="blockPoolId" type="java.lang.String"/>
  5632. <param name="nonce" type="byte[]"/>
  5633. <exception name="IOException" type="java.io.IOException"/>
  5634. </method>
  5635. <doc>
  5636. <![CDATA[Manages a {@link BlockTokenSecretManager} per block pool. Routes the requests
  5637. given a block pool Id to corresponding {@link BlockTokenSecretManager}]]>
  5638. </doc>
  5639. </class>
  5640. <!-- end class org.apache.hadoop.hdfs.security.token.block.BlockPoolTokenSecretManager -->
  5641. <!-- start class org.apache.hadoop.hdfs.security.token.block.BlockTokenSecretManager.AccessMode -->
  5642. <class name="BlockTokenSecretManager.AccessMode" extends="java.lang.Enum"
  5643. abstract="false"
  5644. static="true" final="true" visibility="public"
  5645. deprecated="not deprecated">
  5646. <method name="values" return="org.apache.hadoop.hdfs.security.token.block.BlockTokenSecretManager.AccessMode[]"
  5647. abstract="false" native="false" synchronized="false"
  5648. static="true" final="false" visibility="public"
  5649. deprecated="not deprecated">
  5650. </method>
  5651. <method name="valueOf" return="org.apache.hadoop.hdfs.security.token.block.BlockTokenSecretManager.AccessMode"
  5652. abstract="false" native="false" synchronized="false"
  5653. static="true" final="false" visibility="public"
  5654. deprecated="not deprecated">
  5655. <param name="name" type="java.lang.String"/>
  5656. </method>
  5657. </class>
  5658. <!-- end class org.apache.hadoop.hdfs.security.token.block.BlockTokenSecretManager.AccessMode -->
  5659. </package>
  5660. <package name="org.apache.hadoop.hdfs.security.token.delegation">
  5661. <!-- start class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenIdentifier.SWebHdfsDelegationTokenIdentifier -->
  5662. <class name="DelegationTokenIdentifier.SWebHdfsDelegationTokenIdentifier" extends="org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenIdentifier.WebHdfsDelegationTokenIdentifier"
  5663. abstract="false"
  5664. static="true" final="false" visibility="public"
  5665. deprecated="not deprecated">
  5666. <constructor name="DelegationTokenIdentifier.SWebHdfsDelegationTokenIdentifier"
  5667. static="false" final="false" visibility="public"
  5668. deprecated="not deprecated">
  5669. </constructor>
  5670. <method name="getKind" return="org.apache.hadoop.io.Text"
  5671. abstract="false" native="false" synchronized="false"
  5672. static="false" final="false" visibility="public"
  5673. deprecated="not deprecated">
  5674. </method>
  5675. </class>
  5676. <!-- end class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenIdentifier.SWebHdfsDelegationTokenIdentifier -->
  5677. <!-- start class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenIdentifier.WebHdfsDelegationTokenIdentifier -->
  5678. <class name="DelegationTokenIdentifier.WebHdfsDelegationTokenIdentifier" extends="org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenIdentifier"
  5679. abstract="false"
  5680. static="true" final="false" visibility="public"
  5681. deprecated="not deprecated">
  5682. <constructor name="DelegationTokenIdentifier.WebHdfsDelegationTokenIdentifier"
  5683. static="false" final="false" visibility="public"
  5684. deprecated="not deprecated">
  5685. </constructor>
  5686. <method name="getKind" return="org.apache.hadoop.io.Text"
  5687. abstract="false" native="false" synchronized="false"
  5688. static="false" final="false" visibility="public"
  5689. deprecated="not deprecated">
  5690. </method>
  5691. </class>
  5692. <!-- end class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenIdentifier.WebHdfsDelegationTokenIdentifier -->
  5693. <!-- start class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager.SecretManagerState -->
  5694. <class name="DelegationTokenSecretManager.SecretManagerState" extends="java.lang.Object"
  5695. abstract="false"
  5696. static="true" final="false" visibility="public"
  5697. deprecated="not deprecated">
  5698. <constructor name="DelegationTokenSecretManager.SecretManagerState" type="org.apache.hadoop.hdfs.server.namenode.FsImageProto.SecretManagerSection, java.util.List, java.util.List"
  5699. static="false" final="false" visibility="public"
  5700. deprecated="not deprecated">
  5701. </constructor>
  5702. <field name="section" type="org.apache.hadoop.hdfs.server.namenode.FsImageProto.SecretManagerSection"
  5703. transient="false" volatile="false"
  5704. static="false" final="true" visibility="public"
  5705. deprecated="not deprecated">
  5706. </field>
  5707. <field name="keys" type="java.util.List"
  5708. transient="false" volatile="false"
  5709. static="false" final="true" visibility="public"
  5710. deprecated="not deprecated">
  5711. </field>
  5712. <field name="tokens" type="java.util.List"
  5713. transient="false" volatile="false"
  5714. static="false" final="true" visibility="public"
  5715. deprecated="not deprecated">
  5716. </field>
  5717. </class>
  5718. <!-- end class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager.SecretManagerState -->
  5719. </package>
  5720. <package name="org.apache.hadoop.hdfs.server.balancer">
  5721. <!-- start class org.apache.hadoop.hdfs.server.balancer.Dispatcher.DBlock -->
  5722. <class name="Dispatcher.DBlock" extends="org.apache.hadoop.hdfs.server.balancer.MovedBlocks.Locations"
  5723. abstract="false"
  5724. static="true" final="false" visibility="public"
  5725. deprecated="not deprecated">
  5726. <constructor name="Dispatcher.DBlock" type="org.apache.hadoop.hdfs.protocol.Block"
  5727. static="false" final="false" visibility="public"
  5728. deprecated="not deprecated">
  5729. </constructor>
  5730. <method name="isLocatedOn" return="boolean"
  5731. abstract="false" native="false" synchronized="true"
  5732. static="false" final="false" visibility="public"
  5733. deprecated="not deprecated">
  5734. <param name="loc" type="org.apache.hadoop.hdfs.server.balancer.Dispatcher.DDatanode.StorageGroup"/>
  5735. </method>
  5736. <doc>
  5737. <![CDATA[A class for keeping track of block locations in the dispatcher.]]>
  5738. </doc>
  5739. </class>
  5740. <!-- end class org.apache.hadoop.hdfs.server.balancer.Dispatcher.DBlock -->
  5741. <!-- start class org.apache.hadoop.hdfs.server.balancer.Dispatcher.DDatanode -->
  5742. <class name="Dispatcher.DDatanode" extends="java.lang.Object"
  5743. abstract="false"
  5744. static="true" final="false" visibility="public"
  5745. deprecated="not deprecated">
  5746. <method name="toString" return="java.lang.String"
  5747. abstract="false" native="false" synchronized="false"
  5748. static="false" final="false" visibility="public"
  5749. deprecated="not deprecated">
  5750. </method>
  5751. <method name="getDatanodeInfo" return="org.apache.hadoop.hdfs.protocol.DatanodeInfo"
  5752. abstract="false" native="false" synchronized="false"
  5753. static="false" final="false" visibility="public"
  5754. deprecated="not deprecated">
  5755. </method>
  5756. <method name="addTarget" return="org.apache.hadoop.hdfs.server.balancer.Dispatcher.DDatanode.StorageGroup"
  5757. abstract="false" native="false" synchronized="false"
  5758. static="false" final="false" visibility="public"
  5759. deprecated="not deprecated">
  5760. <param name="storageType" type="org.apache.hadoop.hdfs.StorageType"/>
  5761. <param name="maxSize2Move" type="long"/>
  5762. </method>
  5763. <method name="addSource" return="org.apache.hadoop.hdfs.server.balancer.Dispatcher.Source"
  5764. abstract="false" native="false" synchronized="false"
  5765. static="false" final="false" visibility="public"
  5766. deprecated="not deprecated">
  5767. <param name="storageType" type="org.apache.hadoop.hdfs.StorageType"/>
  5768. <param name="maxSize2Move" type="long"/>
  5769. <param name="d" type="org.apache.hadoop.hdfs.server.balancer.Dispatcher"/>
  5770. </method>
  5771. <field name="delayUntil" type="long"
  5772. transient="false" volatile="false"
  5773. static="false" final="false" visibility="protected"
  5774. deprecated="not deprecated">
  5775. </field>
  5776. <doc>
  5777. <![CDATA[A class that keeps track of a datanode.]]>
  5778. </doc>
  5779. </class>
  5780. <!-- end class org.apache.hadoop.hdfs.server.balancer.Dispatcher.DDatanode -->
  5781. <!-- start class org.apache.hadoop.hdfs.server.balancer.Dispatcher.DDatanode.StorageGroup -->
  5782. <class name="Dispatcher.DDatanode.StorageGroup" extends="java.lang.Object"
  5783. abstract="false"
  5784. static="false" final="false" visibility="public"
  5785. deprecated="not deprecated">
  5786. <method name="getStorageType" return="org.apache.hadoop.hdfs.StorageType"
  5787. abstract="false" native="false" synchronized="false"
  5788. static="false" final="false" visibility="public"
  5789. deprecated="not deprecated">
  5790. </method>
  5791. <method name="getDatanodeInfo" return="org.apache.hadoop.hdfs.protocol.DatanodeInfo"
  5792. abstract="false" native="false" synchronized="false"
  5793. static="false" final="false" visibility="public"
  5794. deprecated="not deprecated">
  5795. </method>
  5796. <method name="incScheduledSize"
  5797. abstract="false" native="false" synchronized="true"
  5798. static="false" final="false" visibility="public"
  5799. deprecated="not deprecated">
  5800. <param name="size" type="long"/>
  5801. <doc>
  5802. <![CDATA[increment scheduled size]]>
  5803. </doc>
  5804. </method>
  5805. <method name="toString" return="java.lang.String"
  5806. abstract="false" native="false" synchronized="false"
  5807. static="false" final="false" visibility="public"
  5808. deprecated="not deprecated">
  5809. </method>
  5810. <doc>
  5811. <![CDATA[A group of storages in a datanode with the same storage type.]]>
  5812. </doc>
  5813. </class>
  5814. <!-- end class org.apache.hadoop.hdfs.server.balancer.Dispatcher.DDatanode.StorageGroup -->
  5815. <!-- start class org.apache.hadoop.hdfs.server.balancer.Dispatcher.PendingMove -->
  5816. <class name="Dispatcher.PendingMove" extends="java.lang.Object"
  5817. abstract="false"
  5818. static="false" final="false" visibility="public"
  5819. deprecated="not deprecated">
  5820. <method name="toString" return="java.lang.String"
  5821. abstract="false" native="false" synchronized="false"
  5822. static="false" final="false" visibility="public"
  5823. deprecated="not deprecated">
  5824. </method>
  5825. <doc>
  5826. <![CDATA[This class keeps track of a scheduled block move]]>
  5827. </doc>
  5828. </class>
  5829. <!-- end class org.apache.hadoop.hdfs.server.balancer.Dispatcher.PendingMove -->
  5830. <!-- start class org.apache.hadoop.hdfs.server.balancer.Dispatcher.Source -->
  5831. <class name="Dispatcher.Source" extends="org.apache.hadoop.hdfs.server.balancer.Dispatcher.DDatanode.StorageGroup"
  5832. abstract="false"
  5833. static="false" final="false" visibility="public"
  5834. deprecated="not deprecated">
  5835. <method name="addPendingMove" return="org.apache.hadoop.hdfs.server.balancer.Dispatcher.PendingMove"
  5836. abstract="false" native="false" synchronized="false"
  5837. static="false" final="false" visibility="public"
  5838. deprecated="not deprecated">
  5839. <param name="block" type="org.apache.hadoop.hdfs.server.balancer.Dispatcher.DBlock"/>
  5840. <param name="target" type="org.apache.hadoop.hdfs.server.balancer.Dispatcher.DDatanode.StorageGroup"/>
  5841. <doc>
  5842. <![CDATA[Add a pending move]]>
  5843. </doc>
  5844. </method>
  5845. <doc>
  5846. <![CDATA[A node that can be the sources of a block move]]>
  5847. </doc>
  5848. </class>
  5849. <!-- end class org.apache.hadoop.hdfs.server.balancer.Dispatcher.Source -->
  5850. <!-- start class org.apache.hadoop.hdfs.server.balancer.Dispatcher.StorageGroupMap -->
  5851. <class name="Dispatcher.StorageGroupMap" extends="java.lang.Object"
  5852. abstract="false"
  5853. static="true" final="false" visibility="public"
  5854. deprecated="not deprecated">
  5855. <constructor name="Dispatcher.StorageGroupMap"
  5856. static="false" final="false" visibility="public"
  5857. deprecated="not deprecated">
  5858. </constructor>
  5859. <method name="get" return="G"
  5860. abstract="false" native="false" synchronized="false"
  5861. static="false" final="false" visibility="public"
  5862. deprecated="not deprecated">
  5863. <param name="datanodeUuid" type="java.lang.String"/>
  5864. <param name="storageType" type="org.apache.hadoop.hdfs.StorageType"/>
  5865. </method>
  5866. <method name="put"
  5867. abstract="false" native="false" synchronized="false"
  5868. static="false" final="false" visibility="public"
  5869. deprecated="not deprecated">
  5870. <param name="g" type="G"/>
  5871. </method>
  5872. <method name="values" return="java.util.Collection"
  5873. abstract="false" native="false" synchronized="false"
  5874. static="false" final="false" visibility="public"
  5875. deprecated="not deprecated">
  5876. </method>
  5877. </class>
  5878. <!-- end class org.apache.hadoop.hdfs.server.balancer.Dispatcher.StorageGroupMap -->
  5879. <!-- start class org.apache.hadoop.hdfs.server.balancer.ExitStatus -->
  5880. <class name="ExitStatus" extends="java.lang.Enum"
  5881. abstract="false"
  5882. static="false" final="true" visibility="public"
  5883. deprecated="not deprecated">
  5884. <method name="values" return="org.apache.hadoop.hdfs.server.balancer.ExitStatus[]"
  5885. abstract="false" native="false" synchronized="false"
  5886. static="true" final="false" visibility="public"
  5887. deprecated="not deprecated">
  5888. </method>
  5889. <method name="valueOf" return="org.apache.hadoop.hdfs.server.balancer.ExitStatus"
  5890. abstract="false" native="false" synchronized="false"
  5891. static="true" final="false" visibility="public"
  5892. deprecated="not deprecated">
  5893. <param name="name" type="java.lang.String"/>
  5894. </method>
  5895. <method name="getExitCode" return="int"
  5896. abstract="false" native="false" synchronized="false"
  5897. static="false" final="false" visibility="public"
  5898. deprecated="not deprecated">
  5899. <doc>
  5900. <![CDATA[@return the command line exit code.]]>
  5901. </doc>
  5902. </method>
  5903. <doc>
  5904. <![CDATA[Exit status - The values associated with each exit status is directly mapped
  5905. to the process's exit code in command line.]]>
  5906. </doc>
  5907. </class>
  5908. <!-- end class org.apache.hadoop.hdfs.server.balancer.ExitStatus -->
  5909. <!-- start interface org.apache.hadoop.hdfs.server.balancer.Matcher -->
  5910. <interface name="Matcher" abstract="true"
  5911. static="false" final="false" visibility="public"
  5912. deprecated="not deprecated">
  5913. <method name="match" return="boolean"
  5914. abstract="false" native="false" synchronized="false"
  5915. static="false" final="false" visibility="public"
  5916. deprecated="not deprecated">
  5917. <param name="cluster" type="org.apache.hadoop.net.NetworkTopology"/>
  5918. <param name="left" type="org.apache.hadoop.net.Node"/>
  5919. <param name="right" type="org.apache.hadoop.net.Node"/>
  5920. <doc>
  5921. <![CDATA[Given the cluster topology, does the left node match the right node?]]>
  5922. </doc>
  5923. </method>
  5924. <field name="SAME_NODE_GROUP" type="org.apache.hadoop.hdfs.server.balancer.Matcher"
  5925. transient="false" volatile="false"
  5926. static="true" final="true" visibility="public"
  5927. deprecated="not deprecated">
  5928. <doc>
  5929. <![CDATA[Match datanodes in the same node group.]]>
  5930. </doc>
  5931. </field>
  5932. <field name="SAME_RACK" type="org.apache.hadoop.hdfs.server.balancer.Matcher"
  5933. transient="false" volatile="false"
  5934. static="true" final="true" visibility="public"
  5935. deprecated="not deprecated">
  5936. <doc>
  5937. <![CDATA[Match datanodes in the same rack.]]>
  5938. </doc>
  5939. </field>
  5940. <field name="ANY_OTHER" type="org.apache.hadoop.hdfs.server.balancer.Matcher"
  5941. transient="false" volatile="false"
  5942. static="true" final="true" visibility="public"
  5943. deprecated="not deprecated">
  5944. <doc>
  5945. <![CDATA[Match any datanode with any other datanode.]]>
  5946. </doc>
  5947. </field>
  5948. <doc>
  5949. <![CDATA[A matcher interface for matching nodes.]]>
  5950. </doc>
  5951. </interface>
  5952. <!-- end interface org.apache.hadoop.hdfs.server.balancer.Matcher -->
  5953. <!-- start class org.apache.hadoop.hdfs.server.balancer.MovedBlocks -->
  5954. <class name="MovedBlocks" extends="java.lang.Object"
  5955. abstract="false"
  5956. static="false" final="false" visibility="public"
  5957. deprecated="not deprecated">
  5958. <constructor name="MovedBlocks" type="long"
  5959. static="false" final="false" visibility="public"
  5960. deprecated="not deprecated">
  5961. <doc>
  5962. <![CDATA[initialize the moved blocks collection]]>
  5963. </doc>
  5964. </constructor>
  5965. <method name="put"
  5966. abstract="false" native="false" synchronized="true"
  5967. static="false" final="false" visibility="public"
  5968. deprecated="not deprecated">
  5969. <param name="block" type="org.apache.hadoop.hdfs.server.balancer.MovedBlocks.Locations"/>
  5970. <doc>
  5971. <![CDATA[add a block thus marking a block to be moved]]>
  5972. </doc>
  5973. </method>
  5974. <method name="contains" return="boolean"
  5975. abstract="false" native="false" synchronized="true"
  5976. static="false" final="false" visibility="public"
  5977. deprecated="not deprecated">
  5978. <param name="block" type="org.apache.hadoop.hdfs.protocol.Block"/>
  5979. <doc>
  5980. <![CDATA[@return if a block is marked as moved]]>
  5981. </doc>
  5982. </method>
  5983. <method name="cleanup"
  5984. abstract="false" native="false" synchronized="true"
  5985. static="false" final="false" visibility="public"
  5986. deprecated="not deprecated">
  5987. <doc>
  5988. <![CDATA[remove old blocks]]>
  5989. </doc>
  5990. </method>
  5991. <doc>
  5992. <![CDATA[This window makes sure to keep blocks that have been moved within a fixed
  5993. time interval (default is 1.5 hour). Old window has blocks that are older;
  5994. Current window has blocks that are more recent; Cleanup method triggers the
  5995. check if blocks in the old window are more than the fixed time interval. If
  5996. yes, purge the old window and then move blocks in current window to old
  5997. window.
  5998. @param <L> Location type]]>
  5999. </doc>
  6000. </class>
  6001. <!-- end class org.apache.hadoop.hdfs.server.balancer.MovedBlocks -->
  6002. <!-- start class org.apache.hadoop.hdfs.server.balancer.MovedBlocks.Locations -->
  6003. <class name="MovedBlocks.Locations" extends="java.lang.Object"
  6004. abstract="false"
  6005. static="true" final="false" visibility="public"
  6006. deprecated="not deprecated">
  6007. <constructor name="MovedBlocks.Locations" type="org.apache.hadoop.hdfs.protocol.Block"
  6008. static="false" final="false" visibility="public"
  6009. deprecated="not deprecated">
  6010. </constructor>
  6011. <method name="clearLocations"
  6012. abstract="false" native="false" synchronized="true"
  6013. static="false" final="false" visibility="public"
  6014. deprecated="not deprecated">
  6015. <doc>
  6016. <![CDATA[clean block locations]]>
  6017. </doc>
  6018. </method>
  6019. <method name="addLocation"
  6020. abstract="false" native="false" synchronized="true"
  6021. static="false" final="false" visibility="public"
  6022. deprecated="not deprecated">
  6023. <param name="loc" type="L"/>
  6024. <doc>
  6025. <![CDATA[add a location]]>
  6026. </doc>
  6027. </method>
  6028. <method name="isLocatedOn" return="boolean"
  6029. abstract="false" native="false" synchronized="true"
  6030. static="false" final="false" visibility="public"
  6031. deprecated="not deprecated">
  6032. <param name="loc" type="L"/>
  6033. <doc>
  6034. <![CDATA[@return if the block is located on the given location.]]>
  6035. </doc>
  6036. </method>
  6037. <method name="getLocations" return="java.util.List"
  6038. abstract="false" native="false" synchronized="true"
  6039. static="false" final="false" visibility="public"
  6040. deprecated="not deprecated">
  6041. <doc>
  6042. <![CDATA[@return its locations]]>
  6043. </doc>
  6044. </method>
  6045. <method name="getBlock" return="org.apache.hadoop.hdfs.protocol.Block"
  6046. abstract="false" native="false" synchronized="false"
  6047. static="false" final="false" visibility="public"
  6048. deprecated="not deprecated">
  6049. </method>
  6050. <method name="getNumBytes" return="long"
  6051. abstract="false" native="false" synchronized="false"
  6052. static="false" final="false" visibility="public"
  6053. deprecated="not deprecated">
  6054. </method>
  6055. <field name="locations" type="java.util.List"
  6056. transient="false" volatile="false"
  6057. static="false" final="true" visibility="protected"
  6058. deprecated="not deprecated">
  6059. <doc>
  6060. <![CDATA[The locations of the replicas of the block.]]>
  6061. </doc>
  6062. </field>
  6063. <doc>
  6064. <![CDATA[A class for keeping track of a block and its locations]]>
  6065. </doc>
  6066. </class>
  6067. <!-- end class org.apache.hadoop.hdfs.server.balancer.MovedBlocks.Locations -->
  6068. </package>
  6069. <package name="org.apache.hadoop.hdfs.server.blockmanagement">
  6070. <!-- start class org.apache.hadoop.hdfs.server.blockmanagement.BlockInfoUnderConstruction -->
  6071. <class name="BlockInfoUnderConstruction" extends="org.apache.hadoop.hdfs.server.blockmanagement.BlockInfo"
  6072. abstract="false"
  6073. static="false" final="false" visibility="public"
  6074. deprecated="not deprecated">
  6075. <constructor name="BlockInfoUnderConstruction" type="org.apache.hadoop.hdfs.protocol.Block, int"
  6076. static="false" final="false" visibility="public"
  6077. deprecated="not deprecated">
  6078. <doc>
  6079. <![CDATA[Create block and set its state to
  6080. {@link BlockUCState#UNDER_CONSTRUCTION}.]]>
  6081. </doc>
  6082. </constructor>
  6083. <constructor name="BlockInfoUnderConstruction" type="org.apache.hadoop.hdfs.protocol.Block, int, org.apache.hadoop.hdfs.server.common.HdfsServerConstants.BlockUCState, org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStorageInfo[]"
  6084. static="false" final="false" visibility="public"
  6085. deprecated="not deprecated">
  6086. <doc>
  6087. <![CDATA[Create a block that is currently being constructed.]]>
  6088. </doc>
  6089. </constructor>
  6090. <method name="setExpectedLocations"
  6091. abstract="false" native="false" synchronized="false"
  6092. static="false" final="false" visibility="public"
  6093. deprecated="not deprecated">
  6094. <param name="targets" type="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStorageInfo[]"/>
  6095. <doc>
  6096. <![CDATA[Set expected locations]]>
  6097. </doc>
  6098. </method>
  6099. <method name="getExpectedStorageLocations" return="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStorageInfo[]"
  6100. abstract="false" native="false" synchronized="false"
  6101. static="false" final="false" visibility="public"
  6102. deprecated="not deprecated">
  6103. <doc>
  6104. <![CDATA[Create array of expected replica locations
  6105. (as has been assigned by chooseTargets()).]]>
  6106. </doc>
  6107. </method>
  6108. <method name="getNumExpectedLocations" return="int"
  6109. abstract="false" native="false" synchronized="false"
  6110. static="false" final="false" visibility="public"
  6111. deprecated="not deprecated">
  6112. <doc>
  6113. <![CDATA[Get the number of expected locations]]>
  6114. </doc>
  6115. </method>
  6116. <method name="getBlockUCState" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.BlockUCState"
  6117. abstract="false" native="false" synchronized="false"
  6118. static="false" final="false" visibility="public"
  6119. deprecated="not deprecated">
  6120. <doc>
  6121. <![CDATA[Return the state of the block under construction.
  6122. @see BlockUCState]]>
  6123. </doc>
  6124. </method>
  6125. <method name="getBlockRecoveryId" return="long"
  6126. abstract="false" native="false" synchronized="false"
  6127. static="false" final="false" visibility="public"
  6128. deprecated="not deprecated">
  6129. <doc>
  6130. <![CDATA[Get block recovery ID]]>
  6131. </doc>
  6132. </method>
  6133. <method name="setGenerationStampAndVerifyReplicas"
  6134. abstract="false" native="false" synchronized="false"
  6135. static="false" final="false" visibility="public"
  6136. deprecated="not deprecated">
  6137. <param name="genStamp" type="long"/>
  6138. <doc>
  6139. <![CDATA[Process the recorded replicas. When about to commit or finish the
  6140. pipeline recovery sort out bad replicas.
  6141. @param genStamp The final generation stamp for the block.]]>
  6142. </doc>
  6143. </method>
  6144. <method name="initializeBlockRecovery"
  6145. abstract="false" native="false" synchronized="false"
  6146. static="false" final="false" visibility="public"
  6147. deprecated="not deprecated">
  6148. <param name="recoveryId" type="long"/>
  6149. <doc>
  6150. <![CDATA[Initialize lease recovery for this block.
  6151. Find the first alive data-node starting from the previous primary and
  6152. make it primary.]]>
  6153. </doc>
  6154. </method>
  6155. <method name="hashCode" return="int"
  6156. abstract="false" native="false" synchronized="false"
  6157. static="false" final="false" visibility="public"
  6158. deprecated="not deprecated">
  6159. </method>
  6160. <method name="equals" return="boolean"
  6161. abstract="false" native="false" synchronized="false"
  6162. static="false" final="false" visibility="public"
  6163. deprecated="not deprecated">
  6164. <param name="obj" type="java.lang.Object"/>
  6165. </method>
  6166. <method name="toString" return="java.lang.String"
  6167. abstract="false" native="false" synchronized="false"
  6168. static="false" final="false" visibility="public"
  6169. deprecated="not deprecated">
  6170. </method>
  6171. <method name="appendStringTo"
  6172. abstract="false" native="false" synchronized="false"
  6173. static="false" final="false" visibility="public"
  6174. deprecated="not deprecated">
  6175. <param name="sb" type="java.lang.StringBuilder"/>
  6176. </method>
  6177. <doc>
  6178. <![CDATA[Represents a block that is currently being constructed.<br>
  6179. This is usually the last block of a file opened for write or append.]]>
  6180. </doc>
  6181. </class>
  6182. <!-- end class org.apache.hadoop.hdfs.server.blockmanagement.BlockInfoUnderConstruction -->
  6183. <!-- start class org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyWithNodeGroup -->
  6184. <class name="BlockPlacementPolicyWithNodeGroup" extends="org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault"
  6185. abstract="false"
  6186. static="false" final="false" visibility="public"
  6187. deprecated="not deprecated">
  6188. <constructor name="BlockPlacementPolicyWithNodeGroup" type="org.apache.hadoop.conf.Configuration, org.apache.hadoop.hdfs.server.namenode.FSClusterStats, org.apache.hadoop.net.NetworkTopology, org.apache.hadoop.hdfs.server.blockmanagement.DatanodeManager"
  6189. static="false" final="false" visibility="protected"
  6190. deprecated="not deprecated">
  6191. </constructor>
  6192. <constructor name="BlockPlacementPolicyWithNodeGroup"
  6193. static="false" final="false" visibility="protected"
  6194. deprecated="not deprecated">
  6195. </constructor>
  6196. <method name="initialize"
  6197. abstract="false" native="false" synchronized="false"
  6198. static="false" final="false" visibility="public"
  6199. deprecated="not deprecated">
  6200. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  6201. <param name="stats" type="org.apache.hadoop.hdfs.server.namenode.FSClusterStats"/>
  6202. <param name="clusterMap" type="org.apache.hadoop.net.NetworkTopology"/>
  6203. <param name="host2datanodeMap" type="org.apache.hadoop.hdfs.server.blockmanagement.Host2NodesMap"/>
  6204. </method>
  6205. <method name="chooseLocalStorage" return="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStorageInfo"
  6206. abstract="false" native="false" synchronized="false"
  6207. static="false" final="false" visibility="protected"
  6208. deprecated="not deprecated">
  6209. <param name="localMachine" type="org.apache.hadoop.net.Node"/>
  6210. <param name="excludedNodes" type="java.util.Set"/>
  6211. <param name="blocksize" type="long"/>
  6212. <param name="maxNodesPerRack" type="int"/>
  6213. <param name="results" type="java.util.List"/>
  6214. <param name="avoidStaleNodes" type="boolean"/>
  6215. <param name="storageTypes" type="java.util.EnumMap"/>
  6216. <param name="fallbackToLocalRack" type="boolean"/>
  6217. <exception name="BlockPlacementPolicy.NotEnoughReplicasException" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy.NotEnoughReplicasException"/>
  6218. <doc>
  6219. <![CDATA[choose local node of localMachine as the target.
  6220. if localMachine is not available, choose a node on the same nodegroup or
  6221. rack instead.
  6222. @return the chosen node]]>
  6223. </doc>
  6224. </method>
  6225. <method name="chooseLocalRack" return="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStorageInfo"
  6226. abstract="false" native="false" synchronized="false"
  6227. static="false" final="false" visibility="protected"
  6228. deprecated="not deprecated">
  6229. <param name="localMachine" type="org.apache.hadoop.net.Node"/>
  6230. <param name="excludedNodes" type="java.util.Set"/>
  6231. <param name="blocksize" type="long"/>
  6232. <param name="maxNodesPerRack" type="int"/>
  6233. <param name="results" type="java.util.List"/>
  6234. <param name="avoidStaleNodes" type="boolean"/>
  6235. <param name="storageTypes" type="java.util.EnumMap"/>
  6236. <exception name="BlockPlacementPolicy.NotEnoughReplicasException" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy.NotEnoughReplicasException"/>
  6237. </method>
  6238. <method name="chooseRemoteRack"
  6239. abstract="false" native="false" synchronized="false"
  6240. static="false" final="false" visibility="protected"
  6241. deprecated="not deprecated">
  6242. <param name="numOfReplicas" type="int"/>
  6243. <param name="localMachine" type="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor"/>
  6244. <param name="excludedNodes" type="java.util.Set"/>
  6245. <param name="blocksize" type="long"/>
  6246. <param name="maxReplicasPerRack" type="int"/>
  6247. <param name="results" type="java.util.List"/>
  6248. <param name="avoidStaleNodes" type="boolean"/>
  6249. <param name="storageTypes" type="java.util.EnumMap"/>
  6250. <exception name="BlockPlacementPolicy.NotEnoughReplicasException" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy.NotEnoughReplicasException"/>
  6251. <doc>
  6252. <![CDATA[{@inheritDoc}]]>
  6253. </doc>
  6254. </method>
  6255. <method name="getRack" return="java.lang.String"
  6256. abstract="false" native="false" synchronized="false"
  6257. static="false" final="false" visibility="protected"
  6258. deprecated="not deprecated">
  6259. <param name="cur" type="org.apache.hadoop.hdfs.protocol.DatanodeInfo"/>
  6260. </method>
  6261. <method name="addToExcludedNodes" return="int"
  6262. abstract="false" native="false" synchronized="false"
  6263. static="false" final="false" visibility="protected"
  6264. deprecated="not deprecated">
  6265. <param name="chosenNode" type="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor"/>
  6266. <param name="excludedNodes" type="java.util.Set"/>
  6267. <doc>
  6268. <![CDATA[Find other nodes in the same nodegroup of <i>localMachine</i> and add them
  6269. into <i>excludeNodes</i> as replica should not be duplicated for nodes
  6270. within the same nodegroup
  6271. @return number of new excluded nodes]]>
  6272. </doc>
  6273. </method>
  6274. <method name="pickupReplicaSet" return="java.util.Collection"
  6275. abstract="false" native="false" synchronized="false"
  6276. static="false" final="false" visibility="public"
  6277. deprecated="not deprecated">
  6278. <param name="first" type="java.util.Collection"/>
  6279. <param name="second" type="java.util.Collection"/>
  6280. <doc>
  6281. <![CDATA[Pick up replica node set for deleting replica as over-replicated.
  6282. First set contains replica nodes on rack with more than one
  6283. replica while second set contains remaining replica nodes.
  6284. If first is not empty, divide first set into two subsets:
  6285. moreThanOne contains nodes on nodegroup with more than one replica
  6286. exactlyOne contains the remaining nodes in first set
  6287. then pickup priSet if not empty.
  6288. If first is empty, then pick second.]]>
  6289. </doc>
  6290. </method>
  6291. <doc>
  6292. <![CDATA[The class is responsible for choosing the desired number of targets
  6293. for placing block replicas on environment with node-group layer.
  6294. The replica placement strategy is adjusted to:
  6295. If the writer is on a datanode, the 1st replica is placed on the local
  6296. node (or local node-group), otherwise a random datanode.
  6297. The 2nd replica is placed on a datanode that is on a different rack with 1st
  6298. replica node.
  6299. The 3rd replica is placed on a datanode which is on a different node-group
  6300. but the same rack as the second replica node.]]>
  6301. </doc>
  6302. </class>
  6303. <!-- end class org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyWithNodeGroup -->
  6304. <!-- start class org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementStatusDefault -->
  6305. <class name="BlockPlacementStatusDefault" extends="java.lang.Object"
  6306. abstract="false"
  6307. static="false" final="false" visibility="public"
  6308. deprecated="not deprecated">
  6309. <implements name="org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementStatus"/>
  6310. <constructor name="BlockPlacementStatusDefault" type="int, int"
  6311. static="false" final="false" visibility="public"
  6312. deprecated="not deprecated">
  6313. </constructor>
  6314. <method name="isPlacementPolicySatisfied" return="boolean"
  6315. abstract="false" native="false" synchronized="false"
  6316. static="false" final="false" visibility="public"
  6317. deprecated="not deprecated">
  6318. </method>
  6319. <method name="getErrorDescription" return="java.lang.String"
  6320. abstract="false" native="false" synchronized="false"
  6321. static="false" final="false" visibility="public"
  6322. deprecated="not deprecated">
  6323. </method>
  6324. </class>
  6325. <!-- end class org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementStatusDefault -->
  6326. <!-- start class org.apache.hadoop.hdfs.server.blockmanagement.BlockStoragePolicySuite -->
  6327. <class name="BlockStoragePolicySuite" extends="java.lang.Object"
  6328. abstract="false"
  6329. static="false" final="false" visibility="public"
  6330. deprecated="not deprecated">
  6331. <constructor name="BlockStoragePolicySuite" type="byte, org.apache.hadoop.hdfs.protocol.BlockStoragePolicy[]"
  6332. static="false" final="false" visibility="public"
  6333. deprecated="not deprecated">
  6334. </constructor>
  6335. <method name="createDefaultSuite" return="org.apache.hadoop.hdfs.server.blockmanagement.BlockStoragePolicySuite"
  6336. abstract="false" native="false" synchronized="false"
  6337. static="true" final="false" visibility="public"
  6338. deprecated="not deprecated">
  6339. </method>
  6340. <method name="getPolicy" return="org.apache.hadoop.hdfs.protocol.BlockStoragePolicy"
  6341. abstract="false" native="false" synchronized="false"
  6342. static="false" final="false" visibility="public"
  6343. deprecated="not deprecated">
  6344. <param name="id" type="byte"/>
  6345. <doc>
  6346. <![CDATA[@return the corresponding policy.]]>
  6347. </doc>
  6348. </method>
  6349. <method name="getDefaultPolicy" return="org.apache.hadoop.hdfs.protocol.BlockStoragePolicy"
  6350. abstract="false" native="false" synchronized="false"
  6351. static="false" final="false" visibility="public"
  6352. deprecated="not deprecated">
  6353. <doc>
  6354. <![CDATA[@return the default policy.]]>
  6355. </doc>
  6356. </method>
  6357. <method name="getPolicy" return="org.apache.hadoop.hdfs.protocol.BlockStoragePolicy"
  6358. abstract="false" native="false" synchronized="false"
  6359. static="false" final="false" visibility="public"
  6360. deprecated="not deprecated">
  6361. <param name="policyName" type="java.lang.String"/>
  6362. </method>
  6363. <method name="getAllPolicies" return="org.apache.hadoop.hdfs.protocol.BlockStoragePolicy[]"
  6364. abstract="false" native="false" synchronized="false"
  6365. static="false" final="false" visibility="public"
  6366. deprecated="not deprecated">
  6367. </method>
  6368. <method name="buildXAttrName" return="java.lang.String"
  6369. abstract="false" native="false" synchronized="false"
  6370. static="true" final="false" visibility="public"
  6371. deprecated="not deprecated">
  6372. </method>
  6373. <method name="buildXAttr" return="org.apache.hadoop.fs.XAttr"
  6374. abstract="false" native="false" synchronized="false"
  6375. static="true" final="false" visibility="public"
  6376. deprecated="not deprecated">
  6377. <param name="policyId" type="byte"/>
  6378. </method>
  6379. <method name="isStoragePolicyXAttr" return="boolean"
  6380. abstract="false" native="false" synchronized="false"
  6381. static="true" final="false" visibility="public"
  6382. deprecated="not deprecated">
  6383. <param name="xattr" type="org.apache.hadoop.fs.XAttr"/>
  6384. </method>
  6385. <field name="STORAGE_POLICY_XATTR_NAME" type="java.lang.String"
  6386. transient="false" volatile="false"
  6387. static="true" final="true" visibility="public"
  6388. deprecated="not deprecated">
  6389. </field>
  6390. <field name="XAttrNS" type="org.apache.hadoop.fs.XAttr.NameSpace"
  6391. transient="false" volatile="false"
  6392. static="true" final="true" visibility="public"
  6393. deprecated="not deprecated">
  6394. </field>
  6395. <field name="ID_BIT_LENGTH" type="int"
  6396. transient="false" volatile="false"
  6397. static="true" final="true" visibility="public"
  6398. deprecated="not deprecated">
  6399. </field>
  6400. <field name="ID_UNSPECIFIED" type="byte"
  6401. transient="false" volatile="false"
  6402. static="true" final="true" visibility="public"
  6403. deprecated="not deprecated">
  6404. </field>
  6405. <doc>
  6406. <![CDATA[A collection of block storage policies.]]>
  6407. </doc>
  6408. </class>
  6409. <!-- end class org.apache.hadoop.hdfs.server.blockmanagement.BlockStoragePolicySuite -->
  6410. <!-- start class org.apache.hadoop.hdfs.server.blockmanagement.CorruptReplicasMap.Reason -->
  6411. <class name="CorruptReplicasMap.Reason" extends="java.lang.Enum"
  6412. abstract="false"
  6413. static="true" final="true" visibility="public"
  6414. deprecated="not deprecated">
  6415. <method name="values" return="org.apache.hadoop.hdfs.server.blockmanagement.CorruptReplicasMap.Reason[]"
  6416. abstract="false" native="false" synchronized="false"
  6417. static="true" final="false" visibility="public"
  6418. deprecated="not deprecated">
  6419. </method>
  6420. <method name="valueOf" return="org.apache.hadoop.hdfs.server.blockmanagement.CorruptReplicasMap.Reason"
  6421. abstract="false" native="false" synchronized="false"
  6422. static="true" final="false" visibility="public"
  6423. deprecated="not deprecated">
  6424. <param name="name" type="java.lang.String"/>
  6425. </method>
  6426. <doc>
  6427. <![CDATA[The corruption reason code]]>
  6428. </doc>
  6429. </class>
  6430. <!-- end class org.apache.hadoop.hdfs.server.blockmanagement.CorruptReplicasMap.Reason -->
  6431. <!-- start class org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor.CachedBlocksList -->
  6432. <class name="DatanodeDescriptor.CachedBlocksList" extends="org.apache.hadoop.util.IntrusiveCollection"
  6433. abstract="false"
  6434. static="true" final="false" visibility="public"
  6435. deprecated="not deprecated">
  6436. <method name="getDatanode" return="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor"
  6437. abstract="false" native="false" synchronized="false"
  6438. static="false" final="false" visibility="public"
  6439. deprecated="not deprecated">
  6440. </method>
  6441. <method name="getType" return="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor.CachedBlocksList.Type"
  6442. abstract="false" native="false" synchronized="false"
  6443. static="false" final="false" visibility="public"
  6444. deprecated="not deprecated">
  6445. </method>
  6446. <doc>
  6447. <![CDATA[A list of CachedBlock objects on this datanode.]]>
  6448. </doc>
  6449. </class>
  6450. <!-- end class org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor.CachedBlocksList -->
  6451. <!-- start class org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor.CachedBlocksList.Type -->
  6452. <class name="DatanodeDescriptor.CachedBlocksList.Type" extends="java.lang.Enum"
  6453. abstract="false"
  6454. static="true" final="true" visibility="public"
  6455. deprecated="not deprecated">
  6456. <method name="values" return="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor.CachedBlocksList.Type[]"
  6457. abstract="false" native="false" synchronized="false"
  6458. static="true" final="false" visibility="public"
  6459. deprecated="not deprecated">
  6460. </method>
  6461. <method name="valueOf" return="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor.CachedBlocksList.Type"
  6462. abstract="false" native="false" synchronized="false"
  6463. static="true" final="false" visibility="public"
  6464. deprecated="not deprecated">
  6465. <param name="name" type="java.lang.String"/>
  6466. </method>
  6467. </class>
  6468. <!-- end class org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor.CachedBlocksList.Type -->
  6469. <!-- start class org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor.DecommissioningStatus -->
  6470. <class name="DatanodeDescriptor.DecommissioningStatus" extends="java.lang.Object"
  6471. abstract="false"
  6472. static="false" final="false" visibility="public"
  6473. deprecated="not deprecated">
  6474. <constructor name="DatanodeDescriptor.DecommissioningStatus"
  6475. static="false" final="false" visibility="public"
  6476. deprecated="not deprecated">
  6477. </constructor>
  6478. <method name="getUnderReplicatedBlocks" return="int"
  6479. abstract="false" native="false" synchronized="true"
  6480. static="false" final="false" visibility="public"
  6481. deprecated="not deprecated">
  6482. <doc>
  6483. <![CDATA[@return the number of under-replicated blocks]]>
  6484. </doc>
  6485. </method>
  6486. <method name="getDecommissionOnlyReplicas" return="int"
  6487. abstract="false" native="false" synchronized="true"
  6488. static="false" final="false" visibility="public"
  6489. deprecated="not deprecated">
  6490. <doc>
  6491. <![CDATA[@return the number of decommission-only replicas]]>
  6492. </doc>
  6493. </method>
  6494. <method name="getUnderReplicatedInOpenFiles" return="int"
  6495. abstract="false" native="false" synchronized="true"
  6496. static="false" final="false" visibility="public"
  6497. deprecated="not deprecated">
  6498. <doc>
  6499. <![CDATA[@return the number of under-replicated blocks in open files]]>
  6500. </doc>
  6501. </method>
  6502. <method name="setStartTime"
  6503. abstract="false" native="false" synchronized="true"
  6504. static="false" final="false" visibility="public"
  6505. deprecated="not deprecated">
  6506. <param name="time" type="long"/>
  6507. <doc>
  6508. <![CDATA[Set start time]]>
  6509. </doc>
  6510. </method>
  6511. <method name="getStartTime" return="long"
  6512. abstract="false" native="false" synchronized="true"
  6513. static="false" final="false" visibility="public"
  6514. deprecated="not deprecated">
  6515. <doc>
  6516. <![CDATA[@return start time]]>
  6517. </doc>
  6518. </method>
  6519. <doc>
  6520. <![CDATA[Decommissioning status]]>
  6521. </doc>
  6522. </class>
  6523. <!-- end class org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor.DecommissioningStatus -->
  6524. <!-- start interface org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStatistics -->
  6525. <interface name="DatanodeStatistics" abstract="true"
  6526. static="false" final="false" visibility="public"
  6527. deprecated="not deprecated">
  6528. <method name="getCapacityTotal" return="long"
  6529. abstract="false" native="false" synchronized="false"
  6530. static="false" final="false" visibility="public"
  6531. deprecated="not deprecated">
  6532. <doc>
  6533. <![CDATA[@return the total capacity]]>
  6534. </doc>
  6535. </method>
  6536. <method name="getCapacityUsed" return="long"
  6537. abstract="false" native="false" synchronized="false"
  6538. static="false" final="false" visibility="public"
  6539. deprecated="not deprecated">
  6540. <doc>
  6541. <![CDATA[@return the used capacity]]>
  6542. </doc>
  6543. </method>
  6544. <method name="getCapacityUsedPercent" return="float"
  6545. abstract="false" native="false" synchronized="false"
  6546. static="false" final="false" visibility="public"
  6547. deprecated="not deprecated">
  6548. <doc>
  6549. <![CDATA[@return the percentage of the used capacity over the total capacity.]]>
  6550. </doc>
  6551. </method>
  6552. <method name="getCapacityRemaining" return="long"
  6553. abstract="false" native="false" synchronized="false"
  6554. static="false" final="false" visibility="public"
  6555. deprecated="not deprecated">
  6556. <doc>
  6557. <![CDATA[@return the remaining capacity]]>
  6558. </doc>
  6559. </method>
  6560. <method name="getCapacityRemainingPercent" return="float"
  6561. abstract="false" native="false" synchronized="false"
  6562. static="false" final="false" visibility="public"
  6563. deprecated="not deprecated">
  6564. <doc>
  6565. <![CDATA[@return the percentage of the remaining capacity over the total capacity.]]>
  6566. </doc>
  6567. </method>
  6568. <method name="getBlockPoolUsed" return="long"
  6569. abstract="false" native="false" synchronized="false"
  6570. static="false" final="false" visibility="public"
  6571. deprecated="not deprecated">
  6572. <doc>
  6573. <![CDATA[@return the block pool used.]]>
  6574. </doc>
  6575. </method>
  6576. <method name="getPercentBlockPoolUsed" return="float"
  6577. abstract="false" native="false" synchronized="false"
  6578. static="false" final="false" visibility="public"
  6579. deprecated="not deprecated">
  6580. <doc>
  6581. <![CDATA[@return the percentage of the block pool used space over the total capacity.]]>
  6582. </doc>
  6583. </method>
  6584. <method name="getCacheCapacity" return="long"
  6585. abstract="false" native="false" synchronized="false"
  6586. static="false" final="false" visibility="public"
  6587. deprecated="not deprecated">
  6588. <doc>
  6589. <![CDATA[@return the total cache capacity of all DataNodes]]>
  6590. </doc>
  6591. </method>
  6592. <method name="getCacheUsed" return="long"
  6593. abstract="false" native="false" synchronized="false"
  6594. static="false" final="false" visibility="public"
  6595. deprecated="not deprecated">
  6596. <doc>
  6597. <![CDATA[@return the total cache used by all DataNodes]]>
  6598. </doc>
  6599. </method>
  6600. <method name="getXceiverCount" return="int"
  6601. abstract="false" native="false" synchronized="false"
  6602. static="false" final="false" visibility="public"
  6603. deprecated="not deprecated">
  6604. <doc>
  6605. <![CDATA[@return the xceiver count]]>
  6606. </doc>
  6607. </method>
  6608. <method name="getInServiceXceiverCount" return="int"
  6609. abstract="false" native="false" synchronized="false"
  6610. static="false" final="false" visibility="public"
  6611. deprecated="not deprecated">
  6612. <doc>
  6613. <![CDATA[@return average xceiver count for non-decommission(ing|ed) nodes]]>
  6614. </doc>
  6615. </method>
  6616. <method name="getNumDatanodesInService" return="int"
  6617. abstract="false" native="false" synchronized="false"
  6618. static="false" final="false" visibility="public"
  6619. deprecated="not deprecated">
  6620. <doc>
  6621. <![CDATA[@return number of non-decommission(ing|ed) nodes]]>
  6622. </doc>
  6623. </method>
  6624. <method name="getCapacityUsedNonDFS" return="long"
  6625. abstract="false" native="false" synchronized="false"
  6626. static="false" final="false" visibility="public"
  6627. deprecated="not deprecated">
  6628. <doc>
  6629. <![CDATA[@return the total used space by data nodes for non-DFS purposes
  6630. such as storing temporary files on the local file system]]>
  6631. </doc>
  6632. </method>
  6633. <method name="getStats" return="long[]"
  6634. abstract="false" native="false" synchronized="false"
  6635. static="false" final="false" visibility="public"
  6636. deprecated="not deprecated">
  6637. <doc>
  6638. <![CDATA[The same as {@link ClientProtocol#getStats()}.
  6639. The block related entries are set to -1.]]>
  6640. </doc>
  6641. </method>
  6642. <method name="getExpiredHeartbeats" return="int"
  6643. abstract="false" native="false" synchronized="false"
  6644. static="false" final="false" visibility="public"
  6645. deprecated="not deprecated">
  6646. <doc>
  6647. <![CDATA[@return the expired heartbeats]]>
  6648. </doc>
  6649. </method>
  6650. <doc>
  6651. <![CDATA[Datanode statistics]]>
  6652. </doc>
  6653. </interface>
  6654. <!-- end interface org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStatistics -->
  6655. <!-- start class org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStorageInfo -->
  6656. <class name="DatanodeStorageInfo" extends="java.lang.Object"
  6657. abstract="false"
  6658. static="false" final="false" visibility="public"
  6659. deprecated="not deprecated">
  6660. <method name="toDatanodeInfos" return="org.apache.hadoop.hdfs.protocol.DatanodeInfo[]"
  6661. abstract="false" native="false" synchronized="false"
  6662. static="true" final="false" visibility="public"
  6663. deprecated="not deprecated">
  6664. <param name="storages" type="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStorageInfo[]"/>
  6665. </method>
  6666. <method name="toStorageIDs" return="java.lang.String[]"
  6667. abstract="false" native="false" synchronized="false"
  6668. static="true" final="false" visibility="public"
  6669. deprecated="not deprecated">
  6670. <param name="storages" type="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStorageInfo[]"/>
  6671. </method>
  6672. <method name="toStorageTypes" return="org.apache.hadoop.hdfs.StorageType[]"
  6673. abstract="false" native="false" synchronized="false"
  6674. static="true" final="false" visibility="public"
  6675. deprecated="not deprecated">
  6676. <param name="storages" type="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStorageInfo[]"/>
  6677. </method>
  6678. <method name="updateFromStorage"
  6679. abstract="false" native="false" synchronized="false"
  6680. static="false" final="false" visibility="public"
  6681. deprecated="not deprecated">
  6682. <param name="storage" type="org.apache.hadoop.hdfs.server.protocol.DatanodeStorage"/>
  6683. </method>
  6684. <method name="setUtilizationForTesting"
  6685. abstract="false" native="false" synchronized="false"
  6686. static="false" final="false" visibility="public"
  6687. deprecated="not deprecated">
  6688. <param name="capacity" type="long"/>
  6689. <param name="dfsUsed" type="long"/>
  6690. <param name="remaining" type="long"/>
  6691. <param name="blockPoolUsed" type="long"/>
  6692. </method>
  6693. <method name="addBlock" return="boolean"
  6694. abstract="false" native="false" synchronized="false"
  6695. static="false" final="false" visibility="public"
  6696. deprecated="not deprecated">
  6697. <param name="b" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockInfo"/>
  6698. </method>
  6699. <method name="getDatanodeDescriptor" return="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor"
  6700. abstract="false" native="false" synchronized="false"
  6701. static="false" final="false" visibility="public"
  6702. deprecated="not deprecated">
  6703. </method>
  6704. <method name="incrementBlocksScheduled"
  6705. abstract="false" native="false" synchronized="false"
  6706. static="true" final="false" visibility="public"
  6707. deprecated="not deprecated">
  6708. <param name="storages" type="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStorageInfo[]"/>
  6709. <doc>
  6710. <![CDATA[Increment the number of blocks scheduled for each given storage]]>
  6711. </doc>
  6712. </method>
  6713. <method name="equals" return="boolean"
  6714. abstract="false" native="false" synchronized="false"
  6715. static="false" final="false" visibility="public"
  6716. deprecated="not deprecated">
  6717. <param name="obj" type="java.lang.Object"/>
  6718. </method>
  6719. <method name="hashCode" return="int"
  6720. abstract="false" native="false" synchronized="false"
  6721. static="false" final="false" visibility="public"
  6722. deprecated="not deprecated">
  6723. </method>
  6724. <method name="toString" return="java.lang.String"
  6725. abstract="false" native="false" synchronized="false"
  6726. static="false" final="false" visibility="public"
  6727. deprecated="not deprecated">
  6728. </method>
  6729. <field name="EMPTY_ARRAY" type="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStorageInfo[]"
  6730. transient="false" volatile="false"
  6731. static="true" final="true" visibility="public"
  6732. deprecated="not deprecated">
  6733. </field>
  6734. <doc>
  6735. <![CDATA[A Datanode has one or more storages. A storage in the Datanode is represented
  6736. by this class.]]>
  6737. </doc>
  6738. </class>
  6739. <!-- end class org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStorageInfo -->
  6740. <!-- start interface org.apache.hadoop.hdfs.server.blockmanagement.MutableBlockCollection -->
  6741. <interface name="MutableBlockCollection" abstract="true"
  6742. static="false" final="false" visibility="public"
  6743. deprecated="not deprecated">
  6744. <implements name="org.apache.hadoop.hdfs.server.blockmanagement.BlockCollection"/>
  6745. <method name="setBlock"
  6746. abstract="false" native="false" synchronized="false"
  6747. static="false" final="false" visibility="public"
  6748. deprecated="not deprecated">
  6749. <param name="index" type="int"/>
  6750. <param name="blk" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockInfo"/>
  6751. <doc>
  6752. <![CDATA[Set the block at the given index.]]>
  6753. </doc>
  6754. </method>
  6755. <method name="setLastBlock" return="org.apache.hadoop.hdfs.server.blockmanagement.BlockInfoUnderConstruction"
  6756. abstract="false" native="false" synchronized="false"
  6757. static="false" final="false" visibility="public"
  6758. deprecated="not deprecated">
  6759. <param name="lastBlock" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockInfo"/>
  6760. <param name="storages" type="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStorageInfo[]"/>
  6761. <exception name="IOException" type="java.io.IOException"/>
  6762. <doc>
  6763. <![CDATA[Convert the last block of the collection to an under-construction block
  6764. and set the locations.]]>
  6765. </doc>
  6766. </method>
  6767. <doc>
  6768. <![CDATA[This interface is used by the block manager to expose a
  6769. few characteristics of a collection of Block/BlockUnderConstruction.]]>
  6770. </doc>
  6771. </interface>
  6772. <!-- end interface org.apache.hadoop.hdfs.server.blockmanagement.MutableBlockCollection -->
  6773. <!-- start class org.apache.hadoop.hdfs.server.blockmanagement.NumberReplicas -->
  6774. <class name="NumberReplicas" extends="java.lang.Object"
  6775. abstract="false"
  6776. static="false" final="false" visibility="public"
  6777. deprecated="not deprecated">
  6778. <method name="liveReplicas" return="int"
  6779. abstract="false" native="false" synchronized="false"
  6780. static="false" final="false" visibility="public"
  6781. deprecated="not deprecated">
  6782. </method>
  6783. <method name="decommissionedReplicas" return="int"
  6784. abstract="false" native="false" synchronized="false"
  6785. static="false" final="false" visibility="public"
  6786. deprecated="not deprecated">
  6787. </method>
  6788. <method name="corruptReplicas" return="int"
  6789. abstract="false" native="false" synchronized="false"
  6790. static="false" final="false" visibility="public"
  6791. deprecated="not deprecated">
  6792. </method>
  6793. <method name="excessReplicas" return="int"
  6794. abstract="false" native="false" synchronized="false"
  6795. static="false" final="false" visibility="public"
  6796. deprecated="not deprecated">
  6797. </method>
  6798. <method name="replicasOnStaleNodes" return="int"
  6799. abstract="false" native="false" synchronized="false"
  6800. static="false" final="false" visibility="public"
  6801. deprecated="not deprecated">
  6802. <doc>
  6803. <![CDATA[@return the number of replicas which are on stale nodes.
  6804. This is not mutually exclusive with the other counts -- ie a
  6805. replica may count as both "live" and "stale".]]>
  6806. </doc>
  6807. </method>
  6808. <doc>
  6809. <![CDATA[A immutable object that stores the number of live replicas and
  6810. the number of decommissined Replicas.]]>
  6811. </doc>
  6812. </class>
  6813. <!-- end class org.apache.hadoop.hdfs.server.blockmanagement.NumberReplicas -->
  6814. <!-- start class org.apache.hadoop.hdfs.server.blockmanagement.UnresolvedTopologyException -->
  6815. <class name="UnresolvedTopologyException" extends="java.io.IOException"
  6816. abstract="false"
  6817. static="false" final="false" visibility="public"
  6818. deprecated="not deprecated">
  6819. <constructor name="UnresolvedTopologyException" type="java.lang.String"
  6820. static="false" final="false" visibility="public"
  6821. deprecated="not deprecated">
  6822. </constructor>
  6823. <doc>
  6824. <![CDATA[This exception is thrown if resolving topology path
  6825. for a node fails.]]>
  6826. </doc>
  6827. </class>
  6828. <!-- end class org.apache.hadoop.hdfs.server.blockmanagement.UnresolvedTopologyException -->
  6829. </package>
  6830. <package name="org.apache.hadoop.hdfs.server.common">
  6831. <!-- start class org.apache.hadoop.hdfs.server.common.HdfsServerConstants.BlockUCState -->
  6832. <class name="HdfsServerConstants.BlockUCState" extends="java.lang.Enum"
  6833. abstract="false"
  6834. static="true" final="true" visibility="public"
  6835. deprecated="not deprecated">
  6836. <method name="values" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.BlockUCState[]"
  6837. abstract="false" native="false" synchronized="false"
  6838. static="true" final="false" visibility="public"
  6839. deprecated="not deprecated">
  6840. </method>
  6841. <method name="valueOf" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.BlockUCState"
  6842. abstract="false" native="false" synchronized="false"
  6843. static="true" final="false" visibility="public"
  6844. deprecated="not deprecated">
  6845. <param name="name" type="java.lang.String"/>
  6846. </method>
  6847. <doc>
  6848. <![CDATA[States, which a block can go through while it is under construction.]]>
  6849. </doc>
  6850. </class>
  6851. <!-- end class org.apache.hadoop.hdfs.server.common.HdfsServerConstants.BlockUCState -->
  6852. <!-- start class org.apache.hadoop.hdfs.server.common.HdfsServerConstants.NamenodeRole -->
  6853. <class name="HdfsServerConstants.NamenodeRole" extends="java.lang.Enum"
  6854. abstract="false"
  6855. static="true" final="true" visibility="public"
  6856. deprecated="not deprecated">
  6857. <method name="values" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.NamenodeRole[]"
  6858. abstract="false" native="false" synchronized="false"
  6859. static="true" final="false" visibility="public"
  6860. deprecated="not deprecated">
  6861. </method>
  6862. <method name="valueOf" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.NamenodeRole"
  6863. abstract="false" native="false" synchronized="false"
  6864. static="true" final="false" visibility="public"
  6865. deprecated="not deprecated">
  6866. <param name="name" type="java.lang.String"/>
  6867. </method>
  6868. <method name="toString" return="java.lang.String"
  6869. abstract="false" native="false" synchronized="false"
  6870. static="false" final="false" visibility="public"
  6871. deprecated="not deprecated">
  6872. </method>
  6873. <doc>
  6874. <![CDATA[Defines the NameNode role.]]>
  6875. </doc>
  6876. </class>
  6877. <!-- end class org.apache.hadoop.hdfs.server.common.HdfsServerConstants.NamenodeRole -->
  6878. <!-- start class org.apache.hadoop.hdfs.server.common.HdfsServerConstants.NodeType -->
  6879. <class name="HdfsServerConstants.NodeType" extends="java.lang.Enum"
  6880. abstract="false"
  6881. static="true" final="true" visibility="public"
  6882. deprecated="not deprecated">
  6883. <method name="values" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.NodeType[]"
  6884. abstract="false" native="false" synchronized="false"
  6885. static="true" final="false" visibility="public"
  6886. deprecated="not deprecated">
  6887. </method>
  6888. <method name="valueOf" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.NodeType"
  6889. abstract="false" native="false" synchronized="false"
  6890. static="true" final="false" visibility="public"
  6891. deprecated="not deprecated">
  6892. <param name="name" type="java.lang.String"/>
  6893. </method>
  6894. <doc>
  6895. <![CDATA[Type of the node]]>
  6896. </doc>
  6897. </class>
  6898. <!-- end class org.apache.hadoop.hdfs.server.common.HdfsServerConstants.NodeType -->
  6899. <!-- start class org.apache.hadoop.hdfs.server.common.HdfsServerConstants.ReplicaState -->
  6900. <class name="HdfsServerConstants.ReplicaState" extends="java.lang.Enum"
  6901. abstract="false"
  6902. static="true" final="true" visibility="public"
  6903. deprecated="not deprecated">
  6904. <method name="values" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.ReplicaState[]"
  6905. abstract="false" native="false" synchronized="false"
  6906. static="true" final="false" visibility="public"
  6907. deprecated="not deprecated">
  6908. </method>
  6909. <method name="valueOf" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.ReplicaState"
  6910. abstract="false" native="false" synchronized="false"
  6911. static="true" final="false" visibility="public"
  6912. deprecated="not deprecated">
  6913. <param name="name" type="java.lang.String"/>
  6914. </method>
  6915. <method name="getValue" return="int"
  6916. abstract="false" native="false" synchronized="false"
  6917. static="false" final="false" visibility="public"
  6918. deprecated="not deprecated">
  6919. </method>
  6920. <method name="getState" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.ReplicaState"
  6921. abstract="false" native="false" synchronized="false"
  6922. static="true" final="false" visibility="public"
  6923. deprecated="not deprecated">
  6924. <param name="v" type="int"/>
  6925. </method>
  6926. <method name="read" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.ReplicaState"
  6927. abstract="false" native="false" synchronized="false"
  6928. static="true" final="false" visibility="public"
  6929. deprecated="not deprecated">
  6930. <param name="in" type="java.io.DataInput"/>
  6931. <exception name="IOException" type="java.io.IOException"/>
  6932. <doc>
  6933. <![CDATA[Read from in]]>
  6934. </doc>
  6935. </method>
  6936. <method name="write"
  6937. abstract="false" native="false" synchronized="false"
  6938. static="false" final="false" visibility="public"
  6939. deprecated="not deprecated">
  6940. <param name="out" type="java.io.DataOutput"/>
  6941. <exception name="IOException" type="java.io.IOException"/>
  6942. <doc>
  6943. <![CDATA[Write to out]]>
  6944. </doc>
  6945. </method>
  6946. <doc>
  6947. <![CDATA[Block replica states, which it can go through while being constructed.]]>
  6948. </doc>
  6949. </class>
  6950. <!-- end class org.apache.hadoop.hdfs.server.common.HdfsServerConstants.ReplicaState -->
  6951. <!-- start class org.apache.hadoop.hdfs.server.common.HdfsServerConstants.RollingUpgradeStartupOption -->
  6952. <class name="HdfsServerConstants.RollingUpgradeStartupOption" extends="java.lang.Enum"
  6953. abstract="false"
  6954. static="true" final="true" visibility="public"
  6955. deprecated="not deprecated">
  6956. <method name="values" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.RollingUpgradeStartupOption[]"
  6957. abstract="false" native="false" synchronized="false"
  6958. static="true" final="false" visibility="public"
  6959. deprecated="not deprecated">
  6960. </method>
  6961. <method name="valueOf" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.RollingUpgradeStartupOption"
  6962. abstract="false" native="false" synchronized="false"
  6963. static="true" final="false" visibility="public"
  6964. deprecated="not deprecated">
  6965. <param name="name" type="java.lang.String"/>
  6966. </method>
  6967. <method name="getOptionString" return="java.lang.String"
  6968. abstract="false" native="false" synchronized="false"
  6969. static="false" final="false" visibility="public"
  6970. deprecated="not deprecated">
  6971. </method>
  6972. <method name="matches" return="boolean"
  6973. abstract="false" native="false" synchronized="false"
  6974. static="false" final="false" visibility="public"
  6975. deprecated="not deprecated">
  6976. <param name="option" type="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.StartupOption"/>
  6977. </method>
  6978. <method name="getAllOptionString" return="java.lang.String"
  6979. abstract="false" native="false" synchronized="false"
  6980. static="true" final="false" visibility="public"
  6981. deprecated="not deprecated">
  6982. </method>
  6983. <doc>
  6984. <![CDATA[Startup options for rolling upgrade.]]>
  6985. </doc>
  6986. </class>
  6987. <!-- end class org.apache.hadoop.hdfs.server.common.HdfsServerConstants.RollingUpgradeStartupOption -->
  6988. <!-- start class org.apache.hadoop.hdfs.server.common.HdfsServerConstants.StartupOption -->
  6989. <class name="HdfsServerConstants.StartupOption" extends="java.lang.Enum"
  6990. abstract="false"
  6991. static="true" final="true" visibility="public"
  6992. deprecated="not deprecated">
  6993. <method name="values" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.StartupOption[]"
  6994. abstract="false" native="false" synchronized="false"
  6995. static="true" final="false" visibility="public"
  6996. deprecated="not deprecated">
  6997. </method>
  6998. <method name="valueOf" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.StartupOption"
  6999. abstract="false" native="false" synchronized="false"
  7000. static="true" final="false" visibility="public"
  7001. deprecated="not deprecated">
  7002. <param name="name" type="java.lang.String"/>
  7003. </method>
  7004. <method name="getName" return="java.lang.String"
  7005. abstract="false" native="false" synchronized="false"
  7006. static="false" final="false" visibility="public"
  7007. deprecated="not deprecated">
  7008. </method>
  7009. <method name="toNodeRole" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.NamenodeRole"
  7010. abstract="false" native="false" synchronized="false"
  7011. static="false" final="false" visibility="public"
  7012. deprecated="not deprecated">
  7013. </method>
  7014. <method name="setClusterId"
  7015. abstract="false" native="false" synchronized="false"
  7016. static="false" final="false" visibility="public"
  7017. deprecated="not deprecated">
  7018. <param name="cid" type="java.lang.String"/>
  7019. </method>
  7020. <method name="getClusterId" return="java.lang.String"
  7021. abstract="false" native="false" synchronized="false"
  7022. static="false" final="false" visibility="public"
  7023. deprecated="not deprecated">
  7024. </method>
  7025. <method name="setRollingUpgradeStartupOption"
  7026. abstract="false" native="false" synchronized="false"
  7027. static="false" final="false" visibility="public"
  7028. deprecated="not deprecated">
  7029. <param name="opt" type="java.lang.String"/>
  7030. </method>
  7031. <method name="getRollingUpgradeStartupOption" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.RollingUpgradeStartupOption"
  7032. abstract="false" native="false" synchronized="false"
  7033. static="false" final="false" visibility="public"
  7034. deprecated="not deprecated">
  7035. </method>
  7036. <method name="createRecoveryContext" return="org.apache.hadoop.hdfs.server.namenode.MetaRecoveryContext"
  7037. abstract="false" native="false" synchronized="false"
  7038. static="false" final="false" visibility="public"
  7039. deprecated="not deprecated">
  7040. </method>
  7041. <method name="setForce"
  7042. abstract="false" native="false" synchronized="false"
  7043. static="false" final="false" visibility="public"
  7044. deprecated="not deprecated">
  7045. <param name="force" type="int"/>
  7046. </method>
  7047. <method name="getForce" return="int"
  7048. abstract="false" native="false" synchronized="false"
  7049. static="false" final="false" visibility="public"
  7050. deprecated="not deprecated">
  7051. </method>
  7052. <method name="getForceFormat" return="boolean"
  7053. abstract="false" native="false" synchronized="false"
  7054. static="false" final="false" visibility="public"
  7055. deprecated="not deprecated">
  7056. </method>
  7057. <method name="setForceFormat"
  7058. abstract="false" native="false" synchronized="false"
  7059. static="false" final="false" visibility="public"
  7060. deprecated="not deprecated">
  7061. <param name="force" type="boolean"/>
  7062. </method>
  7063. <method name="getInteractiveFormat" return="boolean"
  7064. abstract="false" native="false" synchronized="false"
  7065. static="false" final="false" visibility="public"
  7066. deprecated="not deprecated">
  7067. </method>
  7068. <method name="setInteractiveFormat"
  7069. abstract="false" native="false" synchronized="false"
  7070. static="false" final="false" visibility="public"
  7071. deprecated="not deprecated">
  7072. <param name="interactive" type="boolean"/>
  7073. </method>
  7074. <method name="toString" return="java.lang.String"
  7075. abstract="false" native="false" synchronized="false"
  7076. static="false" final="false" visibility="public"
  7077. deprecated="not deprecated">
  7078. </method>
  7079. <method name="getEnum" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.StartupOption"
  7080. abstract="false" native="false" synchronized="false"
  7081. static="true" final="false" visibility="public"
  7082. deprecated="not deprecated">
  7083. <param name="value" type="java.lang.String"/>
  7084. </method>
  7085. <doc>
  7086. <![CDATA[Startup options]]>
  7087. </doc>
  7088. </class>
  7089. <!-- end class org.apache.hadoop.hdfs.server.common.HdfsServerConstants.StartupOption -->
  7090. <!-- start class org.apache.hadoop.hdfs.server.common.JspHelper.Url -->
  7091. <class name="JspHelper.Url" extends="java.lang.Object"
  7092. abstract="false"
  7093. static="true" final="true" visibility="public"
  7094. deprecated="not deprecated">
  7095. <constructor name="JspHelper.Url"
  7096. static="false" final="false" visibility="public"
  7097. deprecated="not deprecated">
  7098. </constructor>
  7099. <method name="authority" return="java.lang.String"
  7100. abstract="false" native="false" synchronized="false"
  7101. static="true" final="false" visibility="public"
  7102. deprecated="not deprecated">
  7103. <param name="scheme" type="java.lang.String"/>
  7104. <param name="d" type="org.apache.hadoop.hdfs.protocol.DatanodeID"/>
  7105. </method>
  7106. <method name="url" return="java.lang.String"
  7107. abstract="false" native="false" synchronized="false"
  7108. static="true" final="false" visibility="public"
  7109. deprecated="not deprecated">
  7110. <param name="scheme" type="java.lang.String"/>
  7111. <param name="d" type="org.apache.hadoop.hdfs.protocol.DatanodeID"/>
  7112. </method>
  7113. <doc>
  7114. <![CDATA[A helper class that generates the correct URL for different schema.]]>
  7115. </doc>
  7116. </class>
  7117. <!-- end class org.apache.hadoop.hdfs.server.common.JspHelper.Url -->
  7118. <!-- start class org.apache.hadoop.hdfs.server.common.Storage.StorageState -->
  7119. <class name="Storage.StorageState" extends="java.lang.Enum"
  7120. abstract="false"
  7121. static="true" final="true" visibility="public"
  7122. deprecated="not deprecated">
  7123. <method name="values" return="org.apache.hadoop.hdfs.server.common.Storage.StorageState[]"
  7124. abstract="false" native="false" synchronized="false"
  7125. static="true" final="false" visibility="public"
  7126. deprecated="not deprecated">
  7127. </method>
  7128. <method name="valueOf" return="org.apache.hadoop.hdfs.server.common.Storage.StorageState"
  7129. abstract="false" native="false" synchronized="false"
  7130. static="true" final="false" visibility="public"
  7131. deprecated="not deprecated">
  7132. <param name="name" type="java.lang.String"/>
  7133. </method>
  7134. </class>
  7135. <!-- end class org.apache.hadoop.hdfs.server.common.Storage.StorageState -->
  7136. </package>
  7137. <package name="org.apache.hadoop.hdfs.server.datanode">
  7138. <!-- start class org.apache.hadoop.hdfs.server.datanode.CachingStrategy -->
  7139. <class name="CachingStrategy" extends="java.lang.Object"
  7140. abstract="false"
  7141. static="false" final="false" visibility="public"
  7142. deprecated="not deprecated">
  7143. <constructor name="CachingStrategy" type="java.lang.Boolean, java.lang.Long"
  7144. static="false" final="false" visibility="public"
  7145. deprecated="not deprecated">
  7146. </constructor>
  7147. <method name="newDefaultStrategy" return="org.apache.hadoop.hdfs.server.datanode.CachingStrategy"
  7148. abstract="false" native="false" synchronized="false"
  7149. static="true" final="false" visibility="public"
  7150. deprecated="not deprecated">
  7151. </method>
  7152. <method name="newDropBehind" return="org.apache.hadoop.hdfs.server.datanode.CachingStrategy"
  7153. abstract="false" native="false" synchronized="false"
  7154. static="true" final="false" visibility="public"
  7155. deprecated="not deprecated">
  7156. </method>
  7157. <method name="getDropBehind" return="java.lang.Boolean"
  7158. abstract="false" native="false" synchronized="false"
  7159. static="false" final="false" visibility="public"
  7160. deprecated="not deprecated">
  7161. </method>
  7162. <method name="getReadahead" return="java.lang.Long"
  7163. abstract="false" native="false" synchronized="false"
  7164. static="false" final="false" visibility="public"
  7165. deprecated="not deprecated">
  7166. </method>
  7167. <method name="toString" return="java.lang.String"
  7168. abstract="false" native="false" synchronized="false"
  7169. static="false" final="false" visibility="public"
  7170. deprecated="not deprecated">
  7171. </method>
  7172. <doc>
  7173. <![CDATA[The caching strategy we should use for an HDFS read or write operation.]]>
  7174. </doc>
  7175. </class>
  7176. <!-- end class org.apache.hadoop.hdfs.server.datanode.CachingStrategy -->
  7177. <!-- start class org.apache.hadoop.hdfs.server.datanode.CachingStrategy.Builder -->
  7178. <class name="CachingStrategy.Builder" extends="java.lang.Object"
  7179. abstract="false"
  7180. static="true" final="false" visibility="public"
  7181. deprecated="not deprecated">
  7182. <constructor name="CachingStrategy.Builder" type="org.apache.hadoop.hdfs.server.datanode.CachingStrategy"
  7183. static="false" final="false" visibility="public"
  7184. deprecated="not deprecated">
  7185. </constructor>
  7186. <method name="setDropBehind" return="org.apache.hadoop.hdfs.server.datanode.CachingStrategy.Builder"
  7187. abstract="false" native="false" synchronized="false"
  7188. static="false" final="false" visibility="public"
  7189. deprecated="not deprecated">
  7190. <param name="dropBehind" type="java.lang.Boolean"/>
  7191. </method>
  7192. <method name="setReadahead" return="org.apache.hadoop.hdfs.server.datanode.CachingStrategy.Builder"
  7193. abstract="false" native="false" synchronized="false"
  7194. static="false" final="false" visibility="public"
  7195. deprecated="not deprecated">
  7196. <param name="readahead" type="java.lang.Long"/>
  7197. </method>
  7198. <method name="build" return="org.apache.hadoop.hdfs.server.datanode.CachingStrategy"
  7199. abstract="false" native="false" synchronized="false"
  7200. static="false" final="false" visibility="public"
  7201. deprecated="not deprecated">
  7202. </method>
  7203. </class>
  7204. <!-- end class org.apache.hadoop.hdfs.server.datanode.CachingStrategy.Builder -->
  7205. <!-- start class org.apache.hadoop.hdfs.server.datanode.DataNodeLayoutVersion.Feature -->
  7206. <class name="DataNodeLayoutVersion.Feature" extends="java.lang.Enum"
  7207. abstract="false"
  7208. static="true" final="true" visibility="public"
  7209. deprecated="not deprecated">
  7210. <implements name="org.apache.hadoop.hdfs.protocol.LayoutVersion.LayoutFeature"/>
  7211. <method name="values" return="org.apache.hadoop.hdfs.server.datanode.DataNodeLayoutVersion.Feature[]"
  7212. abstract="false" native="false" synchronized="false"
  7213. static="true" final="false" visibility="public"
  7214. deprecated="not deprecated">
  7215. </method>
  7216. <method name="valueOf" return="org.apache.hadoop.hdfs.server.datanode.DataNodeLayoutVersion.Feature"
  7217. abstract="false" native="false" synchronized="false"
  7218. static="true" final="false" visibility="public"
  7219. deprecated="not deprecated">
  7220. <param name="name" type="java.lang.String"/>
  7221. </method>
  7222. <method name="getInfo" return="org.apache.hadoop.hdfs.protocol.LayoutVersion.FeatureInfo"
  7223. abstract="false" native="false" synchronized="false"
  7224. static="false" final="false" visibility="public"
  7225. deprecated="not deprecated">
  7226. </method>
  7227. <doc>
  7228. <![CDATA[Enums for features that change the layout version.
  7229. <br><br>
  7230. To add a new layout version:
  7231. <ul>
  7232. <li>Define a new enum constant with a short enum name, the new layout version
  7233. and description of the added feature.</li>
  7234. <li>When adding a layout version with an ancestor that is not same as
  7235. its immediate predecessor, use the constructor where a specific ancestor
  7236. can be passed.
  7237. </li>
  7238. </ul>]]>
  7239. </doc>
  7240. </class>
  7241. <!-- end class org.apache.hadoop.hdfs.server.datanode.DataNodeLayoutVersion.Feature -->
  7242. <!-- start interface org.apache.hadoop.hdfs.server.datanode.DataNodeMXBean -->
  7243. <interface name="DataNodeMXBean" abstract="true"
  7244. static="false" final="false" visibility="public"
  7245. deprecated="not deprecated">
  7246. <method name="getVersion" return="java.lang.String"
  7247. abstract="false" native="false" synchronized="false"
  7248. static="false" final="false" visibility="public"
  7249. deprecated="not deprecated">
  7250. <doc>
  7251. <![CDATA[Gets the version of Hadoop.
  7252. @return the version of Hadoop]]>
  7253. </doc>
  7254. </method>
  7255. <method name="getRpcPort" return="java.lang.String"
  7256. abstract="false" native="false" synchronized="false"
  7257. static="false" final="false" visibility="public"
  7258. deprecated="not deprecated">
  7259. <doc>
  7260. <![CDATA[Gets the rpc port.
  7261. @return the rpc port]]>
  7262. </doc>
  7263. </method>
  7264. <method name="getHttpPort" return="java.lang.String"
  7265. abstract="false" native="false" synchronized="false"
  7266. static="false" final="false" visibility="public"
  7267. deprecated="not deprecated">
  7268. <doc>
  7269. <![CDATA[Gets the http port.
  7270. @return the http port]]>
  7271. </doc>
  7272. </method>
  7273. <method name="getNamenodeAddresses" return="java.lang.String"
  7274. abstract="false" native="false" synchronized="false"
  7275. static="false" final="false" visibility="public"
  7276. deprecated="not deprecated">
  7277. <doc>
  7278. <![CDATA[Gets the namenode IP addresses
  7279. @return the namenode IP addresses that the datanode is talking to]]>
  7280. </doc>
  7281. </method>
  7282. <method name="getVolumeInfo" return="java.lang.String"
  7283. abstract="false" native="false" synchronized="false"
  7284. static="false" final="false" visibility="public"
  7285. deprecated="not deprecated">
  7286. <doc>
  7287. <![CDATA[Gets the information of each volume on the Datanode. Please
  7288. see the implementation for the format of returned information.
  7289. @return the volume info]]>
  7290. </doc>
  7291. </method>
  7292. <method name="getClusterId" return="java.lang.String"
  7293. abstract="false" native="false" synchronized="false"
  7294. static="false" final="false" visibility="public"
  7295. deprecated="not deprecated">
  7296. <doc>
  7297. <![CDATA[Gets the cluster id.
  7298. @return the cluster id]]>
  7299. </doc>
  7300. </method>
  7301. <method name="getXceiverCount" return="int"
  7302. abstract="false" native="false" synchronized="false"
  7303. static="false" final="false" visibility="public"
  7304. deprecated="not deprecated">
  7305. <doc>
  7306. <![CDATA[Returns an estimate of the number of Datanode threads
  7307. actively transferring blocks.]]>
  7308. </doc>
  7309. </method>
  7310. <doc>
  7311. <![CDATA[This is the JMX management interface for data node information]]>
  7312. </doc>
  7313. </interface>
  7314. <!-- end interface org.apache.hadoop.hdfs.server.datanode.DataNodeMXBean -->
  7315. <!-- start class org.apache.hadoop.hdfs.server.datanode.FinalizedReplica -->
  7316. <class name="FinalizedReplica" extends="org.apache.hadoop.hdfs.server.datanode.ReplicaInfo"
  7317. abstract="false"
  7318. static="false" final="false" visibility="public"
  7319. deprecated="not deprecated">
  7320. <constructor name="FinalizedReplica" type="long, long, long, org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeSpi, java.io.File"
  7321. static="false" final="false" visibility="public"
  7322. deprecated="not deprecated">
  7323. <doc>
  7324. <![CDATA[Constructor
  7325. @param blockId block id
  7326. @param len replica length
  7327. @param genStamp replica generation stamp
  7328. @param vol volume where replica is located
  7329. @param dir directory path where block and meta files are located]]>
  7330. </doc>
  7331. </constructor>
  7332. <constructor name="FinalizedReplica" type="org.apache.hadoop.hdfs.protocol.Block, org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeSpi, java.io.File"
  7333. static="false" final="false" visibility="public"
  7334. deprecated="not deprecated">
  7335. <doc>
  7336. <![CDATA[Constructor
  7337. @param block a block
  7338. @param vol volume where replica is located
  7339. @param dir directory path where block and meta files are located]]>
  7340. </doc>
  7341. </constructor>
  7342. <constructor name="FinalizedReplica" type="org.apache.hadoop.hdfs.server.datanode.FinalizedReplica"
  7343. static="false" final="false" visibility="public"
  7344. deprecated="not deprecated">
  7345. <doc>
  7346. <![CDATA[Copy constructor.
  7347. @param from where to copy construct from]]>
  7348. </doc>
  7349. </constructor>
  7350. <method name="getState" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.ReplicaState"
  7351. abstract="false" native="false" synchronized="false"
  7352. static="false" final="false" visibility="public"
  7353. deprecated="not deprecated">
  7354. </method>
  7355. <method name="isUnlinked" return="boolean"
  7356. abstract="false" native="false" synchronized="false"
  7357. static="false" final="false" visibility="public"
  7358. deprecated="not deprecated">
  7359. </method>
  7360. <method name="setUnlinked"
  7361. abstract="false" native="false" synchronized="false"
  7362. static="false" final="false" visibility="public"
  7363. deprecated="not deprecated">
  7364. </method>
  7365. <method name="getVisibleLength" return="long"
  7366. abstract="false" native="false" synchronized="false"
  7367. static="false" final="false" visibility="public"
  7368. deprecated="not deprecated">
  7369. </method>
  7370. <method name="getBytesOnDisk" return="long"
  7371. abstract="false" native="false" synchronized="false"
  7372. static="false" final="false" visibility="public"
  7373. deprecated="not deprecated">
  7374. </method>
  7375. <method name="equals" return="boolean"
  7376. abstract="false" native="false" synchronized="false"
  7377. static="false" final="false" visibility="public"
  7378. deprecated="not deprecated">
  7379. <param name="o" type="java.lang.Object"/>
  7380. </method>
  7381. <method name="hashCode" return="int"
  7382. abstract="false" native="false" synchronized="false"
  7383. static="false" final="false" visibility="public"
  7384. deprecated="not deprecated">
  7385. </method>
  7386. <method name="toString" return="java.lang.String"
  7387. abstract="false" native="false" synchronized="false"
  7388. static="false" final="false" visibility="public"
  7389. deprecated="not deprecated">
  7390. </method>
  7391. <doc>
  7392. <![CDATA[This class describes a replica that has been finalized.]]>
  7393. </doc>
  7394. </class>
  7395. <!-- end class org.apache.hadoop.hdfs.server.datanode.FinalizedReplica -->
  7396. <!-- start class org.apache.hadoop.hdfs.server.datanode.ReplicaAlreadyExistsException -->
  7397. <class name="ReplicaAlreadyExistsException" extends="java.io.IOException"
  7398. abstract="false"
  7399. static="false" final="false" visibility="public"
  7400. deprecated="not deprecated">
  7401. <constructor name="ReplicaAlreadyExistsException"
  7402. static="false" final="false" visibility="public"
  7403. deprecated="not deprecated">
  7404. </constructor>
  7405. <constructor name="ReplicaAlreadyExistsException" type="java.lang.String"
  7406. static="false" final="false" visibility="public"
  7407. deprecated="not deprecated">
  7408. </constructor>
  7409. <doc>
  7410. <![CDATA[Exception indicating that the target block already exists
  7411. and is not set to be recovered/overwritten.]]>
  7412. </doc>
  7413. </class>
  7414. <!-- end class org.apache.hadoop.hdfs.server.datanode.ReplicaAlreadyExistsException -->
  7415. <!-- start class org.apache.hadoop.hdfs.server.datanode.ReplicaBeingWritten -->
  7416. <class name="ReplicaBeingWritten" extends="org.apache.hadoop.hdfs.server.datanode.ReplicaInPipeline"
  7417. abstract="false"
  7418. static="false" final="false" visibility="public"
  7419. deprecated="not deprecated">
  7420. <constructor name="ReplicaBeingWritten" type="long, long, org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeSpi, java.io.File, long"
  7421. static="false" final="false" visibility="public"
  7422. deprecated="not deprecated">
  7423. <doc>
  7424. <![CDATA[Constructor for a zero length replica
  7425. @param blockId block id
  7426. @param genStamp replica generation stamp
  7427. @param vol volume where replica is located
  7428. @param dir directory path where block and meta files are located
  7429. @param bytesToReserve disk space to reserve for this replica, based on
  7430. the estimated maximum block length.]]>
  7431. </doc>
  7432. </constructor>
  7433. <constructor name="ReplicaBeingWritten" type="org.apache.hadoop.hdfs.protocol.Block, org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeSpi, java.io.File, java.lang.Thread"
  7434. static="false" final="false" visibility="public"
  7435. deprecated="not deprecated">
  7436. <doc>
  7437. <![CDATA[Constructor
  7438. @param block a block
  7439. @param vol volume where replica is located
  7440. @param dir directory path where block and meta files are located
  7441. @param writer a thread that is writing to this replica]]>
  7442. </doc>
  7443. </constructor>
  7444. <constructor name="ReplicaBeingWritten" type="long, long, long, org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeSpi, java.io.File, java.lang.Thread, long"
  7445. static="false" final="false" visibility="public"
  7446. deprecated="not deprecated">
  7447. <doc>
  7448. <![CDATA[Constructor
  7449. @param blockId block id
  7450. @param len replica length
  7451. @param genStamp replica generation stamp
  7452. @param vol volume where replica is located
  7453. @param dir directory path where block and meta files are located
  7454. @param writer a thread that is writing to this replica
  7455. @param bytesToReserve disk space to reserve for this replica, based on
  7456. the estimated maximum block length.]]>
  7457. </doc>
  7458. </constructor>
  7459. <constructor name="ReplicaBeingWritten" type="org.apache.hadoop.hdfs.server.datanode.ReplicaBeingWritten"
  7460. static="false" final="false" visibility="public"
  7461. deprecated="not deprecated">
  7462. <doc>
  7463. <![CDATA[Copy constructor.
  7464. @param from where to copy from]]>
  7465. </doc>
  7466. </constructor>
  7467. <method name="getVisibleLength" return="long"
  7468. abstract="false" native="false" synchronized="false"
  7469. static="false" final="false" visibility="public"
  7470. deprecated="not deprecated">
  7471. </method>
  7472. <method name="getState" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.ReplicaState"
  7473. abstract="false" native="false" synchronized="false"
  7474. static="false" final="false" visibility="public"
  7475. deprecated="not deprecated">
  7476. </method>
  7477. <method name="equals" return="boolean"
  7478. abstract="false" native="false" synchronized="false"
  7479. static="false" final="false" visibility="public"
  7480. deprecated="not deprecated">
  7481. <param name="o" type="java.lang.Object"/>
  7482. </method>
  7483. <method name="hashCode" return="int"
  7484. abstract="false" native="false" synchronized="false"
  7485. static="false" final="false" visibility="public"
  7486. deprecated="not deprecated">
  7487. </method>
  7488. <doc>
  7489. <![CDATA[This class represents replicas being written.
  7490. Those are the replicas that
  7491. are created in a pipeline initiated by a dfs client.]]>
  7492. </doc>
  7493. </class>
  7494. <!-- end class org.apache.hadoop.hdfs.server.datanode.ReplicaBeingWritten -->
  7495. <!-- start class org.apache.hadoop.hdfs.server.datanode.ReplicaInfo.ReplicaDirInfo -->
  7496. <class name="ReplicaInfo.ReplicaDirInfo" extends="java.lang.Object"
  7497. abstract="false"
  7498. static="true" final="false" visibility="public"
  7499. deprecated="not deprecated">
  7500. <constructor name="ReplicaInfo.ReplicaDirInfo" type="java.lang.String, boolean"
  7501. static="false" final="false" visibility="public"
  7502. deprecated="not deprecated">
  7503. </constructor>
  7504. <field name="baseDirPath" type="java.lang.String"
  7505. transient="false" volatile="false"
  7506. static="false" final="false" visibility="public"
  7507. deprecated="not deprecated">
  7508. </field>
  7509. <field name="hasSubidrs" type="boolean"
  7510. transient="false" volatile="false"
  7511. static="false" final="false" visibility="public"
  7512. deprecated="not deprecated">
  7513. </field>
  7514. </class>
  7515. <!-- end class org.apache.hadoop.hdfs.server.datanode.ReplicaInfo.ReplicaDirInfo -->
  7516. <!-- start class org.apache.hadoop.hdfs.server.datanode.ReplicaInPipeline -->
  7517. <class name="ReplicaInPipeline" extends="org.apache.hadoop.hdfs.server.datanode.ReplicaInfo"
  7518. abstract="false"
  7519. static="false" final="false" visibility="public"
  7520. deprecated="not deprecated">
  7521. <implements name="org.apache.hadoop.hdfs.server.datanode.ReplicaInPipelineInterface"/>
  7522. <constructor name="ReplicaInPipeline" type="long, long, org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeSpi, java.io.File, long"
  7523. static="false" final="false" visibility="public"
  7524. deprecated="not deprecated">
  7525. <doc>
  7526. <![CDATA[Constructor for a zero length replica
  7527. @param blockId block id
  7528. @param genStamp replica generation stamp
  7529. @param vol volume where replica is located
  7530. @param dir directory path where block and meta files are located
  7531. @param bytesToReserve disk space to reserve for this replica, based on
  7532. the estimated maximum block length.]]>
  7533. </doc>
  7534. </constructor>
  7535. <constructor name="ReplicaInPipeline" type="org.apache.hadoop.hdfs.server.datanode.ReplicaInPipeline"
  7536. static="false" final="false" visibility="public"
  7537. deprecated="not deprecated">
  7538. <doc>
  7539. <![CDATA[Copy constructor.
  7540. @param from where to copy from]]>
  7541. </doc>
  7542. </constructor>
  7543. <method name="getVisibleLength" return="long"
  7544. abstract="false" native="false" synchronized="false"
  7545. static="false" final="false" visibility="public"
  7546. deprecated="not deprecated">
  7547. </method>
  7548. <method name="getState" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.ReplicaState"
  7549. abstract="false" native="false" synchronized="false"
  7550. static="false" final="false" visibility="public"
  7551. deprecated="not deprecated">
  7552. </method>
  7553. <method name="getBytesAcked" return="long"
  7554. abstract="false" native="false" synchronized="false"
  7555. static="false" final="false" visibility="public"
  7556. deprecated="not deprecated">
  7557. </method>
  7558. <method name="setBytesAcked"
  7559. abstract="false" native="false" synchronized="false"
  7560. static="false" final="false" visibility="public"
  7561. deprecated="not deprecated">
  7562. <param name="bytesAcked" type="long"/>
  7563. </method>
  7564. <method name="getBytesOnDisk" return="long"
  7565. abstract="false" native="false" synchronized="false"
  7566. static="false" final="false" visibility="public"
  7567. deprecated="not deprecated">
  7568. </method>
  7569. <method name="getBytesReserved" return="long"
  7570. abstract="false" native="false" synchronized="false"
  7571. static="false" final="false" visibility="public"
  7572. deprecated="not deprecated">
  7573. </method>
  7574. <method name="setLastChecksumAndDataLen"
  7575. abstract="false" native="false" synchronized="true"
  7576. static="false" final="false" visibility="public"
  7577. deprecated="not deprecated">
  7578. <param name="dataLength" type="long"/>
  7579. <param name="lastChecksum" type="byte[]"/>
  7580. </method>
  7581. <method name="getLastChecksumAndDataLen" return="org.apache.hadoop.hdfs.server.datanode.ChunkChecksum"
  7582. abstract="false" native="false" synchronized="true"
  7583. static="false" final="false" visibility="public"
  7584. deprecated="not deprecated">
  7585. </method>
  7586. <method name="setWriter"
  7587. abstract="false" native="false" synchronized="false"
  7588. static="false" final="false" visibility="public"
  7589. deprecated="not deprecated">
  7590. <param name="writer" type="java.lang.Thread"/>
  7591. <doc>
  7592. <![CDATA[Set the thread that is writing to this replica
  7593. @param writer a thread writing to this replica]]>
  7594. </doc>
  7595. </method>
  7596. <method name="equals" return="boolean"
  7597. abstract="false" native="false" synchronized="false"
  7598. static="false" final="false" visibility="public"
  7599. deprecated="not deprecated">
  7600. <param name="o" type="java.lang.Object"/>
  7601. </method>
  7602. <method name="stopWriter"
  7603. abstract="false" native="false" synchronized="false"
  7604. static="false" final="false" visibility="public"
  7605. deprecated="not deprecated">
  7606. <param name="xceiverStopTimeout" type="long"/>
  7607. <exception name="IOException" type="java.io.IOException"/>
  7608. <doc>
  7609. <![CDATA[Interrupt the writing thread and wait until it dies
  7610. @throws IOException the waiting is interrupted]]>
  7611. </doc>
  7612. </method>
  7613. <method name="hashCode" return="int"
  7614. abstract="false" native="false" synchronized="false"
  7615. static="false" final="false" visibility="public"
  7616. deprecated="not deprecated">
  7617. </method>
  7618. <method name="createStreams" return="org.apache.hadoop.hdfs.server.datanode.fsdataset.ReplicaOutputStreams"
  7619. abstract="false" native="false" synchronized="false"
  7620. static="false" final="false" visibility="public"
  7621. deprecated="not deprecated">
  7622. <param name="isCreate" type="boolean"/>
  7623. <param name="requestedChecksum" type="org.apache.hadoop.util.DataChecksum"/>
  7624. <exception name="IOException" type="java.io.IOException"/>
  7625. </method>
  7626. <method name="toString" return="java.lang.String"
  7627. abstract="false" native="false" synchronized="false"
  7628. static="false" final="false" visibility="public"
  7629. deprecated="not deprecated">
  7630. </method>
  7631. <doc>
  7632. <![CDATA[This class defines a replica in a pipeline, which
  7633. includes a persistent replica being written to by a dfs client or
  7634. a temporary replica being replicated by a source datanode or
  7635. being copied for the balancing purpose.
  7636. The base class implements a temporary replica]]>
  7637. </doc>
  7638. </class>
  7639. <!-- end class org.apache.hadoop.hdfs.server.datanode.ReplicaInPipeline -->
  7640. <!-- start interface org.apache.hadoop.hdfs.server.datanode.ReplicaInPipelineInterface -->
  7641. <interface name="ReplicaInPipelineInterface" abstract="true"
  7642. static="false" final="false" visibility="public"
  7643. deprecated="not deprecated">
  7644. <implements name="org.apache.hadoop.hdfs.server.datanode.Replica"/>
  7645. <method name="setNumBytes"
  7646. abstract="false" native="false" synchronized="false"
  7647. static="false" final="false" visibility="public"
  7648. deprecated="not deprecated">
  7649. <param name="bytesReceived" type="long"/>
  7650. <doc>
  7651. <![CDATA[Set the number of bytes received
  7652. @param bytesReceived number of bytes received]]>
  7653. </doc>
  7654. </method>
  7655. <method name="getBytesAcked" return="long"
  7656. abstract="false" native="false" synchronized="false"
  7657. static="false" final="false" visibility="public"
  7658. deprecated="not deprecated">
  7659. <doc>
  7660. <![CDATA[Get the number of bytes acked
  7661. @return the number of bytes acked]]>
  7662. </doc>
  7663. </method>
  7664. <method name="setBytesAcked"
  7665. abstract="false" native="false" synchronized="false"
  7666. static="false" final="false" visibility="public"
  7667. deprecated="not deprecated">
  7668. <param name="bytesAcked" type="long"/>
  7669. <doc>
  7670. <![CDATA[Set the number bytes that have acked
  7671. @param bytesAcked number bytes acked]]>
  7672. </doc>
  7673. </method>
  7674. <method name="setLastChecksumAndDataLen"
  7675. abstract="false" native="false" synchronized="false"
  7676. static="false" final="false" visibility="public"
  7677. deprecated="not deprecated">
  7678. <param name="dataLength" type="long"/>
  7679. <param name="lastChecksum" type="byte[]"/>
  7680. <doc>
  7681. <![CDATA[store the checksum for the last chunk along with the data length
  7682. @param dataLength number of bytes on disk
  7683. @param lastChecksum - checksum bytes for the last chunk]]>
  7684. </doc>
  7685. </method>
  7686. <method name="getLastChecksumAndDataLen" return="org.apache.hadoop.hdfs.server.datanode.ChunkChecksum"
  7687. abstract="false" native="false" synchronized="false"
  7688. static="false" final="false" visibility="public"
  7689. deprecated="not deprecated">
  7690. <doc>
  7691. <![CDATA[gets the last chunk checksum and the length of the block corresponding
  7692. to that checksum]]>
  7693. </doc>
  7694. </method>
  7695. <method name="createStreams" return="org.apache.hadoop.hdfs.server.datanode.fsdataset.ReplicaOutputStreams"
  7696. abstract="false" native="false" synchronized="false"
  7697. static="false" final="false" visibility="public"
  7698. deprecated="not deprecated">
  7699. <param name="isCreate" type="boolean"/>
  7700. <param name="requestedChecksum" type="org.apache.hadoop.util.DataChecksum"/>
  7701. <exception name="IOException" type="java.io.IOException"/>
  7702. <doc>
  7703. <![CDATA[Create output streams for writing to this replica,
  7704. one for block file and one for CRC file
  7705. @param isCreate if it is for creation
  7706. @param requestedChecksum the checksum the writer would prefer to use
  7707. @return output streams for writing
  7708. @throws IOException if any error occurs]]>
  7709. </doc>
  7710. </method>
  7711. <doc>
  7712. <![CDATA[This defines the interface of a replica in Pipeline that's being written to]]>
  7713. </doc>
  7714. </interface>
  7715. <!-- end interface org.apache.hadoop.hdfs.server.datanode.ReplicaInPipelineInterface -->
  7716. <!-- start class org.apache.hadoop.hdfs.server.datanode.ReplicaNotFoundException -->
  7717. <class name="ReplicaNotFoundException" extends="java.io.IOException"
  7718. abstract="false"
  7719. static="false" final="false" visibility="public"
  7720. deprecated="not deprecated">
  7721. <constructor name="ReplicaNotFoundException"
  7722. static="false" final="false" visibility="public"
  7723. deprecated="not deprecated">
  7724. </constructor>
  7725. <constructor name="ReplicaNotFoundException" type="org.apache.hadoop.hdfs.protocol.ExtendedBlock"
  7726. static="false" final="false" visibility="public"
  7727. deprecated="not deprecated">
  7728. </constructor>
  7729. <constructor name="ReplicaNotFoundException" type="java.lang.String"
  7730. static="false" final="false" visibility="public"
  7731. deprecated="not deprecated">
  7732. </constructor>
  7733. <field name="NON_RBW_REPLICA" type="java.lang.String"
  7734. transient="false" volatile="false"
  7735. static="true" final="true" visibility="public"
  7736. deprecated="not deprecated">
  7737. </field>
  7738. <field name="UNFINALIZED_REPLICA" type="java.lang.String"
  7739. transient="false" volatile="false"
  7740. static="true" final="true" visibility="public"
  7741. deprecated="not deprecated">
  7742. </field>
  7743. <field name="UNFINALIZED_AND_NONRBW_REPLICA" type="java.lang.String"
  7744. transient="false" volatile="false"
  7745. static="true" final="true" visibility="public"
  7746. deprecated="not deprecated">
  7747. </field>
  7748. <field name="NON_EXISTENT_REPLICA" type="java.lang.String"
  7749. transient="false" volatile="false"
  7750. static="true" final="true" visibility="public"
  7751. deprecated="not deprecated">
  7752. </field>
  7753. <field name="UNEXPECTED_GS_REPLICA" type="java.lang.String"
  7754. transient="false" volatile="false"
  7755. static="true" final="true" visibility="public"
  7756. deprecated="not deprecated">
  7757. </field>
  7758. <doc>
  7759. <![CDATA[Exception indicating that DataNode does not have a replica
  7760. that matches the target block.]]>
  7761. </doc>
  7762. </class>
  7763. <!-- end class org.apache.hadoop.hdfs.server.datanode.ReplicaNotFoundException -->
  7764. <!-- start class org.apache.hadoop.hdfs.server.datanode.ReplicaUnderRecovery -->
  7765. <class name="ReplicaUnderRecovery" extends="org.apache.hadoop.hdfs.server.datanode.ReplicaInfo"
  7766. abstract="false"
  7767. static="false" final="false" visibility="public"
  7768. deprecated="not deprecated">
  7769. <constructor name="ReplicaUnderRecovery" type="org.apache.hadoop.hdfs.server.datanode.ReplicaInfo, long"
  7770. static="false" final="false" visibility="public"
  7771. deprecated="not deprecated">
  7772. </constructor>
  7773. <constructor name="ReplicaUnderRecovery" type="org.apache.hadoop.hdfs.server.datanode.ReplicaUnderRecovery"
  7774. static="false" final="false" visibility="public"
  7775. deprecated="not deprecated">
  7776. <doc>
  7777. <![CDATA[Copy constructor.
  7778. @param from where to copy from]]>
  7779. </doc>
  7780. </constructor>
  7781. <method name="getRecoveryID" return="long"
  7782. abstract="false" native="false" synchronized="false"
  7783. static="false" final="false" visibility="public"
  7784. deprecated="not deprecated">
  7785. <doc>
  7786. <![CDATA[Get the recovery id
  7787. @return the generation stamp that the replica will be bumped to]]>
  7788. </doc>
  7789. </method>
  7790. <method name="setRecoveryID"
  7791. abstract="false" native="false" synchronized="false"
  7792. static="false" final="false" visibility="public"
  7793. deprecated="not deprecated">
  7794. <param name="recoveryId" type="long"/>
  7795. <doc>
  7796. <![CDATA[Set the recovery id
  7797. @param recoveryId the new recoveryId]]>
  7798. </doc>
  7799. </method>
  7800. <method name="getOriginalReplica" return="org.apache.hadoop.hdfs.server.datanode.ReplicaInfo"
  7801. abstract="false" native="false" synchronized="false"
  7802. static="false" final="false" visibility="public"
  7803. deprecated="not deprecated">
  7804. <doc>
  7805. <![CDATA[Get the original replica that's under recovery
  7806. @return the original replica under recovery]]>
  7807. </doc>
  7808. </method>
  7809. <method name="isUnlinked" return="boolean"
  7810. abstract="false" native="false" synchronized="false"
  7811. static="false" final="false" visibility="public"
  7812. deprecated="not deprecated">
  7813. </method>
  7814. <method name="setUnlinked"
  7815. abstract="false" native="false" synchronized="false"
  7816. static="false" final="false" visibility="public"
  7817. deprecated="not deprecated">
  7818. </method>
  7819. <method name="getState" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.ReplicaState"
  7820. abstract="false" native="false" synchronized="false"
  7821. static="false" final="false" visibility="public"
  7822. deprecated="not deprecated">
  7823. </method>
  7824. <method name="getVisibleLength" return="long"
  7825. abstract="false" native="false" synchronized="false"
  7826. static="false" final="false" visibility="public"
  7827. deprecated="not deprecated">
  7828. </method>
  7829. <method name="getBytesOnDisk" return="long"
  7830. abstract="false" native="false" synchronized="false"
  7831. static="false" final="false" visibility="public"
  7832. deprecated="not deprecated">
  7833. </method>
  7834. <method name="setBlockId"
  7835. abstract="false" native="false" synchronized="false"
  7836. static="false" final="false" visibility="public"
  7837. deprecated="not deprecated">
  7838. <param name="blockId" type="long"/>
  7839. </method>
  7840. <method name="setGenerationStamp"
  7841. abstract="false" native="false" synchronized="false"
  7842. static="false" final="false" visibility="public"
  7843. deprecated="not deprecated">
  7844. <param name="gs" type="long"/>
  7845. </method>
  7846. <method name="setNumBytes"
  7847. abstract="false" native="false" synchronized="false"
  7848. static="false" final="false" visibility="public"
  7849. deprecated="not deprecated">
  7850. <param name="numBytes" type="long"/>
  7851. </method>
  7852. <method name="setDir"
  7853. abstract="false" native="false" synchronized="false"
  7854. static="false" final="false" visibility="public"
  7855. deprecated="not deprecated">
  7856. <param name="dir" type="java.io.File"/>
  7857. </method>
  7858. <method name="equals" return="boolean"
  7859. abstract="false" native="false" synchronized="false"
  7860. static="false" final="false" visibility="public"
  7861. deprecated="not deprecated">
  7862. <param name="o" type="java.lang.Object"/>
  7863. </method>
  7864. <method name="hashCode" return="int"
  7865. abstract="false" native="false" synchronized="false"
  7866. static="false" final="false" visibility="public"
  7867. deprecated="not deprecated">
  7868. </method>
  7869. <method name="toString" return="java.lang.String"
  7870. abstract="false" native="false" synchronized="false"
  7871. static="false" final="false" visibility="public"
  7872. deprecated="not deprecated">
  7873. </method>
  7874. <method name="createInfo" return="org.apache.hadoop.hdfs.server.protocol.ReplicaRecoveryInfo"
  7875. abstract="false" native="false" synchronized="false"
  7876. static="false" final="false" visibility="public"
  7877. deprecated="not deprecated">
  7878. </method>
  7879. <doc>
  7880. <![CDATA[This class represents replicas that are under block recovery
  7881. It has a recovery id that is equal to the generation stamp
  7882. that the replica will be bumped to after recovery
  7883. The recovery id is used to handle multiple concurrent block recoveries.
  7884. A recovery with higher recovery id preempts recoveries with a lower id.]]>
  7885. </doc>
  7886. </class>
  7887. <!-- end class org.apache.hadoop.hdfs.server.datanode.ReplicaUnderRecovery -->
  7888. <!-- start class org.apache.hadoop.hdfs.server.datanode.ReplicaWaitingToBeRecovered -->
  7889. <class name="ReplicaWaitingToBeRecovered" extends="org.apache.hadoop.hdfs.server.datanode.ReplicaInfo"
  7890. abstract="false"
  7891. static="false" final="false" visibility="public"
  7892. deprecated="not deprecated">
  7893. <constructor name="ReplicaWaitingToBeRecovered" type="long, long, long, org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeSpi, java.io.File"
  7894. static="false" final="false" visibility="public"
  7895. deprecated="not deprecated">
  7896. <doc>
  7897. <![CDATA[Constructor
  7898. @param blockId block id
  7899. @param len replica length
  7900. @param genStamp replica generation stamp
  7901. @param vol volume where replica is located
  7902. @param dir directory path where block and meta files are located]]>
  7903. </doc>
  7904. </constructor>
  7905. <constructor name="ReplicaWaitingToBeRecovered" type="org.apache.hadoop.hdfs.protocol.Block, org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeSpi, java.io.File"
  7906. static="false" final="false" visibility="public"
  7907. deprecated="not deprecated">
  7908. <doc>
  7909. <![CDATA[Constructor
  7910. @param block a block
  7911. @param vol volume where replica is located
  7912. @param dir directory path where block and meta files are located]]>
  7913. </doc>
  7914. </constructor>
  7915. <constructor name="ReplicaWaitingToBeRecovered" type="org.apache.hadoop.hdfs.server.datanode.ReplicaWaitingToBeRecovered"
  7916. static="false" final="false" visibility="public"
  7917. deprecated="not deprecated">
  7918. <doc>
  7919. <![CDATA[Copy constructor.
  7920. @param from where to copy from]]>
  7921. </doc>
  7922. </constructor>
  7923. <method name="getState" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.ReplicaState"
  7924. abstract="false" native="false" synchronized="false"
  7925. static="false" final="false" visibility="public"
  7926. deprecated="not deprecated">
  7927. </method>
  7928. <method name="isUnlinked" return="boolean"
  7929. abstract="false" native="false" synchronized="false"
  7930. static="false" final="false" visibility="public"
  7931. deprecated="not deprecated">
  7932. </method>
  7933. <method name="setUnlinked"
  7934. abstract="false" native="false" synchronized="false"
  7935. static="false" final="false" visibility="public"
  7936. deprecated="not deprecated">
  7937. </method>
  7938. <method name="getVisibleLength" return="long"
  7939. abstract="false" native="false" synchronized="false"
  7940. static="false" final="false" visibility="public"
  7941. deprecated="not deprecated">
  7942. </method>
  7943. <method name="getBytesOnDisk" return="long"
  7944. abstract="false" native="false" synchronized="false"
  7945. static="false" final="false" visibility="public"
  7946. deprecated="not deprecated">
  7947. </method>
  7948. <method name="equals" return="boolean"
  7949. abstract="false" native="false" synchronized="false"
  7950. static="false" final="false" visibility="public"
  7951. deprecated="not deprecated">
  7952. <param name="o" type="java.lang.Object"/>
  7953. </method>
  7954. <method name="hashCode" return="int"
  7955. abstract="false" native="false" synchronized="false"
  7956. static="false" final="false" visibility="public"
  7957. deprecated="not deprecated">
  7958. </method>
  7959. <method name="toString" return="java.lang.String"
  7960. abstract="false" native="false" synchronized="false"
  7961. static="false" final="false" visibility="public"
  7962. deprecated="not deprecated">
  7963. </method>
  7964. <doc>
  7965. <![CDATA[This class represents a replica that is waiting to be recovered.
  7966. After a datanode restart, any replica in "rbw" directory is loaded
  7967. as a replica waiting to be recovered.
  7968. A replica waiting to be recovered does not provision read nor
  7969. participates in any pipeline recovery. It will become outdated if its
  7970. client continues to write or be recovered as a result of
  7971. lease recovery.]]>
  7972. </doc>
  7973. </class>
  7974. <!-- end class org.apache.hadoop.hdfs.server.datanode.ReplicaWaitingToBeRecovered -->
  7975. <!-- start class org.apache.hadoop.hdfs.server.datanode.SecureDataNodeStarter -->
  7976. <class name="SecureDataNodeStarter" extends="java.lang.Object"
  7977. abstract="false"
  7978. static="false" final="false" visibility="public"
  7979. deprecated="not deprecated">
  7980. <implements name="org.apache.commons.daemon.Daemon"/>
  7981. <constructor name="SecureDataNodeStarter"
  7982. static="false" final="false" visibility="public"
  7983. deprecated="not deprecated">
  7984. </constructor>
  7985. <method name="init"
  7986. abstract="false" native="false" synchronized="false"
  7987. static="false" final="false" visibility="public"
  7988. deprecated="not deprecated">
  7989. <param name="context" type="org.apache.commons.daemon.DaemonContext"/>
  7990. <exception name="Exception" type="java.lang.Exception"/>
  7991. </method>
  7992. <method name="start"
  7993. abstract="false" native="false" synchronized="false"
  7994. static="false" final="false" visibility="public"
  7995. deprecated="not deprecated">
  7996. <exception name="Exception" type="java.lang.Exception"/>
  7997. </method>
  7998. <method name="destroy"
  7999. abstract="false" native="false" synchronized="false"
  8000. static="false" final="false" visibility="public"
  8001. deprecated="not deprecated">
  8002. </method>
  8003. <method name="stop"
  8004. abstract="false" native="false" synchronized="false"
  8005. static="false" final="false" visibility="public"
  8006. deprecated="not deprecated">
  8007. <exception name="Exception" type="java.lang.Exception"/>
  8008. </method>
  8009. <method name="getSecureResources" return="org.apache.hadoop.hdfs.server.datanode.SecureDataNodeStarter.SecureResources"
  8010. abstract="false" native="false" synchronized="false"
  8011. static="true" final="false" visibility="public"
  8012. deprecated="not deprecated">
  8013. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  8014. <exception name="Exception" type="java.lang.Exception"/>
  8015. <doc>
  8016. <![CDATA[Acquire privileged resources (i.e., the privileged ports) for the data
  8017. node. The privileged resources consist of the port of the RPC server and
  8018. the port of HTTP (not HTTPS) server.]]>
  8019. </doc>
  8020. </method>
  8021. <doc>
  8022. <![CDATA[Utility class to start a datanode in a secure cluster, first obtaining
  8023. privileged resources before main startup and handing them to the datanode.]]>
  8024. </doc>
  8025. </class>
  8026. <!-- end class org.apache.hadoop.hdfs.server.datanode.SecureDataNodeStarter -->
  8027. <!-- start class org.apache.hadoop.hdfs.server.datanode.SecureDataNodeStarter.SecureResources -->
  8028. <class name="SecureDataNodeStarter.SecureResources" extends="java.lang.Object"
  8029. abstract="false"
  8030. static="true" final="false" visibility="public"
  8031. deprecated="not deprecated">
  8032. <constructor name="SecureDataNodeStarter.SecureResources" type="java.net.ServerSocket, org.mortbay.jetty.Connector"
  8033. static="false" final="false" visibility="public"
  8034. deprecated="not deprecated">
  8035. </constructor>
  8036. <method name="getStreamingSocket" return="java.net.ServerSocket"
  8037. abstract="false" native="false" synchronized="false"
  8038. static="false" final="false" visibility="public"
  8039. deprecated="not deprecated">
  8040. </method>
  8041. <method name="getListener" return="org.mortbay.jetty.Connector"
  8042. abstract="false" native="false" synchronized="false"
  8043. static="false" final="false" visibility="public"
  8044. deprecated="not deprecated">
  8045. </method>
  8046. <doc>
  8047. <![CDATA[Stash necessary resources needed for datanode operation in a secure env.]]>
  8048. </doc>
  8049. </class>
  8050. <!-- end class org.apache.hadoop.hdfs.server.datanode.SecureDataNodeStarter.SecureResources -->
  8051. <!-- start class org.apache.hadoop.hdfs.server.datanode.ShortCircuitRegistry -->
  8052. <class name="ShortCircuitRegistry" extends="java.lang.Object"
  8053. abstract="false"
  8054. static="false" final="false" visibility="public"
  8055. deprecated="not deprecated">
  8056. <constructor name="ShortCircuitRegistry" type="org.apache.hadoop.conf.Configuration"
  8057. static="false" final="false" visibility="public"
  8058. deprecated="not deprecated">
  8059. <exception name="IOException" type="java.io.IOException"/>
  8060. </constructor>
  8061. <method name="removeShm"
  8062. abstract="false" native="false" synchronized="true"
  8063. static="false" final="false" visibility="public"
  8064. deprecated="not deprecated">
  8065. <param name="shm" type="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm"/>
  8066. </method>
  8067. <method name="processBlockMlockEvent"
  8068. abstract="false" native="false" synchronized="true"
  8069. static="false" final="false" visibility="public"
  8070. deprecated="not deprecated">
  8071. <param name="blockId" type="org.apache.hadoop.hdfs.ExtendedBlockId"/>
  8072. <doc>
  8073. <![CDATA[Process a block mlock event from the FsDatasetCache.
  8074. @param blockId The block that was mlocked.]]>
  8075. </doc>
  8076. </method>
  8077. <method name="processBlockMunlockRequest" return="boolean"
  8078. abstract="false" native="false" synchronized="true"
  8079. static="false" final="false" visibility="public"
  8080. deprecated="not deprecated">
  8081. <param name="blockId" type="org.apache.hadoop.hdfs.ExtendedBlockId"/>
  8082. <doc>
  8083. <![CDATA[Mark any slots associated with this blockId as unanchorable.
  8084. @param blockId The block ID.
  8085. @return True if we should allow the munlock request.]]>
  8086. </doc>
  8087. </method>
  8088. <method name="processBlockInvalidation"
  8089. abstract="false" native="false" synchronized="true"
  8090. static="false" final="false" visibility="public"
  8091. deprecated="not deprecated">
  8092. <param name="blockId" type="org.apache.hadoop.hdfs.ExtendedBlockId"/>
  8093. <doc>
  8094. <![CDATA[Invalidate any slot associated with a blockId that we are invalidating
  8095. (deleting) from this DataNode. When a slot is invalid, the DFSClient will
  8096. not use the corresponding replica for new read or mmap operations (although
  8097. existing, ongoing read or mmap operations will complete.)
  8098. @param blockId The block ID.]]>
  8099. </doc>
  8100. </method>
  8101. <method name="getClientNames" return="java.lang.String"
  8102. abstract="false" native="false" synchronized="true"
  8103. static="false" final="false" visibility="public"
  8104. deprecated="not deprecated">
  8105. <param name="blockId" type="org.apache.hadoop.hdfs.ExtendedBlockId"/>
  8106. </method>
  8107. <method name="createNewMemorySegment" return="org.apache.hadoop.hdfs.server.datanode.ShortCircuitRegistry.NewShmInfo"
  8108. abstract="false" native="false" synchronized="false"
  8109. static="false" final="false" visibility="public"
  8110. deprecated="not deprecated">
  8111. <param name="clientName" type="java.lang.String"/>
  8112. <param name="sock" type="org.apache.hadoop.net.unix.DomainSocket"/>
  8113. <exception name="IOException" type="java.io.IOException"/>
  8114. <doc>
  8115. <![CDATA[Handle a DFSClient request to create a new memory segment.
  8116. @param clientName Client name as reported by the client.
  8117. @param sock The DomainSocket to associate with this memory
  8118. segment. When this socket is closed, or the
  8119. other side writes anything to the socket, the
  8120. segment will be closed. This can happen at any
  8121. time, including right after this function returns.
  8122. @return A NewShmInfo object. The caller must close the
  8123. NewShmInfo object once they are done with it.
  8124. @throws IOException If the new memory segment could not be created.]]>
  8125. </doc>
  8126. </method>
  8127. <method name="registerSlot"
  8128. abstract="false" native="false" synchronized="true"
  8129. static="false" final="false" visibility="public"
  8130. deprecated="not deprecated">
  8131. <param name="blockId" type="org.apache.hadoop.hdfs.ExtendedBlockId"/>
  8132. <param name="slotId" type="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.SlotId"/>
  8133. <param name="isCached" type="boolean"/>
  8134. <exception name="InvalidRequestException" type="org.apache.hadoop.fs.InvalidRequestException"/>
  8135. </method>
  8136. <method name="unregisterSlot"
  8137. abstract="false" native="false" synchronized="true"
  8138. static="false" final="false" visibility="public"
  8139. deprecated="not deprecated">
  8140. <param name="slotId" type="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.SlotId"/>
  8141. <exception name="InvalidRequestException" type="org.apache.hadoop.fs.InvalidRequestException"/>
  8142. </method>
  8143. <method name="shutdown"
  8144. abstract="false" native="false" synchronized="false"
  8145. static="false" final="false" visibility="public"
  8146. deprecated="not deprecated">
  8147. </method>
  8148. <field name="LOG" type="org.apache.commons.logging.Log"
  8149. transient="false" volatile="false"
  8150. static="true" final="true" visibility="public"
  8151. deprecated="not deprecated">
  8152. </field>
  8153. </class>
  8154. <!-- end class org.apache.hadoop.hdfs.server.datanode.ShortCircuitRegistry -->
  8155. <!-- start class org.apache.hadoop.hdfs.server.datanode.ShortCircuitRegistry.NewShmInfo -->
  8156. <class name="ShortCircuitRegistry.NewShmInfo" extends="java.lang.Object"
  8157. abstract="false"
  8158. static="true" final="false" visibility="public"
  8159. deprecated="not deprecated">
  8160. <implements name="java.io.Closeable"/>
  8161. <method name="close"
  8162. abstract="false" native="false" synchronized="false"
  8163. static="false" final="false" visibility="public"
  8164. deprecated="not deprecated">
  8165. <exception name="IOException" type="java.io.IOException"/>
  8166. </method>
  8167. <field name="shmId" type="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.ShmId"
  8168. transient="false" volatile="false"
  8169. static="false" final="true" visibility="public"
  8170. deprecated="not deprecated">
  8171. </field>
  8172. <field name="stream" type="java.io.FileInputStream"
  8173. transient="false" volatile="false"
  8174. static="false" final="true" visibility="public"
  8175. deprecated="not deprecated">
  8176. </field>
  8177. </class>
  8178. <!-- end class org.apache.hadoop.hdfs.server.datanode.ShortCircuitRegistry.NewShmInfo -->
  8179. </package>
  8180. <package name="org.apache.hadoop.hdfs.server.datanode.fsdataset">
  8181. <!-- start class org.apache.hadoop.hdfs.server.datanode.fsdataset.AvailableSpaceVolumeChoosingPolicy -->
  8182. <class name="AvailableSpaceVolumeChoosingPolicy" extends="java.lang.Object"
  8183. abstract="false"
  8184. static="false" final="false" visibility="public"
  8185. deprecated="not deprecated">
  8186. <implements name="org.apache.hadoop.hdfs.server.datanode.fsdataset.VolumeChoosingPolicy"/>
  8187. <implements name="org.apache.hadoop.conf.Configurable"/>
  8188. <constructor name="AvailableSpaceVolumeChoosingPolicy"
  8189. static="false" final="false" visibility="public"
  8190. deprecated="not deprecated">
  8191. </constructor>
  8192. <method name="setConf"
  8193. abstract="false" native="false" synchronized="true"
  8194. static="false" final="false" visibility="public"
  8195. deprecated="not deprecated">
  8196. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  8197. </method>
  8198. <method name="getConf" return="org.apache.hadoop.conf.Configuration"
  8199. abstract="false" native="false" synchronized="true"
  8200. static="false" final="false" visibility="public"
  8201. deprecated="not deprecated">
  8202. </method>
  8203. <method name="chooseVolume" return="V"
  8204. abstract="false" native="false" synchronized="true"
  8205. static="false" final="false" visibility="public"
  8206. deprecated="not deprecated">
  8207. <param name="volumes" type="java.util.List"/>
  8208. <param name="replicaSize" type="long"/>
  8209. <exception name="IOException" type="java.io.IOException"/>
  8210. </method>
  8211. <doc>
  8212. <![CDATA[A DN volume choosing policy which takes into account the amount of free
  8213. space on each of the available volumes when considering where to assign a
  8214. new replica allocation. By default this policy prefers assigning replicas to
  8215. those volumes with more available free space, so as to over time balance the
  8216. available space of all the volumes within a DN.]]>
  8217. </doc>
  8218. </class>
  8219. <!-- end class org.apache.hadoop.hdfs.server.datanode.fsdataset.AvailableSpaceVolumeChoosingPolicy -->
  8220. <!-- start class org.apache.hadoop.hdfs.server.datanode.fsdataset.FsDatasetSpi.Factory -->
  8221. <class name="FsDatasetSpi.Factory" extends="java.lang.Object"
  8222. abstract="true"
  8223. static="true" final="false" visibility="public"
  8224. deprecated="not deprecated">
  8225. <constructor name="FsDatasetSpi.Factory"
  8226. static="false" final="false" visibility="public"
  8227. deprecated="not deprecated">
  8228. </constructor>
  8229. <method name="getFactory" return="org.apache.hadoop.hdfs.server.datanode.fsdataset.FsDatasetSpi.Factory"
  8230. abstract="false" native="false" synchronized="false"
  8231. static="true" final="false" visibility="public"
  8232. deprecated="not deprecated">
  8233. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  8234. <doc>
  8235. <![CDATA[@return the configured factory.]]>
  8236. </doc>
  8237. </method>
  8238. <method name="newInstance" return="D"
  8239. abstract="true" native="false" synchronized="false"
  8240. static="false" final="false" visibility="public"
  8241. deprecated="not deprecated">
  8242. <param name="datanode" type="org.apache.hadoop.hdfs.server.datanode.DataNode"/>
  8243. <param name="storage" type="org.apache.hadoop.hdfs.server.datanode.DataStorage"/>
  8244. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  8245. <exception name="IOException" type="java.io.IOException"/>
  8246. <doc>
  8247. <![CDATA[Create a new object.]]>
  8248. </doc>
  8249. </method>
  8250. <method name="isSimulated" return="boolean"
  8251. abstract="false" native="false" synchronized="false"
  8252. static="false" final="false" visibility="public"
  8253. deprecated="not deprecated">
  8254. <doc>
  8255. <![CDATA[Does the factory create simulated objects?]]>
  8256. </doc>
  8257. </method>
  8258. <doc>
  8259. <![CDATA[A factory for creating {@link FsDatasetSpi} objects.]]>
  8260. </doc>
  8261. </class>
  8262. <!-- end class org.apache.hadoop.hdfs.server.datanode.fsdataset.FsDatasetSpi.Factory -->
  8263. <!-- start interface org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeSpi -->
  8264. <interface name="FsVolumeSpi" abstract="true"
  8265. static="false" final="false" visibility="public"
  8266. deprecated="not deprecated">
  8267. <method name="getStorageID" return="java.lang.String"
  8268. abstract="false" native="false" synchronized="false"
  8269. static="false" final="false" visibility="public"
  8270. deprecated="not deprecated">
  8271. <doc>
  8272. <![CDATA[@return the StorageUuid of the volume]]>
  8273. </doc>
  8274. </method>
  8275. <method name="getBlockPoolList" return="java.lang.String[]"
  8276. abstract="false" native="false" synchronized="false"
  8277. static="false" final="false" visibility="public"
  8278. deprecated="not deprecated">
  8279. <doc>
  8280. <![CDATA[@return a list of block pools.]]>
  8281. </doc>
  8282. </method>
  8283. <method name="getAvailable" return="long"
  8284. abstract="false" native="false" synchronized="false"
  8285. static="false" final="false" visibility="public"
  8286. deprecated="not deprecated">
  8287. <exception name="IOException" type="java.io.IOException"/>
  8288. <doc>
  8289. <![CDATA[@return the available storage space in bytes.]]>
  8290. </doc>
  8291. </method>
  8292. <method name="getBasePath" return="java.lang.String"
  8293. abstract="false" native="false" synchronized="false"
  8294. static="false" final="false" visibility="public"
  8295. deprecated="not deprecated">
  8296. <doc>
  8297. <![CDATA[@return the base path to the volume]]>
  8298. </doc>
  8299. </method>
  8300. <method name="getPath" return="java.lang.String"
  8301. abstract="false" native="false" synchronized="false"
  8302. static="false" final="false" visibility="public"
  8303. deprecated="not deprecated">
  8304. <param name="bpid" type="java.lang.String"/>
  8305. <exception name="IOException" type="java.io.IOException"/>
  8306. <doc>
  8307. <![CDATA[@return the path to the volume]]>
  8308. </doc>
  8309. </method>
  8310. <method name="getFinalizedDir" return="java.io.File"
  8311. abstract="false" native="false" synchronized="false"
  8312. static="false" final="false" visibility="public"
  8313. deprecated="not deprecated">
  8314. <param name="bpid" type="java.lang.String"/>
  8315. <exception name="IOException" type="java.io.IOException"/>
  8316. <doc>
  8317. <![CDATA[@return the directory for the finalized blocks in the block pool.]]>
  8318. </doc>
  8319. </method>
  8320. <method name="getStorageType" return="org.apache.hadoop.hdfs.StorageType"
  8321. abstract="false" native="false" synchronized="false"
  8322. static="false" final="false" visibility="public"
  8323. deprecated="not deprecated">
  8324. </method>
  8325. <method name="reserveSpaceForRbw"
  8326. abstract="false" native="false" synchronized="false"
  8327. static="false" final="false" visibility="public"
  8328. deprecated="not deprecated">
  8329. <param name="bytesToReserve" type="long"/>
  8330. <doc>
  8331. <![CDATA[Reserve disk space for an RBW block so a writer does not run out of
  8332. space before the block is full.]]>
  8333. </doc>
  8334. </method>
  8335. <method name="releaseReservedSpace"
  8336. abstract="false" native="false" synchronized="false"
  8337. static="false" final="false" visibility="public"
  8338. deprecated="not deprecated">
  8339. <param name="bytesToRelease" type="long"/>
  8340. <doc>
  8341. <![CDATA[Release disk space previously reserved for RBW block.]]>
  8342. </doc>
  8343. </method>
  8344. <method name="isTransientStorage" return="boolean"
  8345. abstract="false" native="false" synchronized="false"
  8346. static="false" final="false" visibility="public"
  8347. deprecated="not deprecated">
  8348. <doc>
  8349. <![CDATA[Returns true if the volume is NOT backed by persistent storage.]]>
  8350. </doc>
  8351. </method>
  8352. <doc>
  8353. <![CDATA[This is an interface for the underlying volume.]]>
  8354. </doc>
  8355. </interface>
  8356. <!-- end interface org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeSpi -->
  8357. <!-- start class org.apache.hadoop.hdfs.server.datanode.fsdataset.LengthInputStream -->
  8358. <class name="LengthInputStream" extends="java.io.FilterInputStream"
  8359. abstract="false"
  8360. static="false" final="false" visibility="public"
  8361. deprecated="not deprecated">
  8362. <constructor name="LengthInputStream" type="java.io.InputStream, long"
  8363. static="false" final="false" visibility="public"
  8364. deprecated="not deprecated">
  8365. <doc>
  8366. <![CDATA[Create an stream.
  8367. @param in the underlying input stream.
  8368. @param length the length of the stream.]]>
  8369. </doc>
  8370. </constructor>
  8371. <method name="getLength" return="long"
  8372. abstract="false" native="false" synchronized="false"
  8373. static="false" final="false" visibility="public"
  8374. deprecated="not deprecated">
  8375. <doc>
  8376. <![CDATA[@return the length.]]>
  8377. </doc>
  8378. </method>
  8379. <method name="getWrappedStream" return="java.io.InputStream"
  8380. abstract="false" native="false" synchronized="false"
  8381. static="false" final="false" visibility="public"
  8382. deprecated="not deprecated">
  8383. </method>
  8384. <doc>
  8385. <![CDATA[An input stream with length.]]>
  8386. </doc>
  8387. </class>
  8388. <!-- end class org.apache.hadoop.hdfs.server.datanode.fsdataset.LengthInputStream -->
  8389. <!-- start class org.apache.hadoop.hdfs.server.datanode.fsdataset.ReplicaInputStreams -->
  8390. <class name="ReplicaInputStreams" extends="java.lang.Object"
  8391. abstract="false"
  8392. static="false" final="false" visibility="public"
  8393. deprecated="not deprecated">
  8394. <implements name="java.io.Closeable"/>
  8395. <constructor name="ReplicaInputStreams" type="java.io.FileDescriptor, java.io.FileDescriptor"
  8396. static="false" final="false" visibility="public"
  8397. deprecated="not deprecated">
  8398. <doc>
  8399. <![CDATA[Create an object with a data input stream and a checksum input stream.]]>
  8400. </doc>
  8401. </constructor>
  8402. <method name="getDataIn" return="java.io.InputStream"
  8403. abstract="false" native="false" synchronized="false"
  8404. static="false" final="false" visibility="public"
  8405. deprecated="not deprecated">
  8406. <doc>
  8407. <![CDATA[@return the data input stream.]]>
  8408. </doc>
  8409. </method>
  8410. <method name="getChecksumIn" return="java.io.InputStream"
  8411. abstract="false" native="false" synchronized="false"
  8412. static="false" final="false" visibility="public"
  8413. deprecated="not deprecated">
  8414. <doc>
  8415. <![CDATA[@return the checksum input stream.]]>
  8416. </doc>
  8417. </method>
  8418. <method name="close"
  8419. abstract="false" native="false" synchronized="false"
  8420. static="false" final="false" visibility="public"
  8421. deprecated="not deprecated">
  8422. </method>
  8423. <doc>
  8424. <![CDATA[Contains the input streams for the data and checksum of a replica.]]>
  8425. </doc>
  8426. </class>
  8427. <!-- end class org.apache.hadoop.hdfs.server.datanode.fsdataset.ReplicaInputStreams -->
  8428. <!-- start class org.apache.hadoop.hdfs.server.datanode.fsdataset.ReplicaOutputStreams -->
  8429. <class name="ReplicaOutputStreams" extends="java.lang.Object"
  8430. abstract="false"
  8431. static="false" final="false" visibility="public"
  8432. deprecated="not deprecated">
  8433. <implements name="java.io.Closeable"/>
  8434. <constructor name="ReplicaOutputStreams" type="java.io.OutputStream, java.io.OutputStream, org.apache.hadoop.util.DataChecksum, boolean"
  8435. static="false" final="false" visibility="public"
  8436. deprecated="not deprecated">
  8437. <doc>
  8438. <![CDATA[Create an object with a data output stream, a checksum output stream
  8439. and a checksum.]]>
  8440. </doc>
  8441. </constructor>
  8442. <method name="getDataOut" return="java.io.OutputStream"
  8443. abstract="false" native="false" synchronized="false"
  8444. static="false" final="false" visibility="public"
  8445. deprecated="not deprecated">
  8446. <doc>
  8447. <![CDATA[@return the data output stream.]]>
  8448. </doc>
  8449. </method>
  8450. <method name="getChecksumOut" return="java.io.OutputStream"
  8451. abstract="false" native="false" synchronized="false"
  8452. static="false" final="false" visibility="public"
  8453. deprecated="not deprecated">
  8454. <doc>
  8455. <![CDATA[@return the checksum output stream.]]>
  8456. </doc>
  8457. </method>
  8458. <method name="getChecksum" return="org.apache.hadoop.util.DataChecksum"
  8459. abstract="false" native="false" synchronized="false"
  8460. static="false" final="false" visibility="public"
  8461. deprecated="not deprecated">
  8462. <doc>
  8463. <![CDATA[@return the checksum.]]>
  8464. </doc>
  8465. </method>
  8466. <method name="isTransientStorage" return="boolean"
  8467. abstract="false" native="false" synchronized="false"
  8468. static="false" final="false" visibility="public"
  8469. deprecated="not deprecated">
  8470. <doc>
  8471. <![CDATA[@return is writing to a transient storage?]]>
  8472. </doc>
  8473. </method>
  8474. <method name="close"
  8475. abstract="false" native="false" synchronized="false"
  8476. static="false" final="false" visibility="public"
  8477. deprecated="not deprecated">
  8478. </method>
  8479. <method name="syncDataOut"
  8480. abstract="false" native="false" synchronized="false"
  8481. static="false" final="false" visibility="public"
  8482. deprecated="not deprecated">
  8483. <exception name="IOException" type="java.io.IOException"/>
  8484. <doc>
  8485. <![CDATA[Sync the data stream if it supports it.]]>
  8486. </doc>
  8487. </method>
  8488. <method name="syncChecksumOut"
  8489. abstract="false" native="false" synchronized="false"
  8490. static="false" final="false" visibility="public"
  8491. deprecated="not deprecated">
  8492. <exception name="IOException" type="java.io.IOException"/>
  8493. <doc>
  8494. <![CDATA[Sync the checksum stream if it supports it.]]>
  8495. </doc>
  8496. </method>
  8497. <doc>
  8498. <![CDATA[Contains the output streams for the data and checksum of a replica.]]>
  8499. </doc>
  8500. </class>
  8501. <!-- end class org.apache.hadoop.hdfs.server.datanode.fsdataset.ReplicaOutputStreams -->
  8502. <!-- start interface org.apache.hadoop.hdfs.server.datanode.fsdataset.RollingLogs -->
  8503. <interface name="RollingLogs" abstract="true"
  8504. static="false" final="false" visibility="public"
  8505. deprecated="not deprecated">
  8506. <method name="iterator" return="org.apache.hadoop.hdfs.server.datanode.fsdataset.RollingLogs.LineIterator"
  8507. abstract="false" native="false" synchronized="false"
  8508. static="false" final="false" visibility="public"
  8509. deprecated="not deprecated">
  8510. <param name="skipPrevious" type="boolean"/>
  8511. <exception name="IOException" type="java.io.IOException"/>
  8512. <doc>
  8513. <![CDATA[Create an iterator to iterate the lines in the logs.
  8514. @param skipPrevious Should it skip reading the previous log?
  8515. @return a new iterator.]]>
  8516. </doc>
  8517. </method>
  8518. <method name="appender" return="org.apache.hadoop.hdfs.server.datanode.fsdataset.RollingLogs.Appender"
  8519. abstract="false" native="false" synchronized="false"
  8520. static="false" final="false" visibility="public"
  8521. deprecated="not deprecated">
  8522. <doc>
  8523. <![CDATA[@return the only appender to append text to the logs.
  8524. The same object is returned if it is invoked multiple times.]]>
  8525. </doc>
  8526. </method>
  8527. <method name="roll" return="boolean"
  8528. abstract="false" native="false" synchronized="false"
  8529. static="false" final="false" visibility="public"
  8530. deprecated="not deprecated">
  8531. <exception name="IOException" type="java.io.IOException"/>
  8532. <doc>
  8533. <![CDATA[Roll current to previous.
  8534. @return true if the rolling succeeded.
  8535. When it returns false, it is not equivalent to an error.
  8536. It means that the rolling cannot be performed at the moment,
  8537. e.g. the logs are being read.]]>
  8538. </doc>
  8539. </method>
  8540. <doc>
  8541. <![CDATA[Rolling logs consist of a current log and a set of previous logs.
  8542. The implementation should support a single appender and multiple readers.]]>
  8543. </doc>
  8544. </interface>
  8545. <!-- end interface org.apache.hadoop.hdfs.server.datanode.fsdataset.RollingLogs -->
  8546. <!-- start interface org.apache.hadoop.hdfs.server.datanode.fsdataset.RollingLogs.Appender -->
  8547. <interface name="RollingLogs.Appender" abstract="true"
  8548. static="true" final="false" visibility="public"
  8549. deprecated="not deprecated">
  8550. <implements name="java.lang.Appendable"/>
  8551. <implements name="java.io.Closeable"/>
  8552. <doc>
  8553. <![CDATA[To append text to the logs.]]>
  8554. </doc>
  8555. </interface>
  8556. <!-- end interface org.apache.hadoop.hdfs.server.datanode.fsdataset.RollingLogs.Appender -->
  8557. <!-- start interface org.apache.hadoop.hdfs.server.datanode.fsdataset.RollingLogs.LineIterator -->
  8558. <interface name="RollingLogs.LineIterator" abstract="true"
  8559. static="true" final="false" visibility="public"
  8560. deprecated="not deprecated">
  8561. <implements name="java.util.Iterator"/>
  8562. <implements name="java.io.Closeable"/>
  8563. <method name="isPrevious" return="boolean"
  8564. abstract="false" native="false" synchronized="false"
  8565. static="false" final="false" visibility="public"
  8566. deprecated="not deprecated">
  8567. <doc>
  8568. <![CDATA[Is the iterator iterating the previous?]]>
  8569. </doc>
  8570. </method>
  8571. <method name="isLastReadFromPrevious" return="boolean"
  8572. abstract="false" native="false" synchronized="false"
  8573. static="false" final="false" visibility="public"
  8574. deprecated="not deprecated">
  8575. <doc>
  8576. <![CDATA[Is the last read entry from previous? This should be called after
  8577. reading.]]>
  8578. </doc>
  8579. </method>
  8580. <doc>
  8581. <![CDATA[To iterate the lines of the logs.]]>
  8582. </doc>
  8583. </interface>
  8584. <!-- end interface org.apache.hadoop.hdfs.server.datanode.fsdataset.RollingLogs.LineIterator -->
  8585. <!-- start class org.apache.hadoop.hdfs.server.datanode.fsdataset.RoundRobinVolumeChoosingPolicy -->
  8586. <class name="RoundRobinVolumeChoosingPolicy" extends="java.lang.Object"
  8587. abstract="false"
  8588. static="false" final="false" visibility="public"
  8589. deprecated="not deprecated">
  8590. <implements name="org.apache.hadoop.hdfs.server.datanode.fsdataset.VolumeChoosingPolicy"/>
  8591. <constructor name="RoundRobinVolumeChoosingPolicy"
  8592. static="false" final="false" visibility="public"
  8593. deprecated="not deprecated">
  8594. </constructor>
  8595. <method name="chooseVolume" return="V"
  8596. abstract="false" native="false" synchronized="true"
  8597. static="false" final="false" visibility="public"
  8598. deprecated="not deprecated">
  8599. <param name="volumes" type="java.util.List"/>
  8600. <param name="blockSize" type="long"/>
  8601. <exception name="IOException" type="java.io.IOException"/>
  8602. </method>
  8603. <field name="LOG" type="org.apache.commons.logging.Log"
  8604. transient="false" volatile="false"
  8605. static="true" final="true" visibility="public"
  8606. deprecated="not deprecated">
  8607. </field>
  8608. <doc>
  8609. <![CDATA[Choose volumes in round-robin order.]]>
  8610. </doc>
  8611. </class>
  8612. <!-- end class org.apache.hadoop.hdfs.server.datanode.fsdataset.RoundRobinVolumeChoosingPolicy -->
  8613. </package>
  8614. <package name="org.apache.hadoop.hdfs.server.datanode.fsdataset.impl">
  8615. <!-- start class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetCache.PageRounder -->
  8616. <class name="FsDatasetCache.PageRounder" extends="java.lang.Object"
  8617. abstract="false"
  8618. static="true" final="false" visibility="public"
  8619. deprecated="not deprecated">
  8620. <constructor name="FsDatasetCache.PageRounder"
  8621. static="false" final="false" visibility="public"
  8622. deprecated="not deprecated">
  8623. </constructor>
  8624. <method name="round" return="long"
  8625. abstract="false" native="false" synchronized="false"
  8626. static="false" final="false" visibility="public"
  8627. deprecated="not deprecated">
  8628. <param name="count" type="long"/>
  8629. <doc>
  8630. <![CDATA[Round up a number to the operating system page size.]]>
  8631. </doc>
  8632. </method>
  8633. </class>
  8634. <!-- end class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetCache.PageRounder -->
  8635. <!-- start class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetFactory -->
  8636. <class name="FsDatasetFactory" extends="org.apache.hadoop.hdfs.server.datanode.fsdataset.FsDatasetSpi.Factory"
  8637. abstract="false"
  8638. static="false" final="false" visibility="public"
  8639. deprecated="not deprecated">
  8640. <constructor name="FsDatasetFactory"
  8641. static="false" final="false" visibility="public"
  8642. deprecated="not deprecated">
  8643. </constructor>
  8644. <method name="newInstance" return="org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetImpl"
  8645. abstract="false" native="false" synchronized="false"
  8646. static="false" final="false" visibility="public"
  8647. deprecated="not deprecated">
  8648. <param name="datanode" type="org.apache.hadoop.hdfs.server.datanode.DataNode"/>
  8649. <param name="storage" type="org.apache.hadoop.hdfs.server.datanode.DataStorage"/>
  8650. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  8651. <exception name="IOException" type="java.io.IOException"/>
  8652. </method>
  8653. <doc>
  8654. <![CDATA[A factory for creating {@link FsDatasetImpl} objects.]]>
  8655. </doc>
  8656. </class>
  8657. <!-- end class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetFactory -->
  8658. </package>
  8659. <package name="org.apache.hadoop.hdfs.server.datanode.metrics">
  8660. </package>
  8661. <package name="org.apache.hadoop.hdfs.server.datanode.web.resources">
  8662. <!-- start class org.apache.hadoop.hdfs.server.datanode.web.resources.DatanodeWebHdfsMethods -->
  8663. <class name="DatanodeWebHdfsMethods" extends="java.lang.Object"
  8664. abstract="false"
  8665. static="false" final="false" visibility="public"
  8666. deprecated="not deprecated">
  8667. <constructor name="DatanodeWebHdfsMethods"
  8668. static="false" final="false" visibility="public"
  8669. deprecated="not deprecated">
  8670. </constructor>
  8671. <method name="putRoot" return="javax.ws.rs.core.Response"
  8672. abstract="false" native="false" synchronized="false"
  8673. static="false" final="false" visibility="public"
  8674. deprecated="not deprecated">
  8675. <param name="in" type="java.io.InputStream"/>
  8676. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  8677. <param name="delegation" type="org.apache.hadoop.hdfs.web.resources.DelegationParam"/>
  8678. <param name="namenode" type="org.apache.hadoop.hdfs.web.resources.NamenodeAddressParam"/>
  8679. <param name="op" type="org.apache.hadoop.hdfs.web.resources.PutOpParam"/>
  8680. <param name="permission" type="org.apache.hadoop.hdfs.web.resources.PermissionParam"/>
  8681. <param name="overwrite" type="org.apache.hadoop.hdfs.web.resources.OverwriteParam"/>
  8682. <param name="bufferSize" type="org.apache.hadoop.hdfs.web.resources.BufferSizeParam"/>
  8683. <param name="replication" type="org.apache.hadoop.hdfs.web.resources.ReplicationParam"/>
  8684. <param name="blockSize" type="org.apache.hadoop.hdfs.web.resources.BlockSizeParam"/>
  8685. <exception name="IOException" type="java.io.IOException"/>
  8686. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  8687. <doc>
  8688. <![CDATA[Handle HTTP PUT request for the root.]]>
  8689. </doc>
  8690. </method>
  8691. <method name="put" return="javax.ws.rs.core.Response"
  8692. abstract="false" native="false" synchronized="false"
  8693. static="false" final="false" visibility="public"
  8694. deprecated="not deprecated">
  8695. <param name="in" type="java.io.InputStream"/>
  8696. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  8697. <param name="delegation" type="org.apache.hadoop.hdfs.web.resources.DelegationParam"/>
  8698. <param name="namenode" type="org.apache.hadoop.hdfs.web.resources.NamenodeAddressParam"/>
  8699. <param name="path" type="org.apache.hadoop.hdfs.web.resources.UriFsPathParam"/>
  8700. <param name="op" type="org.apache.hadoop.hdfs.web.resources.PutOpParam"/>
  8701. <param name="permission" type="org.apache.hadoop.hdfs.web.resources.PermissionParam"/>
  8702. <param name="overwrite" type="org.apache.hadoop.hdfs.web.resources.OverwriteParam"/>
  8703. <param name="bufferSize" type="org.apache.hadoop.hdfs.web.resources.BufferSizeParam"/>
  8704. <param name="replication" type="org.apache.hadoop.hdfs.web.resources.ReplicationParam"/>
  8705. <param name="blockSize" type="org.apache.hadoop.hdfs.web.resources.BlockSizeParam"/>
  8706. <exception name="IOException" type="java.io.IOException"/>
  8707. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  8708. <doc>
  8709. <![CDATA[Handle HTTP PUT request.]]>
  8710. </doc>
  8711. </method>
  8712. <method name="postRoot" return="javax.ws.rs.core.Response"
  8713. abstract="false" native="false" synchronized="false"
  8714. static="false" final="false" visibility="public"
  8715. deprecated="not deprecated">
  8716. <param name="in" type="java.io.InputStream"/>
  8717. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  8718. <param name="delegation" type="org.apache.hadoop.hdfs.web.resources.DelegationParam"/>
  8719. <param name="namenode" type="org.apache.hadoop.hdfs.web.resources.NamenodeAddressParam"/>
  8720. <param name="op" type="org.apache.hadoop.hdfs.web.resources.PostOpParam"/>
  8721. <param name="bufferSize" type="org.apache.hadoop.hdfs.web.resources.BufferSizeParam"/>
  8722. <exception name="IOException" type="java.io.IOException"/>
  8723. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  8724. <doc>
  8725. <![CDATA[Handle HTTP POST request for the root for the root.]]>
  8726. </doc>
  8727. </method>
  8728. <method name="post" return="javax.ws.rs.core.Response"
  8729. abstract="false" native="false" synchronized="false"
  8730. static="false" final="false" visibility="public"
  8731. deprecated="not deprecated">
  8732. <param name="in" type="java.io.InputStream"/>
  8733. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  8734. <param name="delegation" type="org.apache.hadoop.hdfs.web.resources.DelegationParam"/>
  8735. <param name="namenode" type="org.apache.hadoop.hdfs.web.resources.NamenodeAddressParam"/>
  8736. <param name="path" type="org.apache.hadoop.hdfs.web.resources.UriFsPathParam"/>
  8737. <param name="op" type="org.apache.hadoop.hdfs.web.resources.PostOpParam"/>
  8738. <param name="bufferSize" type="org.apache.hadoop.hdfs.web.resources.BufferSizeParam"/>
  8739. <exception name="IOException" type="java.io.IOException"/>
  8740. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  8741. <doc>
  8742. <![CDATA[Handle HTTP POST request.]]>
  8743. </doc>
  8744. </method>
  8745. <method name="getRoot" return="javax.ws.rs.core.Response"
  8746. abstract="false" native="false" synchronized="false"
  8747. static="false" final="false" visibility="public"
  8748. deprecated="not deprecated">
  8749. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  8750. <param name="delegation" type="org.apache.hadoop.hdfs.web.resources.DelegationParam"/>
  8751. <param name="namenode" type="org.apache.hadoop.hdfs.web.resources.NamenodeAddressParam"/>
  8752. <param name="op" type="org.apache.hadoop.hdfs.web.resources.GetOpParam"/>
  8753. <param name="offset" type="org.apache.hadoop.hdfs.web.resources.OffsetParam"/>
  8754. <param name="length" type="org.apache.hadoop.hdfs.web.resources.LengthParam"/>
  8755. <param name="bufferSize" type="org.apache.hadoop.hdfs.web.resources.BufferSizeParam"/>
  8756. <exception name="IOException" type="java.io.IOException"/>
  8757. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  8758. <doc>
  8759. <![CDATA[Handle HTTP GET request for the root.]]>
  8760. </doc>
  8761. </method>
  8762. <method name="get" return="javax.ws.rs.core.Response"
  8763. abstract="false" native="false" synchronized="false"
  8764. static="false" final="false" visibility="public"
  8765. deprecated="not deprecated">
  8766. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  8767. <param name="delegation" type="org.apache.hadoop.hdfs.web.resources.DelegationParam"/>
  8768. <param name="namenode" type="org.apache.hadoop.hdfs.web.resources.NamenodeAddressParam"/>
  8769. <param name="path" type="org.apache.hadoop.hdfs.web.resources.UriFsPathParam"/>
  8770. <param name="op" type="org.apache.hadoop.hdfs.web.resources.GetOpParam"/>
  8771. <param name="offset" type="org.apache.hadoop.hdfs.web.resources.OffsetParam"/>
  8772. <param name="length" type="org.apache.hadoop.hdfs.web.resources.LengthParam"/>
  8773. <param name="bufferSize" type="org.apache.hadoop.hdfs.web.resources.BufferSizeParam"/>
  8774. <exception name="IOException" type="java.io.IOException"/>
  8775. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  8776. <doc>
  8777. <![CDATA[Handle HTTP GET request.]]>
  8778. </doc>
  8779. </method>
  8780. <field name="LOG" type="org.apache.commons.logging.Log"
  8781. transient="false" volatile="false"
  8782. static="true" final="true" visibility="public"
  8783. deprecated="not deprecated">
  8784. </field>
  8785. <doc>
  8786. <![CDATA[Web-hdfs DataNode implementation.]]>
  8787. </doc>
  8788. </class>
  8789. <!-- end class org.apache.hadoop.hdfs.server.datanode.web.resources.DatanodeWebHdfsMethods -->
  8790. <!-- start class org.apache.hadoop.hdfs.server.datanode.web.resources.OpenEntity -->
  8791. <class name="OpenEntity" extends="java.lang.Object"
  8792. abstract="false"
  8793. static="false" final="false" visibility="public"
  8794. deprecated="not deprecated">
  8795. <doc>
  8796. <![CDATA[A response entity for a HdfsDataInputStream.]]>
  8797. </doc>
  8798. </class>
  8799. <!-- end class org.apache.hadoop.hdfs.server.datanode.web.resources.OpenEntity -->
  8800. <!-- start class org.apache.hadoop.hdfs.server.datanode.web.resources.OpenEntity.Writer -->
  8801. <class name="OpenEntity.Writer" extends="java.lang.Object"
  8802. abstract="false"
  8803. static="true" final="false" visibility="public"
  8804. deprecated="not deprecated">
  8805. <implements name="javax.ws.rs.ext.MessageBodyWriter"/>
  8806. <constructor name="OpenEntity.Writer"
  8807. static="false" final="false" visibility="public"
  8808. deprecated="not deprecated">
  8809. </constructor>
  8810. <method name="isWriteable" return="boolean"
  8811. abstract="false" native="false" synchronized="false"
  8812. static="false" final="false" visibility="public"
  8813. deprecated="not deprecated">
  8814. <param name="clazz" type="java.lang.Class"/>
  8815. <param name="genericType" type="java.lang.reflect.Type"/>
  8816. <param name="annotations" type="java.lang.annotation.Annotation[]"/>
  8817. <param name="mediaType" type="javax.ws.rs.core.MediaType"/>
  8818. </method>
  8819. <method name="getSize" return="long"
  8820. abstract="false" native="false" synchronized="false"
  8821. static="false" final="false" visibility="public"
  8822. deprecated="not deprecated">
  8823. <param name="e" type="org.apache.hadoop.hdfs.server.datanode.web.resources.OpenEntity"/>
  8824. <param name="type" type="java.lang.Class"/>
  8825. <param name="genericType" type="java.lang.reflect.Type"/>
  8826. <param name="annotations" type="java.lang.annotation.Annotation[]"/>
  8827. <param name="mediaType" type="javax.ws.rs.core.MediaType"/>
  8828. </method>
  8829. <method name="writeTo"
  8830. abstract="false" native="false" synchronized="false"
  8831. static="false" final="false" visibility="public"
  8832. deprecated="not deprecated">
  8833. <param name="e" type="org.apache.hadoop.hdfs.server.datanode.web.resources.OpenEntity"/>
  8834. <param name="type" type="java.lang.Class"/>
  8835. <param name="genericType" type="java.lang.reflect.Type"/>
  8836. <param name="annotations" type="java.lang.annotation.Annotation[]"/>
  8837. <param name="mediaType" type="javax.ws.rs.core.MediaType"/>
  8838. <param name="httpHeaders" type="javax.ws.rs.core.MultivaluedMap"/>
  8839. <param name="out" type="java.io.OutputStream"/>
  8840. <exception name="IOException" type="java.io.IOException"/>
  8841. </method>
  8842. <doc>
  8843. <![CDATA[A {@link MessageBodyWriter} for {@link OpenEntity}.]]>
  8844. </doc>
  8845. </class>
  8846. <!-- end class org.apache.hadoop.hdfs.server.datanode.web.resources.OpenEntity.Writer -->
  8847. </package>
  8848. <package name="org.apache.hadoop.hdfs.server.mover">
  8849. </package>
  8850. <package name="org.apache.hadoop.hdfs.server.namenode">
  8851. <!-- start interface org.apache.hadoop.hdfs.server.namenode.AuditLogger -->
  8852. <interface name="AuditLogger" abstract="true"
  8853. static="false" final="false" visibility="public"
  8854. deprecated="not deprecated">
  8855. <method name="initialize"
  8856. abstract="false" native="false" synchronized="false"
  8857. static="false" final="false" visibility="public"
  8858. deprecated="not deprecated">
  8859. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  8860. <doc>
  8861. <![CDATA[Called during initialization of the logger.
  8862. @param conf The configuration object.]]>
  8863. </doc>
  8864. </method>
  8865. <method name="logAuditEvent"
  8866. abstract="false" native="false" synchronized="false"
  8867. static="false" final="false" visibility="public"
  8868. deprecated="not deprecated">
  8869. <param name="succeeded" type="boolean"/>
  8870. <param name="userName" type="java.lang.String"/>
  8871. <param name="addr" type="java.net.InetAddress"/>
  8872. <param name="cmd" type="java.lang.String"/>
  8873. <param name="src" type="java.lang.String"/>
  8874. <param name="dst" type="java.lang.String"/>
  8875. <param name="stat" type="org.apache.hadoop.fs.FileStatus"/>
  8876. <doc>
  8877. <![CDATA[Called to log an audit event.
  8878. <p>
  8879. This method must return as quickly as possible, since it's called
  8880. in a critical section of the NameNode's operation.
  8881. @param succeeded Whether authorization succeeded.
  8882. @param userName Name of the user executing the request.
  8883. @param addr Remote address of the request.
  8884. @param cmd The requested command.
  8885. @param src Path of affected source file.
  8886. @param dst Path of affected destination file (if any).
  8887. @param stat File information for operations that change the file's
  8888. metadata (permissions, owner, times, etc).]]>
  8889. </doc>
  8890. </method>
  8891. <doc>
  8892. <![CDATA[Interface defining an audit logger.]]>
  8893. </doc>
  8894. </interface>
  8895. <!-- end interface org.apache.hadoop.hdfs.server.namenode.AuditLogger -->
  8896. <!-- start class org.apache.hadoop.hdfs.server.namenode.CacheManager.PersistState -->
  8897. <class name="CacheManager.PersistState" extends="java.lang.Object"
  8898. abstract="false"
  8899. static="true" final="true" visibility="public"
  8900. deprecated="not deprecated">
  8901. <constructor name="CacheManager.PersistState" type="org.apache.hadoop.hdfs.server.namenode.FsImageProto.CacheManagerSection, java.util.List, java.util.List"
  8902. static="false" final="false" visibility="public"
  8903. deprecated="not deprecated">
  8904. </constructor>
  8905. <field name="section" type="org.apache.hadoop.hdfs.server.namenode.FsImageProto.CacheManagerSection"
  8906. transient="false" volatile="false"
  8907. static="false" final="true" visibility="public"
  8908. deprecated="not deprecated">
  8909. </field>
  8910. <field name="pools" type="java.util.List"
  8911. transient="false" volatile="false"
  8912. static="false" final="true" visibility="public"
  8913. deprecated="not deprecated">
  8914. </field>
  8915. <field name="directives" type="java.util.List"
  8916. transient="false" volatile="false"
  8917. static="false" final="true" visibility="public"
  8918. deprecated="not deprecated">
  8919. </field>
  8920. </class>
  8921. <!-- end class org.apache.hadoop.hdfs.server.namenode.CacheManager.PersistState -->
  8922. <!-- start class org.apache.hadoop.hdfs.server.namenode.CachePool.DirectiveList -->
  8923. <class name="CachePool.DirectiveList" extends="org.apache.hadoop.util.IntrusiveCollection"
  8924. abstract="false"
  8925. static="true" final="true" visibility="public"
  8926. deprecated="not deprecated">
  8927. <method name="getCachePool" return="org.apache.hadoop.hdfs.server.namenode.CachePool"
  8928. abstract="false" native="false" synchronized="false"
  8929. static="false" final="false" visibility="public"
  8930. deprecated="not deprecated">
  8931. </method>
  8932. </class>
  8933. <!-- end class org.apache.hadoop.hdfs.server.namenode.CachePool.DirectiveList -->
  8934. <!-- start class org.apache.hadoop.hdfs.server.namenode.CancelDelegationTokenServlet -->
  8935. <class name="CancelDelegationTokenServlet" extends="org.apache.hadoop.hdfs.server.namenode.DfsServlet"
  8936. abstract="false"
  8937. static="false" final="false" visibility="public"
  8938. deprecated="not deprecated">
  8939. <constructor name="CancelDelegationTokenServlet"
  8940. static="false" final="false" visibility="public"
  8941. deprecated="not deprecated">
  8942. </constructor>
  8943. <method name="doGet"
  8944. abstract="false" native="false" synchronized="false"
  8945. static="false" final="false" visibility="protected"
  8946. deprecated="not deprecated">
  8947. <param name="req" type="javax.servlet.http.HttpServletRequest"/>
  8948. <param name="resp" type="javax.servlet.http.HttpServletResponse"/>
  8949. <exception name="ServletException" type="javax.servlet.ServletException"/>
  8950. <exception name="IOException" type="java.io.IOException"/>
  8951. </method>
  8952. <field name="PATH_SPEC" type="java.lang.String"
  8953. transient="false" volatile="false"
  8954. static="true" final="true" visibility="public"
  8955. deprecated="not deprecated">
  8956. </field>
  8957. <field name="TOKEN" type="java.lang.String"
  8958. transient="false" volatile="false"
  8959. static="true" final="true" visibility="public"
  8960. deprecated="not deprecated">
  8961. </field>
  8962. <doc>
  8963. <![CDATA[Cancel delegation tokens over http for use in hftp.]]>
  8964. </doc>
  8965. </class>
  8966. <!-- end class org.apache.hadoop.hdfs.server.namenode.CancelDelegationTokenServlet -->
  8967. <!-- start class org.apache.hadoop.hdfs.server.namenode.Content -->
  8968. <class name="Content" extends="java.lang.Enum"
  8969. abstract="false"
  8970. static="false" final="true" visibility="public"
  8971. deprecated="not deprecated">
  8972. <method name="values" return="org.apache.hadoop.hdfs.server.namenode.Content[]"
  8973. abstract="false" native="false" synchronized="false"
  8974. static="true" final="false" visibility="public"
  8975. deprecated="not deprecated">
  8976. </method>
  8977. <method name="valueOf" return="org.apache.hadoop.hdfs.server.namenode.Content"
  8978. abstract="false" native="false" synchronized="false"
  8979. static="true" final="false" visibility="public"
  8980. deprecated="not deprecated">
  8981. <param name="name" type="java.lang.String"/>
  8982. </method>
  8983. <doc>
  8984. <![CDATA[The content types such as file, directory and symlink to be computed.]]>
  8985. </doc>
  8986. </class>
  8987. <!-- end class org.apache.hadoop.hdfs.server.namenode.Content -->
  8988. <!-- start class org.apache.hadoop.hdfs.server.namenode.Content.Counts -->
  8989. <class name="Content.Counts" extends="org.apache.hadoop.hdfs.util.EnumCounters"
  8990. abstract="false"
  8991. static="true" final="false" visibility="public"
  8992. deprecated="not deprecated">
  8993. <method name="newInstance" return="org.apache.hadoop.hdfs.server.namenode.Content.Counts"
  8994. abstract="false" native="false" synchronized="false"
  8995. static="true" final="false" visibility="public"
  8996. deprecated="not deprecated">
  8997. </method>
  8998. <doc>
  8999. <![CDATA[Content counts.]]>
  9000. </doc>
  9001. </class>
  9002. <!-- end class org.apache.hadoop.hdfs.server.namenode.Content.Counts -->
  9003. <!-- start class org.apache.hadoop.hdfs.server.namenode.Content.CountsMap -->
  9004. <class name="Content.CountsMap" extends="org.apache.hadoop.hdfs.util.EnumCounters.Map"
  9005. abstract="false"
  9006. static="true" final="false" visibility="public"
  9007. deprecated="not deprecated">
  9008. <doc>
  9009. <![CDATA[A map of counters for the current state and the snapshots.]]>
  9010. </doc>
  9011. </class>
  9012. <!-- end class org.apache.hadoop.hdfs.server.namenode.Content.CountsMap -->
  9013. <!-- start class org.apache.hadoop.hdfs.server.namenode.Content.CountsMap.Key -->
  9014. <class name="Content.CountsMap.Key" extends="java.lang.Enum"
  9015. abstract="false"
  9016. static="true" final="true" visibility="public"
  9017. deprecated="not deprecated">
  9018. <method name="values" return="org.apache.hadoop.hdfs.server.namenode.Content.CountsMap.Key[]"
  9019. abstract="false" native="false" synchronized="false"
  9020. static="true" final="false" visibility="public"
  9021. deprecated="not deprecated">
  9022. </method>
  9023. <method name="valueOf" return="org.apache.hadoop.hdfs.server.namenode.Content.CountsMap.Key"
  9024. abstract="false" native="false" synchronized="false"
  9025. static="true" final="false" visibility="public"
  9026. deprecated="not deprecated">
  9027. <param name="name" type="java.lang.String"/>
  9028. </method>
  9029. <doc>
  9030. <![CDATA[The key type of the map.]]>
  9031. </doc>
  9032. </class>
  9033. <!-- end class org.apache.hadoop.hdfs.server.namenode.Content.CountsMap.Key -->
  9034. <!-- start class org.apache.hadoop.hdfs.server.namenode.DirectoryWithQuotaFeature -->
  9035. <class name="DirectoryWithQuotaFeature" extends="java.lang.Object"
  9036. abstract="false"
  9037. static="false" final="true" visibility="public"
  9038. deprecated="not deprecated">
  9039. <implements name="org.apache.hadoop.hdfs.server.namenode.INode.Feature"/>
  9040. <method name="addSpaceConsumed2Cache"
  9041. abstract="false" native="false" synchronized="false"
  9042. static="false" final="false" visibility="public"
  9043. deprecated="not deprecated">
  9044. <param name="nsDelta" type="long"/>
  9045. <param name="dsDelta" type="long"/>
  9046. <doc>
  9047. <![CDATA[Update the size of the tree
  9048. @param nsDelta the change of the tree size
  9049. @param dsDelta change to disk space occupied]]>
  9050. </doc>
  9051. </method>
  9052. <method name="getSpaceConsumed" return="org.apache.hadoop.hdfs.server.namenode.Quota.Counts"
  9053. abstract="false" native="false" synchronized="false"
  9054. static="false" final="false" visibility="public"
  9055. deprecated="not deprecated">
  9056. <doc>
  9057. <![CDATA[@return the namespace and diskspace consumed.]]>
  9058. </doc>
  9059. </method>
  9060. <method name="toString" return="java.lang.String"
  9061. abstract="false" native="false" synchronized="false"
  9062. static="false" final="false" visibility="public"
  9063. deprecated="not deprecated">
  9064. </method>
  9065. <field name="DEFAULT_NAMESPACE_QUOTA" type="long"
  9066. transient="false" volatile="false"
  9067. static="true" final="true" visibility="public"
  9068. deprecated="not deprecated">
  9069. </field>
  9070. <field name="DEFAULT_DISKSPACE_QUOTA" type="long"
  9071. transient="false" volatile="false"
  9072. static="true" final="true" visibility="public"
  9073. deprecated="not deprecated">
  9074. </field>
  9075. <doc>
  9076. <![CDATA[Quota feature for {@link INodeDirectory}.]]>
  9077. </doc>
  9078. </class>
  9079. <!-- end class org.apache.hadoop.hdfs.server.namenode.DirectoryWithQuotaFeature -->
  9080. <!-- start class org.apache.hadoop.hdfs.server.namenode.EncryptionFaultInjector -->
  9081. <class name="EncryptionFaultInjector" extends="java.lang.Object"
  9082. abstract="false"
  9083. static="false" final="false" visibility="public"
  9084. deprecated="not deprecated">
  9085. <constructor name="EncryptionFaultInjector"
  9086. static="false" final="false" visibility="public"
  9087. deprecated="not deprecated">
  9088. </constructor>
  9089. <method name="getInstance" return="org.apache.hadoop.hdfs.server.namenode.EncryptionFaultInjector"
  9090. abstract="false" native="false" synchronized="false"
  9091. static="true" final="false" visibility="public"
  9092. deprecated="not deprecated">
  9093. </method>
  9094. <method name="startFileAfterGenerateKey"
  9095. abstract="false" native="false" synchronized="false"
  9096. static="false" final="false" visibility="public"
  9097. deprecated="not deprecated">
  9098. <exception name="IOException" type="java.io.IOException"/>
  9099. </method>
  9100. <field name="instance" type="org.apache.hadoop.hdfs.server.namenode.EncryptionFaultInjector"
  9101. transient="false" volatile="false"
  9102. static="true" final="false" visibility="public"
  9103. deprecated="not deprecated">
  9104. </field>
  9105. <doc>
  9106. <![CDATA[Used to inject certain faults for testing.]]>
  9107. </doc>
  9108. </class>
  9109. <!-- end class org.apache.hadoop.hdfs.server.namenode.EncryptionFaultInjector -->
  9110. <!-- start class org.apache.hadoop.hdfs.server.namenode.EncryptionZoneManager -->
  9111. <class name="EncryptionZoneManager" extends="java.lang.Object"
  9112. abstract="false"
  9113. static="false" final="false" visibility="public"
  9114. deprecated="not deprecated">
  9115. <constructor name="EncryptionZoneManager" type="org.apache.hadoop.hdfs.server.namenode.FSDirectory, org.apache.hadoop.conf.Configuration"
  9116. static="false" final="false" visibility="public"
  9117. deprecated="not deprecated">
  9118. <doc>
  9119. <![CDATA[Construct a new EncryptionZoneManager.
  9120. @param dir Enclosing FSDirectory]]>
  9121. </doc>
  9122. </constructor>
  9123. <field name="LOG" type="org.slf4j.Logger"
  9124. transient="false" volatile="false"
  9125. static="true" final="false" visibility="public"
  9126. deprecated="not deprecated">
  9127. </field>
  9128. <doc>
  9129. <![CDATA[Manages the list of encryption zones in the filesystem.
  9130. <p/>
  9131. The EncryptionZoneManager has its own lock, but relies on the FSDirectory
  9132. lock being held for many operations. The FSDirectory lock should not be
  9133. taken if the manager lock is already held.]]>
  9134. </doc>
  9135. </class>
  9136. <!-- end class org.apache.hadoop.hdfs.server.namenode.EncryptionZoneManager -->
  9137. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.PositionTrackingInputStream -->
  9138. <class name="FSEditLogLoader.PositionTrackingInputStream" extends="java.io.FilterInputStream"
  9139. abstract="false"
  9140. static="true" final="false" visibility="public"
  9141. deprecated="not deprecated">
  9142. <implements name="org.apache.hadoop.hdfs.server.namenode.StreamLimiter"/>
  9143. <constructor name="FSEditLogLoader.PositionTrackingInputStream" type="java.io.InputStream"
  9144. static="false" final="false" visibility="public"
  9145. deprecated="not deprecated">
  9146. </constructor>
  9147. <method name="read" return="int"
  9148. abstract="false" native="false" synchronized="false"
  9149. static="false" final="false" visibility="public"
  9150. deprecated="not deprecated">
  9151. <exception name="IOException" type="java.io.IOException"/>
  9152. </method>
  9153. <method name="read" return="int"
  9154. abstract="false" native="false" synchronized="false"
  9155. static="false" final="false" visibility="public"
  9156. deprecated="not deprecated">
  9157. <param name="data" type="byte[]"/>
  9158. <exception name="IOException" type="java.io.IOException"/>
  9159. </method>
  9160. <method name="read" return="int"
  9161. abstract="false" native="false" synchronized="false"
  9162. static="false" final="false" visibility="public"
  9163. deprecated="not deprecated">
  9164. <param name="data" type="byte[]"/>
  9165. <param name="offset" type="int"/>
  9166. <param name="length" type="int"/>
  9167. <exception name="IOException" type="java.io.IOException"/>
  9168. </method>
  9169. <method name="setLimit"
  9170. abstract="false" native="false" synchronized="false"
  9171. static="false" final="false" visibility="public"
  9172. deprecated="not deprecated">
  9173. <param name="limit" type="long"/>
  9174. </method>
  9175. <method name="clearLimit"
  9176. abstract="false" native="false" synchronized="false"
  9177. static="false" final="false" visibility="public"
  9178. deprecated="not deprecated">
  9179. </method>
  9180. <method name="mark"
  9181. abstract="false" native="false" synchronized="false"
  9182. static="false" final="false" visibility="public"
  9183. deprecated="not deprecated">
  9184. <param name="limit" type="int"/>
  9185. </method>
  9186. <method name="reset"
  9187. abstract="false" native="false" synchronized="false"
  9188. static="false" final="false" visibility="public"
  9189. deprecated="not deprecated">
  9190. <exception name="IOException" type="java.io.IOException"/>
  9191. </method>
  9192. <method name="getPos" return="long"
  9193. abstract="false" native="false" synchronized="false"
  9194. static="false" final="false" visibility="public"
  9195. deprecated="not deprecated">
  9196. </method>
  9197. <method name="skip" return="long"
  9198. abstract="false" native="false" synchronized="false"
  9199. static="false" final="false" visibility="public"
  9200. deprecated="not deprecated">
  9201. <param name="amt" type="long"/>
  9202. <exception name="IOException" type="java.io.IOException"/>
  9203. </method>
  9204. <doc>
  9205. <![CDATA[Stream wrapper that keeps track of the current stream position.
  9206. This stream also allows us to set a limit on how many bytes we can read
  9207. without getting an exception.]]>
  9208. </doc>
  9209. </class>
  9210. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.PositionTrackingInputStream -->
  9211. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSEditLogOp.OpInstanceCache -->
  9212. <class name="FSEditLogOp.OpInstanceCache" extends="java.lang.Object"
  9213. abstract="false"
  9214. static="true" final="true" visibility="public"
  9215. deprecated="not deprecated">
  9216. <constructor name="FSEditLogOp.OpInstanceCache"
  9217. static="false" final="false" visibility="public"
  9218. deprecated="not deprecated">
  9219. </constructor>
  9220. <method name="get" return="org.apache.hadoop.hdfs.server.namenode.FSEditLogOp"
  9221. abstract="false" native="false" synchronized="false"
  9222. static="false" final="false" visibility="public"
  9223. deprecated="not deprecated">
  9224. <param name="opcode" type="org.apache.hadoop.hdfs.server.namenode.FSEditLogOpCodes"/>
  9225. </method>
  9226. </class>
  9227. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSEditLogOp.OpInstanceCache -->
  9228. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSEditLogOp.Reader -->
  9229. <class name="FSEditLogOp.Reader" extends="java.lang.Object"
  9230. abstract="false"
  9231. static="true" final="false" visibility="public"
  9232. deprecated="not deprecated">
  9233. <constructor name="FSEditLogOp.Reader" type="java.io.DataInputStream, org.apache.hadoop.hdfs.server.namenode.StreamLimiter, int"
  9234. static="false" final="false" visibility="public"
  9235. deprecated="not deprecated">
  9236. <doc>
  9237. <![CDATA[Construct the reader
  9238. @param in The stream to read from.
  9239. @param logVersion The version of the data coming from the stream.]]>
  9240. </doc>
  9241. </constructor>
  9242. <method name="setMaxOpSize"
  9243. abstract="false" native="false" synchronized="false"
  9244. static="false" final="false" visibility="public"
  9245. deprecated="not deprecated">
  9246. <param name="maxOpSize" type="int"/>
  9247. </method>
  9248. <method name="readOp" return="org.apache.hadoop.hdfs.server.namenode.FSEditLogOp"
  9249. abstract="false" native="false" synchronized="false"
  9250. static="false" final="false" visibility="public"
  9251. deprecated="not deprecated">
  9252. <param name="skipBrokenEdits" type="boolean"/>
  9253. <exception name="IOException" type="java.io.IOException"/>
  9254. <doc>
  9255. <![CDATA[Read an operation from the input stream.
  9256. Note that the objects returned from this method may be re-used by future
  9257. calls to the same method.
  9258. @param skipBrokenEdits If true, attempt to skip over damaged parts of
  9259. the input stream, rather than throwing an IOException
  9260. @return the operation read from the stream, or null at the end of the
  9261. file
  9262. @throws IOException on error. This function should only throw an
  9263. exception when skipBrokenEdits is false.]]>
  9264. </doc>
  9265. </method>
  9266. <method name="scanOp" return="long"
  9267. abstract="false" native="false" synchronized="false"
  9268. static="false" final="false" visibility="public"
  9269. deprecated="not deprecated">
  9270. <exception name="IOException" type="java.io.IOException"/>
  9271. <doc>
  9272. <![CDATA[Similar with decodeOp(), but instead of doing the real decoding, we skip
  9273. the content of the op if the length of the editlog is supported.
  9274. @return the last txid of the segment, or INVALID_TXID on exception]]>
  9275. </doc>
  9276. </method>
  9277. <doc>
  9278. <![CDATA[Class for reading editlog ops from a stream]]>
  9279. </doc>
  9280. </class>
  9281. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSEditLogOp.Reader -->
  9282. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSEditLogOp.Writer -->
  9283. <class name="FSEditLogOp.Writer" extends="java.lang.Object"
  9284. abstract="false"
  9285. static="true" final="false" visibility="public"
  9286. deprecated="not deprecated">
  9287. <constructor name="FSEditLogOp.Writer" type="org.apache.hadoop.io.DataOutputBuffer"
  9288. static="false" final="false" visibility="public"
  9289. deprecated="not deprecated">
  9290. </constructor>
  9291. <method name="writeOp"
  9292. abstract="false" native="false" synchronized="false"
  9293. static="false" final="false" visibility="public"
  9294. deprecated="not deprecated">
  9295. <param name="op" type="org.apache.hadoop.hdfs.server.namenode.FSEditLogOp"/>
  9296. <exception name="IOException" type="java.io.IOException"/>
  9297. <doc>
  9298. <![CDATA[Write an operation to the output stream
  9299. @param op The operation to write
  9300. @throws IOException if an error occurs during writing.]]>
  9301. </doc>
  9302. </method>
  9303. <doc>
  9304. <![CDATA[Class for writing editlog ops]]>
  9305. </doc>
  9306. </class>
  9307. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSEditLogOp.Writer -->
  9308. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSImageFormat.Loader -->
  9309. <class name="FSImageFormat.Loader" extends="java.lang.Object"
  9310. abstract="false"
  9311. static="true" final="false" visibility="public"
  9312. deprecated="not deprecated">
  9313. <implements name="org.apache.hadoop.hdfs.server.namenode.FSImageFormat.AbstractLoader"/>
  9314. <method name="getLoadedImageMd5" return="org.apache.hadoop.io.MD5Hash"
  9315. abstract="false" native="false" synchronized="false"
  9316. static="false" final="false" visibility="public"
  9317. deprecated="not deprecated">
  9318. <doc>
  9319. <![CDATA[Return the MD5 checksum of the image that has been loaded.
  9320. @throws IllegalStateException if load() has not yet been called.]]>
  9321. </doc>
  9322. </method>
  9323. <method name="getLoadedImageTxId" return="long"
  9324. abstract="false" native="false" synchronized="false"
  9325. static="false" final="false" visibility="public"
  9326. deprecated="not deprecated">
  9327. </method>
  9328. <method name="load"
  9329. abstract="false" native="false" synchronized="false"
  9330. static="false" final="false" visibility="public"
  9331. deprecated="not deprecated">
  9332. <param name="curFile" type="java.io.File"/>
  9333. <exception name="IOException" type="java.io.IOException"/>
  9334. </method>
  9335. <method name="updateBlocksMap"
  9336. abstract="false" native="false" synchronized="false"
  9337. static="false" final="false" visibility="public"
  9338. deprecated="not deprecated">
  9339. <param name="file" type="org.apache.hadoop.hdfs.server.namenode.INodeFile"/>
  9340. </method>
  9341. <method name="getFSDirectoryInLoading" return="org.apache.hadoop.hdfs.server.namenode.FSDirectory"
  9342. abstract="false" native="false" synchronized="false"
  9343. static="false" final="false" visibility="public"
  9344. deprecated="not deprecated">
  9345. <doc>
  9346. <![CDATA[@return The FSDirectory of the namesystem where the fsimage is loaded]]>
  9347. </doc>
  9348. </method>
  9349. <method name="loadINodeWithLocalName" return="org.apache.hadoop.hdfs.server.namenode.INode"
  9350. abstract="false" native="false" synchronized="false"
  9351. static="false" final="false" visibility="public"
  9352. deprecated="not deprecated">
  9353. <param name="isSnapshotINode" type="boolean"/>
  9354. <param name="in" type="java.io.DataInput"/>
  9355. <param name="updateINodeMap" type="boolean"/>
  9356. <exception name="IOException" type="java.io.IOException"/>
  9357. </method>
  9358. <method name="loadINodeWithLocalName" return="org.apache.hadoop.hdfs.server.namenode.INode"
  9359. abstract="false" native="false" synchronized="false"
  9360. static="false" final="false" visibility="public"
  9361. deprecated="not deprecated">
  9362. <param name="isSnapshotINode" type="boolean"/>
  9363. <param name="in" type="java.io.DataInput"/>
  9364. <param name="updateINodeMap" type="boolean"/>
  9365. <param name="counter" type="org.apache.hadoop.hdfs.server.namenode.startupprogress.StartupProgress.Counter"/>
  9366. <exception name="IOException" type="java.io.IOException"/>
  9367. </method>
  9368. <method name="loadINodeFileAttributes" return="org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes"
  9369. abstract="false" native="false" synchronized="false"
  9370. static="false" final="false" visibility="public"
  9371. deprecated="not deprecated">
  9372. <param name="in" type="java.io.DataInput"/>
  9373. <exception name="IOException" type="java.io.IOException"/>
  9374. <doc>
  9375. <![CDATA[Load {@link INodeFileAttributes}.]]>
  9376. </doc>
  9377. </method>
  9378. <method name="loadINodeDirectoryAttributes" return="org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes"
  9379. abstract="false" native="false" synchronized="false"
  9380. static="false" final="false" visibility="public"
  9381. deprecated="not deprecated">
  9382. <param name="in" type="java.io.DataInput"/>
  9383. <exception name="IOException" type="java.io.IOException"/>
  9384. </method>
  9385. <method name="getSnapshot" return="org.apache.hadoop.hdfs.server.namenode.snapshot.Snapshot"
  9386. abstract="false" native="false" synchronized="false"
  9387. static="false" final="false" visibility="public"
  9388. deprecated="not deprecated">
  9389. <param name="in" type="java.io.DataInput"/>
  9390. <exception name="IOException" type="java.io.IOException"/>
  9391. </method>
  9392. <doc>
  9393. <![CDATA[A one-shot class responsible for loading an image. The load() function
  9394. should be called once, after which the getter methods may be used to retrieve
  9395. information about the image that was loaded, if loading was successful.]]>
  9396. </doc>
  9397. </class>
  9398. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSImageFormat.Loader -->
  9399. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSImageFormatPBINode.Loader -->
  9400. <class name="FSImageFormatPBINode.Loader" extends="java.lang.Object"
  9401. abstract="false"
  9402. static="true" final="true" visibility="public"
  9403. deprecated="not deprecated">
  9404. <method name="loadPermission" return="org.apache.hadoop.fs.permission.PermissionStatus"
  9405. abstract="false" native="false" synchronized="false"
  9406. static="true" final="false" visibility="public"
  9407. deprecated="not deprecated">
  9408. <param name="id" type="long"/>
  9409. <param name="stringTable" type="java.lang.String[]"/>
  9410. </method>
  9411. <method name="loadAclEntries" return="com.google.common.collect.ImmutableList"
  9412. abstract="false" native="false" synchronized="false"
  9413. static="true" final="false" visibility="public"
  9414. deprecated="not deprecated">
  9415. <param name="proto" type="org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.AclFeatureProto"/>
  9416. <param name="stringTable" type="java.lang.String[]"/>
  9417. </method>
  9418. <method name="loadXAttrs" return="com.google.common.collect.ImmutableList"
  9419. abstract="false" native="false" synchronized="false"
  9420. static="true" final="false" visibility="public"
  9421. deprecated="not deprecated">
  9422. <param name="proto" type="org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.XAttrFeatureProto"/>
  9423. <param name="stringTable" type="java.lang.String[]"/>
  9424. </method>
  9425. <method name="loadINodeDirectory" return="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"
  9426. abstract="false" native="false" synchronized="false"
  9427. static="true" final="false" visibility="public"
  9428. deprecated="not deprecated">
  9429. <param name="n" type="org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.INode"/>
  9430. <param name="state" type="org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.LoaderContext"/>
  9431. </method>
  9432. <method name="updateBlocksMap"
  9433. abstract="false" native="false" synchronized="false"
  9434. static="true" final="false" visibility="public"
  9435. deprecated="not deprecated">
  9436. <param name="file" type="org.apache.hadoop.hdfs.server.namenode.INodeFile"/>
  9437. <param name="bm" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockManager"/>
  9438. </method>
  9439. </class>
  9440. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSImageFormatPBINode.Loader -->
  9441. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSImageFormatPBINode.Saver -->
  9442. <class name="FSImageFormatPBINode.Saver" extends="java.lang.Object"
  9443. abstract="false"
  9444. static="true" final="true" visibility="public"
  9445. deprecated="not deprecated">
  9446. <method name="buildINodeFile" return="org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.INodeFile.Builder"
  9447. abstract="false" native="false" synchronized="false"
  9448. static="true" final="false" visibility="public"
  9449. deprecated="not deprecated">
  9450. <param name="file" type="org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes"/>
  9451. <param name="state" type="org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.SaverContext"/>
  9452. </method>
  9453. <method name="buildINodeDirectory" return="org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.INodeDirectory.Builder"
  9454. abstract="false" native="false" synchronized="false"
  9455. static="true" final="false" visibility="public"
  9456. deprecated="not deprecated">
  9457. <param name="dir" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes"/>
  9458. <param name="state" type="org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.SaverContext"/>
  9459. </method>
  9460. </class>
  9461. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSImageFormatPBINode.Saver -->
  9462. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.Loader -->
  9463. <class name="FSImageFormatProtobuf.Loader" extends="java.lang.Object"
  9464. abstract="false"
  9465. static="true" final="true" visibility="public"
  9466. deprecated="not deprecated">
  9467. <implements name="org.apache.hadoop.hdfs.server.namenode.FSImageFormat.AbstractLoader"/>
  9468. <method name="getLoadedImageMd5" return="org.apache.hadoop.io.MD5Hash"
  9469. abstract="false" native="false" synchronized="false"
  9470. static="false" final="false" visibility="public"
  9471. deprecated="not deprecated">
  9472. </method>
  9473. <method name="getLoadedImageTxId" return="long"
  9474. abstract="false" native="false" synchronized="false"
  9475. static="false" final="false" visibility="public"
  9476. deprecated="not deprecated">
  9477. </method>
  9478. <method name="getLoaderContext" return="org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.LoaderContext"
  9479. abstract="false" native="false" synchronized="false"
  9480. static="false" final="false" visibility="public"
  9481. deprecated="not deprecated">
  9482. </method>
  9483. </class>
  9484. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.Loader -->
  9485. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.LoaderContext -->
  9486. <class name="FSImageFormatProtobuf.LoaderContext" extends="java.lang.Object"
  9487. abstract="false"
  9488. static="true" final="true" visibility="public"
  9489. deprecated="not deprecated">
  9490. <constructor name="FSImageFormatProtobuf.LoaderContext"
  9491. static="false" final="false" visibility="public"
  9492. deprecated="not deprecated">
  9493. </constructor>
  9494. <method name="getStringTable" return="java.lang.String[]"
  9495. abstract="false" native="false" synchronized="false"
  9496. static="false" final="false" visibility="public"
  9497. deprecated="not deprecated">
  9498. </method>
  9499. <method name="getRefList" return="java.util.ArrayList"
  9500. abstract="false" native="false" synchronized="false"
  9501. static="false" final="false" visibility="public"
  9502. deprecated="not deprecated">
  9503. </method>
  9504. </class>
  9505. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.LoaderContext -->
  9506. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.Saver -->
  9507. <class name="FSImageFormatProtobuf.Saver" extends="java.lang.Object"
  9508. abstract="false"
  9509. static="true" final="true" visibility="public"
  9510. deprecated="not deprecated">
  9511. <method name="getSavedDigest" return="org.apache.hadoop.io.MD5Hash"
  9512. abstract="false" native="false" synchronized="false"
  9513. static="false" final="false" visibility="public"
  9514. deprecated="not deprecated">
  9515. </method>
  9516. <method name="getContext" return="org.apache.hadoop.hdfs.server.namenode.SaveNamespaceContext"
  9517. abstract="false" native="false" synchronized="false"
  9518. static="false" final="false" visibility="public"
  9519. deprecated="not deprecated">
  9520. </method>
  9521. <method name="getSaverContext" return="org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.SaverContext"
  9522. abstract="false" native="false" synchronized="false"
  9523. static="false" final="false" visibility="public"
  9524. deprecated="not deprecated">
  9525. </method>
  9526. <method name="commitSection"
  9527. abstract="false" native="false" synchronized="false"
  9528. static="false" final="false" visibility="public"
  9529. deprecated="not deprecated">
  9530. <param name="summary" type="org.apache.hadoop.hdfs.server.namenode.FsImageProto.FileSummary.Builder"/>
  9531. <param name="name" type="org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.SectionName"/>
  9532. <exception name="IOException" type="java.io.IOException"/>
  9533. </method>
  9534. <field name="CHECK_CANCEL_INTERVAL" type="int"
  9535. transient="false" volatile="false"
  9536. static="true" final="true" visibility="public"
  9537. deprecated="not deprecated">
  9538. </field>
  9539. </class>
  9540. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.Saver -->
  9541. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.SaverContext -->
  9542. <class name="FSImageFormatProtobuf.SaverContext" extends="java.lang.Object"
  9543. abstract="false"
  9544. static="true" final="true" visibility="public"
  9545. deprecated="not deprecated">
  9546. <constructor name="FSImageFormatProtobuf.SaverContext"
  9547. static="false" final="false" visibility="public"
  9548. deprecated="not deprecated">
  9549. </constructor>
  9550. <method name="getStringMap" return="org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.SaverContext.DeduplicationMap"
  9551. abstract="false" native="false" synchronized="false"
  9552. static="false" final="false" visibility="public"
  9553. deprecated="not deprecated">
  9554. </method>
  9555. <method name="getRefList" return="java.util.ArrayList"
  9556. abstract="false" native="false" synchronized="false"
  9557. static="false" final="false" visibility="public"
  9558. deprecated="not deprecated">
  9559. </method>
  9560. </class>
  9561. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.SaverContext -->
  9562. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.SaverContext.DeduplicationMap -->
  9563. <class name="FSImageFormatProtobuf.SaverContext.DeduplicationMap" extends="java.lang.Object"
  9564. abstract="false"
  9565. static="true" final="false" visibility="public"
  9566. deprecated="not deprecated">
  9567. </class>
  9568. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.SaverContext.DeduplicationMap -->
  9569. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.SectionName -->
  9570. <class name="FSImageFormatProtobuf.SectionName" extends="java.lang.Enum"
  9571. abstract="false"
  9572. static="true" final="true" visibility="public"
  9573. deprecated="not deprecated">
  9574. <method name="values" return="org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.SectionName[]"
  9575. abstract="false" native="false" synchronized="false"
  9576. static="true" final="false" visibility="public"
  9577. deprecated="not deprecated">
  9578. </method>
  9579. <method name="valueOf" return="org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.SectionName"
  9580. abstract="false" native="false" synchronized="false"
  9581. static="true" final="false" visibility="public"
  9582. deprecated="not deprecated">
  9583. <param name="name" type="java.lang.String"/>
  9584. </method>
  9585. <method name="fromString" return="org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.SectionName"
  9586. abstract="false" native="false" synchronized="false"
  9587. static="true" final="false" visibility="public"
  9588. deprecated="not deprecated">
  9589. <param name="name" type="java.lang.String"/>
  9590. </method>
  9591. <doc>
  9592. <![CDATA[Supported section name. The order of the enum determines the order of
  9593. loading.]]>
  9594. </doc>
  9595. </class>
  9596. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.SectionName -->
  9597. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSNamesystem.SafeModeInfo -->
  9598. <class name="FSNamesystem.SafeModeInfo" extends="java.lang.Object"
  9599. abstract="false"
  9600. static="false" final="false" visibility="public"
  9601. deprecated="not deprecated">
  9602. <method name="toString" return="java.lang.String"
  9603. abstract="false" native="false" synchronized="false"
  9604. static="false" final="false" visibility="public"
  9605. deprecated="not deprecated">
  9606. </method>
  9607. <doc>
  9608. <![CDATA[SafeModeInfo contains information related to the safe mode.
  9609. <p>
  9610. An instance of {@link SafeModeInfo} is created when the name node
  9611. enters safe mode.
  9612. <p>
  9613. During name node startup {@link SafeModeInfo} counts the number of
  9614. <em>safe blocks</em>, those that have at least the minimal number of
  9615. replicas, and calculates the ratio of safe blocks to the total number
  9616. of blocks in the system, which is the size of blocks in
  9617. {@link FSNamesystem#blockManager}. When the ratio reaches the
  9618. {@link #threshold} it starts the SafeModeMonitor daemon in order
  9619. to monitor whether the safe mode {@link #extension} is passed.
  9620. Then it leaves safe mode and destroys itself.
  9621. <p>
  9622. If safe mode is turned on manually then the number of safe blocks is
  9623. not tracked because the name node is not intended to leave safe mode
  9624. automatically in the case.
  9625. @see ClientProtocol#setSafeMode(HdfsConstants.SafeModeAction, boolean)]]>
  9626. </doc>
  9627. </class>
  9628. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSNamesystem.SafeModeInfo -->
  9629. <!-- start class org.apache.hadoop.hdfs.server.namenode.GetDelegationTokenServlet -->
  9630. <class name="GetDelegationTokenServlet" extends="org.apache.hadoop.hdfs.server.namenode.DfsServlet"
  9631. abstract="false"
  9632. static="false" final="false" visibility="public"
  9633. deprecated="not deprecated">
  9634. <constructor name="GetDelegationTokenServlet"
  9635. static="false" final="false" visibility="public"
  9636. deprecated="not deprecated">
  9637. </constructor>
  9638. <method name="doGet"
  9639. abstract="false" native="false" synchronized="false"
  9640. static="false" final="false" visibility="protected"
  9641. deprecated="not deprecated">
  9642. <param name="req" type="javax.servlet.http.HttpServletRequest"/>
  9643. <param name="resp" type="javax.servlet.http.HttpServletResponse"/>
  9644. <exception name="ServletException" type="javax.servlet.ServletException"/>
  9645. <exception name="IOException" type="java.io.IOException"/>
  9646. </method>
  9647. <field name="PATH_SPEC" type="java.lang.String"
  9648. transient="false" volatile="false"
  9649. static="true" final="true" visibility="public"
  9650. deprecated="not deprecated">
  9651. </field>
  9652. <field name="RENEWER" type="java.lang.String"
  9653. transient="false" volatile="false"
  9654. static="true" final="true" visibility="public"
  9655. deprecated="not deprecated">
  9656. </field>
  9657. <doc>
  9658. <![CDATA[Serve delegation tokens over http for use in hftp.]]>
  9659. </doc>
  9660. </class>
  9661. <!-- end class org.apache.hadoop.hdfs.server.namenode.GetDelegationTokenServlet -->
  9662. <!-- start class org.apache.hadoop.hdfs.server.namenode.HdfsAuditLogger -->
  9663. <class name="HdfsAuditLogger" extends="java.lang.Object"
  9664. abstract="true"
  9665. static="false" final="false" visibility="public"
  9666. deprecated="not deprecated">
  9667. <implements name="org.apache.hadoop.hdfs.server.namenode.AuditLogger"/>
  9668. <constructor name="HdfsAuditLogger"
  9669. static="false" final="false" visibility="public"
  9670. deprecated="not deprecated">
  9671. </constructor>
  9672. <method name="logAuditEvent"
  9673. abstract="false" native="false" synchronized="false"
  9674. static="false" final="false" visibility="public"
  9675. deprecated="not deprecated">
  9676. <param name="succeeded" type="boolean"/>
  9677. <param name="userName" type="java.lang.String"/>
  9678. <param name="addr" type="java.net.InetAddress"/>
  9679. <param name="cmd" type="java.lang.String"/>
  9680. <param name="src" type="java.lang.String"/>
  9681. <param name="dst" type="java.lang.String"/>
  9682. <param name="status" type="org.apache.hadoop.fs.FileStatus"/>
  9683. </method>
  9684. <method name="logAuditEvent"
  9685. abstract="true" native="false" synchronized="false"
  9686. static="false" final="false" visibility="public"
  9687. deprecated="not deprecated">
  9688. <param name="succeeded" type="boolean"/>
  9689. <param name="userName" type="java.lang.String"/>
  9690. <param name="addr" type="java.net.InetAddress"/>
  9691. <param name="cmd" type="java.lang.String"/>
  9692. <param name="src" type="java.lang.String"/>
  9693. <param name="dst" type="java.lang.String"/>
  9694. <param name="stat" type="org.apache.hadoop.fs.FileStatus"/>
  9695. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  9696. <param name="dtSecretManager" type="org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager"/>
  9697. <doc>
  9698. <![CDATA[Same as
  9699. {@link #logAuditEvent(boolean, String, InetAddress, String, String, String, FileStatus)}
  9700. with additional parameters related to logging delegation token tracking
  9701. IDs.
  9702. @param succeeded Whether authorization succeeded.
  9703. @param userName Name of the user executing the request.
  9704. @param addr Remote address of the request.
  9705. @param cmd The requested command.
  9706. @param src Path of affected source file.
  9707. @param dst Path of affected destination file (if any).
  9708. @param stat File information for operations that change the file's metadata
  9709. (permissions, owner, times, etc).
  9710. @param ugi UserGroupInformation of the current user, or null if not logging
  9711. token tracking information
  9712. @param dtSecretManager The token secret manager, or null if not logging
  9713. token tracking information]]>
  9714. </doc>
  9715. </method>
  9716. <doc>
  9717. <![CDATA[Extension of {@link AuditLogger}.]]>
  9718. </doc>
  9719. </class>
  9720. <!-- end class org.apache.hadoop.hdfs.server.namenode.HdfsAuditLogger -->
  9721. <!-- start class org.apache.hadoop.hdfs.server.namenode.INode.BlocksMapUpdateInfo -->
  9722. <class name="INode.BlocksMapUpdateInfo" extends="java.lang.Object"
  9723. abstract="false"
  9724. static="true" final="false" visibility="public"
  9725. deprecated="not deprecated">
  9726. <constructor name="INode.BlocksMapUpdateInfo"
  9727. static="false" final="false" visibility="public"
  9728. deprecated="not deprecated">
  9729. </constructor>
  9730. <method name="getToDeleteList" return="java.util.List"
  9731. abstract="false" native="false" synchronized="false"
  9732. static="false" final="false" visibility="public"
  9733. deprecated="not deprecated">
  9734. <doc>
  9735. <![CDATA[@return The list of blocks that need to be removed from blocksMap]]>
  9736. </doc>
  9737. </method>
  9738. <method name="addDeleteBlock"
  9739. abstract="false" native="false" synchronized="false"
  9740. static="false" final="false" visibility="public"
  9741. deprecated="not deprecated">
  9742. <param name="toDelete" type="org.apache.hadoop.hdfs.protocol.Block"/>
  9743. <doc>
  9744. <![CDATA[Add a to-be-deleted block into the
  9745. {@link BlocksMapUpdateInfo#toDeleteList}
  9746. @param toDelete the to-be-deleted block]]>
  9747. </doc>
  9748. </method>
  9749. <method name="clear"
  9750. abstract="false" native="false" synchronized="false"
  9751. static="false" final="false" visibility="public"
  9752. deprecated="not deprecated">
  9753. <doc>
  9754. <![CDATA[Clear {@link BlocksMapUpdateInfo#toDeleteList}]]>
  9755. </doc>
  9756. </method>
  9757. <doc>
  9758. <![CDATA[Information used for updating the blocksMap when deleting files.]]>
  9759. </doc>
  9760. </class>
  9761. <!-- end class org.apache.hadoop.hdfs.server.namenode.INode.BlocksMapUpdateInfo -->
  9762. <!-- start interface org.apache.hadoop.hdfs.server.namenode.INode.Feature -->
  9763. <interface name="INode.Feature" abstract="true"
  9764. static="true" final="false" visibility="public"
  9765. deprecated="not deprecated">
  9766. <doc>
  9767. <![CDATA[INode feature such as {@link FileUnderConstructionFeature}
  9768. and {@link DirectoryWithQuotaFeature}.]]>
  9769. </doc>
  9770. </interface>
  9771. <!-- end interface org.apache.hadoop.hdfs.server.namenode.INode.Feature -->
  9772. <!-- start class org.apache.hadoop.hdfs.server.namenode.INodeAttributes.SnapshotCopy -->
  9773. <class name="INodeAttributes.SnapshotCopy" extends="java.lang.Object"
  9774. abstract="true"
  9775. static="true" final="false" visibility="public"
  9776. deprecated="not deprecated">
  9777. <implements name="org.apache.hadoop.hdfs.server.namenode.INodeAttributes"/>
  9778. <method name="getLocalNameBytes" return="byte[]"
  9779. abstract="false" native="false" synchronized="false"
  9780. static="false" final="true" visibility="public"
  9781. deprecated="not deprecated">
  9782. </method>
  9783. <method name="getUserName" return="java.lang.String"
  9784. abstract="false" native="false" synchronized="false"
  9785. static="false" final="true" visibility="public"
  9786. deprecated="not deprecated">
  9787. </method>
  9788. <method name="getGroupName" return="java.lang.String"
  9789. abstract="false" native="false" synchronized="false"
  9790. static="false" final="true" visibility="public"
  9791. deprecated="not deprecated">
  9792. </method>
  9793. <method name="getFsPermission" return="org.apache.hadoop.fs.permission.FsPermission"
  9794. abstract="false" native="false" synchronized="false"
  9795. static="false" final="true" visibility="public"
  9796. deprecated="not deprecated">
  9797. </method>
  9798. <method name="getFsPermissionShort" return="short"
  9799. abstract="false" native="false" synchronized="false"
  9800. static="false" final="true" visibility="public"
  9801. deprecated="not deprecated">
  9802. </method>
  9803. <method name="getPermissionLong" return="long"
  9804. abstract="false" native="false" synchronized="false"
  9805. static="false" final="false" visibility="public"
  9806. deprecated="not deprecated">
  9807. </method>
  9808. <method name="getAclFeature" return="org.apache.hadoop.hdfs.server.namenode.AclFeature"
  9809. abstract="false" native="false" synchronized="false"
  9810. static="false" final="false" visibility="public"
  9811. deprecated="not deprecated">
  9812. </method>
  9813. <method name="getModificationTime" return="long"
  9814. abstract="false" native="false" synchronized="false"
  9815. static="false" final="true" visibility="public"
  9816. deprecated="not deprecated">
  9817. </method>
  9818. <method name="getAccessTime" return="long"
  9819. abstract="false" native="false" synchronized="false"
  9820. static="false" final="true" visibility="public"
  9821. deprecated="not deprecated">
  9822. </method>
  9823. <method name="getXAttrFeature" return="org.apache.hadoop.hdfs.server.namenode.XAttrFeature"
  9824. abstract="false" native="false" synchronized="false"
  9825. static="false" final="true" visibility="public"
  9826. deprecated="not deprecated">
  9827. </method>
  9828. <doc>
  9829. <![CDATA[A read-only copy of the inode attributes.]]>
  9830. </doc>
  9831. </class>
  9832. <!-- end class org.apache.hadoop.hdfs.server.namenode.INodeAttributes.SnapshotCopy -->
  9833. <!-- start class org.apache.hadoop.hdfs.server.namenode.INodeDirectory -->
  9834. <class name="INodeDirectory" extends="org.apache.hadoop.hdfs.server.namenode.INodeWithAdditionalFields"
  9835. abstract="false"
  9836. static="false" final="false" visibility="public"
  9837. deprecated="not deprecated">
  9838. <implements name="org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes"/>
  9839. <constructor name="INodeDirectory" type="long, byte[], org.apache.hadoop.fs.permission.PermissionStatus, long"
  9840. static="false" final="false" visibility="public"
  9841. deprecated="not deprecated">
  9842. <doc>
  9843. <![CDATA[constructor]]>
  9844. </doc>
  9845. </constructor>
  9846. <constructor name="INodeDirectory" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectory, boolean, org.apache.hadoop.hdfs.server.namenode.INode.Feature[]"
  9847. static="false" final="false" visibility="public"
  9848. deprecated="not deprecated">
  9849. <doc>
  9850. <![CDATA[Copy constructor
  9851. @param other The INodeDirectory to be copied
  9852. @param adopt Indicate whether or not need to set the parent field of child
  9853. INodes to the new node
  9854. @param featuresToCopy any number of features to copy to the new node.
  9855. The method will do a reference copy, not a deep copy.]]>
  9856. </doc>
  9857. </constructor>
  9858. <method name="valueOf" return="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"
  9859. abstract="false" native="false" synchronized="false"
  9860. static="true" final="false" visibility="public"
  9861. deprecated="not deprecated">
  9862. <param name="inode" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  9863. <param name="path" type="java.lang.Object"/>
  9864. <exception name="FileNotFoundException" type="java.io.FileNotFoundException"/>
  9865. <exception name="PathIsNotDirectoryException" type="org.apache.hadoop.fs.PathIsNotDirectoryException"/>
  9866. <doc>
  9867. <![CDATA[Cast INode to INodeDirectory.]]>
  9868. </doc>
  9869. </method>
  9870. <method name="isDirectory" return="boolean"
  9871. abstract="false" native="false" synchronized="false"
  9872. static="false" final="true" visibility="public"
  9873. deprecated="not deprecated">
  9874. <doc>
  9875. <![CDATA[@return true unconditionally.]]>
  9876. </doc>
  9877. </method>
  9878. <method name="asDirectory" return="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"
  9879. abstract="false" native="false" synchronized="false"
  9880. static="false" final="true" visibility="public"
  9881. deprecated="not deprecated">
  9882. <doc>
  9883. <![CDATA[@return this object.]]>
  9884. </doc>
  9885. </method>
  9886. <method name="getLocalStoragePolicyID" return="byte"
  9887. abstract="false" native="false" synchronized="false"
  9888. static="false" final="false" visibility="public"
  9889. deprecated="not deprecated">
  9890. </method>
  9891. <method name="getStoragePolicyID" return="byte"
  9892. abstract="false" native="false" synchronized="false"
  9893. static="false" final="false" visibility="public"
  9894. deprecated="not deprecated">
  9895. </method>
  9896. <method name="getQuotaCounts" return="org.apache.hadoop.hdfs.server.namenode.Quota.Counts"
  9897. abstract="false" native="false" synchronized="false"
  9898. static="false" final="false" visibility="public"
  9899. deprecated="not deprecated">
  9900. </method>
  9901. <method name="addSpaceConsumed"
  9902. abstract="false" native="false" synchronized="false"
  9903. static="false" final="false" visibility="public"
  9904. deprecated="not deprecated">
  9905. <param name="nsDelta" type="long"/>
  9906. <param name="dsDelta" type="long"/>
  9907. <param name="verify" type="boolean"/>
  9908. <exception name="QuotaExceededException" type="org.apache.hadoop.hdfs.protocol.QuotaExceededException"/>
  9909. </method>
  9910. <method name="getDirectoryWithQuotaFeature" return="org.apache.hadoop.hdfs.server.namenode.DirectoryWithQuotaFeature"
  9911. abstract="false" native="false" synchronized="false"
  9912. static="false" final="true" visibility="public"
  9913. deprecated="not deprecated">
  9914. <doc>
  9915. <![CDATA[If the directory contains a {@link DirectoryWithQuotaFeature}, return it;
  9916. otherwise, return null.]]>
  9917. </doc>
  9918. </method>
  9919. <method name="addSnapshotFeature" return="org.apache.hadoop.hdfs.server.namenode.snapshot.DirectoryWithSnapshotFeature"
  9920. abstract="false" native="false" synchronized="false"
  9921. static="false" final="false" visibility="public"
  9922. deprecated="not deprecated">
  9923. <param name="diffs" type="org.apache.hadoop.hdfs.server.namenode.snapshot.DirectoryWithSnapshotFeature.DirectoryDiffList"/>
  9924. </method>
  9925. <method name="getDirectoryWithSnapshotFeature" return="org.apache.hadoop.hdfs.server.namenode.snapshot.DirectoryWithSnapshotFeature"
  9926. abstract="false" native="false" synchronized="false"
  9927. static="false" final="true" visibility="public"
  9928. deprecated="not deprecated">
  9929. <doc>
  9930. <![CDATA[If feature list contains a {@link DirectoryWithSnapshotFeature}, return it;
  9931. otherwise, return null.]]>
  9932. </doc>
  9933. </method>
  9934. <method name="isWithSnapshot" return="boolean"
  9935. abstract="false" native="false" synchronized="false"
  9936. static="false" final="true" visibility="public"
  9937. deprecated="not deprecated">
  9938. <doc>
  9939. <![CDATA[Is this file has the snapshot feature?]]>
  9940. </doc>
  9941. </method>
  9942. <method name="getDiffs" return="org.apache.hadoop.hdfs.server.namenode.snapshot.DirectoryWithSnapshotFeature.DirectoryDiffList"
  9943. abstract="false" native="false" synchronized="false"
  9944. static="false" final="false" visibility="public"
  9945. deprecated="not deprecated">
  9946. </method>
  9947. <method name="getSnapshotINode" return="org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes"
  9948. abstract="false" native="false" synchronized="false"
  9949. static="false" final="false" visibility="public"
  9950. deprecated="not deprecated">
  9951. <param name="snapshotId" type="int"/>
  9952. </method>
  9953. <method name="toDetailString" return="java.lang.String"
  9954. abstract="false" native="false" synchronized="false"
  9955. static="false" final="false" visibility="public"
  9956. deprecated="not deprecated">
  9957. </method>
  9958. <method name="getDirectorySnapshottableFeature" return="org.apache.hadoop.hdfs.server.namenode.snapshot.DirectorySnapshottableFeature"
  9959. abstract="false" native="false" synchronized="false"
  9960. static="false" final="false" visibility="public"
  9961. deprecated="not deprecated">
  9962. </method>
  9963. <method name="isSnapshottable" return="boolean"
  9964. abstract="false" native="false" synchronized="false"
  9965. static="false" final="false" visibility="public"
  9966. deprecated="not deprecated">
  9967. </method>
  9968. <method name="getSnapshot" return="org.apache.hadoop.hdfs.server.namenode.snapshot.Snapshot"
  9969. abstract="false" native="false" synchronized="false"
  9970. static="false" final="false" visibility="public"
  9971. deprecated="not deprecated">
  9972. <param name="snapshotName" type="byte[]"/>
  9973. </method>
  9974. <method name="setSnapshotQuota"
  9975. abstract="false" native="false" synchronized="false"
  9976. static="false" final="false" visibility="public"
  9977. deprecated="not deprecated">
  9978. <param name="snapshotQuota" type="int"/>
  9979. </method>
  9980. <method name="addSnapshot" return="org.apache.hadoop.hdfs.server.namenode.snapshot.Snapshot"
  9981. abstract="false" native="false" synchronized="false"
  9982. static="false" final="false" visibility="public"
  9983. deprecated="not deprecated">
  9984. <param name="id" type="int"/>
  9985. <param name="name" type="java.lang.String"/>
  9986. <exception name="SnapshotException" type="org.apache.hadoop.hdfs.protocol.SnapshotException"/>
  9987. <exception name="QuotaExceededException" type="org.apache.hadoop.hdfs.protocol.QuotaExceededException"/>
  9988. </method>
  9989. <method name="removeSnapshot" return="org.apache.hadoop.hdfs.server.namenode.snapshot.Snapshot"
  9990. abstract="false" native="false" synchronized="false"
  9991. static="false" final="false" visibility="public"
  9992. deprecated="not deprecated">
  9993. <param name="snapshotName" type="java.lang.String"/>
  9994. <param name="collectedBlocks" type="org.apache.hadoop.hdfs.server.namenode.INode.BlocksMapUpdateInfo"/>
  9995. <param name="removedINodes" type="java.util.List"/>
  9996. <exception name="SnapshotException" type="org.apache.hadoop.hdfs.protocol.SnapshotException"/>
  9997. </method>
  9998. <method name="renameSnapshot"
  9999. abstract="false" native="false" synchronized="false"
  10000. static="false" final="false" visibility="public"
  10001. deprecated="not deprecated">
  10002. <param name="path" type="java.lang.String"/>
  10003. <param name="oldName" type="java.lang.String"/>
  10004. <param name="newName" type="java.lang.String"/>
  10005. <exception name="SnapshotException" type="org.apache.hadoop.hdfs.protocol.SnapshotException"/>
  10006. </method>
  10007. <method name="addSnapshottableFeature"
  10008. abstract="false" native="false" synchronized="false"
  10009. static="false" final="false" visibility="public"
  10010. deprecated="not deprecated">
  10011. <doc>
  10012. <![CDATA[add DirectorySnapshottableFeature]]>
  10013. </doc>
  10014. </method>
  10015. <method name="removeSnapshottableFeature"
  10016. abstract="false" native="false" synchronized="false"
  10017. static="false" final="false" visibility="public"
  10018. deprecated="not deprecated">
  10019. <doc>
  10020. <![CDATA[remove DirectorySnapshottableFeature]]>
  10021. </doc>
  10022. </method>
  10023. <method name="replaceChild"
  10024. abstract="false" native="false" synchronized="false"
  10025. static="false" final="false" visibility="public"
  10026. deprecated="not deprecated">
  10027. <param name="oldChild" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  10028. <param name="newChild" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  10029. <param name="inodeMap" type="org.apache.hadoop.hdfs.server.namenode.INodeMap"/>
  10030. <doc>
  10031. <![CDATA[Replace the given child with a new child. Note that we no longer need to
  10032. replace an normal INodeDirectory or INodeFile into an
  10033. INodeDirectoryWithSnapshot or INodeFileUnderConstruction. The only cases
  10034. for child replacement is for reference nodes.]]>
  10035. </doc>
  10036. </method>
  10037. <method name="recordModification"
  10038. abstract="false" native="false" synchronized="false"
  10039. static="false" final="false" visibility="public"
  10040. deprecated="not deprecated">
  10041. <param name="latestSnapshotId" type="int"/>
  10042. <exception name="QuotaExceededException" type="org.apache.hadoop.hdfs.protocol.QuotaExceededException"/>
  10043. </method>
  10044. <method name="saveChild2Snapshot" return="org.apache.hadoop.hdfs.server.namenode.INode"
  10045. abstract="false" native="false" synchronized="false"
  10046. static="false" final="false" visibility="public"
  10047. deprecated="not deprecated">
  10048. <param name="child" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  10049. <param name="latestSnapshotId" type="int"/>
  10050. <param name="snapshotCopy" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  10051. <exception name="QuotaExceededException" type="org.apache.hadoop.hdfs.protocol.QuotaExceededException"/>
  10052. <doc>
  10053. <![CDATA[Save the child to the latest snapshot.
  10054. @return the child inode, which may be replaced.]]>
  10055. </doc>
  10056. </method>
  10057. <method name="getChild" return="org.apache.hadoop.hdfs.server.namenode.INode"
  10058. abstract="false" native="false" synchronized="false"
  10059. static="false" final="false" visibility="public"
  10060. deprecated="not deprecated">
  10061. <param name="name" type="byte[]"/>
  10062. <param name="snapshotId" type="int"/>
  10063. <doc>
  10064. <![CDATA[@param name the name of the child
  10065. @param snapshotId
  10066. if it is not {@link Snapshot#CURRENT_STATE_ID}, get the result
  10067. from the corresponding snapshot; otherwise, get the result from
  10068. the current directory.
  10069. @return the child inode.]]>
  10070. </doc>
  10071. </method>
  10072. <method name="searchChild" return="int"
  10073. abstract="false" native="false" synchronized="false"
  10074. static="false" final="false" visibility="public"
  10075. deprecated="not deprecated">
  10076. <param name="inode" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  10077. <doc>
  10078. <![CDATA[Search for the given INode in the children list and the deleted lists of
  10079. snapshots.
  10080. @return {@link Snapshot#CURRENT_STATE_ID} if the inode is in the children
  10081. list; {@link Snapshot#NO_SNAPSHOT_ID} if the inode is neither in the
  10082. children list nor in any snapshot; otherwise the snapshot id of the
  10083. corresponding snapshot diff list.]]>
  10084. </doc>
  10085. </method>
  10086. <method name="getChildrenList" return="org.apache.hadoop.hdfs.util.ReadOnlyList"
  10087. abstract="false" native="false" synchronized="false"
  10088. static="false" final="false" visibility="public"
  10089. deprecated="not deprecated">
  10090. <param name="snapshotId" type="int"/>
  10091. <doc>
  10092. <![CDATA[@param snapshotId
  10093. if it is not {@link Snapshot#CURRENT_STATE_ID}, get the result
  10094. from the corresponding snapshot; otherwise, get the result from
  10095. the current directory.
  10096. @return the current children list if the specified snapshot is null;
  10097. otherwise, return the children list corresponding to the snapshot.
  10098. Note that the returned list is never null.]]>
  10099. </doc>
  10100. </method>
  10101. <method name="removeChild" return="boolean"
  10102. abstract="false" native="false" synchronized="false"
  10103. static="false" final="false" visibility="public"
  10104. deprecated="not deprecated">
  10105. <param name="child" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  10106. <param name="latestSnapshotId" type="int"/>
  10107. <exception name="QuotaExceededException" type="org.apache.hadoop.hdfs.protocol.QuotaExceededException"/>
  10108. <doc>
  10109. <![CDATA[Remove the specified child from this directory.]]>
  10110. </doc>
  10111. </method>
  10112. <method name="removeChild" return="boolean"
  10113. abstract="false" native="false" synchronized="false"
  10114. static="false" final="false" visibility="public"
  10115. deprecated="not deprecated">
  10116. <param name="child" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  10117. <doc>
  10118. <![CDATA[Remove the specified child from this directory.
  10119. The basic remove method which actually calls children.remove(..).
  10120. @param child the child inode to be removed
  10121. @return true if the child is removed; false if the child is not found.]]>
  10122. </doc>
  10123. </method>
  10124. <method name="addChild" return="boolean"
  10125. abstract="false" native="false" synchronized="false"
  10126. static="false" final="false" visibility="public"
  10127. deprecated="not deprecated">
  10128. <param name="node" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  10129. <param name="setModTime" type="boolean"/>
  10130. <param name="latestSnapshotId" type="int"/>
  10131. <exception name="QuotaExceededException" type="org.apache.hadoop.hdfs.protocol.QuotaExceededException"/>
  10132. <doc>
  10133. <![CDATA[Add a child inode to the directory.
  10134. @param node INode to insert
  10135. @param setModTime set modification time for the parent node
  10136. not needed when replaying the addition and
  10137. the parent already has the proper mod time
  10138. @return false if the child with this name already exists;
  10139. otherwise, return true;]]>
  10140. </doc>
  10141. </method>
  10142. <method name="addChild" return="boolean"
  10143. abstract="false" native="false" synchronized="false"
  10144. static="false" final="false" visibility="public"
  10145. deprecated="not deprecated">
  10146. <param name="node" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  10147. </method>
  10148. <method name="computeQuotaUsage" return="org.apache.hadoop.hdfs.server.namenode.Quota.Counts"
  10149. abstract="false" native="false" synchronized="false"
  10150. static="false" final="false" visibility="public"
  10151. deprecated="not deprecated">
  10152. <param name="counts" type="org.apache.hadoop.hdfs.server.namenode.Quota.Counts"/>
  10153. <param name="useCache" type="boolean"/>
  10154. <param name="lastSnapshotId" type="int"/>
  10155. </method>
  10156. <method name="computeQuotaUsage4CurrentDirectory" return="org.apache.hadoop.hdfs.server.namenode.Quota.Counts"
  10157. abstract="false" native="false" synchronized="false"
  10158. static="false" final="false" visibility="public"
  10159. deprecated="not deprecated">
  10160. <param name="counts" type="org.apache.hadoop.hdfs.server.namenode.Quota.Counts"/>
  10161. <doc>
  10162. <![CDATA[Add quota usage for this inode excluding children.]]>
  10163. </doc>
  10164. </method>
  10165. <method name="computeContentSummary" return="org.apache.hadoop.hdfs.server.namenode.ContentSummaryComputationContext"
  10166. abstract="false" native="false" synchronized="false"
  10167. static="false" final="false" visibility="public"
  10168. deprecated="not deprecated">
  10169. <param name="summary" type="org.apache.hadoop.hdfs.server.namenode.ContentSummaryComputationContext"/>
  10170. </method>
  10171. <method name="undoRename4ScrParent"
  10172. abstract="false" native="false" synchronized="false"
  10173. static="false" final="false" visibility="public"
  10174. deprecated="not deprecated">
  10175. <param name="oldChild" type="org.apache.hadoop.hdfs.server.namenode.INodeReference"/>
  10176. <param name="newChild" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  10177. <exception name="QuotaExceededException" type="org.apache.hadoop.hdfs.protocol.QuotaExceededException"/>
  10178. <doc>
  10179. <![CDATA[This method is usually called by the undo section of rename.
  10180. Before calling this function, in the rename operation, we replace the
  10181. original src node (of the rename operation) with a reference node (WithName
  10182. instance) in both the children list and a created list, delete the
  10183. reference node from the children list, and add it to the corresponding
  10184. deleted list.
  10185. To undo the above operations, we have the following steps in particular:
  10186. <pre>
  10187. 1) remove the WithName node from the deleted list (if it exists)
  10188. 2) replace the WithName node in the created list with srcChild
  10189. 3) add srcChild back as a child of srcParent. Note that we already add
  10190. the node into the created list of a snapshot diff in step 2, we do not need
  10191. to add srcChild to the created list of the latest snapshot.
  10192. </pre>
  10193. We do not need to update quota usage because the old child is in the
  10194. deleted list before.
  10195. @param oldChild
  10196. The reference node to be removed/replaced
  10197. @param newChild
  10198. The node to be added back
  10199. @throws QuotaExceededException should not throw this exception]]>
  10200. </doc>
  10201. </method>
  10202. <method name="undoRename4DstParent"
  10203. abstract="false" native="false" synchronized="false"
  10204. static="false" final="false" visibility="public"
  10205. deprecated="not deprecated">
  10206. <param name="deletedChild" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  10207. <param name="latestSnapshotId" type="int"/>
  10208. <exception name="QuotaExceededException" type="org.apache.hadoop.hdfs.protocol.QuotaExceededException"/>
  10209. <doc>
  10210. <![CDATA[Undo the rename operation for the dst tree, i.e., if the rename operation
  10211. (with OVERWRITE option) removes a file/dir from the dst tree, add it back
  10212. and delete possible record in the deleted list.]]>
  10213. </doc>
  10214. </method>
  10215. <method name="clearChildren"
  10216. abstract="false" native="false" synchronized="false"
  10217. static="false" final="false" visibility="public"
  10218. deprecated="not deprecated">
  10219. <doc>
  10220. <![CDATA[Set the children list to null.]]>
  10221. </doc>
  10222. </method>
  10223. <method name="clear"
  10224. abstract="false" native="false" synchronized="false"
  10225. static="false" final="false" visibility="public"
  10226. deprecated="not deprecated">
  10227. </method>
  10228. <method name="cleanSubtreeRecursively" return="org.apache.hadoop.hdfs.server.namenode.Quota.Counts"
  10229. abstract="false" native="false" synchronized="false"
  10230. static="false" final="false" visibility="public"
  10231. deprecated="not deprecated">
  10232. <param name="snapshot" type="int"/>
  10233. <param name="prior" type="int"/>
  10234. <param name="collectedBlocks" type="org.apache.hadoop.hdfs.server.namenode.INode.BlocksMapUpdateInfo"/>
  10235. <param name="removedINodes" type="java.util.List"/>
  10236. <param name="excludedNodes" type="java.util.Map"/>
  10237. <param name="countDiffChange" type="boolean"/>
  10238. <exception name="QuotaExceededException" type="org.apache.hadoop.hdfs.protocol.QuotaExceededException"/>
  10239. <doc>
  10240. <![CDATA[Call cleanSubtree(..) recursively down the subtree.]]>
  10241. </doc>
  10242. </method>
  10243. <method name="destroyAndCollectBlocks"
  10244. abstract="false" native="false" synchronized="false"
  10245. static="false" final="false" visibility="public"
  10246. deprecated="not deprecated">
  10247. <param name="collectedBlocks" type="org.apache.hadoop.hdfs.server.namenode.INode.BlocksMapUpdateInfo"/>
  10248. <param name="removedINodes" type="java.util.List"/>
  10249. </method>
  10250. <method name="cleanSubtree" return="org.apache.hadoop.hdfs.server.namenode.Quota.Counts"
  10251. abstract="false" native="false" synchronized="false"
  10252. static="false" final="false" visibility="public"
  10253. deprecated="not deprecated">
  10254. <param name="snapshotId" type="int"/>
  10255. <param name="priorSnapshotId" type="int"/>
  10256. <param name="collectedBlocks" type="org.apache.hadoop.hdfs.server.namenode.INode.BlocksMapUpdateInfo"/>
  10257. <param name="removedINodes" type="java.util.List"/>
  10258. <param name="countDiffChange" type="boolean"/>
  10259. <exception name="QuotaExceededException" type="org.apache.hadoop.hdfs.protocol.QuotaExceededException"/>
  10260. </method>
  10261. <method name="metadataEquals" return="boolean"
  10262. abstract="false" native="false" synchronized="false"
  10263. static="false" final="false" visibility="public"
  10264. deprecated="not deprecated">
  10265. <param name="other" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes"/>
  10266. <doc>
  10267. <![CDATA[Compare the metadata with another INodeDirectory]]>
  10268. </doc>
  10269. </method>
  10270. <method name="dumpTreeRecursively"
  10271. abstract="false" native="false" synchronized="false"
  10272. static="false" final="false" visibility="public"
  10273. deprecated="not deprecated">
  10274. <param name="out" type="java.io.PrintWriter"/>
  10275. <param name="prefix" type="java.lang.StringBuilder"/>
  10276. <param name="snapshot" type="int"/>
  10277. </method>
  10278. <method name="dumpTreeRecursively"
  10279. abstract="false" native="false" synchronized="false"
  10280. static="true" final="false" visibility="public"
  10281. deprecated="not deprecated">
  10282. <param name="out" type="java.io.PrintWriter"/>
  10283. <param name="prefix" type="java.lang.StringBuilder"/>
  10284. <param name="subs" type="java.lang.Iterable"/>
  10285. <doc>
  10286. <![CDATA[Dump the given subtrees.
  10287. @param prefix The prefix string that each line should print.
  10288. @param subs The subtrees.]]>
  10289. </doc>
  10290. </method>
  10291. <method name="getChildrenNum" return="int"
  10292. abstract="false" native="false" synchronized="false"
  10293. static="false" final="true" visibility="public"
  10294. deprecated="not deprecated">
  10295. <param name="snapshotId" type="int"/>
  10296. </method>
  10297. <field name="DEFAULT_FILES_PER_DIRECTORY" type="int"
  10298. transient="false" volatile="false"
  10299. static="true" final="true" visibility="protected"
  10300. deprecated="not deprecated">
  10301. </field>
  10302. <doc>
  10303. <![CDATA[Directory INode class.]]>
  10304. </doc>
  10305. </class>
  10306. <!-- end class org.apache.hadoop.hdfs.server.namenode.INodeDirectory -->
  10307. <!-- start class org.apache.hadoop.hdfs.server.namenode.INodeDirectory.SnapshotAndINode -->
  10308. <class name="INodeDirectory.SnapshotAndINode" extends="java.lang.Object"
  10309. abstract="false"
  10310. static="true" final="false" visibility="public"
  10311. deprecated="not deprecated">
  10312. <constructor name="INodeDirectory.SnapshotAndINode" type="int, org.apache.hadoop.hdfs.server.namenode.INode"
  10313. static="false" final="false" visibility="public"
  10314. deprecated="not deprecated">
  10315. </constructor>
  10316. <field name="snapshotId" type="int"
  10317. transient="false" volatile="false"
  10318. static="false" final="true" visibility="public"
  10319. deprecated="not deprecated">
  10320. </field>
  10321. <field name="inode" type="org.apache.hadoop.hdfs.server.namenode.INode"
  10322. transient="false" volatile="false"
  10323. static="false" final="true" visibility="public"
  10324. deprecated="not deprecated">
  10325. </field>
  10326. <doc>
  10327. <![CDATA[A pair of Snapshot and INode objects.]]>
  10328. </doc>
  10329. </class>
  10330. <!-- end class org.apache.hadoop.hdfs.server.namenode.INodeDirectory.SnapshotAndINode -->
  10331. <!-- start class org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes.CopyWithQuota -->
  10332. <class name="INodeDirectoryAttributes.CopyWithQuota" extends="org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes.SnapshotCopy"
  10333. abstract="false"
  10334. static="true" final="false" visibility="public"
  10335. deprecated="not deprecated">
  10336. <constructor name="INodeDirectoryAttributes.CopyWithQuota" type="byte[], org.apache.hadoop.fs.permission.PermissionStatus, org.apache.hadoop.hdfs.server.namenode.AclFeature, long, long, long, org.apache.hadoop.hdfs.server.namenode.XAttrFeature"
  10337. static="false" final="false" visibility="public"
  10338. deprecated="not deprecated">
  10339. </constructor>
  10340. <constructor name="INodeDirectoryAttributes.CopyWithQuota" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"
  10341. static="false" final="false" visibility="public"
  10342. deprecated="not deprecated">
  10343. </constructor>
  10344. <method name="getQuotaCounts" return="org.apache.hadoop.hdfs.server.namenode.Quota.Counts"
  10345. abstract="false" native="false" synchronized="false"
  10346. static="false" final="false" visibility="public"
  10347. deprecated="not deprecated">
  10348. </method>
  10349. </class>
  10350. <!-- end class org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes.CopyWithQuota -->
  10351. <!-- start class org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes.SnapshotCopy -->
  10352. <class name="INodeDirectoryAttributes.SnapshotCopy" extends="org.apache.hadoop.hdfs.server.namenode.INodeAttributes.SnapshotCopy"
  10353. abstract="false"
  10354. static="true" final="false" visibility="public"
  10355. deprecated="not deprecated">
  10356. <implements name="org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes"/>
  10357. <constructor name="INodeDirectoryAttributes.SnapshotCopy" type="byte[], org.apache.hadoop.fs.permission.PermissionStatus, org.apache.hadoop.hdfs.server.namenode.AclFeature, long, org.apache.hadoop.hdfs.server.namenode.XAttrFeature"
  10358. static="false" final="false" visibility="public"
  10359. deprecated="not deprecated">
  10360. </constructor>
  10361. <constructor name="INodeDirectoryAttributes.SnapshotCopy" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"
  10362. static="false" final="false" visibility="public"
  10363. deprecated="not deprecated">
  10364. </constructor>
  10365. <method name="getQuotaCounts" return="org.apache.hadoop.hdfs.server.namenode.Quota.Counts"
  10366. abstract="false" native="false" synchronized="false"
  10367. static="false" final="false" visibility="public"
  10368. deprecated="not deprecated">
  10369. </method>
  10370. <method name="metadataEquals" return="boolean"
  10371. abstract="false" native="false" synchronized="false"
  10372. static="false" final="false" visibility="public"
  10373. deprecated="not deprecated">
  10374. <param name="other" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes"/>
  10375. </method>
  10376. <doc>
  10377. <![CDATA[A copy of the inode directory attributes]]>
  10378. </doc>
  10379. </class>
  10380. <!-- end class org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes.SnapshotCopy -->
  10381. <!-- start class org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes.SnapshotCopy -->
  10382. <class name="INodeFileAttributes.SnapshotCopy" extends="org.apache.hadoop.hdfs.server.namenode.INodeAttributes.SnapshotCopy"
  10383. abstract="false"
  10384. static="true" final="false" visibility="public"
  10385. deprecated="not deprecated">
  10386. <implements name="org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes"/>
  10387. <constructor name="INodeFileAttributes.SnapshotCopy" type="byte[], org.apache.hadoop.fs.permission.PermissionStatus, org.apache.hadoop.hdfs.server.namenode.AclFeature, long, long, short, long, byte, org.apache.hadoop.hdfs.server.namenode.XAttrFeature"
  10388. static="false" final="false" visibility="public"
  10389. deprecated="not deprecated">
  10390. </constructor>
  10391. <constructor name="INodeFileAttributes.SnapshotCopy" type="org.apache.hadoop.hdfs.server.namenode.INodeFile"
  10392. static="false" final="false" visibility="public"
  10393. deprecated="not deprecated">
  10394. </constructor>
  10395. <method name="getFileReplication" return="short"
  10396. abstract="false" native="false" synchronized="false"
  10397. static="false" final="false" visibility="public"
  10398. deprecated="not deprecated">
  10399. </method>
  10400. <method name="getPreferredBlockSize" return="long"
  10401. abstract="false" native="false" synchronized="false"
  10402. static="false" final="false" visibility="public"
  10403. deprecated="not deprecated">
  10404. </method>
  10405. <method name="getLocalStoragePolicyID" return="byte"
  10406. abstract="false" native="false" synchronized="false"
  10407. static="false" final="false" visibility="public"
  10408. deprecated="not deprecated">
  10409. </method>
  10410. <method name="getHeaderLong" return="long"
  10411. abstract="false" native="false" synchronized="false"
  10412. static="false" final="false" visibility="public"
  10413. deprecated="not deprecated">
  10414. </method>
  10415. <method name="metadataEquals" return="boolean"
  10416. abstract="false" native="false" synchronized="false"
  10417. static="false" final="false" visibility="public"
  10418. deprecated="not deprecated">
  10419. <param name="other" type="org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes"/>
  10420. </method>
  10421. <doc>
  10422. <![CDATA[A copy of the inode file attributes]]>
  10423. </doc>
  10424. </class>
  10425. <!-- end class org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes.SnapshotCopy -->
  10426. <!-- start class org.apache.hadoop.hdfs.server.namenode.INodeMap -->
  10427. <class name="INodeMap" extends="java.lang.Object"
  10428. abstract="false"
  10429. static="false" final="false" visibility="public"
  10430. deprecated="not deprecated">
  10431. <method name="getMapIterator" return="java.util.Iterator"
  10432. abstract="false" native="false" synchronized="false"
  10433. static="false" final="false" visibility="public"
  10434. deprecated="not deprecated">
  10435. </method>
  10436. <method name="put"
  10437. abstract="false" native="false" synchronized="false"
  10438. static="false" final="true" visibility="public"
  10439. deprecated="not deprecated">
  10440. <param name="inode" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  10441. <doc>
  10442. <![CDATA[Add an {@link INode} into the {@link INode} map. Replace the old value if
  10443. necessary.
  10444. @param inode The {@link INode} to be added to the map.]]>
  10445. </doc>
  10446. </method>
  10447. <method name="remove"
  10448. abstract="false" native="false" synchronized="false"
  10449. static="false" final="true" visibility="public"
  10450. deprecated="not deprecated">
  10451. <param name="inode" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  10452. <doc>
  10453. <![CDATA[Remove a {@link INode} from the map.
  10454. @param inode The {@link INode} to be removed.]]>
  10455. </doc>
  10456. </method>
  10457. <method name="size" return="int"
  10458. abstract="false" native="false" synchronized="false"
  10459. static="false" final="false" visibility="public"
  10460. deprecated="not deprecated">
  10461. <doc>
  10462. <![CDATA[@return The size of the map.]]>
  10463. </doc>
  10464. </method>
  10465. <method name="get" return="org.apache.hadoop.hdfs.server.namenode.INode"
  10466. abstract="false" native="false" synchronized="false"
  10467. static="false" final="false" visibility="public"
  10468. deprecated="not deprecated">
  10469. <param name="id" type="long"/>
  10470. <doc>
  10471. <![CDATA[Get the {@link INode} with the given id from the map.
  10472. @param id ID of the {@link INode}.
  10473. @return The {@link INode} in the map with the given id. Return null if no
  10474. such {@link INode} in the map.]]>
  10475. </doc>
  10476. </method>
  10477. <method name="clear"
  10478. abstract="false" native="false" synchronized="false"
  10479. static="false" final="false" visibility="public"
  10480. deprecated="not deprecated">
  10481. <doc>
  10482. <![CDATA[Clear the {@link #map}]]>
  10483. </doc>
  10484. </method>
  10485. <doc>
  10486. <![CDATA[Storing all the {@link INode}s and maintaining the mapping between INode ID
  10487. and INode.]]>
  10488. </doc>
  10489. </class>
  10490. <!-- end class org.apache.hadoop.hdfs.server.namenode.INodeMap -->
  10491. <!-- start class org.apache.hadoop.hdfs.server.namenode.INodeReference -->
  10492. <class name="INodeReference" extends="org.apache.hadoop.hdfs.server.namenode.INode"
  10493. abstract="true"
  10494. static="false" final="false" visibility="public"
  10495. deprecated="not deprecated">
  10496. <constructor name="INodeReference" type="org.apache.hadoop.hdfs.server.namenode.INode, org.apache.hadoop.hdfs.server.namenode.INode"
  10497. static="false" final="false" visibility="public"
  10498. deprecated="not deprecated">
  10499. </constructor>
  10500. <method name="tryRemoveReference" return="int"
  10501. abstract="false" native="false" synchronized="false"
  10502. static="true" final="false" visibility="public"
  10503. deprecated="not deprecated">
  10504. <param name="inode" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  10505. <doc>
  10506. <![CDATA[Try to remove the given reference and then return the reference count.
  10507. If the given inode is not a reference, return -1;]]>
  10508. </doc>
  10509. </method>
  10510. <method name="getReferredINode" return="org.apache.hadoop.hdfs.server.namenode.INode"
  10511. abstract="false" native="false" synchronized="false"
  10512. static="false" final="true" visibility="public"
  10513. deprecated="not deprecated">
  10514. </method>
  10515. <method name="setReferredINode"
  10516. abstract="false" native="false" synchronized="false"
  10517. static="false" final="true" visibility="public"
  10518. deprecated="not deprecated">
  10519. <param name="referred" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  10520. </method>
  10521. <method name="isReference" return="boolean"
  10522. abstract="false" native="false" synchronized="false"
  10523. static="false" final="true" visibility="public"
  10524. deprecated="not deprecated">
  10525. </method>
  10526. <method name="asReference" return="org.apache.hadoop.hdfs.server.namenode.INodeReference"
  10527. abstract="false" native="false" synchronized="false"
  10528. static="false" final="true" visibility="public"
  10529. deprecated="not deprecated">
  10530. </method>
  10531. <method name="isFile" return="boolean"
  10532. abstract="false" native="false" synchronized="false"
  10533. static="false" final="true" visibility="public"
  10534. deprecated="not deprecated">
  10535. </method>
  10536. <method name="asFile" return="org.apache.hadoop.hdfs.server.namenode.INodeFile"
  10537. abstract="false" native="false" synchronized="false"
  10538. static="false" final="true" visibility="public"
  10539. deprecated="not deprecated">
  10540. </method>
  10541. <method name="isDirectory" return="boolean"
  10542. abstract="false" native="false" synchronized="false"
  10543. static="false" final="true" visibility="public"
  10544. deprecated="not deprecated">
  10545. </method>
  10546. <method name="asDirectory" return="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"
  10547. abstract="false" native="false" synchronized="false"
  10548. static="false" final="true" visibility="public"
  10549. deprecated="not deprecated">
  10550. </method>
  10551. <method name="isSymlink" return="boolean"
  10552. abstract="false" native="false" synchronized="false"
  10553. static="false" final="true" visibility="public"
  10554. deprecated="not deprecated">
  10555. </method>
  10556. <method name="asSymlink" return="org.apache.hadoop.hdfs.server.namenode.INodeSymlink"
  10557. abstract="false" native="false" synchronized="false"
  10558. static="false" final="true" visibility="public"
  10559. deprecated="not deprecated">
  10560. </method>
  10561. <method name="getLocalNameBytes" return="byte[]"
  10562. abstract="false" native="false" synchronized="false"
  10563. static="false" final="false" visibility="public"
  10564. deprecated="not deprecated">
  10565. </method>
  10566. <method name="setLocalName"
  10567. abstract="false" native="false" synchronized="false"
  10568. static="false" final="false" visibility="public"
  10569. deprecated="not deprecated">
  10570. <param name="name" type="byte[]"/>
  10571. </method>
  10572. <method name="getId" return="long"
  10573. abstract="false" native="false" synchronized="false"
  10574. static="false" final="true" visibility="public"
  10575. deprecated="not deprecated">
  10576. </method>
  10577. <method name="getPermissionStatus" return="org.apache.hadoop.fs.permission.PermissionStatus"
  10578. abstract="false" native="false" synchronized="false"
  10579. static="false" final="true" visibility="public"
  10580. deprecated="not deprecated">
  10581. <param name="snapshotId" type="int"/>
  10582. </method>
  10583. <method name="getUserName" return="java.lang.String"
  10584. abstract="false" native="false" synchronized="false"
  10585. static="false" final="true" visibility="public"
  10586. deprecated="not deprecated">
  10587. <param name="snapshotId" type="int"/>
  10588. </method>
  10589. <method name="getGroupName" return="java.lang.String"
  10590. abstract="false" native="false" synchronized="false"
  10591. static="false" final="true" visibility="public"
  10592. deprecated="not deprecated">
  10593. <param name="snapshotId" type="int"/>
  10594. </method>
  10595. <method name="getFsPermission" return="org.apache.hadoop.fs.permission.FsPermission"
  10596. abstract="false" native="false" synchronized="false"
  10597. static="false" final="true" visibility="public"
  10598. deprecated="not deprecated">
  10599. <param name="snapshotId" type="int"/>
  10600. </method>
  10601. <method name="getFsPermissionShort" return="short"
  10602. abstract="false" native="false" synchronized="false"
  10603. static="false" final="true" visibility="public"
  10604. deprecated="not deprecated">
  10605. </method>
  10606. <method name="getPermissionLong" return="long"
  10607. abstract="false" native="false" synchronized="false"
  10608. static="false" final="false" visibility="public"
  10609. deprecated="not deprecated">
  10610. </method>
  10611. <method name="getModificationTime" return="long"
  10612. abstract="false" native="false" synchronized="false"
  10613. static="false" final="true" visibility="public"
  10614. deprecated="not deprecated">
  10615. <param name="snapshotId" type="int"/>
  10616. </method>
  10617. <method name="updateModificationTime" return="org.apache.hadoop.hdfs.server.namenode.INode"
  10618. abstract="false" native="false" synchronized="false"
  10619. static="false" final="true" visibility="public"
  10620. deprecated="not deprecated">
  10621. <param name="mtime" type="long"/>
  10622. <param name="latestSnapshotId" type="int"/>
  10623. <exception name="QuotaExceededException" type="org.apache.hadoop.hdfs.protocol.QuotaExceededException"/>
  10624. </method>
  10625. <method name="setModificationTime"
  10626. abstract="false" native="false" synchronized="false"
  10627. static="false" final="true" visibility="public"
  10628. deprecated="not deprecated">
  10629. <param name="modificationTime" type="long"/>
  10630. </method>
  10631. <method name="getAccessTime" return="long"
  10632. abstract="false" native="false" synchronized="false"
  10633. static="false" final="true" visibility="public"
  10634. deprecated="not deprecated">
  10635. <param name="snapshotId" type="int"/>
  10636. </method>
  10637. <method name="setAccessTime"
  10638. abstract="false" native="false" synchronized="false"
  10639. static="false" final="true" visibility="public"
  10640. deprecated="not deprecated">
  10641. <param name="accessTime" type="long"/>
  10642. </method>
  10643. <method name="getStoragePolicyID" return="byte"
  10644. abstract="false" native="false" synchronized="false"
  10645. static="false" final="true" visibility="public"
  10646. deprecated="not deprecated">
  10647. </method>
  10648. <method name="getLocalStoragePolicyID" return="byte"
  10649. abstract="false" native="false" synchronized="false"
  10650. static="false" final="true" visibility="public"
  10651. deprecated="not deprecated">
  10652. </method>
  10653. <method name="cleanSubtree" return="org.apache.hadoop.hdfs.server.namenode.Quota.Counts"
  10654. abstract="false" native="false" synchronized="false"
  10655. static="false" final="false" visibility="public"
  10656. deprecated="not deprecated">
  10657. <param name="snapshot" type="int"/>
  10658. <param name="prior" type="int"/>
  10659. <param name="collectedBlocks" type="org.apache.hadoop.hdfs.server.namenode.INode.BlocksMapUpdateInfo"/>
  10660. <param name="removedINodes" type="java.util.List"/>
  10661. <param name="countDiffChange" type="boolean"/>
  10662. <exception name="QuotaExceededException" type="org.apache.hadoop.hdfs.protocol.QuotaExceededException"/>
  10663. </method>
  10664. <method name="destroyAndCollectBlocks"
  10665. abstract="false" native="false" synchronized="false"
  10666. static="false" final="false" visibility="public"
  10667. deprecated="not deprecated">
  10668. <param name="collectedBlocks" type="org.apache.hadoop.hdfs.server.namenode.INode.BlocksMapUpdateInfo"/>
  10669. <param name="removedINodes" type="java.util.List"/>
  10670. </method>
  10671. <method name="computeContentSummary" return="org.apache.hadoop.hdfs.server.namenode.ContentSummaryComputationContext"
  10672. abstract="false" native="false" synchronized="false"
  10673. static="false" final="false" visibility="public"
  10674. deprecated="not deprecated">
  10675. <param name="summary" type="org.apache.hadoop.hdfs.server.namenode.ContentSummaryComputationContext"/>
  10676. </method>
  10677. <method name="computeQuotaUsage" return="org.apache.hadoop.hdfs.server.namenode.Quota.Counts"
  10678. abstract="false" native="false" synchronized="false"
  10679. static="false" final="false" visibility="public"
  10680. deprecated="not deprecated">
  10681. <param name="counts" type="org.apache.hadoop.hdfs.server.namenode.Quota.Counts"/>
  10682. <param name="useCache" type="boolean"/>
  10683. <param name="lastSnapshotId" type="int"/>
  10684. </method>
  10685. <method name="getSnapshotINode" return="org.apache.hadoop.hdfs.server.namenode.INodeAttributes"
  10686. abstract="false" native="false" synchronized="false"
  10687. static="false" final="true" visibility="public"
  10688. deprecated="not deprecated">
  10689. <param name="snapshotId" type="int"/>
  10690. </method>
  10691. <method name="getQuotaCounts" return="org.apache.hadoop.hdfs.server.namenode.Quota.Counts"
  10692. abstract="false" native="false" synchronized="false"
  10693. static="false" final="false" visibility="public"
  10694. deprecated="not deprecated">
  10695. </method>
  10696. <method name="clear"
  10697. abstract="false" native="false" synchronized="false"
  10698. static="false" final="true" visibility="public"
  10699. deprecated="not deprecated">
  10700. </method>
  10701. <method name="dumpTreeRecursively"
  10702. abstract="false" native="false" synchronized="false"
  10703. static="false" final="false" visibility="public"
  10704. deprecated="not deprecated">
  10705. <param name="out" type="java.io.PrintWriter"/>
  10706. <param name="prefix" type="java.lang.StringBuilder"/>
  10707. <param name="snapshot" type="int"/>
  10708. </method>
  10709. <method name="getDstSnapshotId" return="int"
  10710. abstract="false" native="false" synchronized="false"
  10711. static="false" final="false" visibility="public"
  10712. deprecated="not deprecated">
  10713. </method>
  10714. <doc>
  10715. <![CDATA[An anonymous reference to an inode.
  10716. This class and its subclasses are used to support multiple access paths.
  10717. A file/directory may have multiple access paths when it is stored in some
  10718. snapshots and it is renamed/moved to other locations.
  10719. For example,
  10720. (1) Suppose we have /abc/foo, say the inode of foo is inode(id=1000,name=foo)
  10721. (2) create snapshot s0 for /abc
  10722. (3) mv /abc/foo /xyz/bar, i.e. inode(id=1000,name=...) is renamed from "foo"
  10723. to "bar" and its parent becomes /xyz.
  10724. Then, /xyz/bar and /abc/.snapshot/s0/foo are two different access paths to
  10725. the same inode, inode(id=1000,name=bar).
  10726. With references, we have the following
  10727. - /abc has a child ref(id=1001,name=foo).
  10728. - /xyz has a child ref(id=1002)
  10729. - Both ref(id=1001,name=foo) and ref(id=1002) point to another reference,
  10730. ref(id=1003,count=2).
  10731. - Finally, ref(id=1003,count=2) points to inode(id=1000,name=bar).
  10732. Note 1: For a reference without name, e.g. ref(id=1002), it uses the name
  10733. of the referred inode.
  10734. Note 2: getParent() always returns the parent in the current state, e.g.
  10735. inode(id=1000,name=bar).getParent() returns /xyz but not /abc.]]>
  10736. </doc>
  10737. </class>
  10738. <!-- end class org.apache.hadoop.hdfs.server.namenode.INodeReference -->
  10739. <!-- start class org.apache.hadoop.hdfs.server.namenode.INodeReference.DstReference -->
  10740. <class name="INodeReference.DstReference" extends="org.apache.hadoop.hdfs.server.namenode.INodeReference"
  10741. abstract="false"
  10742. static="true" final="false" visibility="public"
  10743. deprecated="not deprecated">
  10744. <constructor name="INodeReference.DstReference" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectory, org.apache.hadoop.hdfs.server.namenode.INodeReference.WithCount, int"
  10745. static="false" final="false" visibility="public"
  10746. deprecated="not deprecated">
  10747. </constructor>
  10748. <method name="getDstSnapshotId" return="int"
  10749. abstract="false" native="false" synchronized="false"
  10750. static="false" final="true" visibility="public"
  10751. deprecated="not deprecated">
  10752. </method>
  10753. <method name="cleanSubtree" return="org.apache.hadoop.hdfs.server.namenode.Quota.Counts"
  10754. abstract="false" native="false" synchronized="false"
  10755. static="false" final="false" visibility="public"
  10756. deprecated="not deprecated">
  10757. <param name="snapshot" type="int"/>
  10758. <param name="prior" type="int"/>
  10759. <param name="collectedBlocks" type="org.apache.hadoop.hdfs.server.namenode.INode.BlocksMapUpdateInfo"/>
  10760. <param name="removedINodes" type="java.util.List"/>
  10761. <param name="countDiffChange" type="boolean"/>
  10762. <exception name="QuotaExceededException" type="org.apache.hadoop.hdfs.protocol.QuotaExceededException"/>
  10763. </method>
  10764. <method name="destroyAndCollectBlocks"
  10765. abstract="false" native="false" synchronized="false"
  10766. static="false" final="false" visibility="public"
  10767. deprecated="not deprecated">
  10768. <param name="collectedBlocks" type="org.apache.hadoop.hdfs.server.namenode.INode.BlocksMapUpdateInfo"/>
  10769. <param name="removedINodes" type="java.util.List"/>
  10770. <doc>
  10771. <![CDATA[{@inheritDoc}
  10772. <br/>
  10773. To destroy a DstReference node, we first remove its link with the
  10774. referred node. If the reference number of the referred node is <= 0, we
  10775. destroy the subtree of the referred node. Otherwise, we clean the
  10776. referred node's subtree and delete everything created after the last
  10777. rename operation, i.e., everything outside of the scope of the prior
  10778. WithName nodes.]]>
  10779. </doc>
  10780. </method>
  10781. </class>
  10782. <!-- end class org.apache.hadoop.hdfs.server.namenode.INodeReference.DstReference -->
  10783. <!-- start class org.apache.hadoop.hdfs.server.namenode.INodeReference.WithCount -->
  10784. <class name="INodeReference.WithCount" extends="org.apache.hadoop.hdfs.server.namenode.INodeReference"
  10785. abstract="false"
  10786. static="true" final="false" visibility="public"
  10787. deprecated="not deprecated">
  10788. <constructor name="INodeReference.WithCount" type="org.apache.hadoop.hdfs.server.namenode.INodeReference, org.apache.hadoop.hdfs.server.namenode.INode"
  10789. static="false" final="false" visibility="public"
  10790. deprecated="not deprecated">
  10791. </constructor>
  10792. <method name="getReferenceCount" return="int"
  10793. abstract="false" native="false" synchronized="false"
  10794. static="false" final="false" visibility="public"
  10795. deprecated="not deprecated">
  10796. </method>
  10797. <method name="addReference"
  10798. abstract="false" native="false" synchronized="false"
  10799. static="false" final="false" visibility="public"
  10800. deprecated="not deprecated">
  10801. <param name="ref" type="org.apache.hadoop.hdfs.server.namenode.INodeReference"/>
  10802. <doc>
  10803. <![CDATA[Increment and then return the reference count.]]>
  10804. </doc>
  10805. </method>
  10806. <method name="removeReference"
  10807. abstract="false" native="false" synchronized="false"
  10808. static="false" final="false" visibility="public"
  10809. deprecated="not deprecated">
  10810. <param name="ref" type="org.apache.hadoop.hdfs.server.namenode.INodeReference"/>
  10811. <doc>
  10812. <![CDATA[Decrement and then return the reference count.]]>
  10813. </doc>
  10814. </method>
  10815. <method name="getParentRef" return="org.apache.hadoop.hdfs.server.namenode.INodeReference"
  10816. abstract="false" native="false" synchronized="false"
  10817. static="false" final="false" visibility="public"
  10818. deprecated="not deprecated">
  10819. <param name="snapshotId" type="int"/>
  10820. <doc>
  10821. <![CDATA[@return the WithName/DstReference node contained in the given snapshot.]]>
  10822. </doc>
  10823. </method>
  10824. <field name="WITHNAME_COMPARATOR" type="java.util.Comparator"
  10825. transient="false" volatile="false"
  10826. static="true" final="true" visibility="public"
  10827. deprecated="not deprecated">
  10828. <doc>
  10829. <![CDATA[Compare snapshot with IDs, where null indicates the current status thus
  10830. is greater than any non-null snapshot.]]>
  10831. </doc>
  10832. </field>
  10833. <doc>
  10834. <![CDATA[An anonymous reference with reference count.]]>
  10835. </doc>
  10836. </class>
  10837. <!-- end class org.apache.hadoop.hdfs.server.namenode.INodeReference.WithCount -->
  10838. <!-- start class org.apache.hadoop.hdfs.server.namenode.INodeReference.WithName -->
  10839. <class name="INodeReference.WithName" extends="org.apache.hadoop.hdfs.server.namenode.INodeReference"
  10840. abstract="false"
  10841. static="true" final="false" visibility="public"
  10842. deprecated="not deprecated">
  10843. <constructor name="INodeReference.WithName" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectory, org.apache.hadoop.hdfs.server.namenode.INodeReference.WithCount, byte[], int"
  10844. static="false" final="false" visibility="public"
  10845. deprecated="not deprecated">
  10846. </constructor>
  10847. <method name="getLocalNameBytes" return="byte[]"
  10848. abstract="false" native="false" synchronized="false"
  10849. static="false" final="true" visibility="public"
  10850. deprecated="not deprecated">
  10851. </method>
  10852. <method name="setLocalName"
  10853. abstract="false" native="false" synchronized="false"
  10854. static="false" final="true" visibility="public"
  10855. deprecated="not deprecated">
  10856. <param name="name" type="byte[]"/>
  10857. </method>
  10858. <method name="getLastSnapshotId" return="int"
  10859. abstract="false" native="false" synchronized="false"
  10860. static="false" final="false" visibility="public"
  10861. deprecated="not deprecated">
  10862. </method>
  10863. <method name="computeContentSummary" return="org.apache.hadoop.hdfs.server.namenode.ContentSummaryComputationContext"
  10864. abstract="false" native="false" synchronized="false"
  10865. static="false" final="true" visibility="public"
  10866. deprecated="not deprecated">
  10867. <param name="summary" type="org.apache.hadoop.hdfs.server.namenode.ContentSummaryComputationContext"/>
  10868. </method>
  10869. <method name="computeQuotaUsage" return="org.apache.hadoop.hdfs.server.namenode.Quota.Counts"
  10870. abstract="false" native="false" synchronized="false"
  10871. static="false" final="true" visibility="public"
  10872. deprecated="not deprecated">
  10873. <param name="counts" type="org.apache.hadoop.hdfs.server.namenode.Quota.Counts"/>
  10874. <param name="useCache" type="boolean"/>
  10875. <param name="lastSnapshotId" type="int"/>
  10876. </method>
  10877. <method name="cleanSubtree" return="org.apache.hadoop.hdfs.server.namenode.Quota.Counts"
  10878. abstract="false" native="false" synchronized="false"
  10879. static="false" final="false" visibility="public"
  10880. deprecated="not deprecated">
  10881. <param name="snapshot" type="int"/>
  10882. <param name="prior" type="int"/>
  10883. <param name="collectedBlocks" type="org.apache.hadoop.hdfs.server.namenode.INode.BlocksMapUpdateInfo"/>
  10884. <param name="removedINodes" type="java.util.List"/>
  10885. <param name="countDiffChange" type="boolean"/>
  10886. <exception name="QuotaExceededException" type="org.apache.hadoop.hdfs.protocol.QuotaExceededException"/>
  10887. </method>
  10888. <method name="destroyAndCollectBlocks"
  10889. abstract="false" native="false" synchronized="false"
  10890. static="false" final="false" visibility="public"
  10891. deprecated="not deprecated">
  10892. <param name="collectedBlocks" type="org.apache.hadoop.hdfs.server.namenode.INode.BlocksMapUpdateInfo"/>
  10893. <param name="removedINodes" type="java.util.List"/>
  10894. </method>
  10895. <doc>
  10896. <![CDATA[A reference with a fixed name.]]>
  10897. </doc>
  10898. </class>
  10899. <!-- end class org.apache.hadoop.hdfs.server.namenode.INodeReference.WithName -->
  10900. <!-- start class org.apache.hadoop.hdfs.server.namenode.INodesInPath -->
  10901. <class name="INodesInPath" extends="java.lang.Object"
  10902. abstract="false"
  10903. static="false" final="false" visibility="public"
  10904. deprecated="not deprecated">
  10905. <method name="getLatestSnapshotId" return="int"
  10906. abstract="false" native="false" synchronized="false"
  10907. static="false" final="false" visibility="public"
  10908. deprecated="not deprecated">
  10909. <doc>
  10910. <![CDATA[For non-snapshot paths, return the latest snapshot id found in the path.]]>
  10911. </doc>
  10912. </method>
  10913. <method name="getPathSnapshotId" return="int"
  10914. abstract="false" native="false" synchronized="false"
  10915. static="false" final="false" visibility="public"
  10916. deprecated="not deprecated">
  10917. <doc>
  10918. <![CDATA[For snapshot paths, return the id of the snapshot specified in the path.
  10919. For non-snapshot paths, return {@link Snapshot#CURRENT_STATE_ID}.]]>
  10920. </doc>
  10921. </method>
  10922. <method name="getINode" return="org.apache.hadoop.hdfs.server.namenode.INode"
  10923. abstract="false" native="false" synchronized="false"
  10924. static="false" final="false" visibility="public"
  10925. deprecated="not deprecated">
  10926. <param name="i" type="int"/>
  10927. <doc>
  10928. <![CDATA[@return the i-th inode if i >= 0;
  10929. otherwise, i < 0, return the (length + i)-th inode.]]>
  10930. </doc>
  10931. </method>
  10932. <method name="getLastINode" return="org.apache.hadoop.hdfs.server.namenode.INode"
  10933. abstract="false" native="false" synchronized="false"
  10934. static="false" final="false" visibility="public"
  10935. deprecated="not deprecated">
  10936. <doc>
  10937. <![CDATA[@return the last inode.]]>
  10938. </doc>
  10939. </method>
  10940. <method name="toString" return="java.lang.String"
  10941. abstract="false" native="false" synchronized="false"
  10942. static="false" final="false" visibility="public"
  10943. deprecated="not deprecated">
  10944. </method>
  10945. <field name="LOG" type="org.apache.commons.logging.Log"
  10946. transient="false" volatile="false"
  10947. static="true" final="true" visibility="public"
  10948. deprecated="not deprecated">
  10949. </field>
  10950. <doc>
  10951. <![CDATA[Contains INodes information resolved from a given path.]]>
  10952. </doc>
  10953. </class>
  10954. <!-- end class org.apache.hadoop.hdfs.server.namenode.INodesInPath -->
  10955. <!-- start class org.apache.hadoop.hdfs.server.namenode.JournalManager.CorruptionException -->
  10956. <class name="JournalManager.CorruptionException" extends="java.io.IOException"
  10957. abstract="false"
  10958. static="true" final="false" visibility="public"
  10959. deprecated="not deprecated">
  10960. <constructor name="JournalManager.CorruptionException" type="java.lang.String"
  10961. static="false" final="false" visibility="public"
  10962. deprecated="not deprecated">
  10963. </constructor>
  10964. <doc>
  10965. <![CDATA[Indicate that a journal is cannot be used to load a certain range of
  10966. edits.
  10967. This exception occurs in the case of a gap in the transactions, or a
  10968. corrupt edit file.]]>
  10969. </doc>
  10970. </class>
  10971. <!-- end class org.apache.hadoop.hdfs.server.namenode.JournalManager.CorruptionException -->
  10972. <!-- start class org.apache.hadoop.hdfs.server.namenode.JournalSet -->
  10973. <class name="JournalSet" extends="java.lang.Object"
  10974. abstract="false"
  10975. static="false" final="false" visibility="public"
  10976. deprecated="not deprecated">
  10977. <implements name="org.apache.hadoop.hdfs.server.namenode.JournalManager"/>
  10978. <method name="format"
  10979. abstract="false" native="false" synchronized="false"
  10980. static="false" final="false" visibility="public"
  10981. deprecated="not deprecated">
  10982. <param name="nsInfo" type="org.apache.hadoop.hdfs.server.protocol.NamespaceInfo"/>
  10983. <exception name="IOException" type="java.io.IOException"/>
  10984. </method>
  10985. <method name="hasSomeData" return="boolean"
  10986. abstract="false" native="false" synchronized="false"
  10987. static="false" final="false" visibility="public"
  10988. deprecated="not deprecated">
  10989. <exception name="IOException" type="java.io.IOException"/>
  10990. </method>
  10991. <method name="startLogSegment" return="org.apache.hadoop.hdfs.server.namenode.EditLogOutputStream"
  10992. abstract="false" native="false" synchronized="false"
  10993. static="false" final="false" visibility="public"
  10994. deprecated="not deprecated">
  10995. <param name="txId" type="long"/>
  10996. <param name="layoutVersion" type="int"/>
  10997. <exception name="IOException" type="java.io.IOException"/>
  10998. </method>
  10999. <method name="finalizeLogSegment"
  11000. abstract="false" native="false" synchronized="false"
  11001. static="false" final="false" visibility="public"
  11002. deprecated="not deprecated">
  11003. <param name="firstTxId" type="long"/>
  11004. <param name="lastTxId" type="long"/>
  11005. <exception name="IOException" type="java.io.IOException"/>
  11006. </method>
  11007. <method name="close"
  11008. abstract="false" native="false" synchronized="false"
  11009. static="false" final="false" visibility="public"
  11010. deprecated="not deprecated">
  11011. <exception name="IOException" type="java.io.IOException"/>
  11012. </method>
  11013. <method name="isOpen" return="boolean"
  11014. abstract="false" native="false" synchronized="false"
  11015. static="false" final="false" visibility="public"
  11016. deprecated="not deprecated">
  11017. </method>
  11018. <method name="selectInputStreams"
  11019. abstract="false" native="false" synchronized="false"
  11020. static="false" final="false" visibility="public"
  11021. deprecated="not deprecated">
  11022. <param name="streams" type="java.util.Collection"/>
  11023. <param name="fromTxId" type="long"/>
  11024. <param name="inProgressOk" type="boolean"/>
  11025. <exception name="IOException" type="java.io.IOException"/>
  11026. <doc>
  11027. <![CDATA[In this function, we get a bunch of streams from all of our JournalManager
  11028. objects. Then we add these to the collection one by one.
  11029. @param streams The collection to add the streams to. It may or
  11030. may not be sorted-- this is up to the caller.
  11031. @param fromTxId The transaction ID to start looking for streams at
  11032. @param inProgressOk Should we consider unfinalized streams?]]>
  11033. </doc>
  11034. </method>
  11035. <method name="chainAndMakeRedundantStreams"
  11036. abstract="false" native="false" synchronized="false"
  11037. static="true" final="false" visibility="public"
  11038. deprecated="not deprecated">
  11039. <param name="outStreams" type="java.util.Collection"/>
  11040. <param name="allStreams" type="java.util.PriorityQueue"/>
  11041. <param name="fromTxId" type="long"/>
  11042. </method>
  11043. <method name="isEmpty" return="boolean"
  11044. abstract="false" native="false" synchronized="false"
  11045. static="false" final="false" visibility="public"
  11046. deprecated="not deprecated">
  11047. <doc>
  11048. <![CDATA[Returns true if there are no journals, all redundant journals are disabled,
  11049. or any required journals are disabled.
  11050. @return True if there no journals, all redundant journals are disabled,
  11051. or any required journals are disabled.]]>
  11052. </doc>
  11053. </method>
  11054. <method name="setOutputBufferCapacity"
  11055. abstract="false" native="false" synchronized="false"
  11056. static="false" final="false" visibility="public"
  11057. deprecated="not deprecated">
  11058. <param name="size" type="int"/>
  11059. </method>
  11060. <method name="purgeLogsOlderThan"
  11061. abstract="false" native="false" synchronized="false"
  11062. static="false" final="false" visibility="public"
  11063. deprecated="not deprecated">
  11064. <param name="minTxIdToKeep" type="long"/>
  11065. <exception name="IOException" type="java.io.IOException"/>
  11066. </method>
  11067. <method name="recoverUnfinalizedSegments"
  11068. abstract="false" native="false" synchronized="false"
  11069. static="false" final="false" visibility="public"
  11070. deprecated="not deprecated">
  11071. <exception name="IOException" type="java.io.IOException"/>
  11072. </method>
  11073. <method name="getEditLogManifest" return="org.apache.hadoop.hdfs.server.protocol.RemoteEditLogManifest"
  11074. abstract="false" native="false" synchronized="true"
  11075. static="false" final="false" visibility="public"
  11076. deprecated="not deprecated">
  11077. <param name="fromTxId" type="long"/>
  11078. <doc>
  11079. <![CDATA[Return a manifest of what finalized edit logs are available. All available
  11080. edit logs are returned starting from the transaction id passed. If
  11081. 'fromTxId' falls in the middle of a log, that log is returned as well.
  11082. @param fromTxId Starting transaction id to read the logs.
  11083. @return RemoteEditLogManifest object.]]>
  11084. </doc>
  11085. </method>
  11086. <method name="discardSegments"
  11087. abstract="false" native="false" synchronized="false"
  11088. static="false" final="false" visibility="public"
  11089. deprecated="not deprecated">
  11090. <param name="startTxId" type="long"/>
  11091. <exception name="IOException" type="java.io.IOException"/>
  11092. </method>
  11093. <method name="doPreUpgrade"
  11094. abstract="false" native="false" synchronized="false"
  11095. static="false" final="false" visibility="public"
  11096. deprecated="not deprecated">
  11097. <exception name="IOException" type="java.io.IOException"/>
  11098. </method>
  11099. <method name="doUpgrade"
  11100. abstract="false" native="false" synchronized="false"
  11101. static="false" final="false" visibility="public"
  11102. deprecated="not deprecated">
  11103. <param name="storage" type="org.apache.hadoop.hdfs.server.common.Storage"/>
  11104. <exception name="IOException" type="java.io.IOException"/>
  11105. </method>
  11106. <method name="doFinalize"
  11107. abstract="false" native="false" synchronized="false"
  11108. static="false" final="false" visibility="public"
  11109. deprecated="not deprecated">
  11110. <exception name="IOException" type="java.io.IOException"/>
  11111. </method>
  11112. <method name="canRollBack" return="boolean"
  11113. abstract="false" native="false" synchronized="false"
  11114. static="false" final="false" visibility="public"
  11115. deprecated="not deprecated">
  11116. <param name="storage" type="org.apache.hadoop.hdfs.server.common.StorageInfo"/>
  11117. <param name="prevStorage" type="org.apache.hadoop.hdfs.server.common.StorageInfo"/>
  11118. <param name="targetLayoutVersion" type="int"/>
  11119. <exception name="IOException" type="java.io.IOException"/>
  11120. </method>
  11121. <method name="doRollback"
  11122. abstract="false" native="false" synchronized="false"
  11123. static="false" final="false" visibility="public"
  11124. deprecated="not deprecated">
  11125. <exception name="IOException" type="java.io.IOException"/>
  11126. </method>
  11127. <method name="getJournalCTime" return="long"
  11128. abstract="false" native="false" synchronized="false"
  11129. static="false" final="false" visibility="public"
  11130. deprecated="not deprecated">
  11131. <exception name="IOException" type="java.io.IOException"/>
  11132. </method>
  11133. <field name="EDIT_LOG_INPUT_STREAM_COMPARATOR" type="java.util.Comparator"
  11134. transient="false" volatile="false"
  11135. static="true" final="true" visibility="public"
  11136. deprecated="not deprecated">
  11137. </field>
  11138. <doc>
  11139. <![CDATA[Manages a collection of Journals. None of the methods are synchronized, it is
  11140. assumed that FSEditLog methods, that use this class, use proper
  11141. synchronization.]]>
  11142. </doc>
  11143. </class>
  11144. <!-- end class org.apache.hadoop.hdfs.server.namenode.JournalSet -->
  11145. <!-- start class org.apache.hadoop.hdfs.server.namenode.MetaRecoveryContext.RequestStopException -->
  11146. <class name="MetaRecoveryContext.RequestStopException" extends="java.io.IOException"
  11147. abstract="false"
  11148. static="true" final="false" visibility="public"
  11149. deprecated="not deprecated">
  11150. <constructor name="MetaRecoveryContext.RequestStopException" type="java.lang.String"
  11151. static="false" final="false" visibility="public"
  11152. deprecated="not deprecated">
  11153. </constructor>
  11154. <doc>
  11155. <![CDATA[Exception thrown when the user has requested processing to stop.]]>
  11156. </doc>
  11157. </class>
  11158. <!-- end class org.apache.hadoop.hdfs.server.namenode.MetaRecoveryContext.RequestStopException -->
  11159. <!-- start class org.apache.hadoop.hdfs.server.namenode.NameNode.NameNodeHAContext -->
  11160. <class name="NameNode.NameNodeHAContext" extends="java.lang.Object"
  11161. abstract="false"
  11162. static="false" final="false" visibility="protected"
  11163. deprecated="not deprecated">
  11164. <implements name="org.apache.hadoop.hdfs.server.namenode.ha.HAContext"/>
  11165. <constructor name="NameNode.NameNodeHAContext"
  11166. static="false" final="false" visibility="protected"
  11167. deprecated="not deprecated">
  11168. </constructor>
  11169. <method name="setState"
  11170. abstract="false" native="false" synchronized="false"
  11171. static="false" final="false" visibility="public"
  11172. deprecated="not deprecated">
  11173. <param name="s" type="org.apache.hadoop.hdfs.server.namenode.ha.HAState"/>
  11174. </method>
  11175. <method name="getState" return="org.apache.hadoop.hdfs.server.namenode.ha.HAState"
  11176. abstract="false" native="false" synchronized="false"
  11177. static="false" final="false" visibility="public"
  11178. deprecated="not deprecated">
  11179. </method>
  11180. <method name="startActiveServices"
  11181. abstract="false" native="false" synchronized="false"
  11182. static="false" final="false" visibility="public"
  11183. deprecated="not deprecated">
  11184. <exception name="IOException" type="java.io.IOException"/>
  11185. </method>
  11186. <method name="stopActiveServices"
  11187. abstract="false" native="false" synchronized="false"
  11188. static="false" final="false" visibility="public"
  11189. deprecated="not deprecated">
  11190. <exception name="IOException" type="java.io.IOException"/>
  11191. </method>
  11192. <method name="startStandbyServices"
  11193. abstract="false" native="false" synchronized="false"
  11194. static="false" final="false" visibility="public"
  11195. deprecated="not deprecated">
  11196. <exception name="IOException" type="java.io.IOException"/>
  11197. </method>
  11198. <method name="prepareToStopStandbyServices"
  11199. abstract="false" native="false" synchronized="false"
  11200. static="false" final="false" visibility="public"
  11201. deprecated="not deprecated">
  11202. <exception name="ServiceFailedException" type="org.apache.hadoop.ha.ServiceFailedException"/>
  11203. </method>
  11204. <method name="stopStandbyServices"
  11205. abstract="false" native="false" synchronized="false"
  11206. static="false" final="false" visibility="public"
  11207. deprecated="not deprecated">
  11208. <exception name="IOException" type="java.io.IOException"/>
  11209. </method>
  11210. <method name="writeLock"
  11211. abstract="false" native="false" synchronized="false"
  11212. static="false" final="false" visibility="public"
  11213. deprecated="not deprecated">
  11214. </method>
  11215. <method name="writeUnlock"
  11216. abstract="false" native="false" synchronized="false"
  11217. static="false" final="false" visibility="public"
  11218. deprecated="not deprecated">
  11219. </method>
  11220. <method name="checkOperation"
  11221. abstract="false" native="false" synchronized="false"
  11222. static="false" final="false" visibility="public"
  11223. deprecated="not deprecated">
  11224. <param name="op" type="org.apache.hadoop.hdfs.server.namenode.NameNode.OperationCategory"/>
  11225. <exception name="StandbyException" type="org.apache.hadoop.ipc.StandbyException"/>
  11226. <doc>
  11227. <![CDATA[Check if an operation of given category is allowed]]>
  11228. </doc>
  11229. </method>
  11230. <method name="allowStaleReads" return="boolean"
  11231. abstract="false" native="false" synchronized="false"
  11232. static="false" final="false" visibility="public"
  11233. deprecated="not deprecated">
  11234. </method>
  11235. <doc>
  11236. <![CDATA[Class used to expose {@link NameNode} as context to {@link HAState}]]>
  11237. </doc>
  11238. </class>
  11239. <!-- end class org.apache.hadoop.hdfs.server.namenode.NameNode.NameNodeHAContext -->
  11240. <!-- start class org.apache.hadoop.hdfs.server.namenode.NameNode.OperationCategory -->
  11241. <class name="NameNode.OperationCategory" extends="java.lang.Enum"
  11242. abstract="false"
  11243. static="true" final="true" visibility="public"
  11244. deprecated="not deprecated">
  11245. <method name="values" return="org.apache.hadoop.hdfs.server.namenode.NameNode.OperationCategory[]"
  11246. abstract="false" native="false" synchronized="false"
  11247. static="true" final="false" visibility="public"
  11248. deprecated="not deprecated">
  11249. </method>
  11250. <method name="valueOf" return="org.apache.hadoop.hdfs.server.namenode.NameNode.OperationCategory"
  11251. abstract="false" native="false" synchronized="false"
  11252. static="true" final="false" visibility="public"
  11253. deprecated="not deprecated">
  11254. <param name="name" type="java.lang.String"/>
  11255. </method>
  11256. <doc>
  11257. <![CDATA[Categories of operations supported by the namenode.]]>
  11258. </doc>
  11259. </class>
  11260. <!-- end class org.apache.hadoop.hdfs.server.namenode.NameNode.OperationCategory -->
  11261. <!-- start class org.apache.hadoop.hdfs.server.namenode.NameNodeLayoutVersion.Feature -->
  11262. <class name="NameNodeLayoutVersion.Feature" extends="java.lang.Enum"
  11263. abstract="false"
  11264. static="true" final="true" visibility="public"
  11265. deprecated="not deprecated">
  11266. <implements name="org.apache.hadoop.hdfs.protocol.LayoutVersion.LayoutFeature"/>
  11267. <method name="values" return="org.apache.hadoop.hdfs.server.namenode.NameNodeLayoutVersion.Feature[]"
  11268. abstract="false" native="false" synchronized="false"
  11269. static="true" final="false" visibility="public"
  11270. deprecated="not deprecated">
  11271. </method>
  11272. <method name="valueOf" return="org.apache.hadoop.hdfs.server.namenode.NameNodeLayoutVersion.Feature"
  11273. abstract="false" native="false" synchronized="false"
  11274. static="true" final="false" visibility="public"
  11275. deprecated="not deprecated">
  11276. <param name="name" type="java.lang.String"/>
  11277. </method>
  11278. <method name="getInfo" return="org.apache.hadoop.hdfs.protocol.LayoutVersion.FeatureInfo"
  11279. abstract="false" native="false" synchronized="false"
  11280. static="false" final="false" visibility="public"
  11281. deprecated="not deprecated">
  11282. </method>
  11283. <doc>
  11284. <![CDATA[Enums for features that change the layout version.
  11285. <br><br>
  11286. To add a new layout version:
  11287. <ul>
  11288. <li>Define a new enum constant with a short enum name, the new layout version
  11289. and description of the added feature.</li>
  11290. <li>When adding a layout version with an ancestor that is not same as
  11291. its immediate predecessor, use the constructor where a specific ancestor
  11292. can be passed.
  11293. </li>
  11294. </ul>]]>
  11295. </doc>
  11296. </class>
  11297. <!-- end class org.apache.hadoop.hdfs.server.namenode.NameNodeLayoutVersion.Feature -->
  11298. <!-- start interface org.apache.hadoop.hdfs.server.namenode.NameNodeMXBean -->
  11299. <interface name="NameNodeMXBean" abstract="true"
  11300. static="false" final="false" visibility="public"
  11301. deprecated="not deprecated">
  11302. <method name="getVersion" return="java.lang.String"
  11303. abstract="false" native="false" synchronized="false"
  11304. static="false" final="false" visibility="public"
  11305. deprecated="not deprecated">
  11306. <doc>
  11307. <![CDATA[Gets the version of Hadoop.
  11308. @return the version]]>
  11309. </doc>
  11310. </method>
  11311. <method name="getSoftwareVersion" return="java.lang.String"
  11312. abstract="false" native="false" synchronized="false"
  11313. static="false" final="false" visibility="public"
  11314. deprecated="not deprecated">
  11315. <doc>
  11316. <![CDATA[Get the version of software running on the Namenode
  11317. @return a string representing the version]]>
  11318. </doc>
  11319. </method>
  11320. <method name="getUsed" return="long"
  11321. abstract="false" native="false" synchronized="false"
  11322. static="false" final="false" visibility="public"
  11323. deprecated="not deprecated">
  11324. <doc>
  11325. <![CDATA[Gets the used space by data nodes.
  11326. @return the used space by data nodes]]>
  11327. </doc>
  11328. </method>
  11329. <method name="getFree" return="long"
  11330. abstract="false" native="false" synchronized="false"
  11331. static="false" final="false" visibility="public"
  11332. deprecated="not deprecated">
  11333. <doc>
  11334. <![CDATA[Gets total non-used raw bytes.
  11335. @return total non-used raw bytes]]>
  11336. </doc>
  11337. </method>
  11338. <method name="getTotal" return="long"
  11339. abstract="false" native="false" synchronized="false"
  11340. static="false" final="false" visibility="public"
  11341. deprecated="not deprecated">
  11342. <doc>
  11343. <![CDATA[Gets total raw bytes including non-dfs used space.
  11344. @return the total raw bytes including non-dfs used space]]>
  11345. </doc>
  11346. </method>
  11347. <method name="getSafemode" return="java.lang.String"
  11348. abstract="false" native="false" synchronized="false"
  11349. static="false" final="false" visibility="public"
  11350. deprecated="not deprecated">
  11351. <doc>
  11352. <![CDATA[Gets the safemode status
  11353. @return the safemode status]]>
  11354. </doc>
  11355. </method>
  11356. <method name="isUpgradeFinalized" return="boolean"
  11357. abstract="false" native="false" synchronized="false"
  11358. static="false" final="false" visibility="public"
  11359. deprecated="not deprecated">
  11360. <doc>
  11361. <![CDATA[Checks if upgrade is finalized.
  11362. @return true, if upgrade is finalized]]>
  11363. </doc>
  11364. </method>
  11365. <method name="getRollingUpgradeStatus" return="org.apache.hadoop.hdfs.protocol.RollingUpgradeInfo.Bean"
  11366. abstract="false" native="false" synchronized="false"
  11367. static="false" final="false" visibility="public"
  11368. deprecated="not deprecated">
  11369. <doc>
  11370. <![CDATA[Gets the RollingUpgrade information
  11371. @return Rolling upgrade information]]>
  11372. </doc>
  11373. </method>
  11374. <method name="getNonDfsUsedSpace" return="long"
  11375. abstract="false" native="false" synchronized="false"
  11376. static="false" final="false" visibility="public"
  11377. deprecated="not deprecated">
  11378. <doc>
  11379. <![CDATA[Gets total used space by data nodes for non DFS purposes such as storing
  11380. temporary files on the local file system
  11381. @return the non dfs space of the cluster]]>
  11382. </doc>
  11383. </method>
  11384. <method name="getPercentUsed" return="float"
  11385. abstract="false" native="false" synchronized="false"
  11386. static="false" final="false" visibility="public"
  11387. deprecated="not deprecated">
  11388. <doc>
  11389. <![CDATA[Gets the total used space by data nodes as percentage of total capacity
  11390. @return the percentage of used space on the cluster.]]>
  11391. </doc>
  11392. </method>
  11393. <method name="getPercentRemaining" return="float"
  11394. abstract="false" native="false" synchronized="false"
  11395. static="false" final="false" visibility="public"
  11396. deprecated="not deprecated">
  11397. <doc>
  11398. <![CDATA[Gets the total remaining space by data nodes as percentage of total
  11399. capacity
  11400. @return the percentage of the remaining space on the cluster]]>
  11401. </doc>
  11402. </method>
  11403. <method name="getCacheUsed" return="long"
  11404. abstract="false" native="false" synchronized="false"
  11405. static="false" final="false" visibility="public"
  11406. deprecated="not deprecated">
  11407. <doc>
  11408. <![CDATA[Returns the amount of cache used by the datanode (in bytes).]]>
  11409. </doc>
  11410. </method>
  11411. <method name="getCacheCapacity" return="long"
  11412. abstract="false" native="false" synchronized="false"
  11413. static="false" final="false" visibility="public"
  11414. deprecated="not deprecated">
  11415. <doc>
  11416. <![CDATA[Returns the total cache capacity of the datanode (in bytes).]]>
  11417. </doc>
  11418. </method>
  11419. <method name="getBlockPoolUsedSpace" return="long"
  11420. abstract="false" native="false" synchronized="false"
  11421. static="false" final="false" visibility="public"
  11422. deprecated="not deprecated">
  11423. <doc>
  11424. <![CDATA[Get the total space used by the block pools of this namenode]]>
  11425. </doc>
  11426. </method>
  11427. <method name="getPercentBlockPoolUsed" return="float"
  11428. abstract="false" native="false" synchronized="false"
  11429. static="false" final="false" visibility="public"
  11430. deprecated="not deprecated">
  11431. <doc>
  11432. <![CDATA[Get the total space used by the block pool as percentage of total capacity]]>
  11433. </doc>
  11434. </method>
  11435. <method name="getTotalBlocks" return="long"
  11436. abstract="false" native="false" synchronized="false"
  11437. static="false" final="false" visibility="public"
  11438. deprecated="not deprecated">
  11439. <doc>
  11440. <![CDATA[Gets the total numbers of blocks on the cluster.
  11441. @return the total number of blocks of the cluster]]>
  11442. </doc>
  11443. </method>
  11444. <method name="getTotalFiles" return="long"
  11445. abstract="false" native="false" synchronized="false"
  11446. static="false" final="false" visibility="public"
  11447. deprecated="not deprecated">
  11448. <doc>
  11449. <![CDATA[Gets the total number of files on the cluster
  11450. @return the total number of files on the cluster]]>
  11451. </doc>
  11452. </method>
  11453. <method name="getNumberOfMissingBlocks" return="long"
  11454. abstract="false" native="false" synchronized="false"
  11455. static="false" final="false" visibility="public"
  11456. deprecated="not deprecated">
  11457. <doc>
  11458. <![CDATA[Gets the total number of missing blocks on the cluster
  11459. @return the total number of files and blocks on the cluster]]>
  11460. </doc>
  11461. </method>
  11462. <method name="getThreads" return="int"
  11463. abstract="false" native="false" synchronized="false"
  11464. static="false" final="false" visibility="public"
  11465. deprecated="not deprecated">
  11466. <doc>
  11467. <![CDATA[Gets the number of threads.
  11468. @return the number of threads]]>
  11469. </doc>
  11470. </method>
  11471. <method name="getLiveNodes" return="java.lang.String"
  11472. abstract="false" native="false" synchronized="false"
  11473. static="false" final="false" visibility="public"
  11474. deprecated="not deprecated">
  11475. <doc>
  11476. <![CDATA[Gets the live node information of the cluster.
  11477. @return the live node information]]>
  11478. </doc>
  11479. </method>
  11480. <method name="getDeadNodes" return="java.lang.String"
  11481. abstract="false" native="false" synchronized="false"
  11482. static="false" final="false" visibility="public"
  11483. deprecated="not deprecated">
  11484. <doc>
  11485. <![CDATA[Gets the dead node information of the cluster.
  11486. @return the dead node information]]>
  11487. </doc>
  11488. </method>
  11489. <method name="getDecomNodes" return="java.lang.String"
  11490. abstract="false" native="false" synchronized="false"
  11491. static="false" final="false" visibility="public"
  11492. deprecated="not deprecated">
  11493. <doc>
  11494. <![CDATA[Gets the decommissioning node information of the cluster.
  11495. @return the decommissioning node information]]>
  11496. </doc>
  11497. </method>
  11498. <method name="getClusterId" return="java.lang.String"
  11499. abstract="false" native="false" synchronized="false"
  11500. static="false" final="false" visibility="public"
  11501. deprecated="not deprecated">
  11502. <doc>
  11503. <![CDATA[Gets the cluster id.
  11504. @return the cluster id]]>
  11505. </doc>
  11506. </method>
  11507. <method name="getBlockPoolId" return="java.lang.String"
  11508. abstract="false" native="false" synchronized="false"
  11509. static="false" final="false" visibility="public"
  11510. deprecated="not deprecated">
  11511. <doc>
  11512. <![CDATA[Gets the block pool id.
  11513. @return the block pool id]]>
  11514. </doc>
  11515. </method>
  11516. <method name="getNameDirStatuses" return="java.lang.String"
  11517. abstract="false" native="false" synchronized="false"
  11518. static="false" final="false" visibility="public"
  11519. deprecated="not deprecated">
  11520. <doc>
  11521. <![CDATA[Get status information about the directories storing image and edits logs
  11522. of the NN.
  11523. @return the name dir status information, as a JSON string.]]>
  11524. </doc>
  11525. </method>
  11526. <method name="getNodeUsage" return="java.lang.String"
  11527. abstract="false" native="false" synchronized="false"
  11528. static="false" final="false" visibility="public"
  11529. deprecated="not deprecated">
  11530. <doc>
  11531. <![CDATA[Get Max, Median, Min and Standard Deviation of DataNodes usage.
  11532. @return the DataNode usage information, as a JSON string.]]>
  11533. </doc>
  11534. </method>
  11535. <method name="getNameJournalStatus" return="java.lang.String"
  11536. abstract="false" native="false" synchronized="false"
  11537. static="false" final="false" visibility="public"
  11538. deprecated="not deprecated">
  11539. <doc>
  11540. <![CDATA[Get status information about the journals of the NN.
  11541. @return the name journal status information, as a JSON string.]]>
  11542. </doc>
  11543. </method>
  11544. <method name="getJournalTransactionInfo" return="java.lang.String"
  11545. abstract="false" native="false" synchronized="false"
  11546. static="false" final="false" visibility="public"
  11547. deprecated="not deprecated">
  11548. <doc>
  11549. <![CDATA[Get information about the transaction ID, including the last applied
  11550. transaction ID and the most recent checkpoint's transaction ID]]>
  11551. </doc>
  11552. </method>
  11553. <method name="getNNStarted" return="java.lang.String"
  11554. abstract="false" native="false" synchronized="false"
  11555. static="false" final="false" visibility="public"
  11556. deprecated="not deprecated">
  11557. <doc>
  11558. <![CDATA[Gets the NN start time
  11559. @return the NN start time]]>
  11560. </doc>
  11561. </method>
  11562. <method name="getCompileInfo" return="java.lang.String"
  11563. abstract="false" native="false" synchronized="false"
  11564. static="false" final="false" visibility="public"
  11565. deprecated="not deprecated">
  11566. <doc>
  11567. <![CDATA[Get the compilation information which contains date, user and branch
  11568. @return the compilation information, as a JSON string.]]>
  11569. </doc>
  11570. </method>
  11571. <method name="getCorruptFiles" return="java.lang.String"
  11572. abstract="false" native="false" synchronized="false"
  11573. static="false" final="false" visibility="public"
  11574. deprecated="not deprecated">
  11575. <doc>
  11576. <![CDATA[Get the list of corrupt files
  11577. @return the list of corrupt files, as a JSON string.]]>
  11578. </doc>
  11579. </method>
  11580. <method name="getDistinctVersionCount" return="int"
  11581. abstract="false" native="false" synchronized="false"
  11582. static="false" final="false" visibility="public"
  11583. deprecated="not deprecated">
  11584. <doc>
  11585. <![CDATA[Get the number of distinct versions of live datanodes
  11586. @return the number of distinct versions of live datanodes]]>
  11587. </doc>
  11588. </method>
  11589. <method name="getDistinctVersions" return="java.util.Map"
  11590. abstract="false" native="false" synchronized="false"
  11591. static="false" final="false" visibility="public"
  11592. deprecated="not deprecated">
  11593. <doc>
  11594. <![CDATA[Get the number of live datanodes for each distinct versions
  11595. @return the number of live datanodes for each distinct versions]]>
  11596. </doc>
  11597. </method>
  11598. <doc>
  11599. <![CDATA[This is the JMX management interface for namenode information]]>
  11600. </doc>
  11601. </interface>
  11602. <!-- end interface org.apache.hadoop.hdfs.server.namenode.NameNodeMXBean -->
  11603. <!-- start interface org.apache.hadoop.hdfs.server.namenode.NameNodeStatusMXBean -->
  11604. <interface name="NameNodeStatusMXBean" abstract="true"
  11605. static="false" final="false" visibility="public"
  11606. deprecated="not deprecated">
  11607. <method name="getNNRole" return="java.lang.String"
  11608. abstract="false" native="false" synchronized="false"
  11609. static="false" final="false" visibility="public"
  11610. deprecated="not deprecated">
  11611. <doc>
  11612. <![CDATA[Gets the NameNode role.
  11613. @return the NameNode role.]]>
  11614. </doc>
  11615. </method>
  11616. <method name="getState" return="java.lang.String"
  11617. abstract="false" native="false" synchronized="false"
  11618. static="false" final="false" visibility="public"
  11619. deprecated="not deprecated">
  11620. <doc>
  11621. <![CDATA[Gets the NameNode state.
  11622. @return the NameNode state.]]>
  11623. </doc>
  11624. </method>
  11625. <method name="getHostAndPort" return="java.lang.String"
  11626. abstract="false" native="false" synchronized="false"
  11627. static="false" final="false" visibility="public"
  11628. deprecated="not deprecated">
  11629. <doc>
  11630. <![CDATA[Gets the host and port colon separated.
  11631. @return host and port colon separated.]]>
  11632. </doc>
  11633. </method>
  11634. <method name="isSecurityEnabled" return="boolean"
  11635. abstract="false" native="false" synchronized="false"
  11636. static="false" final="false" visibility="public"
  11637. deprecated="not deprecated">
  11638. <doc>
  11639. <![CDATA[Gets if security is enabled.
  11640. @return true, if security is enabled.]]>
  11641. </doc>
  11642. </method>
  11643. <doc>
  11644. <![CDATA[This is the JMX management interface for NameNode status information]]>
  11645. </doc>
  11646. </interface>
  11647. <!-- end interface org.apache.hadoop.hdfs.server.namenode.NameNodeStatusMXBean -->
  11648. <!-- start class org.apache.hadoop.hdfs.server.namenode.NNStorage.NameNodeDirType -->
  11649. <class name="NNStorage.NameNodeDirType" extends="java.lang.Enum"
  11650. abstract="false"
  11651. static="true" final="true" visibility="public"
  11652. deprecated="not deprecated">
  11653. <implements name="org.apache.hadoop.hdfs.server.common.Storage.StorageDirType"/>
  11654. <method name="values" return="org.apache.hadoop.hdfs.server.namenode.NNStorage.NameNodeDirType[]"
  11655. abstract="false" native="false" synchronized="false"
  11656. static="true" final="false" visibility="public"
  11657. deprecated="not deprecated">
  11658. </method>
  11659. <method name="valueOf" return="org.apache.hadoop.hdfs.server.namenode.NNStorage.NameNodeDirType"
  11660. abstract="false" native="false" synchronized="false"
  11661. static="true" final="false" visibility="public"
  11662. deprecated="not deprecated">
  11663. <param name="name" type="java.lang.String"/>
  11664. </method>
  11665. <method name="getStorageDirType" return="org.apache.hadoop.hdfs.server.common.Storage.StorageDirType"
  11666. abstract="false" native="false" synchronized="false"
  11667. static="false" final="false" visibility="public"
  11668. deprecated="not deprecated">
  11669. </method>
  11670. <method name="isOfType" return="boolean"
  11671. abstract="false" native="false" synchronized="false"
  11672. static="false" final="false" visibility="public"
  11673. deprecated="not deprecated">
  11674. <param name="type" type="org.apache.hadoop.hdfs.server.common.Storage.StorageDirType"/>
  11675. </method>
  11676. <doc>
  11677. <![CDATA[Implementation of StorageDirType specific to namenode storage
  11678. A Storage directory could be of type IMAGE which stores only fsimage,
  11679. or of type EDITS which stores edits or of type IMAGE_AND_EDITS which
  11680. stores both fsimage and edits.]]>
  11681. </doc>
  11682. </class>
  11683. <!-- end class org.apache.hadoop.hdfs.server.namenode.NNStorage.NameNodeDirType -->
  11684. <!-- start class org.apache.hadoop.hdfs.server.namenode.NNStorage.NameNodeFile -->
  11685. <class name="NNStorage.NameNodeFile" extends="java.lang.Enum"
  11686. abstract="false"
  11687. static="true" final="true" visibility="public"
  11688. deprecated="not deprecated">
  11689. <method name="values" return="org.apache.hadoop.hdfs.server.namenode.NNStorage.NameNodeFile[]"
  11690. abstract="false" native="false" synchronized="false"
  11691. static="true" final="false" visibility="public"
  11692. deprecated="not deprecated">
  11693. </method>
  11694. <method name="valueOf" return="org.apache.hadoop.hdfs.server.namenode.NNStorage.NameNodeFile"
  11695. abstract="false" native="false" synchronized="false"
  11696. static="true" final="false" visibility="public"
  11697. deprecated="not deprecated">
  11698. <param name="name" type="java.lang.String"/>
  11699. </method>
  11700. <method name="getName" return="java.lang.String"
  11701. abstract="false" native="false" synchronized="false"
  11702. static="false" final="false" visibility="public"
  11703. deprecated="not deprecated">
  11704. </method>
  11705. </class>
  11706. <!-- end class org.apache.hadoop.hdfs.server.namenode.NNStorage.NameNodeFile -->
  11707. <!-- start class org.apache.hadoop.hdfs.server.namenode.NNStorageRetentionManager -->
  11708. <class name="NNStorageRetentionManager" extends="java.lang.Object"
  11709. abstract="false"
  11710. static="false" final="false" visibility="public"
  11711. deprecated="not deprecated">
  11712. <constructor name="NNStorageRetentionManager" type="org.apache.hadoop.conf.Configuration, org.apache.hadoop.hdfs.server.namenode.NNStorage, org.apache.hadoop.hdfs.server.namenode.LogsPurgeable, org.apache.hadoop.hdfs.server.namenode.NNStorageRetentionManager.StoragePurger"
  11713. static="false" final="false" visibility="public"
  11714. deprecated="not deprecated">
  11715. </constructor>
  11716. <constructor name="NNStorageRetentionManager" type="org.apache.hadoop.conf.Configuration, org.apache.hadoop.hdfs.server.namenode.NNStorage, org.apache.hadoop.hdfs.server.namenode.LogsPurgeable"
  11717. static="false" final="false" visibility="public"
  11718. deprecated="not deprecated">
  11719. </constructor>
  11720. <doc>
  11721. <![CDATA[The NNStorageRetentionManager is responsible for inspecting the storage
  11722. directories of the NN and enforcing a retention policy on checkpoints
  11723. and edit logs.
  11724. It delegates the actual removal of files to a StoragePurger
  11725. implementation, which might delete the files or instead copy them to
  11726. a filer or HDFS for later analysis.]]>
  11727. </doc>
  11728. </class>
  11729. <!-- end class org.apache.hadoop.hdfs.server.namenode.NNStorageRetentionManager -->
  11730. <!-- start class org.apache.hadoop.hdfs.server.namenode.Quota -->
  11731. <class name="Quota" extends="java.lang.Enum"
  11732. abstract="false"
  11733. static="false" final="true" visibility="public"
  11734. deprecated="not deprecated">
  11735. <method name="values" return="org.apache.hadoop.hdfs.server.namenode.Quota[]"
  11736. abstract="false" native="false" synchronized="false"
  11737. static="true" final="false" visibility="public"
  11738. deprecated="not deprecated">
  11739. </method>
  11740. <method name="valueOf" return="org.apache.hadoop.hdfs.server.namenode.Quota"
  11741. abstract="false" native="false" synchronized="false"
  11742. static="true" final="false" visibility="public"
  11743. deprecated="not deprecated">
  11744. <param name="name" type="java.lang.String"/>
  11745. </method>
  11746. <doc>
  11747. <![CDATA[Quota types.]]>
  11748. </doc>
  11749. </class>
  11750. <!-- end class org.apache.hadoop.hdfs.server.namenode.Quota -->
  11751. <!-- start class org.apache.hadoop.hdfs.server.namenode.Quota.Counts -->
  11752. <class name="Quota.Counts" extends="org.apache.hadoop.hdfs.util.EnumCounters"
  11753. abstract="false"
  11754. static="true" final="false" visibility="public"
  11755. deprecated="not deprecated">
  11756. <method name="newInstance" return="org.apache.hadoop.hdfs.server.namenode.Quota.Counts"
  11757. abstract="false" native="false" synchronized="false"
  11758. static="true" final="false" visibility="public"
  11759. deprecated="not deprecated">
  11760. <param name="namespace" type="long"/>
  11761. <param name="diskspace" type="long"/>
  11762. <doc>
  11763. <![CDATA[@return a new counter with the given namespace and diskspace usages.]]>
  11764. </doc>
  11765. </method>
  11766. <method name="newInstance" return="org.apache.hadoop.hdfs.server.namenode.Quota.Counts"
  11767. abstract="false" native="false" synchronized="false"
  11768. static="true" final="false" visibility="public"
  11769. deprecated="not deprecated">
  11770. </method>
  11771. <doc>
  11772. <![CDATA[Counters for quota counts.]]>
  11773. </doc>
  11774. </class>
  11775. <!-- end class org.apache.hadoop.hdfs.server.namenode.Quota.Counts -->
  11776. <!-- start class org.apache.hadoop.hdfs.server.namenode.RenewDelegationTokenServlet -->
  11777. <class name="RenewDelegationTokenServlet" extends="org.apache.hadoop.hdfs.server.namenode.DfsServlet"
  11778. abstract="false"
  11779. static="false" final="false" visibility="public"
  11780. deprecated="not deprecated">
  11781. <constructor name="RenewDelegationTokenServlet"
  11782. static="false" final="false" visibility="public"
  11783. deprecated="not deprecated">
  11784. </constructor>
  11785. <method name="doGet"
  11786. abstract="false" native="false" synchronized="false"
  11787. static="false" final="false" visibility="protected"
  11788. deprecated="not deprecated">
  11789. <param name="req" type="javax.servlet.http.HttpServletRequest"/>
  11790. <param name="resp" type="javax.servlet.http.HttpServletResponse"/>
  11791. <exception name="ServletException" type="javax.servlet.ServletException"/>
  11792. <exception name="IOException" type="java.io.IOException"/>
  11793. </method>
  11794. <field name="PATH_SPEC" type="java.lang.String"
  11795. transient="false" volatile="false"
  11796. static="true" final="true" visibility="public"
  11797. deprecated="not deprecated">
  11798. </field>
  11799. <field name="TOKEN" type="java.lang.String"
  11800. transient="false" volatile="false"
  11801. static="true" final="true" visibility="public"
  11802. deprecated="not deprecated">
  11803. </field>
  11804. <doc>
  11805. <![CDATA[Renew delegation tokens over http for use in hftp.]]>
  11806. </doc>
  11807. </class>
  11808. <!-- end class org.apache.hadoop.hdfs.server.namenode.RenewDelegationTokenServlet -->
  11809. <!-- start class org.apache.hadoop.hdfs.server.namenode.TransferFsImage.HttpGetFailedException -->
  11810. <class name="TransferFsImage.HttpGetFailedException" extends="java.io.IOException"
  11811. abstract="false"
  11812. static="true" final="false" visibility="public"
  11813. deprecated="not deprecated">
  11814. <method name="getResponseCode" return="int"
  11815. abstract="false" native="false" synchronized="false"
  11816. static="false" final="false" visibility="public"
  11817. deprecated="not deprecated">
  11818. </method>
  11819. </class>
  11820. <!-- end class org.apache.hadoop.hdfs.server.namenode.TransferFsImage.HttpGetFailedException -->
  11821. <!-- start class org.apache.hadoop.hdfs.server.namenode.TransferFsImage.HttpPutFailedException -->
  11822. <class name="TransferFsImage.HttpPutFailedException" extends="java.io.IOException"
  11823. abstract="false"
  11824. static="true" final="false" visibility="public"
  11825. deprecated="not deprecated">
  11826. <method name="getResponseCode" return="int"
  11827. abstract="false" native="false" synchronized="false"
  11828. static="false" final="false" visibility="public"
  11829. deprecated="not deprecated">
  11830. </method>
  11831. </class>
  11832. <!-- end class org.apache.hadoop.hdfs.server.namenode.TransferFsImage.HttpPutFailedException -->
  11833. </package>
  11834. <package name="org.apache.hadoop.hdfs.server.namenode.ha">
  11835. <!-- start class org.apache.hadoop.hdfs.server.namenode.ha.AbstractNNFailoverProxyProvider -->
  11836. <class name="AbstractNNFailoverProxyProvider" extends="java.lang.Object"
  11837. abstract="true"
  11838. static="false" final="false" visibility="public"
  11839. deprecated="not deprecated">
  11840. <implements name="org.apache.hadoop.io.retry.FailoverProxyProvider"/>
  11841. <constructor name="AbstractNNFailoverProxyProvider"
  11842. static="false" final="false" visibility="public"
  11843. deprecated="not deprecated">
  11844. </constructor>
  11845. <method name="useLogicalURI" return="boolean"
  11846. abstract="true" native="false" synchronized="false"
  11847. static="false" final="false" visibility="public"
  11848. deprecated="not deprecated">
  11849. <doc>
  11850. <![CDATA[Inquire whether logical HA URI is used for the implementation. If it is
  11851. used, a special token handling may be needed to make sure a token acquired
  11852. from a node in the HA pair can be used against the other node.
  11853. @return true if logical HA URI is used. false, if not used.]]>
  11854. </doc>
  11855. </method>
  11856. <method name="setFallbackToSimpleAuth"
  11857. abstract="false" native="false" synchronized="true"
  11858. static="false" final="false" visibility="public"
  11859. deprecated="not deprecated">
  11860. <param name="fallbackToSimpleAuth" type="java.util.concurrent.atomic.AtomicBoolean"/>
  11861. <doc>
  11862. <![CDATA[Set for tracking if a secure client falls back to simple auth. This method
  11863. is synchronized only to stifle a Findbugs warning.
  11864. @param fallbackToSimpleAuth - set to true or false during this method to
  11865. indicate if a secure client falls back to simple auth]]>
  11866. </doc>
  11867. </method>
  11868. <field name="fallbackToSimpleAuth" type="java.util.concurrent.atomic.AtomicBoolean"
  11869. transient="false" volatile="false"
  11870. static="false" final="false" visibility="protected"
  11871. deprecated="not deprecated">
  11872. </field>
  11873. </class>
  11874. <!-- end class org.apache.hadoop.hdfs.server.namenode.ha.AbstractNNFailoverProxyProvider -->
  11875. <!-- start class org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider -->
  11876. <class name="ConfiguredFailoverProxyProvider" extends="org.apache.hadoop.hdfs.server.namenode.ha.AbstractNNFailoverProxyProvider"
  11877. abstract="false"
  11878. static="false" final="false" visibility="public"
  11879. deprecated="not deprecated">
  11880. <constructor name="ConfiguredFailoverProxyProvider" type="org.apache.hadoop.conf.Configuration, java.net.URI, java.lang.Class"
  11881. static="false" final="false" visibility="public"
  11882. deprecated="not deprecated">
  11883. </constructor>
  11884. <method name="getInterface" return="java.lang.Class"
  11885. abstract="false" native="false" synchronized="false"
  11886. static="false" final="false" visibility="public"
  11887. deprecated="not deprecated">
  11888. </method>
  11889. <method name="getProxy" return="org.apache.hadoop.io.retry.FailoverProxyProvider.ProxyInfo"
  11890. abstract="false" native="false" synchronized="true"
  11891. static="false" final="false" visibility="public"
  11892. deprecated="not deprecated">
  11893. <doc>
  11894. <![CDATA[Lazily initialize the RPC proxy object.]]>
  11895. </doc>
  11896. </method>
  11897. <method name="performFailover"
  11898. abstract="false" native="false" synchronized="true"
  11899. static="false" final="false" visibility="public"
  11900. deprecated="not deprecated">
  11901. <param name="currentProxy" type="T"/>
  11902. </method>
  11903. <method name="close"
  11904. abstract="false" native="false" synchronized="true"
  11905. static="false" final="false" visibility="public"
  11906. deprecated="not deprecated">
  11907. <exception name="IOException" type="java.io.IOException"/>
  11908. <doc>
  11909. <![CDATA[Close all the proxy objects which have been opened over the lifetime of
  11910. this proxy provider.]]>
  11911. </doc>
  11912. </method>
  11913. <method name="useLogicalURI" return="boolean"
  11914. abstract="false" native="false" synchronized="false"
  11915. static="false" final="false" visibility="public"
  11916. deprecated="not deprecated">
  11917. <doc>
  11918. <![CDATA[Logical URI is required for this failover proxy provider.]]>
  11919. </doc>
  11920. </method>
  11921. <doc>
  11922. <![CDATA[A FailoverProxyProvider implementation which allows one to configure two URIs
  11923. to connect to during fail-over. The first configured address is tried first,
  11924. and on a fail-over event the other address is tried.]]>
  11925. </doc>
  11926. </class>
  11927. <!-- end class org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider -->
  11928. <!-- start class org.apache.hadoop.hdfs.server.namenode.ha.IPFailoverProxyProvider -->
  11929. <class name="IPFailoverProxyProvider" extends="org.apache.hadoop.hdfs.server.namenode.ha.AbstractNNFailoverProxyProvider"
  11930. abstract="false"
  11931. static="false" final="false" visibility="public"
  11932. deprecated="not deprecated">
  11933. <constructor name="IPFailoverProxyProvider" type="org.apache.hadoop.conf.Configuration, java.net.URI, java.lang.Class"
  11934. static="false" final="false" visibility="public"
  11935. deprecated="not deprecated">
  11936. </constructor>
  11937. <method name="getInterface" return="java.lang.Class"
  11938. abstract="false" native="false" synchronized="false"
  11939. static="false" final="false" visibility="public"
  11940. deprecated="not deprecated">
  11941. </method>
  11942. <method name="getProxy" return="org.apache.hadoop.io.retry.FailoverProxyProvider.ProxyInfo"
  11943. abstract="false" native="false" synchronized="true"
  11944. static="false" final="false" visibility="public"
  11945. deprecated="not deprecated">
  11946. </method>
  11947. <method name="performFailover"
  11948. abstract="false" native="false" synchronized="false"
  11949. static="false" final="false" visibility="public"
  11950. deprecated="not deprecated">
  11951. <param name="currentProxy" type="T"/>
  11952. <doc>
  11953. <![CDATA[Nothing to do for IP failover]]>
  11954. </doc>
  11955. </method>
  11956. <method name="close"
  11957. abstract="false" native="false" synchronized="true"
  11958. static="false" final="false" visibility="public"
  11959. deprecated="not deprecated">
  11960. <exception name="IOException" type="java.io.IOException"/>
  11961. <doc>
  11962. <![CDATA[Close the proxy,]]>
  11963. </doc>
  11964. </method>
  11965. <method name="useLogicalURI" return="boolean"
  11966. abstract="false" native="false" synchronized="false"
  11967. static="false" final="false" visibility="public"
  11968. deprecated="not deprecated">
  11969. <doc>
  11970. <![CDATA[Logical URI is not used for IP failover.]]>
  11971. </doc>
  11972. </method>
  11973. <doc>
  11974. <![CDATA[A NNFailoverProxyProvider implementation which works on IP failover setup.
  11975. Only one proxy is used to connect to both servers and switching between
  11976. the servers is done by the environment/infrastructure, which guarantees
  11977. clients can consistently reach only one node at a time.
  11978. Clients with a live connection will likely get connection reset after an
  11979. IP failover. This case will be handled by the
  11980. FailoverOnNetworkExceptionRetry retry policy. I.e. if the call is
  11981. not idempotent, it won't get retried.
  11982. A connection reset while setting up a connection (i.e. before sending a
  11983. request) will be handled in ipc client.
  11984. The namenode URI must contain a resolvable host name.]]>
  11985. </doc>
  11986. </class>
  11987. <!-- end class org.apache.hadoop.hdfs.server.namenode.ha.IPFailoverProxyProvider -->
  11988. <!-- start class org.apache.hadoop.hdfs.server.namenode.ha.WrappedFailoverProxyProvider -->
  11989. <class name="WrappedFailoverProxyProvider" extends="org.apache.hadoop.hdfs.server.namenode.ha.AbstractNNFailoverProxyProvider"
  11990. abstract="false"
  11991. static="false" final="false" visibility="public"
  11992. deprecated="not deprecated">
  11993. <constructor name="WrappedFailoverProxyProvider" type="org.apache.hadoop.io.retry.FailoverProxyProvider"
  11994. static="false" final="false" visibility="public"
  11995. deprecated="not deprecated">
  11996. <doc>
  11997. <![CDATA[Wrap the given instance of an old FailoverProxyProvider.]]>
  11998. </doc>
  11999. </constructor>
  12000. <method name="getInterface" return="java.lang.Class"
  12001. abstract="false" native="false" synchronized="false"
  12002. static="false" final="false" visibility="public"
  12003. deprecated="not deprecated">
  12004. </method>
  12005. <method name="getProxy" return="org.apache.hadoop.io.retry.FailoverProxyProvider.ProxyInfo"
  12006. abstract="false" native="false" synchronized="true"
  12007. static="false" final="false" visibility="public"
  12008. deprecated="not deprecated">
  12009. </method>
  12010. <method name="performFailover"
  12011. abstract="false" native="false" synchronized="false"
  12012. static="false" final="false" visibility="public"
  12013. deprecated="not deprecated">
  12014. <param name="currentProxy" type="T"/>
  12015. </method>
  12016. <method name="close"
  12017. abstract="false" native="false" synchronized="true"
  12018. static="false" final="false" visibility="public"
  12019. deprecated="not deprecated">
  12020. <exception name="IOException" type="java.io.IOException"/>
  12021. <doc>
  12022. <![CDATA[Close the proxy,]]>
  12023. </doc>
  12024. </method>
  12025. <method name="useLogicalURI" return="boolean"
  12026. abstract="false" native="false" synchronized="false"
  12027. static="false" final="false" visibility="public"
  12028. deprecated="not deprecated">
  12029. <doc>
  12030. <![CDATA[Assume logical URI is used for old proxy provider implementations.]]>
  12031. </doc>
  12032. </method>
  12033. <doc>
  12034. <![CDATA[A NNFailoverProxyProvider implementation which wrapps old implementations
  12035. directly implementing the {@link FailoverProxyProvider} interface.
  12036. It is assumed that the old impelmentation is using logical URI.]]>
  12037. </doc>
  12038. </class>
  12039. <!-- end class org.apache.hadoop.hdfs.server.namenode.ha.WrappedFailoverProxyProvider -->
  12040. </package>
  12041. <package name="org.apache.hadoop.hdfs.server.namenode.metrics">
  12042. <!-- start class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics -->
  12043. <class name="NameNodeMetrics" extends="java.lang.Object"
  12044. abstract="false"
  12045. static="false" final="false" visibility="public"
  12046. deprecated="not deprecated">
  12047. <method name="create" return="org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics"
  12048. abstract="false" native="false" synchronized="false"
  12049. static="true" final="false" visibility="public"
  12050. deprecated="not deprecated">
  12051. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  12052. <param name="r" type="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.NamenodeRole"/>
  12053. </method>
  12054. <method name="getJvmMetrics" return="org.apache.hadoop.metrics2.source.JvmMetrics"
  12055. abstract="false" native="false" synchronized="false"
  12056. static="false" final="false" visibility="public"
  12057. deprecated="not deprecated">
  12058. </method>
  12059. <method name="shutdown"
  12060. abstract="false" native="false" synchronized="false"
  12061. static="false" final="false" visibility="public"
  12062. deprecated="not deprecated">
  12063. </method>
  12064. <method name="incrGetBlockLocations"
  12065. abstract="false" native="false" synchronized="false"
  12066. static="false" final="false" visibility="public"
  12067. deprecated="not deprecated">
  12068. </method>
  12069. <method name="incrFilesCreated"
  12070. abstract="false" native="false" synchronized="false"
  12071. static="false" final="false" visibility="public"
  12072. deprecated="not deprecated">
  12073. </method>
  12074. <method name="incrCreateFileOps"
  12075. abstract="false" native="false" synchronized="false"
  12076. static="false" final="false" visibility="public"
  12077. deprecated="not deprecated">
  12078. </method>
  12079. <method name="incrFilesAppended"
  12080. abstract="false" native="false" synchronized="false"
  12081. static="false" final="false" visibility="public"
  12082. deprecated="not deprecated">
  12083. </method>
  12084. <method name="incrAddBlockOps"
  12085. abstract="false" native="false" synchronized="false"
  12086. static="false" final="false" visibility="public"
  12087. deprecated="not deprecated">
  12088. </method>
  12089. <method name="incrGetAdditionalDatanodeOps"
  12090. abstract="false" native="false" synchronized="false"
  12091. static="false" final="false" visibility="public"
  12092. deprecated="not deprecated">
  12093. </method>
  12094. <method name="incrFilesRenamed"
  12095. abstract="false" native="false" synchronized="false"
  12096. static="false" final="false" visibility="public"
  12097. deprecated="not deprecated">
  12098. </method>
  12099. <method name="incrFilesDeleted"
  12100. abstract="false" native="false" synchronized="false"
  12101. static="false" final="false" visibility="public"
  12102. deprecated="not deprecated">
  12103. <param name="delta" type="long"/>
  12104. </method>
  12105. <method name="incrDeleteFileOps"
  12106. abstract="false" native="false" synchronized="false"
  12107. static="false" final="false" visibility="public"
  12108. deprecated="not deprecated">
  12109. </method>
  12110. <method name="incrGetListingOps"
  12111. abstract="false" native="false" synchronized="false"
  12112. static="false" final="false" visibility="public"
  12113. deprecated="not deprecated">
  12114. </method>
  12115. <method name="incrFilesInGetListingOps"
  12116. abstract="false" native="false" synchronized="false"
  12117. static="false" final="false" visibility="public"
  12118. deprecated="not deprecated">
  12119. <param name="delta" type="int"/>
  12120. </method>
  12121. <method name="incrFileInfoOps"
  12122. abstract="false" native="false" synchronized="false"
  12123. static="false" final="false" visibility="public"
  12124. deprecated="not deprecated">
  12125. </method>
  12126. <method name="incrCreateSymlinkOps"
  12127. abstract="false" native="false" synchronized="false"
  12128. static="false" final="false" visibility="public"
  12129. deprecated="not deprecated">
  12130. </method>
  12131. <method name="incrGetLinkTargetOps"
  12132. abstract="false" native="false" synchronized="false"
  12133. static="false" final="false" visibility="public"
  12134. deprecated="not deprecated">
  12135. </method>
  12136. <method name="incrAllowSnapshotOps"
  12137. abstract="false" native="false" synchronized="false"
  12138. static="false" final="false" visibility="public"
  12139. deprecated="not deprecated">
  12140. </method>
  12141. <method name="incrDisAllowSnapshotOps"
  12142. abstract="false" native="false" synchronized="false"
  12143. static="false" final="false" visibility="public"
  12144. deprecated="not deprecated">
  12145. </method>
  12146. <method name="incrCreateSnapshotOps"
  12147. abstract="false" native="false" synchronized="false"
  12148. static="false" final="false" visibility="public"
  12149. deprecated="not deprecated">
  12150. </method>
  12151. <method name="incrDeleteSnapshotOps"
  12152. abstract="false" native="false" synchronized="false"
  12153. static="false" final="false" visibility="public"
  12154. deprecated="not deprecated">
  12155. </method>
  12156. <method name="incrRenameSnapshotOps"
  12157. abstract="false" native="false" synchronized="false"
  12158. static="false" final="false" visibility="public"
  12159. deprecated="not deprecated">
  12160. </method>
  12161. <method name="incrListSnapshottableDirOps"
  12162. abstract="false" native="false" synchronized="false"
  12163. static="false" final="false" visibility="public"
  12164. deprecated="not deprecated">
  12165. </method>
  12166. <method name="incrSnapshotDiffReportOps"
  12167. abstract="false" native="false" synchronized="false"
  12168. static="false" final="false" visibility="public"
  12169. deprecated="not deprecated">
  12170. </method>
  12171. <method name="incrBlockReceivedAndDeletedOps"
  12172. abstract="false" native="false" synchronized="false"
  12173. static="false" final="false" visibility="public"
  12174. deprecated="not deprecated">
  12175. </method>
  12176. <method name="incrStorageBlockReportOps"
  12177. abstract="false" native="false" synchronized="false"
  12178. static="false" final="false" visibility="public"
  12179. deprecated="not deprecated">
  12180. </method>
  12181. <method name="addTransaction"
  12182. abstract="false" native="false" synchronized="false"
  12183. static="false" final="false" visibility="public"
  12184. deprecated="not deprecated">
  12185. <param name="latency" type="long"/>
  12186. </method>
  12187. <method name="incrTransactionsBatchedInSync"
  12188. abstract="false" native="false" synchronized="false"
  12189. static="false" final="false" visibility="public"
  12190. deprecated="not deprecated">
  12191. </method>
  12192. <method name="addSync"
  12193. abstract="false" native="false" synchronized="false"
  12194. static="false" final="false" visibility="public"
  12195. deprecated="not deprecated">
  12196. <param name="elapsed" type="long"/>
  12197. </method>
  12198. <method name="setFsImageLoadTime"
  12199. abstract="false" native="false" synchronized="false"
  12200. static="false" final="false" visibility="public"
  12201. deprecated="not deprecated">
  12202. <param name="elapsed" type="long"/>
  12203. </method>
  12204. <method name="addBlockReport"
  12205. abstract="false" native="false" synchronized="false"
  12206. static="false" final="false" visibility="public"
  12207. deprecated="not deprecated">
  12208. <param name="latency" type="long"/>
  12209. </method>
  12210. <method name="addCacheBlockReport"
  12211. abstract="false" native="false" synchronized="false"
  12212. static="false" final="false" visibility="public"
  12213. deprecated="not deprecated">
  12214. <param name="latency" type="long"/>
  12215. </method>
  12216. <method name="setSafeModeTime"
  12217. abstract="false" native="false" synchronized="false"
  12218. static="false" final="false" visibility="public"
  12219. deprecated="not deprecated">
  12220. <param name="elapsed" type="long"/>
  12221. </method>
  12222. <method name="addGetEdit"
  12223. abstract="false" native="false" synchronized="false"
  12224. static="false" final="false" visibility="public"
  12225. deprecated="not deprecated">
  12226. <param name="latency" type="long"/>
  12227. </method>
  12228. <method name="addGetImage"
  12229. abstract="false" native="false" synchronized="false"
  12230. static="false" final="false" visibility="public"
  12231. deprecated="not deprecated">
  12232. <param name="latency" type="long"/>
  12233. </method>
  12234. <method name="addPutImage"
  12235. abstract="false" native="false" synchronized="false"
  12236. static="false" final="false" visibility="public"
  12237. deprecated="not deprecated">
  12238. <param name="latency" type="long"/>
  12239. </method>
  12240. <doc>
  12241. <![CDATA[This class is for maintaining the various NameNode activity statistics
  12242. and publishing them through the metrics interfaces.]]>
  12243. </doc>
  12244. </class>
  12245. <!-- end class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics -->
  12246. </package>
  12247. <package name="org.apache.hadoop.hdfs.server.namenode.snapshot">
  12248. <!-- start class org.apache.hadoop.hdfs.server.namenode.snapshot.DirectoryWithSnapshotFeature.DirectoryDiff -->
  12249. <class name="DirectoryWithSnapshotFeature.DirectoryDiff" extends="org.apache.hadoop.hdfs.server.namenode.snapshot.AbstractINodeDiff"
  12250. abstract="false"
  12251. static="true" final="false" visibility="public"
  12252. deprecated="not deprecated">
  12253. <method name="getChildrenDiff" return="org.apache.hadoop.hdfs.server.namenode.snapshot.DirectoryWithSnapshotFeature.ChildrenDiff"
  12254. abstract="false" native="false" synchronized="false"
  12255. static="false" final="false" visibility="public"
  12256. deprecated="not deprecated">
  12257. </method>
  12258. <method name="toString" return="java.lang.String"
  12259. abstract="false" native="false" synchronized="false"
  12260. static="false" final="false" visibility="public"
  12261. deprecated="not deprecated">
  12262. </method>
  12263. <doc>
  12264. <![CDATA[The difference of an {@link INodeDirectory} between two snapshots.]]>
  12265. </doc>
  12266. </class>
  12267. <!-- end class org.apache.hadoop.hdfs.server.namenode.snapshot.DirectoryWithSnapshotFeature.DirectoryDiff -->
  12268. <!-- start class org.apache.hadoop.hdfs.server.namenode.snapshot.DirectoryWithSnapshotFeature.DirectoryDiffList -->
  12269. <class name="DirectoryWithSnapshotFeature.DirectoryDiffList" extends="org.apache.hadoop.hdfs.server.namenode.snapshot.AbstractINodeDiffList"
  12270. abstract="false"
  12271. static="true" final="false" visibility="public"
  12272. deprecated="not deprecated">
  12273. <constructor name="DirectoryWithSnapshotFeature.DirectoryDiffList"
  12274. static="false" final="false" visibility="public"
  12275. deprecated="not deprecated">
  12276. </constructor>
  12277. <method name="replaceChild" return="boolean"
  12278. abstract="false" native="false" synchronized="false"
  12279. static="false" final="false" visibility="public"
  12280. deprecated="not deprecated">
  12281. <param name="type" type="org.apache.hadoop.hdfs.util.Diff.ListType"/>
  12282. <param name="oldChild" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  12283. <param name="newChild" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  12284. <doc>
  12285. <![CDATA[Replace the given child in the created/deleted list, if there is any.]]>
  12286. </doc>
  12287. </method>
  12288. <method name="removeChild" return="boolean"
  12289. abstract="false" native="false" synchronized="false"
  12290. static="false" final="false" visibility="public"
  12291. deprecated="not deprecated">
  12292. <param name="type" type="org.apache.hadoop.hdfs.util.Diff.ListType"/>
  12293. <param name="child" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  12294. <doc>
  12295. <![CDATA[Remove the given child in the created/deleted list, if there is any.]]>
  12296. </doc>
  12297. </method>
  12298. <method name="findSnapshotDeleted" return="int"
  12299. abstract="false" native="false" synchronized="false"
  12300. static="false" final="false" visibility="public"
  12301. deprecated="not deprecated">
  12302. <param name="child" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  12303. <doc>
  12304. <![CDATA[Find the corresponding snapshot whose deleted list contains the given
  12305. inode.
  12306. @return the id of the snapshot. {@link Snapshot#NO_SNAPSHOT_ID} if the
  12307. given inode is not in any of the snapshot.]]>
  12308. </doc>
  12309. </method>
  12310. <doc>
  12311. <![CDATA[A list of directory diffs.]]>
  12312. </doc>
  12313. </class>
  12314. <!-- end class org.apache.hadoop.hdfs.server.namenode.snapshot.DirectoryWithSnapshotFeature.DirectoryDiffList -->
  12315. <!-- start class org.apache.hadoop.hdfs.server.namenode.snapshot.FileDiff -->
  12316. <class name="FileDiff" extends="org.apache.hadoop.hdfs.server.namenode.snapshot.AbstractINodeDiff"
  12317. abstract="false"
  12318. static="false" final="false" visibility="public"
  12319. deprecated="not deprecated">
  12320. <method name="getFileSize" return="long"
  12321. abstract="false" native="false" synchronized="false"
  12322. static="false" final="false" visibility="public"
  12323. deprecated="not deprecated">
  12324. <doc>
  12325. <![CDATA[@return the file size in the snapshot.]]>
  12326. </doc>
  12327. </method>
  12328. <method name="toString" return="java.lang.String"
  12329. abstract="false" native="false" synchronized="false"
  12330. static="false" final="false" visibility="public"
  12331. deprecated="not deprecated">
  12332. </method>
  12333. <doc>
  12334. <![CDATA[The difference of an {@link INodeFile} between two snapshots.]]>
  12335. </doc>
  12336. </class>
  12337. <!-- end class org.apache.hadoop.hdfs.server.namenode.snapshot.FileDiff -->
  12338. <!-- start class org.apache.hadoop.hdfs.server.namenode.snapshot.FileDiffList -->
  12339. <class name="FileDiffList" extends="org.apache.hadoop.hdfs.server.namenode.snapshot.AbstractINodeDiffList"
  12340. abstract="false"
  12341. static="false" final="false" visibility="public"
  12342. deprecated="not deprecated">
  12343. <constructor name="FileDiffList"
  12344. static="false" final="false" visibility="public"
  12345. deprecated="not deprecated">
  12346. </constructor>
  12347. <doc>
  12348. <![CDATA[A list of FileDiffs for storing snapshot data.]]>
  12349. </doc>
  12350. </class>
  12351. <!-- end class org.apache.hadoop.hdfs.server.namenode.snapshot.FileDiffList -->
  12352. <!-- start class org.apache.hadoop.hdfs.server.namenode.snapshot.FSImageFormatPBSnapshot.Loader -->
  12353. <class name="FSImageFormatPBSnapshot.Loader" extends="java.lang.Object"
  12354. abstract="false"
  12355. static="true" final="true" visibility="public"
  12356. deprecated="not deprecated">
  12357. <constructor name="FSImageFormatPBSnapshot.Loader" type="org.apache.hadoop.hdfs.server.namenode.FSNamesystem, org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.Loader"
  12358. static="false" final="false" visibility="public"
  12359. deprecated="not deprecated">
  12360. </constructor>
  12361. <method name="loadINodeReferenceSection"
  12362. abstract="false" native="false" synchronized="false"
  12363. static="false" final="false" visibility="public"
  12364. deprecated="not deprecated">
  12365. <param name="in" type="java.io.InputStream"/>
  12366. <exception name="IOException" type="java.io.IOException"/>
  12367. <doc>
  12368. <![CDATA[The sequence of the ref node in refList must be strictly the same with
  12369. the sequence in fsimage]]>
  12370. </doc>
  12371. </method>
  12372. <method name="loadSnapshotSection"
  12373. abstract="false" native="false" synchronized="false"
  12374. static="false" final="false" visibility="public"
  12375. deprecated="not deprecated">
  12376. <param name="in" type="java.io.InputStream"/>
  12377. <exception name="IOException" type="java.io.IOException"/>
  12378. <doc>
  12379. <![CDATA[Load the snapshots section from fsimage. Also add snapshottable feature
  12380. to snapshottable directories.]]>
  12381. </doc>
  12382. </method>
  12383. <method name="loadSnapshotDiffSection"
  12384. abstract="false" native="false" synchronized="false"
  12385. static="false" final="false" visibility="public"
  12386. deprecated="not deprecated">
  12387. <param name="in" type="java.io.InputStream"/>
  12388. <exception name="IOException" type="java.io.IOException"/>
  12389. <doc>
  12390. <![CDATA[Load the snapshot diff section from fsimage.]]>
  12391. </doc>
  12392. </method>
  12393. <doc>
  12394. <![CDATA[Loading snapshot related information from protobuf based FSImage]]>
  12395. </doc>
  12396. </class>
  12397. <!-- end class org.apache.hadoop.hdfs.server.namenode.snapshot.FSImageFormatPBSnapshot.Loader -->
  12398. <!-- start class org.apache.hadoop.hdfs.server.namenode.snapshot.FSImageFormatPBSnapshot.Saver -->
  12399. <class name="FSImageFormatPBSnapshot.Saver" extends="java.lang.Object"
  12400. abstract="false"
  12401. static="true" final="true" visibility="public"
  12402. deprecated="not deprecated">
  12403. <constructor name="FSImageFormatPBSnapshot.Saver" type="org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.Saver, org.apache.hadoop.hdfs.server.namenode.FsImageProto.FileSummary.Builder, org.apache.hadoop.hdfs.server.namenode.SaveNamespaceContext, org.apache.hadoop.hdfs.server.namenode.FSNamesystem"
  12404. static="false" final="false" visibility="public"
  12405. deprecated="not deprecated">
  12406. </constructor>
  12407. <method name="serializeSnapshotSection"
  12408. abstract="false" native="false" synchronized="false"
  12409. static="false" final="false" visibility="public"
  12410. deprecated="not deprecated">
  12411. <param name="out" type="java.io.OutputStream"/>
  12412. <exception name="IOException" type="java.io.IOException"/>
  12413. <doc>
  12414. <![CDATA[save all the snapshottable directories and snapshots to fsimage]]>
  12415. </doc>
  12416. </method>
  12417. <method name="serializeINodeReferenceSection"
  12418. abstract="false" native="false" synchronized="false"
  12419. static="false" final="false" visibility="public"
  12420. deprecated="not deprecated">
  12421. <param name="out" type="java.io.OutputStream"/>
  12422. <exception name="IOException" type="java.io.IOException"/>
  12423. <doc>
  12424. <![CDATA[This can only be called after serializing both INode_Dir and SnapshotDiff]]>
  12425. </doc>
  12426. </method>
  12427. <method name="serializeSnapshotDiffSection"
  12428. abstract="false" native="false" synchronized="false"
  12429. static="false" final="false" visibility="public"
  12430. deprecated="not deprecated">
  12431. <param name="out" type="java.io.OutputStream"/>
  12432. <exception name="IOException" type="java.io.IOException"/>
  12433. <doc>
  12434. <![CDATA[save all the snapshot diff to fsimage]]>
  12435. </doc>
  12436. </method>
  12437. <doc>
  12438. <![CDATA[Saving snapshot related information to protobuf based FSImage]]>
  12439. </doc>
  12440. </class>
  12441. <!-- end class org.apache.hadoop.hdfs.server.namenode.snapshot.FSImageFormatPBSnapshot.Saver -->
  12442. <!-- start class org.apache.hadoop.hdfs.server.namenode.snapshot.Snapshot.Root -->
  12443. <class name="Snapshot.Root" extends="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"
  12444. abstract="false"
  12445. static="true" final="false" visibility="public"
  12446. deprecated="not deprecated">
  12447. <method name="getChildrenList" return="org.apache.hadoop.hdfs.util.ReadOnlyList"
  12448. abstract="false" native="false" synchronized="false"
  12449. static="false" final="false" visibility="public"
  12450. deprecated="not deprecated">
  12451. <param name="snapshotId" type="int"/>
  12452. </method>
  12453. <method name="getChild" return="org.apache.hadoop.hdfs.server.namenode.INode"
  12454. abstract="false" native="false" synchronized="false"
  12455. static="false" final="false" visibility="public"
  12456. deprecated="not deprecated">
  12457. <param name="name" type="byte[]"/>
  12458. <param name="snapshotId" type="int"/>
  12459. </method>
  12460. <method name="getFullPathName" return="java.lang.String"
  12461. abstract="false" native="false" synchronized="false"
  12462. static="false" final="false" visibility="public"
  12463. deprecated="not deprecated">
  12464. </method>
  12465. <doc>
  12466. <![CDATA[The root directory of the snapshot.]]>
  12467. </doc>
  12468. </class>
  12469. <!-- end class org.apache.hadoop.hdfs.server.namenode.snapshot.Snapshot.Root -->
  12470. <!-- start class org.apache.hadoop.hdfs.server.namenode.snapshot.SnapshotFSImageFormat -->
  12471. <class name="SnapshotFSImageFormat" extends="java.lang.Object"
  12472. abstract="false"
  12473. static="false" final="false" visibility="public"
  12474. deprecated="not deprecated">
  12475. <constructor name="SnapshotFSImageFormat"
  12476. static="false" final="false" visibility="public"
  12477. deprecated="not deprecated">
  12478. </constructor>
  12479. <method name="saveSnapshots"
  12480. abstract="false" native="false" synchronized="false"
  12481. static="true" final="false" visibility="public"
  12482. deprecated="not deprecated">
  12483. <param name="current" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"/>
  12484. <param name="out" type="java.io.DataOutput"/>
  12485. <exception name="IOException" type="java.io.IOException"/>
  12486. <doc>
  12487. <![CDATA[Save snapshots and snapshot quota for a snapshottable directory.
  12488. @param current The directory that the snapshots belongs to.
  12489. @param out The {@link DataOutput} to write.
  12490. @throws IOException]]>
  12491. </doc>
  12492. </method>
  12493. <method name="saveDirectoryDiffList"
  12494. abstract="false" native="false" synchronized="false"
  12495. static="true" final="false" visibility="public"
  12496. deprecated="not deprecated">
  12497. <param name="dir" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"/>
  12498. <param name="out" type="java.io.DataOutput"/>
  12499. <param name="referenceMap" type="org.apache.hadoop.hdfs.server.namenode.snapshot.SnapshotFSImageFormat.ReferenceMap"/>
  12500. <exception name="IOException" type="java.io.IOException"/>
  12501. </method>
  12502. <method name="saveFileDiffList"
  12503. abstract="false" native="false" synchronized="false"
  12504. static="true" final="false" visibility="public"
  12505. deprecated="not deprecated">
  12506. <param name="file" type="org.apache.hadoop.hdfs.server.namenode.INodeFile"/>
  12507. <param name="out" type="java.io.DataOutput"/>
  12508. <exception name="IOException" type="java.io.IOException"/>
  12509. </method>
  12510. <method name="loadFileDiffList" return="org.apache.hadoop.hdfs.server.namenode.snapshot.FileDiffList"
  12511. abstract="false" native="false" synchronized="false"
  12512. static="true" final="false" visibility="public"
  12513. deprecated="not deprecated">
  12514. <param name="in" type="java.io.DataInput"/>
  12515. <param name="loader" type="org.apache.hadoop.hdfs.server.namenode.FSImageFormat.Loader"/>
  12516. <exception name="IOException" type="java.io.IOException"/>
  12517. </method>
  12518. <method name="loadCreated" return="org.apache.hadoop.hdfs.server.namenode.INode"
  12519. abstract="false" native="false" synchronized="false"
  12520. static="true" final="false" visibility="public"
  12521. deprecated="not deprecated">
  12522. <param name="createdNodeName" type="byte[]"/>
  12523. <param name="parent" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"/>
  12524. <exception name="IOException" type="java.io.IOException"/>
  12525. <doc>
  12526. <![CDATA[Load a node stored in the created list from fsimage.
  12527. @param createdNodeName The name of the created node.
  12528. @param parent The directory that the created list belongs to.
  12529. @return The created node.]]>
  12530. </doc>
  12531. </method>
  12532. <method name="loadSnapshotList"
  12533. abstract="false" native="false" synchronized="false"
  12534. static="true" final="false" visibility="public"
  12535. deprecated="not deprecated">
  12536. <param name="snapshottableParent" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"/>
  12537. <param name="numSnapshots" type="int"/>
  12538. <param name="in" type="java.io.DataInput"/>
  12539. <param name="loader" type="org.apache.hadoop.hdfs.server.namenode.FSImageFormat.Loader"/>
  12540. <exception name="IOException" type="java.io.IOException"/>
  12541. <doc>
  12542. <![CDATA[Load snapshots and snapshotQuota for a Snapshottable directory.
  12543. @param snapshottableParent
  12544. The snapshottable directory for loading.
  12545. @param numSnapshots
  12546. The number of snapshots that the directory has.
  12547. @param loader
  12548. The loader]]>
  12549. </doc>
  12550. </method>
  12551. <method name="loadDirectoryDiffList"
  12552. abstract="false" native="false" synchronized="false"
  12553. static="true" final="false" visibility="public"
  12554. deprecated="not deprecated">
  12555. <param name="dir" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"/>
  12556. <param name="in" type="java.io.DataInput"/>
  12557. <param name="loader" type="org.apache.hadoop.hdfs.server.namenode.FSImageFormat.Loader"/>
  12558. <exception name="IOException" type="java.io.IOException"/>
  12559. <doc>
  12560. <![CDATA[Load the {@link SnapshotDiff} list for the INodeDirectoryWithSnapshot
  12561. directory.
  12562. @param dir
  12563. The snapshottable directory for loading.
  12564. @param in
  12565. The {@link DataInput} instance to read.
  12566. @param loader
  12567. The loader]]>
  12568. </doc>
  12569. </method>
  12570. <doc>
  12571. <![CDATA[A helper class defining static methods for reading/writing snapshot related
  12572. information from/to FSImage.]]>
  12573. </doc>
  12574. </class>
  12575. <!-- end class org.apache.hadoop.hdfs.server.namenode.snapshot.SnapshotFSImageFormat -->
  12576. <!-- start class org.apache.hadoop.hdfs.server.namenode.snapshot.SnapshotFSImageFormat.ReferenceMap -->
  12577. <class name="SnapshotFSImageFormat.ReferenceMap" extends="java.lang.Object"
  12578. abstract="false"
  12579. static="true" final="false" visibility="public"
  12580. deprecated="not deprecated">
  12581. <constructor name="SnapshotFSImageFormat.ReferenceMap"
  12582. static="false" final="false" visibility="public"
  12583. deprecated="not deprecated">
  12584. </constructor>
  12585. <method name="writeINodeReferenceWithCount"
  12586. abstract="false" native="false" synchronized="false"
  12587. static="false" final="false" visibility="public"
  12588. deprecated="not deprecated">
  12589. <param name="withCount" type="org.apache.hadoop.hdfs.server.namenode.INodeReference.WithCount"/>
  12590. <param name="out" type="java.io.DataOutput"/>
  12591. <param name="writeUnderConstruction" type="boolean"/>
  12592. <exception name="IOException" type="java.io.IOException"/>
  12593. </method>
  12594. <method name="toProcessSubtree" return="boolean"
  12595. abstract="false" native="false" synchronized="false"
  12596. static="false" final="false" visibility="public"
  12597. deprecated="not deprecated">
  12598. <param name="id" type="long"/>
  12599. </method>
  12600. <method name="loadINodeReferenceWithCount" return="org.apache.hadoop.hdfs.server.namenode.INodeReference.WithCount"
  12601. abstract="false" native="false" synchronized="false"
  12602. static="false" final="false" visibility="public"
  12603. deprecated="not deprecated">
  12604. <param name="isSnapshotINode" type="boolean"/>
  12605. <param name="in" type="java.io.DataInput"/>
  12606. <param name="loader" type="org.apache.hadoop.hdfs.server.namenode.FSImageFormat.Loader"/>
  12607. <exception name="IOException" type="java.io.IOException"/>
  12608. </method>
  12609. <doc>
  12610. <![CDATA[A reference map for fsimage serialization.]]>
  12611. </doc>
  12612. </class>
  12613. <!-- end class org.apache.hadoop.hdfs.server.namenode.snapshot.SnapshotFSImageFormat.ReferenceMap -->
  12614. <!-- start class org.apache.hadoop.hdfs.server.namenode.snapshot.SnapshotManager -->
  12615. <class name="SnapshotManager" extends="java.lang.Object"
  12616. abstract="false"
  12617. static="false" final="false" visibility="public"
  12618. deprecated="not deprecated">
  12619. <implements name="org.apache.hadoop.hdfs.server.namenode.snapshot.SnapshotStatsMXBean"/>
  12620. <constructor name="SnapshotManager" type="org.apache.hadoop.hdfs.server.namenode.FSDirectory"
  12621. static="false" final="false" visibility="public"
  12622. deprecated="not deprecated">
  12623. </constructor>
  12624. <method name="setSnapshottable"
  12625. abstract="false" native="false" synchronized="false"
  12626. static="false" final="false" visibility="public"
  12627. deprecated="not deprecated">
  12628. <param name="path" type="java.lang.String"/>
  12629. <param name="checkNestedSnapshottable" type="boolean"/>
  12630. <exception name="IOException" type="java.io.IOException"/>
  12631. <doc>
  12632. <![CDATA[Set the given directory as a snapshottable directory.
  12633. If the path is already a snapshottable directory, update the quota.]]>
  12634. </doc>
  12635. </method>
  12636. <method name="addSnapshottable"
  12637. abstract="false" native="false" synchronized="false"
  12638. static="false" final="false" visibility="public"
  12639. deprecated="not deprecated">
  12640. <param name="dir" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"/>
  12641. <doc>
  12642. <![CDATA[Add the given snapshottable directory to {@link #snapshottables}.]]>
  12643. </doc>
  12644. </method>
  12645. <method name="removeSnapshottable"
  12646. abstract="false" native="false" synchronized="false"
  12647. static="false" final="false" visibility="public"
  12648. deprecated="not deprecated">
  12649. <param name="toRemove" type="java.util.List"/>
  12650. <doc>
  12651. <![CDATA[Remove snapshottable directories from {@link #snapshottables}]]>
  12652. </doc>
  12653. </method>
  12654. <method name="resetSnapshottable"
  12655. abstract="false" native="false" synchronized="false"
  12656. static="false" final="false" visibility="public"
  12657. deprecated="not deprecated">
  12658. <param name="path" type="java.lang.String"/>
  12659. <exception name="IOException" type="java.io.IOException"/>
  12660. <doc>
  12661. <![CDATA[Set the given snapshottable directory to non-snapshottable.
  12662. @throws SnapshotException if there are snapshots in the directory.]]>
  12663. </doc>
  12664. </method>
  12665. <method name="getSnapshottableRoot" return="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"
  12666. abstract="false" native="false" synchronized="false"
  12667. static="false" final="false" visibility="public"
  12668. deprecated="not deprecated">
  12669. <param name="path" type="java.lang.String"/>
  12670. <exception name="IOException" type="java.io.IOException"/>
  12671. <doc>
  12672. <![CDATA[Find the source root directory where the snapshot will be taken
  12673. for a given path.
  12674. @param path The directory path where the snapshot will be taken.
  12675. @return Snapshottable directory.
  12676. @throws IOException
  12677. Throw IOException when the given path does not lead to an
  12678. existing snapshottable directory.]]>
  12679. </doc>
  12680. </method>
  12681. <method name="createSnapshot" return="java.lang.String"
  12682. abstract="false" native="false" synchronized="false"
  12683. static="false" final="false" visibility="public"
  12684. deprecated="not deprecated">
  12685. <param name="path" type="java.lang.String"/>
  12686. <param name="snapshotName" type="java.lang.String"/>
  12687. <exception name="IOException" type="java.io.IOException"/>
  12688. <doc>
  12689. <![CDATA[Create a snapshot of the given path.
  12690. It is assumed that the caller will perform synchronization.
  12691. @param path
  12692. The directory path where the snapshot will be taken.
  12693. @param snapshotName
  12694. The name of the snapshot.
  12695. @throws IOException
  12696. Throw IOException when 1) the given path does not lead to an
  12697. existing snapshottable directory, and/or 2) there exists a
  12698. snapshot with the given name for the directory, and/or 3)
  12699. snapshot number exceeds quota]]>
  12700. </doc>
  12701. </method>
  12702. <method name="deleteSnapshot"
  12703. abstract="false" native="false" synchronized="false"
  12704. static="false" final="false" visibility="public"
  12705. deprecated="not deprecated">
  12706. <param name="path" type="java.lang.String"/>
  12707. <param name="snapshotName" type="java.lang.String"/>
  12708. <param name="collectedBlocks" type="org.apache.hadoop.hdfs.server.namenode.INode.BlocksMapUpdateInfo"/>
  12709. <param name="removedINodes" type="java.util.List"/>
  12710. <exception name="IOException" type="java.io.IOException"/>
  12711. <doc>
  12712. <![CDATA[Delete a snapshot for a snapshottable directory
  12713. @param path Path to the directory where the snapshot was taken
  12714. @param snapshotName Name of the snapshot to be deleted
  12715. @param collectedBlocks Used to collect information to update blocksMap
  12716. @throws IOException]]>
  12717. </doc>
  12718. </method>
  12719. <method name="renameSnapshot"
  12720. abstract="false" native="false" synchronized="false"
  12721. static="false" final="false" visibility="public"
  12722. deprecated="not deprecated">
  12723. <param name="path" type="java.lang.String"/>
  12724. <param name="oldSnapshotName" type="java.lang.String"/>
  12725. <param name="newSnapshotName" type="java.lang.String"/>
  12726. <exception name="IOException" type="java.io.IOException"/>
  12727. <doc>
  12728. <![CDATA[Rename the given snapshot
  12729. @param path
  12730. The directory path where the snapshot was taken
  12731. @param oldSnapshotName
  12732. Old name of the snapshot
  12733. @param newSnapshotName
  12734. New name of the snapshot
  12735. @throws IOException
  12736. Throw IOException when 1) the given path does not lead to an
  12737. existing snapshottable directory, and/or 2) the snapshot with the
  12738. old name does not exist for the directory, and/or 3) there exists
  12739. a snapshot with the new name for the directory]]>
  12740. </doc>
  12741. </method>
  12742. <method name="getNumSnapshottableDirs" return="int"
  12743. abstract="false" native="false" synchronized="false"
  12744. static="false" final="false" visibility="public"
  12745. deprecated="not deprecated">
  12746. </method>
  12747. <method name="getNumSnapshots" return="int"
  12748. abstract="false" native="false" synchronized="false"
  12749. static="false" final="false" visibility="public"
  12750. deprecated="not deprecated">
  12751. </method>
  12752. <method name="write"
  12753. abstract="false" native="false" synchronized="false"
  12754. static="false" final="false" visibility="public"
  12755. deprecated="not deprecated">
  12756. <param name="out" type="java.io.DataOutput"/>
  12757. <exception name="IOException" type="java.io.IOException"/>
  12758. <doc>
  12759. <![CDATA[Write {@link #snapshotCounter}, {@link #numSnapshots},
  12760. and all snapshots to the DataOutput.]]>
  12761. </doc>
  12762. </method>
  12763. <method name="read" return="java.util.Map"
  12764. abstract="false" native="false" synchronized="false"
  12765. static="false" final="false" visibility="public"
  12766. deprecated="not deprecated">
  12767. <param name="in" type="java.io.DataInput"/>
  12768. <param name="loader" type="org.apache.hadoop.hdfs.server.namenode.FSImageFormat.Loader"/>
  12769. <exception name="IOException" type="java.io.IOException"/>
  12770. <doc>
  12771. <![CDATA[Read values of {@link #snapshotCounter}, {@link #numSnapshots}, and
  12772. all snapshots from the DataInput]]>
  12773. </doc>
  12774. </method>
  12775. <method name="getSnapshottableDirListing" return="org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus[]"
  12776. abstract="false" native="false" synchronized="false"
  12777. static="false" final="false" visibility="public"
  12778. deprecated="not deprecated">
  12779. <param name="userName" type="java.lang.String"/>
  12780. <doc>
  12781. <![CDATA[List all the snapshottable directories that are owned by the current user.
  12782. @param userName Current user name.
  12783. @return Snapshottable directories that are owned by the current user,
  12784. represented as an array of {@link SnapshottableDirectoryStatus}. If
  12785. {@code userName} is null, return all the snapshottable dirs.]]>
  12786. </doc>
  12787. </method>
  12788. <method name="diff" return="org.apache.hadoop.hdfs.protocol.SnapshotDiffReport"
  12789. abstract="false" native="false" synchronized="false"
  12790. static="false" final="false" visibility="public"
  12791. deprecated="not deprecated">
  12792. <param name="path" type="java.lang.String"/>
  12793. <param name="from" type="java.lang.String"/>
  12794. <param name="to" type="java.lang.String"/>
  12795. <exception name="IOException" type="java.io.IOException"/>
  12796. <doc>
  12797. <![CDATA[Compute the difference between two snapshots of a directory, or between a
  12798. snapshot of the directory and its current tree.]]>
  12799. </doc>
  12800. </method>
  12801. <method name="clearSnapshottableDirs"
  12802. abstract="false" native="false" synchronized="false"
  12803. static="false" final="false" visibility="public"
  12804. deprecated="not deprecated">
  12805. </method>
  12806. <method name="getMaxSnapshotID" return="int"
  12807. abstract="false" native="false" synchronized="false"
  12808. static="false" final="false" visibility="public"
  12809. deprecated="not deprecated">
  12810. <doc>
  12811. <![CDATA[Returns the maximum allowable snapshot ID based on the bit width of the
  12812. snapshot ID.
  12813. @return maximum allowable snapshot ID.]]>
  12814. </doc>
  12815. </method>
  12816. <method name="registerMXBean"
  12817. abstract="false" native="false" synchronized="false"
  12818. static="false" final="false" visibility="public"
  12819. deprecated="not deprecated">
  12820. </method>
  12821. <method name="shutdown"
  12822. abstract="false" native="false" synchronized="false"
  12823. static="false" final="false" visibility="public"
  12824. deprecated="not deprecated">
  12825. </method>
  12826. <method name="getSnapshottableDirectories" return="org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus.Bean[]"
  12827. abstract="false" native="false" synchronized="false"
  12828. static="false" final="false" visibility="public"
  12829. deprecated="not deprecated">
  12830. </method>
  12831. <method name="getSnapshots" return="org.apache.hadoop.hdfs.protocol.SnapshotInfo.Bean[]"
  12832. abstract="false" native="false" synchronized="false"
  12833. static="false" final="false" visibility="public"
  12834. deprecated="not deprecated">
  12835. </method>
  12836. <method name="toBean" return="org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus.Bean"
  12837. abstract="false" native="false" synchronized="false"
  12838. static="true" final="false" visibility="public"
  12839. deprecated="not deprecated">
  12840. <param name="d" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"/>
  12841. </method>
  12842. <method name="toBean" return="org.apache.hadoop.hdfs.protocol.SnapshotInfo.Bean"
  12843. abstract="false" native="false" synchronized="false"
  12844. static="true" final="false" visibility="public"
  12845. deprecated="not deprecated">
  12846. <param name="s" type="org.apache.hadoop.hdfs.server.namenode.snapshot.Snapshot"/>
  12847. </method>
  12848. <doc>
  12849. <![CDATA[Manage snapshottable directories and their snapshots.
  12850. This class includes operations that create, access, modify snapshots and/or
  12851. snapshot-related data. In general, the locking structure of snapshot
  12852. operations is: <br>
  12853. 1. Lock the {@link FSNamesystem} lock in {@link FSNamesystem} before calling
  12854. into {@link SnapshotManager} methods.<br>
  12855. 2. Lock the {@link FSDirectory} lock for the {@link SnapshotManager} methods
  12856. if necessary.]]>
  12857. </doc>
  12858. </class>
  12859. <!-- end class org.apache.hadoop.hdfs.server.namenode.snapshot.SnapshotManager -->
  12860. <!-- start interface org.apache.hadoop.hdfs.server.namenode.snapshot.SnapshotStatsMXBean -->
  12861. <interface name="SnapshotStatsMXBean" abstract="true"
  12862. static="false" final="false" visibility="public"
  12863. deprecated="not deprecated">
  12864. <method name="getSnapshottableDirectories" return="org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus.Bean[]"
  12865. abstract="false" native="false" synchronized="false"
  12866. static="false" final="false" visibility="public"
  12867. deprecated="not deprecated">
  12868. <doc>
  12869. <![CDATA[Return the list of snapshottable directories
  12870. @return the list of snapshottable directories]]>
  12871. </doc>
  12872. </method>
  12873. <method name="getSnapshots" return="org.apache.hadoop.hdfs.protocol.SnapshotInfo.Bean[]"
  12874. abstract="false" native="false" synchronized="false"
  12875. static="false" final="false" visibility="public"
  12876. deprecated="not deprecated">
  12877. <doc>
  12878. <![CDATA[Return the list of snapshots
  12879. @return the list of snapshots]]>
  12880. </doc>
  12881. </method>
  12882. <doc>
  12883. <![CDATA[This is an interface used to retrieve statistic information related to
  12884. snapshots]]>
  12885. </doc>
  12886. </interface>
  12887. <!-- end interface org.apache.hadoop.hdfs.server.namenode.snapshot.SnapshotStatsMXBean -->
  12888. </package>
  12889. <package name="org.apache.hadoop.hdfs.server.namenode.web.resources">
  12890. <!-- start class org.apache.hadoop.hdfs.server.namenode.web.resources.NamenodeWebHdfsMethods -->
  12891. <class name="NamenodeWebHdfsMethods" extends="java.lang.Object"
  12892. abstract="false"
  12893. static="false" final="false" visibility="public"
  12894. deprecated="not deprecated">
  12895. <constructor name="NamenodeWebHdfsMethods"
  12896. static="false" final="false" visibility="public"
  12897. deprecated="not deprecated">
  12898. </constructor>
  12899. <method name="getRemoteAddress" return="java.lang.String"
  12900. abstract="false" native="false" synchronized="false"
  12901. static="true" final="false" visibility="public"
  12902. deprecated="not deprecated">
  12903. <doc>
  12904. <![CDATA[@return the remote client address.]]>
  12905. </doc>
  12906. </method>
  12907. <method name="getRemoteIp" return="java.net.InetAddress"
  12908. abstract="false" native="false" synchronized="false"
  12909. static="true" final="false" visibility="public"
  12910. deprecated="not deprecated">
  12911. </method>
  12912. <method name="isWebHdfsInvocation" return="boolean"
  12913. abstract="false" native="false" synchronized="false"
  12914. static="true" final="false" visibility="public"
  12915. deprecated="not deprecated">
  12916. <doc>
  12917. <![CDATA[Returns true if a WebHdfs request is in progress. Akin to
  12918. {@link Server#isRpcInvocation()}.]]>
  12919. </doc>
  12920. </method>
  12921. <method name="putRoot" return="javax.ws.rs.core.Response"
  12922. abstract="false" native="false" synchronized="false"
  12923. static="false" final="false" visibility="public"
  12924. deprecated="not deprecated">
  12925. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  12926. <param name="delegation" type="org.apache.hadoop.hdfs.web.resources.DelegationParam"/>
  12927. <param name="username" type="org.apache.hadoop.hdfs.web.resources.UserParam"/>
  12928. <param name="doAsUser" type="org.apache.hadoop.hdfs.web.resources.DoAsParam"/>
  12929. <param name="op" type="org.apache.hadoop.hdfs.web.resources.PutOpParam"/>
  12930. <param name="destination" type="org.apache.hadoop.hdfs.web.resources.DestinationParam"/>
  12931. <param name="owner" type="org.apache.hadoop.hdfs.web.resources.OwnerParam"/>
  12932. <param name="group" type="org.apache.hadoop.hdfs.web.resources.GroupParam"/>
  12933. <param name="permission" type="org.apache.hadoop.hdfs.web.resources.PermissionParam"/>
  12934. <param name="overwrite" type="org.apache.hadoop.hdfs.web.resources.OverwriteParam"/>
  12935. <param name="bufferSize" type="org.apache.hadoop.hdfs.web.resources.BufferSizeParam"/>
  12936. <param name="replication" type="org.apache.hadoop.hdfs.web.resources.ReplicationParam"/>
  12937. <param name="blockSize" type="org.apache.hadoop.hdfs.web.resources.BlockSizeParam"/>
  12938. <param name="modificationTime" type="org.apache.hadoop.hdfs.web.resources.ModificationTimeParam"/>
  12939. <param name="accessTime" type="org.apache.hadoop.hdfs.web.resources.AccessTimeParam"/>
  12940. <param name="renameOptions" type="org.apache.hadoop.hdfs.web.resources.RenameOptionSetParam"/>
  12941. <param name="createParent" type="org.apache.hadoop.hdfs.web.resources.CreateParentParam"/>
  12942. <param name="delegationTokenArgument" type="org.apache.hadoop.hdfs.web.resources.TokenArgumentParam"/>
  12943. <param name="aclPermission" type="org.apache.hadoop.hdfs.web.resources.AclPermissionParam"/>
  12944. <param name="xattrName" type="org.apache.hadoop.hdfs.web.resources.XAttrNameParam"/>
  12945. <param name="xattrValue" type="org.apache.hadoop.hdfs.web.resources.XAttrValueParam"/>
  12946. <param name="xattrSetFlag" type="org.apache.hadoop.hdfs.web.resources.XAttrSetFlagParam"/>
  12947. <param name="snapshotName" type="org.apache.hadoop.hdfs.web.resources.SnapshotNameParam"/>
  12948. <param name="oldSnapshotName" type="org.apache.hadoop.hdfs.web.resources.OldSnapshotNameParam"/>
  12949. <param name="excludeDatanodes" type="org.apache.hadoop.hdfs.web.resources.ExcludeDatanodesParam"/>
  12950. <exception name="IOException" type="java.io.IOException"/>
  12951. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  12952. <doc>
  12953. <![CDATA[Handle HTTP PUT request for the root.]]>
  12954. </doc>
  12955. </method>
  12956. <method name="put" return="javax.ws.rs.core.Response"
  12957. abstract="false" native="false" synchronized="false"
  12958. static="false" final="false" visibility="public"
  12959. deprecated="not deprecated">
  12960. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  12961. <param name="delegation" type="org.apache.hadoop.hdfs.web.resources.DelegationParam"/>
  12962. <param name="username" type="org.apache.hadoop.hdfs.web.resources.UserParam"/>
  12963. <param name="doAsUser" type="org.apache.hadoop.hdfs.web.resources.DoAsParam"/>
  12964. <param name="path" type="org.apache.hadoop.hdfs.web.resources.UriFsPathParam"/>
  12965. <param name="op" type="org.apache.hadoop.hdfs.web.resources.PutOpParam"/>
  12966. <param name="destination" type="org.apache.hadoop.hdfs.web.resources.DestinationParam"/>
  12967. <param name="owner" type="org.apache.hadoop.hdfs.web.resources.OwnerParam"/>
  12968. <param name="group" type="org.apache.hadoop.hdfs.web.resources.GroupParam"/>
  12969. <param name="permission" type="org.apache.hadoop.hdfs.web.resources.PermissionParam"/>
  12970. <param name="overwrite" type="org.apache.hadoop.hdfs.web.resources.OverwriteParam"/>
  12971. <param name="bufferSize" type="org.apache.hadoop.hdfs.web.resources.BufferSizeParam"/>
  12972. <param name="replication" type="org.apache.hadoop.hdfs.web.resources.ReplicationParam"/>
  12973. <param name="blockSize" type="org.apache.hadoop.hdfs.web.resources.BlockSizeParam"/>
  12974. <param name="modificationTime" type="org.apache.hadoop.hdfs.web.resources.ModificationTimeParam"/>
  12975. <param name="accessTime" type="org.apache.hadoop.hdfs.web.resources.AccessTimeParam"/>
  12976. <param name="renameOptions" type="org.apache.hadoop.hdfs.web.resources.RenameOptionSetParam"/>
  12977. <param name="createParent" type="org.apache.hadoop.hdfs.web.resources.CreateParentParam"/>
  12978. <param name="delegationTokenArgument" type="org.apache.hadoop.hdfs.web.resources.TokenArgumentParam"/>
  12979. <param name="aclPermission" type="org.apache.hadoop.hdfs.web.resources.AclPermissionParam"/>
  12980. <param name="xattrName" type="org.apache.hadoop.hdfs.web.resources.XAttrNameParam"/>
  12981. <param name="xattrValue" type="org.apache.hadoop.hdfs.web.resources.XAttrValueParam"/>
  12982. <param name="xattrSetFlag" type="org.apache.hadoop.hdfs.web.resources.XAttrSetFlagParam"/>
  12983. <param name="snapshotName" type="org.apache.hadoop.hdfs.web.resources.SnapshotNameParam"/>
  12984. <param name="oldSnapshotName" type="org.apache.hadoop.hdfs.web.resources.OldSnapshotNameParam"/>
  12985. <param name="excludeDatanodes" type="org.apache.hadoop.hdfs.web.resources.ExcludeDatanodesParam"/>
  12986. <exception name="IOException" type="java.io.IOException"/>
  12987. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  12988. <doc>
  12989. <![CDATA[Handle HTTP PUT request.]]>
  12990. </doc>
  12991. </method>
  12992. <method name="postRoot" return="javax.ws.rs.core.Response"
  12993. abstract="false" native="false" synchronized="false"
  12994. static="false" final="false" visibility="public"
  12995. deprecated="not deprecated">
  12996. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  12997. <param name="delegation" type="org.apache.hadoop.hdfs.web.resources.DelegationParam"/>
  12998. <param name="username" type="org.apache.hadoop.hdfs.web.resources.UserParam"/>
  12999. <param name="doAsUser" type="org.apache.hadoop.hdfs.web.resources.DoAsParam"/>
  13000. <param name="op" type="org.apache.hadoop.hdfs.web.resources.PostOpParam"/>
  13001. <param name="concatSrcs" type="org.apache.hadoop.hdfs.web.resources.ConcatSourcesParam"/>
  13002. <param name="bufferSize" type="org.apache.hadoop.hdfs.web.resources.BufferSizeParam"/>
  13003. <param name="excludeDatanodes" type="org.apache.hadoop.hdfs.web.resources.ExcludeDatanodesParam"/>
  13004. <exception name="IOException" type="java.io.IOException"/>
  13005. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13006. <doc>
  13007. <![CDATA[Handle HTTP POST request for the root.]]>
  13008. </doc>
  13009. </method>
  13010. <method name="post" return="javax.ws.rs.core.Response"
  13011. abstract="false" native="false" synchronized="false"
  13012. static="false" final="false" visibility="public"
  13013. deprecated="not deprecated">
  13014. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  13015. <param name="delegation" type="org.apache.hadoop.hdfs.web.resources.DelegationParam"/>
  13016. <param name="username" type="org.apache.hadoop.hdfs.web.resources.UserParam"/>
  13017. <param name="doAsUser" type="org.apache.hadoop.hdfs.web.resources.DoAsParam"/>
  13018. <param name="path" type="org.apache.hadoop.hdfs.web.resources.UriFsPathParam"/>
  13019. <param name="op" type="org.apache.hadoop.hdfs.web.resources.PostOpParam"/>
  13020. <param name="concatSrcs" type="org.apache.hadoop.hdfs.web.resources.ConcatSourcesParam"/>
  13021. <param name="bufferSize" type="org.apache.hadoop.hdfs.web.resources.BufferSizeParam"/>
  13022. <param name="excludeDatanodes" type="org.apache.hadoop.hdfs.web.resources.ExcludeDatanodesParam"/>
  13023. <exception name="IOException" type="java.io.IOException"/>
  13024. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13025. <doc>
  13026. <![CDATA[Handle HTTP POST request.]]>
  13027. </doc>
  13028. </method>
  13029. <method name="getRoot" return="javax.ws.rs.core.Response"
  13030. abstract="false" native="false" synchronized="false"
  13031. static="false" final="false" visibility="public"
  13032. deprecated="not deprecated">
  13033. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  13034. <param name="delegation" type="org.apache.hadoop.hdfs.web.resources.DelegationParam"/>
  13035. <param name="username" type="org.apache.hadoop.hdfs.web.resources.UserParam"/>
  13036. <param name="doAsUser" type="org.apache.hadoop.hdfs.web.resources.DoAsParam"/>
  13037. <param name="op" type="org.apache.hadoop.hdfs.web.resources.GetOpParam"/>
  13038. <param name="offset" type="org.apache.hadoop.hdfs.web.resources.OffsetParam"/>
  13039. <param name="length" type="org.apache.hadoop.hdfs.web.resources.LengthParam"/>
  13040. <param name="renewer" type="org.apache.hadoop.hdfs.web.resources.RenewerParam"/>
  13041. <param name="bufferSize" type="org.apache.hadoop.hdfs.web.resources.BufferSizeParam"/>
  13042. <param name="xattrNames" type="java.util.List"/>
  13043. <param name="xattrEncoding" type="org.apache.hadoop.hdfs.web.resources.XAttrEncodingParam"/>
  13044. <param name="excludeDatanodes" type="org.apache.hadoop.hdfs.web.resources.ExcludeDatanodesParam"/>
  13045. <param name="fsAction" type="org.apache.hadoop.hdfs.web.resources.FsActionParam"/>
  13046. <param name="tokenKind" type="org.apache.hadoop.hdfs.web.resources.TokenKindParam"/>
  13047. <param name="tokenService" type="org.apache.hadoop.hdfs.web.resources.TokenServiceParam"/>
  13048. <exception name="IOException" type="java.io.IOException"/>
  13049. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13050. <doc>
  13051. <![CDATA[Handle HTTP GET request for the root.]]>
  13052. </doc>
  13053. </method>
  13054. <method name="get" return="javax.ws.rs.core.Response"
  13055. abstract="false" native="false" synchronized="false"
  13056. static="false" final="false" visibility="public"
  13057. deprecated="not deprecated">
  13058. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  13059. <param name="delegation" type="org.apache.hadoop.hdfs.web.resources.DelegationParam"/>
  13060. <param name="username" type="org.apache.hadoop.hdfs.web.resources.UserParam"/>
  13061. <param name="doAsUser" type="org.apache.hadoop.hdfs.web.resources.DoAsParam"/>
  13062. <param name="path" type="org.apache.hadoop.hdfs.web.resources.UriFsPathParam"/>
  13063. <param name="op" type="org.apache.hadoop.hdfs.web.resources.GetOpParam"/>
  13064. <param name="offset" type="org.apache.hadoop.hdfs.web.resources.OffsetParam"/>
  13065. <param name="length" type="org.apache.hadoop.hdfs.web.resources.LengthParam"/>
  13066. <param name="renewer" type="org.apache.hadoop.hdfs.web.resources.RenewerParam"/>
  13067. <param name="bufferSize" type="org.apache.hadoop.hdfs.web.resources.BufferSizeParam"/>
  13068. <param name="xattrNames" type="java.util.List"/>
  13069. <param name="xattrEncoding" type="org.apache.hadoop.hdfs.web.resources.XAttrEncodingParam"/>
  13070. <param name="excludeDatanodes" type="org.apache.hadoop.hdfs.web.resources.ExcludeDatanodesParam"/>
  13071. <param name="fsAction" type="org.apache.hadoop.hdfs.web.resources.FsActionParam"/>
  13072. <param name="tokenKind" type="org.apache.hadoop.hdfs.web.resources.TokenKindParam"/>
  13073. <param name="tokenService" type="org.apache.hadoop.hdfs.web.resources.TokenServiceParam"/>
  13074. <exception name="IOException" type="java.io.IOException"/>
  13075. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13076. <doc>
  13077. <![CDATA[Handle HTTP GET request.]]>
  13078. </doc>
  13079. </method>
  13080. <method name="deleteRoot" return="javax.ws.rs.core.Response"
  13081. abstract="false" native="false" synchronized="false"
  13082. static="false" final="false" visibility="public"
  13083. deprecated="not deprecated">
  13084. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  13085. <param name="delegation" type="org.apache.hadoop.hdfs.web.resources.DelegationParam"/>
  13086. <param name="username" type="org.apache.hadoop.hdfs.web.resources.UserParam"/>
  13087. <param name="doAsUser" type="org.apache.hadoop.hdfs.web.resources.DoAsParam"/>
  13088. <param name="op" type="org.apache.hadoop.hdfs.web.resources.DeleteOpParam"/>
  13089. <param name="recursive" type="org.apache.hadoop.hdfs.web.resources.RecursiveParam"/>
  13090. <param name="snapshotName" type="org.apache.hadoop.hdfs.web.resources.SnapshotNameParam"/>
  13091. <exception name="IOException" type="java.io.IOException"/>
  13092. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13093. <doc>
  13094. <![CDATA[Handle HTTP DELETE request for the root.]]>
  13095. </doc>
  13096. </method>
  13097. <method name="delete" return="javax.ws.rs.core.Response"
  13098. abstract="false" native="false" synchronized="false"
  13099. static="false" final="false" visibility="public"
  13100. deprecated="not deprecated">
  13101. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  13102. <param name="delegation" type="org.apache.hadoop.hdfs.web.resources.DelegationParam"/>
  13103. <param name="username" type="org.apache.hadoop.hdfs.web.resources.UserParam"/>
  13104. <param name="doAsUser" type="org.apache.hadoop.hdfs.web.resources.DoAsParam"/>
  13105. <param name="path" type="org.apache.hadoop.hdfs.web.resources.UriFsPathParam"/>
  13106. <param name="op" type="org.apache.hadoop.hdfs.web.resources.DeleteOpParam"/>
  13107. <param name="recursive" type="org.apache.hadoop.hdfs.web.resources.RecursiveParam"/>
  13108. <param name="snapshotName" type="org.apache.hadoop.hdfs.web.resources.SnapshotNameParam"/>
  13109. <exception name="IOException" type="java.io.IOException"/>
  13110. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  13111. <doc>
  13112. <![CDATA[Handle HTTP DELETE request.]]>
  13113. </doc>
  13114. </method>
  13115. <field name="LOG" type="org.apache.commons.logging.Log"
  13116. transient="false" volatile="false"
  13117. static="true" final="true" visibility="public"
  13118. deprecated="not deprecated">
  13119. </field>
  13120. <doc>
  13121. <![CDATA[Web-hdfs NameNode implementation.]]>
  13122. </doc>
  13123. </class>
  13124. <!-- end class org.apache.hadoop.hdfs.server.namenode.web.resources.NamenodeWebHdfsMethods -->
  13125. </package>
  13126. <package name="org.apache.hadoop.hdfs.server.protocol">
  13127. <!-- start class org.apache.hadoop.hdfs.server.protocol.BalancerBandwidthCommand -->
  13128. <class name="BalancerBandwidthCommand" extends="org.apache.hadoop.hdfs.server.protocol.DatanodeCommand"
  13129. abstract="false"
  13130. static="false" final="false" visibility="public"
  13131. deprecated="not deprecated">
  13132. <constructor name="BalancerBandwidthCommand" type="long"
  13133. static="false" final="false" visibility="public"
  13134. deprecated="not deprecated">
  13135. <doc>
  13136. <![CDATA[Balancer Bandwidth Command constructor.
  13137. @param bandwidth Blanacer bandwidth in bytes per second.]]>
  13138. </doc>
  13139. </constructor>
  13140. <method name="getBalancerBandwidthValue" return="long"
  13141. abstract="false" native="false" synchronized="false"
  13142. static="false" final="false" visibility="public"
  13143. deprecated="not deprecated">
  13144. <doc>
  13145. <![CDATA[Get current value of the max balancer bandwidth in bytes per second.
  13146. @return bandwidth Blanacer bandwidth in bytes per second for this datanode.]]>
  13147. </doc>
  13148. </method>
  13149. <doc>
  13150. <![CDATA[Balancer bandwidth command instructs each datanode to change its value for
  13151. the max amount of network bandwidth it may use during the block balancing
  13152. operation.
  13153. The Balancer Bandwidth Command contains the new bandwidth value as its
  13154. payload. The bandwidth value is in bytes per second.]]>
  13155. </doc>
  13156. </class>
  13157. <!-- end class org.apache.hadoop.hdfs.server.protocol.BalancerBandwidthCommand -->
  13158. <!-- start class org.apache.hadoop.hdfs.server.protocol.DatanodeStorage -->
  13159. <class name="DatanodeStorage" extends="java.lang.Object"
  13160. abstract="false"
  13161. static="false" final="false" visibility="public"
  13162. deprecated="not deprecated">
  13163. <constructor name="DatanodeStorage" type="java.lang.String"
  13164. static="false" final="false" visibility="public"
  13165. deprecated="not deprecated">
  13166. <doc>
  13167. <![CDATA[Create a storage with {@link State#NORMAL} and {@link StorageType#DEFAULT}.]]>
  13168. </doc>
  13169. </constructor>
  13170. <constructor name="DatanodeStorage" type="java.lang.String, org.apache.hadoop.hdfs.server.protocol.DatanodeStorage.State, org.apache.hadoop.hdfs.StorageType"
  13171. static="false" final="false" visibility="public"
  13172. deprecated="not deprecated">
  13173. </constructor>
  13174. <method name="getStorageID" return="java.lang.String"
  13175. abstract="false" native="false" synchronized="false"
  13176. static="false" final="false" visibility="public"
  13177. deprecated="not deprecated">
  13178. </method>
  13179. <method name="getState" return="org.apache.hadoop.hdfs.server.protocol.DatanodeStorage.State"
  13180. abstract="false" native="false" synchronized="false"
  13181. static="false" final="false" visibility="public"
  13182. deprecated="not deprecated">
  13183. </method>
  13184. <method name="getStorageType" return="org.apache.hadoop.hdfs.StorageType"
  13185. abstract="false" native="false" synchronized="false"
  13186. static="false" final="false" visibility="public"
  13187. deprecated="not deprecated">
  13188. </method>
  13189. <method name="generateUuid" return="java.lang.String"
  13190. abstract="false" native="false" synchronized="false"
  13191. static="true" final="false" visibility="public"
  13192. deprecated="not deprecated">
  13193. <doc>
  13194. <![CDATA[Generate new storage ID. The format of this string can be changed
  13195. in the future without requiring that old storage IDs be updated.
  13196. @return unique storage ID]]>
  13197. </doc>
  13198. </method>
  13199. <method name="toString" return="java.lang.String"
  13200. abstract="false" native="false" synchronized="false"
  13201. static="false" final="false" visibility="public"
  13202. deprecated="not deprecated">
  13203. </method>
  13204. <method name="equals" return="boolean"
  13205. abstract="false" native="false" synchronized="false"
  13206. static="false" final="false" visibility="public"
  13207. deprecated="not deprecated">
  13208. <param name="other" type="java.lang.Object"/>
  13209. </method>
  13210. <method name="hashCode" return="int"
  13211. abstract="false" native="false" synchronized="false"
  13212. static="false" final="false" visibility="public"
  13213. deprecated="not deprecated">
  13214. </method>
  13215. <doc>
  13216. <![CDATA[Class captures information of a storage in Datanode.]]>
  13217. </doc>
  13218. </class>
  13219. <!-- end class org.apache.hadoop.hdfs.server.protocol.DatanodeStorage -->
  13220. <!-- start class org.apache.hadoop.hdfs.server.protocol.DatanodeStorage.State -->
  13221. <class name="DatanodeStorage.State" extends="java.lang.Enum"
  13222. abstract="false"
  13223. static="true" final="true" visibility="public"
  13224. deprecated="not deprecated">
  13225. <method name="values" return="org.apache.hadoop.hdfs.server.protocol.DatanodeStorage.State[]"
  13226. abstract="false" native="false" synchronized="false"
  13227. static="true" final="false" visibility="public"
  13228. deprecated="not deprecated">
  13229. </method>
  13230. <method name="valueOf" return="org.apache.hadoop.hdfs.server.protocol.DatanodeStorage.State"
  13231. abstract="false" native="false" synchronized="false"
  13232. static="true" final="false" visibility="public"
  13233. deprecated="not deprecated">
  13234. <param name="name" type="java.lang.String"/>
  13235. </method>
  13236. <doc>
  13237. <![CDATA[The state of the storage.]]>
  13238. </doc>
  13239. </class>
  13240. <!-- end class org.apache.hadoop.hdfs.server.protocol.DatanodeStorage.State -->
  13241. <!-- start class org.apache.hadoop.hdfs.server.protocol.DatanodeStorageReport -->
  13242. <class name="DatanodeStorageReport" extends="java.lang.Object"
  13243. abstract="false"
  13244. static="false" final="false" visibility="public"
  13245. deprecated="not deprecated">
  13246. <constructor name="DatanodeStorageReport" type="org.apache.hadoop.hdfs.protocol.DatanodeInfo, org.apache.hadoop.hdfs.server.protocol.StorageReport[]"
  13247. static="false" final="false" visibility="public"
  13248. deprecated="not deprecated">
  13249. </constructor>
  13250. <method name="getDatanodeInfo" return="org.apache.hadoop.hdfs.protocol.DatanodeInfo"
  13251. abstract="false" native="false" synchronized="false"
  13252. static="false" final="false" visibility="public"
  13253. deprecated="not deprecated">
  13254. </method>
  13255. <method name="getStorageReports" return="org.apache.hadoop.hdfs.server.protocol.StorageReport[]"
  13256. abstract="false" native="false" synchronized="false"
  13257. static="false" final="false" visibility="public"
  13258. deprecated="not deprecated">
  13259. </method>
  13260. <doc>
  13261. <![CDATA[Class captures information of a datanode and its storages.]]>
  13262. </doc>
  13263. </class>
  13264. <!-- end class org.apache.hadoop.hdfs.server.protocol.DatanodeStorageReport -->
  13265. <!-- start class org.apache.hadoop.hdfs.server.protocol.FencedException -->
  13266. <class name="FencedException" extends="java.io.IOException"
  13267. abstract="false"
  13268. static="false" final="false" visibility="public"
  13269. deprecated="not deprecated">
  13270. <constructor name="FencedException" type="java.lang.String"
  13271. static="false" final="false" visibility="public"
  13272. deprecated="not deprecated">
  13273. </constructor>
  13274. <doc>
  13275. <![CDATA[If a previous user of a resource tries to use a shared resource, after
  13276. fenced by another user, this exception is thrown.]]>
  13277. </doc>
  13278. </class>
  13279. <!-- end class org.apache.hadoop.hdfs.server.protocol.FencedException -->
  13280. <!-- start class org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo -->
  13281. <class name="ReceivedDeletedBlockInfo" extends="java.lang.Object"
  13282. abstract="false"
  13283. static="false" final="false" visibility="public"
  13284. deprecated="not deprecated">
  13285. <constructor name="ReceivedDeletedBlockInfo"
  13286. static="false" final="false" visibility="public"
  13287. deprecated="not deprecated">
  13288. </constructor>
  13289. <constructor name="ReceivedDeletedBlockInfo" type="org.apache.hadoop.hdfs.protocol.Block, org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo.BlockStatus, java.lang.String"
  13290. static="false" final="false" visibility="public"
  13291. deprecated="not deprecated">
  13292. </constructor>
  13293. <method name="getBlock" return="org.apache.hadoop.hdfs.protocol.Block"
  13294. abstract="false" native="false" synchronized="false"
  13295. static="false" final="false" visibility="public"
  13296. deprecated="not deprecated">
  13297. </method>
  13298. <method name="setBlock"
  13299. abstract="false" native="false" synchronized="false"
  13300. static="false" final="false" visibility="public"
  13301. deprecated="not deprecated">
  13302. <param name="blk" type="org.apache.hadoop.hdfs.protocol.Block"/>
  13303. </method>
  13304. <method name="getDelHints" return="java.lang.String"
  13305. abstract="false" native="false" synchronized="false"
  13306. static="false" final="false" visibility="public"
  13307. deprecated="not deprecated">
  13308. </method>
  13309. <method name="setDelHints"
  13310. abstract="false" native="false" synchronized="false"
  13311. static="false" final="false" visibility="public"
  13312. deprecated="not deprecated">
  13313. <param name="hints" type="java.lang.String"/>
  13314. </method>
  13315. <method name="getStatus" return="org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo.BlockStatus"
  13316. abstract="false" native="false" synchronized="false"
  13317. static="false" final="false" visibility="public"
  13318. deprecated="not deprecated">
  13319. </method>
  13320. <method name="equals" return="boolean"
  13321. abstract="false" native="false" synchronized="false"
  13322. static="false" final="false" visibility="public"
  13323. deprecated="not deprecated">
  13324. <param name="o" type="java.lang.Object"/>
  13325. </method>
  13326. <method name="hashCode" return="int"
  13327. abstract="false" native="false" synchronized="false"
  13328. static="false" final="false" visibility="public"
  13329. deprecated="not deprecated">
  13330. </method>
  13331. <method name="blockEquals" return="boolean"
  13332. abstract="false" native="false" synchronized="false"
  13333. static="false" final="false" visibility="public"
  13334. deprecated="not deprecated">
  13335. <param name="b" type="org.apache.hadoop.hdfs.protocol.Block"/>
  13336. </method>
  13337. <method name="isDeletedBlock" return="boolean"
  13338. abstract="false" native="false" synchronized="false"
  13339. static="false" final="false" visibility="public"
  13340. deprecated="not deprecated">
  13341. </method>
  13342. <method name="toString" return="java.lang.String"
  13343. abstract="false" native="false" synchronized="false"
  13344. static="false" final="false" visibility="public"
  13345. deprecated="not deprecated">
  13346. </method>
  13347. <doc>
  13348. <![CDATA[A data structure to store the blocks in an incremental block report.]]>
  13349. </doc>
  13350. </class>
  13351. <!-- end class org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo -->
  13352. <!-- start class org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo.BlockStatus -->
  13353. <class name="ReceivedDeletedBlockInfo.BlockStatus" extends="java.lang.Enum"
  13354. abstract="false"
  13355. static="true" final="true" visibility="public"
  13356. deprecated="not deprecated">
  13357. <method name="values" return="org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo.BlockStatus[]"
  13358. abstract="false" native="false" synchronized="false"
  13359. static="true" final="false" visibility="public"
  13360. deprecated="not deprecated">
  13361. </method>
  13362. <method name="valueOf" return="org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo.BlockStatus"
  13363. abstract="false" native="false" synchronized="false"
  13364. static="true" final="false" visibility="public"
  13365. deprecated="not deprecated">
  13366. <param name="name" type="java.lang.String"/>
  13367. </method>
  13368. <method name="getCode" return="int"
  13369. abstract="false" native="false" synchronized="false"
  13370. static="false" final="false" visibility="public"
  13371. deprecated="not deprecated">
  13372. </method>
  13373. <method name="fromCode" return="org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo.BlockStatus"
  13374. abstract="false" native="false" synchronized="false"
  13375. static="true" final="false" visibility="public"
  13376. deprecated="not deprecated">
  13377. <param name="code" type="int"/>
  13378. </method>
  13379. </class>
  13380. <!-- end class org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo.BlockStatus -->
  13381. <!-- start class org.apache.hadoop.hdfs.server.protocol.RemoteEditLog -->
  13382. <class name="RemoteEditLog" extends="java.lang.Object"
  13383. abstract="false"
  13384. static="false" final="false" visibility="public"
  13385. deprecated="not deprecated">
  13386. <implements name="java.lang.Comparable"/>
  13387. <constructor name="RemoteEditLog"
  13388. static="false" final="false" visibility="public"
  13389. deprecated="not deprecated">
  13390. </constructor>
  13391. <constructor name="RemoteEditLog" type="long, long"
  13392. static="false" final="false" visibility="public"
  13393. deprecated="not deprecated">
  13394. </constructor>
  13395. <constructor name="RemoteEditLog" type="long, long, boolean"
  13396. static="false" final="false" visibility="public"
  13397. deprecated="not deprecated">
  13398. </constructor>
  13399. <method name="getStartTxId" return="long"
  13400. abstract="false" native="false" synchronized="false"
  13401. static="false" final="false" visibility="public"
  13402. deprecated="not deprecated">
  13403. </method>
  13404. <method name="getEndTxId" return="long"
  13405. abstract="false" native="false" synchronized="false"
  13406. static="false" final="false" visibility="public"
  13407. deprecated="not deprecated">
  13408. </method>
  13409. <method name="isInProgress" return="boolean"
  13410. abstract="false" native="false" synchronized="false"
  13411. static="false" final="false" visibility="public"
  13412. deprecated="not deprecated">
  13413. </method>
  13414. <method name="toString" return="java.lang.String"
  13415. abstract="false" native="false" synchronized="false"
  13416. static="false" final="false" visibility="public"
  13417. deprecated="not deprecated">
  13418. </method>
  13419. <method name="compareTo" return="int"
  13420. abstract="false" native="false" synchronized="false"
  13421. static="false" final="false" visibility="public"
  13422. deprecated="not deprecated">
  13423. <param name="log" type="org.apache.hadoop.hdfs.server.protocol.RemoteEditLog"/>
  13424. </method>
  13425. <method name="equals" return="boolean"
  13426. abstract="false" native="false" synchronized="false"
  13427. static="false" final="false" visibility="public"
  13428. deprecated="not deprecated">
  13429. <param name="o" type="java.lang.Object"/>
  13430. </method>
  13431. <method name="hashCode" return="int"
  13432. abstract="false" native="false" synchronized="false"
  13433. static="false" final="false" visibility="public"
  13434. deprecated="not deprecated">
  13435. </method>
  13436. <field name="GET_START_TXID" type="com.google.common.base.Function"
  13437. transient="false" volatile="false"
  13438. static="true" final="true" visibility="public"
  13439. deprecated="not deprecated">
  13440. <doc>
  13441. <![CDATA[Guava <code>Function</code> which applies {@link #getStartTxId()}]]>
  13442. </doc>
  13443. </field>
  13444. </class>
  13445. <!-- end class org.apache.hadoop.hdfs.server.protocol.RemoteEditLog -->
  13446. <!-- start class org.apache.hadoop.hdfs.server.protocol.RemoteEditLogManifest -->
  13447. <class name="RemoteEditLogManifest" extends="java.lang.Object"
  13448. abstract="false"
  13449. static="false" final="false" visibility="public"
  13450. deprecated="not deprecated">
  13451. <constructor name="RemoteEditLogManifest"
  13452. static="false" final="false" visibility="public"
  13453. deprecated="not deprecated">
  13454. </constructor>
  13455. <constructor name="RemoteEditLogManifest" type="java.util.List"
  13456. static="false" final="false" visibility="public"
  13457. deprecated="not deprecated">
  13458. </constructor>
  13459. <method name="getLogs" return="java.util.List"
  13460. abstract="false" native="false" synchronized="false"
  13461. static="false" final="false" visibility="public"
  13462. deprecated="not deprecated">
  13463. </method>
  13464. <method name="toString" return="java.lang.String"
  13465. abstract="false" native="false" synchronized="false"
  13466. static="false" final="false" visibility="public"
  13467. deprecated="not deprecated">
  13468. </method>
  13469. <doc>
  13470. <![CDATA[An enumeration of logs available on a remote NameNode.]]>
  13471. </doc>
  13472. </class>
  13473. <!-- end class org.apache.hadoop.hdfs.server.protocol.RemoteEditLogManifest -->
  13474. <!-- start class org.apache.hadoop.hdfs.server.protocol.StorageBlockReport -->
  13475. <class name="StorageBlockReport" extends="java.lang.Object"
  13476. abstract="false"
  13477. static="false" final="false" visibility="public"
  13478. deprecated="not deprecated">
  13479. <constructor name="StorageBlockReport" type="org.apache.hadoop.hdfs.server.protocol.DatanodeStorage, long[]"
  13480. static="false" final="false" visibility="public"
  13481. deprecated="not deprecated">
  13482. </constructor>
  13483. <method name="getStorage" return="org.apache.hadoop.hdfs.server.protocol.DatanodeStorage"
  13484. abstract="false" native="false" synchronized="false"
  13485. static="false" final="false" visibility="public"
  13486. deprecated="not deprecated">
  13487. </method>
  13488. <method name="getBlocks" return="long[]"
  13489. abstract="false" native="false" synchronized="false"
  13490. static="false" final="false" visibility="public"
  13491. deprecated="not deprecated">
  13492. </method>
  13493. <doc>
  13494. <![CDATA[Block report for a Datanode storage]]>
  13495. </doc>
  13496. </class>
  13497. <!-- end class org.apache.hadoop.hdfs.server.protocol.StorageBlockReport -->
  13498. <!-- start class org.apache.hadoop.hdfs.server.protocol.StorageReceivedDeletedBlocks -->
  13499. <class name="StorageReceivedDeletedBlocks" extends="java.lang.Object"
  13500. abstract="false"
  13501. static="false" final="false" visibility="public"
  13502. deprecated="not deprecated">
  13503. <constructor name="StorageReceivedDeletedBlocks" type="java.lang.String, org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo[]"
  13504. static="false" final="false" visibility="public"
  13505. deprecated="not deprecated">
  13506. </constructor>
  13507. <constructor name="StorageReceivedDeletedBlocks" type="org.apache.hadoop.hdfs.server.protocol.DatanodeStorage, org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo[]"
  13508. static="false" final="false" visibility="public"
  13509. deprecated="not deprecated">
  13510. </constructor>
  13511. <method name="getStorageID" return="java.lang.String"
  13512. abstract="false" native="false" synchronized="false"
  13513. static="false" final="false" visibility="public"
  13514. deprecated="not deprecated">
  13515. </method>
  13516. <method name="getStorage" return="org.apache.hadoop.hdfs.server.protocol.DatanodeStorage"
  13517. abstract="false" native="false" synchronized="false"
  13518. static="false" final="false" visibility="public"
  13519. deprecated="not deprecated">
  13520. </method>
  13521. <method name="getBlocks" return="org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo[]"
  13522. abstract="false" native="false" synchronized="false"
  13523. static="false" final="false" visibility="public"
  13524. deprecated="not deprecated">
  13525. </method>
  13526. <doc>
  13527. <![CDATA[Report of block received and deleted per Datanode
  13528. storage.]]>
  13529. </doc>
  13530. </class>
  13531. <!-- end class org.apache.hadoop.hdfs.server.protocol.StorageReceivedDeletedBlocks -->
  13532. <!-- start class org.apache.hadoop.hdfs.server.protocol.StorageReport -->
  13533. <class name="StorageReport" extends="java.lang.Object"
  13534. abstract="false"
  13535. static="false" final="false" visibility="public"
  13536. deprecated="not deprecated">
  13537. <constructor name="StorageReport" type="org.apache.hadoop.hdfs.server.protocol.DatanodeStorage, boolean, long, long, long, long"
  13538. static="false" final="false" visibility="public"
  13539. deprecated="not deprecated">
  13540. </constructor>
  13541. <method name="getStorage" return="org.apache.hadoop.hdfs.server.protocol.DatanodeStorage"
  13542. abstract="false" native="false" synchronized="false"
  13543. static="false" final="false" visibility="public"
  13544. deprecated="not deprecated">
  13545. </method>
  13546. <method name="isFailed" return="boolean"
  13547. abstract="false" native="false" synchronized="false"
  13548. static="false" final="false" visibility="public"
  13549. deprecated="not deprecated">
  13550. </method>
  13551. <method name="getCapacity" return="long"
  13552. abstract="false" native="false" synchronized="false"
  13553. static="false" final="false" visibility="public"
  13554. deprecated="not deprecated">
  13555. </method>
  13556. <method name="getDfsUsed" return="long"
  13557. abstract="false" native="false" synchronized="false"
  13558. static="false" final="false" visibility="public"
  13559. deprecated="not deprecated">
  13560. </method>
  13561. <method name="getRemaining" return="long"
  13562. abstract="false" native="false" synchronized="false"
  13563. static="false" final="false" visibility="public"
  13564. deprecated="not deprecated">
  13565. </method>
  13566. <method name="getBlockPoolUsed" return="long"
  13567. abstract="false" native="false" synchronized="false"
  13568. static="false" final="false" visibility="public"
  13569. deprecated="not deprecated">
  13570. </method>
  13571. <field name="EMPTY_ARRAY" type="org.apache.hadoop.hdfs.server.protocol.StorageReport[]"
  13572. transient="false" volatile="false"
  13573. static="true" final="true" visibility="public"
  13574. deprecated="not deprecated">
  13575. </field>
  13576. <doc>
  13577. <![CDATA[Utilization report for a Datanode storage]]>
  13578. </doc>
  13579. </class>
  13580. <!-- end class org.apache.hadoop.hdfs.server.protocol.StorageReport -->
  13581. </package>
  13582. <package name="org.apache.hadoop.hdfs.shortcircuit">
  13583. <!-- start class org.apache.hadoop.hdfs.shortcircuit.DfsClientShm -->
  13584. <class name="DfsClientShm" extends="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm"
  13585. abstract="false"
  13586. static="false" final="false" visibility="public"
  13587. deprecated="not deprecated">
  13588. <implements name="org.apache.hadoop.net.unix.DomainSocketWatcher.Handler"/>
  13589. <method name="getEndpointShmManager" return="org.apache.hadoop.hdfs.shortcircuit.DfsClientShmManager.EndpointShmManager"
  13590. abstract="false" native="false" synchronized="false"
  13591. static="false" final="false" visibility="public"
  13592. deprecated="not deprecated">
  13593. </method>
  13594. <method name="getPeer" return="org.apache.hadoop.hdfs.net.DomainPeer"
  13595. abstract="false" native="false" synchronized="false"
  13596. static="false" final="false" visibility="public"
  13597. deprecated="not deprecated">
  13598. </method>
  13599. <method name="isDisconnected" return="boolean"
  13600. abstract="false" native="false" synchronized="true"
  13601. static="false" final="false" visibility="public"
  13602. deprecated="not deprecated">
  13603. <doc>
  13604. <![CDATA[Determine if the shared memory segment is disconnected from the DataNode.
  13605. This must be called with the DfsClientShmManager lock held.
  13606. @return True if the shared memory segment is stale.]]>
  13607. </doc>
  13608. </method>
  13609. <method name="handle" return="boolean"
  13610. abstract="false" native="false" synchronized="false"
  13611. static="false" final="false" visibility="public"
  13612. deprecated="not deprecated">
  13613. <param name="sock" type="org.apache.hadoop.net.unix.DomainSocket"/>
  13614. <doc>
  13615. <![CDATA[Handle the closure of the UNIX domain socket associated with this shared
  13616. memory segment by marking this segment as stale.
  13617. If there are no slots associated with this shared memory segment, it will
  13618. be freed immediately in this function.]]>
  13619. </doc>
  13620. </method>
  13621. <doc>
  13622. <![CDATA[DfsClientShm is a subclass of ShortCircuitShm which is used by the
  13623. DfsClient.
  13624. When the UNIX domain socket associated with this shared memory segment
  13625. closes unexpectedly, we mark the slots inside this segment as disconnected.
  13626. ShortCircuitReplica objects that contain disconnected slots are stale,
  13627. and will not be used to service new reads or mmap operations.
  13628. However, in-progress read or mmap operations will continue to proceed.
  13629. Once the last slot is deallocated, the segment can be safely munmapped.
  13630. Slots may also become stale because the associated replica has been deleted
  13631. on the DataNode. In this case, the DataNode will clear the 'valid' bit.
  13632. The client will then see these slots as stale (see
  13633. #{ShortCircuitReplica#isStale}).]]>
  13634. </doc>
  13635. </class>
  13636. <!-- end class org.apache.hadoop.hdfs.shortcircuit.DfsClientShm -->
  13637. <!-- start class org.apache.hadoop.hdfs.shortcircuit.DfsClientShmManager.PerDatanodeVisitorInfo -->
  13638. <class name="DfsClientShmManager.PerDatanodeVisitorInfo" extends="java.lang.Object"
  13639. abstract="false"
  13640. static="true" final="false" visibility="public"
  13641. deprecated="not deprecated">
  13642. <field name="full" type="java.util.TreeMap"
  13643. transient="false" volatile="false"
  13644. static="false" final="true" visibility="public"
  13645. deprecated="not deprecated">
  13646. </field>
  13647. <field name="notFull" type="java.util.TreeMap"
  13648. transient="false" volatile="false"
  13649. static="false" final="true" visibility="public"
  13650. deprecated="not deprecated">
  13651. </field>
  13652. <field name="disabled" type="boolean"
  13653. transient="false" volatile="false"
  13654. static="false" final="true" visibility="public"
  13655. deprecated="not deprecated">
  13656. </field>
  13657. </class>
  13658. <!-- end class org.apache.hadoop.hdfs.shortcircuit.DfsClientShmManager.PerDatanodeVisitorInfo -->
  13659. <!-- start interface org.apache.hadoop.hdfs.shortcircuit.DfsClientShmManager.Visitor -->
  13660. <interface name="DfsClientShmManager.Visitor" abstract="true"
  13661. static="true" final="false" visibility="public"
  13662. deprecated="not deprecated">
  13663. <method name="visit"
  13664. abstract="false" native="false" synchronized="false"
  13665. static="false" final="false" visibility="public"
  13666. deprecated="not deprecated">
  13667. <param name="info" type="java.util.HashMap"/>
  13668. <exception name="IOException" type="java.io.IOException"/>
  13669. </method>
  13670. </interface>
  13671. <!-- end interface org.apache.hadoop.hdfs.shortcircuit.DfsClientShmManager.Visitor -->
  13672. <!-- start class org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory -->
  13673. <class name="DomainSocketFactory" extends="java.lang.Object"
  13674. abstract="false"
  13675. static="false" final="false" visibility="public"
  13676. deprecated="not deprecated">
  13677. <constructor name="DomainSocketFactory" type="org.apache.hadoop.hdfs.DFSClient.Conf"
  13678. static="false" final="false" visibility="public"
  13679. deprecated="not deprecated">
  13680. </constructor>
  13681. <method name="getPathInfo" return="org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory.PathInfo"
  13682. abstract="false" native="false" synchronized="false"
  13683. static="false" final="false" visibility="public"
  13684. deprecated="not deprecated">
  13685. <param name="addr" type="java.net.InetSocketAddress"/>
  13686. <param name="conf" type="org.apache.hadoop.hdfs.DFSClient.Conf"/>
  13687. <doc>
  13688. <![CDATA[Get information about a domain socket path.
  13689. @param addr The inet address to use.
  13690. @param conf The client configuration.
  13691. @return Information about the socket path.]]>
  13692. </doc>
  13693. </method>
  13694. <method name="createSocket" return="org.apache.hadoop.net.unix.DomainSocket"
  13695. abstract="false" native="false" synchronized="false"
  13696. static="false" final="false" visibility="public"
  13697. deprecated="not deprecated">
  13698. <param name="info" type="org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory.PathInfo"/>
  13699. <param name="socketTimeout" type="int"/>
  13700. </method>
  13701. <method name="disableShortCircuitForPath"
  13702. abstract="false" native="false" synchronized="false"
  13703. static="false" final="false" visibility="public"
  13704. deprecated="not deprecated">
  13705. <param name="path" type="java.lang.String"/>
  13706. </method>
  13707. <method name="disableDomainSocketPath"
  13708. abstract="false" native="false" synchronized="false"
  13709. static="false" final="false" visibility="public"
  13710. deprecated="not deprecated">
  13711. <param name="path" type="java.lang.String"/>
  13712. </method>
  13713. </class>
  13714. <!-- end class org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory -->
  13715. <!-- start class org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory.PathInfo -->
  13716. <class name="DomainSocketFactory.PathInfo" extends="java.lang.Object"
  13717. abstract="false"
  13718. static="true" final="false" visibility="public"
  13719. deprecated="not deprecated">
  13720. <method name="getPath" return="java.lang.String"
  13721. abstract="false" native="false" synchronized="false"
  13722. static="false" final="false" visibility="public"
  13723. deprecated="not deprecated">
  13724. </method>
  13725. <method name="getPathState" return="org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory.PathState"
  13726. abstract="false" native="false" synchronized="false"
  13727. static="false" final="false" visibility="public"
  13728. deprecated="not deprecated">
  13729. </method>
  13730. <method name="toString" return="java.lang.String"
  13731. abstract="false" native="false" synchronized="false"
  13732. static="false" final="false" visibility="public"
  13733. deprecated="not deprecated">
  13734. </method>
  13735. </class>
  13736. <!-- end class org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory.PathInfo -->
  13737. <!-- start class org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory.PathState -->
  13738. <class name="DomainSocketFactory.PathState" extends="java.lang.Enum"
  13739. abstract="false"
  13740. static="true" final="true" visibility="public"
  13741. deprecated="not deprecated">
  13742. <method name="values" return="org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory.PathState[]"
  13743. abstract="false" native="false" synchronized="false"
  13744. static="true" final="false" visibility="public"
  13745. deprecated="not deprecated">
  13746. </method>
  13747. <method name="valueOf" return="org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory.PathState"
  13748. abstract="false" native="false" synchronized="false"
  13749. static="true" final="false" visibility="public"
  13750. deprecated="not deprecated">
  13751. <param name="name" type="java.lang.String"/>
  13752. </method>
  13753. <method name="getUsableForDataTransfer" return="boolean"
  13754. abstract="false" native="false" synchronized="false"
  13755. static="false" final="false" visibility="public"
  13756. deprecated="not deprecated">
  13757. </method>
  13758. <method name="getUsableForShortCircuit" return="boolean"
  13759. abstract="false" native="false" synchronized="false"
  13760. static="false" final="false" visibility="public"
  13761. deprecated="not deprecated">
  13762. </method>
  13763. </class>
  13764. <!-- end class org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory.PathState -->
  13765. <!-- start interface org.apache.hadoop.hdfs.shortcircuit.ShortCircuitCache.CacheVisitor -->
  13766. <interface name="ShortCircuitCache.CacheVisitor" abstract="true"
  13767. static="true" final="false" visibility="public"
  13768. deprecated="not deprecated">
  13769. <method name="visit"
  13770. abstract="false" native="false" synchronized="false"
  13771. static="false" final="false" visibility="public"
  13772. deprecated="not deprecated">
  13773. <param name="numOutstandingMmaps" type="int"/>
  13774. <param name="replicas" type="java.util.Map"/>
  13775. <param name="failedLoads" type="java.util.Map"/>
  13776. <param name="evictable" type="java.util.Map"/>
  13777. <param name="evictableMmapped" type="java.util.Map"/>
  13778. </method>
  13779. </interface>
  13780. <!-- end interface org.apache.hadoop.hdfs.shortcircuit.ShortCircuitCache.CacheVisitor -->
  13781. <!-- start interface org.apache.hadoop.hdfs.shortcircuit.ShortCircuitCache.ShortCircuitReplicaCreator -->
  13782. <interface name="ShortCircuitCache.ShortCircuitReplicaCreator" abstract="true"
  13783. static="true" final="false" visibility="public"
  13784. deprecated="not deprecated">
  13785. <method name="createShortCircuitReplicaInfo" return="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitReplicaInfo"
  13786. abstract="false" native="false" synchronized="false"
  13787. static="false" final="false" visibility="public"
  13788. deprecated="not deprecated">
  13789. <doc>
  13790. <![CDATA[Attempt to create a ShortCircuitReplica object.
  13791. This callback will be made without holding any locks.
  13792. @return a non-null ShortCircuitReplicaInfo object.]]>
  13793. </doc>
  13794. </method>
  13795. </interface>
  13796. <!-- end interface org.apache.hadoop.hdfs.shortcircuit.ShortCircuitCache.ShortCircuitReplicaCreator -->
  13797. <!-- start class org.apache.hadoop.hdfs.shortcircuit.ShortCircuitReplicaInfo -->
  13798. <class name="ShortCircuitReplicaInfo" extends="java.lang.Object"
  13799. abstract="false"
  13800. static="false" final="true" visibility="public"
  13801. deprecated="not deprecated">
  13802. <constructor name="ShortCircuitReplicaInfo"
  13803. static="false" final="false" visibility="public"
  13804. deprecated="not deprecated">
  13805. </constructor>
  13806. <constructor name="ShortCircuitReplicaInfo" type="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitReplica"
  13807. static="false" final="false" visibility="public"
  13808. deprecated="not deprecated">
  13809. </constructor>
  13810. <constructor name="ShortCircuitReplicaInfo" type="org.apache.hadoop.security.token.SecretManager.InvalidToken"
  13811. static="false" final="false" visibility="public"
  13812. deprecated="not deprecated">
  13813. </constructor>
  13814. <method name="getReplica" return="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitReplica"
  13815. abstract="false" native="false" synchronized="false"
  13816. static="false" final="false" visibility="public"
  13817. deprecated="not deprecated">
  13818. </method>
  13819. <method name="getInvalidTokenException" return="org.apache.hadoop.security.token.SecretManager.InvalidToken"
  13820. abstract="false" native="false" synchronized="false"
  13821. static="false" final="false" visibility="public"
  13822. deprecated="not deprecated">
  13823. </method>
  13824. <method name="toString" return="java.lang.String"
  13825. abstract="false" native="false" synchronized="false"
  13826. static="false" final="false" visibility="public"
  13827. deprecated="not deprecated">
  13828. </method>
  13829. </class>
  13830. <!-- end class org.apache.hadoop.hdfs.shortcircuit.ShortCircuitReplicaInfo -->
  13831. <!-- start class org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm -->
  13832. <class name="ShortCircuitShm" extends="java.lang.Object"
  13833. abstract="false"
  13834. static="false" final="false" visibility="public"
  13835. deprecated="not deprecated">
  13836. <constructor name="ShortCircuitShm" type="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.ShmId, java.io.FileInputStream"
  13837. static="false" final="false" visibility="public"
  13838. deprecated="not deprecated">
  13839. <exception name="IOException" type="java.io.IOException"/>
  13840. <doc>
  13841. <![CDATA[Create the ShortCircuitShm.
  13842. @param shmId The ID to use.
  13843. @param stream The stream that we're going to use to create this
  13844. shared memory segment.
  13845. Although this is a FileInputStream, we are going to
  13846. assume that the underlying file descriptor is writable
  13847. as well as readable. It would be more appropriate to use
  13848. a RandomAccessFile here, but that class does not have
  13849. any public accessor which returns a FileDescriptor,
  13850. unlike FileInputStream.]]>
  13851. </doc>
  13852. </constructor>
  13853. <method name="getShmId" return="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.ShmId"
  13854. abstract="false" native="false" synchronized="false"
  13855. static="false" final="true" visibility="public"
  13856. deprecated="not deprecated">
  13857. </method>
  13858. <method name="isEmpty" return="boolean"
  13859. abstract="false" native="false" synchronized="true"
  13860. static="false" final="true" visibility="public"
  13861. deprecated="not deprecated">
  13862. <doc>
  13863. <![CDATA[Determine if this shared memory object is empty.
  13864. @return True if the shared memory object is empty.]]>
  13865. </doc>
  13866. </method>
  13867. <method name="isFull" return="boolean"
  13868. abstract="false" native="false" synchronized="true"
  13869. static="false" final="true" visibility="public"
  13870. deprecated="not deprecated">
  13871. <doc>
  13872. <![CDATA[Determine if this shared memory object is full.
  13873. @return True if the shared memory object is full.]]>
  13874. </doc>
  13875. </method>
  13876. <method name="allocAndRegisterSlot" return="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.Slot"
  13877. abstract="false" native="false" synchronized="true"
  13878. static="false" final="true" visibility="public"
  13879. deprecated="not deprecated">
  13880. <param name="blockId" type="org.apache.hadoop.hdfs.ExtendedBlockId"/>
  13881. <doc>
  13882. <![CDATA[Allocate a new slot and register it.
  13883. This function chooses an empty slot, initializes it, and then returns
  13884. the relevant Slot object.
  13885. @return The new slot.]]>
  13886. </doc>
  13887. </method>
  13888. <method name="getSlot" return="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.Slot"
  13889. abstract="false" native="false" synchronized="true"
  13890. static="false" final="true" visibility="public"
  13891. deprecated="not deprecated">
  13892. <param name="slotIdx" type="int"/>
  13893. <exception name="InvalidRequestException" type="org.apache.hadoop.fs.InvalidRequestException"/>
  13894. </method>
  13895. <method name="registerSlot" return="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.Slot"
  13896. abstract="false" native="false" synchronized="true"
  13897. static="false" final="true" visibility="public"
  13898. deprecated="not deprecated">
  13899. <param name="slotIdx" type="int"/>
  13900. <param name="blockId" type="org.apache.hadoop.hdfs.ExtendedBlockId"/>
  13901. <exception name="InvalidRequestException" type="org.apache.hadoop.fs.InvalidRequestException"/>
  13902. <doc>
  13903. <![CDATA[Register a slot.
  13904. This function looks at a slot which has already been initialized (by
  13905. another process), and registers it with us. Then, it returns the
  13906. relevant Slot object.
  13907. @return The slot.
  13908. @throws InvalidRequestException
  13909. If the slot index we're trying to allocate has not been
  13910. initialized, or is already in use.]]>
  13911. </doc>
  13912. </method>
  13913. <method name="unregisterSlot"
  13914. abstract="false" native="false" synchronized="true"
  13915. static="false" final="true" visibility="public"
  13916. deprecated="not deprecated">
  13917. <param name="slotIdx" type="int"/>
  13918. <doc>
  13919. <![CDATA[Unregisters a slot.
  13920. This doesn't alter the contents of the slot. It just means
  13921. @param slotIdx Index of the slot to unregister.]]>
  13922. </doc>
  13923. </method>
  13924. <method name="slotIterator" return="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.SlotIterator"
  13925. abstract="false" native="false" synchronized="false"
  13926. static="false" final="false" visibility="public"
  13927. deprecated="not deprecated">
  13928. <doc>
  13929. <![CDATA[Iterate over all allocated slots.
  13930. Note that this method isn't safe if
  13931. @return The slot iterator.]]>
  13932. </doc>
  13933. </method>
  13934. <method name="free"
  13935. abstract="false" native="false" synchronized="false"
  13936. static="false" final="false" visibility="public"
  13937. deprecated="not deprecated">
  13938. </method>
  13939. <method name="toString" return="java.lang.String"
  13940. abstract="false" native="false" synchronized="false"
  13941. static="false" final="false" visibility="public"
  13942. deprecated="not deprecated">
  13943. </method>
  13944. <field name="BYTES_PER_SLOT" type="int"
  13945. transient="false" volatile="false"
  13946. static="true" final="true" visibility="protected"
  13947. deprecated="not deprecated">
  13948. </field>
  13949. <doc>
  13950. <![CDATA[A shared memory segment used to implement short-circuit reads.]]>
  13951. </doc>
  13952. </class>
  13953. <!-- end class org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm -->
  13954. <!-- start class org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.ShmId -->
  13955. <class name="ShortCircuitShm.ShmId" extends="java.lang.Object"
  13956. abstract="false"
  13957. static="true" final="false" visibility="public"
  13958. deprecated="not deprecated">
  13959. <implements name="java.lang.Comparable"/>
  13960. <constructor name="ShortCircuitShm.ShmId" type="long, long"
  13961. static="false" final="false" visibility="public"
  13962. deprecated="not deprecated">
  13963. </constructor>
  13964. <method name="createRandom" return="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.ShmId"
  13965. abstract="false" native="false" synchronized="false"
  13966. static="true" final="false" visibility="public"
  13967. deprecated="not deprecated">
  13968. <doc>
  13969. <![CDATA[Generate a random ShmId.
  13970. We generate ShmIds randomly to prevent a malicious client from
  13971. successfully guessing one and using that to interfere with another
  13972. client.]]>
  13973. </doc>
  13974. </method>
  13975. <method name="getHi" return="long"
  13976. abstract="false" native="false" synchronized="false"
  13977. static="false" final="false" visibility="public"
  13978. deprecated="not deprecated">
  13979. </method>
  13980. <method name="getLo" return="long"
  13981. abstract="false" native="false" synchronized="false"
  13982. static="false" final="false" visibility="public"
  13983. deprecated="not deprecated">
  13984. </method>
  13985. <method name="equals" return="boolean"
  13986. abstract="false" native="false" synchronized="false"
  13987. static="false" final="false" visibility="public"
  13988. deprecated="not deprecated">
  13989. <param name="o" type="java.lang.Object"/>
  13990. </method>
  13991. <method name="hashCode" return="int"
  13992. abstract="false" native="false" synchronized="false"
  13993. static="false" final="false" visibility="public"
  13994. deprecated="not deprecated">
  13995. </method>
  13996. <method name="toString" return="java.lang.String"
  13997. abstract="false" native="false" synchronized="false"
  13998. static="false" final="false" visibility="public"
  13999. deprecated="not deprecated">
  14000. </method>
  14001. <method name="compareTo" return="int"
  14002. abstract="false" native="false" synchronized="false"
  14003. static="false" final="false" visibility="public"
  14004. deprecated="not deprecated">
  14005. <param name="other" type="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.ShmId"/>
  14006. </method>
  14007. <doc>
  14008. <![CDATA[Identifies a DfsClientShm.]]>
  14009. </doc>
  14010. </class>
  14011. <!-- end class org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.ShmId -->
  14012. <!-- start class org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.Slot -->
  14013. <class name="ShortCircuitShm.Slot" extends="java.lang.Object"
  14014. abstract="false"
  14015. static="false" final="false" visibility="public"
  14016. deprecated="not deprecated">
  14017. <method name="getShm" return="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm"
  14018. abstract="false" native="false" synchronized="false"
  14019. static="false" final="false" visibility="public"
  14020. deprecated="not deprecated">
  14021. <doc>
  14022. <![CDATA[Get the short-circuit memory segment associated with this Slot.
  14023. @return The enclosing short-circuit memory segment.]]>
  14024. </doc>
  14025. </method>
  14026. <method name="getBlockId" return="org.apache.hadoop.hdfs.ExtendedBlockId"
  14027. abstract="false" native="false" synchronized="false"
  14028. static="false" final="false" visibility="public"
  14029. deprecated="not deprecated">
  14030. <doc>
  14031. <![CDATA[Get the ExtendedBlockId associated with this slot.
  14032. @return The ExtendedBlockId of this slot.]]>
  14033. </doc>
  14034. </method>
  14035. <method name="getSlotId" return="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.SlotId"
  14036. abstract="false" native="false" synchronized="false"
  14037. static="false" final="false" visibility="public"
  14038. deprecated="not deprecated">
  14039. <doc>
  14040. <![CDATA[Get the SlotId of this slot, containing both shmId and slotIdx.
  14041. @return The SlotId of this slot.]]>
  14042. </doc>
  14043. </method>
  14044. <method name="getSlotIdx" return="int"
  14045. abstract="false" native="false" synchronized="false"
  14046. static="false" final="false" visibility="public"
  14047. deprecated="not deprecated">
  14048. <doc>
  14049. <![CDATA[Get the Slot index.
  14050. @return The index of this slot.]]>
  14051. </doc>
  14052. </method>
  14053. <method name="isValid" return="boolean"
  14054. abstract="false" native="false" synchronized="false"
  14055. static="false" final="false" visibility="public"
  14056. deprecated="not deprecated">
  14057. </method>
  14058. <method name="makeValid"
  14059. abstract="false" native="false" synchronized="false"
  14060. static="false" final="false" visibility="public"
  14061. deprecated="not deprecated">
  14062. </method>
  14063. <method name="makeInvalid"
  14064. abstract="false" native="false" synchronized="false"
  14065. static="false" final="false" visibility="public"
  14066. deprecated="not deprecated">
  14067. </method>
  14068. <method name="isAnchorable" return="boolean"
  14069. abstract="false" native="false" synchronized="false"
  14070. static="false" final="false" visibility="public"
  14071. deprecated="not deprecated">
  14072. </method>
  14073. <method name="makeAnchorable"
  14074. abstract="false" native="false" synchronized="false"
  14075. static="false" final="false" visibility="public"
  14076. deprecated="not deprecated">
  14077. </method>
  14078. <method name="makeUnanchorable"
  14079. abstract="false" native="false" synchronized="false"
  14080. static="false" final="false" visibility="public"
  14081. deprecated="not deprecated">
  14082. </method>
  14083. <method name="isAnchored" return="boolean"
  14084. abstract="false" native="false" synchronized="false"
  14085. static="false" final="false" visibility="public"
  14086. deprecated="not deprecated">
  14087. </method>
  14088. <method name="addAnchor" return="boolean"
  14089. abstract="false" native="false" synchronized="false"
  14090. static="false" final="false" visibility="public"
  14091. deprecated="not deprecated">
  14092. <doc>
  14093. <![CDATA[Try to add an anchor for a given slot.
  14094. When a slot is anchored, we know that the block it refers to is resident
  14095. in memory.
  14096. @return True if the slot is anchored.]]>
  14097. </doc>
  14098. </method>
  14099. <method name="removeAnchor"
  14100. abstract="false" native="false" synchronized="false"
  14101. static="false" final="false" visibility="public"
  14102. deprecated="not deprecated">
  14103. <doc>
  14104. <![CDATA[Remove an anchor for a given slot.]]>
  14105. </doc>
  14106. </method>
  14107. <method name="toString" return="java.lang.String"
  14108. abstract="false" native="false" synchronized="false"
  14109. static="false" final="false" visibility="public"
  14110. deprecated="not deprecated">
  14111. </method>
  14112. <doc>
  14113. <![CDATA[A slot containing information about a replica.
  14114. The format is:
  14115. word 0
  14116. bit 0:32 Slot flags (see below).
  14117. bit 33:63 Anchor count.
  14118. word 1:7
  14119. Reserved for future use, such as statistics.
  14120. Padding is also useful for avoiding false sharing.
  14121. Little-endian versus big-endian is not relevant here since both the client
  14122. and the server reside on the same computer and use the same orientation.]]>
  14123. </doc>
  14124. </class>
  14125. <!-- end class org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.Slot -->
  14126. <!-- start class org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.SlotId -->
  14127. <class name="ShortCircuitShm.SlotId" extends="java.lang.Object"
  14128. abstract="false"
  14129. static="true" final="false" visibility="public"
  14130. deprecated="not deprecated">
  14131. <constructor name="ShortCircuitShm.SlotId" type="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.ShmId, int"
  14132. static="false" final="false" visibility="public"
  14133. deprecated="not deprecated">
  14134. </constructor>
  14135. <method name="getShmId" return="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.ShmId"
  14136. abstract="false" native="false" synchronized="false"
  14137. static="false" final="false" visibility="public"
  14138. deprecated="not deprecated">
  14139. </method>
  14140. <method name="getSlotIdx" return="int"
  14141. abstract="false" native="false" synchronized="false"
  14142. static="false" final="false" visibility="public"
  14143. deprecated="not deprecated">
  14144. </method>
  14145. <method name="equals" return="boolean"
  14146. abstract="false" native="false" synchronized="false"
  14147. static="false" final="false" visibility="public"
  14148. deprecated="not deprecated">
  14149. <param name="o" type="java.lang.Object"/>
  14150. </method>
  14151. <method name="hashCode" return="int"
  14152. abstract="false" native="false" synchronized="false"
  14153. static="false" final="false" visibility="public"
  14154. deprecated="not deprecated">
  14155. </method>
  14156. <method name="toString" return="java.lang.String"
  14157. abstract="false" native="false" synchronized="false"
  14158. static="false" final="false" visibility="public"
  14159. deprecated="not deprecated">
  14160. </method>
  14161. <doc>
  14162. <![CDATA[Uniquely identifies a slot.]]>
  14163. </doc>
  14164. </class>
  14165. <!-- end class org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.SlotId -->
  14166. <!-- start class org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.SlotIterator -->
  14167. <class name="ShortCircuitShm.SlotIterator" extends="java.lang.Object"
  14168. abstract="false"
  14169. static="false" final="false" visibility="public"
  14170. deprecated="not deprecated">
  14171. <implements name="java.util.Iterator"/>
  14172. <constructor name="ShortCircuitShm.SlotIterator"
  14173. static="false" final="false" visibility="public"
  14174. deprecated="not deprecated">
  14175. </constructor>
  14176. <method name="hasNext" return="boolean"
  14177. abstract="false" native="false" synchronized="false"
  14178. static="false" final="false" visibility="public"
  14179. deprecated="not deprecated">
  14180. </method>
  14181. <method name="next" return="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.Slot"
  14182. abstract="false" native="false" synchronized="false"
  14183. static="false" final="false" visibility="public"
  14184. deprecated="not deprecated">
  14185. </method>
  14186. <method name="remove"
  14187. abstract="false" native="false" synchronized="false"
  14188. static="false" final="false" visibility="public"
  14189. deprecated="not deprecated">
  14190. </method>
  14191. </class>
  14192. <!-- end class org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.SlotIterator -->
  14193. </package>
  14194. <package name="org.apache.hadoop.hdfs.tools">
  14195. <!-- start class org.apache.hadoop.hdfs.tools.DFSHAAdmin -->
  14196. <class name="DFSHAAdmin" extends="org.apache.hadoop.ha.HAAdmin"
  14197. abstract="false"
  14198. static="false" final="false" visibility="public"
  14199. deprecated="not deprecated">
  14200. <constructor name="DFSHAAdmin"
  14201. static="false" final="false" visibility="public"
  14202. deprecated="not deprecated">
  14203. </constructor>
  14204. <method name="setErrOut"
  14205. abstract="false" native="false" synchronized="false"
  14206. static="false" final="false" visibility="protected"
  14207. deprecated="not deprecated">
  14208. <param name="errOut" type="java.io.PrintStream"/>
  14209. </method>
  14210. <method name="setOut"
  14211. abstract="false" native="false" synchronized="false"
  14212. static="false" final="false" visibility="protected"
  14213. deprecated="not deprecated">
  14214. <param name="out" type="java.io.PrintStream"/>
  14215. </method>
  14216. <method name="setConf"
  14217. abstract="false" native="false" synchronized="false"
  14218. static="false" final="false" visibility="public"
  14219. deprecated="not deprecated">
  14220. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  14221. </method>
  14222. <method name="addSecurityConfiguration" return="org.apache.hadoop.conf.Configuration"
  14223. abstract="false" native="false" synchronized="false"
  14224. static="true" final="false" visibility="public"
  14225. deprecated="not deprecated">
  14226. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  14227. <doc>
  14228. <![CDATA[Add the requisite security principal settings to the given Configuration,
  14229. returning a copy.
  14230. @param conf the original config
  14231. @return a copy with the security settings added]]>
  14232. </doc>
  14233. </method>
  14234. <method name="resolveTarget" return="org.apache.hadoop.ha.HAServiceTarget"
  14235. abstract="false" native="false" synchronized="false"
  14236. static="false" final="false" visibility="protected"
  14237. deprecated="not deprecated">
  14238. <param name="nnId" type="java.lang.String"/>
  14239. <doc>
  14240. <![CDATA[Try to map the given namenode ID to its service address.]]>
  14241. </doc>
  14242. </method>
  14243. <method name="getUsageString" return="java.lang.String"
  14244. abstract="false" native="false" synchronized="false"
  14245. static="false" final="false" visibility="protected"
  14246. deprecated="not deprecated">
  14247. </method>
  14248. <method name="runCmd" return="int"
  14249. abstract="false" native="false" synchronized="false"
  14250. static="false" final="false" visibility="protected"
  14251. deprecated="not deprecated">
  14252. <param name="argv" type="java.lang.String[]"/>
  14253. <exception name="Exception" type="java.lang.Exception"/>
  14254. </method>
  14255. <method name="getTargetIds" return="java.util.Collection"
  14256. abstract="false" native="false" synchronized="false"
  14257. static="false" final="false" visibility="protected"
  14258. deprecated="not deprecated">
  14259. <param name="namenodeToActivate" type="java.lang.String"/>
  14260. <doc>
  14261. <![CDATA[returns the list of all namenode ids for the given configuration]]>
  14262. </doc>
  14263. </method>
  14264. <method name="main"
  14265. abstract="false" native="false" synchronized="false"
  14266. static="true" final="false" visibility="public"
  14267. deprecated="not deprecated">
  14268. <param name="argv" type="java.lang.String[]"/>
  14269. <exception name="Exception" type="java.lang.Exception"/>
  14270. </method>
  14271. <doc>
  14272. <![CDATA[Class to extend HAAdmin to do a little bit of HDFS-specific configuration.]]>
  14273. </doc>
  14274. </class>
  14275. <!-- end class org.apache.hadoop.hdfs.tools.DFSHAAdmin -->
  14276. <!-- start class org.apache.hadoop.hdfs.tools.GetConf -->
  14277. <class name="GetConf" extends="org.apache.hadoop.conf.Configured"
  14278. abstract="false"
  14279. static="false" final="false" visibility="public"
  14280. deprecated="not deprecated">
  14281. <implements name="org.apache.hadoop.util.Tool"/>
  14282. <method name="run" return="int"
  14283. abstract="false" native="false" synchronized="false"
  14284. static="false" final="false" visibility="public"
  14285. deprecated="not deprecated">
  14286. <param name="args" type="java.lang.String[]"/>
  14287. <exception name="Exception" type="java.lang.Exception"/>
  14288. </method>
  14289. <method name="main"
  14290. abstract="false" native="false" synchronized="false"
  14291. static="true" final="false" visibility="public"
  14292. deprecated="not deprecated">
  14293. <param name="args" type="java.lang.String[]"/>
  14294. <exception name="Exception" type="java.lang.Exception"/>
  14295. </method>
  14296. <doc>
  14297. <![CDATA[Tool for getting configuration information from a configuration file.
  14298. Adding more options:
  14299. <ul>
  14300. <li>
  14301. If adding a simple option to get a value corresponding to a key in the
  14302. configuration, use regular {@link GetConf.CommandHandler}.
  14303. See {@link GetConf.Command#EXCLUDE_FILE} example.
  14304. </li>
  14305. <li>
  14306. If adding an option that is does not return a value for a key, add
  14307. a subclass of {@link GetConf.CommandHandler} and set it up in
  14308. {@link GetConf.Command}.
  14309. See {@link GetConf.Command#NAMENODE} for example.
  14310. Add for the new option added, a map entry with the corresponding
  14311. {@link GetConf.CommandHandler}.
  14312. </ul>]]>
  14313. </doc>
  14314. </class>
  14315. <!-- end class org.apache.hadoop.hdfs.tools.GetConf -->
  14316. <!-- start class org.apache.hadoop.hdfs.tools.GetStoragePolicies -->
  14317. <class name="GetStoragePolicies" extends="org.apache.hadoop.conf.Configured"
  14318. abstract="false"
  14319. static="false" final="false" visibility="public"
  14320. deprecated="not deprecated">
  14321. <implements name="org.apache.hadoop.util.Tool"/>
  14322. <constructor name="GetStoragePolicies"
  14323. static="false" final="false" visibility="public"
  14324. deprecated="not deprecated">
  14325. </constructor>
  14326. <method name="run" return="int"
  14327. abstract="false" native="false" synchronized="false"
  14328. static="false" final="false" visibility="public"
  14329. deprecated="not deprecated">
  14330. <param name="args" type="java.lang.String[]"/>
  14331. <exception name="Exception" type="java.lang.Exception"/>
  14332. </method>
  14333. <method name="main"
  14334. abstract="false" native="false" synchronized="false"
  14335. static="true" final="false" visibility="public"
  14336. deprecated="not deprecated">
  14337. <param name="args" type="java.lang.String[]"/>
  14338. <exception name="Exception" type="java.lang.Exception"/>
  14339. </method>
  14340. <doc>
  14341. <![CDATA[A tool listing all the existing block storage policies. No argument is
  14342. required when using this tool.]]>
  14343. </doc>
  14344. </class>
  14345. <!-- end class org.apache.hadoop.hdfs.tools.GetStoragePolicies -->
  14346. </package>
  14347. <package name="org.apache.hadoop.hdfs.tools.offlineEditsViewer">
  14348. <!-- start class org.apache.hadoop.hdfs.tools.offlineEditsViewer.OfflineEditsViewer.Flags -->
  14349. <class name="OfflineEditsViewer.Flags" extends="java.lang.Object"
  14350. abstract="false"
  14351. static="true" final="false" visibility="public"
  14352. deprecated="not deprecated">
  14353. <constructor name="OfflineEditsViewer.Flags"
  14354. static="false" final="false" visibility="public"
  14355. deprecated="not deprecated">
  14356. </constructor>
  14357. <method name="getPrintToScreen" return="boolean"
  14358. abstract="false" native="false" synchronized="false"
  14359. static="false" final="false" visibility="public"
  14360. deprecated="not deprecated">
  14361. </method>
  14362. <method name="setPrintToScreen"
  14363. abstract="false" native="false" synchronized="false"
  14364. static="false" final="false" visibility="public"
  14365. deprecated="not deprecated">
  14366. </method>
  14367. <method name="getFixTxIds" return="boolean"
  14368. abstract="false" native="false" synchronized="false"
  14369. static="false" final="false" visibility="public"
  14370. deprecated="not deprecated">
  14371. </method>
  14372. <method name="setFixTxIds"
  14373. abstract="false" native="false" synchronized="false"
  14374. static="false" final="false" visibility="public"
  14375. deprecated="not deprecated">
  14376. </method>
  14377. <method name="getRecoveryMode" return="boolean"
  14378. abstract="false" native="false" synchronized="false"
  14379. static="false" final="false" visibility="public"
  14380. deprecated="not deprecated">
  14381. </method>
  14382. <method name="setRecoveryMode"
  14383. abstract="false" native="false" synchronized="false"
  14384. static="false" final="false" visibility="public"
  14385. deprecated="not deprecated">
  14386. </method>
  14387. </class>
  14388. <!-- end class org.apache.hadoop.hdfs.tools.offlineEditsViewer.OfflineEditsViewer.Flags -->
  14389. <!-- start class org.apache.hadoop.hdfs.tools.offlineEditsViewer.TeeOutputStream -->
  14390. <class name="TeeOutputStream" extends="java.io.OutputStream"
  14391. abstract="false"
  14392. static="false" final="false" visibility="public"
  14393. deprecated="not deprecated">
  14394. <constructor name="TeeOutputStream" type="java.io.OutputStream[]"
  14395. static="false" final="false" visibility="public"
  14396. deprecated="not deprecated">
  14397. </constructor>
  14398. <method name="write"
  14399. abstract="false" native="false" synchronized="false"
  14400. static="false" final="false" visibility="public"
  14401. deprecated="not deprecated">
  14402. <param name="c" type="int"/>
  14403. <exception name="IOException" type="java.io.IOException"/>
  14404. </method>
  14405. <method name="write"
  14406. abstract="false" native="false" synchronized="false"
  14407. static="false" final="false" visibility="public"
  14408. deprecated="not deprecated">
  14409. <param name="b" type="byte[]"/>
  14410. <exception name="IOException" type="java.io.IOException"/>
  14411. </method>
  14412. <method name="write"
  14413. abstract="false" native="false" synchronized="false"
  14414. static="false" final="false" visibility="public"
  14415. deprecated="not deprecated">
  14416. <param name="b" type="byte[]"/>
  14417. <param name="off" type="int"/>
  14418. <param name="len" type="int"/>
  14419. <exception name="IOException" type="java.io.IOException"/>
  14420. </method>
  14421. <method name="close"
  14422. abstract="false" native="false" synchronized="false"
  14423. static="false" final="false" visibility="public"
  14424. deprecated="not deprecated">
  14425. <exception name="IOException" type="java.io.IOException"/>
  14426. </method>
  14427. <method name="flush"
  14428. abstract="false" native="false" synchronized="false"
  14429. static="false" final="false" visibility="public"
  14430. deprecated="not deprecated">
  14431. <exception name="IOException" type="java.io.IOException"/>
  14432. </method>
  14433. <doc>
  14434. <![CDATA[A TeeOutputStream writes its output to multiple output streams.]]>
  14435. </doc>
  14436. </class>
  14437. <!-- end class org.apache.hadoop.hdfs.tools.offlineEditsViewer.TeeOutputStream -->
  14438. </package>
  14439. <package name="org.apache.hadoop.hdfs.tools.offlineImageViewer">
  14440. <!-- start class org.apache.hadoop.hdfs.tools.offlineImageViewer.WebImageViewer -->
  14441. <class name="WebImageViewer" extends="java.lang.Object"
  14442. abstract="false"
  14443. static="false" final="false" visibility="public"
  14444. deprecated="not deprecated">
  14445. <constructor name="WebImageViewer" type="java.net.InetSocketAddress"
  14446. static="false" final="false" visibility="public"
  14447. deprecated="not deprecated">
  14448. </constructor>
  14449. <method name="initServerAndWait"
  14450. abstract="false" native="false" synchronized="false"
  14451. static="false" final="false" visibility="public"
  14452. deprecated="not deprecated">
  14453. <param name="fsimage" type="java.lang.String"/>
  14454. <exception name="IOException" type="java.io.IOException"/>
  14455. <doc>
  14456. <![CDATA[Start WebImageViewer and wait until the thread is interrupted.
  14457. @param fsimage the fsimage to load.
  14458. @throws IOException if failed to load the fsimage.]]>
  14459. </doc>
  14460. </method>
  14461. <method name="initServer"
  14462. abstract="false" native="false" synchronized="false"
  14463. static="false" final="false" visibility="public"
  14464. deprecated="not deprecated">
  14465. <param name="fsimage" type="java.lang.String"/>
  14466. <exception name="IOException" type="java.io.IOException"/>
  14467. <doc>
  14468. <![CDATA[Start WebImageViewer.
  14469. @param fsimage the fsimage to load.
  14470. @throws IOException if fail to load the fsimage.]]>
  14471. </doc>
  14472. </method>
  14473. <method name="shutdown"
  14474. abstract="false" native="false" synchronized="false"
  14475. static="false" final="false" visibility="public"
  14476. deprecated="not deprecated">
  14477. <doc>
  14478. <![CDATA[Stop WebImageViewer.]]>
  14479. </doc>
  14480. </method>
  14481. <method name="getPort" return="int"
  14482. abstract="false" native="false" synchronized="false"
  14483. static="false" final="false" visibility="public"
  14484. deprecated="not deprecated">
  14485. <doc>
  14486. <![CDATA[Get the listening port.
  14487. @return the port WebImageViewer is listening on]]>
  14488. </doc>
  14489. </method>
  14490. <field name="LOG" type="org.apache.commons.logging.Log"
  14491. transient="false" volatile="false"
  14492. static="true" final="true" visibility="public"
  14493. deprecated="not deprecated">
  14494. </field>
  14495. <doc>
  14496. <![CDATA[WebImageViewer loads a fsimage and exposes read-only WebHDFS API for its
  14497. namespace.]]>
  14498. </doc>
  14499. </class>
  14500. <!-- end class org.apache.hadoop.hdfs.tools.offlineImageViewer.WebImageViewer -->
  14501. <!-- start class org.apache.hadoop.hdfs.tools.offlineImageViewer.XmlImageVisitor -->
  14502. <class name="XmlImageVisitor" extends="org.apache.hadoop.hdfs.tools.offlineImageViewer.TextWriterImageVisitor"
  14503. abstract="false"
  14504. static="false" final="false" visibility="public"
  14505. deprecated="not deprecated">
  14506. <constructor name="XmlImageVisitor" type="java.lang.String"
  14507. static="false" final="false" visibility="public"
  14508. deprecated="not deprecated">
  14509. <exception name="IOException" type="java.io.IOException"/>
  14510. </constructor>
  14511. <constructor name="XmlImageVisitor" type="java.lang.String, boolean"
  14512. static="false" final="false" visibility="public"
  14513. deprecated="not deprecated">
  14514. <exception name="IOException" type="java.io.IOException"/>
  14515. </constructor>
  14516. <doc>
  14517. <![CDATA[An XmlImageVisitor walks over an fsimage structure and writes out
  14518. an equivalent XML document that contains the fsimage's components.]]>
  14519. </doc>
  14520. </class>
  14521. <!-- end class org.apache.hadoop.hdfs.tools.offlineImageViewer.XmlImageVisitor -->
  14522. </package>
  14523. <package name="org.apache.hadoop.hdfs.tools.snapshot">
  14524. </package>
  14525. <package name="org.apache.hadoop.hdfs.util">
  14526. <!-- start class org.apache.hadoop.hdfs.util.AtomicFileOutputStream -->
  14527. <class name="AtomicFileOutputStream" extends="java.io.FilterOutputStream"
  14528. abstract="false"
  14529. static="false" final="false" visibility="public"
  14530. deprecated="not deprecated">
  14531. <constructor name="AtomicFileOutputStream" type="java.io.File"
  14532. static="false" final="false" visibility="public"
  14533. deprecated="not deprecated">
  14534. <exception name="FileNotFoundException" type="java.io.FileNotFoundException"/>
  14535. </constructor>
  14536. <method name="close"
  14537. abstract="false" native="false" synchronized="false"
  14538. static="false" final="false" visibility="public"
  14539. deprecated="not deprecated">
  14540. <exception name="IOException" type="java.io.IOException"/>
  14541. </method>
  14542. <method name="abort"
  14543. abstract="false" native="false" synchronized="false"
  14544. static="false" final="false" visibility="public"
  14545. deprecated="not deprecated">
  14546. <doc>
  14547. <![CDATA[Close the atomic file, but do not "commit" the temporary file
  14548. on top of the destination. This should be used if there is a failure
  14549. in writing.]]>
  14550. </doc>
  14551. </method>
  14552. <doc>
  14553. <![CDATA[A FileOutputStream that has the property that it will only show
  14554. up at its destination once it has been entirely written and flushed
  14555. to disk. While being written, it will use a .tmp suffix.
  14556. When the output stream is closed, it is flushed, fsynced, and
  14557. will be moved into place, overwriting any file that already
  14558. exists at that location.
  14559. <b>NOTE</b>: on Windows platforms, it will not atomically
  14560. replace the target file - instead the target file is deleted
  14561. before this one is moved into place.]]>
  14562. </doc>
  14563. </class>
  14564. <!-- end class org.apache.hadoop.hdfs.util.AtomicFileOutputStream -->
  14565. <!-- start class org.apache.hadoop.hdfs.util.ByteArrayManager.Conf -->
  14566. <class name="ByteArrayManager.Conf" extends="java.lang.Object"
  14567. abstract="false"
  14568. static="true" final="false" visibility="public"
  14569. deprecated="not deprecated">
  14570. <constructor name="ByteArrayManager.Conf" type="int, int, long"
  14571. static="false" final="false" visibility="public"
  14572. deprecated="not deprecated">
  14573. </constructor>
  14574. </class>
  14575. <!-- end class org.apache.hadoop.hdfs.util.ByteArrayManager.Conf -->
  14576. <!-- start class org.apache.hadoop.hdfs.util.DataTransferThrottler -->
  14577. <class name="DataTransferThrottler" extends="java.lang.Object"
  14578. abstract="false"
  14579. static="false" final="false" visibility="public"
  14580. deprecated="not deprecated">
  14581. <constructor name="DataTransferThrottler" type="long"
  14582. static="false" final="false" visibility="public"
  14583. deprecated="not deprecated">
  14584. <doc>
  14585. <![CDATA[Constructor
  14586. @param bandwidthPerSec bandwidth allowed in bytes per second.]]>
  14587. </doc>
  14588. </constructor>
  14589. <constructor name="DataTransferThrottler" type="long, long"
  14590. static="false" final="false" visibility="public"
  14591. deprecated="not deprecated">
  14592. <doc>
  14593. <![CDATA[Constructor
  14594. @param period in milliseconds. Bandwidth is enforced over this
  14595. period.
  14596. @param bandwidthPerSec bandwidth allowed in bytes per second.]]>
  14597. </doc>
  14598. </constructor>
  14599. <method name="getBandwidth" return="long"
  14600. abstract="false" native="false" synchronized="true"
  14601. static="false" final="false" visibility="public"
  14602. deprecated="not deprecated">
  14603. <doc>
  14604. <![CDATA[@return current throttle bandwidth in bytes per second.]]>
  14605. </doc>
  14606. </method>
  14607. <method name="setBandwidth"
  14608. abstract="false" native="false" synchronized="true"
  14609. static="false" final="false" visibility="public"
  14610. deprecated="not deprecated">
  14611. <param name="bytesPerSecond" type="long"/>
  14612. <doc>
  14613. <![CDATA[Sets throttle bandwidth. This takes affect latest by the end of current
  14614. period.]]>
  14615. </doc>
  14616. </method>
  14617. <method name="throttle"
  14618. abstract="false" native="false" synchronized="true"
  14619. static="false" final="false" visibility="public"
  14620. deprecated="not deprecated">
  14621. <param name="numOfBytes" type="long"/>
  14622. <doc>
  14623. <![CDATA[Given the numOfBytes sent/received since last time throttle was called,
  14624. make the current thread sleep if I/O rate is too fast
  14625. compared to the given bandwidth.
  14626. @param numOfBytes
  14627. number of bytes sent/received since last time throttle was called]]>
  14628. </doc>
  14629. </method>
  14630. <method name="throttle"
  14631. abstract="false" native="false" synchronized="true"
  14632. static="false" final="false" visibility="public"
  14633. deprecated="not deprecated">
  14634. <param name="numOfBytes" type="long"/>
  14635. <param name="canceler" type="org.apache.hadoop.hdfs.util.Canceler"/>
  14636. <doc>
  14637. <![CDATA[Given the numOfBytes sent/received since last time throttle was called,
  14638. make the current thread sleep if I/O rate is too fast
  14639. compared to the given bandwidth. Allows for optional external cancelation.
  14640. @param numOfBytes
  14641. number of bytes sent/received since last time throttle was called
  14642. @param canceler
  14643. optional canceler to check for abort of throttle]]>
  14644. </doc>
  14645. </method>
  14646. <doc>
  14647. <![CDATA[a class to throttle the data transfers.
  14648. This class is thread safe. It can be shared by multiple threads.
  14649. The parameter bandwidthPerSec specifies the total bandwidth shared by
  14650. threads.]]>
  14651. </doc>
  14652. </class>
  14653. <!-- end class org.apache.hadoop.hdfs.util.DataTransferThrottler -->
  14654. <!-- start class org.apache.hadoop.hdfs.util.Diff -->
  14655. <class name="Diff" extends="java.lang.Object"
  14656. abstract="false"
  14657. static="false" final="false" visibility="public"
  14658. deprecated="not deprecated">
  14659. <constructor name="Diff"
  14660. static="false" final="false" visibility="protected"
  14661. deprecated="not deprecated">
  14662. </constructor>
  14663. <constructor name="Diff" type="java.util.List, java.util.List"
  14664. static="false" final="false" visibility="protected"
  14665. deprecated="not deprecated">
  14666. </constructor>
  14667. <method name="search" return="int"
  14668. abstract="false" native="false" synchronized="false"
  14669. static="true" final="false" visibility="protected"
  14670. deprecated="not deprecated">
  14671. <param name="elements" type="java.util.List"/>
  14672. <param name="name" type="K"/>
  14673. <doc>
  14674. <![CDATA[Search the element from the list.
  14675. @return -1 if the list is null; otherwise, return the insertion point
  14676. defined in {@link Collections#binarySearch(List, Object)}.
  14677. Note that, when the list is null, -1 is the correct insertion point.]]>
  14678. </doc>
  14679. </method>
  14680. <method name="getList" return="java.util.List"
  14681. abstract="false" native="false" synchronized="false"
  14682. static="false" final="false" visibility="public"
  14683. deprecated="not deprecated">
  14684. <param name="type" type="org.apache.hadoop.hdfs.util.Diff.ListType"/>
  14685. <doc>
  14686. <![CDATA[@return the created list, which is never null.]]>
  14687. </doc>
  14688. </method>
  14689. <method name="searchIndex" return="int"
  14690. abstract="false" native="false" synchronized="false"
  14691. static="false" final="false" visibility="public"
  14692. deprecated="not deprecated">
  14693. <param name="type" type="org.apache.hadoop.hdfs.util.Diff.ListType"/>
  14694. <param name="name" type="K"/>
  14695. </method>
  14696. <method name="search" return="E"
  14697. abstract="false" native="false" synchronized="false"
  14698. static="false" final="false" visibility="public"
  14699. deprecated="not deprecated">
  14700. <param name="type" type="org.apache.hadoop.hdfs.util.Diff.ListType"/>
  14701. <param name="name" type="K"/>
  14702. <doc>
  14703. <![CDATA[@return null if the element is not found;
  14704. otherwise, return the element in the created/deleted list.]]>
  14705. </doc>
  14706. </method>
  14707. <method name="isEmpty" return="boolean"
  14708. abstract="false" native="false" synchronized="false"
  14709. static="false" final="false" visibility="public"
  14710. deprecated="not deprecated">
  14711. <doc>
  14712. <![CDATA[@return true if no changes contained in the diff]]>
  14713. </doc>
  14714. </method>
  14715. <method name="create" return="int"
  14716. abstract="false" native="false" synchronized="false"
  14717. static="false" final="false" visibility="public"
  14718. deprecated="not deprecated">
  14719. <param name="element" type="E"/>
  14720. <doc>
  14721. <![CDATA[Create an element in current state.
  14722. @return the c-list insertion point for undo.]]>
  14723. </doc>
  14724. </method>
  14725. <method name="undoCreate"
  14726. abstract="false" native="false" synchronized="false"
  14727. static="false" final="false" visibility="public"
  14728. deprecated="not deprecated">
  14729. <param name="element" type="E"/>
  14730. <param name="insertionPoint" type="int"/>
  14731. <doc>
  14732. <![CDATA[Undo the previous create(E) operation. Note that the behavior is
  14733. undefined if the previous operation is not create(E).]]>
  14734. </doc>
  14735. </method>
  14736. <method name="delete" return="org.apache.hadoop.hdfs.util.Diff.UndoInfo"
  14737. abstract="false" native="false" synchronized="false"
  14738. static="false" final="false" visibility="public"
  14739. deprecated="not deprecated">
  14740. <param name="element" type="E"/>
  14741. <doc>
  14742. <![CDATA[Delete an element from current state.
  14743. @return the undo information.]]>
  14744. </doc>
  14745. </method>
  14746. <method name="undoDelete"
  14747. abstract="false" native="false" synchronized="false"
  14748. static="false" final="false" visibility="public"
  14749. deprecated="not deprecated">
  14750. <param name="element" type="E"/>
  14751. <param name="undoInfo" type="org.apache.hadoop.hdfs.util.Diff.UndoInfo"/>
  14752. <doc>
  14753. <![CDATA[Undo the previous delete(E) operation. Note that the behavior is
  14754. undefined if the previous operation is not delete(E).]]>
  14755. </doc>
  14756. </method>
  14757. <method name="modify" return="org.apache.hadoop.hdfs.util.Diff.UndoInfo"
  14758. abstract="false" native="false" synchronized="false"
  14759. static="false" final="false" visibility="public"
  14760. deprecated="not deprecated">
  14761. <param name="oldElement" type="E"/>
  14762. <param name="newElement" type="E"/>
  14763. <doc>
  14764. <![CDATA[Modify an element in current state.
  14765. @return the undo information.]]>
  14766. </doc>
  14767. </method>
  14768. <method name="undoModify"
  14769. abstract="false" native="false" synchronized="false"
  14770. static="false" final="false" visibility="public"
  14771. deprecated="not deprecated">
  14772. <param name="oldElement" type="E"/>
  14773. <param name="newElement" type="E"/>
  14774. <param name="undoInfo" type="org.apache.hadoop.hdfs.util.Diff.UndoInfo"/>
  14775. <doc>
  14776. <![CDATA[Undo the previous modify(E, E) operation. Note that the behavior
  14777. is undefined if the previous operation is not modify(E, E).]]>
  14778. </doc>
  14779. </method>
  14780. <method name="accessPrevious" return="org.apache.hadoop.hdfs.util.Diff.Container"
  14781. abstract="false" native="false" synchronized="false"
  14782. static="false" final="false" visibility="public"
  14783. deprecated="not deprecated">
  14784. <param name="name" type="K"/>
  14785. <doc>
  14786. <![CDATA[Find an element in the previous state.
  14787. @return null if the element cannot be determined in the previous state
  14788. since no change is recorded and it should be determined in the
  14789. current state; otherwise, return a {@link Container} containing the
  14790. element in the previous state. Note that the element can possibly
  14791. be null which means that the element is not found in the previous
  14792. state.]]>
  14793. </doc>
  14794. </method>
  14795. <method name="accessCurrent" return="org.apache.hadoop.hdfs.util.Diff.Container"
  14796. abstract="false" native="false" synchronized="false"
  14797. static="false" final="false" visibility="public"
  14798. deprecated="not deprecated">
  14799. <param name="name" type="K"/>
  14800. <doc>
  14801. <![CDATA[Find an element in the current state.
  14802. @return null if the element cannot be determined in the current state since
  14803. no change is recorded and it should be determined in the previous
  14804. state; otherwise, return a {@link Container} containing the element in
  14805. the current state. Note that the element can possibly be null which
  14806. means that the element is not found in the current state.]]>
  14807. </doc>
  14808. </method>
  14809. <method name="apply2Previous" return="java.util.List"
  14810. abstract="false" native="false" synchronized="false"
  14811. static="false" final="false" visibility="public"
  14812. deprecated="not deprecated">
  14813. <param name="previous" type="java.util.List"/>
  14814. <doc>
  14815. <![CDATA[Apply this diff to previous state in order to obtain current state.
  14816. @return the current state of the list.]]>
  14817. </doc>
  14818. </method>
  14819. <method name="apply2Current" return="java.util.List"
  14820. abstract="false" native="false" synchronized="false"
  14821. static="false" final="false" visibility="public"
  14822. deprecated="not deprecated">
  14823. <param name="current" type="java.util.List"/>
  14824. <doc>
  14825. <![CDATA[Apply the reverse of this diff to current state in order
  14826. to obtain the previous state.
  14827. @return the previous state of the list.]]>
  14828. </doc>
  14829. </method>
  14830. <method name="combinePosterior"
  14831. abstract="false" native="false" synchronized="false"
  14832. static="false" final="false" visibility="public"
  14833. deprecated="not deprecated">
  14834. <param name="posterior" type="org.apache.hadoop.hdfs.util.Diff"/>
  14835. <param name="deletedProcesser" type="org.apache.hadoop.hdfs.util.Diff.Processor"/>
  14836. <doc>
  14837. <![CDATA[Combine this diff with a posterior diff. We have the following cases:
  14838. <pre>
  14839. 1. For (c, 0) in the posterior diff, check the element in this diff:
  14840. 1.1 (c', 0) in this diff: impossible
  14841. 1.2 (0, d') in this diff: put in c-list --> (c, d')
  14842. 1.3 (c', d') in this diff: impossible
  14843. 1.4 (0, 0) in this diff: put in c-list --> (c, 0)
  14844. This is the same logic as create(E).
  14845. 2. For (0, d) in the posterior diff,
  14846. 2.1 (c', 0) in this diff: remove from c-list --> (0, 0)
  14847. 2.2 (0, d') in this diff: impossible
  14848. 2.3 (c', d') in this diff: remove from c-list --> (0, d')
  14849. 2.4 (0, 0) in this diff: put in d-list --> (0, d)
  14850. This is the same logic as delete(E).
  14851. 3. For (c, d) in the posterior diff,
  14852. 3.1 (c', 0) in this diff: replace the element in c-list --> (c, 0)
  14853. 3.2 (0, d') in this diff: impossible
  14854. 3.3 (c', d') in this diff: replace the element in c-list --> (c, d')
  14855. 3.4 (0, 0) in this diff: put in c-list and d-list --> (c, d)
  14856. This is the same logic as modify(E, E).
  14857. </pre>
  14858. @param posterior The posterior diff to combine with.
  14859. @param deletedProcesser
  14860. process the deleted/overwritten elements in case 2.1, 2.3, 3.1 and 3.3.]]>
  14861. </doc>
  14862. </method>
  14863. <method name="toString" return="java.lang.String"
  14864. abstract="false" native="false" synchronized="false"
  14865. static="false" final="false" visibility="public"
  14866. deprecated="not deprecated">
  14867. </method>
  14868. <doc>
  14869. <![CDATA[The difference between the current state and a previous state of a list.
  14870. Given a previous state of a set and a sequence of create, delete and modify
  14871. operations such that the current state of the set can be obtained by applying
  14872. the operations on the previous state, the following algorithm construct the
  14873. difference between the current state and the previous state of the set.
  14874. <pre>
  14875. Two lists are maintained in the algorithm:
  14876. - c-list for newly created elements
  14877. - d-list for the deleted elements
  14878. Denote the state of an element by the following
  14879. (0, 0): neither in c-list nor d-list
  14880. (c, 0): in c-list but not in d-list
  14881. (0, d): in d-list but not in c-list
  14882. (c, d): in both c-list and d-list
  14883. For each case below, ( , ) at the end shows the result state of the element.
  14884. Case 1. Suppose the element i is NOT in the previous state. (0, 0)
  14885. 1.1. create i in current: add it to c-list (c, 0)
  14886. 1.1.1. create i in current and then create: impossible
  14887. 1.1.2. create i in current and then delete: remove it from c-list (0, 0)
  14888. 1.1.3. create i in current and then modify: replace it in c-list (c', 0)
  14889. 1.2. delete i from current: impossible
  14890. 1.3. modify i in current: impossible
  14891. Case 2. Suppose the element i is ALREADY in the previous state. (0, 0)
  14892. 2.1. create i in current: impossible
  14893. 2.2. delete i from current: add it to d-list (0, d)
  14894. 2.2.1. delete i from current and then create: add it to c-list (c, d)
  14895. 2.2.2. delete i from current and then delete: impossible
  14896. 2.2.2. delete i from current and then modify: impossible
  14897. 2.3. modify i in current: put it in both c-list and d-list (c, d)
  14898. 2.3.1. modify i in current and then create: impossible
  14899. 2.3.2. modify i in current and then delete: remove it from c-list (0, d)
  14900. 2.3.3. modify i in current and then modify: replace it in c-list (c', d)
  14901. </pre>
  14902. @param <K> The key type.
  14903. @param <E> The element type, which must implement {@link Element} interface.]]>
  14904. </doc>
  14905. </class>
  14906. <!-- end class org.apache.hadoop.hdfs.util.Diff -->
  14907. <!-- start class org.apache.hadoop.hdfs.util.Diff.Container -->
  14908. <class name="Diff.Container" extends="java.lang.Object"
  14909. abstract="false"
  14910. static="true" final="false" visibility="public"
  14911. deprecated="not deprecated">
  14912. <method name="getElement" return="E"
  14913. abstract="false" native="false" synchronized="false"
  14914. static="false" final="false" visibility="public"
  14915. deprecated="not deprecated">
  14916. <doc>
  14917. <![CDATA[@return the element.]]>
  14918. </doc>
  14919. </method>
  14920. <doc>
  14921. <![CDATA[Containing exactly one element.]]>
  14922. </doc>
  14923. </class>
  14924. <!-- end class org.apache.hadoop.hdfs.util.Diff.Container -->
  14925. <!-- start interface org.apache.hadoop.hdfs.util.Diff.Element -->
  14926. <interface name="Diff.Element" abstract="true"
  14927. static="true" final="false" visibility="public"
  14928. deprecated="not deprecated">
  14929. <implements name="java.lang.Comparable"/>
  14930. <method name="getKey" return="K"
  14931. abstract="false" native="false" synchronized="false"
  14932. static="false" final="false" visibility="public"
  14933. deprecated="not deprecated">
  14934. <doc>
  14935. <![CDATA[@return the key of this object.]]>
  14936. </doc>
  14937. </method>
  14938. <doc>
  14939. <![CDATA[An interface for the elements in a {@link Diff}.]]>
  14940. </doc>
  14941. </interface>
  14942. <!-- end interface org.apache.hadoop.hdfs.util.Diff.Element -->
  14943. <!-- start class org.apache.hadoop.hdfs.util.Diff.ListType -->
  14944. <class name="Diff.ListType" extends="java.lang.Enum"
  14945. abstract="false"
  14946. static="true" final="true" visibility="public"
  14947. deprecated="not deprecated">
  14948. <method name="values" return="org.apache.hadoop.hdfs.util.Diff.ListType[]"
  14949. abstract="false" native="false" synchronized="false"
  14950. static="true" final="false" visibility="public"
  14951. deprecated="not deprecated">
  14952. </method>
  14953. <method name="valueOf" return="org.apache.hadoop.hdfs.util.Diff.ListType"
  14954. abstract="false" native="false" synchronized="false"
  14955. static="true" final="false" visibility="public"
  14956. deprecated="not deprecated">
  14957. <param name="name" type="java.lang.String"/>
  14958. </method>
  14959. </class>
  14960. <!-- end class org.apache.hadoop.hdfs.util.Diff.ListType -->
  14961. <!-- start interface org.apache.hadoop.hdfs.util.Diff.Processor -->
  14962. <interface name="Diff.Processor" abstract="true"
  14963. static="true" final="false" visibility="public"
  14964. deprecated="not deprecated">
  14965. <method name="process"
  14966. abstract="false" native="false" synchronized="false"
  14967. static="false" final="false" visibility="public"
  14968. deprecated="not deprecated">
  14969. <param name="element" type="E"/>
  14970. <doc>
  14971. <![CDATA[Process the given element.]]>
  14972. </doc>
  14973. </method>
  14974. <doc>
  14975. <![CDATA[An interface for passing a method in order to process elements.]]>
  14976. </doc>
  14977. </interface>
  14978. <!-- end interface org.apache.hadoop.hdfs.util.Diff.Processor -->
  14979. <!-- start class org.apache.hadoop.hdfs.util.Diff.UndoInfo -->
  14980. <class name="Diff.UndoInfo" extends="java.lang.Object"
  14981. abstract="false"
  14982. static="true" final="false" visibility="public"
  14983. deprecated="not deprecated">
  14984. <method name="getTrashedElement" return="E"
  14985. abstract="false" native="false" synchronized="false"
  14986. static="false" final="false" visibility="public"
  14987. deprecated="not deprecated">
  14988. </method>
  14989. <doc>
  14990. <![CDATA[Undo information for some operations such as delete(E)
  14991. and {@link Diff#modify(Element, Element)}.]]>
  14992. </doc>
  14993. </class>
  14994. <!-- end class org.apache.hadoop.hdfs.util.Diff.UndoInfo -->
  14995. <!-- start class org.apache.hadoop.hdfs.util.EnumCounters -->
  14996. <class name="EnumCounters" extends="java.lang.Object"
  14997. abstract="false"
  14998. static="false" final="false" visibility="public"
  14999. deprecated="not deprecated">
  15000. <constructor name="EnumCounters" type="java.lang.Class"
  15001. static="false" final="false" visibility="public"
  15002. deprecated="not deprecated">
  15003. <doc>
  15004. <![CDATA[Construct counters for the given enum constants.
  15005. @param enumClass the enum class of the counters.]]>
  15006. </doc>
  15007. </constructor>
  15008. <method name="get" return="long"
  15009. abstract="false" native="false" synchronized="false"
  15010. static="false" final="true" visibility="public"
  15011. deprecated="not deprecated">
  15012. <param name="e" type="E"/>
  15013. <doc>
  15014. <![CDATA[@return the value of counter e.]]>
  15015. </doc>
  15016. </method>
  15017. <method name="negation"
  15018. abstract="false" native="false" synchronized="false"
  15019. static="false" final="true" visibility="public"
  15020. deprecated="not deprecated">
  15021. <doc>
  15022. <![CDATA[Negate all counters.]]>
  15023. </doc>
  15024. </method>
  15025. <method name="set"
  15026. abstract="false" native="false" synchronized="false"
  15027. static="false" final="true" visibility="public"
  15028. deprecated="not deprecated">
  15029. <param name="e" type="E"/>
  15030. <param name="value" type="long"/>
  15031. <doc>
  15032. <![CDATA[Set counter e to the given value.]]>
  15033. </doc>
  15034. </method>
  15035. <method name="set"
  15036. abstract="false" native="false" synchronized="false"
  15037. static="false" final="true" visibility="public"
  15038. deprecated="not deprecated">
  15039. <param name="that" type="org.apache.hadoop.hdfs.util.EnumCounters"/>
  15040. <doc>
  15041. <![CDATA[Set this counters to that counters.]]>
  15042. </doc>
  15043. </method>
  15044. <method name="reset"
  15045. abstract="false" native="false" synchronized="false"
  15046. static="false" final="true" visibility="public"
  15047. deprecated="not deprecated">
  15048. <doc>
  15049. <![CDATA[Reset all counters to zero.]]>
  15050. </doc>
  15051. </method>
  15052. <method name="add"
  15053. abstract="false" native="false" synchronized="false"
  15054. static="false" final="true" visibility="public"
  15055. deprecated="not deprecated">
  15056. <param name="e" type="E"/>
  15057. <param name="value" type="long"/>
  15058. <doc>
  15059. <![CDATA[Add the given value to counter e.]]>
  15060. </doc>
  15061. </method>
  15062. <method name="add"
  15063. abstract="false" native="false" synchronized="false"
  15064. static="false" final="true" visibility="public"
  15065. deprecated="not deprecated">
  15066. <param name="that" type="org.apache.hadoop.hdfs.util.EnumCounters"/>
  15067. <doc>
  15068. <![CDATA[Add that counters to this counters.]]>
  15069. </doc>
  15070. </method>
  15071. <method name="subtract"
  15072. abstract="false" native="false" synchronized="false"
  15073. static="false" final="true" visibility="public"
  15074. deprecated="not deprecated">
  15075. <param name="e" type="E"/>
  15076. <param name="value" type="long"/>
  15077. <doc>
  15078. <![CDATA[Subtract the given value from counter e.]]>
  15079. </doc>
  15080. </method>
  15081. <method name="subtract"
  15082. abstract="false" native="false" synchronized="false"
  15083. static="false" final="true" visibility="public"
  15084. deprecated="not deprecated">
  15085. <param name="that" type="org.apache.hadoop.hdfs.util.EnumCounters"/>
  15086. <doc>
  15087. <![CDATA[Subtract this counters from that counters.]]>
  15088. </doc>
  15089. </method>
  15090. <method name="sum" return="long"
  15091. abstract="false" native="false" synchronized="false"
  15092. static="false" final="true" visibility="public"
  15093. deprecated="not deprecated">
  15094. <doc>
  15095. <![CDATA[@return the sum of all counters.]]>
  15096. </doc>
  15097. </method>
  15098. <method name="equals" return="boolean"
  15099. abstract="false" native="false" synchronized="false"
  15100. static="false" final="false" visibility="public"
  15101. deprecated="not deprecated">
  15102. <param name="obj" type="java.lang.Object"/>
  15103. </method>
  15104. <method name="hashCode" return="int"
  15105. abstract="false" native="false" synchronized="false"
  15106. static="false" final="false" visibility="public"
  15107. deprecated="not deprecated">
  15108. </method>
  15109. <method name="toString" return="java.lang.String"
  15110. abstract="false" native="false" synchronized="false"
  15111. static="false" final="false" visibility="public"
  15112. deprecated="not deprecated">
  15113. </method>
  15114. <doc>
  15115. <![CDATA[Counters for an enum type.
  15116. For example, suppose there is an enum type
  15117. <pre>
  15118. enum Fruit { APPLE, ORANGE, GRAPE }
  15119. </pre>
  15120. An {@link EnumCounters} object can be created for counting the numbers of
  15121. APPLE, ORANGLE and GRAPE.
  15122. @param <E> the enum type]]>
  15123. </doc>
  15124. </class>
  15125. <!-- end class org.apache.hadoop.hdfs.util.EnumCounters -->
  15126. <!-- start interface org.apache.hadoop.hdfs.util.EnumCounters.Factory -->
  15127. <interface name="EnumCounters.Factory" abstract="true"
  15128. static="true" final="false" visibility="public"
  15129. deprecated="not deprecated">
  15130. <method name="newInstance" return="C"
  15131. abstract="false" native="false" synchronized="false"
  15132. static="false" final="false" visibility="public"
  15133. deprecated="not deprecated">
  15134. <doc>
  15135. <![CDATA[Create a new counters instance.]]>
  15136. </doc>
  15137. </method>
  15138. <doc>
  15139. <![CDATA[A factory for creating counters.
  15140. @param <E> the enum type
  15141. @param <C> the counter type]]>
  15142. </doc>
  15143. </interface>
  15144. <!-- end interface org.apache.hadoop.hdfs.util.EnumCounters.Factory -->
  15145. <!-- start class org.apache.hadoop.hdfs.util.EnumCounters.Map -->
  15146. <class name="EnumCounters.Map" extends="java.lang.Object"
  15147. abstract="false"
  15148. static="true" final="false" visibility="public"
  15149. deprecated="not deprecated">
  15150. <constructor name="EnumCounters.Map" type="org.apache.hadoop.hdfs.util.EnumCounters.Factory"
  15151. static="false" final="false" visibility="public"
  15152. deprecated="not deprecated">
  15153. <doc>
  15154. <![CDATA[Construct a map.]]>
  15155. </doc>
  15156. </constructor>
  15157. <method name="getCounts" return="C"
  15158. abstract="false" native="false" synchronized="false"
  15159. static="false" final="true" visibility="public"
  15160. deprecated="not deprecated">
  15161. <param name="key" type="K"/>
  15162. <doc>
  15163. <![CDATA[@return the counters for the given key.]]>
  15164. </doc>
  15165. </method>
  15166. <method name="sum" return="C"
  15167. abstract="false" native="false" synchronized="false"
  15168. static="false" final="true" visibility="public"
  15169. deprecated="not deprecated">
  15170. <doc>
  15171. <![CDATA[@return the sum of the values of all the counters.]]>
  15172. </doc>
  15173. </method>
  15174. <method name="sum" return="long"
  15175. abstract="false" native="false" synchronized="false"
  15176. static="false" final="true" visibility="public"
  15177. deprecated="not deprecated">
  15178. <param name="e" type="E"/>
  15179. <doc>
  15180. <![CDATA[@return the sum of the values of all the counters for e.]]>
  15181. </doc>
  15182. </method>
  15183. <method name="toString" return="java.lang.String"
  15184. abstract="false" native="false" synchronized="false"
  15185. static="false" final="false" visibility="public"
  15186. deprecated="not deprecated">
  15187. </method>
  15188. <doc>
  15189. <![CDATA[A key-value map which maps the keys to {@link EnumCounters}.
  15190. Note that null key is supported.
  15191. @param <K> the key type
  15192. @param <E> the enum type
  15193. @param <C> the counter type]]>
  15194. </doc>
  15195. </class>
  15196. <!-- end class org.apache.hadoop.hdfs.util.EnumCounters.Map -->
  15197. <!-- start class org.apache.hadoop.hdfs.util.EnumDoubles -->
  15198. <class name="EnumDoubles" extends="java.lang.Object"
  15199. abstract="false"
  15200. static="false" final="false" visibility="public"
  15201. deprecated="not deprecated">
  15202. <constructor name="EnumDoubles" type="java.lang.Class"
  15203. static="false" final="false" visibility="public"
  15204. deprecated="not deprecated">
  15205. <doc>
  15206. <![CDATA[Construct doubles for the given enum constants.
  15207. @param enumClass the enum class.]]>
  15208. </doc>
  15209. </constructor>
  15210. <method name="get" return="double"
  15211. abstract="false" native="false" synchronized="false"
  15212. static="false" final="true" visibility="public"
  15213. deprecated="not deprecated">
  15214. <param name="e" type="E"/>
  15215. <doc>
  15216. <![CDATA[@return the value corresponding to e.]]>
  15217. </doc>
  15218. </method>
  15219. <method name="negation"
  15220. abstract="false" native="false" synchronized="false"
  15221. static="false" final="true" visibility="public"
  15222. deprecated="not deprecated">
  15223. <doc>
  15224. <![CDATA[Negate all values.]]>
  15225. </doc>
  15226. </method>
  15227. <method name="set"
  15228. abstract="false" native="false" synchronized="false"
  15229. static="false" final="true" visibility="public"
  15230. deprecated="not deprecated">
  15231. <param name="e" type="E"/>
  15232. <param name="value" type="double"/>
  15233. <doc>
  15234. <![CDATA[Set e to the given value.]]>
  15235. </doc>
  15236. </method>
  15237. <method name="set"
  15238. abstract="false" native="false" synchronized="false"
  15239. static="false" final="true" visibility="public"
  15240. deprecated="not deprecated">
  15241. <param name="that" type="org.apache.hadoop.hdfs.util.EnumDoubles"/>
  15242. <doc>
  15243. <![CDATA[Set the values of this object to that object.]]>
  15244. </doc>
  15245. </method>
  15246. <method name="reset"
  15247. abstract="false" native="false" synchronized="false"
  15248. static="false" final="true" visibility="public"
  15249. deprecated="not deprecated">
  15250. <doc>
  15251. <![CDATA[Reset all values to zero.]]>
  15252. </doc>
  15253. </method>
  15254. <method name="add"
  15255. abstract="false" native="false" synchronized="false"
  15256. static="false" final="true" visibility="public"
  15257. deprecated="not deprecated">
  15258. <param name="e" type="E"/>
  15259. <param name="value" type="double"/>
  15260. <doc>
  15261. <![CDATA[Add the given value to e.]]>
  15262. </doc>
  15263. </method>
  15264. <method name="add"
  15265. abstract="false" native="false" synchronized="false"
  15266. static="false" final="true" visibility="public"
  15267. deprecated="not deprecated">
  15268. <param name="that" type="org.apache.hadoop.hdfs.util.EnumDoubles"/>
  15269. <doc>
  15270. <![CDATA[Add the values of that object to this.]]>
  15271. </doc>
  15272. </method>
  15273. <method name="subtract"
  15274. abstract="false" native="false" synchronized="false"
  15275. static="false" final="true" visibility="public"
  15276. deprecated="not deprecated">
  15277. <param name="e" type="E"/>
  15278. <param name="value" type="double"/>
  15279. <doc>
  15280. <![CDATA[Subtract the given value from e.]]>
  15281. </doc>
  15282. </method>
  15283. <method name="subtract"
  15284. abstract="false" native="false" synchronized="false"
  15285. static="false" final="true" visibility="public"
  15286. deprecated="not deprecated">
  15287. <param name="that" type="org.apache.hadoop.hdfs.util.EnumDoubles"/>
  15288. <doc>
  15289. <![CDATA[Subtract the values of this object from that object.]]>
  15290. </doc>
  15291. </method>
  15292. <method name="equals" return="boolean"
  15293. abstract="false" native="false" synchronized="false"
  15294. static="false" final="false" visibility="public"
  15295. deprecated="not deprecated">
  15296. <param name="obj" type="java.lang.Object"/>
  15297. </method>
  15298. <method name="hashCode" return="int"
  15299. abstract="false" native="false" synchronized="false"
  15300. static="false" final="false" visibility="public"
  15301. deprecated="not deprecated">
  15302. </method>
  15303. <method name="toString" return="java.lang.String"
  15304. abstract="false" native="false" synchronized="false"
  15305. static="false" final="false" visibility="public"
  15306. deprecated="not deprecated">
  15307. </method>
  15308. <doc>
  15309. <![CDATA[Similar to {@link EnumCounters} except that the value type is double.
  15310. @param <E> the enum type]]>
  15311. </doc>
  15312. </class>
  15313. <!-- end class org.apache.hadoop.hdfs.util.EnumDoubles -->
  15314. <!-- start class org.apache.hadoop.hdfs.util.Holder -->
  15315. <class name="Holder" extends="java.lang.Object"
  15316. abstract="false"
  15317. static="false" final="false" visibility="public"
  15318. deprecated="not deprecated">
  15319. <constructor name="Holder" type="T"
  15320. static="false" final="false" visibility="public"
  15321. deprecated="not deprecated">
  15322. </constructor>
  15323. <method name="toString" return="java.lang.String"
  15324. abstract="false" native="false" synchronized="false"
  15325. static="false" final="false" visibility="public"
  15326. deprecated="not deprecated">
  15327. </method>
  15328. <field name="held" type="T"
  15329. transient="false" volatile="false"
  15330. static="false" final="false" visibility="public"
  15331. deprecated="not deprecated">
  15332. </field>
  15333. <doc>
  15334. <![CDATA[A Holder is simply a wrapper around some other object. This is useful
  15335. in particular for storing immutable values like boxed Integers in a
  15336. collection without having to do the &quot;lookup&quot; of the value twice.]]>
  15337. </doc>
  15338. </class>
  15339. <!-- end class org.apache.hadoop.hdfs.util.Holder -->
  15340. <!-- start class org.apache.hadoop.hdfs.util.LightWeightHashSet -->
  15341. <class name="LightWeightHashSet" extends="java.lang.Object"
  15342. abstract="false"
  15343. static="false" final="false" visibility="public"
  15344. deprecated="not deprecated">
  15345. <implements name="java.util.Collection"/>
  15346. <constructor name="LightWeightHashSet" type="int, float, float"
  15347. static="false" final="false" visibility="public"
  15348. deprecated="not deprecated">
  15349. <doc>
  15350. <![CDATA[@param initCapacity
  15351. Recommended size of the internal array.
  15352. @param maxLoadFactor
  15353. used to determine when to expand the internal array
  15354. @param minLoadFactor
  15355. used to determine when to shrink the internal array]]>
  15356. </doc>
  15357. </constructor>
  15358. <constructor name="LightWeightHashSet"
  15359. static="false" final="false" visibility="public"
  15360. deprecated="not deprecated">
  15361. </constructor>
  15362. <constructor name="LightWeightHashSet" type="int"
  15363. static="false" final="false" visibility="public"
  15364. deprecated="not deprecated">
  15365. </constructor>
  15366. <method name="isEmpty" return="boolean"
  15367. abstract="false" native="false" synchronized="false"
  15368. static="false" final="false" visibility="public"
  15369. deprecated="not deprecated">
  15370. <doc>
  15371. <![CDATA[Check if the set is empty.
  15372. @return true is set empty, false otherwise]]>
  15373. </doc>
  15374. </method>
  15375. <method name="getCapacity" return="int"
  15376. abstract="false" native="false" synchronized="false"
  15377. static="false" final="false" visibility="public"
  15378. deprecated="not deprecated">
  15379. <doc>
  15380. <![CDATA[Return the current capacity (for testing).]]>
  15381. </doc>
  15382. </method>
  15383. <method name="size" return="int"
  15384. abstract="false" native="false" synchronized="false"
  15385. static="false" final="false" visibility="public"
  15386. deprecated="not deprecated">
  15387. <doc>
  15388. <![CDATA[Return the number of stored elements.]]>
  15389. </doc>
  15390. </method>
  15391. <method name="getIndex" return="int"
  15392. abstract="false" native="false" synchronized="false"
  15393. static="false" final="false" visibility="protected"
  15394. deprecated="not deprecated">
  15395. <param name="hashCode" type="int"/>
  15396. <doc>
  15397. <![CDATA[Get index in the internal table for a given hash.]]>
  15398. </doc>
  15399. </method>
  15400. <method name="contains" return="boolean"
  15401. abstract="false" native="false" synchronized="false"
  15402. static="false" final="false" visibility="public"
  15403. deprecated="not deprecated">
  15404. <param name="key" type="java.lang.Object"/>
  15405. <doc>
  15406. <![CDATA[Check if the set contains given element
  15407. @return true if element present, false otherwise.]]>
  15408. </doc>
  15409. </method>
  15410. <method name="getElement" return="T"
  15411. abstract="false" native="false" synchronized="false"
  15412. static="false" final="false" visibility="public"
  15413. deprecated="not deprecated">
  15414. <param name="key" type="T"/>
  15415. <doc>
  15416. <![CDATA[Return the element in this set which is equal to
  15417. the given key, if such an element exists.
  15418. Otherwise returns null.]]>
  15419. </doc>
  15420. </method>
  15421. <method name="getContainedElem" return="T"
  15422. abstract="false" native="false" synchronized="false"
  15423. static="false" final="false" visibility="protected"
  15424. deprecated="not deprecated">
  15425. <param name="index" type="int"/>
  15426. <param name="key" type="T"/>
  15427. <param name="hashCode" type="int"/>
  15428. <doc>
  15429. <![CDATA[Check if the set contains given element at given index. If it
  15430. does, return that element.
  15431. @return the element, or null, if no element matches]]>
  15432. </doc>
  15433. </method>
  15434. <method name="addAll" return="boolean"
  15435. abstract="false" native="false" synchronized="false"
  15436. static="false" final="false" visibility="public"
  15437. deprecated="not deprecated">
  15438. <param name="toAdd" type="java.util.Collection"/>
  15439. <doc>
  15440. <![CDATA[All all elements in the collection. Expand if necessary.
  15441. @param toAdd - elements to add.
  15442. @return true if the set has changed, false otherwise]]>
  15443. </doc>
  15444. </method>
  15445. <method name="add" return="boolean"
  15446. abstract="false" native="false" synchronized="false"
  15447. static="false" final="false" visibility="public"
  15448. deprecated="not deprecated">
  15449. <param name="element" type="T"/>
  15450. <doc>
  15451. <![CDATA[Add given element to the hash table. Expand table if necessary.
  15452. @return true if the element was not present in the table, false otherwise]]>
  15453. </doc>
  15454. </method>
  15455. <method name="addElem" return="boolean"
  15456. abstract="false" native="false" synchronized="false"
  15457. static="false" final="false" visibility="protected"
  15458. deprecated="not deprecated">
  15459. <param name="element" type="T"/>
  15460. <doc>
  15461. <![CDATA[Add given element to the hash table
  15462. @return true if the element was not present in the table, false otherwise]]>
  15463. </doc>
  15464. </method>
  15465. <method name="remove" return="boolean"
  15466. abstract="false" native="false" synchronized="false"
  15467. static="false" final="false" visibility="public"
  15468. deprecated="not deprecated">
  15469. <param name="key" type="java.lang.Object"/>
  15470. <doc>
  15471. <![CDATA[Remove the element corresponding to the key.
  15472. @return If such element exists, return true. Otherwise, return false.]]>
  15473. </doc>
  15474. </method>
  15475. <method name="removeElem" return="org.apache.hadoop.hdfs.util.LightWeightHashSet.LinkedElement"
  15476. abstract="false" native="false" synchronized="false"
  15477. static="false" final="false" visibility="protected"
  15478. deprecated="not deprecated">
  15479. <param name="key" type="T"/>
  15480. <doc>
  15481. <![CDATA[Remove the element corresponding to the key, given key.hashCode() == index.
  15482. @return If such element exists, return true. Otherwise, return false.]]>
  15483. </doc>
  15484. </method>
  15485. <method name="pollN" return="java.util.List"
  15486. abstract="false" native="false" synchronized="false"
  15487. static="false" final="false" visibility="public"
  15488. deprecated="not deprecated">
  15489. <param name="n" type="int"/>
  15490. <doc>
  15491. <![CDATA[Remove and return n elements from the hashtable.
  15492. The order in which entries are removed is unspecified, and
  15493. and may not correspond to the order in which they were inserted.
  15494. @return first element]]>
  15495. </doc>
  15496. </method>
  15497. <method name="pollAll" return="java.util.List"
  15498. abstract="false" native="false" synchronized="false"
  15499. static="false" final="false" visibility="public"
  15500. deprecated="not deprecated">
  15501. <doc>
  15502. <![CDATA[Remove all elements from the set and return them. Clear the entries.]]>
  15503. </doc>
  15504. </method>
  15505. <method name="pollToArray" return="T[]"
  15506. abstract="false" native="false" synchronized="false"
  15507. static="false" final="false" visibility="public"
  15508. deprecated="not deprecated">
  15509. <param name="array" type="T[]"/>
  15510. <doc>
  15511. <![CDATA[Get array.length elements from the set, and put them into the array.]]>
  15512. </doc>
  15513. </method>
  15514. <method name="shrinkIfNecessary"
  15515. abstract="false" native="false" synchronized="false"
  15516. static="false" final="false" visibility="protected"
  15517. deprecated="not deprecated">
  15518. <doc>
  15519. <![CDATA[Checks if we need to shrink, and shrinks if necessary.]]>
  15520. </doc>
  15521. </method>
  15522. <method name="expandIfNecessary"
  15523. abstract="false" native="false" synchronized="false"
  15524. static="false" final="false" visibility="protected"
  15525. deprecated="not deprecated">
  15526. <doc>
  15527. <![CDATA[Checks if we need to expand, and expands if necessary.]]>
  15528. </doc>
  15529. </method>
  15530. <method name="iterator" return="java.util.Iterator"
  15531. abstract="false" native="false" synchronized="false"
  15532. static="false" final="false" visibility="public"
  15533. deprecated="not deprecated">
  15534. </method>
  15535. <method name="toString" return="java.lang.String"
  15536. abstract="false" native="false" synchronized="false"
  15537. static="false" final="false" visibility="public"
  15538. deprecated="not deprecated">
  15539. </method>
  15540. <method name="printDetails"
  15541. abstract="false" native="false" synchronized="false"
  15542. static="false" final="false" visibility="public"
  15543. deprecated="not deprecated">
  15544. <param name="out" type="java.io.PrintStream"/>
  15545. <doc>
  15546. <![CDATA[Print detailed information of this object.]]>
  15547. </doc>
  15548. </method>
  15549. <method name="clear"
  15550. abstract="false" native="false" synchronized="false"
  15551. static="false" final="false" visibility="public"
  15552. deprecated="not deprecated">
  15553. <doc>
  15554. <![CDATA[Clear the set. Resize it to the original capacity.]]>
  15555. </doc>
  15556. </method>
  15557. <method name="toArray" return="java.lang.Object[]"
  15558. abstract="false" native="false" synchronized="false"
  15559. static="false" final="false" visibility="public"
  15560. deprecated="not deprecated">
  15561. </method>
  15562. <method name="toArray" return="U[]"
  15563. abstract="false" native="false" synchronized="false"
  15564. static="false" final="false" visibility="public"
  15565. deprecated="not deprecated">
  15566. <param name="a" type="U[]"/>
  15567. </method>
  15568. <method name="containsAll" return="boolean"
  15569. abstract="false" native="false" synchronized="false"
  15570. static="false" final="false" visibility="public"
  15571. deprecated="not deprecated">
  15572. <param name="c" type="java.util.Collection"/>
  15573. </method>
  15574. <method name="removeAll" return="boolean"
  15575. abstract="false" native="false" synchronized="false"
  15576. static="false" final="false" visibility="public"
  15577. deprecated="not deprecated">
  15578. <param name="c" type="java.util.Collection"/>
  15579. </method>
  15580. <method name="retainAll" return="boolean"
  15581. abstract="false" native="false" synchronized="false"
  15582. static="false" final="false" visibility="public"
  15583. deprecated="not deprecated">
  15584. <param name="c" type="java.util.Collection"/>
  15585. </method>
  15586. <field name="DEFAULT_MAX_LOAD_FACTOR" type="float"
  15587. transient="false" volatile="false"
  15588. static="true" final="true" visibility="protected"
  15589. deprecated="not deprecated">
  15590. </field>
  15591. <field name="DEFAUT_MIN_LOAD_FACTOR" type="float"
  15592. transient="false" volatile="false"
  15593. static="true" final="true" visibility="protected"
  15594. deprecated="not deprecated">
  15595. </field>
  15596. <field name="MINIMUM_CAPACITY" type="int"
  15597. transient="false" volatile="false"
  15598. static="true" final="true" visibility="protected"
  15599. deprecated="not deprecated">
  15600. </field>
  15601. <field name="entries" type="org.apache.hadoop.hdfs.util.LightWeightHashSet.LinkedElement[]"
  15602. transient="false" volatile="false"
  15603. static="false" final="false" visibility="protected"
  15604. deprecated="not deprecated">
  15605. <doc>
  15606. <![CDATA[An internal array of entries, which are the rows of the hash table. The
  15607. size must be a power of two.]]>
  15608. </doc>
  15609. </field>
  15610. <field name="size" type="int"
  15611. transient="false" volatile="false"
  15612. static="false" final="false" visibility="protected"
  15613. deprecated="not deprecated">
  15614. <doc>
  15615. <![CDATA[The size of the set (not the entry array).]]>
  15616. </doc>
  15617. </field>
  15618. <field name="modification" type="int"
  15619. transient="false" volatile="false"
  15620. static="false" final="false" visibility="protected"
  15621. deprecated="not deprecated">
  15622. <doc>
  15623. <![CDATA[Modification version for fail-fast.
  15624. @see ConcurrentModificationException]]>
  15625. </doc>
  15626. </field>
  15627. <doc>
  15628. <![CDATA[A low memory linked hash set implementation, which uses an array for storing
  15629. the elements and linked lists for collision resolution. This class does not
  15630. support null element.
  15631. This class is not thread safe.]]>
  15632. </doc>
  15633. </class>
  15634. <!-- end class org.apache.hadoop.hdfs.util.LightWeightHashSet -->
  15635. <!-- start class org.apache.hadoop.hdfs.util.LightWeightLinkedSet -->
  15636. <class name="LightWeightLinkedSet" extends="org.apache.hadoop.hdfs.util.LightWeightHashSet"
  15637. abstract="false"
  15638. static="false" final="false" visibility="public"
  15639. deprecated="not deprecated">
  15640. <constructor name="LightWeightLinkedSet" type="int, float, float"
  15641. static="false" final="false" visibility="public"
  15642. deprecated="not deprecated">
  15643. <doc>
  15644. <![CDATA[@param initCapacity
  15645. Recommended size of the internal array.
  15646. @param maxLoadFactor
  15647. used to determine when to expand the internal array
  15648. @param minLoadFactor
  15649. used to determine when to shrink the internal array]]>
  15650. </doc>
  15651. </constructor>
  15652. <constructor name="LightWeightLinkedSet"
  15653. static="false" final="false" visibility="public"
  15654. deprecated="not deprecated">
  15655. </constructor>
  15656. <method name="addElem" return="boolean"
  15657. abstract="false" native="false" synchronized="false"
  15658. static="false" final="false" visibility="protected"
  15659. deprecated="not deprecated">
  15660. <param name="element" type="T"/>
  15661. <doc>
  15662. <![CDATA[Add given element to the hash table
  15663. @return true if the element was not present in the table, false otherwise]]>
  15664. </doc>
  15665. </method>
  15666. <method name="removeElem" return="org.apache.hadoop.hdfs.util.LightWeightLinkedSet.DoubleLinkedElement"
  15667. abstract="false" native="false" synchronized="false"
  15668. static="false" final="false" visibility="protected"
  15669. deprecated="not deprecated">
  15670. <param name="key" type="T"/>
  15671. <doc>
  15672. <![CDATA[Remove the element corresponding to the key, given key.hashCode() == index.
  15673. @return Return the entry with the element if exists. Otherwise return null.]]>
  15674. </doc>
  15675. </method>
  15676. <method name="pollFirst" return="T"
  15677. abstract="false" native="false" synchronized="false"
  15678. static="false" final="false" visibility="public"
  15679. deprecated="not deprecated">
  15680. <doc>
  15681. <![CDATA[Remove and return first element on the linked list of all elements.
  15682. @return first element]]>
  15683. </doc>
  15684. </method>
  15685. <method name="pollN" return="java.util.List"
  15686. abstract="false" native="false" synchronized="false"
  15687. static="false" final="false" visibility="public"
  15688. deprecated="not deprecated">
  15689. <param name="n" type="int"/>
  15690. <doc>
  15691. <![CDATA[Remove and return n elements from the hashtable.
  15692. The order in which entries are removed is corresponds
  15693. to the order in which they were inserted.
  15694. @return first element]]>
  15695. </doc>
  15696. </method>
  15697. <method name="pollAll" return="java.util.List"
  15698. abstract="false" native="false" synchronized="false"
  15699. static="false" final="false" visibility="public"
  15700. deprecated="not deprecated">
  15701. <doc>
  15702. <![CDATA[Remove all elements from the set and return them in order. Traverse the
  15703. link list, don't worry about hashtable - faster version of the parent
  15704. method.]]>
  15705. </doc>
  15706. </method>
  15707. <method name="toArray" return="U[]"
  15708. abstract="false" native="false" synchronized="false"
  15709. static="false" final="false" visibility="public"
  15710. deprecated="not deprecated">
  15711. <param name="a" type="U[]"/>
  15712. </method>
  15713. <method name="iterator" return="java.util.Iterator"
  15714. abstract="false" native="false" synchronized="false"
  15715. static="false" final="false" visibility="public"
  15716. deprecated="not deprecated">
  15717. </method>
  15718. <method name="clear"
  15719. abstract="false" native="false" synchronized="false"
  15720. static="false" final="false" visibility="public"
  15721. deprecated="not deprecated">
  15722. <doc>
  15723. <![CDATA[Clear the set. Resize it to the original capacity.]]>
  15724. </doc>
  15725. </method>
  15726. <doc>
  15727. <![CDATA[A low memory linked hash set implementation, which uses an array for storing
  15728. the elements and linked lists for collision resolution. In addition it stores
  15729. elements in a linked list to ensure ordered traversal. This class does not
  15730. support null element.
  15731. This class is not thread safe.]]>
  15732. </doc>
  15733. </class>
  15734. <!-- end class org.apache.hadoop.hdfs.util.LightWeightLinkedSet -->
  15735. <!-- start class org.apache.hadoop.hdfs.util.LongBitFormat -->
  15736. <class name="LongBitFormat" extends="java.lang.Object"
  15737. abstract="false"
  15738. static="false" final="false" visibility="public"
  15739. deprecated="not deprecated">
  15740. <implements name="java.io.Serializable"/>
  15741. <constructor name="LongBitFormat" type="java.lang.String, org.apache.hadoop.hdfs.util.LongBitFormat, int, long"
  15742. static="false" final="false" visibility="public"
  15743. deprecated="not deprecated">
  15744. </constructor>
  15745. <method name="retrieve" return="long"
  15746. abstract="false" native="false" synchronized="false"
  15747. static="false" final="false" visibility="public"
  15748. deprecated="not deprecated">
  15749. <param name="record" type="long"/>
  15750. <doc>
  15751. <![CDATA[Retrieve the value from the record.]]>
  15752. </doc>
  15753. </method>
  15754. <method name="combine" return="long"
  15755. abstract="false" native="false" synchronized="false"
  15756. static="false" final="false" visibility="public"
  15757. deprecated="not deprecated">
  15758. <param name="value" type="long"/>
  15759. <param name="record" type="long"/>
  15760. <doc>
  15761. <![CDATA[Combine the value to the record.]]>
  15762. </doc>
  15763. </method>
  15764. <doc>
  15765. <![CDATA[Bit format in a long.]]>
  15766. </doc>
  15767. </class>
  15768. <!-- end class org.apache.hadoop.hdfs.util.LongBitFormat -->
  15769. <!-- start class org.apache.hadoop.hdfs.util.MD5FileUtils -->
  15770. <class name="MD5FileUtils" extends="java.lang.Object"
  15771. abstract="true"
  15772. static="false" final="false" visibility="public"
  15773. deprecated="not deprecated">
  15774. <constructor name="MD5FileUtils"
  15775. static="false" final="false" visibility="public"
  15776. deprecated="not deprecated">
  15777. </constructor>
  15778. <method name="verifySavedMD5"
  15779. abstract="false" native="false" synchronized="false"
  15780. static="true" final="false" visibility="public"
  15781. deprecated="not deprecated">
  15782. <param name="dataFile" type="java.io.File"/>
  15783. <param name="expectedMD5" type="org.apache.hadoop.io.MD5Hash"/>
  15784. <exception name="IOException" type="java.io.IOException"/>
  15785. <doc>
  15786. <![CDATA[Verify that the previously saved md5 for the given file matches
  15787. expectedMd5.
  15788. @throws IOException]]>
  15789. </doc>
  15790. </method>
  15791. <method name="readStoredMd5ForFile" return="org.apache.hadoop.io.MD5Hash"
  15792. abstract="false" native="false" synchronized="false"
  15793. static="true" final="false" visibility="public"
  15794. deprecated="not deprecated">
  15795. <param name="dataFile" type="java.io.File"/>
  15796. <exception name="IOException" type="java.io.IOException"/>
  15797. <doc>
  15798. <![CDATA[Read the md5 checksum stored alongside the given data file.
  15799. @param dataFile the file containing data
  15800. @return the checksum stored in dataFile.md5]]>
  15801. </doc>
  15802. </method>
  15803. <method name="computeMd5ForFile" return="org.apache.hadoop.io.MD5Hash"
  15804. abstract="false" native="false" synchronized="false"
  15805. static="true" final="false" visibility="public"
  15806. deprecated="not deprecated">
  15807. <param name="dataFile" type="java.io.File"/>
  15808. <exception name="IOException" type="java.io.IOException"/>
  15809. <doc>
  15810. <![CDATA[Read dataFile and compute its MD5 checksum.]]>
  15811. </doc>
  15812. </method>
  15813. <method name="saveMD5File"
  15814. abstract="false" native="false" synchronized="false"
  15815. static="true" final="false" visibility="public"
  15816. deprecated="not deprecated">
  15817. <param name="dataFile" type="java.io.File"/>
  15818. <param name="digest" type="org.apache.hadoop.io.MD5Hash"/>
  15819. <exception name="IOException" type="java.io.IOException"/>
  15820. <doc>
  15821. <![CDATA[Save the ".md5" file that lists the md5sum of another file.
  15822. @param dataFile the original file whose md5 was computed
  15823. @param digest the computed digest
  15824. @throws IOException]]>
  15825. </doc>
  15826. </method>
  15827. <method name="renameMD5File"
  15828. abstract="false" native="false" synchronized="false"
  15829. static="true" final="false" visibility="public"
  15830. deprecated="not deprecated">
  15831. <param name="oldDataFile" type="java.io.File"/>
  15832. <param name="newDataFile" type="java.io.File"/>
  15833. <exception name="IOException" type="java.io.IOException"/>
  15834. </method>
  15835. <method name="getDigestFileForFile" return="java.io.File"
  15836. abstract="false" native="false" synchronized="false"
  15837. static="true" final="false" visibility="public"
  15838. deprecated="not deprecated">
  15839. <param name="file" type="java.io.File"/>
  15840. <doc>
  15841. <![CDATA[@return a reference to the file with .md5 suffix that will
  15842. contain the md5 checksum for the given data file.]]>
  15843. </doc>
  15844. </method>
  15845. <field name="MD5_SUFFIX" type="java.lang.String"
  15846. transient="false" volatile="false"
  15847. static="true" final="true" visibility="public"
  15848. deprecated="not deprecated">
  15849. </field>
  15850. <doc>
  15851. <![CDATA[Static functions for dealing with files of the same format
  15852. that the Unix "md5sum" utility writes.]]>
  15853. </doc>
  15854. </class>
  15855. <!-- end class org.apache.hadoop.hdfs.util.MD5FileUtils -->
  15856. <!-- start class org.apache.hadoop.hdfs.util.ReadOnlyList.Util -->
  15857. <class name="ReadOnlyList.Util" extends="java.lang.Object"
  15858. abstract="false"
  15859. static="true" final="false" visibility="public"
  15860. deprecated="not deprecated">
  15861. <constructor name="ReadOnlyList.Util"
  15862. static="false" final="false" visibility="public"
  15863. deprecated="not deprecated">
  15864. </constructor>
  15865. <method name="emptyList" return="org.apache.hadoop.hdfs.util.ReadOnlyList"
  15866. abstract="false" native="false" synchronized="false"
  15867. static="true" final="false" visibility="public"
  15868. deprecated="not deprecated">
  15869. <doc>
  15870. <![CDATA[@return an empty list.]]>
  15871. </doc>
  15872. </method>
  15873. <method name="binarySearch" return="int"
  15874. abstract="false" native="false" synchronized="false"
  15875. static="true" final="false" visibility="public"
  15876. deprecated="not deprecated">
  15877. <param name="list" type="org.apache.hadoop.hdfs.util.ReadOnlyList"/>
  15878. <param name="key" type="K"/>
  15879. <doc>
  15880. <![CDATA[The same as {@link Collections#binarySearch(List, Object)}
  15881. except that the list is a {@link ReadOnlyList}.
  15882. @return the insertion point defined
  15883. in {@link Collections#binarySearch(List, Object)}.]]>
  15884. </doc>
  15885. </method>
  15886. <method name="asReadOnlyList" return="org.apache.hadoop.hdfs.util.ReadOnlyList"
  15887. abstract="false" native="false" synchronized="false"
  15888. static="true" final="false" visibility="public"
  15889. deprecated="not deprecated">
  15890. <param name="list" type="java.util.List"/>
  15891. <doc>
  15892. <![CDATA[@return a {@link ReadOnlyList} view of the given list.]]>
  15893. </doc>
  15894. </method>
  15895. <method name="asList" return="java.util.List"
  15896. abstract="false" native="false" synchronized="false"
  15897. static="true" final="false" visibility="public"
  15898. deprecated="not deprecated">
  15899. <param name="list" type="org.apache.hadoop.hdfs.util.ReadOnlyList"/>
  15900. <doc>
  15901. <![CDATA[@return a {@link List} view of the given list.]]>
  15902. </doc>
  15903. </method>
  15904. <doc>
  15905. <![CDATA[Utilities for {@link ReadOnlyList}]]>
  15906. </doc>
  15907. </class>
  15908. <!-- end class org.apache.hadoop.hdfs.util.ReadOnlyList.Util -->
  15909. <!-- start interface org.apache.hadoop.hdfs.util.RwLock -->
  15910. <interface name="RwLock" abstract="true"
  15911. static="false" final="false" visibility="public"
  15912. deprecated="not deprecated">
  15913. <method name="readLock"
  15914. abstract="false" native="false" synchronized="false"
  15915. static="false" final="false" visibility="public"
  15916. deprecated="not deprecated">
  15917. <doc>
  15918. <![CDATA[Acquire read lock.]]>
  15919. </doc>
  15920. </method>
  15921. <method name="longReadLockInterruptibly"
  15922. abstract="false" native="false" synchronized="false"
  15923. static="false" final="false" visibility="public"
  15924. deprecated="not deprecated">
  15925. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  15926. <doc>
  15927. <![CDATA[Acquire the long read lock, unless interrupted while waiting. The long
  15928. read lock should also serve to block all concurrent writers.]]>
  15929. </doc>
  15930. </method>
  15931. <method name="longReadUnlock"
  15932. abstract="false" native="false" synchronized="false"
  15933. static="false" final="false" visibility="public"
  15934. deprecated="not deprecated">
  15935. <doc>
  15936. <![CDATA[Release the long read lock.]]>
  15937. </doc>
  15938. </method>
  15939. <method name="readUnlock"
  15940. abstract="false" native="false" synchronized="false"
  15941. static="false" final="false" visibility="public"
  15942. deprecated="not deprecated">
  15943. <doc>
  15944. <![CDATA[Release read lock.]]>
  15945. </doc>
  15946. </method>
  15947. <method name="hasReadLock" return="boolean"
  15948. abstract="false" native="false" synchronized="false"
  15949. static="false" final="false" visibility="public"
  15950. deprecated="not deprecated">
  15951. <doc>
  15952. <![CDATA[Check if the current thread holds read lock.]]>
  15953. </doc>
  15954. </method>
  15955. <method name="writeLock"
  15956. abstract="false" native="false" synchronized="false"
  15957. static="false" final="false" visibility="public"
  15958. deprecated="not deprecated">
  15959. <doc>
  15960. <![CDATA[Acquire write lock.]]>
  15961. </doc>
  15962. </method>
  15963. <method name="writeLockInterruptibly"
  15964. abstract="false" native="false" synchronized="false"
  15965. static="false" final="false" visibility="public"
  15966. deprecated="not deprecated">
  15967. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  15968. <doc>
  15969. <![CDATA[Acquire write lock, unless interrupted while waiting]]>
  15970. </doc>
  15971. </method>
  15972. <method name="writeUnlock"
  15973. abstract="false" native="false" synchronized="false"
  15974. static="false" final="false" visibility="public"
  15975. deprecated="not deprecated">
  15976. <doc>
  15977. <![CDATA[Release write lock.]]>
  15978. </doc>
  15979. </method>
  15980. <method name="hasWriteLock" return="boolean"
  15981. abstract="false" native="false" synchronized="false"
  15982. static="false" final="false" visibility="public"
  15983. deprecated="not deprecated">
  15984. <doc>
  15985. <![CDATA[Check if the current thread holds write lock.]]>
  15986. </doc>
  15987. </method>
  15988. <doc>
  15989. <![CDATA[Read-write lock interface.]]>
  15990. </doc>
  15991. </interface>
  15992. <!-- end interface org.apache.hadoop.hdfs.util.RwLock -->
  15993. <!-- start class org.apache.hadoop.hdfs.util.XMLUtils.InvalidXmlException -->
  15994. <class name="XMLUtils.InvalidXmlException" extends="java.lang.RuntimeException"
  15995. abstract="false"
  15996. static="true" final="false" visibility="public"
  15997. deprecated="not deprecated">
  15998. <constructor name="XMLUtils.InvalidXmlException" type="java.lang.String"
  15999. static="false" final="false" visibility="public"
  16000. deprecated="not deprecated">
  16001. </constructor>
  16002. <doc>
  16003. <![CDATA[Exception that reflects an invalid XML document.]]>
  16004. </doc>
  16005. </class>
  16006. <!-- end class org.apache.hadoop.hdfs.util.XMLUtils.InvalidXmlException -->
  16007. <!-- start class org.apache.hadoop.hdfs.util.XMLUtils.Stanza -->
  16008. <class name="XMLUtils.Stanza" extends="java.lang.Object"
  16009. abstract="false"
  16010. static="true" final="false" visibility="public"
  16011. deprecated="not deprecated">
  16012. <constructor name="XMLUtils.Stanza"
  16013. static="false" final="false" visibility="public"
  16014. deprecated="not deprecated">
  16015. </constructor>
  16016. <method name="setValue"
  16017. abstract="false" native="false" synchronized="false"
  16018. static="false" final="false" visibility="public"
  16019. deprecated="not deprecated">
  16020. <param name="value" type="java.lang.String"/>
  16021. </method>
  16022. <method name="getValue" return="java.lang.String"
  16023. abstract="false" native="false" synchronized="false"
  16024. static="false" final="false" visibility="public"
  16025. deprecated="not deprecated">
  16026. </method>
  16027. <method name="hasChildren" return="boolean"
  16028. abstract="false" native="false" synchronized="false"
  16029. static="false" final="false" visibility="public"
  16030. deprecated="not deprecated">
  16031. <param name="name" type="java.lang.String"/>
  16032. <doc>
  16033. <![CDATA[Discover if a stanza has a given entry.
  16034. @param name entry to look for
  16035. @return true if the entry was found]]>
  16036. </doc>
  16037. </method>
  16038. <method name="getChildren" return="java.util.List"
  16039. abstract="false" native="false" synchronized="false"
  16040. static="false" final="false" visibility="public"
  16041. deprecated="not deprecated">
  16042. <param name="name" type="java.lang.String"/>
  16043. <exception name="XMLUtils.InvalidXmlException" type="org.apache.hadoop.hdfs.util.XMLUtils.InvalidXmlException"/>
  16044. <doc>
  16045. <![CDATA[Pull an entry from a stanza.
  16046. @param name entry to look for
  16047. @return the entry]]>
  16048. </doc>
  16049. </method>
  16050. <method name="getValue" return="java.lang.String"
  16051. abstract="false" native="false" synchronized="false"
  16052. static="false" final="false" visibility="public"
  16053. deprecated="not deprecated">
  16054. <param name="name" type="java.lang.String"/>
  16055. <exception name="XMLUtils.InvalidXmlException" type="org.apache.hadoop.hdfs.util.XMLUtils.InvalidXmlException"/>
  16056. <doc>
  16057. <![CDATA[Pull a string entry from a stanza.
  16058. @param name entry to look for
  16059. @return the entry]]>
  16060. </doc>
  16061. </method>
  16062. <method name="getValueOrNull" return="java.lang.String"
  16063. abstract="false" native="false" synchronized="false"
  16064. static="false" final="false" visibility="public"
  16065. deprecated="not deprecated">
  16066. <param name="name" type="java.lang.String"/>
  16067. <exception name="XMLUtils.InvalidXmlException" type="org.apache.hadoop.hdfs.util.XMLUtils.InvalidXmlException"/>
  16068. <doc>
  16069. <![CDATA[Pull a string entry from a stanza, or null.
  16070. @param name entry to look for
  16071. @return the entry, or null if it was not found.]]>
  16072. </doc>
  16073. </method>
  16074. <method name="addChild"
  16075. abstract="false" native="false" synchronized="false"
  16076. static="false" final="false" visibility="public"
  16077. deprecated="not deprecated">
  16078. <param name="name" type="java.lang.String"/>
  16079. <param name="child" type="org.apache.hadoop.hdfs.util.XMLUtils.Stanza"/>
  16080. <doc>
  16081. <![CDATA[Add an entry to a stanza.
  16082. @param name name of the entry to add
  16083. @param child the entry to add]]>
  16084. </doc>
  16085. </method>
  16086. <method name="toString" return="java.lang.String"
  16087. abstract="false" native="false" synchronized="false"
  16088. static="false" final="false" visibility="public"
  16089. deprecated="not deprecated">
  16090. <doc>
  16091. <![CDATA[Convert a stanza to a human-readable string.]]>
  16092. </doc>
  16093. </method>
  16094. <doc>
  16095. <![CDATA[Represents a bag of key-value pairs encountered during parsing an XML
  16096. file.]]>
  16097. </doc>
  16098. </class>
  16099. <!-- end class org.apache.hadoop.hdfs.util.XMLUtils.Stanza -->
  16100. <!-- start class org.apache.hadoop.hdfs.util.XMLUtils.UnmanglingError -->
  16101. <class name="XMLUtils.UnmanglingError" extends="java.lang.RuntimeException"
  16102. abstract="false"
  16103. static="true" final="false" visibility="public"
  16104. deprecated="not deprecated">
  16105. <constructor name="XMLUtils.UnmanglingError" type="java.lang.String, java.lang.Exception"
  16106. static="false" final="false" visibility="public"
  16107. deprecated="not deprecated">
  16108. </constructor>
  16109. <constructor name="XMLUtils.UnmanglingError" type="java.lang.String"
  16110. static="false" final="false" visibility="public"
  16111. deprecated="not deprecated">
  16112. </constructor>
  16113. <doc>
  16114. <![CDATA[Exception that reflects a string that cannot be unmangled.]]>
  16115. </doc>
  16116. </class>
  16117. <!-- end class org.apache.hadoop.hdfs.util.XMLUtils.UnmanglingError -->
  16118. </package>
  16119. <package name="org.apache.hadoop.hdfs.web">
  16120. <!-- start class org.apache.hadoop.hdfs.web.AuthFilter -->
  16121. <class name="AuthFilter" extends="org.apache.hadoop.security.authentication.server.AuthenticationFilter"
  16122. abstract="false"
  16123. static="false" final="false" visibility="public"
  16124. deprecated="not deprecated">
  16125. <constructor name="AuthFilter"
  16126. static="false" final="false" visibility="public"
  16127. deprecated="not deprecated">
  16128. </constructor>
  16129. <method name="getConfiguration" return="java.util.Properties"
  16130. abstract="false" native="false" synchronized="false"
  16131. static="false" final="false" visibility="protected"
  16132. deprecated="not deprecated">
  16133. <param name="prefix" type="java.lang.String"/>
  16134. <param name="config" type="javax.servlet.FilterConfig"/>
  16135. <exception name="ServletException" type="javax.servlet.ServletException"/>
  16136. <doc>
  16137. <![CDATA[Returns the filter configuration properties,
  16138. including the ones prefixed with {@link #CONF_PREFIX}.
  16139. The prefix is removed from the returned property names.
  16140. @param prefix parameter not used.
  16141. @param config parameter contains the initialization values.
  16142. @return Hadoop-Auth configuration properties.
  16143. @throws ServletException]]>
  16144. </doc>
  16145. </method>
  16146. <method name="doFilter"
  16147. abstract="false" native="false" synchronized="false"
  16148. static="false" final="false" visibility="public"
  16149. deprecated="not deprecated">
  16150. <param name="request" type="javax.servlet.ServletRequest"/>
  16151. <param name="response" type="javax.servlet.ServletResponse"/>
  16152. <param name="filterChain" type="javax.servlet.FilterChain"/>
  16153. <exception name="IOException" type="java.io.IOException"/>
  16154. <exception name="ServletException" type="javax.servlet.ServletException"/>
  16155. </method>
  16156. <doc>
  16157. <![CDATA[Subclass of {@link AuthenticationFilter} that
  16158. obtains Hadoop-Auth configuration for webhdfs.]]>
  16159. </doc>
  16160. </class>
  16161. <!-- end class org.apache.hadoop.hdfs.web.AuthFilter -->
  16162. <!-- start class org.apache.hadoop.hdfs.web.ByteRangeInputStream -->
  16163. <class name="ByteRangeInputStream" extends="org.apache.hadoop.fs.FSInputStream"
  16164. abstract="true"
  16165. static="false" final="false" visibility="public"
  16166. deprecated="not deprecated">
  16167. <constructor name="ByteRangeInputStream" type="org.apache.hadoop.hdfs.web.ByteRangeInputStream.URLOpener, org.apache.hadoop.hdfs.web.ByteRangeInputStream.URLOpener"
  16168. static="false" final="false" visibility="public"
  16169. deprecated="not deprecated">
  16170. <exception name="IOException" type="java.io.IOException"/>
  16171. <doc>
  16172. <![CDATA[Create with the specified URLOpeners. Original url is used to open the
  16173. stream for the first time. Resolved url is used in subsequent requests.
  16174. @param o Original url
  16175. @param r Resolved url]]>
  16176. </doc>
  16177. </constructor>
  16178. <method name="getResolvedUrl" return="java.net.URL"
  16179. abstract="true" native="false" synchronized="false"
  16180. static="false" final="false" visibility="protected"
  16181. deprecated="not deprecated">
  16182. <param name="connection" type="java.net.HttpURLConnection"/>
  16183. <exception name="IOException" type="java.io.IOException"/>
  16184. </method>
  16185. <method name="getInputStream" return="java.io.InputStream"
  16186. abstract="false" native="false" synchronized="false"
  16187. static="false" final="false" visibility="protected"
  16188. deprecated="not deprecated">
  16189. <exception name="IOException" type="java.io.IOException"/>
  16190. </method>
  16191. <method name="openInputStream" return="java.io.InputStream"
  16192. abstract="false" native="false" synchronized="false"
  16193. static="false" final="false" visibility="protected"
  16194. deprecated="not deprecated">
  16195. <exception name="IOException" type="java.io.IOException"/>
  16196. </method>
  16197. <method name="read" return="int"
  16198. abstract="false" native="false" synchronized="false"
  16199. static="false" final="false" visibility="public"
  16200. deprecated="not deprecated">
  16201. <exception name="IOException" type="java.io.IOException"/>
  16202. </method>
  16203. <method name="read" return="int"
  16204. abstract="false" native="false" synchronized="false"
  16205. static="false" final="false" visibility="public"
  16206. deprecated="not deprecated">
  16207. <param name="b" type="byte[]"/>
  16208. <param name="off" type="int"/>
  16209. <param name="len" type="int"/>
  16210. <exception name="IOException" type="java.io.IOException"/>
  16211. </method>
  16212. <method name="seek"
  16213. abstract="false" native="false" synchronized="false"
  16214. static="false" final="false" visibility="public"
  16215. deprecated="not deprecated">
  16216. <param name="pos" type="long"/>
  16217. <exception name="IOException" type="java.io.IOException"/>
  16218. <doc>
  16219. <![CDATA[Seek to the given offset from the start of the file.
  16220. The next read() will be from that location. Can't
  16221. seek past the end of the file.]]>
  16222. </doc>
  16223. </method>
  16224. <method name="getPos" return="long"
  16225. abstract="false" native="false" synchronized="false"
  16226. static="false" final="false" visibility="public"
  16227. deprecated="not deprecated">
  16228. <exception name="IOException" type="java.io.IOException"/>
  16229. <doc>
  16230. <![CDATA[Return the current offset from the start of the file]]>
  16231. </doc>
  16232. </method>
  16233. <method name="seekToNewSource" return="boolean"
  16234. abstract="false" native="false" synchronized="false"
  16235. static="false" final="false" visibility="public"
  16236. deprecated="not deprecated">
  16237. <param name="targetPos" type="long"/>
  16238. <exception name="IOException" type="java.io.IOException"/>
  16239. <doc>
  16240. <![CDATA[Seeks a different copy of the data. Returns true if
  16241. found a new source, false otherwise.]]>
  16242. </doc>
  16243. </method>
  16244. <method name="close"
  16245. abstract="false" native="false" synchronized="false"
  16246. static="false" final="false" visibility="public"
  16247. deprecated="not deprecated">
  16248. <exception name="IOException" type="java.io.IOException"/>
  16249. </method>
  16250. <field name="in" type="java.io.InputStream"
  16251. transient="false" volatile="false"
  16252. static="false" final="false" visibility="protected"
  16253. deprecated="not deprecated">
  16254. </field>
  16255. <field name="originalURL" type="org.apache.hadoop.hdfs.web.ByteRangeInputStream.URLOpener"
  16256. transient="false" volatile="false"
  16257. static="false" final="true" visibility="protected"
  16258. deprecated="not deprecated">
  16259. </field>
  16260. <field name="resolvedURL" type="org.apache.hadoop.hdfs.web.ByteRangeInputStream.URLOpener"
  16261. transient="false" volatile="false"
  16262. static="false" final="true" visibility="protected"
  16263. deprecated="not deprecated">
  16264. </field>
  16265. <field name="startPos" type="long"
  16266. transient="false" volatile="false"
  16267. static="false" final="false" visibility="protected"
  16268. deprecated="not deprecated">
  16269. </field>
  16270. <field name="currentPos" type="long"
  16271. transient="false" volatile="false"
  16272. static="false" final="false" visibility="protected"
  16273. deprecated="not deprecated">
  16274. </field>
  16275. <field name="fileLength" type="java.lang.Long"
  16276. transient="false" volatile="false"
  16277. static="false" final="false" visibility="protected"
  16278. deprecated="not deprecated">
  16279. </field>
  16280. <doc>
  16281. <![CDATA[To support HTTP byte streams, a new connection to an HTTP server needs to be
  16282. created each time. This class hides the complexity of those multiple
  16283. connections from the client. Whenever seek() is called, a new connection
  16284. is made on the successive read(). The normal input stream functions are
  16285. connected to the currently active input stream.]]>
  16286. </doc>
  16287. </class>
  16288. <!-- end class org.apache.hadoop.hdfs.web.ByteRangeInputStream -->
  16289. <!-- start class org.apache.hadoop.hdfs.web.ByteRangeInputStream.URLOpener -->
  16290. <class name="ByteRangeInputStream.URLOpener" extends="java.lang.Object"
  16291. abstract="true"
  16292. static="true" final="false" visibility="public"
  16293. deprecated="not deprecated">
  16294. <constructor name="ByteRangeInputStream.URLOpener" type="java.net.URL"
  16295. static="false" final="false" visibility="public"
  16296. deprecated="not deprecated">
  16297. </constructor>
  16298. <method name="setURL"
  16299. abstract="false" native="false" synchronized="false"
  16300. static="false" final="false" visibility="public"
  16301. deprecated="not deprecated">
  16302. <param name="u" type="java.net.URL"/>
  16303. </method>
  16304. <method name="getURL" return="java.net.URL"
  16305. abstract="false" native="false" synchronized="false"
  16306. static="false" final="false" visibility="public"
  16307. deprecated="not deprecated">
  16308. </method>
  16309. <method name="connect" return="java.net.HttpURLConnection"
  16310. abstract="true" native="false" synchronized="false"
  16311. static="false" final="false" visibility="protected"
  16312. deprecated="not deprecated">
  16313. <param name="offset" type="long"/>
  16314. <param name="resolved" type="boolean"/>
  16315. <exception name="IOException" type="java.io.IOException"/>
  16316. <doc>
  16317. <![CDATA[Connect to server with a data offset.]]>
  16318. </doc>
  16319. </method>
  16320. <field name="url" type="java.net.URL"
  16321. transient="false" volatile="false"
  16322. static="false" final="false" visibility="protected"
  16323. deprecated="not deprecated">
  16324. </field>
  16325. <doc>
  16326. <![CDATA[This class wraps a URL and provides method to open connection.
  16327. It can be overridden to change how a connection is opened.]]>
  16328. </doc>
  16329. </class>
  16330. <!-- end class org.apache.hadoop.hdfs.web.ByteRangeInputStream.URLOpener -->
  16331. <!-- start class org.apache.hadoop.hdfs.web.JsonUtil -->
  16332. <class name="JsonUtil" extends="java.lang.Object"
  16333. abstract="false"
  16334. static="false" final="false" visibility="public"
  16335. deprecated="not deprecated">
  16336. <constructor name="JsonUtil"
  16337. static="false" final="false" visibility="public"
  16338. deprecated="not deprecated">
  16339. </constructor>
  16340. <method name="toJsonString" return="java.lang.String"
  16341. abstract="false" native="false" synchronized="false"
  16342. static="true" final="false" visibility="public"
  16343. deprecated="not deprecated">
  16344. <param name="token" type="org.apache.hadoop.security.token.Token"/>
  16345. <exception name="IOException" type="java.io.IOException"/>
  16346. <doc>
  16347. <![CDATA[Convert a token object to a Json string.]]>
  16348. </doc>
  16349. </method>
  16350. <method name="toToken" return="org.apache.hadoop.security.token.Token"
  16351. abstract="false" native="false" synchronized="false"
  16352. static="true" final="false" visibility="public"
  16353. deprecated="not deprecated">
  16354. <param name="m" type="java.util.Map"/>
  16355. <exception name="IOException" type="java.io.IOException"/>
  16356. <doc>
  16357. <![CDATA[Convert a Json map to a Token.]]>
  16358. </doc>
  16359. </method>
  16360. <method name="toDelegationToken" return="org.apache.hadoop.security.token.Token"
  16361. abstract="false" native="false" synchronized="false"
  16362. static="true" final="false" visibility="public"
  16363. deprecated="not deprecated">
  16364. <param name="json" type="java.util.Map"/>
  16365. <exception name="IOException" type="java.io.IOException"/>
  16366. <doc>
  16367. <![CDATA[Convert a Json map to a Token of DelegationTokenIdentifier.]]>
  16368. </doc>
  16369. </method>
  16370. <method name="toJsonString" return="java.lang.String"
  16371. abstract="false" native="false" synchronized="false"
  16372. static="true" final="false" visibility="public"
  16373. deprecated="not deprecated">
  16374. <param name="tokens" type="org.apache.hadoop.security.token.Token[]"/>
  16375. <exception name="IOException" type="java.io.IOException"/>
  16376. <doc>
  16377. <![CDATA[Convert a token object to a JSON string.]]>
  16378. </doc>
  16379. </method>
  16380. <method name="toTokenList" return="java.util.List"
  16381. abstract="false" native="false" synchronized="false"
  16382. static="true" final="false" visibility="public"
  16383. deprecated="not deprecated">
  16384. <param name="json" type="java.util.Map"/>
  16385. <exception name="IOException" type="java.io.IOException"/>
  16386. <doc>
  16387. <![CDATA[Convert a JSON map to a List<Token<?>>.]]>
  16388. </doc>
  16389. </method>
  16390. <method name="toJsonString" return="java.lang.String"
  16391. abstract="false" native="false" synchronized="false"
  16392. static="true" final="false" visibility="public"
  16393. deprecated="not deprecated">
  16394. <param name="e" type="java.lang.Exception"/>
  16395. <doc>
  16396. <![CDATA[Convert an exception object to a Json string.]]>
  16397. </doc>
  16398. </method>
  16399. <method name="toRemoteException" return="org.apache.hadoop.ipc.RemoteException"
  16400. abstract="false" native="false" synchronized="false"
  16401. static="true" final="false" visibility="public"
  16402. deprecated="not deprecated">
  16403. <param name="json" type="java.util.Map"/>
  16404. <doc>
  16405. <![CDATA[Convert a Json map to a RemoteException.]]>
  16406. </doc>
  16407. </method>
  16408. <method name="toJsonString" return="java.lang.String"
  16409. abstract="false" native="false" synchronized="false"
  16410. static="true" final="false" visibility="public"
  16411. deprecated="not deprecated">
  16412. <param name="key" type="java.lang.String"/>
  16413. <param name="value" type="java.lang.Object"/>
  16414. <doc>
  16415. <![CDATA[Convert a key-value pair to a Json string.]]>
  16416. </doc>
  16417. </method>
  16418. <method name="toJsonString" return="java.lang.String"
  16419. abstract="false" native="false" synchronized="false"
  16420. static="true" final="false" visibility="public"
  16421. deprecated="not deprecated">
  16422. <param name="status" type="org.apache.hadoop.hdfs.protocol.HdfsFileStatus"/>
  16423. <param name="includeType" type="boolean"/>
  16424. <doc>
  16425. <![CDATA[Convert a HdfsFileStatus object to a Json string.]]>
  16426. </doc>
  16427. </method>
  16428. <method name="toFileStatus" return="org.apache.hadoop.hdfs.protocol.HdfsFileStatus"
  16429. abstract="false" native="false" synchronized="false"
  16430. static="true" final="false" visibility="public"
  16431. deprecated="not deprecated">
  16432. <param name="json" type="java.util.Map"/>
  16433. <param name="includesType" type="boolean"/>
  16434. <doc>
  16435. <![CDATA[Convert a Json map to a HdfsFileStatus object.]]>
  16436. </doc>
  16437. </method>
  16438. <method name="toJsonString" return="java.lang.String"
  16439. abstract="false" native="false" synchronized="false"
  16440. static="true" final="false" visibility="public"
  16441. deprecated="not deprecated">
  16442. <param name="locatedblocks" type="org.apache.hadoop.hdfs.protocol.LocatedBlocks"/>
  16443. <exception name="IOException" type="java.io.IOException"/>
  16444. <doc>
  16445. <![CDATA[Convert LocatedBlocks to a Json string.]]>
  16446. </doc>
  16447. </method>
  16448. <method name="toLocatedBlocks" return="org.apache.hadoop.hdfs.protocol.LocatedBlocks"
  16449. abstract="false" native="false" synchronized="false"
  16450. static="true" final="false" visibility="public"
  16451. deprecated="not deprecated">
  16452. <param name="json" type="java.util.Map"/>
  16453. <exception name="IOException" type="java.io.IOException"/>
  16454. <doc>
  16455. <![CDATA[Convert a Json map to LocatedBlock.]]>
  16456. </doc>
  16457. </method>
  16458. <method name="toJsonString" return="java.lang.String"
  16459. abstract="false" native="false" synchronized="false"
  16460. static="true" final="false" visibility="public"
  16461. deprecated="not deprecated">
  16462. <param name="contentsummary" type="org.apache.hadoop.fs.ContentSummary"/>
  16463. <doc>
  16464. <![CDATA[Convert a ContentSummary to a Json string.]]>
  16465. </doc>
  16466. </method>
  16467. <method name="toContentSummary" return="org.apache.hadoop.fs.ContentSummary"
  16468. abstract="false" native="false" synchronized="false"
  16469. static="true" final="false" visibility="public"
  16470. deprecated="not deprecated">
  16471. <param name="json" type="java.util.Map"/>
  16472. <doc>
  16473. <![CDATA[Convert a Json map to a ContentSummary.]]>
  16474. </doc>
  16475. </method>
  16476. <method name="toJsonString" return="java.lang.String"
  16477. abstract="false" native="false" synchronized="false"
  16478. static="true" final="false" visibility="public"
  16479. deprecated="not deprecated">
  16480. <param name="checksum" type="org.apache.hadoop.fs.MD5MD5CRC32FileChecksum"/>
  16481. <doc>
  16482. <![CDATA[Convert a MD5MD5CRC32FileChecksum to a Json string.]]>
  16483. </doc>
  16484. </method>
  16485. <method name="toMD5MD5CRC32FileChecksum" return="org.apache.hadoop.fs.MD5MD5CRC32FileChecksum"
  16486. abstract="false" native="false" synchronized="false"
  16487. static="true" final="false" visibility="public"
  16488. deprecated="not deprecated">
  16489. <param name="json" type="java.util.Map"/>
  16490. <exception name="IOException" type="java.io.IOException"/>
  16491. <doc>
  16492. <![CDATA[Convert a Json map to a MD5MD5CRC32FileChecksum.]]>
  16493. </doc>
  16494. </method>
  16495. <method name="toJsonString" return="java.lang.String"
  16496. abstract="false" native="false" synchronized="false"
  16497. static="true" final="false" visibility="public"
  16498. deprecated="not deprecated">
  16499. <param name="status" type="org.apache.hadoop.fs.permission.AclStatus"/>
  16500. <doc>
  16501. <![CDATA[Convert a AclStatus object to a Json string.]]>
  16502. </doc>
  16503. </method>
  16504. <method name="toAclStatus" return="org.apache.hadoop.fs.permission.AclStatus"
  16505. abstract="false" native="false" synchronized="false"
  16506. static="true" final="false" visibility="public"
  16507. deprecated="not deprecated">
  16508. <param name="json" type="java.util.Map"/>
  16509. <doc>
  16510. <![CDATA[Convert a Json map to a AclStatus object.]]>
  16511. </doc>
  16512. </method>
  16513. <method name="toJsonString" return="java.lang.String"
  16514. abstract="false" native="false" synchronized="false"
  16515. static="true" final="false" visibility="public"
  16516. deprecated="not deprecated">
  16517. <param name="xAttrs" type="java.util.List"/>
  16518. <param name="encoding" type="org.apache.hadoop.fs.XAttrCodec"/>
  16519. <exception name="IOException" type="java.io.IOException"/>
  16520. </method>
  16521. <method name="toJsonString" return="java.lang.String"
  16522. abstract="false" native="false" synchronized="false"
  16523. static="true" final="false" visibility="public"
  16524. deprecated="not deprecated">
  16525. <param name="xAttrs" type="java.util.List"/>
  16526. <exception name="IOException" type="java.io.IOException"/>
  16527. </method>
  16528. <method name="getXAttr" return="byte[]"
  16529. abstract="false" native="false" synchronized="false"
  16530. static="true" final="false" visibility="public"
  16531. deprecated="not deprecated">
  16532. <param name="json" type="java.util.Map"/>
  16533. <param name="name" type="java.lang.String"/>
  16534. <exception name="IOException" type="java.io.IOException"/>
  16535. </method>
  16536. <method name="toXAttrs" return="java.util.Map"
  16537. abstract="false" native="false" synchronized="false"
  16538. static="true" final="false" visibility="public"
  16539. deprecated="not deprecated">
  16540. <param name="json" type="java.util.Map"/>
  16541. <exception name="IOException" type="java.io.IOException"/>
  16542. </method>
  16543. <method name="toXAttrNames" return="java.util.List"
  16544. abstract="false" native="false" synchronized="false"
  16545. static="true" final="false" visibility="public"
  16546. deprecated="not deprecated">
  16547. <param name="json" type="java.util.Map"/>
  16548. <exception name="IOException" type="java.io.IOException"/>
  16549. </method>
  16550. <doc>
  16551. <![CDATA[JSON Utilities]]>
  16552. </doc>
  16553. </class>
  16554. <!-- end class org.apache.hadoop.hdfs.web.JsonUtil -->
  16555. <!-- start class org.apache.hadoop.hdfs.web.KerberosUgiAuthenticator -->
  16556. <class name="KerberosUgiAuthenticator" extends="org.apache.hadoop.security.authentication.client.KerberosAuthenticator"
  16557. abstract="false"
  16558. static="false" final="false" visibility="public"
  16559. deprecated="not deprecated">
  16560. <constructor name="KerberosUgiAuthenticator"
  16561. static="false" final="false" visibility="public"
  16562. deprecated="not deprecated">
  16563. </constructor>
  16564. <method name="getFallBackAuthenticator" return="org.apache.hadoop.security.authentication.client.Authenticator"
  16565. abstract="false" native="false" synchronized="false"
  16566. static="false" final="false" visibility="protected"
  16567. deprecated="not deprecated">
  16568. </method>
  16569. <doc>
  16570. <![CDATA[Use UserGroupInformation as a fallback authenticator
  16571. if the server does not use Kerberos SPNEGO HTTP authentication.]]>
  16572. </doc>
  16573. </class>
  16574. <!-- end class org.apache.hadoop.hdfs.web.KerberosUgiAuthenticator -->
  16575. <!-- start class org.apache.hadoop.hdfs.web.ParamFilter -->
  16576. <class name="ParamFilter" extends="java.lang.Object"
  16577. abstract="false"
  16578. static="false" final="false" visibility="public"
  16579. deprecated="not deprecated">
  16580. <implements name="com.sun.jersey.spi.container.ResourceFilter"/>
  16581. <constructor name="ParamFilter"
  16582. static="false" final="false" visibility="public"
  16583. deprecated="not deprecated">
  16584. </constructor>
  16585. <method name="getRequestFilter" return="com.sun.jersey.spi.container.ContainerRequestFilter"
  16586. abstract="false" native="false" synchronized="false"
  16587. static="false" final="false" visibility="public"
  16588. deprecated="not deprecated">
  16589. </method>
  16590. <method name="getResponseFilter" return="com.sun.jersey.spi.container.ContainerResponseFilter"
  16591. abstract="false" native="false" synchronized="false"
  16592. static="false" final="false" visibility="public"
  16593. deprecated="not deprecated">
  16594. </method>
  16595. <doc>
  16596. <![CDATA[A filter to change parameter names to lower cases
  16597. so that parameter names are considered as case insensitive.]]>
  16598. </doc>
  16599. </class>
  16600. <!-- end class org.apache.hadoop.hdfs.web.ParamFilter -->
  16601. <!-- start class org.apache.hadoop.hdfs.web.SWebHdfsFileSystem -->
  16602. <class name="SWebHdfsFileSystem" extends="org.apache.hadoop.hdfs.web.WebHdfsFileSystem"
  16603. abstract="false"
  16604. static="false" final="false" visibility="public"
  16605. deprecated="not deprecated">
  16606. <constructor name="SWebHdfsFileSystem"
  16607. static="false" final="false" visibility="public"
  16608. deprecated="not deprecated">
  16609. </constructor>
  16610. <method name="getScheme" return="java.lang.String"
  16611. abstract="false" native="false" synchronized="false"
  16612. static="false" final="false" visibility="public"
  16613. deprecated="not deprecated">
  16614. </method>
  16615. <method name="getTransportScheme" return="java.lang.String"
  16616. abstract="false" native="false" synchronized="false"
  16617. static="false" final="false" visibility="protected"
  16618. deprecated="not deprecated">
  16619. </method>
  16620. <method name="getTokenKind" return="org.apache.hadoop.io.Text"
  16621. abstract="false" native="false" synchronized="false"
  16622. static="false" final="false" visibility="protected"
  16623. deprecated="not deprecated">
  16624. </method>
  16625. <method name="getDefaultPort" return="int"
  16626. abstract="false" native="false" synchronized="false"
  16627. static="false" final="false" visibility="public"
  16628. deprecated="not deprecated">
  16629. </method>
  16630. <field name="TOKEN_KIND" type="org.apache.hadoop.io.Text"
  16631. transient="false" volatile="false"
  16632. static="true" final="true" visibility="public"
  16633. deprecated="not deprecated">
  16634. </field>
  16635. <field name="SCHEME" type="java.lang.String"
  16636. transient="false" volatile="false"
  16637. static="true" final="true" visibility="public"
  16638. deprecated="not deprecated">
  16639. </field>
  16640. </class>
  16641. <!-- end class org.apache.hadoop.hdfs.web.SWebHdfsFileSystem -->
  16642. <!-- start class org.apache.hadoop.hdfs.web.WebHdfsFileSystem -->
  16643. <class name="WebHdfsFileSystem" extends="org.apache.hadoop.fs.FileSystem"
  16644. abstract="false"
  16645. static="false" final="false" visibility="public"
  16646. deprecated="not deprecated">
  16647. <implements name="org.apache.hadoop.fs.DelegationTokenRenewer.Renewable"/>
  16648. <implements name="org.apache.hadoop.hdfs.web.TokenAspect.TokenManagementDelegator"/>
  16649. <constructor name="WebHdfsFileSystem"
  16650. static="false" final="false" visibility="public"
  16651. deprecated="not deprecated">
  16652. </constructor>
  16653. <method name="getScheme" return="java.lang.String"
  16654. abstract="false" native="false" synchronized="false"
  16655. static="false" final="false" visibility="public"
  16656. deprecated="not deprecated">
  16657. <doc>
  16658. <![CDATA[Return the protocol scheme for the FileSystem.
  16659. <p/>
  16660. @return <code>webhdfs</code>]]>
  16661. </doc>
  16662. </method>
  16663. <method name="getTransportScheme" return="java.lang.String"
  16664. abstract="false" native="false" synchronized="false"
  16665. static="false" final="false" visibility="protected"
  16666. deprecated="not deprecated">
  16667. <doc>
  16668. <![CDATA[return the underlying transport protocol (http / https).]]>
  16669. </doc>
  16670. </method>
  16671. <method name="getTokenKind" return="org.apache.hadoop.io.Text"
  16672. abstract="false" native="false" synchronized="false"
  16673. static="false" final="false" visibility="protected"
  16674. deprecated="not deprecated">
  16675. </method>
  16676. <method name="initialize"
  16677. abstract="false" native="false" synchronized="true"
  16678. static="false" final="false" visibility="public"
  16679. deprecated="not deprecated">
  16680. <param name="uri" type="java.net.URI"/>
  16681. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  16682. <exception name="IOException" type="java.io.IOException"/>
  16683. </method>
  16684. <method name="getCanonicalUri" return="java.net.URI"
  16685. abstract="false" native="false" synchronized="false"
  16686. static="false" final="false" visibility="public"
  16687. deprecated="not deprecated">
  16688. </method>
  16689. <method name="isEnabled" return="boolean"
  16690. abstract="false" native="false" synchronized="false"
  16691. static="true" final="false" visibility="public"
  16692. deprecated="not deprecated">
  16693. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  16694. <param name="log" type="org.apache.commons.logging.Log"/>
  16695. <doc>
  16696. <![CDATA[Is WebHDFS enabled in conf?]]>
  16697. </doc>
  16698. </method>
  16699. <method name="getDelegationToken" return="org.apache.hadoop.security.token.Token"
  16700. abstract="false" native="false" synchronized="true"
  16701. static="false" final="false" visibility="protected"
  16702. deprecated="not deprecated">
  16703. <exception name="IOException" type="java.io.IOException"/>
  16704. </method>
  16705. <method name="getDefaultPort" return="int"
  16706. abstract="false" native="false" synchronized="false"
  16707. static="false" final="false" visibility="public"
  16708. deprecated="not deprecated">
  16709. </method>
  16710. <method name="getUri" return="java.net.URI"
  16711. abstract="false" native="false" synchronized="false"
  16712. static="false" final="false" visibility="public"
  16713. deprecated="not deprecated">
  16714. </method>
  16715. <method name="canonicalizeUri" return="java.net.URI"
  16716. abstract="false" native="false" synchronized="false"
  16717. static="false" final="false" visibility="protected"
  16718. deprecated="not deprecated">
  16719. <param name="uri" type="java.net.URI"/>
  16720. </method>
  16721. <method name="getHomeDirectoryString" return="java.lang.String"
  16722. abstract="false" native="false" synchronized="false"
  16723. static="true" final="false" visibility="public"
  16724. deprecated="not deprecated">
  16725. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  16726. <doc>
  16727. <![CDATA[@return the home directory.]]>
  16728. </doc>
  16729. </method>
  16730. <method name="getHomeDirectory" return="org.apache.hadoop.fs.Path"
  16731. abstract="false" native="false" synchronized="false"
  16732. static="false" final="false" visibility="public"
  16733. deprecated="not deprecated">
  16734. </method>
  16735. <method name="getWorkingDirectory" return="org.apache.hadoop.fs.Path"
  16736. abstract="false" native="false" synchronized="true"
  16737. static="false" final="false" visibility="public"
  16738. deprecated="not deprecated">
  16739. </method>
  16740. <method name="setWorkingDirectory"
  16741. abstract="false" native="false" synchronized="true"
  16742. static="false" final="false" visibility="public"
  16743. deprecated="not deprecated">
  16744. <param name="dir" type="org.apache.hadoop.fs.Path"/>
  16745. </method>
  16746. <method name="getFileStatus" return="org.apache.hadoop.fs.FileStatus"
  16747. abstract="false" native="false" synchronized="false"
  16748. static="false" final="false" visibility="public"
  16749. deprecated="not deprecated">
  16750. <param name="f" type="org.apache.hadoop.fs.Path"/>
  16751. <exception name="IOException" type="java.io.IOException"/>
  16752. </method>
  16753. <method name="getAclStatus" return="org.apache.hadoop.fs.permission.AclStatus"
  16754. abstract="false" native="false" synchronized="false"
  16755. static="false" final="false" visibility="public"
  16756. deprecated="not deprecated">
  16757. <param name="f" type="org.apache.hadoop.fs.Path"/>
  16758. <exception name="IOException" type="java.io.IOException"/>
  16759. </method>
  16760. <method name="mkdirs" return="boolean"
  16761. abstract="false" native="false" synchronized="false"
  16762. static="false" final="false" visibility="public"
  16763. deprecated="not deprecated">
  16764. <param name="f" type="org.apache.hadoop.fs.Path"/>
  16765. <param name="permission" type="org.apache.hadoop.fs.permission.FsPermission"/>
  16766. <exception name="IOException" type="java.io.IOException"/>
  16767. </method>
  16768. <method name="createSymlink"
  16769. abstract="false" native="false" synchronized="false"
  16770. static="false" final="false" visibility="public"
  16771. deprecated="not deprecated">
  16772. <param name="destination" type="org.apache.hadoop.fs.Path"/>
  16773. <param name="f" type="org.apache.hadoop.fs.Path"/>
  16774. <param name="createParent" type="boolean"/>
  16775. <exception name="IOException" type="java.io.IOException"/>
  16776. <doc>
  16777. <![CDATA[Create a symlink pointing to the destination path.
  16778. @see org.apache.hadoop.fs.Hdfs#createSymlink(Path, Path, boolean)]]>
  16779. </doc>
  16780. </method>
  16781. <method name="rename" return="boolean"
  16782. abstract="false" native="false" synchronized="false"
  16783. static="false" final="false" visibility="public"
  16784. deprecated="not deprecated">
  16785. <param name="src" type="org.apache.hadoop.fs.Path"/>
  16786. <param name="dst" type="org.apache.hadoop.fs.Path"/>
  16787. <exception name="IOException" type="java.io.IOException"/>
  16788. </method>
  16789. <method name="rename"
  16790. abstract="false" native="false" synchronized="false"
  16791. static="false" final="false" visibility="public"
  16792. deprecated="not deprecated">
  16793. <param name="src" type="org.apache.hadoop.fs.Path"/>
  16794. <param name="dst" type="org.apache.hadoop.fs.Path"/>
  16795. <param name="options" type="org.apache.hadoop.fs.Options.Rename[]"/>
  16796. <exception name="IOException" type="java.io.IOException"/>
  16797. </method>
  16798. <method name="setXAttr"
  16799. abstract="false" native="false" synchronized="false"
  16800. static="false" final="false" visibility="public"
  16801. deprecated="not deprecated">
  16802. <param name="p" type="org.apache.hadoop.fs.Path"/>
  16803. <param name="name" type="java.lang.String"/>
  16804. <param name="value" type="byte[]"/>
  16805. <param name="flag" type="java.util.EnumSet"/>
  16806. <exception name="IOException" type="java.io.IOException"/>
  16807. </method>
  16808. <method name="getXAttr" return="byte[]"
  16809. abstract="false" native="false" synchronized="false"
  16810. static="false" final="false" visibility="public"
  16811. deprecated="not deprecated">
  16812. <param name="p" type="org.apache.hadoop.fs.Path"/>
  16813. <param name="name" type="java.lang.String"/>
  16814. <exception name="IOException" type="java.io.IOException"/>
  16815. </method>
  16816. <method name="getXAttrs" return="java.util.Map"
  16817. abstract="false" native="false" synchronized="false"
  16818. static="false" final="false" visibility="public"
  16819. deprecated="not deprecated">
  16820. <param name="p" type="org.apache.hadoop.fs.Path"/>
  16821. <exception name="IOException" type="java.io.IOException"/>
  16822. </method>
  16823. <method name="getXAttrs" return="java.util.Map"
  16824. abstract="false" native="false" synchronized="false"
  16825. static="false" final="false" visibility="public"
  16826. deprecated="not deprecated">
  16827. <param name="p" type="org.apache.hadoop.fs.Path"/>
  16828. <param name="names" type="java.util.List"/>
  16829. <exception name="IOException" type="java.io.IOException"/>
  16830. </method>
  16831. <method name="listXAttrs" return="java.util.List"
  16832. abstract="false" native="false" synchronized="false"
  16833. static="false" final="false" visibility="public"
  16834. deprecated="not deprecated">
  16835. <param name="p" type="org.apache.hadoop.fs.Path"/>
  16836. <exception name="IOException" type="java.io.IOException"/>
  16837. </method>
  16838. <method name="removeXAttr"
  16839. abstract="false" native="false" synchronized="false"
  16840. static="false" final="false" visibility="public"
  16841. deprecated="not deprecated">
  16842. <param name="p" type="org.apache.hadoop.fs.Path"/>
  16843. <param name="name" type="java.lang.String"/>
  16844. <exception name="IOException" type="java.io.IOException"/>
  16845. </method>
  16846. <method name="setOwner"
  16847. abstract="false" native="false" synchronized="false"
  16848. static="false" final="false" visibility="public"
  16849. deprecated="not deprecated">
  16850. <param name="p" type="org.apache.hadoop.fs.Path"/>
  16851. <param name="owner" type="java.lang.String"/>
  16852. <param name="group" type="java.lang.String"/>
  16853. <exception name="IOException" type="java.io.IOException"/>
  16854. </method>
  16855. <method name="setPermission"
  16856. abstract="false" native="false" synchronized="false"
  16857. static="false" final="false" visibility="public"
  16858. deprecated="not deprecated">
  16859. <param name="p" type="org.apache.hadoop.fs.Path"/>
  16860. <param name="permission" type="org.apache.hadoop.fs.permission.FsPermission"/>
  16861. <exception name="IOException" type="java.io.IOException"/>
  16862. </method>
  16863. <method name="modifyAclEntries"
  16864. abstract="false" native="false" synchronized="false"
  16865. static="false" final="false" visibility="public"
  16866. deprecated="not deprecated">
  16867. <param name="path" type="org.apache.hadoop.fs.Path"/>
  16868. <param name="aclSpec" type="java.util.List"/>
  16869. <exception name="IOException" type="java.io.IOException"/>
  16870. </method>
  16871. <method name="removeAclEntries"
  16872. abstract="false" native="false" synchronized="false"
  16873. static="false" final="false" visibility="public"
  16874. deprecated="not deprecated">
  16875. <param name="path" type="org.apache.hadoop.fs.Path"/>
  16876. <param name="aclSpec" type="java.util.List"/>
  16877. <exception name="IOException" type="java.io.IOException"/>
  16878. </method>
  16879. <method name="removeDefaultAcl"
  16880. abstract="false" native="false" synchronized="false"
  16881. static="false" final="false" visibility="public"
  16882. deprecated="not deprecated">
  16883. <param name="path" type="org.apache.hadoop.fs.Path"/>
  16884. <exception name="IOException" type="java.io.IOException"/>
  16885. </method>
  16886. <method name="removeAcl"
  16887. abstract="false" native="false" synchronized="false"
  16888. static="false" final="false" visibility="public"
  16889. deprecated="not deprecated">
  16890. <param name="path" type="org.apache.hadoop.fs.Path"/>
  16891. <exception name="IOException" type="java.io.IOException"/>
  16892. </method>
  16893. <method name="setAcl"
  16894. abstract="false" native="false" synchronized="false"
  16895. static="false" final="false" visibility="public"
  16896. deprecated="not deprecated">
  16897. <param name="p" type="org.apache.hadoop.fs.Path"/>
  16898. <param name="aclSpec" type="java.util.List"/>
  16899. <exception name="IOException" type="java.io.IOException"/>
  16900. </method>
  16901. <method name="createSnapshot" return="org.apache.hadoop.fs.Path"
  16902. abstract="false" native="false" synchronized="false"
  16903. static="false" final="false" visibility="public"
  16904. deprecated="not deprecated">
  16905. <param name="path" type="org.apache.hadoop.fs.Path"/>
  16906. <param name="snapshotName" type="java.lang.String"/>
  16907. <exception name="IOException" type="java.io.IOException"/>
  16908. </method>
  16909. <method name="deleteSnapshot"
  16910. abstract="false" native="false" synchronized="false"
  16911. static="false" final="false" visibility="public"
  16912. deprecated="not deprecated">
  16913. <param name="path" type="org.apache.hadoop.fs.Path"/>
  16914. <param name="snapshotName" type="java.lang.String"/>
  16915. <exception name="IOException" type="java.io.IOException"/>
  16916. </method>
  16917. <method name="renameSnapshot"
  16918. abstract="false" native="false" synchronized="false"
  16919. static="false" final="false" visibility="public"
  16920. deprecated="not deprecated">
  16921. <param name="path" type="org.apache.hadoop.fs.Path"/>
  16922. <param name="snapshotOldName" type="java.lang.String"/>
  16923. <param name="snapshotNewName" type="java.lang.String"/>
  16924. <exception name="IOException" type="java.io.IOException"/>
  16925. </method>
  16926. <method name="setReplication" return="boolean"
  16927. abstract="false" native="false" synchronized="false"
  16928. static="false" final="false" visibility="public"
  16929. deprecated="not deprecated">
  16930. <param name="p" type="org.apache.hadoop.fs.Path"/>
  16931. <param name="replication" type="short"/>
  16932. <exception name="IOException" type="java.io.IOException"/>
  16933. </method>
  16934. <method name="setTimes"
  16935. abstract="false" native="false" synchronized="false"
  16936. static="false" final="false" visibility="public"
  16937. deprecated="not deprecated">
  16938. <param name="p" type="org.apache.hadoop.fs.Path"/>
  16939. <param name="mtime" type="long"/>
  16940. <param name="atime" type="long"/>
  16941. <exception name="IOException" type="java.io.IOException"/>
  16942. </method>
  16943. <method name="getDefaultBlockSize" return="long"
  16944. abstract="false" native="false" synchronized="false"
  16945. static="false" final="false" visibility="public"
  16946. deprecated="not deprecated">
  16947. </method>
  16948. <method name="getDefaultReplication" return="short"
  16949. abstract="false" native="false" synchronized="false"
  16950. static="false" final="false" visibility="public"
  16951. deprecated="not deprecated">
  16952. </method>
  16953. <method name="concat"
  16954. abstract="false" native="false" synchronized="false"
  16955. static="false" final="false" visibility="public"
  16956. deprecated="not deprecated">
  16957. <param name="trg" type="org.apache.hadoop.fs.Path"/>
  16958. <param name="srcs" type="org.apache.hadoop.fs.Path[]"/>
  16959. <exception name="IOException" type="java.io.IOException"/>
  16960. </method>
  16961. <method name="create" return="org.apache.hadoop.fs.FSDataOutputStream"
  16962. abstract="false" native="false" synchronized="false"
  16963. static="false" final="false" visibility="public"
  16964. deprecated="not deprecated">
  16965. <param name="f" type="org.apache.hadoop.fs.Path"/>
  16966. <param name="permission" type="org.apache.hadoop.fs.permission.FsPermission"/>
  16967. <param name="overwrite" type="boolean"/>
  16968. <param name="bufferSize" type="int"/>
  16969. <param name="replication" type="short"/>
  16970. <param name="blockSize" type="long"/>
  16971. <param name="progress" type="org.apache.hadoop.util.Progressable"/>
  16972. <exception name="IOException" type="java.io.IOException"/>
  16973. </method>
  16974. <method name="append" return="org.apache.hadoop.fs.FSDataOutputStream"
  16975. abstract="false" native="false" synchronized="false"
  16976. static="false" final="false" visibility="public"
  16977. deprecated="not deprecated">
  16978. <param name="f" type="org.apache.hadoop.fs.Path"/>
  16979. <param name="bufferSize" type="int"/>
  16980. <param name="progress" type="org.apache.hadoop.util.Progressable"/>
  16981. <exception name="IOException" type="java.io.IOException"/>
  16982. </method>
  16983. <method name="delete" return="boolean"
  16984. abstract="false" native="false" synchronized="false"
  16985. static="false" final="false" visibility="public"
  16986. deprecated="not deprecated">
  16987. <param name="f" type="org.apache.hadoop.fs.Path"/>
  16988. <param name="recursive" type="boolean"/>
  16989. <exception name="IOException" type="java.io.IOException"/>
  16990. </method>
  16991. <method name="open" return="org.apache.hadoop.fs.FSDataInputStream"
  16992. abstract="false" native="false" synchronized="false"
  16993. static="false" final="false" visibility="public"
  16994. deprecated="not deprecated">
  16995. <param name="f" type="org.apache.hadoop.fs.Path"/>
  16996. <param name="buffersize" type="int"/>
  16997. <exception name="IOException" type="java.io.IOException"/>
  16998. </method>
  16999. <method name="close"
  17000. abstract="false" native="false" synchronized="true"
  17001. static="false" final="false" visibility="public"
  17002. deprecated="not deprecated">
  17003. <exception name="IOException" type="java.io.IOException"/>
  17004. </method>
  17005. <method name="listStatus" return="org.apache.hadoop.fs.FileStatus[]"
  17006. abstract="false" native="false" synchronized="false"
  17007. static="false" final="false" visibility="public"
  17008. deprecated="not deprecated">
  17009. <param name="f" type="org.apache.hadoop.fs.Path"/>
  17010. <exception name="IOException" type="java.io.IOException"/>
  17011. </method>
  17012. <method name="getDelegationToken" return="org.apache.hadoop.security.token.Token"
  17013. abstract="false" native="false" synchronized="false"
  17014. static="false" final="false" visibility="public"
  17015. deprecated="not deprecated">
  17016. <param name="renewer" type="java.lang.String"/>
  17017. <exception name="IOException" type="java.io.IOException"/>
  17018. </method>
  17019. <method name="getRenewToken" return="org.apache.hadoop.security.token.Token"
  17020. abstract="false" native="false" synchronized="true"
  17021. static="false" final="false" visibility="public"
  17022. deprecated="not deprecated">
  17023. </method>
  17024. <method name="setDelegationToken"
  17025. abstract="false" native="false" synchronized="false"
  17026. static="false" final="false" visibility="public"
  17027. deprecated="not deprecated">
  17028. <param name="token" type="org.apache.hadoop.security.token.Token"/>
  17029. </method>
  17030. <method name="renewDelegationToken" return="long"
  17031. abstract="false" native="false" synchronized="true"
  17032. static="false" final="false" visibility="public"
  17033. deprecated="not deprecated">
  17034. <param name="token" type="org.apache.hadoop.security.token.Token"/>
  17035. <exception name="IOException" type="java.io.IOException"/>
  17036. </method>
  17037. <method name="cancelDelegationToken"
  17038. abstract="false" native="false" synchronized="true"
  17039. static="false" final="false" visibility="public"
  17040. deprecated="not deprecated">
  17041. <param name="token" type="org.apache.hadoop.security.token.Token"/>
  17042. <exception name="IOException" type="java.io.IOException"/>
  17043. </method>
  17044. <method name="getFileBlockLocations" return="org.apache.hadoop.fs.BlockLocation[]"
  17045. abstract="false" native="false" synchronized="false"
  17046. static="false" final="false" visibility="public"
  17047. deprecated="not deprecated">
  17048. <param name="status" type="org.apache.hadoop.fs.FileStatus"/>
  17049. <param name="offset" type="long"/>
  17050. <param name="length" type="long"/>
  17051. <exception name="IOException" type="java.io.IOException"/>
  17052. </method>
  17053. <method name="getFileBlockLocations" return="org.apache.hadoop.fs.BlockLocation[]"
  17054. abstract="false" native="false" synchronized="false"
  17055. static="false" final="false" visibility="public"
  17056. deprecated="not deprecated">
  17057. <param name="p" type="org.apache.hadoop.fs.Path"/>
  17058. <param name="offset" type="long"/>
  17059. <param name="length" type="long"/>
  17060. <exception name="IOException" type="java.io.IOException"/>
  17061. </method>
  17062. <method name="access"
  17063. abstract="false" native="false" synchronized="false"
  17064. static="false" final="false" visibility="public"
  17065. deprecated="not deprecated">
  17066. <param name="path" type="org.apache.hadoop.fs.Path"/>
  17067. <param name="mode" type="org.apache.hadoop.fs.permission.FsAction"/>
  17068. <exception name="IOException" type="java.io.IOException"/>
  17069. </method>
  17070. <method name="getContentSummary" return="org.apache.hadoop.fs.ContentSummary"
  17071. abstract="false" native="false" synchronized="false"
  17072. static="false" final="false" visibility="public"
  17073. deprecated="not deprecated">
  17074. <param name="p" type="org.apache.hadoop.fs.Path"/>
  17075. <exception name="IOException" type="java.io.IOException"/>
  17076. </method>
  17077. <method name="getFileChecksum" return="org.apache.hadoop.fs.MD5MD5CRC32FileChecksum"
  17078. abstract="false" native="false" synchronized="false"
  17079. static="false" final="false" visibility="public"
  17080. deprecated="not deprecated">
  17081. <param name="p" type="org.apache.hadoop.fs.Path"/>
  17082. <exception name="IOException" type="java.io.IOException"/>
  17083. </method>
  17084. <method name="getCanonicalServiceName" return="java.lang.String"
  17085. abstract="false" native="false" synchronized="false"
  17086. static="false" final="false" visibility="public"
  17087. deprecated="not deprecated">
  17088. </method>
  17089. <field name="LOG" type="org.apache.commons.logging.Log"
  17090. transient="false" volatile="false"
  17091. static="true" final="true" visibility="public"
  17092. deprecated="not deprecated">
  17093. </field>
  17094. <field name="SCHEME" type="java.lang.String"
  17095. transient="false" volatile="false"
  17096. static="true" final="true" visibility="public"
  17097. deprecated="not deprecated">
  17098. <doc>
  17099. <![CDATA[File System URI: {SCHEME}://namenode:port/path/to/file]]>
  17100. </doc>
  17101. </field>
  17102. <field name="VERSION" type="int"
  17103. transient="false" volatile="false"
  17104. static="true" final="true" visibility="public"
  17105. deprecated="not deprecated">
  17106. <doc>
  17107. <![CDATA[WebHdfs version.]]>
  17108. </doc>
  17109. </field>
  17110. <field name="PATH_PREFIX" type="java.lang.String"
  17111. transient="false" volatile="false"
  17112. static="true" final="true" visibility="public"
  17113. deprecated="not deprecated">
  17114. <doc>
  17115. <![CDATA[Http URI: http://namenode:port/{PATH_PREFIX}/path/to/file]]>
  17116. </doc>
  17117. </field>
  17118. <field name="connectionFactory" type="org.apache.hadoop.hdfs.web.URLConnectionFactory"
  17119. transient="false" volatile="false"
  17120. static="false" final="false" visibility="protected"
  17121. deprecated="not deprecated">
  17122. <doc>
  17123. <![CDATA[Default connection factory may be overridden in tests to use smaller timeout values]]>
  17124. </doc>
  17125. </field>
  17126. <field name="TOKEN_KIND" type="org.apache.hadoop.io.Text"
  17127. transient="false" volatile="false"
  17128. static="true" final="true" visibility="public"
  17129. deprecated="not deprecated">
  17130. <doc>
  17131. <![CDATA[Delegation token kind]]>
  17132. </doc>
  17133. </field>
  17134. <field name="CANT_FALLBACK_TO_INSECURE_MSG" type="java.lang.String"
  17135. transient="false" volatile="false"
  17136. static="true" final="true" visibility="public"
  17137. deprecated="not deprecated">
  17138. </field>
  17139. <field name="tokenServiceName" type="org.apache.hadoop.io.Text"
  17140. transient="false" volatile="false"
  17141. static="false" final="false" visibility="protected"
  17142. deprecated="not deprecated">
  17143. </field>
  17144. <doc>
  17145. <![CDATA[A FileSystem for HDFS over the web.]]>
  17146. </doc>
  17147. </class>
  17148. <!-- end class org.apache.hadoop.hdfs.web.WebHdfsFileSystem -->
  17149. </package>
  17150. <package name="org.apache.hadoop.hdfs.web.resources">
  17151. <!-- start class org.apache.hadoop.hdfs.web.resources.AccessTimeParam -->
  17152. <class name="AccessTimeParam" extends="org.apache.hadoop.hdfs.web.resources.LongParam"
  17153. abstract="false"
  17154. static="false" final="false" visibility="public"
  17155. deprecated="not deprecated">
  17156. <constructor name="AccessTimeParam" type="java.lang.Long"
  17157. static="false" final="false" visibility="public"
  17158. deprecated="not deprecated">
  17159. <doc>
  17160. <![CDATA[Constructor.
  17161. @param value the parameter value.]]>
  17162. </doc>
  17163. </constructor>
  17164. <constructor name="AccessTimeParam" type="java.lang.String"
  17165. static="false" final="false" visibility="public"
  17166. deprecated="not deprecated">
  17167. <doc>
  17168. <![CDATA[Constructor.
  17169. @param str a string representation of the parameter value.]]>
  17170. </doc>
  17171. </constructor>
  17172. <method name="getName" return="java.lang.String"
  17173. abstract="false" native="false" synchronized="false"
  17174. static="false" final="false" visibility="public"
  17175. deprecated="not deprecated">
  17176. </method>
  17177. <field name="NAME" type="java.lang.String"
  17178. transient="false" volatile="false"
  17179. static="true" final="true" visibility="public"
  17180. deprecated="not deprecated">
  17181. <doc>
  17182. <![CDATA[Parameter name.]]>
  17183. </doc>
  17184. </field>
  17185. <field name="DEFAULT" type="java.lang.String"
  17186. transient="false" volatile="false"
  17187. static="true" final="true" visibility="public"
  17188. deprecated="not deprecated">
  17189. <doc>
  17190. <![CDATA[Default parameter value.]]>
  17191. </doc>
  17192. </field>
  17193. <doc>
  17194. <![CDATA[Access time parameter.]]>
  17195. </doc>
  17196. </class>
  17197. <!-- end class org.apache.hadoop.hdfs.web.resources.AccessTimeParam -->
  17198. <!-- start class org.apache.hadoop.hdfs.web.resources.AclPermissionParam -->
  17199. <class name="AclPermissionParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  17200. abstract="false"
  17201. static="false" final="false" visibility="public"
  17202. deprecated="not deprecated">
  17203. <constructor name="AclPermissionParam" type="java.lang.String"
  17204. static="false" final="false" visibility="public"
  17205. deprecated="not deprecated">
  17206. <doc>
  17207. <![CDATA[Constructor.
  17208. @param str a string representation of the parameter value.]]>
  17209. </doc>
  17210. </constructor>
  17211. <constructor name="AclPermissionParam" type="java.util.List"
  17212. static="false" final="false" visibility="public"
  17213. deprecated="not deprecated">
  17214. </constructor>
  17215. <method name="getName" return="java.lang.String"
  17216. abstract="false" native="false" synchronized="false"
  17217. static="false" final="false" visibility="public"
  17218. deprecated="not deprecated">
  17219. </method>
  17220. <method name="getAclPermission" return="java.util.List"
  17221. abstract="false" native="false" synchronized="false"
  17222. static="false" final="false" visibility="public"
  17223. deprecated="not deprecated">
  17224. <param name="includePermission" type="boolean"/>
  17225. </method>
  17226. <field name="NAME" type="java.lang.String"
  17227. transient="false" volatile="false"
  17228. static="true" final="true" visibility="public"
  17229. deprecated="not deprecated">
  17230. <doc>
  17231. <![CDATA[Parameter name.]]>
  17232. </doc>
  17233. </field>
  17234. <field name="DEFAULT" type="java.lang.String"
  17235. transient="false" volatile="false"
  17236. static="true" final="true" visibility="public"
  17237. deprecated="not deprecated">
  17238. <doc>
  17239. <![CDATA[Default parameter value.]]>
  17240. </doc>
  17241. </field>
  17242. <doc>
  17243. <![CDATA[AclPermission parameter.]]>
  17244. </doc>
  17245. </class>
  17246. <!-- end class org.apache.hadoop.hdfs.web.resources.AclPermissionParam -->
  17247. <!-- start class org.apache.hadoop.hdfs.web.resources.BlockSizeParam -->
  17248. <class name="BlockSizeParam" extends="org.apache.hadoop.hdfs.web.resources.LongParam"
  17249. abstract="false"
  17250. static="false" final="false" visibility="public"
  17251. deprecated="not deprecated">
  17252. <constructor name="BlockSizeParam" type="java.lang.Long"
  17253. static="false" final="false" visibility="public"
  17254. deprecated="not deprecated">
  17255. <doc>
  17256. <![CDATA[Constructor.
  17257. @param value the parameter value.]]>
  17258. </doc>
  17259. </constructor>
  17260. <constructor name="BlockSizeParam" type="java.lang.String"
  17261. static="false" final="false" visibility="public"
  17262. deprecated="not deprecated">
  17263. <doc>
  17264. <![CDATA[Constructor.
  17265. @param str a string representation of the parameter value.]]>
  17266. </doc>
  17267. </constructor>
  17268. <method name="getName" return="java.lang.String"
  17269. abstract="false" native="false" synchronized="false"
  17270. static="false" final="false" visibility="public"
  17271. deprecated="not deprecated">
  17272. </method>
  17273. <method name="getValue" return="long"
  17274. abstract="false" native="false" synchronized="false"
  17275. static="false" final="false" visibility="public"
  17276. deprecated="not deprecated">
  17277. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  17278. <doc>
  17279. <![CDATA[@return the value or, if it is null, return the default from conf.]]>
  17280. </doc>
  17281. </method>
  17282. <field name="NAME" type="java.lang.String"
  17283. transient="false" volatile="false"
  17284. static="true" final="true" visibility="public"
  17285. deprecated="not deprecated">
  17286. <doc>
  17287. <![CDATA[Parameter name.]]>
  17288. </doc>
  17289. </field>
  17290. <field name="DEFAULT" type="java.lang.String"
  17291. transient="false" volatile="false"
  17292. static="true" final="true" visibility="public"
  17293. deprecated="not deprecated">
  17294. <doc>
  17295. <![CDATA[Default parameter value.]]>
  17296. </doc>
  17297. </field>
  17298. <doc>
  17299. <![CDATA[Block size parameter.]]>
  17300. </doc>
  17301. </class>
  17302. <!-- end class org.apache.hadoop.hdfs.web.resources.BlockSizeParam -->
  17303. <!-- start class org.apache.hadoop.hdfs.web.resources.BufferSizeParam -->
  17304. <class name="BufferSizeParam" extends="org.apache.hadoop.hdfs.web.resources.IntegerParam"
  17305. abstract="false"
  17306. static="false" final="false" visibility="public"
  17307. deprecated="not deprecated">
  17308. <constructor name="BufferSizeParam" type="java.lang.Integer"
  17309. static="false" final="false" visibility="public"
  17310. deprecated="not deprecated">
  17311. <doc>
  17312. <![CDATA[Constructor.
  17313. @param value the parameter value.]]>
  17314. </doc>
  17315. </constructor>
  17316. <constructor name="BufferSizeParam" type="java.lang.String"
  17317. static="false" final="false" visibility="public"
  17318. deprecated="not deprecated">
  17319. <doc>
  17320. <![CDATA[Constructor.
  17321. @param str a string representation of the parameter value.]]>
  17322. </doc>
  17323. </constructor>
  17324. <method name="getName" return="java.lang.String"
  17325. abstract="false" native="false" synchronized="false"
  17326. static="false" final="false" visibility="public"
  17327. deprecated="not deprecated">
  17328. </method>
  17329. <method name="getValue" return="int"
  17330. abstract="false" native="false" synchronized="false"
  17331. static="false" final="false" visibility="public"
  17332. deprecated="not deprecated">
  17333. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  17334. <doc>
  17335. <![CDATA[@return the value or, if it is null, return the default from conf.]]>
  17336. </doc>
  17337. </method>
  17338. <field name="NAME" type="java.lang.String"
  17339. transient="false" volatile="false"
  17340. static="true" final="true" visibility="public"
  17341. deprecated="not deprecated">
  17342. <doc>
  17343. <![CDATA[Parameter name.]]>
  17344. </doc>
  17345. </field>
  17346. <field name="DEFAULT" type="java.lang.String"
  17347. transient="false" volatile="false"
  17348. static="true" final="true" visibility="public"
  17349. deprecated="not deprecated">
  17350. <doc>
  17351. <![CDATA[Default parameter value.]]>
  17352. </doc>
  17353. </field>
  17354. <doc>
  17355. <![CDATA[Buffer size parameter.]]>
  17356. </doc>
  17357. </class>
  17358. <!-- end class org.apache.hadoop.hdfs.web.resources.BufferSizeParam -->
  17359. <!-- start class org.apache.hadoop.hdfs.web.resources.ConcatSourcesParam -->
  17360. <class name="ConcatSourcesParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  17361. abstract="false"
  17362. static="false" final="false" visibility="public"
  17363. deprecated="not deprecated">
  17364. <constructor name="ConcatSourcesParam" type="java.lang.String"
  17365. static="false" final="false" visibility="public"
  17366. deprecated="not deprecated">
  17367. <doc>
  17368. <![CDATA[Constructor.
  17369. @param str a string representation of the parameter value.]]>
  17370. </doc>
  17371. </constructor>
  17372. <constructor name="ConcatSourcesParam" type="org.apache.hadoop.fs.Path[]"
  17373. static="false" final="false" visibility="public"
  17374. deprecated="not deprecated">
  17375. </constructor>
  17376. <method name="getName" return="java.lang.String"
  17377. abstract="false" native="false" synchronized="false"
  17378. static="false" final="false" visibility="public"
  17379. deprecated="not deprecated">
  17380. </method>
  17381. <method name="getAbsolutePaths" return="java.lang.String[]"
  17382. abstract="false" native="false" synchronized="false"
  17383. static="false" final="true" visibility="public"
  17384. deprecated="not deprecated">
  17385. <doc>
  17386. <![CDATA[@return the absolute path.]]>
  17387. </doc>
  17388. </method>
  17389. <field name="NAME" type="java.lang.String"
  17390. transient="false" volatile="false"
  17391. static="true" final="true" visibility="public"
  17392. deprecated="not deprecated">
  17393. <doc>
  17394. <![CDATA[Parameter name.]]>
  17395. </doc>
  17396. </field>
  17397. <field name="DEFAULT" type="java.lang.String"
  17398. transient="false" volatile="false"
  17399. static="true" final="true" visibility="public"
  17400. deprecated="not deprecated">
  17401. </field>
  17402. <doc>
  17403. <![CDATA[The concat source paths parameter.]]>
  17404. </doc>
  17405. </class>
  17406. <!-- end class org.apache.hadoop.hdfs.web.resources.ConcatSourcesParam -->
  17407. <!-- start class org.apache.hadoop.hdfs.web.resources.CreateParentParam -->
  17408. <class name="CreateParentParam" extends="org.apache.hadoop.hdfs.web.resources.BooleanParam"
  17409. abstract="false"
  17410. static="false" final="false" visibility="public"
  17411. deprecated="not deprecated">
  17412. <constructor name="CreateParentParam" type="java.lang.Boolean"
  17413. static="false" final="false" visibility="public"
  17414. deprecated="not deprecated">
  17415. <doc>
  17416. <![CDATA[Constructor.
  17417. @param value the parameter value.]]>
  17418. </doc>
  17419. </constructor>
  17420. <constructor name="CreateParentParam" type="java.lang.String"
  17421. static="false" final="false" visibility="public"
  17422. deprecated="not deprecated">
  17423. <doc>
  17424. <![CDATA[Constructor.
  17425. @param str a string representation of the parameter value.]]>
  17426. </doc>
  17427. </constructor>
  17428. <method name="getName" return="java.lang.String"
  17429. abstract="false" native="false" synchronized="false"
  17430. static="false" final="false" visibility="public"
  17431. deprecated="not deprecated">
  17432. </method>
  17433. <field name="NAME" type="java.lang.String"
  17434. transient="false" volatile="false"
  17435. static="true" final="true" visibility="public"
  17436. deprecated="not deprecated">
  17437. <doc>
  17438. <![CDATA[Parameter name.]]>
  17439. </doc>
  17440. </field>
  17441. <field name="DEFAULT" type="java.lang.String"
  17442. transient="false" volatile="false"
  17443. static="true" final="true" visibility="public"
  17444. deprecated="not deprecated">
  17445. <doc>
  17446. <![CDATA[Default parameter value.]]>
  17447. </doc>
  17448. </field>
  17449. <doc>
  17450. <![CDATA[Create Parent parameter.]]>
  17451. </doc>
  17452. </class>
  17453. <!-- end class org.apache.hadoop.hdfs.web.resources.CreateParentParam -->
  17454. <!-- start class org.apache.hadoop.hdfs.web.resources.DelegationParam -->
  17455. <class name="DelegationParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  17456. abstract="false"
  17457. static="false" final="false" visibility="public"
  17458. deprecated="not deprecated">
  17459. <constructor name="DelegationParam" type="java.lang.String"
  17460. static="false" final="false" visibility="public"
  17461. deprecated="not deprecated">
  17462. <doc>
  17463. <![CDATA[Constructor.
  17464. @param str a string representation of the parameter value.]]>
  17465. </doc>
  17466. </constructor>
  17467. <method name="getName" return="java.lang.String"
  17468. abstract="false" native="false" synchronized="false"
  17469. static="false" final="false" visibility="public"
  17470. deprecated="not deprecated">
  17471. </method>
  17472. <field name="NAME" type="java.lang.String"
  17473. transient="false" volatile="false"
  17474. static="true" final="true" visibility="public"
  17475. deprecated="not deprecated">
  17476. <doc>
  17477. <![CDATA[Parameter name.]]>
  17478. </doc>
  17479. </field>
  17480. <field name="DEFAULT" type="java.lang.String"
  17481. transient="false" volatile="false"
  17482. static="true" final="true" visibility="public"
  17483. deprecated="not deprecated">
  17484. <doc>
  17485. <![CDATA[Default parameter value.]]>
  17486. </doc>
  17487. </field>
  17488. <doc>
  17489. <![CDATA[Represents delegation token used for authentication.]]>
  17490. </doc>
  17491. </class>
  17492. <!-- end class org.apache.hadoop.hdfs.web.resources.DelegationParam -->
  17493. <!-- start class org.apache.hadoop.hdfs.web.resources.DeleteOpParam -->
  17494. <class name="DeleteOpParam" extends="org.apache.hadoop.hdfs.web.resources.HttpOpParam"
  17495. abstract="false"
  17496. static="false" final="false" visibility="public"
  17497. deprecated="not deprecated">
  17498. <constructor name="DeleteOpParam" type="java.lang.String"
  17499. static="false" final="false" visibility="public"
  17500. deprecated="not deprecated">
  17501. <doc>
  17502. <![CDATA[Constructor.
  17503. @param str a string representation of the parameter value.]]>
  17504. </doc>
  17505. </constructor>
  17506. <method name="getName" return="java.lang.String"
  17507. abstract="false" native="false" synchronized="false"
  17508. static="false" final="false" visibility="public"
  17509. deprecated="not deprecated">
  17510. </method>
  17511. <doc>
  17512. <![CDATA[Http DELETE operation parameter.]]>
  17513. </doc>
  17514. </class>
  17515. <!-- end class org.apache.hadoop.hdfs.web.resources.DeleteOpParam -->
  17516. <!-- start class org.apache.hadoop.hdfs.web.resources.DeleteOpParam.Op -->
  17517. <class name="DeleteOpParam.Op" extends="java.lang.Enum"
  17518. abstract="false"
  17519. static="true" final="true" visibility="public"
  17520. deprecated="not deprecated">
  17521. <implements name="org.apache.hadoop.hdfs.web.resources.HttpOpParam.Op"/>
  17522. <method name="values" return="org.apache.hadoop.hdfs.web.resources.DeleteOpParam.Op[]"
  17523. abstract="false" native="false" synchronized="false"
  17524. static="true" final="false" visibility="public"
  17525. deprecated="not deprecated">
  17526. </method>
  17527. <method name="valueOf" return="org.apache.hadoop.hdfs.web.resources.DeleteOpParam.Op"
  17528. abstract="false" native="false" synchronized="false"
  17529. static="true" final="false" visibility="public"
  17530. deprecated="not deprecated">
  17531. <param name="name" type="java.lang.String"/>
  17532. </method>
  17533. <method name="getType" return="org.apache.hadoop.hdfs.web.resources.HttpOpParam.Type"
  17534. abstract="false" native="false" synchronized="false"
  17535. static="false" final="false" visibility="public"
  17536. deprecated="not deprecated">
  17537. </method>
  17538. <method name="getRequireAuth" return="boolean"
  17539. abstract="false" native="false" synchronized="false"
  17540. static="false" final="false" visibility="public"
  17541. deprecated="not deprecated">
  17542. </method>
  17543. <method name="getDoOutput" return="boolean"
  17544. abstract="false" native="false" synchronized="false"
  17545. static="false" final="false" visibility="public"
  17546. deprecated="not deprecated">
  17547. </method>
  17548. <method name="getRedirect" return="boolean"
  17549. abstract="false" native="false" synchronized="false"
  17550. static="false" final="false" visibility="public"
  17551. deprecated="not deprecated">
  17552. </method>
  17553. <method name="getExpectedHttpResponseCode" return="int"
  17554. abstract="false" native="false" synchronized="false"
  17555. static="false" final="false" visibility="public"
  17556. deprecated="not deprecated">
  17557. </method>
  17558. <method name="toQueryString" return="java.lang.String"
  17559. abstract="false" native="false" synchronized="false"
  17560. static="false" final="false" visibility="public"
  17561. deprecated="not deprecated">
  17562. </method>
  17563. <doc>
  17564. <![CDATA[Delete operations.]]>
  17565. </doc>
  17566. </class>
  17567. <!-- end class org.apache.hadoop.hdfs.web.resources.DeleteOpParam.Op -->
  17568. <!-- start class org.apache.hadoop.hdfs.web.resources.DestinationParam -->
  17569. <class name="DestinationParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  17570. abstract="false"
  17571. static="false" final="false" visibility="public"
  17572. deprecated="not deprecated">
  17573. <constructor name="DestinationParam" type="java.lang.String"
  17574. static="false" final="false" visibility="public"
  17575. deprecated="not deprecated">
  17576. <doc>
  17577. <![CDATA[Constructor.
  17578. @param str a string representation of the parameter value.]]>
  17579. </doc>
  17580. </constructor>
  17581. <method name="getName" return="java.lang.String"
  17582. abstract="false" native="false" synchronized="false"
  17583. static="false" final="false" visibility="public"
  17584. deprecated="not deprecated">
  17585. </method>
  17586. <field name="NAME" type="java.lang.String"
  17587. transient="false" volatile="false"
  17588. static="true" final="true" visibility="public"
  17589. deprecated="not deprecated">
  17590. <doc>
  17591. <![CDATA[Parameter name.]]>
  17592. </doc>
  17593. </field>
  17594. <field name="DEFAULT" type="java.lang.String"
  17595. transient="false" volatile="false"
  17596. static="true" final="true" visibility="public"
  17597. deprecated="not deprecated">
  17598. <doc>
  17599. <![CDATA[Default parameter value.]]>
  17600. </doc>
  17601. </field>
  17602. <doc>
  17603. <![CDATA[Destination path parameter.]]>
  17604. </doc>
  17605. </class>
  17606. <!-- end class org.apache.hadoop.hdfs.web.resources.DestinationParam -->
  17607. <!-- start class org.apache.hadoop.hdfs.web.resources.DoAsParam -->
  17608. <class name="DoAsParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  17609. abstract="false"
  17610. static="false" final="false" visibility="public"
  17611. deprecated="not deprecated">
  17612. <constructor name="DoAsParam" type="java.lang.String"
  17613. static="false" final="false" visibility="public"
  17614. deprecated="not deprecated">
  17615. <doc>
  17616. <![CDATA[Constructor.
  17617. @param str a string representation of the parameter value.]]>
  17618. </doc>
  17619. </constructor>
  17620. <method name="getName" return="java.lang.String"
  17621. abstract="false" native="false" synchronized="false"
  17622. static="false" final="false" visibility="public"
  17623. deprecated="not deprecated">
  17624. </method>
  17625. <field name="NAME" type="java.lang.String"
  17626. transient="false" volatile="false"
  17627. static="true" final="true" visibility="public"
  17628. deprecated="not deprecated">
  17629. <doc>
  17630. <![CDATA[Parameter name.]]>
  17631. </doc>
  17632. </field>
  17633. <field name="DEFAULT" type="java.lang.String"
  17634. transient="false" volatile="false"
  17635. static="true" final="true" visibility="public"
  17636. deprecated="not deprecated">
  17637. <doc>
  17638. <![CDATA[Default parameter value.]]>
  17639. </doc>
  17640. </field>
  17641. <doc>
  17642. <![CDATA[DoAs parameter for proxy user.]]>
  17643. </doc>
  17644. </class>
  17645. <!-- end class org.apache.hadoop.hdfs.web.resources.DoAsParam -->
  17646. <!-- start class org.apache.hadoop.hdfs.web.resources.ExceptionHandler -->
  17647. <class name="ExceptionHandler" extends="java.lang.Object"
  17648. abstract="false"
  17649. static="false" final="false" visibility="public"
  17650. deprecated="not deprecated">
  17651. <implements name="javax.ws.rs.ext.ExceptionMapper"/>
  17652. <constructor name="ExceptionHandler"
  17653. static="false" final="false" visibility="public"
  17654. deprecated="not deprecated">
  17655. </constructor>
  17656. <method name="toResponse" return="javax.ws.rs.core.Response"
  17657. abstract="false" native="false" synchronized="false"
  17658. static="false" final="false" visibility="public"
  17659. deprecated="not deprecated">
  17660. <param name="e" type="java.lang.Exception"/>
  17661. </method>
  17662. <method name="initResponse"
  17663. abstract="false" native="false" synchronized="false"
  17664. static="false" final="false" visibility="public"
  17665. deprecated="not deprecated">
  17666. <param name="response" type="javax.servlet.http.HttpServletResponse"/>
  17667. </method>
  17668. <field name="LOG" type="org.apache.commons.logging.Log"
  17669. transient="false" volatile="false"
  17670. static="true" final="true" visibility="public"
  17671. deprecated="not deprecated">
  17672. </field>
  17673. <doc>
  17674. <![CDATA[Handle exceptions.]]>
  17675. </doc>
  17676. </class>
  17677. <!-- end class org.apache.hadoop.hdfs.web.resources.ExceptionHandler -->
  17678. <!-- start class org.apache.hadoop.hdfs.web.resources.ExcludeDatanodesParam -->
  17679. <class name="ExcludeDatanodesParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  17680. abstract="false"
  17681. static="false" final="false" visibility="public"
  17682. deprecated="not deprecated">
  17683. <constructor name="ExcludeDatanodesParam" type="java.lang.String"
  17684. static="false" final="false" visibility="public"
  17685. deprecated="not deprecated">
  17686. <doc>
  17687. <![CDATA[Constructor.
  17688. @param str a string representation of the parameter value.]]>
  17689. </doc>
  17690. </constructor>
  17691. <method name="getName" return="java.lang.String"
  17692. abstract="false" native="false" synchronized="false"
  17693. static="false" final="false" visibility="public"
  17694. deprecated="not deprecated">
  17695. </method>
  17696. <field name="NAME" type="java.lang.String"
  17697. transient="false" volatile="false"
  17698. static="true" final="true" visibility="public"
  17699. deprecated="not deprecated">
  17700. <doc>
  17701. <![CDATA[Parameter name.]]>
  17702. </doc>
  17703. </field>
  17704. <field name="DEFAULT" type="java.lang.String"
  17705. transient="false" volatile="false"
  17706. static="true" final="true" visibility="public"
  17707. deprecated="not deprecated">
  17708. <doc>
  17709. <![CDATA[Default parameter value.]]>
  17710. </doc>
  17711. </field>
  17712. <doc>
  17713. <![CDATA[Exclude datanodes param]]>
  17714. </doc>
  17715. </class>
  17716. <!-- end class org.apache.hadoop.hdfs.web.resources.ExcludeDatanodesParam -->
  17717. <!-- start class org.apache.hadoop.hdfs.web.resources.FsActionParam -->
  17718. <class name="FsActionParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  17719. abstract="false"
  17720. static="false" final="false" visibility="public"
  17721. deprecated="not deprecated">
  17722. <constructor name="FsActionParam" type="java.lang.String"
  17723. static="false" final="false" visibility="public"
  17724. deprecated="not deprecated">
  17725. <doc>
  17726. <![CDATA[Constructor.
  17727. @param str a string representation of the parameter value.]]>
  17728. </doc>
  17729. </constructor>
  17730. <constructor name="FsActionParam" type="org.apache.hadoop.fs.permission.FsAction"
  17731. static="false" final="false" visibility="public"
  17732. deprecated="not deprecated">
  17733. <doc>
  17734. <![CDATA[Constructor.
  17735. @param value the parameter value.]]>
  17736. </doc>
  17737. </constructor>
  17738. <method name="getName" return="java.lang.String"
  17739. abstract="false" native="false" synchronized="false"
  17740. static="false" final="false" visibility="public"
  17741. deprecated="not deprecated">
  17742. </method>
  17743. <field name="NAME" type="java.lang.String"
  17744. transient="false" volatile="false"
  17745. static="true" final="true" visibility="public"
  17746. deprecated="not deprecated">
  17747. <doc>
  17748. <![CDATA[Parameter name.]]>
  17749. </doc>
  17750. </field>
  17751. <field name="DEFAULT" type="java.lang.String"
  17752. transient="false" volatile="false"
  17753. static="true" final="true" visibility="public"
  17754. deprecated="not deprecated">
  17755. <doc>
  17756. <![CDATA[Default parameter value.]]>
  17757. </doc>
  17758. </field>
  17759. <doc>
  17760. <![CDATA[{@link FsAction} Parameter]]>
  17761. </doc>
  17762. </class>
  17763. <!-- end class org.apache.hadoop.hdfs.web.resources.FsActionParam -->
  17764. <!-- start class org.apache.hadoop.hdfs.web.resources.GetOpParam -->
  17765. <class name="GetOpParam" extends="org.apache.hadoop.hdfs.web.resources.HttpOpParam"
  17766. abstract="false"
  17767. static="false" final="false" visibility="public"
  17768. deprecated="not deprecated">
  17769. <constructor name="GetOpParam" type="java.lang.String"
  17770. static="false" final="false" visibility="public"
  17771. deprecated="not deprecated">
  17772. <doc>
  17773. <![CDATA[Constructor.
  17774. @param str a string representation of the parameter value.]]>
  17775. </doc>
  17776. </constructor>
  17777. <method name="getName" return="java.lang.String"
  17778. abstract="false" native="false" synchronized="false"
  17779. static="false" final="false" visibility="public"
  17780. deprecated="not deprecated">
  17781. </method>
  17782. <doc>
  17783. <![CDATA[Http GET operation parameter.]]>
  17784. </doc>
  17785. </class>
  17786. <!-- end class org.apache.hadoop.hdfs.web.resources.GetOpParam -->
  17787. <!-- start class org.apache.hadoop.hdfs.web.resources.GetOpParam.Op -->
  17788. <class name="GetOpParam.Op" extends="java.lang.Enum"
  17789. abstract="false"
  17790. static="true" final="true" visibility="public"
  17791. deprecated="not deprecated">
  17792. <implements name="org.apache.hadoop.hdfs.web.resources.HttpOpParam.Op"/>
  17793. <method name="values" return="org.apache.hadoop.hdfs.web.resources.GetOpParam.Op[]"
  17794. abstract="false" native="false" synchronized="false"
  17795. static="true" final="false" visibility="public"
  17796. deprecated="not deprecated">
  17797. </method>
  17798. <method name="valueOf" return="org.apache.hadoop.hdfs.web.resources.GetOpParam.Op"
  17799. abstract="false" native="false" synchronized="false"
  17800. static="true" final="false" visibility="public"
  17801. deprecated="not deprecated">
  17802. <param name="name" type="java.lang.String"/>
  17803. </method>
  17804. <method name="getType" return="org.apache.hadoop.hdfs.web.resources.HttpOpParam.Type"
  17805. abstract="false" native="false" synchronized="false"
  17806. static="false" final="false" visibility="public"
  17807. deprecated="not deprecated">
  17808. </method>
  17809. <method name="getRequireAuth" return="boolean"
  17810. abstract="false" native="false" synchronized="false"
  17811. static="false" final="false" visibility="public"
  17812. deprecated="not deprecated">
  17813. </method>
  17814. <method name="getDoOutput" return="boolean"
  17815. abstract="false" native="false" synchronized="false"
  17816. static="false" final="false" visibility="public"
  17817. deprecated="not deprecated">
  17818. </method>
  17819. <method name="getRedirect" return="boolean"
  17820. abstract="false" native="false" synchronized="false"
  17821. static="false" final="false" visibility="public"
  17822. deprecated="not deprecated">
  17823. </method>
  17824. <method name="getExpectedHttpResponseCode" return="int"
  17825. abstract="false" native="false" synchronized="false"
  17826. static="false" final="false" visibility="public"
  17827. deprecated="not deprecated">
  17828. </method>
  17829. <method name="toQueryString" return="java.lang.String"
  17830. abstract="false" native="false" synchronized="false"
  17831. static="false" final="false" visibility="public"
  17832. deprecated="not deprecated">
  17833. </method>
  17834. <doc>
  17835. <![CDATA[Get operations.]]>
  17836. </doc>
  17837. </class>
  17838. <!-- end class org.apache.hadoop.hdfs.web.resources.GetOpParam.Op -->
  17839. <!-- start class org.apache.hadoop.hdfs.web.resources.GroupParam -->
  17840. <class name="GroupParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  17841. abstract="false"
  17842. static="false" final="false" visibility="public"
  17843. deprecated="not deprecated">
  17844. <constructor name="GroupParam" type="java.lang.String"
  17845. static="false" final="false" visibility="public"
  17846. deprecated="not deprecated">
  17847. <doc>
  17848. <![CDATA[Constructor.
  17849. @param str a string representation of the parameter value.]]>
  17850. </doc>
  17851. </constructor>
  17852. <method name="getName" return="java.lang.String"
  17853. abstract="false" native="false" synchronized="false"
  17854. static="false" final="false" visibility="public"
  17855. deprecated="not deprecated">
  17856. </method>
  17857. <field name="NAME" type="java.lang.String"
  17858. transient="false" volatile="false"
  17859. static="true" final="true" visibility="public"
  17860. deprecated="not deprecated">
  17861. <doc>
  17862. <![CDATA[Parameter name.]]>
  17863. </doc>
  17864. </field>
  17865. <field name="DEFAULT" type="java.lang.String"
  17866. transient="false" volatile="false"
  17867. static="true" final="true" visibility="public"
  17868. deprecated="not deprecated">
  17869. <doc>
  17870. <![CDATA[Default parameter value.]]>
  17871. </doc>
  17872. </field>
  17873. <doc>
  17874. <![CDATA[Group parameter.]]>
  17875. </doc>
  17876. </class>
  17877. <!-- end class org.apache.hadoop.hdfs.web.resources.GroupParam -->
  17878. <!-- start class org.apache.hadoop.hdfs.web.resources.HttpOpParam -->
  17879. <class name="HttpOpParam" extends="org.apache.hadoop.hdfs.web.resources.EnumParam"
  17880. abstract="true"
  17881. static="false" final="false" visibility="public"
  17882. deprecated="not deprecated">
  17883. <method name="getValueString" return="java.lang.String"
  17884. abstract="false" native="false" synchronized="false"
  17885. static="false" final="false" visibility="public"
  17886. deprecated="not deprecated">
  17887. <doc>
  17888. <![CDATA[@return the parameter value as a string]]>
  17889. </doc>
  17890. </method>
  17891. <field name="NAME" type="java.lang.String"
  17892. transient="false" volatile="false"
  17893. static="true" final="true" visibility="public"
  17894. deprecated="not deprecated">
  17895. <doc>
  17896. <![CDATA[Parameter name.]]>
  17897. </doc>
  17898. </field>
  17899. <field name="DEFAULT" type="java.lang.String"
  17900. transient="false" volatile="false"
  17901. static="true" final="true" visibility="public"
  17902. deprecated="not deprecated">
  17903. <doc>
  17904. <![CDATA[Default parameter value.]]>
  17905. </doc>
  17906. </field>
  17907. <doc>
  17908. <![CDATA[Http operation parameter.]]>
  17909. </doc>
  17910. </class>
  17911. <!-- end class org.apache.hadoop.hdfs.web.resources.HttpOpParam -->
  17912. <!-- start interface org.apache.hadoop.hdfs.web.resources.HttpOpParam.Op -->
  17913. <interface name="HttpOpParam.Op" abstract="true"
  17914. static="true" final="false" visibility="public"
  17915. deprecated="not deprecated">
  17916. <method name="getType" return="org.apache.hadoop.hdfs.web.resources.HttpOpParam.Type"
  17917. abstract="false" native="false" synchronized="false"
  17918. static="false" final="false" visibility="public"
  17919. deprecated="not deprecated">
  17920. <doc>
  17921. <![CDATA[@return the Http operation type.]]>
  17922. </doc>
  17923. </method>
  17924. <method name="getRequireAuth" return="boolean"
  17925. abstract="false" native="false" synchronized="false"
  17926. static="false" final="false" visibility="public"
  17927. deprecated="not deprecated">
  17928. <doc>
  17929. <![CDATA[@return true if the operation cannot use a token]]>
  17930. </doc>
  17931. </method>
  17932. <method name="getDoOutput" return="boolean"
  17933. abstract="false" native="false" synchronized="false"
  17934. static="false" final="false" visibility="public"
  17935. deprecated="not deprecated">
  17936. <doc>
  17937. <![CDATA[@return true if the operation will do output.]]>
  17938. </doc>
  17939. </method>
  17940. <method name="getRedirect" return="boolean"
  17941. abstract="false" native="false" synchronized="false"
  17942. static="false" final="false" visibility="public"
  17943. deprecated="not deprecated">
  17944. <doc>
  17945. <![CDATA[@return true if the operation will be redirected.]]>
  17946. </doc>
  17947. </method>
  17948. <method name="getExpectedHttpResponseCode" return="int"
  17949. abstract="false" native="false" synchronized="false"
  17950. static="false" final="false" visibility="public"
  17951. deprecated="not deprecated">
  17952. <doc>
  17953. <![CDATA[@return true the expected http response code.]]>
  17954. </doc>
  17955. </method>
  17956. <method name="toQueryString" return="java.lang.String"
  17957. abstract="false" native="false" synchronized="false"
  17958. static="false" final="false" visibility="public"
  17959. deprecated="not deprecated">
  17960. <doc>
  17961. <![CDATA[@return a URI query string.]]>
  17962. </doc>
  17963. </method>
  17964. <doc>
  17965. <![CDATA[Http operation interface.]]>
  17966. </doc>
  17967. </interface>
  17968. <!-- end interface org.apache.hadoop.hdfs.web.resources.HttpOpParam.Op -->
  17969. <!-- start class org.apache.hadoop.hdfs.web.resources.HttpOpParam.TemporaryRedirectOp -->
  17970. <class name="HttpOpParam.TemporaryRedirectOp" extends="java.lang.Object"
  17971. abstract="false"
  17972. static="true" final="false" visibility="public"
  17973. deprecated="not deprecated">
  17974. <implements name="org.apache.hadoop.hdfs.web.resources.HttpOpParam.Op"/>
  17975. <method name="valueOf" return="org.apache.hadoop.hdfs.web.resources.HttpOpParam.TemporaryRedirectOp"
  17976. abstract="false" native="false" synchronized="false"
  17977. static="true" final="false" visibility="public"
  17978. deprecated="not deprecated">
  17979. <param name="op" type="org.apache.hadoop.hdfs.web.resources.HttpOpParam.Op"/>
  17980. <doc>
  17981. <![CDATA[Get an object for the given op.]]>
  17982. </doc>
  17983. </method>
  17984. <method name="getType" return="org.apache.hadoop.hdfs.web.resources.HttpOpParam.Type"
  17985. abstract="false" native="false" synchronized="false"
  17986. static="false" final="false" visibility="public"
  17987. deprecated="not deprecated">
  17988. </method>
  17989. <method name="getRequireAuth" return="boolean"
  17990. abstract="false" native="false" synchronized="false"
  17991. static="false" final="false" visibility="public"
  17992. deprecated="not deprecated">
  17993. </method>
  17994. <method name="getDoOutput" return="boolean"
  17995. abstract="false" native="false" synchronized="false"
  17996. static="false" final="false" visibility="public"
  17997. deprecated="not deprecated">
  17998. </method>
  17999. <method name="getRedirect" return="boolean"
  18000. abstract="false" native="false" synchronized="false"
  18001. static="false" final="false" visibility="public"
  18002. deprecated="not deprecated">
  18003. </method>
  18004. <method name="getExpectedHttpResponseCode" return="int"
  18005. abstract="false" native="false" synchronized="false"
  18006. static="false" final="false" visibility="public"
  18007. deprecated="not deprecated">
  18008. <doc>
  18009. <![CDATA[Override the original expected response with "Temporary Redirect".]]>
  18010. </doc>
  18011. </method>
  18012. <method name="toQueryString" return="java.lang.String"
  18013. abstract="false" native="false" synchronized="false"
  18014. static="false" final="false" visibility="public"
  18015. deprecated="not deprecated">
  18016. </method>
  18017. <doc>
  18018. <![CDATA[Expects HTTP response 307 "Temporary Redirect".]]>
  18019. </doc>
  18020. </class>
  18021. <!-- end class org.apache.hadoop.hdfs.web.resources.HttpOpParam.TemporaryRedirectOp -->
  18022. <!-- start class org.apache.hadoop.hdfs.web.resources.HttpOpParam.Type -->
  18023. <class name="HttpOpParam.Type" extends="java.lang.Enum"
  18024. abstract="false"
  18025. static="true" final="true" visibility="public"
  18026. deprecated="not deprecated">
  18027. <method name="values" return="org.apache.hadoop.hdfs.web.resources.HttpOpParam.Type[]"
  18028. abstract="false" native="false" synchronized="false"
  18029. static="true" final="false" visibility="public"
  18030. deprecated="not deprecated">
  18031. </method>
  18032. <method name="valueOf" return="org.apache.hadoop.hdfs.web.resources.HttpOpParam.Type"
  18033. abstract="false" native="false" synchronized="false"
  18034. static="true" final="false" visibility="public"
  18035. deprecated="not deprecated">
  18036. <param name="name" type="java.lang.String"/>
  18037. </method>
  18038. <doc>
  18039. <![CDATA[Http operation types]]>
  18040. </doc>
  18041. </class>
  18042. <!-- end class org.apache.hadoop.hdfs.web.resources.HttpOpParam.Type -->
  18043. <!-- start class org.apache.hadoop.hdfs.web.resources.LengthParam -->
  18044. <class name="LengthParam" extends="org.apache.hadoop.hdfs.web.resources.LongParam"
  18045. abstract="false"
  18046. static="false" final="false" visibility="public"
  18047. deprecated="not deprecated">
  18048. <constructor name="LengthParam" type="java.lang.Long"
  18049. static="false" final="false" visibility="public"
  18050. deprecated="not deprecated">
  18051. <doc>
  18052. <![CDATA[Constructor.
  18053. @param value the parameter value.]]>
  18054. </doc>
  18055. </constructor>
  18056. <constructor name="LengthParam" type="java.lang.String"
  18057. static="false" final="false" visibility="public"
  18058. deprecated="not deprecated">
  18059. <doc>
  18060. <![CDATA[Constructor.
  18061. @param str a string representation of the parameter value.]]>
  18062. </doc>
  18063. </constructor>
  18064. <method name="getName" return="java.lang.String"
  18065. abstract="false" native="false" synchronized="false"
  18066. static="false" final="false" visibility="public"
  18067. deprecated="not deprecated">
  18068. </method>
  18069. <field name="NAME" type="java.lang.String"
  18070. transient="false" volatile="false"
  18071. static="true" final="true" visibility="public"
  18072. deprecated="not deprecated">
  18073. <doc>
  18074. <![CDATA[Parameter name.]]>
  18075. </doc>
  18076. </field>
  18077. <field name="DEFAULT" type="java.lang.String"
  18078. transient="false" volatile="false"
  18079. static="true" final="true" visibility="public"
  18080. deprecated="not deprecated">
  18081. <doc>
  18082. <![CDATA[Default parameter value.]]>
  18083. </doc>
  18084. </field>
  18085. <doc>
  18086. <![CDATA[Length parameter.]]>
  18087. </doc>
  18088. </class>
  18089. <!-- end class org.apache.hadoop.hdfs.web.resources.LengthParam -->
  18090. <!-- start class org.apache.hadoop.hdfs.web.resources.ModificationTimeParam -->
  18091. <class name="ModificationTimeParam" extends="org.apache.hadoop.hdfs.web.resources.LongParam"
  18092. abstract="false"
  18093. static="false" final="false" visibility="public"
  18094. deprecated="not deprecated">
  18095. <constructor name="ModificationTimeParam" type="java.lang.Long"
  18096. static="false" final="false" visibility="public"
  18097. deprecated="not deprecated">
  18098. <doc>
  18099. <![CDATA[Constructor.
  18100. @param value the parameter value.]]>
  18101. </doc>
  18102. </constructor>
  18103. <constructor name="ModificationTimeParam" type="java.lang.String"
  18104. static="false" final="false" visibility="public"
  18105. deprecated="not deprecated">
  18106. <doc>
  18107. <![CDATA[Constructor.
  18108. @param str a string representation of the parameter value.]]>
  18109. </doc>
  18110. </constructor>
  18111. <method name="getName" return="java.lang.String"
  18112. abstract="false" native="false" synchronized="false"
  18113. static="false" final="false" visibility="public"
  18114. deprecated="not deprecated">
  18115. </method>
  18116. <field name="NAME" type="java.lang.String"
  18117. transient="false" volatile="false"
  18118. static="true" final="true" visibility="public"
  18119. deprecated="not deprecated">
  18120. <doc>
  18121. <![CDATA[Parameter name.]]>
  18122. </doc>
  18123. </field>
  18124. <field name="DEFAULT" type="java.lang.String"
  18125. transient="false" volatile="false"
  18126. static="true" final="true" visibility="public"
  18127. deprecated="not deprecated">
  18128. <doc>
  18129. <![CDATA[Default parameter value.]]>
  18130. </doc>
  18131. </field>
  18132. <doc>
  18133. <![CDATA[Modification time parameter.]]>
  18134. </doc>
  18135. </class>
  18136. <!-- end class org.apache.hadoop.hdfs.web.resources.ModificationTimeParam -->
  18137. <!-- start class org.apache.hadoop.hdfs.web.resources.NamenodeAddressParam -->
  18138. <class name="NamenodeAddressParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  18139. abstract="false"
  18140. static="false" final="false" visibility="public"
  18141. deprecated="not deprecated">
  18142. <constructor name="NamenodeAddressParam" type="java.lang.String"
  18143. static="false" final="false" visibility="public"
  18144. deprecated="not deprecated">
  18145. <doc>
  18146. <![CDATA[Constructor.
  18147. @param str a string representation of the parameter value.]]>
  18148. </doc>
  18149. </constructor>
  18150. <constructor name="NamenodeAddressParam" type="org.apache.hadoop.hdfs.server.namenode.NameNode"
  18151. static="false" final="false" visibility="public"
  18152. deprecated="not deprecated">
  18153. <doc>
  18154. <![CDATA[Construct an object using the RPC address of the given namenode.]]>
  18155. </doc>
  18156. </constructor>
  18157. <method name="getName" return="java.lang.String"
  18158. abstract="false" native="false" synchronized="false"
  18159. static="false" final="false" visibility="public"
  18160. deprecated="not deprecated">
  18161. </method>
  18162. <field name="NAME" type="java.lang.String"
  18163. transient="false" volatile="false"
  18164. static="true" final="true" visibility="public"
  18165. deprecated="not deprecated">
  18166. <doc>
  18167. <![CDATA[Parameter name.]]>
  18168. </doc>
  18169. </field>
  18170. <field name="DEFAULT" type="java.lang.String"
  18171. transient="false" volatile="false"
  18172. static="true" final="true" visibility="public"
  18173. deprecated="not deprecated">
  18174. <doc>
  18175. <![CDATA[Default parameter value.]]>
  18176. </doc>
  18177. </field>
  18178. <doc>
  18179. <![CDATA[Namenode RPC address parameter.]]>
  18180. </doc>
  18181. </class>
  18182. <!-- end class org.apache.hadoop.hdfs.web.resources.NamenodeAddressParam -->
  18183. <!-- start class org.apache.hadoop.hdfs.web.resources.OffsetParam -->
  18184. <class name="OffsetParam" extends="org.apache.hadoop.hdfs.web.resources.LongParam"
  18185. abstract="false"
  18186. static="false" final="false" visibility="public"
  18187. deprecated="not deprecated">
  18188. <constructor name="OffsetParam" type="java.lang.Long"
  18189. static="false" final="false" visibility="public"
  18190. deprecated="not deprecated">
  18191. <doc>
  18192. <![CDATA[Constructor.
  18193. @param value the parameter value.]]>
  18194. </doc>
  18195. </constructor>
  18196. <constructor name="OffsetParam" type="java.lang.String"
  18197. static="false" final="false" visibility="public"
  18198. deprecated="not deprecated">
  18199. <doc>
  18200. <![CDATA[Constructor.
  18201. @param str a string representation of the parameter value.]]>
  18202. </doc>
  18203. </constructor>
  18204. <method name="getName" return="java.lang.String"
  18205. abstract="false" native="false" synchronized="false"
  18206. static="false" final="false" visibility="public"
  18207. deprecated="not deprecated">
  18208. </method>
  18209. <field name="NAME" type="java.lang.String"
  18210. transient="false" volatile="false"
  18211. static="true" final="true" visibility="public"
  18212. deprecated="not deprecated">
  18213. <doc>
  18214. <![CDATA[Parameter name.]]>
  18215. </doc>
  18216. </field>
  18217. <field name="DEFAULT" type="java.lang.String"
  18218. transient="false" volatile="false"
  18219. static="true" final="true" visibility="public"
  18220. deprecated="not deprecated">
  18221. <doc>
  18222. <![CDATA[Default parameter value.]]>
  18223. </doc>
  18224. </field>
  18225. <doc>
  18226. <![CDATA[Offset parameter.]]>
  18227. </doc>
  18228. </class>
  18229. <!-- end class org.apache.hadoop.hdfs.web.resources.OffsetParam -->
  18230. <!-- start class org.apache.hadoop.hdfs.web.resources.OldSnapshotNameParam -->
  18231. <class name="OldSnapshotNameParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  18232. abstract="false"
  18233. static="false" final="false" visibility="public"
  18234. deprecated="not deprecated">
  18235. <constructor name="OldSnapshotNameParam" type="java.lang.String"
  18236. static="false" final="false" visibility="public"
  18237. deprecated="not deprecated">
  18238. </constructor>
  18239. <method name="getName" return="java.lang.String"
  18240. abstract="false" native="false" synchronized="false"
  18241. static="false" final="false" visibility="public"
  18242. deprecated="not deprecated">
  18243. </method>
  18244. <field name="NAME" type="java.lang.String"
  18245. transient="false" volatile="false"
  18246. static="true" final="true" visibility="public"
  18247. deprecated="not deprecated">
  18248. <doc>
  18249. <![CDATA[Parameter name.]]>
  18250. </doc>
  18251. </field>
  18252. <field name="DEFAULT" type="java.lang.String"
  18253. transient="false" volatile="false"
  18254. static="true" final="true" visibility="public"
  18255. deprecated="not deprecated">
  18256. <doc>
  18257. <![CDATA[Default parameter value.]]>
  18258. </doc>
  18259. </field>
  18260. <doc>
  18261. <![CDATA[The old snapshot name parameter for renameSnapshot operation.]]>
  18262. </doc>
  18263. </class>
  18264. <!-- end class org.apache.hadoop.hdfs.web.resources.OldSnapshotNameParam -->
  18265. <!-- start class org.apache.hadoop.hdfs.web.resources.OverwriteParam -->
  18266. <class name="OverwriteParam" extends="org.apache.hadoop.hdfs.web.resources.BooleanParam"
  18267. abstract="false"
  18268. static="false" final="false" visibility="public"
  18269. deprecated="not deprecated">
  18270. <constructor name="OverwriteParam" type="java.lang.Boolean"
  18271. static="false" final="false" visibility="public"
  18272. deprecated="not deprecated">
  18273. <doc>
  18274. <![CDATA[Constructor.
  18275. @param value the parameter value.]]>
  18276. </doc>
  18277. </constructor>
  18278. <constructor name="OverwriteParam" type="java.lang.String"
  18279. static="false" final="false" visibility="public"
  18280. deprecated="not deprecated">
  18281. <doc>
  18282. <![CDATA[Constructor.
  18283. @param str a string representation of the parameter value.]]>
  18284. </doc>
  18285. </constructor>
  18286. <method name="getName" return="java.lang.String"
  18287. abstract="false" native="false" synchronized="false"
  18288. static="false" final="false" visibility="public"
  18289. deprecated="not deprecated">
  18290. </method>
  18291. <field name="NAME" type="java.lang.String"
  18292. transient="false" volatile="false"
  18293. static="true" final="true" visibility="public"
  18294. deprecated="not deprecated">
  18295. <doc>
  18296. <![CDATA[Parameter name.]]>
  18297. </doc>
  18298. </field>
  18299. <field name="DEFAULT" type="java.lang.String"
  18300. transient="false" volatile="false"
  18301. static="true" final="true" visibility="public"
  18302. deprecated="not deprecated">
  18303. <doc>
  18304. <![CDATA[Default parameter value.]]>
  18305. </doc>
  18306. </field>
  18307. <doc>
  18308. <![CDATA[Overwrite parameter.]]>
  18309. </doc>
  18310. </class>
  18311. <!-- end class org.apache.hadoop.hdfs.web.resources.OverwriteParam -->
  18312. <!-- start class org.apache.hadoop.hdfs.web.resources.OwnerParam -->
  18313. <class name="OwnerParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  18314. abstract="false"
  18315. static="false" final="false" visibility="public"
  18316. deprecated="not deprecated">
  18317. <constructor name="OwnerParam" type="java.lang.String"
  18318. static="false" final="false" visibility="public"
  18319. deprecated="not deprecated">
  18320. <doc>
  18321. <![CDATA[Constructor.
  18322. @param str a string representation of the parameter value.]]>
  18323. </doc>
  18324. </constructor>
  18325. <method name="getName" return="java.lang.String"
  18326. abstract="false" native="false" synchronized="false"
  18327. static="false" final="false" visibility="public"
  18328. deprecated="not deprecated">
  18329. </method>
  18330. <field name="NAME" type="java.lang.String"
  18331. transient="false" volatile="false"
  18332. static="true" final="true" visibility="public"
  18333. deprecated="not deprecated">
  18334. <doc>
  18335. <![CDATA[Parameter name.]]>
  18336. </doc>
  18337. </field>
  18338. <field name="DEFAULT" type="java.lang.String"
  18339. transient="false" volatile="false"
  18340. static="true" final="true" visibility="public"
  18341. deprecated="not deprecated">
  18342. <doc>
  18343. <![CDATA[Default parameter value.]]>
  18344. </doc>
  18345. </field>
  18346. <doc>
  18347. <![CDATA[Owner parameter.]]>
  18348. </doc>
  18349. </class>
  18350. <!-- end class org.apache.hadoop.hdfs.web.resources.OwnerParam -->
  18351. <!-- start class org.apache.hadoop.hdfs.web.resources.Param -->
  18352. <class name="Param" extends="java.lang.Object"
  18353. abstract="true"
  18354. static="false" final="false" visibility="public"
  18355. deprecated="not deprecated">
  18356. <method name="toSortedString" return="java.lang.String"
  18357. abstract="false" native="false" synchronized="false"
  18358. static="true" final="false" visibility="public"
  18359. deprecated="not deprecated">
  18360. <param name="separator" type="java.lang.String"/>
  18361. <param name="parameters" type="org.apache.hadoop.hdfs.web.resources.Param[]"/>
  18362. <doc>
  18363. <![CDATA[Convert the parameters to a sorted String.
  18364. @param separator URI parameter separator character
  18365. @param parameters parameters to encode into a string
  18366. @return the encoded URI string]]>
  18367. </doc>
  18368. </method>
  18369. <method name="getValue" return="T"
  18370. abstract="false" native="false" synchronized="false"
  18371. static="false" final="true" visibility="public"
  18372. deprecated="not deprecated">
  18373. <doc>
  18374. <![CDATA[@return the parameter value.]]>
  18375. </doc>
  18376. </method>
  18377. <method name="getValueString" return="java.lang.String"
  18378. abstract="true" native="false" synchronized="false"
  18379. static="false" final="false" visibility="public"
  18380. deprecated="not deprecated">
  18381. <doc>
  18382. <![CDATA[@return the parameter value as a string]]>
  18383. </doc>
  18384. </method>
  18385. <method name="getName" return="java.lang.String"
  18386. abstract="true" native="false" synchronized="false"
  18387. static="false" final="false" visibility="public"
  18388. deprecated="not deprecated">
  18389. <doc>
  18390. <![CDATA[@return the parameter name.]]>
  18391. </doc>
  18392. </method>
  18393. <method name="toString" return="java.lang.String"
  18394. abstract="false" native="false" synchronized="false"
  18395. static="false" final="false" visibility="public"
  18396. deprecated="not deprecated">
  18397. </method>
  18398. <doc>
  18399. <![CDATA[Base class of parameters.]]>
  18400. </doc>
  18401. </class>
  18402. <!-- end class org.apache.hadoop.hdfs.web.resources.Param -->
  18403. <!-- start class org.apache.hadoop.hdfs.web.resources.PermissionParam -->
  18404. <class name="PermissionParam" extends="org.apache.hadoop.hdfs.web.resources.ShortParam"
  18405. abstract="false"
  18406. static="false" final="false" visibility="public"
  18407. deprecated="not deprecated">
  18408. <constructor name="PermissionParam" type="org.apache.hadoop.fs.permission.FsPermission"
  18409. static="false" final="false" visibility="public"
  18410. deprecated="not deprecated">
  18411. <doc>
  18412. <![CDATA[Constructor.
  18413. @param value the parameter value.]]>
  18414. </doc>
  18415. </constructor>
  18416. <constructor name="PermissionParam" type="java.lang.String"
  18417. static="false" final="false" visibility="public"
  18418. deprecated="not deprecated">
  18419. <doc>
  18420. <![CDATA[Constructor.
  18421. @param str a string representation of the parameter value.]]>
  18422. </doc>
  18423. </constructor>
  18424. <method name="getDefaultFsPermission" return="org.apache.hadoop.fs.permission.FsPermission"
  18425. abstract="false" native="false" synchronized="false"
  18426. static="true" final="false" visibility="public"
  18427. deprecated="not deprecated">
  18428. <doc>
  18429. <![CDATA[@return the default FsPermission.]]>
  18430. </doc>
  18431. </method>
  18432. <method name="getName" return="java.lang.String"
  18433. abstract="false" native="false" synchronized="false"
  18434. static="false" final="false" visibility="public"
  18435. deprecated="not deprecated">
  18436. </method>
  18437. <method name="getFsPermission" return="org.apache.hadoop.fs.permission.FsPermission"
  18438. abstract="false" native="false" synchronized="false"
  18439. static="false" final="false" visibility="public"
  18440. deprecated="not deprecated">
  18441. <doc>
  18442. <![CDATA[@return the represented FsPermission.]]>
  18443. </doc>
  18444. </method>
  18445. <field name="NAME" type="java.lang.String"
  18446. transient="false" volatile="false"
  18447. static="true" final="true" visibility="public"
  18448. deprecated="not deprecated">
  18449. <doc>
  18450. <![CDATA[Parameter name.]]>
  18451. </doc>
  18452. </field>
  18453. <field name="DEFAULT" type="java.lang.String"
  18454. transient="false" volatile="false"
  18455. static="true" final="true" visibility="public"
  18456. deprecated="not deprecated">
  18457. <doc>
  18458. <![CDATA[Default parameter value.]]>
  18459. </doc>
  18460. </field>
  18461. <doc>
  18462. <![CDATA[Permission parameter, use a Short to represent a FsPermission.]]>
  18463. </doc>
  18464. </class>
  18465. <!-- end class org.apache.hadoop.hdfs.web.resources.PermissionParam -->
  18466. <!-- start class org.apache.hadoop.hdfs.web.resources.PostOpParam -->
  18467. <class name="PostOpParam" extends="org.apache.hadoop.hdfs.web.resources.HttpOpParam"
  18468. abstract="false"
  18469. static="false" final="false" visibility="public"
  18470. deprecated="not deprecated">
  18471. <constructor name="PostOpParam" type="java.lang.String"
  18472. static="false" final="false" visibility="public"
  18473. deprecated="not deprecated">
  18474. <doc>
  18475. <![CDATA[Constructor.
  18476. @param str a string representation of the parameter value.]]>
  18477. </doc>
  18478. </constructor>
  18479. <method name="getName" return="java.lang.String"
  18480. abstract="false" native="false" synchronized="false"
  18481. static="false" final="false" visibility="public"
  18482. deprecated="not deprecated">
  18483. </method>
  18484. <doc>
  18485. <![CDATA[Http POST operation parameter.]]>
  18486. </doc>
  18487. </class>
  18488. <!-- end class org.apache.hadoop.hdfs.web.resources.PostOpParam -->
  18489. <!-- start class org.apache.hadoop.hdfs.web.resources.PostOpParam.Op -->
  18490. <class name="PostOpParam.Op" extends="java.lang.Enum"
  18491. abstract="false"
  18492. static="true" final="true" visibility="public"
  18493. deprecated="not deprecated">
  18494. <implements name="org.apache.hadoop.hdfs.web.resources.HttpOpParam.Op"/>
  18495. <method name="values" return="org.apache.hadoop.hdfs.web.resources.PostOpParam.Op[]"
  18496. abstract="false" native="false" synchronized="false"
  18497. static="true" final="false" visibility="public"
  18498. deprecated="not deprecated">
  18499. </method>
  18500. <method name="valueOf" return="org.apache.hadoop.hdfs.web.resources.PostOpParam.Op"
  18501. abstract="false" native="false" synchronized="false"
  18502. static="true" final="false" visibility="public"
  18503. deprecated="not deprecated">
  18504. <param name="name" type="java.lang.String"/>
  18505. </method>
  18506. <method name="getType" return="org.apache.hadoop.hdfs.web.resources.HttpOpParam.Type"
  18507. abstract="false" native="false" synchronized="false"
  18508. static="false" final="false" visibility="public"
  18509. deprecated="not deprecated">
  18510. </method>
  18511. <method name="getRequireAuth" return="boolean"
  18512. abstract="false" native="false" synchronized="false"
  18513. static="false" final="false" visibility="public"
  18514. deprecated="not deprecated">
  18515. </method>
  18516. <method name="getDoOutput" return="boolean"
  18517. abstract="false" native="false" synchronized="false"
  18518. static="false" final="false" visibility="public"
  18519. deprecated="not deprecated">
  18520. </method>
  18521. <method name="getRedirect" return="boolean"
  18522. abstract="false" native="false" synchronized="false"
  18523. static="false" final="false" visibility="public"
  18524. deprecated="not deprecated">
  18525. </method>
  18526. <method name="getExpectedHttpResponseCode" return="int"
  18527. abstract="false" native="false" synchronized="false"
  18528. static="false" final="false" visibility="public"
  18529. deprecated="not deprecated">
  18530. </method>
  18531. <method name="toQueryString" return="java.lang.String"
  18532. abstract="false" native="false" synchronized="false"
  18533. static="false" final="false" visibility="public"
  18534. deprecated="not deprecated">
  18535. <doc>
  18536. <![CDATA[@return a URI query string.]]>
  18537. </doc>
  18538. </method>
  18539. <doc>
  18540. <![CDATA[Post operations.]]>
  18541. </doc>
  18542. </class>
  18543. <!-- end class org.apache.hadoop.hdfs.web.resources.PostOpParam.Op -->
  18544. <!-- start class org.apache.hadoop.hdfs.web.resources.PutOpParam -->
  18545. <class name="PutOpParam" extends="org.apache.hadoop.hdfs.web.resources.HttpOpParam"
  18546. abstract="false"
  18547. static="false" final="false" visibility="public"
  18548. deprecated="not deprecated">
  18549. <constructor name="PutOpParam" type="java.lang.String"
  18550. static="false" final="false" visibility="public"
  18551. deprecated="not deprecated">
  18552. <doc>
  18553. <![CDATA[Constructor.
  18554. @param str a string representation of the parameter value.]]>
  18555. </doc>
  18556. </constructor>
  18557. <method name="getName" return="java.lang.String"
  18558. abstract="false" native="false" synchronized="false"
  18559. static="false" final="false" visibility="public"
  18560. deprecated="not deprecated">
  18561. </method>
  18562. <doc>
  18563. <![CDATA[Http POST operation parameter.]]>
  18564. </doc>
  18565. </class>
  18566. <!-- end class org.apache.hadoop.hdfs.web.resources.PutOpParam -->
  18567. <!-- start class org.apache.hadoop.hdfs.web.resources.PutOpParam.Op -->
  18568. <class name="PutOpParam.Op" extends="java.lang.Enum"
  18569. abstract="false"
  18570. static="true" final="true" visibility="public"
  18571. deprecated="not deprecated">
  18572. <implements name="org.apache.hadoop.hdfs.web.resources.HttpOpParam.Op"/>
  18573. <method name="values" return="org.apache.hadoop.hdfs.web.resources.PutOpParam.Op[]"
  18574. abstract="false" native="false" synchronized="false"
  18575. static="true" final="false" visibility="public"
  18576. deprecated="not deprecated">
  18577. </method>
  18578. <method name="valueOf" return="org.apache.hadoop.hdfs.web.resources.PutOpParam.Op"
  18579. abstract="false" native="false" synchronized="false"
  18580. static="true" final="false" visibility="public"
  18581. deprecated="not deprecated">
  18582. <param name="name" type="java.lang.String"/>
  18583. </method>
  18584. <method name="getType" return="org.apache.hadoop.hdfs.web.resources.HttpOpParam.Type"
  18585. abstract="false" native="false" synchronized="false"
  18586. static="false" final="false" visibility="public"
  18587. deprecated="not deprecated">
  18588. </method>
  18589. <method name="getRequireAuth" return="boolean"
  18590. abstract="false" native="false" synchronized="false"
  18591. static="false" final="false" visibility="public"
  18592. deprecated="not deprecated">
  18593. </method>
  18594. <method name="getDoOutput" return="boolean"
  18595. abstract="false" native="false" synchronized="false"
  18596. static="false" final="false" visibility="public"
  18597. deprecated="not deprecated">
  18598. </method>
  18599. <method name="getRedirect" return="boolean"
  18600. abstract="false" native="false" synchronized="false"
  18601. static="false" final="false" visibility="public"
  18602. deprecated="not deprecated">
  18603. </method>
  18604. <method name="getExpectedHttpResponseCode" return="int"
  18605. abstract="false" native="false" synchronized="false"
  18606. static="false" final="false" visibility="public"
  18607. deprecated="not deprecated">
  18608. </method>
  18609. <method name="toQueryString" return="java.lang.String"
  18610. abstract="false" native="false" synchronized="false"
  18611. static="false" final="false" visibility="public"
  18612. deprecated="not deprecated">
  18613. </method>
  18614. <doc>
  18615. <![CDATA[Put operations.]]>
  18616. </doc>
  18617. </class>
  18618. <!-- end class org.apache.hadoop.hdfs.web.resources.PutOpParam.Op -->
  18619. <!-- start class org.apache.hadoop.hdfs.web.resources.RecursiveParam -->
  18620. <class name="RecursiveParam" extends="org.apache.hadoop.hdfs.web.resources.BooleanParam"
  18621. abstract="false"
  18622. static="false" final="false" visibility="public"
  18623. deprecated="not deprecated">
  18624. <constructor name="RecursiveParam" type="java.lang.Boolean"
  18625. static="false" final="false" visibility="public"
  18626. deprecated="not deprecated">
  18627. <doc>
  18628. <![CDATA[Constructor.
  18629. @param value the parameter value.]]>
  18630. </doc>
  18631. </constructor>
  18632. <constructor name="RecursiveParam" type="java.lang.String"
  18633. static="false" final="false" visibility="public"
  18634. deprecated="not deprecated">
  18635. <doc>
  18636. <![CDATA[Constructor.
  18637. @param str a string representation of the parameter value.]]>
  18638. </doc>
  18639. </constructor>
  18640. <method name="getName" return="java.lang.String"
  18641. abstract="false" native="false" synchronized="false"
  18642. static="false" final="false" visibility="public"
  18643. deprecated="not deprecated">
  18644. </method>
  18645. <field name="NAME" type="java.lang.String"
  18646. transient="false" volatile="false"
  18647. static="true" final="true" visibility="public"
  18648. deprecated="not deprecated">
  18649. <doc>
  18650. <![CDATA[Parameter name.]]>
  18651. </doc>
  18652. </field>
  18653. <field name="DEFAULT" type="java.lang.String"
  18654. transient="false" volatile="false"
  18655. static="true" final="true" visibility="public"
  18656. deprecated="not deprecated">
  18657. <doc>
  18658. <![CDATA[Default parameter value.]]>
  18659. </doc>
  18660. </field>
  18661. <doc>
  18662. <![CDATA[Recursive parameter.]]>
  18663. </doc>
  18664. </class>
  18665. <!-- end class org.apache.hadoop.hdfs.web.resources.RecursiveParam -->
  18666. <!-- start class org.apache.hadoop.hdfs.web.resources.RenameOptionSetParam -->
  18667. <class name="RenameOptionSetParam" extends="org.apache.hadoop.hdfs.web.resources.EnumSetParam"
  18668. abstract="false"
  18669. static="false" final="false" visibility="public"
  18670. deprecated="not deprecated">
  18671. <constructor name="RenameOptionSetParam" type="org.apache.hadoop.fs.Options.Rename[]"
  18672. static="false" final="false" visibility="public"
  18673. deprecated="not deprecated">
  18674. <doc>
  18675. <![CDATA[Constructor.
  18676. @param options rename options.]]>
  18677. </doc>
  18678. </constructor>
  18679. <constructor name="RenameOptionSetParam" type="java.lang.String"
  18680. static="false" final="false" visibility="public"
  18681. deprecated="not deprecated">
  18682. <doc>
  18683. <![CDATA[Constructor.
  18684. @param str a string representation of the parameter value.]]>
  18685. </doc>
  18686. </constructor>
  18687. <method name="getName" return="java.lang.String"
  18688. abstract="false" native="false" synchronized="false"
  18689. static="false" final="false" visibility="public"
  18690. deprecated="not deprecated">
  18691. </method>
  18692. <field name="NAME" type="java.lang.String"
  18693. transient="false" volatile="false"
  18694. static="true" final="true" visibility="public"
  18695. deprecated="not deprecated">
  18696. <doc>
  18697. <![CDATA[Parameter name.]]>
  18698. </doc>
  18699. </field>
  18700. <field name="DEFAULT" type="java.lang.String"
  18701. transient="false" volatile="false"
  18702. static="true" final="true" visibility="public"
  18703. deprecated="not deprecated">
  18704. <doc>
  18705. <![CDATA[Default parameter value.]]>
  18706. </doc>
  18707. </field>
  18708. <doc>
  18709. <![CDATA[Rename option set parameter.]]>
  18710. </doc>
  18711. </class>
  18712. <!-- end class org.apache.hadoop.hdfs.web.resources.RenameOptionSetParam -->
  18713. <!-- start class org.apache.hadoop.hdfs.web.resources.RenewerParam -->
  18714. <class name="RenewerParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  18715. abstract="false"
  18716. static="false" final="false" visibility="public"
  18717. deprecated="not deprecated">
  18718. <constructor name="RenewerParam" type="java.lang.String"
  18719. static="false" final="false" visibility="public"
  18720. deprecated="not deprecated">
  18721. <doc>
  18722. <![CDATA[Constructor.
  18723. @param str a string representation of the parameter value.]]>
  18724. </doc>
  18725. </constructor>
  18726. <method name="getName" return="java.lang.String"
  18727. abstract="false" native="false" synchronized="false"
  18728. static="false" final="false" visibility="public"
  18729. deprecated="not deprecated">
  18730. </method>
  18731. <field name="NAME" type="java.lang.String"
  18732. transient="false" volatile="false"
  18733. static="true" final="true" visibility="public"
  18734. deprecated="not deprecated">
  18735. <doc>
  18736. <![CDATA[Parameter name.]]>
  18737. </doc>
  18738. </field>
  18739. <field name="DEFAULT" type="java.lang.String"
  18740. transient="false" volatile="false"
  18741. static="true" final="true" visibility="public"
  18742. deprecated="not deprecated">
  18743. <doc>
  18744. <![CDATA[Default parameter value.]]>
  18745. </doc>
  18746. </field>
  18747. <doc>
  18748. <![CDATA[Renewer parameter.]]>
  18749. </doc>
  18750. </class>
  18751. <!-- end class org.apache.hadoop.hdfs.web.resources.RenewerParam -->
  18752. <!-- start class org.apache.hadoop.hdfs.web.resources.ReplicationParam -->
  18753. <class name="ReplicationParam" extends="org.apache.hadoop.hdfs.web.resources.ShortParam"
  18754. abstract="false"
  18755. static="false" final="false" visibility="public"
  18756. deprecated="not deprecated">
  18757. <constructor name="ReplicationParam" type="java.lang.Short"
  18758. static="false" final="false" visibility="public"
  18759. deprecated="not deprecated">
  18760. <doc>
  18761. <![CDATA[Constructor.
  18762. @param value the parameter value.]]>
  18763. </doc>
  18764. </constructor>
  18765. <constructor name="ReplicationParam" type="java.lang.String"
  18766. static="false" final="false" visibility="public"
  18767. deprecated="not deprecated">
  18768. <doc>
  18769. <![CDATA[Constructor.
  18770. @param str a string representation of the parameter value.]]>
  18771. </doc>
  18772. </constructor>
  18773. <method name="getName" return="java.lang.String"
  18774. abstract="false" native="false" synchronized="false"
  18775. static="false" final="false" visibility="public"
  18776. deprecated="not deprecated">
  18777. </method>
  18778. <method name="getValue" return="short"
  18779. abstract="false" native="false" synchronized="false"
  18780. static="false" final="false" visibility="public"
  18781. deprecated="not deprecated">
  18782. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  18783. <doc>
  18784. <![CDATA[@return the value or, if it is null, return the default from conf.]]>
  18785. </doc>
  18786. </method>
  18787. <field name="NAME" type="java.lang.String"
  18788. transient="false" volatile="false"
  18789. static="true" final="true" visibility="public"
  18790. deprecated="not deprecated">
  18791. <doc>
  18792. <![CDATA[Parameter name.]]>
  18793. </doc>
  18794. </field>
  18795. <field name="DEFAULT" type="java.lang.String"
  18796. transient="false" volatile="false"
  18797. static="true" final="true" visibility="public"
  18798. deprecated="not deprecated">
  18799. <doc>
  18800. <![CDATA[Default parameter value.]]>
  18801. </doc>
  18802. </field>
  18803. <doc>
  18804. <![CDATA[Replication parameter.]]>
  18805. </doc>
  18806. </class>
  18807. <!-- end class org.apache.hadoop.hdfs.web.resources.ReplicationParam -->
  18808. <!-- start class org.apache.hadoop.hdfs.web.resources.SnapshotNameParam -->
  18809. <class name="SnapshotNameParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  18810. abstract="false"
  18811. static="false" final="false" visibility="public"
  18812. deprecated="not deprecated">
  18813. <constructor name="SnapshotNameParam" type="java.lang.String"
  18814. static="false" final="false" visibility="public"
  18815. deprecated="not deprecated">
  18816. </constructor>
  18817. <method name="getName" 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. <field name="NAME" type="java.lang.String"
  18823. transient="false" volatile="false"
  18824. static="true" final="true" visibility="public"
  18825. deprecated="not deprecated">
  18826. <doc>
  18827. <![CDATA[Parameter name.]]>
  18828. </doc>
  18829. </field>
  18830. <field name="DEFAULT" type="java.lang.String"
  18831. transient="false" volatile="false"
  18832. static="true" final="true" visibility="public"
  18833. deprecated="not deprecated">
  18834. <doc>
  18835. <![CDATA[Default parameter value.]]>
  18836. </doc>
  18837. </field>
  18838. <doc>
  18839. <![CDATA[The snapshot name parameter for createSnapshot and deleteSnapshot operation.
  18840. Also used to indicate the new snapshot name for renameSnapshot operation.]]>
  18841. </doc>
  18842. </class>
  18843. <!-- end class org.apache.hadoop.hdfs.web.resources.SnapshotNameParam -->
  18844. <!-- start class org.apache.hadoop.hdfs.web.resources.TokenArgumentParam -->
  18845. <class name="TokenArgumentParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  18846. abstract="false"
  18847. static="false" final="false" visibility="public"
  18848. deprecated="not deprecated">
  18849. <constructor name="TokenArgumentParam" type="java.lang.String"
  18850. static="false" final="false" visibility="public"
  18851. deprecated="not deprecated">
  18852. <doc>
  18853. <![CDATA[Constructor.
  18854. @param str A string representation of the parameter value.]]>
  18855. </doc>
  18856. </constructor>
  18857. <method name="getName" return="java.lang.String"
  18858. abstract="false" native="false" synchronized="false"
  18859. static="false" final="false" visibility="public"
  18860. deprecated="not deprecated">
  18861. </method>
  18862. <field name="NAME" type="java.lang.String"
  18863. transient="false" volatile="false"
  18864. static="true" final="true" visibility="public"
  18865. deprecated="not deprecated">
  18866. <doc>
  18867. <![CDATA[Parameter name.]]>
  18868. </doc>
  18869. </field>
  18870. <field name="DEFAULT" type="java.lang.String"
  18871. transient="false" volatile="false"
  18872. static="true" final="true" visibility="public"
  18873. deprecated="not deprecated">
  18874. <doc>
  18875. <![CDATA[Default parameter value.]]>
  18876. </doc>
  18877. </field>
  18878. <doc>
  18879. <![CDATA[Represents delegation token parameter as method arguments. This is
  18880. different from {@link DelegationParam}.]]>
  18881. </doc>
  18882. </class>
  18883. <!-- end class org.apache.hadoop.hdfs.web.resources.TokenArgumentParam -->
  18884. <!-- start class org.apache.hadoop.hdfs.web.resources.TokenKindParam -->
  18885. <class name="TokenKindParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  18886. abstract="false"
  18887. static="false" final="false" visibility="public"
  18888. deprecated="not deprecated">
  18889. <constructor name="TokenKindParam" type="java.lang.String"
  18890. static="false" final="false" visibility="public"
  18891. deprecated="not deprecated">
  18892. <doc>
  18893. <![CDATA[Constructor.
  18894. @param str a string representation of the parameter value.]]>
  18895. </doc>
  18896. </constructor>
  18897. <method name="getName" return="java.lang.String"
  18898. abstract="false" native="false" synchronized="false"
  18899. static="false" final="false" visibility="public"
  18900. deprecated="not deprecated">
  18901. </method>
  18902. <field name="NAME" type="java.lang.String"
  18903. transient="false" volatile="false"
  18904. static="true" final="true" visibility="public"
  18905. deprecated="not deprecated">
  18906. <doc>
  18907. <![CDATA[Parameter name]]>
  18908. </doc>
  18909. </field>
  18910. <field name="DEFAULT" type="java.lang.String"
  18911. transient="false" volatile="false"
  18912. static="true" final="true" visibility="public"
  18913. deprecated="not deprecated">
  18914. <doc>
  18915. <![CDATA[Default parameter value.]]>
  18916. </doc>
  18917. </field>
  18918. </class>
  18919. <!-- end class org.apache.hadoop.hdfs.web.resources.TokenKindParam -->
  18920. <!-- start class org.apache.hadoop.hdfs.web.resources.TokenServiceParam -->
  18921. <class name="TokenServiceParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  18922. abstract="false"
  18923. static="false" final="false" visibility="public"
  18924. deprecated="not deprecated">
  18925. <constructor name="TokenServiceParam" type="java.lang.String"
  18926. static="false" final="false" visibility="public"
  18927. deprecated="not deprecated">
  18928. <doc>
  18929. <![CDATA[Constructor.
  18930. @param str a string representation of the parameter value.]]>
  18931. </doc>
  18932. </constructor>
  18933. <method name="getName" return="java.lang.String"
  18934. abstract="false" native="false" synchronized="false"
  18935. static="false" final="false" visibility="public"
  18936. deprecated="not deprecated">
  18937. </method>
  18938. <field name="NAME" type="java.lang.String"
  18939. transient="false" volatile="false"
  18940. static="true" final="true" visibility="public"
  18941. deprecated="not deprecated">
  18942. <doc>
  18943. <![CDATA[Parameter name]]>
  18944. </doc>
  18945. </field>
  18946. <field name="DEFAULT" type="java.lang.String"
  18947. transient="false" volatile="false"
  18948. static="true" final="true" visibility="public"
  18949. deprecated="not deprecated">
  18950. <doc>
  18951. <![CDATA[Default parameter value.]]>
  18952. </doc>
  18953. </field>
  18954. </class>
  18955. <!-- end class org.apache.hadoop.hdfs.web.resources.TokenServiceParam -->
  18956. <!-- start class org.apache.hadoop.hdfs.web.resources.UriFsPathParam -->
  18957. <class name="UriFsPathParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  18958. abstract="false"
  18959. static="false" final="false" visibility="public"
  18960. deprecated="not deprecated">
  18961. <constructor name="UriFsPathParam" type="java.lang.String"
  18962. static="false" final="false" visibility="public"
  18963. deprecated="not deprecated">
  18964. <doc>
  18965. <![CDATA[Constructor.
  18966. @param str a string representation of the parameter value.]]>
  18967. </doc>
  18968. </constructor>
  18969. <method name="getName" return="java.lang.String"
  18970. abstract="false" native="false" synchronized="false"
  18971. static="false" final="false" visibility="public"
  18972. deprecated="not deprecated">
  18973. </method>
  18974. <method name="getAbsolutePath" return="java.lang.String"
  18975. abstract="false" native="false" synchronized="false"
  18976. static="false" final="true" visibility="public"
  18977. deprecated="not deprecated">
  18978. <doc>
  18979. <![CDATA[@return the absolute path.]]>
  18980. </doc>
  18981. </method>
  18982. <field name="NAME" type="java.lang.String"
  18983. transient="false" volatile="false"
  18984. static="true" final="true" visibility="public"
  18985. deprecated="not deprecated">
  18986. <doc>
  18987. <![CDATA[Parameter name.]]>
  18988. </doc>
  18989. </field>
  18990. <doc>
  18991. <![CDATA[The FileSystem path parameter.]]>
  18992. </doc>
  18993. </class>
  18994. <!-- end class org.apache.hadoop.hdfs.web.resources.UriFsPathParam -->
  18995. <!-- start class org.apache.hadoop.hdfs.web.resources.UserParam -->
  18996. <class name="UserParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  18997. abstract="false"
  18998. static="false" final="false" visibility="public"
  18999. deprecated="not deprecated">
  19000. <constructor name="UserParam" type="java.lang.String"
  19001. static="false" final="false" visibility="public"
  19002. deprecated="not deprecated">
  19003. <doc>
  19004. <![CDATA[Constructor.
  19005. @param str a string representation of the parameter value.]]>
  19006. </doc>
  19007. </constructor>
  19008. <constructor name="UserParam" type="org.apache.hadoop.security.UserGroupInformation"
  19009. static="false" final="false" visibility="public"
  19010. deprecated="not deprecated">
  19011. <doc>
  19012. <![CDATA[Construct an object from a UGI.]]>
  19013. </doc>
  19014. </constructor>
  19015. <method name="getUserPatternDomain" return="org.apache.hadoop.hdfs.web.resources.StringParam.Domain"
  19016. abstract="false" native="false" synchronized="false"
  19017. static="true" final="false" visibility="public"
  19018. deprecated="not deprecated">
  19019. </method>
  19020. <method name="setUserPatternDomain"
  19021. abstract="false" native="false" synchronized="false"
  19022. static="true" final="false" visibility="public"
  19023. deprecated="not deprecated">
  19024. <param name="dm" type="org.apache.hadoop.hdfs.web.resources.StringParam.Domain"/>
  19025. </method>
  19026. <method name="setUserPattern"
  19027. abstract="false" native="false" synchronized="false"
  19028. static="true" final="false" visibility="public"
  19029. deprecated="not deprecated">
  19030. <param name="pattern" type="java.lang.String"/>
  19031. </method>
  19032. <method name="getName" return="java.lang.String"
  19033. abstract="false" native="false" synchronized="false"
  19034. static="false" final="false" visibility="public"
  19035. deprecated="not deprecated">
  19036. </method>
  19037. <field name="NAME" type="java.lang.String"
  19038. transient="false" volatile="false"
  19039. static="true" final="true" visibility="public"
  19040. deprecated="not deprecated">
  19041. <doc>
  19042. <![CDATA[Parameter name.]]>
  19043. </doc>
  19044. </field>
  19045. <field name="DEFAULT" type="java.lang.String"
  19046. transient="false" volatile="false"
  19047. static="true" final="true" visibility="public"
  19048. deprecated="not deprecated">
  19049. <doc>
  19050. <![CDATA[Default parameter value.]]>
  19051. </doc>
  19052. </field>
  19053. <doc>
  19054. <![CDATA[User parameter.]]>
  19055. </doc>
  19056. </class>
  19057. <!-- end class org.apache.hadoop.hdfs.web.resources.UserParam -->
  19058. <!-- start class org.apache.hadoop.hdfs.web.resources.UserProvider -->
  19059. <class name="UserProvider" extends="com.sun.jersey.server.impl.inject.AbstractHttpContextInjectable"
  19060. abstract="false"
  19061. static="false" final="false" visibility="public"
  19062. deprecated="not deprecated">
  19063. <implements name="com.sun.jersey.spi.inject.InjectableProvider"/>
  19064. <constructor name="UserProvider"
  19065. static="false" final="false" visibility="public"
  19066. deprecated="not deprecated">
  19067. </constructor>
  19068. <method name="getValue" return="org.apache.hadoop.security.UserGroupInformation"
  19069. abstract="false" native="false" synchronized="false"
  19070. static="false" final="false" visibility="public"
  19071. deprecated="not deprecated">
  19072. <param name="context" type="com.sun.jersey.api.core.HttpContext"/>
  19073. </method>
  19074. <method name="getScope" return="com.sun.jersey.core.spi.component.ComponentScope"
  19075. abstract="false" native="false" synchronized="false"
  19076. static="false" final="false" visibility="public"
  19077. deprecated="not deprecated">
  19078. </method>
  19079. <method name="getInjectable" return="com.sun.jersey.spi.inject.Injectable"
  19080. abstract="false" native="false" synchronized="false"
  19081. static="false" final="false" visibility="public"
  19082. deprecated="not deprecated">
  19083. <param name="componentContext" type="com.sun.jersey.core.spi.component.ComponentContext"/>
  19084. <param name="context" type="javax.ws.rs.core.Context"/>
  19085. <param name="type" type="java.lang.reflect.Type"/>
  19086. </method>
  19087. <doc>
  19088. <![CDATA[Inject user information to http operations.]]>
  19089. </doc>
  19090. </class>
  19091. <!-- end class org.apache.hadoop.hdfs.web.resources.UserProvider -->
  19092. <!-- start class org.apache.hadoop.hdfs.web.resources.XAttrEncodingParam -->
  19093. <class name="XAttrEncodingParam" extends="org.apache.hadoop.hdfs.web.resources.EnumParam"
  19094. abstract="false"
  19095. static="false" final="false" visibility="public"
  19096. deprecated="not deprecated">
  19097. <constructor name="XAttrEncodingParam" type="org.apache.hadoop.fs.XAttrCodec"
  19098. static="false" final="false" visibility="public"
  19099. deprecated="not deprecated">
  19100. </constructor>
  19101. <constructor name="XAttrEncodingParam" type="java.lang.String"
  19102. static="false" final="false" visibility="public"
  19103. deprecated="not deprecated">
  19104. <doc>
  19105. <![CDATA[Constructor.
  19106. @param str a string representation of the parameter value.]]>
  19107. </doc>
  19108. </constructor>
  19109. <method name="getName" return="java.lang.String"
  19110. abstract="false" native="false" synchronized="false"
  19111. static="false" final="false" visibility="public"
  19112. deprecated="not deprecated">
  19113. </method>
  19114. <method name="getValueString" return="java.lang.String"
  19115. abstract="false" native="false" synchronized="false"
  19116. static="false" final="false" visibility="public"
  19117. deprecated="not deprecated">
  19118. </method>
  19119. <method name="getEncoding" return="org.apache.hadoop.fs.XAttrCodec"
  19120. abstract="false" native="false" synchronized="false"
  19121. static="false" final="false" visibility="public"
  19122. deprecated="not deprecated">
  19123. </method>
  19124. <field name="NAME" type="java.lang.String"
  19125. transient="false" volatile="false"
  19126. static="true" final="true" visibility="public"
  19127. deprecated="not deprecated">
  19128. <doc>
  19129. <![CDATA[Parameter name.]]>
  19130. </doc>
  19131. </field>
  19132. <field name="DEFAULT" type="java.lang.String"
  19133. transient="false" volatile="false"
  19134. static="true" final="true" visibility="public"
  19135. deprecated="not deprecated">
  19136. <doc>
  19137. <![CDATA[Default parameter value.]]>
  19138. </doc>
  19139. </field>
  19140. </class>
  19141. <!-- end class org.apache.hadoop.hdfs.web.resources.XAttrEncodingParam -->
  19142. <!-- start class org.apache.hadoop.hdfs.web.resources.XAttrNameParam -->
  19143. <class name="XAttrNameParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  19144. abstract="false"
  19145. static="false" final="false" visibility="public"
  19146. deprecated="not deprecated">
  19147. <constructor name="XAttrNameParam" type="java.lang.String"
  19148. static="false" final="false" visibility="public"
  19149. deprecated="not deprecated">
  19150. </constructor>
  19151. <method name="getName" return="java.lang.String"
  19152. abstract="false" native="false" synchronized="false"
  19153. static="false" final="false" visibility="public"
  19154. deprecated="not deprecated">
  19155. </method>
  19156. <method name="getXAttrName" return="java.lang.String"
  19157. abstract="false" native="false" synchronized="false"
  19158. static="false" final="false" visibility="public"
  19159. deprecated="not deprecated">
  19160. </method>
  19161. <field name="NAME" type="java.lang.String"
  19162. transient="false" volatile="false"
  19163. static="true" final="true" visibility="public"
  19164. deprecated="not deprecated">
  19165. <doc>
  19166. <![CDATA[Parameter name.]]>
  19167. </doc>
  19168. </field>
  19169. <field name="DEFAULT" type="java.lang.String"
  19170. transient="false" volatile="false"
  19171. static="true" final="true" visibility="public"
  19172. deprecated="not deprecated">
  19173. <doc>
  19174. <![CDATA[Default parameter value.]]>
  19175. </doc>
  19176. </field>
  19177. </class>
  19178. <!-- end class org.apache.hadoop.hdfs.web.resources.XAttrNameParam -->
  19179. <!-- start class org.apache.hadoop.hdfs.web.resources.XAttrSetFlagParam -->
  19180. <class name="XAttrSetFlagParam" extends="org.apache.hadoop.hdfs.web.resources.EnumSetParam"
  19181. abstract="false"
  19182. static="false" final="false" visibility="public"
  19183. deprecated="not deprecated">
  19184. <constructor name="XAttrSetFlagParam" type="java.util.EnumSet"
  19185. static="false" final="false" visibility="public"
  19186. deprecated="not deprecated">
  19187. </constructor>
  19188. <constructor name="XAttrSetFlagParam" type="java.lang.String"
  19189. static="false" final="false" visibility="public"
  19190. deprecated="not deprecated">
  19191. <doc>
  19192. <![CDATA[Constructor.
  19193. @param str a string representation of the parameter value.]]>
  19194. </doc>
  19195. </constructor>
  19196. <method name="getName" return="java.lang.String"
  19197. abstract="false" native="false" synchronized="false"
  19198. static="false" final="false" visibility="public"
  19199. deprecated="not deprecated">
  19200. </method>
  19201. <method name="getFlag" return="java.util.EnumSet"
  19202. abstract="false" native="false" synchronized="false"
  19203. static="false" final="false" visibility="public"
  19204. deprecated="not deprecated">
  19205. </method>
  19206. <field name="NAME" type="java.lang.String"
  19207. transient="false" volatile="false"
  19208. static="true" final="true" visibility="public"
  19209. deprecated="not deprecated">
  19210. <doc>
  19211. <![CDATA[Parameter name.]]>
  19212. </doc>
  19213. </field>
  19214. <field name="DEFAULT" type="java.lang.String"
  19215. transient="false" volatile="false"
  19216. static="true" final="true" visibility="public"
  19217. deprecated="not deprecated">
  19218. <doc>
  19219. <![CDATA[Default parameter value.]]>
  19220. </doc>
  19221. </field>
  19222. </class>
  19223. <!-- end class org.apache.hadoop.hdfs.web.resources.XAttrSetFlagParam -->
  19224. <!-- start class org.apache.hadoop.hdfs.web.resources.XAttrValueParam -->
  19225. <class name="XAttrValueParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  19226. abstract="false"
  19227. static="false" final="false" visibility="public"
  19228. deprecated="not deprecated">
  19229. <constructor name="XAttrValueParam" type="java.lang.String"
  19230. static="false" final="false" visibility="public"
  19231. deprecated="not deprecated">
  19232. </constructor>
  19233. <method name="getName" return="java.lang.String"
  19234. abstract="false" native="false" synchronized="false"
  19235. static="false" final="false" visibility="public"
  19236. deprecated="not deprecated">
  19237. </method>
  19238. <method name="getXAttrValue" return="byte[]"
  19239. abstract="false" native="false" synchronized="false"
  19240. static="false" final="false" visibility="public"
  19241. deprecated="not deprecated">
  19242. <exception name="IOException" type="java.io.IOException"/>
  19243. </method>
  19244. <field name="NAME" type="java.lang.String"
  19245. transient="false" volatile="false"
  19246. static="true" final="true" visibility="public"
  19247. deprecated="not deprecated">
  19248. <doc>
  19249. <![CDATA[Parameter name.]]>
  19250. </doc>
  19251. </field>
  19252. <field name="DEFAULT" type="java.lang.String"
  19253. transient="false" volatile="false"
  19254. static="true" final="true" visibility="public"
  19255. deprecated="not deprecated">
  19256. <doc>
  19257. <![CDATA[Default parameter value.]]>
  19258. </doc>
  19259. </field>
  19260. </class>
  19261. <!-- end class org.apache.hadoop.hdfs.web.resources.XAttrValueParam -->
  19262. </package>
  19263. </api>