Apache_Hadoop_HDFS_2.7.2.xml 962 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505
  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 Thu Aug 18 16:02:32 PDT 2016 -->
  5. <api
  6. xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
  7. xsi:noNamespaceSchemaLocation='api.xsd'
  8. name="Apache Hadoop HDFS 2.7.2"
  9. jdversion="1.0.9">
  10. <!-- Command line arguments = -doclet org.apache.hadoop.classification.tools.ExcludePrivateAnnotationsJDiffDoclet -docletpath /Users/wtan/project/github/hadoop-common-trunk/hadoop-hdfs-project/hadoop-hdfs/target/hadoop-annotations.jar:/Users/wtan/project/github/hadoop-common-trunk/hadoop-hdfs-project/hadoop-hdfs/target/jdiff.jar -verbose -classpath /Users/wtan/project/github/hadoop-common-trunk/hadoop-hdfs-project/hadoop-hdfs/target/classes:/Users/wtan/project/github/hadoop-common-trunk/hadoop-common-project/hadoop-annotations/target/hadoop-annotations-2.7.2.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/lib/tools.jar:/Users/wtan/project/github/hadoop-common-trunk/hadoop-common-project/hadoop-auth/target/hadoop-auth-2.7.2.jar:/Users/wtan/.m2/repository/org/slf4j/slf4j-api/1.7.10/slf4j-api-1.7.10.jar:/Users/wtan/.m2/repository/org/apache/httpcomponents/httpclient/4.2.5/httpclient-4.2.5.jar:/Users/wtan/.m2/repository/org/apache/httpcomponents/httpcore/4.2.5/httpcore-4.2.5.jar:/Users/wtan/.m2/repository/org/apache/directory/server/apacheds-kerberos-codec/2.0.0-M15/apacheds-kerberos-codec-2.0.0-M15.jar:/Users/wtan/.m2/repository/org/apache/directory/server/apacheds-i18n/2.0.0-M15/apacheds-i18n-2.0.0-M15.jar:/Users/wtan/.m2/repository/org/apache/directory/api/api-asn1-api/1.0.0-M20/api-asn1-api-1.0.0-M20.jar:/Users/wtan/.m2/repository/org/apache/directory/api/api-util/1.0.0-M20/api-util-1.0.0-M20.jar:/Users/wtan/.m2/repository/org/apache/zookeeper/zookeeper/3.4.6/zookeeper-3.4.6.jar:/Users/wtan/.m2/repository/jline/jline/0.9.94/jline-0.9.94.jar:/Users/wtan/.m2/repository/org/apache/curator/curator-framework/2.7.1/curator-framework-2.7.1.jar:/Users/wtan/project/github/hadoop-common-trunk/hadoop-common-project/hadoop-common/target/hadoop-common-2.7.2.jar:/Users/wtan/.m2/repository/org/apache/commons/commons-math3/3.1.1/commons-math3-3.1.1.jar:/Users/wtan/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar:/Users/wtan/.m2/repository/commons-net/commons-net/3.1/commons-net-3.1.jar:/Users/wtan/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar:/Users/wtan/.m2/repository/javax/servlet/jsp/jsp-api/2.1/jsp-api-2.1.jar:/Users/wtan/.m2/repository/com/sun/jersey/jersey-json/1.9/jersey-json-1.9.jar:/Users/wtan/.m2/repository/org/codehaus/jettison/jettison/1.1/jettison-1.1.jar:/Users/wtan/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.3-1/jaxb-impl-2.2.3-1.jar:/Users/wtan/.m2/repository/javax/xml/bind/jaxb-api/2.2.2/jaxb-api-2.2.2.jar:/Users/wtan/.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar:/Users/wtan/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar:/Users/wtan/.m2/repository/org/codehaus/jackson/jackson-jaxrs/1.9.13/jackson-jaxrs-1.9.13.jar:/Users/wtan/.m2/repository/org/codehaus/jackson/jackson-xc/1.9.13/jackson-xc-1.9.13.jar:/Users/wtan/.m2/repository/net/java/dev/jets3t/jets3t/0.9.0/jets3t-0.9.0.jar:/Users/wtan/.m2/repository/com/jamesmurty/utils/java-xmlbuilder/0.4/java-xmlbuilder-0.4.jar:/Users/wtan/.m2/repository/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar:/Users/wtan/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar:/Users/wtan/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar:/Users/wtan/.m2/repository/commons-beanutils/commons-beanutils-core/1.8.0/commons-beanutils-core-1.8.0.jar:/Users/wtan/.m2/repository/org/apache/avro/avro/1.7.4/avro-1.7.4.jar:/Users/wtan/.m2/repository/com/thoughtworks/paranamer/paranamer/2.3/paranamer-2.3.jar:/Users/wtan/.m2/repository/org/xerial/snappy/snappy-java/1.0.4.1/snappy-java-1.0.4.1.jar:/Users/wtan/.m2/repository/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar:/Users/wtan/.m2/repository/com/jcraft/jsch/0.1.42/jsch-0.1.42.jar:/Users/wtan/.m2/repository/org/apache/curator/curator-client/2.7.1/curator-client-2.7.1.jar:/Users/wtan/.m2/repository/org/apache/curator/curator-recipes/2.7.1/curator-recipes-2.7.1.jar:/Users/wtan/.m2/repository/com/google/code/findbugs/jsr305/3.0.0/jsr305-3.0.0.jar:/Users/wtan/.m2/repository/org/apache/commons/commons-compress/1.4.1/commons-compress-1.4.1.jar:/Users/wtan/.m2/repository/org/tukaani/xz/1.0/xz-1.0.jar:/Users/wtan/.m2/repository/com/google/guava/guava/11.0.2/guava-11.0.2.jar:/Users/wtan/.m2/repository/org/mortbay/jetty/jetty/6.1.26/jetty-6.1.26.jar:/Users/wtan/.m2/repository/org/mortbay/jetty/jetty-util/6.1.26/jetty-util-6.1.26.jar:/Users/wtan/.m2/repository/com/sun/jersey/jersey-core/1.9/jersey-core-1.9.jar:/Users/wtan/.m2/repository/com/sun/jersey/jersey-server/1.9/jersey-server-1.9.jar:/Users/wtan/.m2/repository/asm/asm/3.2/asm-3.2.jar:/Users/wtan/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar:/Users/wtan/.m2/repository/commons-codec/commons-codec/1.4/commons-codec-1.4.jar:/Users/wtan/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar:/Users/wtan/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/Users/wtan/.m2/repository/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar:/Users/wtan/.m2/repository/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13.jar:/Users/wtan/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar:/Users/wtan/.m2/repository/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.jar:/Users/wtan/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar:/Users/wtan/.m2/repository/org/slf4j/slf4j-log4j12/1.7.10/slf4j-log4j12-1.7.10.jar:/Users/wtan/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.13/jackson-core-asl-1.9.13.jar:/Users/wtan/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.13/jackson-mapper-asl-1.9.13.jar:/Users/wtan/.m2/repository/xmlenc/xmlenc/0.52/xmlenc-0.52.jar:/Users/wtan/.m2/repository/io/netty/netty/3.6.2.Final/netty-3.6.2.Final.jar:/Users/wtan/.m2/repository/io/netty/netty-all/4.0.23.Final/netty-all-4.0.23.Final.jar:/Users/wtan/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar:/Users/wtan/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar:/Users/wtan/.m2/repository/org/apache/htrace/htrace-core/3.1.0-incubating/htrace-core-3.1.0-incubating.jar:/Users/wtan/.m2/repository/org/fusesource/leveldbjni/leveldbjni-all/1.8/leveldbjni-all-1.8.jar -sourcepath /Users/wtan/project/github/hadoop-common-trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java -doclet org.apache.hadoop.classification.tools.ExcludePrivateAnnotationsJDiffDoclet -docletpath /Users/wtan/project/github/hadoop-common-trunk/hadoop-hdfs-project/hadoop-hdfs/target/hadoop-annotations.jar:/Users/wtan/project/github/hadoop-common-trunk/hadoop-hdfs-project/hadoop-hdfs/target/jdiff.jar -apidir /Users/wtan/project/github/hadoop-common-trunk/hadoop-hdfs-project/hadoop-hdfs/target/site/jdiff/xml -apiname Apache Hadoop HDFS 2.7.2 -->
  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="true" 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="true" 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="true" 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="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="true" 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="true" 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="true" 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="true" 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="true" 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="true" 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="true" 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="true" 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="true" 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.BlockReaderFactory.FailureInjector -->
  299. <class name="BlockReaderFactory.FailureInjector" extends="java.lang.Object"
  300. abstract="false"
  301. static="true" final="false" visibility="public"
  302. deprecated="not deprecated">
  303. <constructor name="FailureInjector"
  304. static="false" final="false" visibility="public"
  305. deprecated="not deprecated">
  306. </constructor>
  307. <method name="injectRequestFileDescriptorsFailure"
  308. abstract="false" native="false" synchronized="false"
  309. static="false" final="false" visibility="public"
  310. deprecated="not deprecated">
  311. <exception name="IOException" type="java.io.IOException"/>
  312. </method>
  313. <method name="getSupportsReceiptVerification" return="boolean"
  314. abstract="false" native="false" synchronized="false"
  315. static="false" final="false" visibility="public"
  316. deprecated="not deprecated">
  317. </method>
  318. </class>
  319. <!-- end class org.apache.hadoop.hdfs.BlockReaderFactory.FailureInjector -->
  320. <!-- start class org.apache.hadoop.hdfs.CorruptFileBlockIterator -->
  321. <class name="CorruptFileBlockIterator" extends="java.lang.Object"
  322. abstract="false"
  323. static="false" final="false" visibility="public"
  324. deprecated="not deprecated">
  325. <implements name="org.apache.hadoop.fs.RemoteIterator"/>
  326. <constructor name="CorruptFileBlockIterator" type="org.apache.hadoop.hdfs.DFSClient, org.apache.hadoop.fs.Path"
  327. static="false" final="false" visibility="public"
  328. deprecated="not deprecated">
  329. <exception name="IOException" type="java.io.IOException"/>
  330. </constructor>
  331. <method name="getCallsMade" return="int"
  332. abstract="false" native="false" synchronized="false"
  333. static="false" final="false" visibility="public"
  334. deprecated="not deprecated">
  335. <doc>
  336. <![CDATA[@return the number of calls made to the DFSClient.
  337. This is for debugging and testing purposes.]]>
  338. </doc>
  339. </method>
  340. <method name="hasNext" return="boolean"
  341. abstract="false" native="false" synchronized="false"
  342. static="false" final="false" visibility="public"
  343. deprecated="not deprecated">
  344. </method>
  345. <method name="next" return="org.apache.hadoop.fs.Path"
  346. abstract="false" native="false" synchronized="false"
  347. static="false" final="false" visibility="public"
  348. deprecated="not deprecated">
  349. <exception name="IOException" type="java.io.IOException"/>
  350. </method>
  351. <doc>
  352. <![CDATA[Provides an iterator interface for listCorruptFileBlocks.
  353. This class is used by DistributedFileSystem and Hdfs.]]>
  354. </doc>
  355. </class>
  356. <!-- end class org.apache.hadoop.hdfs.CorruptFileBlockIterator -->
  357. <!-- start class org.apache.hadoop.hdfs.DFSClient.Conf -->
  358. <class name="DFSClient.Conf" extends="java.lang.Object"
  359. abstract="false"
  360. static="true" final="false" visibility="public"
  361. deprecated="not deprecated">
  362. <constructor name="Conf" type="org.apache.hadoop.conf.Configuration"
  363. static="false" final="false" visibility="public"
  364. deprecated="not deprecated">
  365. </constructor>
  366. <method name="isUseLegacyBlockReaderLocal" return="boolean"
  367. abstract="false" native="false" synchronized="false"
  368. static="false" final="false" visibility="public"
  369. deprecated="not deprecated">
  370. </method>
  371. <method name="getDomainSocketPath" return="java.lang.String"
  372. abstract="false" native="false" synchronized="false"
  373. static="false" final="false" visibility="public"
  374. deprecated="not deprecated">
  375. </method>
  376. <method name="isShortCircuitLocalReads" return="boolean"
  377. abstract="false" native="false" synchronized="false"
  378. static="false" final="false" visibility="public"
  379. deprecated="not deprecated">
  380. </method>
  381. <method name="isDomainSocketDataTraffic" return="boolean"
  382. abstract="false" native="false" synchronized="false"
  383. static="false" final="false" visibility="public"
  384. deprecated="not deprecated">
  385. </method>
  386. <field name="brfFailureInjector" type="org.apache.hadoop.hdfs.BlockReaderFactory.FailureInjector"
  387. transient="false" volatile="false"
  388. static="false" final="false" visibility="public"
  389. deprecated="not deprecated">
  390. </field>
  391. <doc>
  392. <![CDATA[DFSClient configuration]]>
  393. </doc>
  394. </class>
  395. <!-- end class org.apache.hadoop.hdfs.DFSClient.Conf -->
  396. <!-- start class org.apache.hadoop.hdfs.DFSClient.DFSDataInputStream -->
  397. <class name="DFSClient.DFSDataInputStream" extends="org.apache.hadoop.hdfs.client.HdfsDataInputStream"
  398. abstract="false"
  399. static="true" final="false" visibility="public"
  400. deprecated="use {@link HdfsDataInputStream} instead.">
  401. <constructor name="DFSDataInputStream" type="org.apache.hadoop.hdfs.DFSInputStream"
  402. static="false" final="false" visibility="public"
  403. deprecated="not deprecated">
  404. <exception name="IOException" type="java.io.IOException"/>
  405. </constructor>
  406. <doc>
  407. <![CDATA[@deprecated use {@link HdfsDataInputStream} instead.]]>
  408. </doc>
  409. </class>
  410. <!-- end class org.apache.hadoop.hdfs.DFSClient.DFSDataInputStream -->
  411. <!-- start class org.apache.hadoop.hdfs.DFSHedgedReadMetrics -->
  412. <class name="DFSHedgedReadMetrics" extends="java.lang.Object"
  413. abstract="false"
  414. static="false" final="false" visibility="public"
  415. deprecated="not deprecated">
  416. <constructor name="DFSHedgedReadMetrics"
  417. static="false" final="false" visibility="public"
  418. deprecated="not deprecated">
  419. </constructor>
  420. <method name="incHedgedReadOps"
  421. abstract="false" native="false" synchronized="false"
  422. static="false" final="false" visibility="public"
  423. deprecated="not deprecated">
  424. </method>
  425. <method name="incHedgedReadOpsInCurThread"
  426. abstract="false" native="false" synchronized="false"
  427. static="false" final="false" visibility="public"
  428. deprecated="not deprecated">
  429. </method>
  430. <method name="incHedgedReadWins"
  431. abstract="false" native="false" synchronized="false"
  432. static="false" final="false" visibility="public"
  433. deprecated="not deprecated">
  434. </method>
  435. <method name="getHedgedReadOps" return="long"
  436. abstract="false" native="false" synchronized="false"
  437. static="false" final="false" visibility="public"
  438. deprecated="not deprecated">
  439. </method>
  440. <method name="getHedgedReadOpsInCurThread" return="long"
  441. abstract="false" native="false" synchronized="false"
  442. static="false" final="false" visibility="public"
  443. deprecated="not deprecated">
  444. </method>
  445. <method name="getHedgedReadWins" return="long"
  446. abstract="false" native="false" synchronized="false"
  447. static="false" final="false" visibility="public"
  448. deprecated="not deprecated">
  449. </method>
  450. <field name="hedgedReadOps" type="java.util.concurrent.atomic.AtomicLong"
  451. transient="false" volatile="false"
  452. static="false" final="true" visibility="public"
  453. deprecated="not deprecated">
  454. </field>
  455. <field name="hedgedReadOpsWin" type="java.util.concurrent.atomic.AtomicLong"
  456. transient="false" volatile="false"
  457. static="false" final="true" visibility="public"
  458. deprecated="not deprecated">
  459. </field>
  460. <field name="hedgedReadOpsInCurThread" type="java.util.concurrent.atomic.AtomicLong"
  461. transient="false" volatile="false"
  462. static="false" final="true" visibility="public"
  463. deprecated="not deprecated">
  464. </field>
  465. <doc>
  466. <![CDATA[The client-side metrics for hedged read feature.
  467. This class has a number of metrics variables that are publicly accessible,
  468. we can grab them from client side, like HBase.]]>
  469. </doc>
  470. </class>
  471. <!-- end class org.apache.hadoop.hdfs.DFSHedgedReadMetrics -->
  472. <!-- start class org.apache.hadoop.hdfs.DFSInotifyEventInputStream -->
  473. <class name="DFSInotifyEventInputStream" extends="java.lang.Object"
  474. abstract="false"
  475. static="false" final="false" visibility="public"
  476. deprecated="not deprecated">
  477. <method name="poll" return="org.apache.hadoop.hdfs.inotify.EventBatch"
  478. abstract="false" native="false" synchronized="false"
  479. static="false" final="false" visibility="public"
  480. deprecated="not deprecated">
  481. <exception name="IOException" type="java.io.IOException"/>
  482. <exception name="MissingEventsException" type="org.apache.hadoop.hdfs.inotify.MissingEventsException"/>
  483. <doc>
  484. <![CDATA[Returns the next batch of events in the stream or null if no new
  485. batches are currently available.
  486. @throws IOException because of network error or edit log
  487. corruption. Also possible if JournalNodes are unresponsive in the
  488. QJM setting (even one unresponsive JournalNode is enough in rare cases),
  489. so catching this exception and retrying at least a few times is
  490. recommended.
  491. @throws MissingEventsException if we cannot return the next batch in the
  492. stream because the data for the events (and possibly some subsequent
  493. events) has been deleted (generally because this stream is a very large
  494. number of transactions behind the current state of the NameNode). It is
  495. safe to continue reading from the stream after this exception is thrown
  496. The next available batch of events will be returned.]]>
  497. </doc>
  498. </method>
  499. <method name="getTxidsBehindEstimate" return="long"
  500. abstract="false" native="false" synchronized="false"
  501. static="false" final="false" visibility="public"
  502. deprecated="not deprecated">
  503. <doc>
  504. <![CDATA[Return a estimate of how many transaction IDs behind the NameNode's
  505. current state this stream is. Clients should periodically call this method
  506. and check if its result is steadily increasing, which indicates that they
  507. are falling behind (i.e. transaction are being generated faster than the
  508. client is reading them). If a client falls too far behind events may be
  509. deleted before the client can read them.
  510. <p/>
  511. A return value of -1 indicates that an estimate could not be produced, and
  512. should be ignored. The value returned by this method is really only useful
  513. when compared to previous or subsequent returned values.]]>
  514. </doc>
  515. </method>
  516. <method name="poll" return="org.apache.hadoop.hdfs.inotify.EventBatch"
  517. abstract="false" native="false" synchronized="false"
  518. static="false" final="false" visibility="public"
  519. deprecated="not deprecated">
  520. <param name="time" type="long"/>
  521. <param name="tu" type="java.util.concurrent.TimeUnit"/>
  522. <exception name="IOException" type="java.io.IOException"/>
  523. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  524. <exception name="MissingEventsException" type="org.apache.hadoop.hdfs.inotify.MissingEventsException"/>
  525. <doc>
  526. <![CDATA[Returns the next event batch in the stream, waiting up to the specified
  527. amount of time for a new batch. Returns null if one is not available at the
  528. end of the specified amount of time. The time before the method returns may
  529. exceed the specified amount of time by up to the time required for an RPC
  530. to the NameNode.
  531. @param time number of units of the given TimeUnit to wait
  532. @param tu the desired TimeUnit
  533. @throws IOException see {@link DFSInotifyEventInputStream#poll()}
  534. @throws MissingEventsException
  535. see {@link DFSInotifyEventInputStream#poll()}
  536. @throws InterruptedException if the calling thread is interrupted]]>
  537. </doc>
  538. </method>
  539. <method name="take" return="org.apache.hadoop.hdfs.inotify.EventBatch"
  540. abstract="false" native="false" synchronized="false"
  541. static="false" final="false" visibility="public"
  542. deprecated="not deprecated">
  543. <exception name="IOException" type="java.io.IOException"/>
  544. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  545. <exception name="MissingEventsException" type="org.apache.hadoop.hdfs.inotify.MissingEventsException"/>
  546. <doc>
  547. <![CDATA[Returns the next batch of events in the stream, waiting indefinitely if
  548. a new batch is not immediately available.
  549. @throws IOException see {@link DFSInotifyEventInputStream#poll()}
  550. @throws MissingEventsException see
  551. {@link DFSInotifyEventInputStream#poll()}
  552. @throws InterruptedException if the calling thread is interrupted]]>
  553. </doc>
  554. </method>
  555. <field name="LOG" type="org.slf4j.Logger"
  556. transient="false" volatile="false"
  557. static="true" final="false" visibility="public"
  558. deprecated="not deprecated">
  559. </field>
  560. <doc>
  561. <![CDATA[Stream for reading inotify events. DFSInotifyEventInputStreams should not
  562. be shared among multiple threads.]]>
  563. </doc>
  564. </class>
  565. <!-- end class org.apache.hadoop.hdfs.DFSInotifyEventInputStream -->
  566. <!-- start class org.apache.hadoop.hdfs.DFSInputStream.ReadStatistics -->
  567. <class name="DFSInputStream.ReadStatistics" extends="java.lang.Object"
  568. abstract="false"
  569. static="true" final="false" visibility="public"
  570. deprecated="not deprecated">
  571. <constructor name="ReadStatistics"
  572. static="false" final="false" visibility="public"
  573. deprecated="not deprecated">
  574. </constructor>
  575. <constructor name="ReadStatistics" type="org.apache.hadoop.hdfs.DFSInputStream.ReadStatistics"
  576. static="false" final="false" visibility="public"
  577. deprecated="not deprecated">
  578. </constructor>
  579. <method name="getTotalBytesRead" 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 bytes read. This will always be at least as
  585. high as the other numbers, since it includes all of them.]]>
  586. </doc>
  587. </method>
  588. <method name="getTotalLocalBytesRead" return="long"
  589. abstract="false" native="false" synchronized="false"
  590. static="false" final="false" visibility="public"
  591. deprecated="not deprecated">
  592. <doc>
  593. <![CDATA[@return The total local bytes read. This will always be at least
  594. as high as totalShortCircuitBytesRead, since all short-circuit
  595. reads are also local.]]>
  596. </doc>
  597. </method>
  598. <method name="getTotalShortCircuitBytesRead" return="long"
  599. abstract="false" native="false" synchronized="false"
  600. static="false" final="false" visibility="public"
  601. deprecated="not deprecated">
  602. <doc>
  603. <![CDATA[@return The total short-circuit local bytes read.]]>
  604. </doc>
  605. </method>
  606. <method name="getTotalZeroCopyBytesRead" return="long"
  607. abstract="false" native="false" synchronized="false"
  608. static="false" final="false" visibility="public"
  609. deprecated="not deprecated">
  610. <doc>
  611. <![CDATA[@return The total number of zero-copy bytes read.]]>
  612. </doc>
  613. </method>
  614. <method name="getRemoteBytesRead" return="long"
  615. abstract="false" native="false" synchronized="false"
  616. static="false" final="false" visibility="public"
  617. deprecated="not deprecated">
  618. <doc>
  619. <![CDATA[@return The total number of bytes read which were not local.]]>
  620. </doc>
  621. </method>
  622. </class>
  623. <!-- end class org.apache.hadoop.hdfs.DFSInputStream.ReadStatistics -->
  624. <!-- start class org.apache.hadoop.hdfs.DFSUtil.ConfiguredNNAddress -->
  625. <class name="DFSUtil.ConfiguredNNAddress" extends="java.lang.Object"
  626. abstract="false"
  627. static="true" final="false" visibility="public"
  628. deprecated="not deprecated">
  629. <method name="getNameserviceId" return="java.lang.String"
  630. abstract="false" native="false" synchronized="false"
  631. static="false" final="false" visibility="public"
  632. deprecated="not deprecated">
  633. </method>
  634. <method name="getNamenodeId" return="java.lang.String"
  635. abstract="false" native="false" synchronized="false"
  636. static="false" final="false" visibility="public"
  637. deprecated="not deprecated">
  638. </method>
  639. <method name="getAddress" return="java.net.InetSocketAddress"
  640. abstract="false" native="false" synchronized="false"
  641. static="false" final="false" visibility="public"
  642. deprecated="not deprecated">
  643. </method>
  644. <method name="toString" return="java.lang.String"
  645. abstract="false" native="false" synchronized="false"
  646. static="false" final="false" visibility="public"
  647. deprecated="not deprecated">
  648. </method>
  649. <doc>
  650. <![CDATA[Represent one of the NameNodes configured in the cluster.]]>
  651. </doc>
  652. </class>
  653. <!-- end class org.apache.hadoop.hdfs.DFSUtil.ConfiguredNNAddress -->
  654. <!-- start class org.apache.hadoop.hdfs.ExtendedBlockId -->
  655. <class name="ExtendedBlockId" extends="java.lang.Object"
  656. abstract="false"
  657. static="false" final="true" visibility="public"
  658. deprecated="not deprecated">
  659. <constructor name="ExtendedBlockId" type="long, java.lang.String"
  660. static="false" final="false" visibility="public"
  661. deprecated="not deprecated">
  662. </constructor>
  663. <method name="fromExtendedBlock" return="org.apache.hadoop.hdfs.ExtendedBlockId"
  664. abstract="false" native="false" synchronized="false"
  665. static="true" final="false" visibility="public"
  666. deprecated="not deprecated">
  667. <param name="block" type="org.apache.hadoop.hdfs.protocol.ExtendedBlock"/>
  668. </method>
  669. <method name="getBlockId" return="long"
  670. abstract="false" native="false" synchronized="false"
  671. static="false" final="false" visibility="public"
  672. deprecated="not deprecated">
  673. </method>
  674. <method name="getBlockPoolId" return="java.lang.String"
  675. abstract="false" native="false" synchronized="false"
  676. static="false" final="false" visibility="public"
  677. deprecated="not deprecated">
  678. </method>
  679. <method name="equals" return="boolean"
  680. abstract="false" native="false" synchronized="false"
  681. static="false" final="false" visibility="public"
  682. deprecated="not deprecated">
  683. <param name="o" type="java.lang.Object"/>
  684. </method>
  685. <method name="hashCode" return="int"
  686. abstract="false" native="false" synchronized="false"
  687. static="false" final="false" visibility="public"
  688. deprecated="not deprecated">
  689. </method>
  690. <method name="toString" return="java.lang.String"
  691. abstract="false" native="false" synchronized="false"
  692. static="false" final="false" visibility="public"
  693. deprecated="not deprecated">
  694. </method>
  695. <doc>
  696. <![CDATA[An immutable key which identifies a block.]]>
  697. </doc>
  698. </class>
  699. <!-- end class org.apache.hadoop.hdfs.ExtendedBlockId -->
  700. <!-- start class org.apache.hadoop.hdfs.HAUtil -->
  701. <class name="HAUtil" extends="java.lang.Object"
  702. abstract="false"
  703. static="false" final="false" visibility="public"
  704. deprecated="not deprecated">
  705. <method name="isHAEnabled" return="boolean"
  706. abstract="false" native="false" synchronized="false"
  707. static="true" final="false" visibility="public"
  708. deprecated="not deprecated">
  709. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  710. <param name="nsId" type="java.lang.String"/>
  711. <doc>
  712. <![CDATA[Returns true if HA for namenode is configured for the given nameservice
  713. @param conf Configuration
  714. @param nsId nameservice, or null if no federated NS is configured
  715. @return true if HA is configured in the configuration; else false.]]>
  716. </doc>
  717. </method>
  718. <method name="usesSharedEditsDir" return="boolean"
  719. abstract="false" native="false" synchronized="false"
  720. static="true" final="false" visibility="public"
  721. deprecated="not deprecated">
  722. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  723. <doc>
  724. <![CDATA[Returns true if HA is using a shared edits directory.
  725. @param conf Configuration
  726. @return true if HA config is using a shared edits dir, false otherwise.]]>
  727. </doc>
  728. </method>
  729. <method name="getNameNodeId" return="java.lang.String"
  730. abstract="false" native="false" synchronized="false"
  731. static="true" final="false" visibility="public"
  732. deprecated="not deprecated">
  733. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  734. <param name="nsId" type="java.lang.String"/>
  735. <doc>
  736. <![CDATA[Get the namenode Id by matching the {@code addressKey}
  737. with the the address of the local node.
  738. If {@link DFSConfigKeys#DFS_HA_NAMENODE_ID_KEY} is not specifically
  739. configured, this method determines the namenode Id by matching the local
  740. node's address with the configured addresses. When a match is found, it
  741. returns the namenode Id from the corresponding configuration key.
  742. @param conf Configuration
  743. @return namenode Id on success, null on failure.
  744. @throws HadoopIllegalArgumentException on error]]>
  745. </doc>
  746. </method>
  747. <method name="getNameNodeIdFromAddress" return="java.lang.String"
  748. abstract="false" native="false" synchronized="false"
  749. static="true" final="false" visibility="public"
  750. deprecated="not deprecated">
  751. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  752. <param name="address" type="java.net.InetSocketAddress"/>
  753. <param name="keys" type="java.lang.String[]"/>
  754. <doc>
  755. <![CDATA[Similar to
  756. {@link DFSUtil#getNameServiceIdFromAddress(Configuration,
  757. InetSocketAddress, String...)}]]>
  758. </doc>
  759. </method>
  760. <method name="getNameNodeIdOfOtherNode" return="java.lang.String"
  761. abstract="false" native="false" synchronized="false"
  762. static="true" final="false" visibility="public"
  763. deprecated="not deprecated">
  764. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  765. <param name="nsId" type="java.lang.String"/>
  766. <doc>
  767. <![CDATA[Get the NN ID of the other node in an HA setup.
  768. @param conf the configuration of this node
  769. @return the NN ID of the other node in this nameservice]]>
  770. </doc>
  771. </method>
  772. <method name="getConfForOtherNode" return="org.apache.hadoop.conf.Configuration"
  773. abstract="false" native="false" synchronized="false"
  774. static="true" final="false" visibility="public"
  775. deprecated="not deprecated">
  776. <param name="myConf" type="org.apache.hadoop.conf.Configuration"/>
  777. <doc>
  778. <![CDATA[Given the configuration for this node, return a Configuration object for
  779. the other node in an HA setup.
  780. @param myConf the configuration of this node
  781. @return the configuration of the other node in an HA setup]]>
  782. </doc>
  783. </method>
  784. <method name="shouldAllowStandbyReads" 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. <doc>
  790. <![CDATA[This is used only by tests at the moment.
  791. @return true if the NN should allow read operations while in standby mode.]]>
  792. </doc>
  793. </method>
  794. <method name="setAllowStandbyReads"
  795. abstract="false" native="false" synchronized="false"
  796. static="true" final="false" visibility="public"
  797. deprecated="not deprecated">
  798. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  799. <param name="val" type="boolean"/>
  800. </method>
  801. <method name="isLogicalUri" return="boolean"
  802. abstract="false" native="false" synchronized="false"
  803. static="true" final="false" visibility="public"
  804. deprecated="not deprecated">
  805. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  806. <param name="nameNodeUri" type="java.net.URI"/>
  807. <doc>
  808. <![CDATA[@return true if the given nameNodeUri appears to be a logical URI.]]>
  809. </doc>
  810. </method>
  811. <method name="isClientFailoverConfigured" return="boolean"
  812. abstract="false" native="false" synchronized="false"
  813. static="true" final="false" visibility="public"
  814. deprecated="not deprecated">
  815. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  816. <param name="nameNodeUri" type="java.net.URI"/>
  817. <doc>
  818. <![CDATA[Check whether the client has a failover proxy provider configured
  819. for the namenode/nameservice.
  820. @param conf Configuration
  821. @param nameNodeUri The URI of namenode
  822. @return true if failover is configured.]]>
  823. </doc>
  824. </method>
  825. <method name="useLogicalUri" return="boolean"
  826. abstract="false" native="false" synchronized="false"
  827. static="true" final="false" visibility="public"
  828. deprecated="not deprecated">
  829. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  830. <param name="nameNodeUri" type="java.net.URI"/>
  831. <exception name="IOException" type="java.io.IOException"/>
  832. <doc>
  833. <![CDATA[Check whether logical URI is needed for the namenode and
  834. the corresponding failover proxy provider in the config.
  835. @param conf Configuration
  836. @param nameNodeUri The URI of namenode
  837. @return true if logical URI is needed. false, if not needed.
  838. @throws IOException most likely due to misconfiguration.]]>
  839. </doc>
  840. </method>
  841. <method name="getServiceUriFromToken" return="java.net.URI"
  842. abstract="false" native="false" synchronized="false"
  843. static="true" final="false" visibility="public"
  844. deprecated="not deprecated">
  845. <param name="scheme" type="java.lang.String"/>
  846. <param name="token" type="org.apache.hadoop.security.token.Token"/>
  847. <doc>
  848. <![CDATA[Parse the file system URI out of the provided token.]]>
  849. </doc>
  850. </method>
  851. <method name="buildTokenServiceForLogicalUri" return="org.apache.hadoop.io.Text"
  852. abstract="false" native="false" synchronized="false"
  853. static="true" final="false" visibility="public"
  854. deprecated="not deprecated">
  855. <param name="uri" type="java.net.URI"/>
  856. <param name="scheme" type="java.lang.String"/>
  857. <doc>
  858. <![CDATA[Get the service name used in the delegation token for the given logical
  859. HA service.
  860. @param uri the logical URI of the cluster
  861. @param scheme the scheme of the corresponding FileSystem
  862. @return the service name]]>
  863. </doc>
  864. </method>
  865. <method name="isTokenForLogicalUri" return="boolean"
  866. abstract="false" native="false" synchronized="false"
  867. static="true" final="false" visibility="public"
  868. deprecated="not deprecated">
  869. <param name="token" type="org.apache.hadoop.security.token.Token"/>
  870. <doc>
  871. <![CDATA[@return true if this token corresponds to a logical nameservice
  872. rather than a specific namenode.]]>
  873. </doc>
  874. </method>
  875. <method name="buildTokenServicePrefixForLogicalUri" return="java.lang.String"
  876. abstract="false" native="false" synchronized="false"
  877. static="true" final="false" visibility="public"
  878. deprecated="not deprecated">
  879. <param name="scheme" type="java.lang.String"/>
  880. </method>
  881. <method name="cloneDelegationTokenForLogicalUri"
  882. abstract="false" native="false" synchronized="false"
  883. static="true" final="false" visibility="public"
  884. deprecated="not deprecated">
  885. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  886. <param name="haUri" type="java.net.URI"/>
  887. <param name="nnAddrs" type="java.util.Collection"/>
  888. <doc>
  889. <![CDATA[Locate a delegation token associated with the given HA cluster URI, and if
  890. one is found, clone it to also represent the underlying namenode address.
  891. @param ugi the UGI to modify
  892. @param haUri the logical URI for the cluster
  893. @param nnAddrs collection of NNs in the cluster to which the token
  894. applies]]>
  895. </doc>
  896. </method>
  897. <method name="getAddressOfActive" return="java.net.InetSocketAddress"
  898. abstract="false" native="false" synchronized="false"
  899. static="true" final="false" visibility="public"
  900. deprecated="not deprecated">
  901. <param name="fs" type="org.apache.hadoop.fs.FileSystem"/>
  902. <exception name="IOException" type="java.io.IOException"/>
  903. <doc>
  904. <![CDATA[Get the internet address of the currently-active NN. This should rarely be
  905. used, since callers of this method who connect directly to the NN using the
  906. resulting InetSocketAddress will not be able to connect to the active NN if
  907. a failover were to occur after this method has been called.
  908. @param fs the file system to get the active address of.
  909. @return the internet address of the currently-active NN.
  910. @throws IOException if an error occurs while resolving the active NN.]]>
  911. </doc>
  912. </method>
  913. <method name="getProxiesForAllNameNodesInNameservice" return="java.util.List"
  914. abstract="false" native="false" synchronized="false"
  915. static="true" final="false" visibility="public"
  916. deprecated="not deprecated">
  917. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  918. <param name="nsId" type="java.lang.String"/>
  919. <exception name="IOException" type="java.io.IOException"/>
  920. <doc>
  921. <![CDATA[Get an RPC proxy for each NN in an HA nameservice. Used when a given RPC
  922. call should be made on every NN in an HA nameservice, not just the active.
  923. @param conf configuration
  924. @param nsId the nameservice to get all of the proxies for.
  925. @return a list of RPC proxies for each NN in the nameservice.
  926. @throws IOException in the event of error.]]>
  927. </doc>
  928. </method>
  929. <method name="getProxiesForAllNameNodesInNameservice" return="java.util.List"
  930. abstract="false" native="false" synchronized="false"
  931. static="true" final="false" visibility="public"
  932. deprecated="not deprecated">
  933. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  934. <param name="nsId" type="java.lang.String"/>
  935. <param name="xface" type="java.lang.Class"/>
  936. <exception name="IOException" type="java.io.IOException"/>
  937. <doc>
  938. <![CDATA[Get an RPC proxy for each NN in an HA nameservice. Used when a given RPC
  939. call should be made on every NN in an HA nameservice, not just the active.
  940. @param conf configuration
  941. @param nsId the nameservice to get all of the proxies for.
  942. @param xface the protocol class.
  943. @return a list of RPC proxies for each NN in the nameservice.
  944. @throws IOException in the event of error.]]>
  945. </doc>
  946. </method>
  947. <method name="isAtLeastOneActive" return="boolean"
  948. abstract="false" native="false" synchronized="false"
  949. static="true" final="false" visibility="public"
  950. deprecated="not deprecated">
  951. <param name="namenodes" type="java.util.List"/>
  952. <exception name="IOException" type="java.io.IOException"/>
  953. <doc>
  954. <![CDATA[Used to ensure that at least one of the given HA NNs is currently in the
  955. active state..
  956. @param namenodes list of RPC proxies for each NN to check.
  957. @return true if at least one NN is active, false if all are in the standby state.
  958. @throws IOException in the event of error.]]>
  959. </doc>
  960. </method>
  961. </class>
  962. <!-- end class org.apache.hadoop.hdfs.HAUtil -->
  963. <!-- start class org.apache.hadoop.hdfs.KeyProviderCache -->
  964. <class name="KeyProviderCache" extends="java.lang.Object"
  965. abstract="false"
  966. static="false" final="false" visibility="public"
  967. deprecated="not deprecated">
  968. <constructor name="KeyProviderCache" type="long"
  969. static="false" final="false" visibility="public"
  970. deprecated="not deprecated">
  971. </constructor>
  972. <method name="get" return="org.apache.hadoop.crypto.key.KeyProvider"
  973. abstract="false" native="false" synchronized="false"
  974. static="false" final="false" visibility="public"
  975. deprecated="not deprecated">
  976. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  977. </method>
  978. <method name="setKeyProvider"
  979. abstract="false" native="false" synchronized="false"
  980. static="false" final="false" visibility="public"
  981. deprecated="not deprecated">
  982. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  983. <param name="keyProvider" type="org.apache.hadoop.crypto.key.KeyProvider"/>
  984. <exception name="IOException" type="java.io.IOException"/>
  985. </method>
  986. <field name="LOG" type="org.apache.commons.logging.Log"
  987. transient="false" volatile="false"
  988. static="true" final="true" visibility="public"
  989. deprecated="not deprecated">
  990. </field>
  991. </class>
  992. <!-- end class org.apache.hadoop.hdfs.KeyProviderCache -->
  993. <!-- start class org.apache.hadoop.hdfs.NameNodeProxies -->
  994. <class name="NameNodeProxies" extends="java.lang.Object"
  995. abstract="false"
  996. static="false" final="false" visibility="public"
  997. deprecated="not deprecated">
  998. <constructor name="NameNodeProxies"
  999. static="false" final="false" visibility="public"
  1000. deprecated="not deprecated">
  1001. </constructor>
  1002. <method name="createProxy" return="org.apache.hadoop.hdfs.NameNodeProxies.ProxyAndInfo"
  1003. abstract="false" native="false" synchronized="false"
  1004. static="true" final="false" visibility="public"
  1005. deprecated="not deprecated">
  1006. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  1007. <param name="nameNodeUri" type="java.net.URI"/>
  1008. <param name="xface" type="java.lang.Class"/>
  1009. <exception name="IOException" type="java.io.IOException"/>
  1010. <doc>
  1011. <![CDATA[Creates the namenode proxy with the passed protocol. This will handle
  1012. creation of either HA- or non-HA-enabled proxy objects, depending upon
  1013. if the provided URI is a configured logical URI.
  1014. @param conf the configuration containing the required IPC
  1015. properties, client failover configurations, etc.
  1016. @param nameNodeUri the URI pointing either to a specific NameNode
  1017. or to a logical nameservice.
  1018. @param xface the IPC interface which should be created
  1019. @return an object containing both the proxy and the associated
  1020. delegation token service it corresponds to
  1021. @throws IOException if there is an error creating the proxy]]>
  1022. </doc>
  1023. </method>
  1024. <method name="createProxy" return="org.apache.hadoop.hdfs.NameNodeProxies.ProxyAndInfo"
  1025. abstract="false" native="false" synchronized="false"
  1026. static="true" final="false" visibility="public"
  1027. deprecated="not deprecated">
  1028. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  1029. <param name="nameNodeUri" type="java.net.URI"/>
  1030. <param name="xface" type="java.lang.Class"/>
  1031. <param name="fallbackToSimpleAuth" type="java.util.concurrent.atomic.AtomicBoolean"/>
  1032. <exception name="IOException" type="java.io.IOException"/>
  1033. <doc>
  1034. <![CDATA[Creates the namenode proxy with the passed protocol. This will handle
  1035. creation of either HA- or non-HA-enabled proxy objects, depending upon
  1036. if the provided URI is a configured logical URI.
  1037. @param conf the configuration containing the required IPC
  1038. properties, client failover configurations, etc.
  1039. @param nameNodeUri the URI pointing either to a specific NameNode
  1040. or to a logical nameservice.
  1041. @param xface the IPC interface which should be created
  1042. @param fallbackToSimpleAuth set to true or false during calls to indicate if
  1043. a secure client falls back to simple auth
  1044. @return an object containing both the proxy and the associated
  1045. delegation token service it corresponds to
  1046. @throws IOException if there is an error creating the proxy]]>
  1047. </doc>
  1048. </method>
  1049. <method name="createProxyWithLossyRetryHandler" return="org.apache.hadoop.hdfs.NameNodeProxies.ProxyAndInfo"
  1050. abstract="false" native="false" synchronized="false"
  1051. static="true" final="false" visibility="public"
  1052. deprecated="not deprecated">
  1053. <param name="config" type="org.apache.hadoop.conf.Configuration"/>
  1054. <param name="nameNodeUri" type="java.net.URI"/>
  1055. <param name="xface" type="java.lang.Class"/>
  1056. <param name="numResponseToDrop" type="int"/>
  1057. <param name="fallbackToSimpleAuth" type="java.util.concurrent.atomic.AtomicBoolean"/>
  1058. <exception name="IOException" type="java.io.IOException"/>
  1059. <doc>
  1060. <![CDATA[Generate a dummy namenode proxy instance that utilizes our hacked
  1061. {@link LossyRetryInvocationHandler}. Proxy instance generated using this
  1062. method will proactively drop RPC responses. Currently this method only
  1063. support HA setup. null will be returned if the given configuration is not
  1064. for HA.
  1065. @param config the configuration containing the required IPC
  1066. properties, client failover configurations, etc.
  1067. @param nameNodeUri the URI pointing either to a specific NameNode
  1068. or to a logical nameservice.
  1069. @param xface the IPC interface which should be created
  1070. @param numResponseToDrop The number of responses to drop for each RPC call
  1071. @param fallbackToSimpleAuth set to true or false during calls to indicate if
  1072. a secure client falls back to simple auth
  1073. @return an object containing both the proxy and the associated
  1074. delegation token service it corresponds to. Will return null of the
  1075. given configuration does not support HA.
  1076. @throws IOException if there is an error creating the proxy]]>
  1077. </doc>
  1078. </method>
  1079. <method name="createNonHAProxy" return="org.apache.hadoop.hdfs.NameNodeProxies.ProxyAndInfo"
  1080. abstract="false" native="false" synchronized="false"
  1081. static="true" final="false" visibility="public"
  1082. deprecated="not deprecated">
  1083. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  1084. <param name="nnAddr" type="java.net.InetSocketAddress"/>
  1085. <param name="xface" type="java.lang.Class"/>
  1086. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  1087. <param name="withRetries" type="boolean"/>
  1088. <exception name="IOException" type="java.io.IOException"/>
  1089. <doc>
  1090. <![CDATA[Creates an explicitly non-HA-enabled proxy object. Most of the time you
  1091. don't want to use this, and should instead use {@link NameNodeProxies#createProxy}.
  1092. @param conf the configuration object
  1093. @param nnAddr address of the remote NN to connect to
  1094. @param xface the IPC interface which should be created
  1095. @param ugi the user who is making the calls on the proxy object
  1096. @param withRetries certain interfaces have a non-standard retry policy
  1097. @return an object containing both the proxy and the associated
  1098. delegation token service it corresponds to
  1099. @throws IOException]]>
  1100. </doc>
  1101. </method>
  1102. <method name="createNonHAProxy" return="org.apache.hadoop.hdfs.NameNodeProxies.ProxyAndInfo"
  1103. abstract="false" native="false" synchronized="false"
  1104. static="true" final="false" visibility="public"
  1105. deprecated="not deprecated">
  1106. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  1107. <param name="nnAddr" type="java.net.InetSocketAddress"/>
  1108. <param name="xface" type="java.lang.Class"/>
  1109. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  1110. <param name="withRetries" type="boolean"/>
  1111. <param name="fallbackToSimpleAuth" type="java.util.concurrent.atomic.AtomicBoolean"/>
  1112. <exception name="IOException" type="java.io.IOException"/>
  1113. <doc>
  1114. <![CDATA[Creates an explicitly non-HA-enabled proxy object. Most of the time you
  1115. don't want to use this, and should instead use {@link NameNodeProxies#createProxy}.
  1116. @param conf the configuration object
  1117. @param nnAddr address of the remote NN to connect to
  1118. @param xface the IPC interface which should be created
  1119. @param ugi the user who is making the calls on the proxy object
  1120. @param withRetries certain interfaces have a non-standard retry policy
  1121. @param fallbackToSimpleAuth - set to true or false during this method to
  1122. indicate if a secure client falls back to simple auth
  1123. @return an object containing both the proxy and the associated
  1124. delegation token service it corresponds to
  1125. @throws IOException]]>
  1126. </doc>
  1127. </method>
  1128. <method name="getFailoverProxyProviderClass" return="java.lang.Class"
  1129. abstract="false" native="false" synchronized="false"
  1130. static="true" final="false" visibility="public"
  1131. deprecated="not deprecated">
  1132. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  1133. <param name="nameNodeUri" type="java.net.URI"/>
  1134. <exception name="IOException" type="java.io.IOException"/>
  1135. <doc>
  1136. <![CDATA[Gets the configured Failover proxy provider's class]]>
  1137. </doc>
  1138. </method>
  1139. <method name="createFailoverProxyProvider" return="org.apache.hadoop.hdfs.server.namenode.ha.AbstractNNFailoverProxyProvider"
  1140. abstract="false" native="false" synchronized="false"
  1141. static="true" final="false" visibility="public"
  1142. deprecated="not deprecated">
  1143. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  1144. <param name="nameNodeUri" type="java.net.URI"/>
  1145. <param name="xface" type="java.lang.Class"/>
  1146. <param name="checkPort" type="boolean"/>
  1147. <param name="fallbackToSimpleAuth" type="java.util.concurrent.atomic.AtomicBoolean"/>
  1148. <exception name="IOException" type="java.io.IOException"/>
  1149. <doc>
  1150. <![CDATA[Creates the Failover proxy provider instance]]>
  1151. </doc>
  1152. </method>
  1153. <doc>
  1154. <![CDATA[Create proxy objects to communicate with a remote NN. All remote access to an
  1155. NN should be funneled through this class. Most of the time you'll want to use
  1156. {@link NameNodeProxies#createProxy(Configuration, URI, Class)}, which will
  1157. create either an HA- or non-HA-enabled client proxy as appropriate.]]>
  1158. </doc>
  1159. </class>
  1160. <!-- end class org.apache.hadoop.hdfs.NameNodeProxies -->
  1161. <!-- start class org.apache.hadoop.hdfs.NameNodeProxies.ProxyAndInfo -->
  1162. <class name="NameNodeProxies.ProxyAndInfo" extends="java.lang.Object"
  1163. abstract="false"
  1164. static="true" final="false" visibility="public"
  1165. deprecated="not deprecated">
  1166. <constructor name="ProxyAndInfo" type="PROXYTYPE, org.apache.hadoop.io.Text, java.net.InetSocketAddress"
  1167. static="false" final="false" visibility="public"
  1168. deprecated="not deprecated">
  1169. </constructor>
  1170. <method name="getProxy" return="PROXYTYPE"
  1171. abstract="false" native="false" synchronized="false"
  1172. static="false" final="false" visibility="public"
  1173. deprecated="not deprecated">
  1174. </method>
  1175. <method name="getDelegationTokenService" return="org.apache.hadoop.io.Text"
  1176. abstract="false" native="false" synchronized="false"
  1177. static="false" final="false" visibility="public"
  1178. deprecated="not deprecated">
  1179. </method>
  1180. <method name="getAddress" return="java.net.InetSocketAddress"
  1181. abstract="false" native="false" synchronized="false"
  1182. static="false" final="false" visibility="public"
  1183. deprecated="not deprecated">
  1184. </method>
  1185. <doc>
  1186. <![CDATA[Wrapper for a client proxy as well as its associated service ID.
  1187. This is simply used as a tuple-like return type for
  1188. {@link NameNodeProxies#createProxy} and
  1189. {@link NameNodeProxies#createNonHAProxy}.]]>
  1190. </doc>
  1191. </class>
  1192. <!-- end class org.apache.hadoop.hdfs.NameNodeProxies.ProxyAndInfo -->
  1193. <!-- start interface org.apache.hadoop.hdfs.RemotePeerFactory -->
  1194. <interface name="RemotePeerFactory" abstract="true"
  1195. static="false" final="false" visibility="public"
  1196. deprecated="not deprecated">
  1197. <method name="newConnectedPeer" return="org.apache.hadoop.hdfs.net.Peer"
  1198. abstract="true" native="false" synchronized="false"
  1199. static="false" final="false" visibility="public"
  1200. deprecated="not deprecated">
  1201. <param name="addr" type="java.net.InetSocketAddress"/>
  1202. <param name="blockToken" type="org.apache.hadoop.security.token.Token"/>
  1203. <param name="datanodeId" type="org.apache.hadoop.hdfs.protocol.DatanodeID"/>
  1204. <exception name="IOException" type="java.io.IOException"/>
  1205. <doc>
  1206. <![CDATA[@param addr The address to connect to.
  1207. @param blockToken Token used during optional SASL negotiation
  1208. @param datanodeId ID of destination DataNode
  1209. @return A new Peer connected to the address.
  1210. @throws IOException If there was an error connecting or creating
  1211. the remote socket, encrypted stream, etc.]]>
  1212. </doc>
  1213. </method>
  1214. </interface>
  1215. <!-- end interface org.apache.hadoop.hdfs.RemotePeerFactory -->
  1216. <!-- start class org.apache.hadoop.hdfs.UnknownCipherSuiteException -->
  1217. <class name="UnknownCipherSuiteException" extends="java.io.IOException"
  1218. abstract="false"
  1219. static="false" final="false" visibility="public"
  1220. deprecated="not deprecated">
  1221. <constructor name="UnknownCipherSuiteException" type="java.lang.String"
  1222. static="false" final="false" visibility="public"
  1223. deprecated="not deprecated">
  1224. </constructor>
  1225. <doc>
  1226. <![CDATA[Thrown when an unknown cipher suite is encountered.]]>
  1227. </doc>
  1228. </class>
  1229. <!-- end class org.apache.hadoop.hdfs.UnknownCipherSuiteException -->
  1230. <!-- start class org.apache.hadoop.hdfs.UnknownCryptoProtocolVersionException -->
  1231. <class name="UnknownCryptoProtocolVersionException" extends="java.io.IOException"
  1232. abstract="false"
  1233. static="false" final="false" visibility="public"
  1234. deprecated="not deprecated">
  1235. <constructor name="UnknownCryptoProtocolVersionException"
  1236. static="false" final="false" visibility="public"
  1237. deprecated="not deprecated">
  1238. </constructor>
  1239. <constructor name="UnknownCryptoProtocolVersionException" type="java.lang.String"
  1240. static="false" final="false" visibility="public"
  1241. deprecated="not deprecated">
  1242. </constructor>
  1243. </class>
  1244. <!-- end class org.apache.hadoop.hdfs.UnknownCryptoProtocolVersionException -->
  1245. <doc>
  1246. <![CDATA[<p>A distributed implementation of {@link
  1247. org.apache.hadoop.fs.FileSystem}. This is loosely modelled after
  1248. Google's <a href="http://research.google.com/archive/gfs.html">GFS</a>.</p>
  1249. <p>The most important difference is that unlike GFS, Hadoop DFS files
  1250. have strictly one writer at any one time. Bytes are always appended
  1251. to the end of the writer's stream. There is no notion of "record appends"
  1252. or "mutations" that are then checked or reordered. Writers simply emit
  1253. a byte stream. That byte stream is guaranteed to be stored in the
  1254. order written.</p>]]>
  1255. </doc>
  1256. </package>
  1257. <package name="org.apache.hadoop.hdfs.client">
  1258. <!-- start class org.apache.hadoop.hdfs.client.BlockReportOptions -->
  1259. <class name="BlockReportOptions" extends="java.lang.Object"
  1260. abstract="false"
  1261. static="false" final="true" visibility="public"
  1262. deprecated="not deprecated">
  1263. <method name="isIncremental" return="boolean"
  1264. abstract="false" native="false" synchronized="false"
  1265. static="false" final="false" visibility="public"
  1266. deprecated="not deprecated">
  1267. </method>
  1268. <method name="toString" return="java.lang.String"
  1269. abstract="false" native="false" synchronized="false"
  1270. static="false" final="false" visibility="public"
  1271. deprecated="not deprecated">
  1272. </method>
  1273. <doc>
  1274. <![CDATA[Options that can be specified when manually triggering a block report.]]>
  1275. </doc>
  1276. </class>
  1277. <!-- end class org.apache.hadoop.hdfs.client.BlockReportOptions -->
  1278. <!-- start class org.apache.hadoop.hdfs.client.BlockReportOptions.Factory -->
  1279. <class name="BlockReportOptions.Factory" extends="java.lang.Object"
  1280. abstract="false"
  1281. static="true" final="false" visibility="public"
  1282. deprecated="not deprecated">
  1283. <constructor name="Factory"
  1284. static="false" final="false" visibility="public"
  1285. deprecated="not deprecated">
  1286. </constructor>
  1287. <method name="setIncremental" return="org.apache.hadoop.hdfs.client.BlockReportOptions.Factory"
  1288. abstract="false" native="false" synchronized="false"
  1289. static="false" final="false" visibility="public"
  1290. deprecated="not deprecated">
  1291. <param name="incremental" type="boolean"/>
  1292. </method>
  1293. <method name="build" return="org.apache.hadoop.hdfs.client.BlockReportOptions"
  1294. abstract="false" native="false" synchronized="false"
  1295. static="false" final="false" visibility="public"
  1296. deprecated="not deprecated">
  1297. </method>
  1298. </class>
  1299. <!-- end class org.apache.hadoop.hdfs.client.BlockReportOptions.Factory -->
  1300. <!-- start class org.apache.hadoop.hdfs.client.HdfsAdmin -->
  1301. <class name="HdfsAdmin" extends="java.lang.Object"
  1302. abstract="false"
  1303. static="false" final="false" visibility="public"
  1304. deprecated="not deprecated">
  1305. <constructor name="HdfsAdmin" type="java.net.URI, org.apache.hadoop.conf.Configuration"
  1306. static="false" final="false" visibility="public"
  1307. deprecated="not deprecated">
  1308. <exception name="IOException" type="java.io.IOException"/>
  1309. <doc>
  1310. <![CDATA[Create a new HdfsAdmin client.
  1311. @param uri the unique URI of the HDFS file system to administer
  1312. @param conf configuration
  1313. @throws IOException in the event the file system could not be created]]>
  1314. </doc>
  1315. </constructor>
  1316. <method name="setQuota"
  1317. abstract="false" native="false" synchronized="false"
  1318. static="false" final="false" visibility="public"
  1319. deprecated="not deprecated">
  1320. <param name="src" type="org.apache.hadoop.fs.Path"/>
  1321. <param name="quota" type="long"/>
  1322. <exception name="IOException" type="java.io.IOException"/>
  1323. <doc>
  1324. <![CDATA[Set the namespace quota (count of files, directories, and sym links) for a
  1325. directory.
  1326. @param src the path to set the quota for
  1327. @param quota the value to set for the quota
  1328. @throws IOException in the event of error]]>
  1329. </doc>
  1330. </method>
  1331. <method name="clearQuota"
  1332. abstract="false" native="false" synchronized="false"
  1333. static="false" final="false" visibility="public"
  1334. deprecated="not deprecated">
  1335. <param name="src" type="org.apache.hadoop.fs.Path"/>
  1336. <exception name="IOException" type="java.io.IOException"/>
  1337. <doc>
  1338. <![CDATA[Clear the namespace quota (count of files, directories and sym links) for a
  1339. directory.
  1340. @param src the path to clear the quota of
  1341. @throws IOException in the event of error]]>
  1342. </doc>
  1343. </method>
  1344. <method name="setSpaceQuota"
  1345. abstract="false" native="false" synchronized="false"
  1346. static="false" final="false" visibility="public"
  1347. deprecated="not deprecated">
  1348. <param name="src" type="org.apache.hadoop.fs.Path"/>
  1349. <param name="spaceQuota" type="long"/>
  1350. <exception name="IOException" type="java.io.IOException"/>
  1351. <doc>
  1352. <![CDATA[Set the storage space quota (size of files) for a directory. Note that
  1353. directories and sym links do not occupy storage space.
  1354. @param src the path to set the space quota of
  1355. @param spaceQuota the value to set for the space quota
  1356. @throws IOException in the event of error]]>
  1357. </doc>
  1358. </method>
  1359. <method name="clearSpaceQuota"
  1360. abstract="false" native="false" synchronized="false"
  1361. static="false" final="false" visibility="public"
  1362. deprecated="not deprecated">
  1363. <param name="src" type="org.apache.hadoop.fs.Path"/>
  1364. <exception name="IOException" type="java.io.IOException"/>
  1365. <doc>
  1366. <![CDATA[Clear the storage space quota (size of files) for a directory. Note that
  1367. directories and sym links do not occupy storage space.
  1368. @param src the path to clear the space quota of
  1369. @throws IOException in the event of error]]>
  1370. </doc>
  1371. </method>
  1372. <method name="setQuotaByStorageType"
  1373. abstract="false" native="false" synchronized="false"
  1374. static="false" final="false" visibility="public"
  1375. deprecated="not deprecated">
  1376. <param name="src" type="org.apache.hadoop.fs.Path"/>
  1377. <param name="type" type="org.apache.hadoop.fs.StorageType"/>
  1378. <param name="quota" type="long"/>
  1379. <exception name="IOException" type="java.io.IOException"/>
  1380. <doc>
  1381. <![CDATA[Set the quota by storage type for a directory. Note that
  1382. directories and sym links do not occupy storage type quota.
  1383. @param src the target directory to set the quota by storage type
  1384. @param type the storage type to set for quota by storage type
  1385. @param quota the value to set for quota by storage type
  1386. @throws IOException in the event of error]]>
  1387. </doc>
  1388. </method>
  1389. <method name="clearQuotaByStorageType"
  1390. abstract="false" native="false" synchronized="false"
  1391. static="false" final="false" visibility="public"
  1392. deprecated="not deprecated">
  1393. <param name="src" type="org.apache.hadoop.fs.Path"/>
  1394. <param name="type" type="org.apache.hadoop.fs.StorageType"/>
  1395. <exception name="IOException" type="java.io.IOException"/>
  1396. <doc>
  1397. <![CDATA[Clear the space quota by storage type for a directory. Note that
  1398. directories and sym links do not occupy storage type quota.
  1399. @param src the target directory to clear the quota by storage type
  1400. @param type the storage type to clear for quota by storage type
  1401. @throws IOException in the event of error]]>
  1402. </doc>
  1403. </method>
  1404. <method name="allowSnapshot"
  1405. abstract="false" native="false" synchronized="false"
  1406. static="false" final="false" visibility="public"
  1407. deprecated="not deprecated">
  1408. <param name="path" type="org.apache.hadoop.fs.Path"/>
  1409. <exception name="IOException" type="java.io.IOException"/>
  1410. <doc>
  1411. <![CDATA[Allow snapshot on a directory.
  1412. @param path The path of the directory where snapshots will be taken.]]>
  1413. </doc>
  1414. </method>
  1415. <method name="disallowSnapshot"
  1416. abstract="false" native="false" synchronized="false"
  1417. static="false" final="false" visibility="public"
  1418. deprecated="not deprecated">
  1419. <param name="path" type="org.apache.hadoop.fs.Path"/>
  1420. <exception name="IOException" type="java.io.IOException"/>
  1421. <doc>
  1422. <![CDATA[Disallow snapshot on a directory.
  1423. @param path The path of the snapshottable directory.]]>
  1424. </doc>
  1425. </method>
  1426. <method name="addCacheDirective" return="long"
  1427. abstract="false" native="false" synchronized="false"
  1428. static="false" final="false" visibility="public"
  1429. deprecated="not deprecated">
  1430. <param name="info" type="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo"/>
  1431. <param name="flags" type="java.util.EnumSet"/>
  1432. <exception name="IOException" type="java.io.IOException"/>
  1433. <doc>
  1434. <![CDATA[Add a new CacheDirectiveInfo.
  1435. @param info Information about a directive to add.
  1436. @param flags {@link CacheFlag}s to use for this operation.
  1437. @return the ID of the directive that was created.
  1438. @throws IOException if the directive could not be added]]>
  1439. </doc>
  1440. </method>
  1441. <method name="modifyCacheDirective"
  1442. abstract="false" native="false" synchronized="false"
  1443. static="false" final="false" visibility="public"
  1444. deprecated="not deprecated">
  1445. <param name="info" type="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo"/>
  1446. <param name="flags" type="java.util.EnumSet"/>
  1447. <exception name="IOException" type="java.io.IOException"/>
  1448. <doc>
  1449. <![CDATA[Modify a CacheDirective.
  1450. @param info Information about the directive to modify. You must set the ID
  1451. to indicate which CacheDirective you want to modify.
  1452. @param flags {@link CacheFlag}s to use for this operation.
  1453. @throws IOException if the directive could not be modified]]>
  1454. </doc>
  1455. </method>
  1456. <method name="removeCacheDirective"
  1457. abstract="false" native="false" synchronized="false"
  1458. static="false" final="false" visibility="public"
  1459. deprecated="not deprecated">
  1460. <param name="id" type="long"/>
  1461. <exception name="IOException" type="java.io.IOException"/>
  1462. <doc>
  1463. <![CDATA[Remove a CacheDirective.
  1464. @param id identifier of the CacheDirectiveInfo to remove
  1465. @throws IOException if the directive could not be removed]]>
  1466. </doc>
  1467. </method>
  1468. <method name="listCacheDirectives" return="org.apache.hadoop.fs.RemoteIterator"
  1469. abstract="false" native="false" synchronized="false"
  1470. static="false" final="false" visibility="public"
  1471. deprecated="not deprecated">
  1472. <param name="filter" type="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo"/>
  1473. <exception name="IOException" type="java.io.IOException"/>
  1474. <doc>
  1475. <![CDATA[List cache directives. Incrementally fetches results from the server.
  1476. @param filter Filter parameters to use when listing the directives, null to
  1477. list all directives visible to us.
  1478. @return A RemoteIterator which returns CacheDirectiveInfo objects.]]>
  1479. </doc>
  1480. </method>
  1481. <method name="addCachePool"
  1482. abstract="false" native="false" synchronized="false"
  1483. static="false" final="false" visibility="public"
  1484. deprecated="not deprecated">
  1485. <param name="info" type="org.apache.hadoop.hdfs.protocol.CachePoolInfo"/>
  1486. <exception name="IOException" type="java.io.IOException"/>
  1487. <doc>
  1488. <![CDATA[Add a cache pool.
  1489. @param info
  1490. The request to add a cache pool.
  1491. @throws IOException
  1492. If the request could not be completed.]]>
  1493. </doc>
  1494. </method>
  1495. <method name="modifyCachePool"
  1496. abstract="false" native="false" synchronized="false"
  1497. static="false" final="false" visibility="public"
  1498. deprecated="not deprecated">
  1499. <param name="info" type="org.apache.hadoop.hdfs.protocol.CachePoolInfo"/>
  1500. <exception name="IOException" type="java.io.IOException"/>
  1501. <doc>
  1502. <![CDATA[Modify an existing cache pool.
  1503. @param info
  1504. The request to modify a cache pool.
  1505. @throws IOException
  1506. If the request could not be completed.]]>
  1507. </doc>
  1508. </method>
  1509. <method name="removeCachePool"
  1510. abstract="false" native="false" synchronized="false"
  1511. static="false" final="false" visibility="public"
  1512. deprecated="not deprecated">
  1513. <param name="poolName" type="java.lang.String"/>
  1514. <exception name="IOException" type="java.io.IOException"/>
  1515. <doc>
  1516. <![CDATA[Remove a cache pool.
  1517. @param poolName
  1518. Name of the cache pool to remove.
  1519. @throws IOException
  1520. if the cache pool did not exist, or could not be removed.]]>
  1521. </doc>
  1522. </method>
  1523. <method name="listCachePools" return="org.apache.hadoop.fs.RemoteIterator"
  1524. abstract="false" native="false" synchronized="false"
  1525. static="false" final="false" visibility="public"
  1526. deprecated="not deprecated">
  1527. <exception name="IOException" type="java.io.IOException"/>
  1528. <doc>
  1529. <![CDATA[List all cache pools.
  1530. @return A remote iterator from which you can get CachePoolEntry objects.
  1531. Requests will be made as needed.
  1532. @throws IOException
  1533. If there was an error listing cache pools.]]>
  1534. </doc>
  1535. </method>
  1536. <method name="createEncryptionZone"
  1537. abstract="false" native="false" synchronized="false"
  1538. static="false" final="false" visibility="public"
  1539. deprecated="not deprecated">
  1540. <param name="path" type="org.apache.hadoop.fs.Path"/>
  1541. <param name="keyName" type="java.lang.String"/>
  1542. <exception name="IOException" type="java.io.IOException"/>
  1543. <exception name="AccessControlException" type="org.apache.hadoop.security.AccessControlException"/>
  1544. <exception name="FileNotFoundException" type="java.io.FileNotFoundException"/>
  1545. <doc>
  1546. <![CDATA[Create an encryption zone rooted at an empty existing directory, using the
  1547. specified encryption key. An encryption zone has an associated encryption
  1548. key used when reading and writing files within the zone.
  1549. @param path The path of the root of the encryption zone. Must refer to
  1550. an empty, existing directory.
  1551. @param keyName Name of key available at the KeyProvider.
  1552. @throws IOException if there was a general IO exception
  1553. @throws AccessControlException if the caller does not have access to path
  1554. @throws FileNotFoundException if the path does not exist]]>
  1555. </doc>
  1556. </method>
  1557. <method name="getEncryptionZoneForPath" return="org.apache.hadoop.hdfs.protocol.EncryptionZone"
  1558. abstract="false" native="false" synchronized="false"
  1559. static="false" final="false" visibility="public"
  1560. deprecated="not deprecated">
  1561. <param name="path" type="org.apache.hadoop.fs.Path"/>
  1562. <exception name="IOException" type="java.io.IOException"/>
  1563. <exception name="AccessControlException" type="org.apache.hadoop.security.AccessControlException"/>
  1564. <exception name="FileNotFoundException" type="java.io.FileNotFoundException"/>
  1565. <doc>
  1566. <![CDATA[Get the path of the encryption zone for a given file or directory.
  1567. @param path The path to get the ez for.
  1568. @return The EncryptionZone of the ez, or null if path is not in an ez.
  1569. @throws IOException if there was a general IO exception
  1570. @throws AccessControlException if the caller does not have access to path
  1571. @throws FileNotFoundException if the path does not exist]]>
  1572. </doc>
  1573. </method>
  1574. <method name="listEncryptionZones" return="org.apache.hadoop.fs.RemoteIterator"
  1575. abstract="false" native="false" synchronized="false"
  1576. static="false" final="false" visibility="public"
  1577. deprecated="not deprecated">
  1578. <exception name="IOException" type="java.io.IOException"/>
  1579. <doc>
  1580. <![CDATA[Returns a RemoteIterator which can be used to list the encryption zones
  1581. in HDFS. For large numbers of encryption zones, the iterator will fetch
  1582. the list of zones in a number of small batches.
  1583. <p/>
  1584. Since the list is fetched in batches, it does not represent a
  1585. consistent snapshot of the entire list of encryption zones.
  1586. <p/>
  1587. This method can only be called by HDFS superusers.]]>
  1588. </doc>
  1589. </method>
  1590. <method name="getInotifyEventStream" return="org.apache.hadoop.hdfs.DFSInotifyEventInputStream"
  1591. abstract="false" native="false" synchronized="false"
  1592. static="false" final="false" visibility="public"
  1593. deprecated="not deprecated">
  1594. <exception name="IOException" type="java.io.IOException"/>
  1595. <doc>
  1596. <![CDATA[Exposes a stream of namesystem events. Only events occurring after the
  1597. stream is created are available.
  1598. See {@link org.apache.hadoop.hdfs.DFSInotifyEventInputStream}
  1599. for information on stream usage.
  1600. See {@link org.apache.hadoop.hdfs.inotify.Event}
  1601. for information on the available events.
  1602. <p/>
  1603. Inotify users may want to tune the following HDFS parameters to
  1604. ensure that enough extra HDFS edits are saved to support inotify clients
  1605. that fall behind the current state of the namespace while reading events.
  1606. The default parameter values should generally be reasonable. If edits are
  1607. deleted before their corresponding events can be read, clients will see a
  1608. {@link org.apache.hadoop.hdfs.inotify.MissingEventsException} on
  1609. {@link org.apache.hadoop.hdfs.DFSInotifyEventInputStream} method calls.
  1610. It should generally be sufficient to tune these parameters:
  1611. dfs.namenode.num.extra.edits.retained
  1612. dfs.namenode.max.extra.edits.segments.retained
  1613. Parameters that affect the number of created segments and the number of
  1614. edits that are considered necessary, i.e. do not count towards the
  1615. dfs.namenode.num.extra.edits.retained quota):
  1616. dfs.namenode.checkpoint.period
  1617. dfs.namenode.checkpoint.txns
  1618. dfs.namenode.num.checkpoints.retained
  1619. dfs.ha.log-roll.period
  1620. <p/>
  1621. It is recommended that local journaling be configured
  1622. (dfs.namenode.edits.dir) for inotify (in addition to a shared journal)
  1623. so that edit transfers from the shared journal can be avoided.
  1624. @throws IOException If there was an error obtaining the stream.]]>
  1625. </doc>
  1626. </method>
  1627. <method name="getInotifyEventStream" return="org.apache.hadoop.hdfs.DFSInotifyEventInputStream"
  1628. abstract="false" native="false" synchronized="false"
  1629. static="false" final="false" visibility="public"
  1630. deprecated="not deprecated">
  1631. <param name="lastReadTxid" type="long"/>
  1632. <exception name="IOException" type="java.io.IOException"/>
  1633. <doc>
  1634. <![CDATA[A version of {@link HdfsAdmin#getInotifyEventStream()} meant for advanced
  1635. users who are aware of HDFS edits up to lastReadTxid (e.g. because they
  1636. have access to an FSImage inclusive of lastReadTxid) and only want to read
  1637. events after this point.]]>
  1638. </doc>
  1639. </method>
  1640. <method name="setStoragePolicy"
  1641. abstract="false" native="false" synchronized="false"
  1642. static="false" final="false" visibility="public"
  1643. deprecated="not deprecated">
  1644. <param name="src" type="org.apache.hadoop.fs.Path"/>
  1645. <param name="policyName" type="java.lang.String"/>
  1646. <exception name="IOException" type="java.io.IOException"/>
  1647. <doc>
  1648. <![CDATA[Set the source path to the specified storage policy.
  1649. @param src The source path referring to either a directory or a file.
  1650. @param policyName The name of the storage policy.]]>
  1651. </doc>
  1652. </method>
  1653. <doc>
  1654. <![CDATA[The public API for performing administrative functions on HDFS. Those writing
  1655. applications against HDFS should prefer this interface to directly accessing
  1656. functionality in DistributedFileSystem or DFSClient.
  1657. Note that this is distinct from the similarly-named {@link DFSAdmin}, which
  1658. is a class that provides the functionality for the CLI `hdfs dfsadmin ...'
  1659. commands.]]>
  1660. </doc>
  1661. </class>
  1662. <!-- end class org.apache.hadoop.hdfs.client.HdfsAdmin -->
  1663. <!-- start class org.apache.hadoop.hdfs.client.HdfsDataInputStream -->
  1664. <class name="HdfsDataInputStream" extends="org.apache.hadoop.fs.FSDataInputStream"
  1665. abstract="false"
  1666. static="false" final="false" visibility="public"
  1667. deprecated="not deprecated">
  1668. <constructor name="HdfsDataInputStream" type="org.apache.hadoop.hdfs.DFSInputStream"
  1669. static="false" final="false" visibility="public"
  1670. deprecated="not deprecated">
  1671. <exception name="IOException" type="java.io.IOException"/>
  1672. </constructor>
  1673. <constructor name="HdfsDataInputStream" type="org.apache.hadoop.crypto.CryptoInputStream"
  1674. static="false" final="false" visibility="public"
  1675. deprecated="not deprecated">
  1676. <exception name="IOException" type="java.io.IOException"/>
  1677. </constructor>
  1678. <method name="getWrappedStream" return="java.io.InputStream"
  1679. abstract="false" native="false" synchronized="false"
  1680. static="false" final="false" visibility="public"
  1681. deprecated="not deprecated">
  1682. <doc>
  1683. <![CDATA[Get a reference to the wrapped output stream. We always want to return the
  1684. actual underlying InputStream, even when we're using a CryptoStream. e.g.
  1685. in the delegated methods below.
  1686. @return the underlying output stream]]>
  1687. </doc>
  1688. </method>
  1689. <method name="getCurrentDatanode" return="org.apache.hadoop.hdfs.protocol.DatanodeInfo"
  1690. abstract="false" native="false" synchronized="false"
  1691. static="false" final="false" visibility="public"
  1692. deprecated="not deprecated">
  1693. <doc>
  1694. <![CDATA[Get the datanode from which the stream is currently reading.]]>
  1695. </doc>
  1696. </method>
  1697. <method name="getCurrentBlock" return="org.apache.hadoop.hdfs.protocol.ExtendedBlock"
  1698. abstract="false" native="false" synchronized="false"
  1699. static="false" final="false" visibility="public"
  1700. deprecated="not deprecated">
  1701. <doc>
  1702. <![CDATA[Get the block containing the target position.]]>
  1703. </doc>
  1704. </method>
  1705. <method name="getAllBlocks" return="java.util.List"
  1706. abstract="false" native="false" synchronized="false"
  1707. static="false" final="false" visibility="public"
  1708. deprecated="not deprecated">
  1709. <exception name="IOException" type="java.io.IOException"/>
  1710. <doc>
  1711. <![CDATA[Get the collection of blocks that has already been located.]]>
  1712. </doc>
  1713. </method>
  1714. <method name="getVisibleLength" return="long"
  1715. abstract="false" native="false" synchronized="false"
  1716. static="false" final="false" visibility="public"
  1717. deprecated="not deprecated">
  1718. <exception name="IOException" type="java.io.IOException"/>
  1719. <doc>
  1720. <![CDATA[Get the visible length of the file. It will include the length of the last
  1721. block even if that is in UnderConstruction state.
  1722. @return The visible length of the file.]]>
  1723. </doc>
  1724. </method>
  1725. <method name="getReadStatistics" return="org.apache.hadoop.hdfs.DFSInputStream.ReadStatistics"
  1726. abstract="false" native="false" synchronized="false"
  1727. static="false" final="false" visibility="public"
  1728. deprecated="not deprecated">
  1729. <doc>
  1730. <![CDATA[Get statistics about the reads which this DFSInputStream has done.
  1731. Note that because HdfsDataInputStream is buffered, these stats may
  1732. be higher than you would expect just by adding up the number of
  1733. bytes read through HdfsDataInputStream.]]>
  1734. </doc>
  1735. </method>
  1736. <method name="clearReadStatistics"
  1737. abstract="false" native="false" synchronized="false"
  1738. static="false" final="false" visibility="public"
  1739. deprecated="not deprecated">
  1740. </method>
  1741. <doc>
  1742. <![CDATA[The Hdfs implementation of {@link FSDataInputStream}.]]>
  1743. </doc>
  1744. </class>
  1745. <!-- end class org.apache.hadoop.hdfs.client.HdfsDataInputStream -->
  1746. <!-- start class org.apache.hadoop.hdfs.client.HdfsDataOutputStream -->
  1747. <class name="HdfsDataOutputStream" extends="org.apache.hadoop.fs.FSDataOutputStream"
  1748. abstract="false"
  1749. static="false" final="false" visibility="public"
  1750. deprecated="not deprecated">
  1751. <constructor name="HdfsDataOutputStream" type="org.apache.hadoop.hdfs.DFSOutputStream, org.apache.hadoop.fs.FileSystem.Statistics, long"
  1752. static="false" final="false" visibility="public"
  1753. deprecated="not deprecated">
  1754. <exception name="IOException" type="java.io.IOException"/>
  1755. </constructor>
  1756. <constructor name="HdfsDataOutputStream" type="org.apache.hadoop.hdfs.DFSOutputStream, org.apache.hadoop.fs.FileSystem.Statistics"
  1757. static="false" final="false" visibility="public"
  1758. deprecated="not deprecated">
  1759. <exception name="IOException" type="java.io.IOException"/>
  1760. </constructor>
  1761. <constructor name="HdfsDataOutputStream" type="org.apache.hadoop.crypto.CryptoOutputStream, org.apache.hadoop.fs.FileSystem.Statistics, long"
  1762. static="false" final="false" visibility="public"
  1763. deprecated="not deprecated">
  1764. <exception name="IOException" type="java.io.IOException"/>
  1765. </constructor>
  1766. <constructor name="HdfsDataOutputStream" type="org.apache.hadoop.crypto.CryptoOutputStream, org.apache.hadoop.fs.FileSystem.Statistics"
  1767. static="false" final="false" visibility="public"
  1768. deprecated="not deprecated">
  1769. <exception name="IOException" type="java.io.IOException"/>
  1770. </constructor>
  1771. <method name="getCurrentBlockReplication" return="int"
  1772. abstract="false" native="false" synchronized="true"
  1773. static="false" final="false" visibility="public"
  1774. deprecated="not deprecated">
  1775. <exception name="IOException" type="java.io.IOException"/>
  1776. <doc>
  1777. <![CDATA[Get the actual number of replicas of the current block.
  1778. This can be different from the designated replication factor of the file
  1779. because the namenode does not maintain replication for the blocks which are
  1780. currently being written to. Depending on the configuration, the client may
  1781. continue to write to a block even if a few datanodes in the write pipeline
  1782. have failed, or the client may add a new datanodes once a datanode has
  1783. failed.
  1784. @return the number of valid replicas of the current block]]>
  1785. </doc>
  1786. </method>
  1787. <method name="hsync"
  1788. abstract="false" native="false" synchronized="false"
  1789. static="false" final="false" visibility="public"
  1790. deprecated="not deprecated">
  1791. <param name="syncFlags" type="java.util.EnumSet"/>
  1792. <exception name="IOException" type="java.io.IOException"/>
  1793. <doc>
  1794. <![CDATA[Sync buffered data to DataNodes (flush to disk devices).
  1795. @param syncFlags
  1796. Indicate the detailed semantic and actions of the hsync.
  1797. @throws IOException
  1798. @see FSDataOutputStream#hsync()]]>
  1799. </doc>
  1800. </method>
  1801. <doc>
  1802. <![CDATA[The Hdfs implementation of {@link FSDataOutputStream}.]]>
  1803. </doc>
  1804. </class>
  1805. <!-- end class org.apache.hadoop.hdfs.client.HdfsDataOutputStream -->
  1806. <!-- start class org.apache.hadoop.hdfs.client.HdfsDataOutputStream.SyncFlag -->
  1807. <class name="HdfsDataOutputStream.SyncFlag" extends="java.lang.Enum"
  1808. abstract="false"
  1809. static="true" final="true" visibility="public"
  1810. deprecated="not deprecated">
  1811. <method name="values" return="org.apache.hadoop.hdfs.client.HdfsDataOutputStream.SyncFlag[]"
  1812. abstract="false" native="false" synchronized="false"
  1813. static="true" final="false" visibility="public"
  1814. deprecated="not deprecated">
  1815. </method>
  1816. <method name="valueOf" return="org.apache.hadoop.hdfs.client.HdfsDataOutputStream.SyncFlag"
  1817. abstract="false" native="false" synchronized="false"
  1818. static="true" final="false" visibility="public"
  1819. deprecated="not deprecated">
  1820. <param name="name" type="java.lang.String"/>
  1821. </method>
  1822. </class>
  1823. <!-- end class org.apache.hadoop.hdfs.client.HdfsDataOutputStream.SyncFlag -->
  1824. <!-- start class org.apache.hadoop.hdfs.client.HdfsUtils -->
  1825. <class name="HdfsUtils" extends="java.lang.Object"
  1826. abstract="false"
  1827. static="false" final="false" visibility="public"
  1828. deprecated="not deprecated">
  1829. <constructor name="HdfsUtils"
  1830. static="false" final="false" visibility="public"
  1831. deprecated="not deprecated">
  1832. </constructor>
  1833. <method name="isHealthy" return="boolean"
  1834. abstract="false" native="false" synchronized="false"
  1835. static="true" final="false" visibility="public"
  1836. deprecated="not deprecated">
  1837. <param name="uri" type="java.net.URI"/>
  1838. <doc>
  1839. <![CDATA[Is the HDFS healthy?
  1840. HDFS is considered as healthy if it is up and not in safemode.
  1841. @param uri the HDFS URI. Note that the URI path is ignored.
  1842. @return true if HDFS is healthy; false, otherwise.]]>
  1843. </doc>
  1844. </method>
  1845. <doc>
  1846. <![CDATA[The public utility API for HDFS.]]>
  1847. </doc>
  1848. </class>
  1849. <!-- end class org.apache.hadoop.hdfs.client.HdfsUtils -->
  1850. </package>
  1851. <package name="org.apache.hadoop.hdfs.inotify">
  1852. <!-- start class org.apache.hadoop.hdfs.inotify.Event -->
  1853. <class name="Event" extends="java.lang.Object"
  1854. abstract="true"
  1855. static="false" final="false" visibility="public"
  1856. deprecated="not deprecated">
  1857. <constructor name="Event" type="org.apache.hadoop.hdfs.inotify.Event.EventType"
  1858. static="false" final="false" visibility="public"
  1859. deprecated="not deprecated">
  1860. </constructor>
  1861. <method name="getEventType" return="org.apache.hadoop.hdfs.inotify.Event.EventType"
  1862. abstract="false" native="false" synchronized="false"
  1863. static="false" final="false" visibility="public"
  1864. deprecated="not deprecated">
  1865. </method>
  1866. <doc>
  1867. <![CDATA[Events sent by the inotify system. Note that no events are necessarily sent
  1868. when a file is opened for read (although a MetadataUpdateEvent will be sent
  1869. if the atime is updated).]]>
  1870. </doc>
  1871. </class>
  1872. <!-- end class org.apache.hadoop.hdfs.inotify.Event -->
  1873. <!-- start class org.apache.hadoop.hdfs.inotify.Event.AppendEvent -->
  1874. <class name="Event.AppendEvent" extends="org.apache.hadoop.hdfs.inotify.Event"
  1875. abstract="false"
  1876. static="true" final="false" visibility="public"
  1877. deprecated="not deprecated">
  1878. <method name="getPath" return="java.lang.String"
  1879. abstract="false" native="false" synchronized="false"
  1880. static="false" final="false" visibility="public"
  1881. deprecated="not deprecated">
  1882. </method>
  1883. <method name="toNewBlock" return="boolean"
  1884. abstract="false" native="false" synchronized="false"
  1885. static="false" final="false" visibility="public"
  1886. deprecated="not deprecated">
  1887. </method>
  1888. <doc>
  1889. <![CDATA[Sent when an existing file is opened for append.]]>
  1890. </doc>
  1891. </class>
  1892. <!-- end class org.apache.hadoop.hdfs.inotify.Event.AppendEvent -->
  1893. <!-- start class org.apache.hadoop.hdfs.inotify.Event.AppendEvent.Builder -->
  1894. <class name="Event.AppendEvent.Builder" extends="java.lang.Object"
  1895. abstract="false"
  1896. static="true" final="false" visibility="public"
  1897. deprecated="not deprecated">
  1898. <constructor name="Builder"
  1899. static="false" final="false" visibility="public"
  1900. deprecated="not deprecated">
  1901. </constructor>
  1902. <method name="path" return="org.apache.hadoop.hdfs.inotify.Event.AppendEvent.Builder"
  1903. abstract="false" native="false" synchronized="false"
  1904. static="false" final="false" visibility="public"
  1905. deprecated="not deprecated">
  1906. <param name="path" type="java.lang.String"/>
  1907. </method>
  1908. <method name="newBlock" return="org.apache.hadoop.hdfs.inotify.Event.AppendEvent.Builder"
  1909. abstract="false" native="false" synchronized="false"
  1910. static="false" final="false" visibility="public"
  1911. deprecated="not deprecated">
  1912. <param name="newBlock" type="boolean"/>
  1913. </method>
  1914. <method name="build" return="org.apache.hadoop.hdfs.inotify.Event.AppendEvent"
  1915. abstract="false" native="false" synchronized="false"
  1916. static="false" final="false" visibility="public"
  1917. deprecated="not deprecated">
  1918. </method>
  1919. </class>
  1920. <!-- end class org.apache.hadoop.hdfs.inotify.Event.AppendEvent.Builder -->
  1921. <!-- start class org.apache.hadoop.hdfs.inotify.Event.CloseEvent -->
  1922. <class name="Event.CloseEvent" extends="org.apache.hadoop.hdfs.inotify.Event"
  1923. abstract="false"
  1924. static="true" final="false" visibility="public"
  1925. deprecated="not deprecated">
  1926. <constructor name="CloseEvent" type="java.lang.String, long, long"
  1927. static="false" final="false" visibility="public"
  1928. deprecated="not deprecated">
  1929. </constructor>
  1930. <method name="getPath" return="java.lang.String"
  1931. abstract="false" native="false" synchronized="false"
  1932. static="false" final="false" visibility="public"
  1933. deprecated="not deprecated">
  1934. </method>
  1935. <method name="getFileSize" return="long"
  1936. abstract="false" native="false" synchronized="false"
  1937. static="false" final="false" visibility="public"
  1938. deprecated="not deprecated">
  1939. <doc>
  1940. <![CDATA[The size of the closed file in bytes. May be -1 if the size is not
  1941. available (e.g. in the case of a close generated by a concat operation).]]>
  1942. </doc>
  1943. </method>
  1944. <method name="getTimestamp" return="long"
  1945. abstract="false" native="false" synchronized="false"
  1946. static="false" final="false" visibility="public"
  1947. deprecated="not deprecated">
  1948. <doc>
  1949. <![CDATA[The time when this event occurred, in milliseconds since the epoch.]]>
  1950. </doc>
  1951. </method>
  1952. <doc>
  1953. <![CDATA[Sent when a file is closed after append or create.]]>
  1954. </doc>
  1955. </class>
  1956. <!-- end class org.apache.hadoop.hdfs.inotify.Event.CloseEvent -->
  1957. <!-- start class org.apache.hadoop.hdfs.inotify.Event.CreateEvent -->
  1958. <class name="Event.CreateEvent" extends="org.apache.hadoop.hdfs.inotify.Event"
  1959. abstract="false"
  1960. static="true" final="false" visibility="public"
  1961. deprecated="not deprecated">
  1962. <method name="getiNodeType" return="org.apache.hadoop.hdfs.inotify.Event.CreateEvent.INodeType"
  1963. abstract="false" native="false" synchronized="false"
  1964. static="false" final="false" visibility="public"
  1965. deprecated="not deprecated">
  1966. </method>
  1967. <method name="getPath" return="java.lang.String"
  1968. abstract="false" native="false" synchronized="false"
  1969. static="false" final="false" visibility="public"
  1970. deprecated="not deprecated">
  1971. </method>
  1972. <method name="getCtime" return="long"
  1973. abstract="false" native="false" synchronized="false"
  1974. static="false" final="false" visibility="public"
  1975. deprecated="not deprecated">
  1976. <doc>
  1977. <![CDATA[Creation time of the file, directory, or symlink.]]>
  1978. </doc>
  1979. </method>
  1980. <method name="getReplication" return="int"
  1981. abstract="false" native="false" synchronized="false"
  1982. static="false" final="false" visibility="public"
  1983. deprecated="not deprecated">
  1984. <doc>
  1985. <![CDATA[Replication is zero if the CreateEvent iNodeType is directory or symlink.]]>
  1986. </doc>
  1987. </method>
  1988. <method name="getOwnerName" return="java.lang.String"
  1989. abstract="false" native="false" synchronized="false"
  1990. static="false" final="false" visibility="public"
  1991. deprecated="not deprecated">
  1992. </method>
  1993. <method name="getGroupName" return="java.lang.String"
  1994. abstract="false" native="false" synchronized="false"
  1995. static="false" final="false" visibility="public"
  1996. deprecated="not deprecated">
  1997. </method>
  1998. <method name="getPerms" return="org.apache.hadoop.fs.permission.FsPermission"
  1999. abstract="false" native="false" synchronized="false"
  2000. static="false" final="false" visibility="public"
  2001. deprecated="not deprecated">
  2002. </method>
  2003. <method name="getSymlinkTarget" return="java.lang.String"
  2004. abstract="false" native="false" synchronized="false"
  2005. static="false" final="false" visibility="public"
  2006. deprecated="not deprecated">
  2007. <doc>
  2008. <![CDATA[Symlink target is null if the CreateEvent iNodeType is not symlink.]]>
  2009. </doc>
  2010. </method>
  2011. <method name="getOverwrite" return="boolean"
  2012. abstract="false" native="false" synchronized="false"
  2013. static="false" final="false" visibility="public"
  2014. deprecated="not deprecated">
  2015. </method>
  2016. <method name="getDefaultBlockSize" return="long"
  2017. abstract="false" native="false" synchronized="false"
  2018. static="false" final="false" visibility="public"
  2019. deprecated="not deprecated">
  2020. </method>
  2021. <doc>
  2022. <![CDATA[Sent when a new file is created (including overwrite).]]>
  2023. </doc>
  2024. </class>
  2025. <!-- end class org.apache.hadoop.hdfs.inotify.Event.CreateEvent -->
  2026. <!-- start class org.apache.hadoop.hdfs.inotify.Event.CreateEvent.Builder -->
  2027. <class name="Event.CreateEvent.Builder" extends="java.lang.Object"
  2028. abstract="false"
  2029. static="true" final="false" visibility="public"
  2030. deprecated="not deprecated">
  2031. <constructor name="Builder"
  2032. static="false" final="false" visibility="public"
  2033. deprecated="not deprecated">
  2034. </constructor>
  2035. <method name="iNodeType" return="org.apache.hadoop.hdfs.inotify.Event.CreateEvent.Builder"
  2036. abstract="false" native="false" synchronized="false"
  2037. static="false" final="false" visibility="public"
  2038. deprecated="not deprecated">
  2039. <param name="type" type="org.apache.hadoop.hdfs.inotify.Event.CreateEvent.INodeType"/>
  2040. </method>
  2041. <method name="path" return="org.apache.hadoop.hdfs.inotify.Event.CreateEvent.Builder"
  2042. abstract="false" native="false" synchronized="false"
  2043. static="false" final="false" visibility="public"
  2044. deprecated="not deprecated">
  2045. <param name="path" type="java.lang.String"/>
  2046. </method>
  2047. <method name="ctime" return="org.apache.hadoop.hdfs.inotify.Event.CreateEvent.Builder"
  2048. abstract="false" native="false" synchronized="false"
  2049. static="false" final="false" visibility="public"
  2050. deprecated="not deprecated">
  2051. <param name="ctime" type="long"/>
  2052. </method>
  2053. <method name="replication" return="org.apache.hadoop.hdfs.inotify.Event.CreateEvent.Builder"
  2054. abstract="false" native="false" synchronized="false"
  2055. static="false" final="false" visibility="public"
  2056. deprecated="not deprecated">
  2057. <param name="replication" type="int"/>
  2058. </method>
  2059. <method name="ownerName" return="org.apache.hadoop.hdfs.inotify.Event.CreateEvent.Builder"
  2060. abstract="false" native="false" synchronized="false"
  2061. static="false" final="false" visibility="public"
  2062. deprecated="not deprecated">
  2063. <param name="ownerName" type="java.lang.String"/>
  2064. </method>
  2065. <method name="groupName" return="org.apache.hadoop.hdfs.inotify.Event.CreateEvent.Builder"
  2066. abstract="false" native="false" synchronized="false"
  2067. static="false" final="false" visibility="public"
  2068. deprecated="not deprecated">
  2069. <param name="groupName" type="java.lang.String"/>
  2070. </method>
  2071. <method name="perms" return="org.apache.hadoop.hdfs.inotify.Event.CreateEvent.Builder"
  2072. abstract="false" native="false" synchronized="false"
  2073. static="false" final="false" visibility="public"
  2074. deprecated="not deprecated">
  2075. <param name="perms" type="org.apache.hadoop.fs.permission.FsPermission"/>
  2076. </method>
  2077. <method name="symlinkTarget" return="org.apache.hadoop.hdfs.inotify.Event.CreateEvent.Builder"
  2078. abstract="false" native="false" synchronized="false"
  2079. static="false" final="false" visibility="public"
  2080. deprecated="not deprecated">
  2081. <param name="symlinkTarget" type="java.lang.String"/>
  2082. </method>
  2083. <method name="overwrite" return="org.apache.hadoop.hdfs.inotify.Event.CreateEvent.Builder"
  2084. abstract="false" native="false" synchronized="false"
  2085. static="false" final="false" visibility="public"
  2086. deprecated="not deprecated">
  2087. <param name="overwrite" type="boolean"/>
  2088. </method>
  2089. <method name="defaultBlockSize" return="org.apache.hadoop.hdfs.inotify.Event.CreateEvent.Builder"
  2090. abstract="false" native="false" synchronized="false"
  2091. static="false" final="false" visibility="public"
  2092. deprecated="not deprecated">
  2093. <param name="defaultBlockSize" type="long"/>
  2094. </method>
  2095. <method name="build" return="org.apache.hadoop.hdfs.inotify.Event.CreateEvent"
  2096. abstract="false" native="false" synchronized="false"
  2097. static="false" final="false" visibility="public"
  2098. deprecated="not deprecated">
  2099. </method>
  2100. </class>
  2101. <!-- end class org.apache.hadoop.hdfs.inotify.Event.CreateEvent.Builder -->
  2102. <!-- start class org.apache.hadoop.hdfs.inotify.Event.CreateEvent.INodeType -->
  2103. <class name="Event.CreateEvent.INodeType" extends="java.lang.Enum"
  2104. abstract="false"
  2105. static="true" final="true" visibility="public"
  2106. deprecated="not deprecated">
  2107. <method name="values" return="org.apache.hadoop.hdfs.inotify.Event.CreateEvent.INodeType[]"
  2108. abstract="false" native="false" synchronized="false"
  2109. static="true" final="false" visibility="public"
  2110. deprecated="not deprecated">
  2111. </method>
  2112. <method name="valueOf" return="org.apache.hadoop.hdfs.inotify.Event.CreateEvent.INodeType"
  2113. abstract="false" native="false" synchronized="false"
  2114. static="true" final="false" visibility="public"
  2115. deprecated="not deprecated">
  2116. <param name="name" type="java.lang.String"/>
  2117. </method>
  2118. </class>
  2119. <!-- end class org.apache.hadoop.hdfs.inotify.Event.CreateEvent.INodeType -->
  2120. <!-- start class org.apache.hadoop.hdfs.inotify.Event.EventType -->
  2121. <class name="Event.EventType" extends="java.lang.Enum"
  2122. abstract="false"
  2123. static="true" final="true" visibility="public"
  2124. deprecated="not deprecated">
  2125. <method name="values" return="org.apache.hadoop.hdfs.inotify.Event.EventType[]"
  2126. abstract="false" native="false" synchronized="false"
  2127. static="true" final="false" visibility="public"
  2128. deprecated="not deprecated">
  2129. </method>
  2130. <method name="valueOf" return="org.apache.hadoop.hdfs.inotify.Event.EventType"
  2131. abstract="false" native="false" synchronized="false"
  2132. static="true" final="false" visibility="public"
  2133. deprecated="not deprecated">
  2134. <param name="name" type="java.lang.String"/>
  2135. </method>
  2136. </class>
  2137. <!-- end class org.apache.hadoop.hdfs.inotify.Event.EventType -->
  2138. <!-- start class org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent -->
  2139. <class name="Event.MetadataUpdateEvent" extends="org.apache.hadoop.hdfs.inotify.Event"
  2140. abstract="false"
  2141. static="true" final="false" visibility="public"
  2142. deprecated="not deprecated">
  2143. <method name="getPath" return="java.lang.String"
  2144. abstract="false" native="false" synchronized="false"
  2145. static="false" final="false" visibility="public"
  2146. deprecated="not deprecated">
  2147. </method>
  2148. <method name="getMetadataType" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.MetadataType"
  2149. abstract="false" native="false" synchronized="false"
  2150. static="false" final="false" visibility="public"
  2151. deprecated="not deprecated">
  2152. </method>
  2153. <method name="getMtime" return="long"
  2154. abstract="false" native="false" synchronized="false"
  2155. static="false" final="false" visibility="public"
  2156. deprecated="not deprecated">
  2157. </method>
  2158. <method name="getAtime" return="long"
  2159. abstract="false" native="false" synchronized="false"
  2160. static="false" final="false" visibility="public"
  2161. deprecated="not deprecated">
  2162. </method>
  2163. <method name="getReplication" return="int"
  2164. abstract="false" native="false" synchronized="false"
  2165. static="false" final="false" visibility="public"
  2166. deprecated="not deprecated">
  2167. </method>
  2168. <method name="getOwnerName" return="java.lang.String"
  2169. abstract="false" native="false" synchronized="false"
  2170. static="false" final="false" visibility="public"
  2171. deprecated="not deprecated">
  2172. </method>
  2173. <method name="getGroupName" return="java.lang.String"
  2174. abstract="false" native="false" synchronized="false"
  2175. static="false" final="false" visibility="public"
  2176. deprecated="not deprecated">
  2177. </method>
  2178. <method name="getPerms" return="org.apache.hadoop.fs.permission.FsPermission"
  2179. abstract="false" native="false" synchronized="false"
  2180. static="false" final="false" visibility="public"
  2181. deprecated="not deprecated">
  2182. </method>
  2183. <method name="getAcls" return="java.util.List"
  2184. abstract="false" native="false" synchronized="false"
  2185. static="false" final="false" visibility="public"
  2186. deprecated="not deprecated">
  2187. <doc>
  2188. <![CDATA[The full set of ACLs currently associated with this file or directory.
  2189. May be null if all ACLs were removed.]]>
  2190. </doc>
  2191. </method>
  2192. <method name="getxAttrs" return="java.util.List"
  2193. abstract="false" native="false" synchronized="false"
  2194. static="false" final="false" visibility="public"
  2195. deprecated="not deprecated">
  2196. </method>
  2197. <method name="isxAttrsRemoved" return="boolean"
  2198. abstract="false" native="false" synchronized="false"
  2199. static="false" final="false" visibility="public"
  2200. deprecated="not deprecated">
  2201. <doc>
  2202. <![CDATA[Whether the xAttrs returned by getxAttrs() were removed (as opposed to
  2203. added).]]>
  2204. </doc>
  2205. </method>
  2206. <doc>
  2207. <![CDATA[Sent when there is an update to directory or file (none of the metadata
  2208. tracked here applies to symlinks) that is not associated with another
  2209. inotify event. The tracked metadata includes atime/mtime, replication,
  2210. owner/group, permissions, ACLs, and XAttributes. Fields not relevant to the
  2211. metadataType of the MetadataUpdateEvent will be null or will have their default
  2212. values.]]>
  2213. </doc>
  2214. </class>
  2215. <!-- end class org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent -->
  2216. <!-- start class org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.Builder -->
  2217. <class name="Event.MetadataUpdateEvent.Builder" extends="java.lang.Object"
  2218. abstract="false"
  2219. static="true" final="false" visibility="public"
  2220. deprecated="not deprecated">
  2221. <constructor name="Builder"
  2222. static="false" final="false" visibility="public"
  2223. deprecated="not deprecated">
  2224. </constructor>
  2225. <method name="path" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.Builder"
  2226. abstract="false" native="false" synchronized="false"
  2227. static="false" final="false" visibility="public"
  2228. deprecated="not deprecated">
  2229. <param name="path" type="java.lang.String"/>
  2230. </method>
  2231. <method name="metadataType" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.Builder"
  2232. abstract="false" native="false" synchronized="false"
  2233. static="false" final="false" visibility="public"
  2234. deprecated="not deprecated">
  2235. <param name="type" type="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.MetadataType"/>
  2236. </method>
  2237. <method name="mtime" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.Builder"
  2238. abstract="false" native="false" synchronized="false"
  2239. static="false" final="false" visibility="public"
  2240. deprecated="not deprecated">
  2241. <param name="mtime" type="long"/>
  2242. </method>
  2243. <method name="atime" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.Builder"
  2244. abstract="false" native="false" synchronized="false"
  2245. static="false" final="false" visibility="public"
  2246. deprecated="not deprecated">
  2247. <param name="atime" type="long"/>
  2248. </method>
  2249. <method name="replication" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.Builder"
  2250. abstract="false" native="false" synchronized="false"
  2251. static="false" final="false" visibility="public"
  2252. deprecated="not deprecated">
  2253. <param name="replication" type="int"/>
  2254. </method>
  2255. <method name="ownerName" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.Builder"
  2256. abstract="false" native="false" synchronized="false"
  2257. static="false" final="false" visibility="public"
  2258. deprecated="not deprecated">
  2259. <param name="ownerName" type="java.lang.String"/>
  2260. </method>
  2261. <method name="groupName" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.Builder"
  2262. abstract="false" native="false" synchronized="false"
  2263. static="false" final="false" visibility="public"
  2264. deprecated="not deprecated">
  2265. <param name="groupName" type="java.lang.String"/>
  2266. </method>
  2267. <method name="perms" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.Builder"
  2268. abstract="false" native="false" synchronized="false"
  2269. static="false" final="false" visibility="public"
  2270. deprecated="not deprecated">
  2271. <param name="perms" type="org.apache.hadoop.fs.permission.FsPermission"/>
  2272. </method>
  2273. <method name="acls" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.Builder"
  2274. abstract="false" native="false" synchronized="false"
  2275. static="false" final="false" visibility="public"
  2276. deprecated="not deprecated">
  2277. <param name="acls" type="java.util.List"/>
  2278. </method>
  2279. <method name="xAttrs" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.Builder"
  2280. abstract="false" native="false" synchronized="false"
  2281. static="false" final="false" visibility="public"
  2282. deprecated="not deprecated">
  2283. <param name="xAttrs" type="java.util.List"/>
  2284. </method>
  2285. <method name="xAttrsRemoved" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.Builder"
  2286. abstract="false" native="false" synchronized="false"
  2287. static="false" final="false" visibility="public"
  2288. deprecated="not deprecated">
  2289. <param name="xAttrsRemoved" type="boolean"/>
  2290. </method>
  2291. <method name="build" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent"
  2292. abstract="false" native="false" synchronized="false"
  2293. static="false" final="false" visibility="public"
  2294. deprecated="not deprecated">
  2295. </method>
  2296. </class>
  2297. <!-- end class org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.Builder -->
  2298. <!-- start class org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.MetadataType -->
  2299. <class name="Event.MetadataUpdateEvent.MetadataType" extends="java.lang.Enum"
  2300. abstract="false"
  2301. static="true" final="true" visibility="public"
  2302. deprecated="not deprecated">
  2303. <method name="values" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.MetadataType[]"
  2304. abstract="false" native="false" synchronized="false"
  2305. static="true" final="false" visibility="public"
  2306. deprecated="not deprecated">
  2307. </method>
  2308. <method name="valueOf" return="org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.MetadataType"
  2309. abstract="false" native="false" synchronized="false"
  2310. static="true" final="false" visibility="public"
  2311. deprecated="not deprecated">
  2312. <param name="name" type="java.lang.String"/>
  2313. </method>
  2314. </class>
  2315. <!-- end class org.apache.hadoop.hdfs.inotify.Event.MetadataUpdateEvent.MetadataType -->
  2316. <!-- start class org.apache.hadoop.hdfs.inotify.Event.RenameEvent -->
  2317. <class name="Event.RenameEvent" extends="org.apache.hadoop.hdfs.inotify.Event"
  2318. abstract="false"
  2319. static="true" final="false" visibility="public"
  2320. deprecated="not deprecated">
  2321. <method name="getSrcPath" return="java.lang.String"
  2322. abstract="false" native="false" synchronized="false"
  2323. static="false" final="false" visibility="public"
  2324. deprecated="not deprecated">
  2325. </method>
  2326. <method name="getDstPath" return="java.lang.String"
  2327. abstract="false" native="false" synchronized="false"
  2328. static="false" final="false" visibility="public"
  2329. deprecated="not deprecated">
  2330. </method>
  2331. <method name="getTimestamp" return="long"
  2332. abstract="false" native="false" synchronized="false"
  2333. static="false" final="false" visibility="public"
  2334. deprecated="not deprecated">
  2335. <doc>
  2336. <![CDATA[The time when this event occurred, in milliseconds since the epoch.]]>
  2337. </doc>
  2338. </method>
  2339. <doc>
  2340. <![CDATA[Sent when a file, directory, or symlink is renamed.]]>
  2341. </doc>
  2342. </class>
  2343. <!-- end class org.apache.hadoop.hdfs.inotify.Event.RenameEvent -->
  2344. <!-- start class org.apache.hadoop.hdfs.inotify.Event.RenameEvent.Builder -->
  2345. <class name="Event.RenameEvent.Builder" extends="java.lang.Object"
  2346. abstract="false"
  2347. static="true" final="false" visibility="public"
  2348. deprecated="not deprecated">
  2349. <constructor name="Builder"
  2350. static="false" final="false" visibility="public"
  2351. deprecated="not deprecated">
  2352. </constructor>
  2353. <method name="srcPath" return="org.apache.hadoop.hdfs.inotify.Event.RenameEvent.Builder"
  2354. abstract="false" native="false" synchronized="false"
  2355. static="false" final="false" visibility="public"
  2356. deprecated="not deprecated">
  2357. <param name="srcPath" type="java.lang.String"/>
  2358. </method>
  2359. <method name="dstPath" return="org.apache.hadoop.hdfs.inotify.Event.RenameEvent.Builder"
  2360. abstract="false" native="false" synchronized="false"
  2361. static="false" final="false" visibility="public"
  2362. deprecated="not deprecated">
  2363. <param name="dstPath" type="java.lang.String"/>
  2364. </method>
  2365. <method name="timestamp" return="org.apache.hadoop.hdfs.inotify.Event.RenameEvent.Builder"
  2366. abstract="false" native="false" synchronized="false"
  2367. static="false" final="false" visibility="public"
  2368. deprecated="not deprecated">
  2369. <param name="timestamp" type="long"/>
  2370. </method>
  2371. <method name="build" return="org.apache.hadoop.hdfs.inotify.Event.RenameEvent"
  2372. abstract="false" native="false" synchronized="false"
  2373. static="false" final="false" visibility="public"
  2374. deprecated="not deprecated">
  2375. </method>
  2376. </class>
  2377. <!-- end class org.apache.hadoop.hdfs.inotify.Event.RenameEvent.Builder -->
  2378. <!-- start class org.apache.hadoop.hdfs.inotify.Event.UnlinkEvent -->
  2379. <class name="Event.UnlinkEvent" extends="org.apache.hadoop.hdfs.inotify.Event"
  2380. abstract="false"
  2381. static="true" final="false" visibility="public"
  2382. deprecated="not deprecated">
  2383. <method name="getPath" return="java.lang.String"
  2384. abstract="false" native="false" synchronized="false"
  2385. static="false" final="false" visibility="public"
  2386. deprecated="not deprecated">
  2387. </method>
  2388. <method name="getTimestamp" return="long"
  2389. abstract="false" native="false" synchronized="false"
  2390. static="false" final="false" visibility="public"
  2391. deprecated="not deprecated">
  2392. <doc>
  2393. <![CDATA[The time when this event occurred, in milliseconds since the epoch.]]>
  2394. </doc>
  2395. </method>
  2396. <doc>
  2397. <![CDATA[Sent when a file, directory, or symlink is deleted.]]>
  2398. </doc>
  2399. </class>
  2400. <!-- end class org.apache.hadoop.hdfs.inotify.Event.UnlinkEvent -->
  2401. <!-- start class org.apache.hadoop.hdfs.inotify.Event.UnlinkEvent.Builder -->
  2402. <class name="Event.UnlinkEvent.Builder" extends="java.lang.Object"
  2403. abstract="false"
  2404. static="true" final="false" visibility="public"
  2405. deprecated="not deprecated">
  2406. <constructor name="Builder"
  2407. static="false" final="false" visibility="public"
  2408. deprecated="not deprecated">
  2409. </constructor>
  2410. <method name="path" return="org.apache.hadoop.hdfs.inotify.Event.UnlinkEvent.Builder"
  2411. abstract="false" native="false" synchronized="false"
  2412. static="false" final="false" visibility="public"
  2413. deprecated="not deprecated">
  2414. <param name="path" type="java.lang.String"/>
  2415. </method>
  2416. <method name="timestamp" return="org.apache.hadoop.hdfs.inotify.Event.UnlinkEvent.Builder"
  2417. abstract="false" native="false" synchronized="false"
  2418. static="false" final="false" visibility="public"
  2419. deprecated="not deprecated">
  2420. <param name="timestamp" type="long"/>
  2421. </method>
  2422. <method name="build" return="org.apache.hadoop.hdfs.inotify.Event.UnlinkEvent"
  2423. abstract="false" native="false" synchronized="false"
  2424. static="false" final="false" visibility="public"
  2425. deprecated="not deprecated">
  2426. </method>
  2427. </class>
  2428. <!-- end class org.apache.hadoop.hdfs.inotify.Event.UnlinkEvent.Builder -->
  2429. <!-- start class org.apache.hadoop.hdfs.inotify.EventBatch -->
  2430. <class name="EventBatch" extends="java.lang.Object"
  2431. abstract="false"
  2432. static="false" final="false" visibility="public"
  2433. deprecated="not deprecated">
  2434. <constructor name="EventBatch" type="long, org.apache.hadoop.hdfs.inotify.Event[]"
  2435. static="false" final="false" visibility="public"
  2436. deprecated="not deprecated">
  2437. </constructor>
  2438. <method name="getTxid" return="long"
  2439. abstract="false" native="false" synchronized="false"
  2440. static="false" final="false" visibility="public"
  2441. deprecated="not deprecated">
  2442. </method>
  2443. <method name="getEvents" return="org.apache.hadoop.hdfs.inotify.Event[]"
  2444. abstract="false" native="false" synchronized="false"
  2445. static="false" final="false" visibility="public"
  2446. deprecated="not deprecated">
  2447. </method>
  2448. <doc>
  2449. <![CDATA[A batch of events that all happened on the same transaction ID.]]>
  2450. </doc>
  2451. </class>
  2452. <!-- end class org.apache.hadoop.hdfs.inotify.EventBatch -->
  2453. <!-- start class org.apache.hadoop.hdfs.inotify.MissingEventsException -->
  2454. <class name="MissingEventsException" extends="java.lang.Exception"
  2455. abstract="false"
  2456. static="false" final="false" visibility="public"
  2457. deprecated="not deprecated">
  2458. <constructor name="MissingEventsException"
  2459. static="false" final="false" visibility="public"
  2460. deprecated="not deprecated">
  2461. </constructor>
  2462. <constructor name="MissingEventsException" type="long, long"
  2463. static="false" final="false" visibility="public"
  2464. deprecated="not deprecated">
  2465. </constructor>
  2466. <method name="getExpectedTxid" return="long"
  2467. abstract="false" native="false" synchronized="false"
  2468. static="false" final="false" visibility="public"
  2469. deprecated="not deprecated">
  2470. </method>
  2471. <method name="getActualTxid" return="long"
  2472. abstract="false" native="false" synchronized="false"
  2473. static="false" final="false" visibility="public"
  2474. deprecated="not deprecated">
  2475. </method>
  2476. <method name="toString" return="java.lang.String"
  2477. abstract="false" native="false" synchronized="false"
  2478. static="false" final="false" visibility="public"
  2479. deprecated="not deprecated">
  2480. </method>
  2481. </class>
  2482. <!-- end class org.apache.hadoop.hdfs.inotify.MissingEventsException -->
  2483. </package>
  2484. <package name="org.apache.hadoop.hdfs.net">
  2485. </package>
  2486. <package name="org.apache.hadoop.hdfs.protocol">
  2487. <!-- start class org.apache.hadoop.hdfs.protocol.BlockListAsLongs.Builder -->
  2488. <class name="BlockListAsLongs.Builder" extends="java.lang.Object"
  2489. abstract="false"
  2490. static="true" final="false" visibility="public"
  2491. deprecated="not deprecated">
  2492. <method name="add"
  2493. abstract="false" native="false" synchronized="false"
  2494. static="false" final="false" visibility="public"
  2495. deprecated="not deprecated">
  2496. <param name="replica" type="org.apache.hadoop.hdfs.server.datanode.Replica"/>
  2497. </method>
  2498. <method name="getNumberOfBlocks" return="int"
  2499. abstract="false" native="false" synchronized="false"
  2500. static="false" final="false" visibility="public"
  2501. deprecated="not deprecated">
  2502. </method>
  2503. <method name="build" return="org.apache.hadoop.hdfs.protocol.BlockListAsLongs"
  2504. abstract="false" native="false" synchronized="false"
  2505. static="false" final="false" visibility="public"
  2506. deprecated="not deprecated">
  2507. </method>
  2508. </class>
  2509. <!-- end class org.apache.hadoop.hdfs.protocol.BlockListAsLongs.Builder -->
  2510. <!-- start class org.apache.hadoop.hdfs.protocol.CacheDirectiveEntry -->
  2511. <class name="CacheDirectiveEntry" extends="java.lang.Object"
  2512. abstract="false"
  2513. static="false" final="false" visibility="public"
  2514. deprecated="not deprecated">
  2515. <constructor name="CacheDirectiveEntry" type="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo, org.apache.hadoop.hdfs.protocol.CacheDirectiveStats"
  2516. static="false" final="false" visibility="public"
  2517. deprecated="not deprecated">
  2518. </constructor>
  2519. <method name="getInfo" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo"
  2520. abstract="false" native="false" synchronized="false"
  2521. static="false" final="false" visibility="public"
  2522. deprecated="not deprecated">
  2523. </method>
  2524. <method name="getStats" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveStats"
  2525. abstract="false" native="false" synchronized="false"
  2526. static="false" final="false" visibility="public"
  2527. deprecated="not deprecated">
  2528. </method>
  2529. <doc>
  2530. <![CDATA[Describes a path-based cache directive entry.]]>
  2531. </doc>
  2532. </class>
  2533. <!-- end class org.apache.hadoop.hdfs.protocol.CacheDirectiveEntry -->
  2534. <!-- start class org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo -->
  2535. <class name="CacheDirectiveInfo" extends="java.lang.Object"
  2536. abstract="false"
  2537. static="false" final="false" visibility="public"
  2538. deprecated="not deprecated">
  2539. <method name="getId" return="java.lang.Long"
  2540. abstract="false" native="false" synchronized="false"
  2541. static="false" final="false" visibility="public"
  2542. deprecated="not deprecated">
  2543. <doc>
  2544. <![CDATA[@return The ID of this directive.]]>
  2545. </doc>
  2546. </method>
  2547. <method name="getPath" return="org.apache.hadoop.fs.Path"
  2548. abstract="false" native="false" synchronized="false"
  2549. static="false" final="false" visibility="public"
  2550. deprecated="not deprecated">
  2551. <doc>
  2552. <![CDATA[@return The path used in this request.]]>
  2553. </doc>
  2554. </method>
  2555. <method name="getReplication" return="java.lang.Short"
  2556. abstract="false" native="false" synchronized="false"
  2557. static="false" final="false" visibility="public"
  2558. deprecated="not deprecated">
  2559. <doc>
  2560. <![CDATA[@return The number of times the block should be cached.]]>
  2561. </doc>
  2562. </method>
  2563. <method name="getPool" return="java.lang.String"
  2564. abstract="false" native="false" synchronized="false"
  2565. static="false" final="false" visibility="public"
  2566. deprecated="not deprecated">
  2567. <doc>
  2568. <![CDATA[@return The pool used in this request.]]>
  2569. </doc>
  2570. </method>
  2571. <method name="getExpiration" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Expiration"
  2572. abstract="false" native="false" synchronized="false"
  2573. static="false" final="false" visibility="public"
  2574. deprecated="not deprecated">
  2575. <doc>
  2576. <![CDATA[@return When this directive expires.]]>
  2577. </doc>
  2578. </method>
  2579. <method name="equals" return="boolean"
  2580. abstract="false" native="false" synchronized="false"
  2581. static="false" final="false" visibility="public"
  2582. deprecated="not deprecated">
  2583. <param name="o" type="java.lang.Object"/>
  2584. </method>
  2585. <method name="hashCode" return="int"
  2586. abstract="false" native="false" synchronized="false"
  2587. static="false" final="false" visibility="public"
  2588. deprecated="not deprecated">
  2589. </method>
  2590. <method name="toString" return="java.lang.String"
  2591. abstract="false" native="false" synchronized="false"
  2592. static="false" final="false" visibility="public"
  2593. deprecated="not deprecated">
  2594. </method>
  2595. <doc>
  2596. <![CDATA[Describes a path-based cache directive.]]>
  2597. </doc>
  2598. </class>
  2599. <!-- end class org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo -->
  2600. <!-- start class org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Builder -->
  2601. <class name="CacheDirectiveInfo.Builder" extends="java.lang.Object"
  2602. abstract="false"
  2603. static="true" final="false" visibility="public"
  2604. deprecated="not deprecated">
  2605. <constructor name="Builder"
  2606. static="false" final="false" visibility="public"
  2607. deprecated="not deprecated">
  2608. <doc>
  2609. <![CDATA[Creates an empty builder.]]>
  2610. </doc>
  2611. </constructor>
  2612. <constructor name="Builder" type="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo"
  2613. static="false" final="false" visibility="public"
  2614. deprecated="not deprecated">
  2615. <doc>
  2616. <![CDATA[Creates a builder with all elements set to the same values as the
  2617. given CacheDirectiveInfo.]]>
  2618. </doc>
  2619. </constructor>
  2620. <method name="build" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo"
  2621. abstract="false" native="false" synchronized="false"
  2622. static="false" final="false" visibility="public"
  2623. deprecated="not deprecated">
  2624. <doc>
  2625. <![CDATA[Builds a new CacheDirectiveInfo populated with the set properties.
  2626. @return New CacheDirectiveInfo.]]>
  2627. </doc>
  2628. </method>
  2629. <method name="setId" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Builder"
  2630. abstract="false" native="false" synchronized="false"
  2631. static="false" final="false" visibility="public"
  2632. deprecated="not deprecated">
  2633. <param name="id" type="java.lang.Long"/>
  2634. <doc>
  2635. <![CDATA[Sets the id used in this request.
  2636. @param id The id used in this request.
  2637. @return This builder, for call chaining.]]>
  2638. </doc>
  2639. </method>
  2640. <method name="setPath" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Builder"
  2641. abstract="false" native="false" synchronized="false"
  2642. static="false" final="false" visibility="public"
  2643. deprecated="not deprecated">
  2644. <param name="path" type="org.apache.hadoop.fs.Path"/>
  2645. <doc>
  2646. <![CDATA[Sets the path used in this request.
  2647. @param path The path used in this request.
  2648. @return This builder, for call chaining.]]>
  2649. </doc>
  2650. </method>
  2651. <method name="setReplication" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Builder"
  2652. abstract="false" native="false" synchronized="false"
  2653. static="false" final="false" visibility="public"
  2654. deprecated="not deprecated">
  2655. <param name="replication" type="java.lang.Short"/>
  2656. <doc>
  2657. <![CDATA[Sets the replication used in this request.
  2658. @param replication The replication used in this request.
  2659. @return This builder, for call chaining.]]>
  2660. </doc>
  2661. </method>
  2662. <method name="setPool" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Builder"
  2663. abstract="false" native="false" synchronized="false"
  2664. static="false" final="false" visibility="public"
  2665. deprecated="not deprecated">
  2666. <param name="pool" type="java.lang.String"/>
  2667. <doc>
  2668. <![CDATA[Sets the pool used in this request.
  2669. @param pool The pool used in this request.
  2670. @return This builder, for call chaining.]]>
  2671. </doc>
  2672. </method>
  2673. <method name="setExpiration" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Builder"
  2674. abstract="false" native="false" synchronized="false"
  2675. static="false" final="false" visibility="public"
  2676. deprecated="not deprecated">
  2677. <param name="expiration" type="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Expiration"/>
  2678. <doc>
  2679. <![CDATA[Sets when the CacheDirective should expire. A
  2680. {@link CacheDirectiveInfo.Expiration} can specify either an absolute or
  2681. relative expiration time.
  2682. @param expiration when this CacheDirective should expire
  2683. @return This builder, for call chaining]]>
  2684. </doc>
  2685. </method>
  2686. <doc>
  2687. <![CDATA[A builder for creating new CacheDirectiveInfo instances.]]>
  2688. </doc>
  2689. </class>
  2690. <!-- end class org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Builder -->
  2691. <!-- start class org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Expiration -->
  2692. <class name="CacheDirectiveInfo.Expiration" extends="java.lang.Object"
  2693. abstract="false"
  2694. static="true" final="false" visibility="public"
  2695. deprecated="not deprecated">
  2696. <method name="newRelative" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Expiration"
  2697. abstract="false" native="false" synchronized="false"
  2698. static="true" final="false" visibility="public"
  2699. deprecated="not deprecated">
  2700. <param name="ms" type="long"/>
  2701. <doc>
  2702. <![CDATA[Create a new relative Expiration.
  2703. <p>
  2704. Use {@link Expiration#NEVER} to indicate an Expiration that never
  2705. expires.
  2706. @param ms how long until the CacheDirective expires, in milliseconds
  2707. @return A relative Expiration]]>
  2708. </doc>
  2709. </method>
  2710. <method name="newAbsolute" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Expiration"
  2711. abstract="false" native="false" synchronized="false"
  2712. static="true" final="false" visibility="public"
  2713. deprecated="not deprecated">
  2714. <param name="date" type="java.util.Date"/>
  2715. <doc>
  2716. <![CDATA[Create a new absolute Expiration.
  2717. <p>
  2718. Use {@link Expiration#NEVER} to indicate an Expiration that never
  2719. expires.
  2720. @param date when the CacheDirective expires
  2721. @return An absolute Expiration]]>
  2722. </doc>
  2723. </method>
  2724. <method name="newAbsolute" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Expiration"
  2725. abstract="false" native="false" synchronized="false"
  2726. static="true" final="false" visibility="public"
  2727. deprecated="not deprecated">
  2728. <param name="ms" type="long"/>
  2729. <doc>
  2730. <![CDATA[Create a new absolute Expiration.
  2731. <p>
  2732. Use {@link Expiration#NEVER} to indicate an Expiration that never
  2733. expires.
  2734. @param ms when the CacheDirective expires, in milliseconds since the Unix
  2735. epoch.
  2736. @return An absolute Expiration]]>
  2737. </doc>
  2738. </method>
  2739. <method name="isRelative" return="boolean"
  2740. abstract="false" native="false" synchronized="false"
  2741. static="false" final="false" visibility="public"
  2742. deprecated="not deprecated">
  2743. <doc>
  2744. <![CDATA[@return true if Expiration was specified as a relative duration, false if
  2745. specified as an absolute time.]]>
  2746. </doc>
  2747. </method>
  2748. <method name="getMillis" return="long"
  2749. abstract="false" native="false" synchronized="false"
  2750. static="false" final="false" visibility="public"
  2751. deprecated="not deprecated">
  2752. <doc>
  2753. <![CDATA[@return The raw underlying millisecond value, either a relative duration
  2754. or an absolute time as milliseconds since the Unix epoch.]]>
  2755. </doc>
  2756. </method>
  2757. <method name="getAbsoluteDate" return="java.util.Date"
  2758. abstract="false" native="false" synchronized="false"
  2759. static="false" final="false" visibility="public"
  2760. deprecated="not deprecated">
  2761. <doc>
  2762. <![CDATA[@return Expiration time as a {@link Date} object. This converts a
  2763. relative Expiration into an absolute Date based on the local
  2764. clock.]]>
  2765. </doc>
  2766. </method>
  2767. <method name="getAbsoluteMillis" return="long"
  2768. abstract="false" native="false" synchronized="false"
  2769. static="false" final="false" visibility="public"
  2770. deprecated="not deprecated">
  2771. <doc>
  2772. <![CDATA[@return Expiration time in milliseconds from the Unix epoch. This
  2773. converts a relative Expiration into an absolute time based on the
  2774. local clock.]]>
  2775. </doc>
  2776. </method>
  2777. <method name="toString" return="java.lang.String"
  2778. abstract="false" native="false" synchronized="false"
  2779. static="false" final="false" visibility="public"
  2780. deprecated="not deprecated">
  2781. </method>
  2782. <field name="MAX_RELATIVE_EXPIRY_MS" type="long"
  2783. transient="false" volatile="false"
  2784. static="true" final="true" visibility="public"
  2785. deprecated="not deprecated">
  2786. <doc>
  2787. <![CDATA[The maximum value we accept for a relative expiry.]]>
  2788. </doc>
  2789. </field>
  2790. <field name="NEVER" type="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Expiration"
  2791. transient="false" volatile="false"
  2792. static="true" final="true" visibility="public"
  2793. deprecated="not deprecated">
  2794. <doc>
  2795. <![CDATA[An relative Expiration that never expires.]]>
  2796. </doc>
  2797. </field>
  2798. <doc>
  2799. <![CDATA[Denotes a relative or absolute expiration time for a CacheDirective. Use
  2800. factory methods {@link CacheDirectiveInfo.Expiration#newAbsolute(Date)} and
  2801. {@link CacheDirectiveInfo.Expiration#newRelative(long)} to create an
  2802. Expiration.
  2803. <p>
  2804. In either case, the server-side clock is used to determine when a
  2805. CacheDirective expires.]]>
  2806. </doc>
  2807. </class>
  2808. <!-- end class org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Expiration -->
  2809. <!-- start class org.apache.hadoop.hdfs.protocol.CacheDirectiveStats -->
  2810. <class name="CacheDirectiveStats" extends="java.lang.Object"
  2811. abstract="false"
  2812. static="false" final="false" visibility="public"
  2813. deprecated="not deprecated">
  2814. <method name="getBytesNeeded" return="long"
  2815. abstract="false" native="false" synchronized="false"
  2816. static="false" final="false" visibility="public"
  2817. deprecated="not deprecated">
  2818. <doc>
  2819. <![CDATA[@return The bytes needed.]]>
  2820. </doc>
  2821. </method>
  2822. <method name="getBytesCached" return="long"
  2823. abstract="false" native="false" synchronized="false"
  2824. static="false" final="false" visibility="public"
  2825. deprecated="not deprecated">
  2826. <doc>
  2827. <![CDATA[@return The bytes cached.]]>
  2828. </doc>
  2829. </method>
  2830. <method name="getFilesNeeded" return="long"
  2831. abstract="false" native="false" synchronized="false"
  2832. static="false" final="false" visibility="public"
  2833. deprecated="not deprecated">
  2834. <doc>
  2835. <![CDATA[@return The number of files needed.]]>
  2836. </doc>
  2837. </method>
  2838. <method name="getFilesCached" return="long"
  2839. abstract="false" native="false" synchronized="false"
  2840. static="false" final="false" visibility="public"
  2841. deprecated="not deprecated">
  2842. <doc>
  2843. <![CDATA[@return The number of files cached.]]>
  2844. </doc>
  2845. </method>
  2846. <method name="hasExpired" return="boolean"
  2847. abstract="false" native="false" synchronized="false"
  2848. static="false" final="false" visibility="public"
  2849. deprecated="not deprecated">
  2850. <doc>
  2851. <![CDATA[@return Whether this directive has expired.]]>
  2852. </doc>
  2853. </method>
  2854. <method name="toString" return="java.lang.String"
  2855. abstract="false" native="false" synchronized="false"
  2856. static="false" final="false" visibility="public"
  2857. deprecated="not deprecated">
  2858. </method>
  2859. <doc>
  2860. <![CDATA[Describes a path-based cache directive.]]>
  2861. </doc>
  2862. </class>
  2863. <!-- end class org.apache.hadoop.hdfs.protocol.CacheDirectiveStats -->
  2864. <!-- start class org.apache.hadoop.hdfs.protocol.CacheDirectiveStats.Builder -->
  2865. <class name="CacheDirectiveStats.Builder" extends="java.lang.Object"
  2866. abstract="false"
  2867. static="true" final="false" visibility="public"
  2868. deprecated="not deprecated">
  2869. <constructor name="Builder"
  2870. static="false" final="false" visibility="public"
  2871. deprecated="not deprecated">
  2872. <doc>
  2873. <![CDATA[Creates an empty builder.]]>
  2874. </doc>
  2875. </constructor>
  2876. <method name="build" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveStats"
  2877. abstract="false" native="false" synchronized="false"
  2878. static="false" final="false" visibility="public"
  2879. deprecated="not deprecated">
  2880. <doc>
  2881. <![CDATA[Builds a new CacheDirectiveStats populated with the set properties.
  2882. @return New CacheDirectiveStats.]]>
  2883. </doc>
  2884. </method>
  2885. <method name="setBytesNeeded" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveStats.Builder"
  2886. abstract="false" native="false" synchronized="false"
  2887. static="false" final="false" visibility="public"
  2888. deprecated="not deprecated">
  2889. <param name="bytesNeeded" type="long"/>
  2890. <doc>
  2891. <![CDATA[Sets the bytes needed by this directive.
  2892. @param bytesNeeded The bytes needed.
  2893. @return This builder, for call chaining.]]>
  2894. </doc>
  2895. </method>
  2896. <method name="setBytesCached" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveStats.Builder"
  2897. abstract="false" native="false" synchronized="false"
  2898. static="false" final="false" visibility="public"
  2899. deprecated="not deprecated">
  2900. <param name="bytesCached" type="long"/>
  2901. <doc>
  2902. <![CDATA[Sets the bytes cached by this directive.
  2903. @param bytesCached The bytes cached.
  2904. @return This builder, for call chaining.]]>
  2905. </doc>
  2906. </method>
  2907. <method name="setFilesNeeded" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveStats.Builder"
  2908. abstract="false" native="false" synchronized="false"
  2909. static="false" final="false" visibility="public"
  2910. deprecated="not deprecated">
  2911. <param name="filesNeeded" type="long"/>
  2912. <doc>
  2913. <![CDATA[Sets the files needed by this directive.
  2914. @param filesNeeded The number of files needed
  2915. @return This builder, for call chaining.]]>
  2916. </doc>
  2917. </method>
  2918. <method name="setFilesCached" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveStats.Builder"
  2919. abstract="false" native="false" synchronized="false"
  2920. static="false" final="false" visibility="public"
  2921. deprecated="not deprecated">
  2922. <param name="filesCached" type="long"/>
  2923. <doc>
  2924. <![CDATA[Sets the files cached by this directive.
  2925. @param filesCached The number of files cached.
  2926. @return This builder, for call chaining.]]>
  2927. </doc>
  2928. </method>
  2929. <method name="setHasExpired" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveStats.Builder"
  2930. abstract="false" native="false" synchronized="false"
  2931. static="false" final="false" visibility="public"
  2932. deprecated="not deprecated">
  2933. <param name="hasExpired" type="boolean"/>
  2934. <doc>
  2935. <![CDATA[Sets whether this directive has expired.
  2936. @param hasExpired if this directive has expired
  2937. @return This builder, for call chaining.]]>
  2938. </doc>
  2939. </method>
  2940. </class>
  2941. <!-- end class org.apache.hadoop.hdfs.protocol.CacheDirectiveStats.Builder -->
  2942. <!-- start class org.apache.hadoop.hdfs.protocol.CachePoolEntry -->
  2943. <class name="CachePoolEntry" extends="java.lang.Object"
  2944. abstract="false"
  2945. static="false" final="false" visibility="public"
  2946. deprecated="not deprecated">
  2947. <constructor name="CachePoolEntry" type="org.apache.hadoop.hdfs.protocol.CachePoolInfo, org.apache.hadoop.hdfs.protocol.CachePoolStats"
  2948. static="false" final="false" visibility="public"
  2949. deprecated="not deprecated">
  2950. </constructor>
  2951. <method name="getInfo" return="org.apache.hadoop.hdfs.protocol.CachePoolInfo"
  2952. abstract="false" native="false" synchronized="false"
  2953. static="false" final="false" visibility="public"
  2954. deprecated="not deprecated">
  2955. </method>
  2956. <method name="getStats" return="org.apache.hadoop.hdfs.protocol.CachePoolStats"
  2957. abstract="false" native="false" synchronized="false"
  2958. static="false" final="false" visibility="public"
  2959. deprecated="not deprecated">
  2960. </method>
  2961. <doc>
  2962. <![CDATA[Describes a Cache Pool entry.]]>
  2963. </doc>
  2964. </class>
  2965. <!-- end class org.apache.hadoop.hdfs.protocol.CachePoolEntry -->
  2966. <!-- start class org.apache.hadoop.hdfs.protocol.CachePoolInfo -->
  2967. <class name="CachePoolInfo" extends="java.lang.Object"
  2968. abstract="false"
  2969. static="false" final="false" visibility="public"
  2970. deprecated="not deprecated">
  2971. <constructor name="CachePoolInfo" type="java.lang.String"
  2972. static="false" final="false" visibility="public"
  2973. deprecated="not deprecated">
  2974. </constructor>
  2975. <method name="getPoolName" return="java.lang.String"
  2976. abstract="false" native="false" synchronized="false"
  2977. static="false" final="false" visibility="public"
  2978. deprecated="not deprecated">
  2979. <doc>
  2980. <![CDATA[@return Name of the pool.]]>
  2981. </doc>
  2982. </method>
  2983. <method name="getOwnerName" return="java.lang.String"
  2984. abstract="false" native="false" synchronized="false"
  2985. static="false" final="false" visibility="public"
  2986. deprecated="not deprecated">
  2987. <doc>
  2988. <![CDATA[@return The owner of the pool. Along with the group and mode, determines
  2989. who has access to view and modify the pool.]]>
  2990. </doc>
  2991. </method>
  2992. <method name="setOwnerName" return="org.apache.hadoop.hdfs.protocol.CachePoolInfo"
  2993. abstract="false" native="false" synchronized="false"
  2994. static="false" final="false" visibility="public"
  2995. deprecated="not deprecated">
  2996. <param name="ownerName" type="java.lang.String"/>
  2997. </method>
  2998. <method name="getGroupName" return="java.lang.String"
  2999. abstract="false" native="false" synchronized="false"
  3000. static="false" final="false" visibility="public"
  3001. deprecated="not deprecated">
  3002. <doc>
  3003. <![CDATA[@return The group of the pool. Along with the owner and mode, determines
  3004. who has access to view and modify the pool.]]>
  3005. </doc>
  3006. </method>
  3007. <method name="setGroupName" return="org.apache.hadoop.hdfs.protocol.CachePoolInfo"
  3008. abstract="false" native="false" synchronized="false"
  3009. static="false" final="false" visibility="public"
  3010. deprecated="not deprecated">
  3011. <param name="groupName" type="java.lang.String"/>
  3012. </method>
  3013. <method name="getMode" return="org.apache.hadoop.fs.permission.FsPermission"
  3014. abstract="false" native="false" synchronized="false"
  3015. static="false" final="false" visibility="public"
  3016. deprecated="not deprecated">
  3017. <doc>
  3018. <![CDATA[@return Unix-style permissions of the pool. Along with the owner and group,
  3019. determines who has access to view and modify the pool.]]>
  3020. </doc>
  3021. </method>
  3022. <method name="setMode" return="org.apache.hadoop.hdfs.protocol.CachePoolInfo"
  3023. abstract="false" native="false" synchronized="false"
  3024. static="false" final="false" visibility="public"
  3025. deprecated="not deprecated">
  3026. <param name="mode" type="org.apache.hadoop.fs.permission.FsPermission"/>
  3027. </method>
  3028. <method name="getLimit" return="java.lang.Long"
  3029. abstract="false" native="false" synchronized="false"
  3030. static="false" final="false" visibility="public"
  3031. deprecated="not deprecated">
  3032. <doc>
  3033. <![CDATA[@return The maximum aggregate number of bytes that can be cached by
  3034. directives in this pool.]]>
  3035. </doc>
  3036. </method>
  3037. <method name="setLimit" return="org.apache.hadoop.hdfs.protocol.CachePoolInfo"
  3038. abstract="false" native="false" synchronized="false"
  3039. static="false" final="false" visibility="public"
  3040. deprecated="not deprecated">
  3041. <param name="bytes" type="java.lang.Long"/>
  3042. </method>
  3043. <method name="getMaxRelativeExpiryMs" return="java.lang.Long"
  3044. abstract="false" native="false" synchronized="false"
  3045. static="false" final="false" visibility="public"
  3046. deprecated="not deprecated">
  3047. <doc>
  3048. <![CDATA[@return The maximum relative expiration of directives of this pool in
  3049. milliseconds]]>
  3050. </doc>
  3051. </method>
  3052. <method name="setMaxRelativeExpiryMs" return="org.apache.hadoop.hdfs.protocol.CachePoolInfo"
  3053. abstract="false" native="false" synchronized="false"
  3054. static="false" final="false" visibility="public"
  3055. deprecated="not deprecated">
  3056. <param name="ms" type="java.lang.Long"/>
  3057. <doc>
  3058. <![CDATA[Set the maximum relative expiration of directives of this pool in
  3059. milliseconds.
  3060. @param ms in milliseconds
  3061. @return This builder, for call chaining.]]>
  3062. </doc>
  3063. </method>
  3064. <method name="toString" return="java.lang.String"
  3065. abstract="false" native="false" synchronized="false"
  3066. static="false" final="false" visibility="public"
  3067. deprecated="not deprecated">
  3068. </method>
  3069. <method name="equals" return="boolean"
  3070. abstract="false" native="false" synchronized="false"
  3071. static="false" final="false" visibility="public"
  3072. deprecated="not deprecated">
  3073. <param name="o" type="java.lang.Object"/>
  3074. </method>
  3075. <method name="hashCode" return="int"
  3076. abstract="false" native="false" synchronized="false"
  3077. static="false" final="false" visibility="public"
  3078. deprecated="not deprecated">
  3079. </method>
  3080. <method name="validate"
  3081. abstract="false" native="false" synchronized="false"
  3082. static="true" final="false" visibility="public"
  3083. deprecated="not deprecated">
  3084. <param name="info" type="org.apache.hadoop.hdfs.protocol.CachePoolInfo"/>
  3085. <exception name="IOException" type="java.io.IOException"/>
  3086. </method>
  3087. <method name="validateName"
  3088. abstract="false" native="false" synchronized="false"
  3089. static="true" final="false" visibility="public"
  3090. deprecated="not deprecated">
  3091. <param name="poolName" type="java.lang.String"/>
  3092. <exception name="IOException" type="java.io.IOException"/>
  3093. </method>
  3094. <field name="LOG" type="org.apache.commons.logging.Log"
  3095. transient="false" volatile="false"
  3096. static="true" final="true" visibility="public"
  3097. deprecated="not deprecated">
  3098. </field>
  3099. <field name="RELATIVE_EXPIRY_NEVER" type="long"
  3100. transient="false" volatile="false"
  3101. static="true" final="true" visibility="public"
  3102. deprecated="not deprecated">
  3103. <doc>
  3104. <![CDATA[Indicates that the pool does not have a maximum relative expiry.]]>
  3105. </doc>
  3106. </field>
  3107. <field name="DEFAULT_MAX_RELATIVE_EXPIRY" type="long"
  3108. transient="false" volatile="false"
  3109. static="true" final="true" visibility="public"
  3110. deprecated="not deprecated">
  3111. <doc>
  3112. <![CDATA[Default max relative expiry for cache pools.]]>
  3113. </doc>
  3114. </field>
  3115. <field name="LIMIT_UNLIMITED" type="long"
  3116. transient="false" volatile="false"
  3117. static="true" final="true" visibility="public"
  3118. deprecated="not deprecated">
  3119. </field>
  3120. <field name="DEFAULT_LIMIT" type="long"
  3121. transient="false" volatile="false"
  3122. static="true" final="true" visibility="public"
  3123. deprecated="not deprecated">
  3124. </field>
  3125. <doc>
  3126. <![CDATA[CachePoolInfo describes a cache pool.
  3127. This class is used in RPCs to create and modify cache pools.
  3128. It is serializable and can be stored in the edit log.]]>
  3129. </doc>
  3130. </class>
  3131. <!-- end class org.apache.hadoop.hdfs.protocol.CachePoolInfo -->
  3132. <!-- start class org.apache.hadoop.hdfs.protocol.CachePoolStats -->
  3133. <class name="CachePoolStats" extends="java.lang.Object"
  3134. abstract="false"
  3135. static="false" final="false" visibility="public"
  3136. deprecated="not deprecated">
  3137. <method name="getBytesNeeded" return="long"
  3138. abstract="false" native="false" synchronized="false"
  3139. static="false" final="false" visibility="public"
  3140. deprecated="not deprecated">
  3141. </method>
  3142. <method name="getBytesCached" return="long"
  3143. abstract="false" native="false" synchronized="false"
  3144. static="false" final="false" visibility="public"
  3145. deprecated="not deprecated">
  3146. </method>
  3147. <method name="getBytesOverlimit" return="long"
  3148. abstract="false" native="false" synchronized="false"
  3149. static="false" final="false" visibility="public"
  3150. deprecated="not deprecated">
  3151. </method>
  3152. <method name="getFilesNeeded" return="long"
  3153. abstract="false" native="false" synchronized="false"
  3154. static="false" final="false" visibility="public"
  3155. deprecated="not deprecated">
  3156. </method>
  3157. <method name="getFilesCached" return="long"
  3158. abstract="false" native="false" synchronized="false"
  3159. static="false" final="false" visibility="public"
  3160. deprecated="not deprecated">
  3161. </method>
  3162. <method name="toString" return="java.lang.String"
  3163. abstract="false" native="false" synchronized="false"
  3164. static="false" final="false" visibility="public"
  3165. deprecated="not deprecated">
  3166. </method>
  3167. <doc>
  3168. <![CDATA[CachePoolStats describes cache pool statistics.]]>
  3169. </doc>
  3170. </class>
  3171. <!-- end class org.apache.hadoop.hdfs.protocol.CachePoolStats -->
  3172. <!-- start class org.apache.hadoop.hdfs.protocol.CachePoolStats.Builder -->
  3173. <class name="CachePoolStats.Builder" extends="java.lang.Object"
  3174. abstract="false"
  3175. static="true" final="false" visibility="public"
  3176. deprecated="not deprecated">
  3177. <constructor name="Builder"
  3178. static="false" final="false" visibility="public"
  3179. deprecated="not deprecated">
  3180. </constructor>
  3181. <method name="setBytesNeeded" return="org.apache.hadoop.hdfs.protocol.CachePoolStats.Builder"
  3182. abstract="false" native="false" synchronized="false"
  3183. static="false" final="false" visibility="public"
  3184. deprecated="not deprecated">
  3185. <param name="bytesNeeded" type="long"/>
  3186. </method>
  3187. <method name="setBytesCached" return="org.apache.hadoop.hdfs.protocol.CachePoolStats.Builder"
  3188. abstract="false" native="false" synchronized="false"
  3189. static="false" final="false" visibility="public"
  3190. deprecated="not deprecated">
  3191. <param name="bytesCached" type="long"/>
  3192. </method>
  3193. <method name="setBytesOverlimit" return="org.apache.hadoop.hdfs.protocol.CachePoolStats.Builder"
  3194. abstract="false" native="false" synchronized="false"
  3195. static="false" final="false" visibility="public"
  3196. deprecated="not deprecated">
  3197. <param name="bytesOverlimit" type="long"/>
  3198. </method>
  3199. <method name="setFilesNeeded" return="org.apache.hadoop.hdfs.protocol.CachePoolStats.Builder"
  3200. abstract="false" native="false" synchronized="false"
  3201. static="false" final="false" visibility="public"
  3202. deprecated="not deprecated">
  3203. <param name="filesNeeded" type="long"/>
  3204. </method>
  3205. <method name="setFilesCached" return="org.apache.hadoop.hdfs.protocol.CachePoolStats.Builder"
  3206. abstract="false" native="false" synchronized="false"
  3207. static="false" final="false" visibility="public"
  3208. deprecated="not deprecated">
  3209. <param name="filesCached" type="long"/>
  3210. </method>
  3211. <method name="build" return="org.apache.hadoop.hdfs.protocol.CachePoolStats"
  3212. abstract="false" native="false" synchronized="false"
  3213. static="false" final="false" visibility="public"
  3214. deprecated="not deprecated">
  3215. </method>
  3216. </class>
  3217. <!-- end class org.apache.hadoop.hdfs.protocol.CachePoolStats.Builder -->
  3218. <!-- start class org.apache.hadoop.hdfs.protocol.CorruptFileBlocks -->
  3219. <class name="CorruptFileBlocks" extends="java.lang.Object"
  3220. abstract="false"
  3221. static="false" final="false" visibility="public"
  3222. deprecated="not deprecated">
  3223. <constructor name="CorruptFileBlocks"
  3224. static="false" final="false" visibility="public"
  3225. deprecated="not deprecated">
  3226. </constructor>
  3227. <constructor name="CorruptFileBlocks" type="java.lang.String[], java.lang.String"
  3228. static="false" final="false" visibility="public"
  3229. deprecated="not deprecated">
  3230. </constructor>
  3231. <method name="getFiles" return="java.lang.String[]"
  3232. abstract="false" native="false" synchronized="false"
  3233. static="false" final="false" visibility="public"
  3234. deprecated="not deprecated">
  3235. </method>
  3236. <method name="getCookie" return="java.lang.String"
  3237. abstract="false" native="false" synchronized="false"
  3238. static="false" final="false" visibility="public"
  3239. deprecated="not deprecated">
  3240. </method>
  3241. <method name="equals" return="boolean"
  3242. abstract="false" native="false" synchronized="false"
  3243. static="false" final="false" visibility="public"
  3244. deprecated="not deprecated">
  3245. <param name="obj" type="java.lang.Object"/>
  3246. </method>
  3247. <method name="hashCode" return="int"
  3248. abstract="false" native="false" synchronized="false"
  3249. static="false" final="false" visibility="public"
  3250. deprecated="not deprecated">
  3251. </method>
  3252. <doc>
  3253. <![CDATA[Contains a list of paths corresponding to corrupt files and a cookie
  3254. used for iterative calls to NameNode.listCorruptFileBlocks.]]>
  3255. </doc>
  3256. </class>
  3257. <!-- end class org.apache.hadoop.hdfs.protocol.CorruptFileBlocks -->
  3258. <!-- start class org.apache.hadoop.hdfs.protocol.DatanodeInfo.AdminStates -->
  3259. <class name="DatanodeInfo.AdminStates" extends="java.lang.Enum"
  3260. abstract="false"
  3261. static="true" final="true" visibility="public"
  3262. deprecated="not deprecated">
  3263. <method name="values" return="org.apache.hadoop.hdfs.protocol.DatanodeInfo.AdminStates[]"
  3264. abstract="false" native="false" synchronized="false"
  3265. static="true" final="false" visibility="public"
  3266. deprecated="not deprecated">
  3267. </method>
  3268. <method name="valueOf" return="org.apache.hadoop.hdfs.protocol.DatanodeInfo.AdminStates"
  3269. abstract="false" native="false" synchronized="false"
  3270. static="true" final="false" visibility="public"
  3271. deprecated="not deprecated">
  3272. <param name="name" type="java.lang.String"/>
  3273. </method>
  3274. <method name="toString" return="java.lang.String"
  3275. abstract="false" native="false" synchronized="false"
  3276. static="false" final="false" visibility="public"
  3277. deprecated="not deprecated">
  3278. </method>
  3279. <method name="fromValue" return="org.apache.hadoop.hdfs.protocol.DatanodeInfo.AdminStates"
  3280. abstract="false" native="false" synchronized="false"
  3281. static="true" final="false" visibility="public"
  3282. deprecated="not deprecated">
  3283. <param name="value" type="java.lang.String"/>
  3284. </method>
  3285. </class>
  3286. <!-- end class org.apache.hadoop.hdfs.protocol.DatanodeInfo.AdminStates -->
  3287. <!-- start class org.apache.hadoop.hdfs.protocol.EncryptionZone -->
  3288. <class name="EncryptionZone" extends="java.lang.Object"
  3289. abstract="false"
  3290. static="false" final="false" visibility="public"
  3291. deprecated="not deprecated">
  3292. <constructor name="EncryptionZone" type="long, java.lang.String, org.apache.hadoop.crypto.CipherSuite, org.apache.hadoop.crypto.CryptoProtocolVersion, java.lang.String"
  3293. static="false" final="false" visibility="public"
  3294. deprecated="not deprecated">
  3295. </constructor>
  3296. <method name="getId" return="long"
  3297. abstract="false" native="false" synchronized="false"
  3298. static="false" final="false" visibility="public"
  3299. deprecated="not deprecated">
  3300. </method>
  3301. <method name="getPath" return="java.lang.String"
  3302. abstract="false" native="false" synchronized="false"
  3303. static="false" final="false" visibility="public"
  3304. deprecated="not deprecated">
  3305. </method>
  3306. <method name="getSuite" return="org.apache.hadoop.crypto.CipherSuite"
  3307. abstract="false" native="false" synchronized="false"
  3308. static="false" final="false" visibility="public"
  3309. deprecated="not deprecated">
  3310. </method>
  3311. <method name="getVersion" return="org.apache.hadoop.crypto.CryptoProtocolVersion"
  3312. abstract="false" native="false" synchronized="false"
  3313. static="false" final="false" visibility="public"
  3314. deprecated="not deprecated">
  3315. </method>
  3316. <method name="getKeyName" return="java.lang.String"
  3317. abstract="false" native="false" synchronized="false"
  3318. static="false" final="false" visibility="public"
  3319. deprecated="not deprecated">
  3320. </method>
  3321. <method name="hashCode" return="int"
  3322. abstract="false" native="false" synchronized="false"
  3323. static="false" final="false" visibility="public"
  3324. deprecated="not deprecated">
  3325. </method>
  3326. <method name="equals" return="boolean"
  3327. abstract="false" native="false" synchronized="false"
  3328. static="false" final="false" visibility="public"
  3329. deprecated="not deprecated">
  3330. <param name="obj" type="java.lang.Object"/>
  3331. </method>
  3332. <method name="toString" return="java.lang.String"
  3333. abstract="false" native="false" synchronized="false"
  3334. static="false" final="false" visibility="public"
  3335. deprecated="not deprecated">
  3336. </method>
  3337. <doc>
  3338. <![CDATA[A simple class for representing an encryption zone. Presently an encryption
  3339. zone only has a path (the root of the encryption zone), a key name, and a
  3340. unique id. The id is used to implement batched listing of encryption zones.]]>
  3341. </doc>
  3342. </class>
  3343. <!-- end class org.apache.hadoop.hdfs.protocol.EncryptionZone -->
  3344. <!-- start class org.apache.hadoop.hdfs.protocol.FSConstants -->
  3345. <class name="FSConstants" extends="org.apache.hadoop.hdfs.protocol.HdfsConstants"
  3346. abstract="true"
  3347. static="false" final="false" visibility="public"
  3348. deprecated="Please use {@link HdfsConstants}. This class
  3349. is left only for other ecosystem projects which depended on
  3350. it for SafemodeAction and DatanodeReport types.">
  3351. <constructor name="FSConstants"
  3352. static="false" final="false" visibility="public"
  3353. deprecated="not deprecated">
  3354. </constructor>
  3355. <doc>
  3356. <![CDATA[@deprecated Please use {@link HdfsConstants}. This class
  3357. is left only for other ecosystem projects which depended on
  3358. it for SafemodeAction and DatanodeReport types.]]>
  3359. </doc>
  3360. </class>
  3361. <!-- end class org.apache.hadoop.hdfs.protocol.FSConstants -->
  3362. <!-- start class org.apache.hadoop.hdfs.protocol.FSLimitException.MaxDirectoryItemsExceededException -->
  3363. <class name="FSLimitException.MaxDirectoryItemsExceededException" extends="org.apache.hadoop.hdfs.protocol.FSLimitException"
  3364. abstract="false"
  3365. static="true" final="true" visibility="public"
  3366. deprecated="not deprecated">
  3367. <constructor name="MaxDirectoryItemsExceededException"
  3368. static="false" final="false" visibility="protected"
  3369. deprecated="not deprecated">
  3370. </constructor>
  3371. <constructor name="MaxDirectoryItemsExceededException" type="java.lang.String"
  3372. static="false" final="false" visibility="protected"
  3373. deprecated="not deprecated">
  3374. </constructor>
  3375. <constructor name="MaxDirectoryItemsExceededException" type="long, long"
  3376. static="false" final="false" visibility="public"
  3377. deprecated="not deprecated">
  3378. </constructor>
  3379. <method name="getMessage" return="java.lang.String"
  3380. abstract="false" native="false" synchronized="false"
  3381. static="false" final="false" visibility="public"
  3382. deprecated="not deprecated">
  3383. </method>
  3384. <field name="serialVersionUID" type="long"
  3385. transient="false" volatile="false"
  3386. static="true" final="true" visibility="protected"
  3387. deprecated="not deprecated">
  3388. </field>
  3389. <doc>
  3390. <![CDATA[Directory has too many items]]>
  3391. </doc>
  3392. </class>
  3393. <!-- end class org.apache.hadoop.hdfs.protocol.FSLimitException.MaxDirectoryItemsExceededException -->
  3394. <!-- start class org.apache.hadoop.hdfs.protocol.FSLimitException.PathComponentTooLongException -->
  3395. <class name="FSLimitException.PathComponentTooLongException" extends="org.apache.hadoop.hdfs.protocol.FSLimitException"
  3396. abstract="false"
  3397. static="true" final="true" visibility="public"
  3398. deprecated="not deprecated">
  3399. <constructor name="PathComponentTooLongException"
  3400. static="false" final="false" visibility="protected"
  3401. deprecated="not deprecated">
  3402. </constructor>
  3403. <constructor name="PathComponentTooLongException" type="java.lang.String"
  3404. static="false" final="false" visibility="protected"
  3405. deprecated="not deprecated">
  3406. </constructor>
  3407. <constructor name="PathComponentTooLongException" type="long, long, java.lang.String, java.lang.String"
  3408. static="false" final="false" visibility="public"
  3409. deprecated="not deprecated">
  3410. </constructor>
  3411. <method name="getMessage" return="java.lang.String"
  3412. abstract="false" native="false" synchronized="false"
  3413. static="false" final="false" visibility="public"
  3414. deprecated="not deprecated">
  3415. </method>
  3416. <field name="serialVersionUID" type="long"
  3417. transient="false" volatile="false"
  3418. static="true" final="true" visibility="protected"
  3419. deprecated="not deprecated">
  3420. </field>
  3421. <doc>
  3422. <![CDATA[Path component length is too long]]>
  3423. </doc>
  3424. </class>
  3425. <!-- end class org.apache.hadoop.hdfs.protocol.FSLimitException.PathComponentTooLongException -->
  3426. <!-- start class org.apache.hadoop.hdfs.protocol.HdfsConstants.DatanodeReportType -->
  3427. <class name="HdfsConstants.DatanodeReportType" extends="java.lang.Enum"
  3428. abstract="false"
  3429. static="true" final="true" visibility="public"
  3430. deprecated="not deprecated">
  3431. <method name="values" return="org.apache.hadoop.hdfs.protocol.HdfsConstants.DatanodeReportType[]"
  3432. abstract="false" native="false" synchronized="false"
  3433. static="true" final="false" visibility="public"
  3434. deprecated="not deprecated">
  3435. </method>
  3436. <method name="valueOf" return="org.apache.hadoop.hdfs.protocol.HdfsConstants.DatanodeReportType"
  3437. abstract="false" native="false" synchronized="false"
  3438. static="true" final="false" visibility="public"
  3439. deprecated="not deprecated">
  3440. <param name="name" type="java.lang.String"/>
  3441. </method>
  3442. </class>
  3443. <!-- end class org.apache.hadoop.hdfs.protocol.HdfsConstants.DatanodeReportType -->
  3444. <!-- start class org.apache.hadoop.hdfs.protocol.HdfsConstants.RollingUpgradeAction -->
  3445. <class name="HdfsConstants.RollingUpgradeAction" extends="java.lang.Enum"
  3446. abstract="false"
  3447. static="true" final="true" visibility="public"
  3448. deprecated="not deprecated">
  3449. <method name="values" return="org.apache.hadoop.hdfs.protocol.HdfsConstants.RollingUpgradeAction[]"
  3450. abstract="false" native="false" synchronized="false"
  3451. static="true" final="false" visibility="public"
  3452. deprecated="not deprecated">
  3453. </method>
  3454. <method name="valueOf" return="org.apache.hadoop.hdfs.protocol.HdfsConstants.RollingUpgradeAction"
  3455. abstract="false" native="false" synchronized="false"
  3456. static="true" final="false" visibility="public"
  3457. deprecated="not deprecated">
  3458. <param name="name" type="java.lang.String"/>
  3459. </method>
  3460. <method name="fromString" return="org.apache.hadoop.hdfs.protocol.HdfsConstants.RollingUpgradeAction"
  3461. abstract="false" native="false" synchronized="false"
  3462. static="true" final="false" visibility="public"
  3463. deprecated="not deprecated">
  3464. <param name="s" type="java.lang.String"/>
  3465. <doc>
  3466. <![CDATA[Covert the given String to a RollingUpgradeAction.]]>
  3467. </doc>
  3468. </method>
  3469. </class>
  3470. <!-- end class org.apache.hadoop.hdfs.protocol.HdfsConstants.RollingUpgradeAction -->
  3471. <!-- start class org.apache.hadoop.hdfs.protocol.HdfsConstants.SafeModeAction -->
  3472. <class name="HdfsConstants.SafeModeAction" extends="java.lang.Enum"
  3473. abstract="false"
  3474. static="true" final="true" visibility="public"
  3475. deprecated="not deprecated">
  3476. <method name="values" return="org.apache.hadoop.hdfs.protocol.HdfsConstants.SafeModeAction[]"
  3477. abstract="false" native="false" synchronized="false"
  3478. static="true" final="false" visibility="public"
  3479. deprecated="not deprecated">
  3480. </method>
  3481. <method name="valueOf" return="org.apache.hadoop.hdfs.protocol.HdfsConstants.SafeModeAction"
  3482. abstract="false" native="false" synchronized="false"
  3483. static="true" final="false" visibility="public"
  3484. deprecated="not deprecated">
  3485. <param name="name" type="java.lang.String"/>
  3486. </method>
  3487. </class>
  3488. <!-- end class org.apache.hadoop.hdfs.protocol.HdfsConstants.SafeModeAction -->
  3489. <!-- start class org.apache.hadoop.hdfs.protocol.LayoutVersion.Feature -->
  3490. <class name="LayoutVersion.Feature" extends="java.lang.Enum"
  3491. abstract="false"
  3492. static="true" final="true" visibility="public"
  3493. deprecated="not deprecated">
  3494. <implements name="org.apache.hadoop.hdfs.protocol.LayoutVersion.LayoutFeature"/>
  3495. <method name="values" return="org.apache.hadoop.hdfs.protocol.LayoutVersion.Feature[]"
  3496. abstract="false" native="false" synchronized="false"
  3497. static="true" final="false" visibility="public"
  3498. deprecated="not deprecated">
  3499. </method>
  3500. <method name="valueOf" return="org.apache.hadoop.hdfs.protocol.LayoutVersion.Feature"
  3501. abstract="false" native="false" synchronized="false"
  3502. static="true" final="false" visibility="public"
  3503. deprecated="not deprecated">
  3504. <param name="name" type="java.lang.String"/>
  3505. </method>
  3506. <method name="getInfo" return="org.apache.hadoop.hdfs.protocol.LayoutVersion.FeatureInfo"
  3507. abstract="false" native="false" synchronized="false"
  3508. static="false" final="false" visibility="public"
  3509. deprecated="not deprecated">
  3510. </method>
  3511. <doc>
  3512. <![CDATA[Enums for features that change the layout version before rolling
  3513. upgrade is supported.
  3514. <br><br>
  3515. To add a new layout version:
  3516. <ul>
  3517. <li>Define a new enum constant with a short enum name, the new layout version
  3518. and description of the added feature.</li>
  3519. <li>When adding a layout version with an ancestor that is not same as
  3520. its immediate predecessor, use the constructor where a specific ancestor
  3521. can be passed.
  3522. </li>
  3523. </ul>]]>
  3524. </doc>
  3525. </class>
  3526. <!-- end class org.apache.hadoop.hdfs.protocol.LayoutVersion.Feature -->
  3527. <!-- start class org.apache.hadoop.hdfs.protocol.LayoutVersion.FeatureInfo -->
  3528. <class name="LayoutVersion.FeatureInfo" extends="java.lang.Object"
  3529. abstract="false"
  3530. static="true" final="false" visibility="public"
  3531. deprecated="not deprecated">
  3532. <constructor name="FeatureInfo" type="int, int, java.lang.String, boolean, org.apache.hadoop.hdfs.protocol.LayoutVersion.LayoutFeature[]"
  3533. static="false" final="false" visibility="public"
  3534. deprecated="not deprecated">
  3535. </constructor>
  3536. <method name="getLayoutVersion" return="int"
  3537. abstract="false" native="false" synchronized="false"
  3538. static="false" final="false" visibility="public"
  3539. deprecated="not deprecated">
  3540. <doc>
  3541. <![CDATA[Accessor method for feature layout version
  3542. @return int lv value]]>
  3543. </doc>
  3544. </method>
  3545. <method name="getAncestorLayoutVersion" return="int"
  3546. abstract="false" native="false" synchronized="false"
  3547. static="false" final="false" visibility="public"
  3548. deprecated="not deprecated">
  3549. <doc>
  3550. <![CDATA[Accessor method for feature ancestor layout version
  3551. @return int ancestor LV value]]>
  3552. </doc>
  3553. </method>
  3554. <method name="getDescription" return="java.lang.String"
  3555. abstract="false" native="false" synchronized="false"
  3556. static="false" final="false" visibility="public"
  3557. deprecated="not deprecated">
  3558. <doc>
  3559. <![CDATA[Accessor method for feature description
  3560. @return String feature description]]>
  3561. </doc>
  3562. </method>
  3563. <method name="isReservedForOldRelease" return="boolean"
  3564. abstract="false" native="false" synchronized="false"
  3565. static="false" final="false" visibility="public"
  3566. deprecated="not deprecated">
  3567. </method>
  3568. <method name="getSpecialFeatures" return="org.apache.hadoop.hdfs.protocol.LayoutVersion.LayoutFeature[]"
  3569. abstract="false" native="false" synchronized="false"
  3570. static="false" final="false" visibility="public"
  3571. deprecated="not deprecated">
  3572. </method>
  3573. <doc>
  3574. <![CDATA[Feature information.]]>
  3575. </doc>
  3576. </class>
  3577. <!-- end class org.apache.hadoop.hdfs.protocol.LayoutVersion.FeatureInfo -->
  3578. <!-- start interface org.apache.hadoop.hdfs.protocol.LayoutVersion.LayoutFeature -->
  3579. <interface name="LayoutVersion.LayoutFeature" abstract="true"
  3580. static="true" final="false" visibility="public"
  3581. deprecated="not deprecated">
  3582. <method name="getInfo" return="org.apache.hadoop.hdfs.protocol.LayoutVersion.FeatureInfo"
  3583. abstract="true" native="false" synchronized="false"
  3584. static="false" final="false" visibility="public"
  3585. deprecated="not deprecated">
  3586. </method>
  3587. <doc>
  3588. <![CDATA[The interface to be implemented by NameNode and DataNode layout features]]>
  3589. </doc>
  3590. </interface>
  3591. <!-- end interface org.apache.hadoop.hdfs.protocol.LayoutVersion.LayoutFeature -->
  3592. <!-- start class org.apache.hadoop.hdfs.protocol.RollingUpgradeInfo.Bean -->
  3593. <class name="RollingUpgradeInfo.Bean" extends="java.lang.Object"
  3594. abstract="false"
  3595. static="true" final="false" visibility="public"
  3596. deprecated="not deprecated">
  3597. <constructor name="Bean" type="org.apache.hadoop.hdfs.protocol.RollingUpgradeInfo"
  3598. static="false" final="false" visibility="public"
  3599. deprecated="not deprecated">
  3600. </constructor>
  3601. <method name="getBlockPoolId" return="java.lang.String"
  3602. abstract="false" native="false" synchronized="false"
  3603. static="false" final="false" visibility="public"
  3604. deprecated="not deprecated">
  3605. </method>
  3606. <method name="getStartTime" return="long"
  3607. abstract="false" native="false" synchronized="false"
  3608. static="false" final="false" visibility="public"
  3609. deprecated="not deprecated">
  3610. </method>
  3611. <method name="getFinalizeTime" return="long"
  3612. abstract="false" native="false" synchronized="false"
  3613. static="false" final="false" visibility="public"
  3614. deprecated="not deprecated">
  3615. </method>
  3616. <method name="isCreatedRollbackImages" return="boolean"
  3617. abstract="false" native="false" synchronized="false"
  3618. static="false" final="false" visibility="public"
  3619. deprecated="not deprecated">
  3620. </method>
  3621. </class>
  3622. <!-- end class org.apache.hadoop.hdfs.protocol.RollingUpgradeInfo.Bean -->
  3623. <!-- start class org.apache.hadoop.hdfs.protocol.SnapshotAccessControlException -->
  3624. <class name="SnapshotAccessControlException" extends="org.apache.hadoop.security.AccessControlException"
  3625. abstract="false"
  3626. static="false" final="false" visibility="public"
  3627. deprecated="not deprecated">
  3628. <constructor name="SnapshotAccessControlException" type="java.lang.String"
  3629. static="false" final="false" visibility="public"
  3630. deprecated="not deprecated">
  3631. </constructor>
  3632. <constructor name="SnapshotAccessControlException" type="java.lang.Throwable"
  3633. static="false" final="false" visibility="public"
  3634. deprecated="not deprecated">
  3635. </constructor>
  3636. <doc>
  3637. <![CDATA[Snapshot access related exception.]]>
  3638. </doc>
  3639. </class>
  3640. <!-- end class org.apache.hadoop.hdfs.protocol.SnapshotAccessControlException -->
  3641. <!-- start class org.apache.hadoop.hdfs.protocol.SnapshotDiffReport -->
  3642. <class name="SnapshotDiffReport" extends="java.lang.Object"
  3643. abstract="false"
  3644. static="false" final="false" visibility="public"
  3645. deprecated="not deprecated">
  3646. <constructor name="SnapshotDiffReport" type="java.lang.String, java.lang.String, java.lang.String, java.util.List"
  3647. static="false" final="false" visibility="public"
  3648. deprecated="not deprecated">
  3649. </constructor>
  3650. <method name="getSnapshotRoot" return="java.lang.String"
  3651. abstract="false" native="false" synchronized="false"
  3652. static="false" final="false" visibility="public"
  3653. deprecated="not deprecated">
  3654. <doc>
  3655. <![CDATA[@return {@link #snapshotRoot}]]>
  3656. </doc>
  3657. </method>
  3658. <method name="getFromSnapshot" return="java.lang.String"
  3659. abstract="false" native="false" synchronized="false"
  3660. static="false" final="false" visibility="public"
  3661. deprecated="not deprecated">
  3662. <doc>
  3663. <![CDATA[@return {@link #fromSnapshot}]]>
  3664. </doc>
  3665. </method>
  3666. <method name="getLaterSnapshotName" return="java.lang.String"
  3667. abstract="false" native="false" synchronized="false"
  3668. static="false" final="false" visibility="public"
  3669. deprecated="not deprecated">
  3670. <doc>
  3671. <![CDATA[@return {@link #toSnapshot}]]>
  3672. </doc>
  3673. </method>
  3674. <method name="getDiffList" return="java.util.List"
  3675. abstract="false" native="false" synchronized="false"
  3676. static="false" final="false" visibility="public"
  3677. deprecated="not deprecated">
  3678. <doc>
  3679. <![CDATA[@return {@link #diffList}]]>
  3680. </doc>
  3681. </method>
  3682. <method name="toString" return="java.lang.String"
  3683. abstract="false" native="false" synchronized="false"
  3684. static="false" final="false" visibility="public"
  3685. deprecated="not deprecated">
  3686. </method>
  3687. <doc>
  3688. <![CDATA[This class represents to end users the difference between two snapshots of
  3689. the same directory, or the difference between a snapshot of the directory and
  3690. its current state. Instead of capturing all the details of the diff, this
  3691. class only lists where the changes happened and their types.]]>
  3692. </doc>
  3693. </class>
  3694. <!-- end class org.apache.hadoop.hdfs.protocol.SnapshotDiffReport -->
  3695. <!-- start class org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffReportEntry -->
  3696. <class name="SnapshotDiffReport.DiffReportEntry" extends="java.lang.Object"
  3697. abstract="false"
  3698. static="true" final="false" visibility="public"
  3699. deprecated="not deprecated">
  3700. <constructor name="DiffReportEntry" type="org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffType, byte[]"
  3701. static="false" final="false" visibility="public"
  3702. deprecated="not deprecated">
  3703. </constructor>
  3704. <constructor name="DiffReportEntry" type="org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffType, byte[][]"
  3705. static="false" final="false" visibility="public"
  3706. deprecated="not deprecated">
  3707. </constructor>
  3708. <constructor name="DiffReportEntry" type="org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffType, byte[], byte[]"
  3709. static="false" final="false" visibility="public"
  3710. deprecated="not deprecated">
  3711. </constructor>
  3712. <constructor name="DiffReportEntry" type="org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffType, byte[][], byte[][]"
  3713. static="false" final="false" visibility="public"
  3714. deprecated="not deprecated">
  3715. </constructor>
  3716. <method name="toString" return="java.lang.String"
  3717. abstract="false" native="false" synchronized="false"
  3718. static="false" final="false" visibility="public"
  3719. deprecated="not deprecated">
  3720. </method>
  3721. <method name="getType" return="org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffType"
  3722. abstract="false" native="false" synchronized="false"
  3723. static="false" final="false" visibility="public"
  3724. deprecated="not deprecated">
  3725. </method>
  3726. <method name="getSourcePath" return="byte[]"
  3727. abstract="false" native="false" synchronized="false"
  3728. static="false" final="false" visibility="public"
  3729. deprecated="not deprecated">
  3730. </method>
  3731. <method name="getTargetPath" return="byte[]"
  3732. abstract="false" native="false" synchronized="false"
  3733. static="false" final="false" visibility="public"
  3734. deprecated="not deprecated">
  3735. </method>
  3736. <method name="equals" return="boolean"
  3737. abstract="false" native="false" synchronized="false"
  3738. static="false" final="false" visibility="public"
  3739. deprecated="not deprecated">
  3740. <param name="other" type="java.lang.Object"/>
  3741. </method>
  3742. <method name="hashCode" return="int"
  3743. abstract="false" native="false" synchronized="false"
  3744. static="false" final="false" visibility="public"
  3745. deprecated="not deprecated">
  3746. </method>
  3747. <doc>
  3748. <![CDATA[Representing the full path and diff type of a file/directory where changes
  3749. have happened.]]>
  3750. </doc>
  3751. </class>
  3752. <!-- end class org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffReportEntry -->
  3753. <!-- start class org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffType -->
  3754. <class name="SnapshotDiffReport.DiffType" extends="java.lang.Enum"
  3755. abstract="false"
  3756. static="true" final="true" visibility="public"
  3757. deprecated="not deprecated">
  3758. <method name="values" return="org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffType[]"
  3759. abstract="false" native="false" synchronized="false"
  3760. static="true" final="false" visibility="public"
  3761. deprecated="not deprecated">
  3762. </method>
  3763. <method name="valueOf" return="org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffType"
  3764. abstract="false" native="false" synchronized="false"
  3765. static="true" final="false" visibility="public"
  3766. deprecated="not deprecated">
  3767. <param name="name" type="java.lang.String"/>
  3768. </method>
  3769. <method name="getLabel" return="java.lang.String"
  3770. abstract="false" native="false" synchronized="false"
  3771. static="false" final="false" visibility="public"
  3772. deprecated="not deprecated">
  3773. </method>
  3774. <method name="getTypeFromLabel" return="org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffType"
  3775. abstract="false" native="false" synchronized="false"
  3776. static="true" final="false" visibility="public"
  3777. deprecated="not deprecated">
  3778. <param name="label" type="java.lang.String"/>
  3779. </method>
  3780. <doc>
  3781. <![CDATA[Types of the difference, which include CREATE, MODIFY, DELETE, and RENAME.
  3782. Each type has a label for representation: +/M/-/R represent CREATE, MODIFY,
  3783. DELETE, and RENAME respectively.]]>
  3784. </doc>
  3785. </class>
  3786. <!-- end class org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffType -->
  3787. <!-- start class org.apache.hadoop.hdfs.protocol.SnapshotException -->
  3788. <class name="SnapshotException" extends="java.io.IOException"
  3789. abstract="false"
  3790. static="false" final="false" visibility="public"
  3791. deprecated="not deprecated">
  3792. <constructor name="SnapshotException" type="java.lang.String"
  3793. static="false" final="false" visibility="public"
  3794. deprecated="not deprecated">
  3795. </constructor>
  3796. <constructor name="SnapshotException" type="java.lang.Throwable"
  3797. static="false" final="false" visibility="public"
  3798. deprecated="not deprecated">
  3799. </constructor>
  3800. <doc>
  3801. <![CDATA[Snapshot related exception.]]>
  3802. </doc>
  3803. </class>
  3804. <!-- end class org.apache.hadoop.hdfs.protocol.SnapshotException -->
  3805. <!-- start class org.apache.hadoop.hdfs.protocol.SnapshotInfo.Bean -->
  3806. <class name="SnapshotInfo.Bean" extends="java.lang.Object"
  3807. abstract="false"
  3808. static="true" final="false" visibility="public"
  3809. deprecated="not deprecated">
  3810. <constructor name="Bean" type="java.lang.String, java.lang.String, long"
  3811. static="false" final="false" visibility="public"
  3812. deprecated="not deprecated">
  3813. </constructor>
  3814. <method name="getSnapshotID" return="java.lang.String"
  3815. abstract="false" native="false" synchronized="false"
  3816. static="false" final="false" visibility="public"
  3817. deprecated="not deprecated">
  3818. </method>
  3819. <method name="getSnapshotDirectory" return="java.lang.String"
  3820. abstract="false" native="false" synchronized="false"
  3821. static="false" final="false" visibility="public"
  3822. deprecated="not deprecated">
  3823. </method>
  3824. <method name="getModificationTime" return="long"
  3825. abstract="false" native="false" synchronized="false"
  3826. static="false" final="false" visibility="public"
  3827. deprecated="not deprecated">
  3828. </method>
  3829. </class>
  3830. <!-- end class org.apache.hadoop.hdfs.protocol.SnapshotInfo.Bean -->
  3831. <!-- start class org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus -->
  3832. <class name="SnapshottableDirectoryStatus" extends="java.lang.Object"
  3833. abstract="false"
  3834. static="false" final="false" visibility="public"
  3835. deprecated="not deprecated">
  3836. <constructor name="SnapshottableDirectoryStatus" type="long, long, org.apache.hadoop.fs.permission.FsPermission, java.lang.String, java.lang.String, byte[], long, int, int, int, byte[]"
  3837. static="false" final="false" visibility="public"
  3838. deprecated="not deprecated">
  3839. </constructor>
  3840. <method name="getSnapshotNumber" return="int"
  3841. abstract="false" native="false" synchronized="false"
  3842. static="false" final="false" visibility="public"
  3843. deprecated="not deprecated">
  3844. <doc>
  3845. <![CDATA[@return Number of snapshots that have been taken for the directory]]>
  3846. </doc>
  3847. </method>
  3848. <method name="getSnapshotQuota" return="int"
  3849. abstract="false" native="false" synchronized="false"
  3850. static="false" final="false" visibility="public"
  3851. deprecated="not deprecated">
  3852. <doc>
  3853. <![CDATA[@return Number of snapshots allowed for the directory]]>
  3854. </doc>
  3855. </method>
  3856. <method name="getParentFullPath" return="byte[]"
  3857. abstract="false" native="false" synchronized="false"
  3858. static="false" final="false" visibility="public"
  3859. deprecated="not deprecated">
  3860. <doc>
  3861. <![CDATA[@return Full path of the parent]]>
  3862. </doc>
  3863. </method>
  3864. <method name="getDirStatus" return="org.apache.hadoop.hdfs.protocol.HdfsFileStatus"
  3865. abstract="false" native="false" synchronized="false"
  3866. static="false" final="false" visibility="public"
  3867. deprecated="not deprecated">
  3868. <doc>
  3869. <![CDATA[@return The basic information of the directory]]>
  3870. </doc>
  3871. </method>
  3872. <method name="getFullPath" return="org.apache.hadoop.fs.Path"
  3873. abstract="false" native="false" synchronized="false"
  3874. static="false" final="false" visibility="public"
  3875. deprecated="not deprecated">
  3876. <doc>
  3877. <![CDATA[@return Full path of the file]]>
  3878. </doc>
  3879. </method>
  3880. <method name="print"
  3881. abstract="false" native="false" synchronized="false"
  3882. static="true" final="false" visibility="public"
  3883. deprecated="not deprecated">
  3884. <param name="stats" type="org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus[]"/>
  3885. <param name="out" type="java.io.PrintStream"/>
  3886. <doc>
  3887. <![CDATA[Print a list of {@link SnapshottableDirectoryStatus} out to a given stream.
  3888. @param stats The list of {@link SnapshottableDirectoryStatus}
  3889. @param out The given stream for printing.]]>
  3890. </doc>
  3891. </method>
  3892. <field name="COMPARATOR" type="java.util.Comparator"
  3893. transient="false" volatile="false"
  3894. static="true" final="true" visibility="public"
  3895. deprecated="not deprecated">
  3896. <doc>
  3897. <![CDATA[Compare the statuses by full paths.]]>
  3898. </doc>
  3899. </field>
  3900. <doc>
  3901. <![CDATA[Metadata about a snapshottable directory]]>
  3902. </doc>
  3903. </class>
  3904. <!-- end class org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus -->
  3905. <!-- start class org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus.Bean -->
  3906. <class name="SnapshottableDirectoryStatus.Bean" extends="java.lang.Object"
  3907. abstract="false"
  3908. static="true" final="false" visibility="public"
  3909. deprecated="not deprecated">
  3910. <constructor name="Bean" type="java.lang.String, int, int, long, short, java.lang.String, java.lang.String"
  3911. static="false" final="false" visibility="public"
  3912. deprecated="not deprecated">
  3913. </constructor>
  3914. <method name="getPath" return="java.lang.String"
  3915. abstract="false" native="false" synchronized="false"
  3916. static="false" final="false" visibility="public"
  3917. deprecated="not deprecated">
  3918. </method>
  3919. <method name="getSnapshotNumber" return="int"
  3920. abstract="false" native="false" synchronized="false"
  3921. static="false" final="false" visibility="public"
  3922. deprecated="not deprecated">
  3923. </method>
  3924. <method name="getSnapshotQuota" return="int"
  3925. abstract="false" native="false" synchronized="false"
  3926. static="false" final="false" visibility="public"
  3927. deprecated="not deprecated">
  3928. </method>
  3929. <method name="getModificationTime" return="long"
  3930. abstract="false" native="false" synchronized="false"
  3931. static="false" final="false" visibility="public"
  3932. deprecated="not deprecated">
  3933. </method>
  3934. <method name="getPermission" return="short"
  3935. abstract="false" native="false" synchronized="false"
  3936. static="false" final="false" visibility="public"
  3937. deprecated="not deprecated">
  3938. </method>
  3939. <method name="getOwner" return="java.lang.String"
  3940. abstract="false" native="false" synchronized="false"
  3941. static="false" final="false" visibility="public"
  3942. deprecated="not deprecated">
  3943. </method>
  3944. <method name="getGroup" return="java.lang.String"
  3945. abstract="false" native="false" synchronized="false"
  3946. static="false" final="false" visibility="public"
  3947. deprecated="not deprecated">
  3948. </method>
  3949. </class>
  3950. <!-- end class org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus.Bean -->
  3951. </package>
  3952. <package name="org.apache.hadoop.hdfs.protocol.datatransfer">
  3953. <!-- start class org.apache.hadoop.hdfs.protocol.datatransfer.PipelineAck.ECN -->
  3954. <class name="PipelineAck.ECN" extends="java.lang.Enum"
  3955. abstract="false"
  3956. static="true" final="true" visibility="public"
  3957. deprecated="not deprecated">
  3958. <method name="values" return="org.apache.hadoop.hdfs.protocol.datatransfer.PipelineAck.ECN[]"
  3959. abstract="false" native="false" synchronized="false"
  3960. static="true" final="false" visibility="public"
  3961. deprecated="not deprecated">
  3962. </method>
  3963. <method name="valueOf" return="org.apache.hadoop.hdfs.protocol.datatransfer.PipelineAck.ECN"
  3964. abstract="false" native="false" synchronized="false"
  3965. static="true" final="false" visibility="public"
  3966. deprecated="not deprecated">
  3967. <param name="name" type="java.lang.String"/>
  3968. </method>
  3969. <method name="getValue" return="int"
  3970. abstract="false" native="false" synchronized="false"
  3971. static="false" final="false" visibility="public"
  3972. deprecated="not deprecated">
  3973. </method>
  3974. </class>
  3975. <!-- end class org.apache.hadoop.hdfs.protocol.datatransfer.PipelineAck.ECN -->
  3976. <!-- start class org.apache.hadoop.hdfs.protocol.datatransfer.ReplaceDatanodeOnFailure.Policy -->
  3977. <class name="ReplaceDatanodeOnFailure.Policy" extends="java.lang.Enum"
  3978. abstract="false"
  3979. static="true" final="true" visibility="public"
  3980. deprecated="not deprecated">
  3981. <method name="values" return="org.apache.hadoop.hdfs.protocol.datatransfer.ReplaceDatanodeOnFailure.Policy[]"
  3982. abstract="false" native="false" synchronized="false"
  3983. static="true" final="false" visibility="public"
  3984. deprecated="not deprecated">
  3985. </method>
  3986. <method name="valueOf" return="org.apache.hadoop.hdfs.protocol.datatransfer.ReplaceDatanodeOnFailure.Policy"
  3987. abstract="false" native="false" synchronized="false"
  3988. static="true" final="false" visibility="public"
  3989. deprecated="not deprecated">
  3990. <param name="name" type="java.lang.String"/>
  3991. </method>
  3992. <doc>
  3993. <![CDATA[The replacement policies]]>
  3994. </doc>
  3995. </class>
  3996. <!-- end class org.apache.hadoop.hdfs.protocol.datatransfer.ReplaceDatanodeOnFailure.Policy -->
  3997. <!-- start class org.apache.hadoop.hdfs.protocol.datatransfer.TrustedChannelResolver -->
  3998. <class name="TrustedChannelResolver" extends="java.lang.Object"
  3999. abstract="false"
  4000. static="false" final="false" visibility="public"
  4001. deprecated="not deprecated">
  4002. <implements name="org.apache.hadoop.conf.Configurable"/>
  4003. <constructor name="TrustedChannelResolver"
  4004. static="false" final="false" visibility="public"
  4005. deprecated="not deprecated">
  4006. </constructor>
  4007. <method name="getInstance" return="org.apache.hadoop.hdfs.protocol.datatransfer.TrustedChannelResolver"
  4008. abstract="false" native="false" synchronized="false"
  4009. static="true" final="false" visibility="public"
  4010. deprecated="not deprecated">
  4011. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  4012. <doc>
  4013. <![CDATA[Returns an instance of TrustedChannelResolver.
  4014. Looks up the configuration to see if there is custom class specified.
  4015. @param conf
  4016. @return TrustedChannelResolver]]>
  4017. </doc>
  4018. </method>
  4019. <method name="setConf"
  4020. abstract="false" native="false" synchronized="false"
  4021. static="false" final="false" visibility="public"
  4022. deprecated="not deprecated">
  4023. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  4024. </method>
  4025. <method name="getConf" return="org.apache.hadoop.conf.Configuration"
  4026. abstract="false" native="false" synchronized="false"
  4027. static="false" final="false" visibility="public"
  4028. deprecated="not deprecated">
  4029. </method>
  4030. <method name="isTrusted" return="boolean"
  4031. abstract="false" native="false" synchronized="false"
  4032. static="false" final="false" visibility="public"
  4033. deprecated="not deprecated">
  4034. <doc>
  4035. <![CDATA[Return boolean value indicating whether a channel is trusted or not
  4036. from a client's perspective.
  4037. @return true if the channel is trusted and false otherwise.]]>
  4038. </doc>
  4039. </method>
  4040. <method name="isTrusted" return="boolean"
  4041. abstract="false" native="false" synchronized="false"
  4042. static="false" final="false" visibility="public"
  4043. deprecated="not deprecated">
  4044. <param name="peerAddress" type="java.net.InetAddress"/>
  4045. <doc>
  4046. <![CDATA[Identify boolean value indicating whether a channel is trusted or not.
  4047. @param peerAddress address of the peer
  4048. @return true if the channel is trusted and false otherwise.]]>
  4049. </doc>
  4050. </method>
  4051. <doc>
  4052. <![CDATA[Class used to indicate whether a channel is trusted or not.
  4053. The default implementation is to return false indicating that
  4054. the channel is not trusted.
  4055. This class can be overridden to provide custom logic to determine
  4056. whether a channel is trusted or not.
  4057. The custom class can be specified via configuration.]]>
  4058. </doc>
  4059. </class>
  4060. <!-- end class org.apache.hadoop.hdfs.protocol.datatransfer.TrustedChannelResolver -->
  4061. <!-- start class org.apache.hadoop.hdfs.protocol.datatransfer.WhitelistBasedTrustedChannelResolver -->
  4062. <class name="WhitelistBasedTrustedChannelResolver" extends="org.apache.hadoop.hdfs.protocol.datatransfer.TrustedChannelResolver"
  4063. abstract="false"
  4064. static="false" final="false" visibility="public"
  4065. deprecated="not deprecated">
  4066. <constructor name="WhitelistBasedTrustedChannelResolver"
  4067. static="false" final="false" visibility="public"
  4068. deprecated="not deprecated">
  4069. </constructor>
  4070. <method name="setConf"
  4071. abstract="false" native="false" synchronized="false"
  4072. static="false" final="false" visibility="public"
  4073. deprecated="not deprecated">
  4074. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  4075. </method>
  4076. <method name="isTrusted" return="boolean"
  4077. abstract="false" native="false" synchronized="false"
  4078. static="false" final="false" visibility="public"
  4079. deprecated="not deprecated">
  4080. </method>
  4081. <method name="isTrusted" return="boolean"
  4082. abstract="false" native="false" synchronized="false"
  4083. static="false" final="false" visibility="public"
  4084. deprecated="not deprecated">
  4085. <param name="clientAddress" type="java.net.InetAddress"/>
  4086. </method>
  4087. <field name="DFS_DATATRANSFER_SERVER_FIXEDWHITELIST_FILE" type="java.lang.String"
  4088. transient="false" volatile="false"
  4089. static="true" final="true" visibility="public"
  4090. deprecated="not deprecated">
  4091. <doc>
  4092. <![CDATA[Path to the file to containing subnets and ip addresses to form fixed whitelist.]]>
  4093. </doc>
  4094. </field>
  4095. <field name="DFS_DATATRANSFER_SERVER_VARIABLEWHITELIST_ENABLE" type="java.lang.String"
  4096. transient="false" volatile="false"
  4097. static="true" final="true" visibility="public"
  4098. deprecated="not deprecated">
  4099. <doc>
  4100. <![CDATA[Enables/Disables variable whitelist]]>
  4101. </doc>
  4102. </field>
  4103. <field name="DFS_DATATRANSFER_SERVER_VARIABLEWHITELIST_FILE" type="java.lang.String"
  4104. transient="false" volatile="false"
  4105. static="true" final="true" visibility="public"
  4106. deprecated="not deprecated">
  4107. <doc>
  4108. <![CDATA[Path to the file to containing subnets and ip addresses to form variable whitelist.]]>
  4109. </doc>
  4110. </field>
  4111. <field name="DFS_DATATRANSFER_SERVER_VARIABLEWHITELIST_CACHE_SECS" type="java.lang.String"
  4112. transient="false" volatile="false"
  4113. static="true" final="true" visibility="public"
  4114. deprecated="not deprecated">
  4115. <doc>
  4116. <![CDATA[time in seconds by which the variable whitelist file is checked for updates]]>
  4117. </doc>
  4118. </field>
  4119. <field name="DFS_DATATRANSFER_CLIENT_FIXEDWHITELIST_FILE" type="java.lang.String"
  4120. transient="false" volatile="false"
  4121. static="true" final="true" visibility="public"
  4122. deprecated="not deprecated">
  4123. <doc>
  4124. <![CDATA[Path to the file to containing subnets and ip addresses to form fixed whitelist.]]>
  4125. </doc>
  4126. </field>
  4127. <field name="DFS_DATATRANSFER_CLIENT_VARIABLEWHITELIST_ENABLE" type="java.lang.String"
  4128. transient="false" volatile="false"
  4129. static="true" final="true" visibility="public"
  4130. deprecated="not deprecated">
  4131. <doc>
  4132. <![CDATA[Enables/Disables variable whitelist]]>
  4133. </doc>
  4134. </field>
  4135. <field name="DFS_DATATRANSFER_CLIENT_VARIABLEWHITELIST_FILE" type="java.lang.String"
  4136. transient="false" volatile="false"
  4137. static="true" final="true" visibility="public"
  4138. deprecated="not deprecated">
  4139. <doc>
  4140. <![CDATA[Path to the file to containing subnets and ip addresses to form variable whitelist.]]>
  4141. </doc>
  4142. </field>
  4143. <field name="DFS_DATATRANSFER_CLIENT_VARIABLEWHITELIST_CACHE_SECS" type="java.lang.String"
  4144. transient="false" volatile="false"
  4145. static="true" final="true" visibility="public"
  4146. deprecated="not deprecated">
  4147. <doc>
  4148. <![CDATA[time in seconds by which the variable whitelist file is checked for updates]]>
  4149. </doc>
  4150. </field>
  4151. </class>
  4152. <!-- end class org.apache.hadoop.hdfs.protocol.datatransfer.WhitelistBasedTrustedChannelResolver -->
  4153. </package>
  4154. <package name="org.apache.hadoop.hdfs.protocol.datatransfer.sasl">
  4155. </package>
  4156. <package name="org.apache.hadoop.hdfs.protocolPB">
  4157. <!-- start class org.apache.hadoop.hdfs.protocolPB.DatanodeProtocolServerSideTranslatorPB -->
  4158. <class name="DatanodeProtocolServerSideTranslatorPB" extends="java.lang.Object"
  4159. abstract="false"
  4160. static="false" final="false" visibility="public"
  4161. deprecated="not deprecated">
  4162. <implements name="org.apache.hadoop.hdfs.protocolPB.DatanodeProtocolPB"/>
  4163. <constructor name="DatanodeProtocolServerSideTranslatorPB" type="org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol"
  4164. static="false" final="false" visibility="public"
  4165. deprecated="not deprecated">
  4166. </constructor>
  4167. <method name="registerDatanode" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.RegisterDatanodeResponseProto"
  4168. abstract="false" native="false" synchronized="false"
  4169. static="false" final="false" visibility="public"
  4170. deprecated="not deprecated">
  4171. <param name="controller" type="com.google.protobuf.RpcController"/>
  4172. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.RegisterDatanodeRequestProto"/>
  4173. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4174. </method>
  4175. <method name="sendHeartbeat" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.HeartbeatResponseProto"
  4176. abstract="false" native="false" synchronized="false"
  4177. static="false" final="false" visibility="public"
  4178. deprecated="not deprecated">
  4179. <param name="controller" type="com.google.protobuf.RpcController"/>
  4180. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.HeartbeatRequestProto"/>
  4181. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4182. </method>
  4183. <method name="blockReport" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.BlockReportResponseProto"
  4184. abstract="false" native="false" synchronized="false"
  4185. static="false" final="false" visibility="public"
  4186. deprecated="not deprecated">
  4187. <param name="controller" type="com.google.protobuf.RpcController"/>
  4188. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.BlockReportRequestProto"/>
  4189. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4190. </method>
  4191. <method name="cacheReport" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.CacheReportResponseProto"
  4192. abstract="false" native="false" synchronized="false"
  4193. static="false" final="false" visibility="public"
  4194. deprecated="not deprecated">
  4195. <param name="controller" type="com.google.protobuf.RpcController"/>
  4196. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.CacheReportRequestProto"/>
  4197. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4198. </method>
  4199. <method name="blockReceivedAndDeleted" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.BlockReceivedAndDeletedResponseProto"
  4200. abstract="false" native="false" synchronized="false"
  4201. static="false" final="false" visibility="public"
  4202. deprecated="not deprecated">
  4203. <param name="controller" type="com.google.protobuf.RpcController"/>
  4204. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.BlockReceivedAndDeletedRequestProto"/>
  4205. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4206. </method>
  4207. <method name="errorReport" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.ErrorReportResponseProto"
  4208. abstract="false" native="false" synchronized="false"
  4209. static="false" final="false" visibility="public"
  4210. deprecated="not deprecated">
  4211. <param name="controller" type="com.google.protobuf.RpcController"/>
  4212. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.ErrorReportRequestProto"/>
  4213. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4214. </method>
  4215. <method name="versionRequest" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.VersionResponseProto"
  4216. abstract="false" native="false" synchronized="false"
  4217. static="false" final="false" visibility="public"
  4218. deprecated="not deprecated">
  4219. <param name="controller" type="com.google.protobuf.RpcController"/>
  4220. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.VersionRequestProto"/>
  4221. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4222. </method>
  4223. <method name="reportBadBlocks" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.ReportBadBlocksResponseProto"
  4224. abstract="false" native="false" synchronized="false"
  4225. static="false" final="false" visibility="public"
  4226. deprecated="not deprecated">
  4227. <param name="controller" type="com.google.protobuf.RpcController"/>
  4228. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.ReportBadBlocksRequestProto"/>
  4229. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4230. </method>
  4231. <method name="commitBlockSynchronization" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.CommitBlockSynchronizationResponseProto"
  4232. abstract="false" native="false" synchronized="false"
  4233. static="false" final="false" visibility="public"
  4234. deprecated="not deprecated">
  4235. <param name="controller" type="com.google.protobuf.RpcController"/>
  4236. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto"/>
  4237. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4238. </method>
  4239. </class>
  4240. <!-- end class org.apache.hadoop.hdfs.protocolPB.DatanodeProtocolServerSideTranslatorPB -->
  4241. <!-- start class org.apache.hadoop.hdfs.protocolPB.NamenodeProtocolServerSideTranslatorPB -->
  4242. <class name="NamenodeProtocolServerSideTranslatorPB" extends="java.lang.Object"
  4243. abstract="false"
  4244. static="false" final="false" visibility="public"
  4245. deprecated="not deprecated">
  4246. <implements name="org.apache.hadoop.hdfs.protocolPB.NamenodeProtocolPB"/>
  4247. <constructor name="NamenodeProtocolServerSideTranslatorPB" type="org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol"
  4248. static="false" final="false" visibility="public"
  4249. deprecated="not deprecated">
  4250. </constructor>
  4251. <method name="getBlocks" return="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.GetBlocksResponseProto"
  4252. abstract="false" native="false" synchronized="false"
  4253. static="false" final="false" visibility="public"
  4254. deprecated="not deprecated">
  4255. <param name="unused" type="com.google.protobuf.RpcController"/>
  4256. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.GetBlocksRequestProto"/>
  4257. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4258. </method>
  4259. <method name="getBlockKeys" return="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.GetBlockKeysResponseProto"
  4260. abstract="false" native="false" synchronized="false"
  4261. static="false" final="false" visibility="public"
  4262. deprecated="not deprecated">
  4263. <param name="unused" type="com.google.protobuf.RpcController"/>
  4264. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.GetBlockKeysRequestProto"/>
  4265. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4266. </method>
  4267. <method name="getTransactionId" return="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.GetTransactionIdResponseProto"
  4268. abstract="false" native="false" synchronized="false"
  4269. static="false" final="false" visibility="public"
  4270. deprecated="not deprecated">
  4271. <param name="unused" type="com.google.protobuf.RpcController"/>
  4272. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.GetTransactionIdRequestProto"/>
  4273. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4274. </method>
  4275. <method name="getMostRecentCheckpointTxId" return="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.GetMostRecentCheckpointTxIdResponseProto"
  4276. abstract="false" native="false" synchronized="false"
  4277. static="false" final="false" visibility="public"
  4278. deprecated="not deprecated">
  4279. <param name="unused" type="com.google.protobuf.RpcController"/>
  4280. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.GetMostRecentCheckpointTxIdRequestProto"/>
  4281. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4282. </method>
  4283. <method name="rollEditLog" return="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.RollEditLogResponseProto"
  4284. abstract="false" native="false" synchronized="false"
  4285. static="false" final="false" visibility="public"
  4286. deprecated="not deprecated">
  4287. <param name="unused" type="com.google.protobuf.RpcController"/>
  4288. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.RollEditLogRequestProto"/>
  4289. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4290. </method>
  4291. <method name="errorReport" return="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.ErrorReportResponseProto"
  4292. abstract="false" native="false" synchronized="false"
  4293. static="false" final="false" visibility="public"
  4294. deprecated="not deprecated">
  4295. <param name="unused" type="com.google.protobuf.RpcController"/>
  4296. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.ErrorReportRequestProto"/>
  4297. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4298. </method>
  4299. <method name="registerSubordinateNamenode" return="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.RegisterResponseProto"
  4300. abstract="false" native="false" synchronized="false"
  4301. static="false" final="false" visibility="public"
  4302. deprecated="not deprecated">
  4303. <param name="unused" type="com.google.protobuf.RpcController"/>
  4304. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.RegisterRequestProto"/>
  4305. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4306. </method>
  4307. <method name="startCheckpoint" return="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.StartCheckpointResponseProto"
  4308. abstract="false" native="false" synchronized="false"
  4309. static="false" final="false" visibility="public"
  4310. deprecated="not deprecated">
  4311. <param name="unused" type="com.google.protobuf.RpcController"/>
  4312. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.StartCheckpointRequestProto"/>
  4313. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4314. </method>
  4315. <method name="endCheckpoint" return="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.EndCheckpointResponseProto"
  4316. abstract="false" native="false" synchronized="false"
  4317. static="false" final="false" visibility="public"
  4318. deprecated="not deprecated">
  4319. <param name="unused" type="com.google.protobuf.RpcController"/>
  4320. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.EndCheckpointRequestProto"/>
  4321. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4322. </method>
  4323. <method name="getEditLogManifest" return="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.GetEditLogManifestResponseProto"
  4324. abstract="false" native="false" synchronized="false"
  4325. static="false" final="false" visibility="public"
  4326. deprecated="not deprecated">
  4327. <param name="unused" type="com.google.protobuf.RpcController"/>
  4328. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.GetEditLogManifestRequestProto"/>
  4329. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4330. </method>
  4331. <method name="versionRequest" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.VersionResponseProto"
  4332. abstract="false" native="false" synchronized="false"
  4333. static="false" final="false" visibility="public"
  4334. deprecated="not deprecated">
  4335. <param name="controller" type="com.google.protobuf.RpcController"/>
  4336. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.VersionRequestProto"/>
  4337. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4338. </method>
  4339. <method name="isUpgradeFinalized" return="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.IsUpgradeFinalizedResponseProto"
  4340. abstract="false" native="false" synchronized="false"
  4341. static="false" final="false" visibility="public"
  4342. deprecated="not deprecated">
  4343. <param name="controller" type="com.google.protobuf.RpcController"/>
  4344. <param name="request" type="org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.IsUpgradeFinalizedRequestProto"/>
  4345. <exception name="ServiceException" type="com.google.protobuf.ServiceException"/>
  4346. </method>
  4347. <doc>
  4348. <![CDATA[Implementation for protobuf service that forwards requests
  4349. received on {@link NamenodeProtocolPB} to the
  4350. {@link NamenodeProtocol} server implementation.]]>
  4351. </doc>
  4352. </class>
  4353. <!-- end class org.apache.hadoop.hdfs.protocolPB.NamenodeProtocolServerSideTranslatorPB -->
  4354. <!-- start class org.apache.hadoop.hdfs.protocolPB.PBHelper -->
  4355. <class name="PBHelper" extends="java.lang.Object"
  4356. abstract="false"
  4357. static="false" final="false" visibility="public"
  4358. deprecated="not deprecated">
  4359. <method name="getByteString" return="com.google.protobuf.ByteString"
  4360. abstract="false" native="false" synchronized="false"
  4361. static="true" final="false" visibility="public"
  4362. deprecated="not deprecated">
  4363. <param name="bytes" type="byte[]"/>
  4364. </method>
  4365. <method name="convert" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.NamenodeRole"
  4366. abstract="false" native="false" synchronized="false"
  4367. static="true" final="false" visibility="public"
  4368. deprecated="not deprecated">
  4369. <param name="role" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.NamenodeRegistrationProto.NamenodeRoleProto"/>
  4370. </method>
  4371. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.NamenodeRegistrationProto.NamenodeRoleProto"
  4372. abstract="false" native="false" synchronized="false"
  4373. static="true" final="false" visibility="public"
  4374. deprecated="not deprecated">
  4375. <param name="role" type="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.NamenodeRole"/>
  4376. </method>
  4377. <method name="convertStoragePolicies" return="org.apache.hadoop.hdfs.protocol.BlockStoragePolicy[]"
  4378. abstract="false" native="false" synchronized="false"
  4379. static="true" final="false" visibility="public"
  4380. deprecated="not deprecated">
  4381. <param name="policyProtos" type="java.util.List"/>
  4382. </method>
  4383. <method name="convert" return="org.apache.hadoop.hdfs.protocol.BlockStoragePolicy"
  4384. abstract="false" native="false" synchronized="false"
  4385. static="true" final="false" visibility="public"
  4386. deprecated="not deprecated">
  4387. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockStoragePolicyProto"/>
  4388. </method>
  4389. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockStoragePolicyProto"
  4390. abstract="false" native="false" synchronized="false"
  4391. static="true" final="false" visibility="public"
  4392. deprecated="not deprecated">
  4393. <param name="policy" type="org.apache.hadoop.hdfs.protocol.BlockStoragePolicy"/>
  4394. </method>
  4395. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProto"
  4396. abstract="false" native="false" synchronized="false"
  4397. static="true" final="false" visibility="public"
  4398. deprecated="not deprecated">
  4399. <param name="types" type="org.apache.hadoop.fs.StorageType[]"/>
  4400. </method>
  4401. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageInfoProto"
  4402. abstract="false" native="false" synchronized="false"
  4403. static="true" final="false" visibility="public"
  4404. deprecated="not deprecated">
  4405. <param name="info" type="org.apache.hadoop.hdfs.server.common.StorageInfo"/>
  4406. </method>
  4407. <method name="convert" return="org.apache.hadoop.hdfs.server.common.StorageInfo"
  4408. abstract="false" native="false" synchronized="false"
  4409. static="true" final="false" visibility="public"
  4410. deprecated="not deprecated">
  4411. <param name="info" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageInfoProto"/>
  4412. <param name="type" type="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.NodeType"/>
  4413. </method>
  4414. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.NamenodeRegistrationProto"
  4415. abstract="false" native="false" synchronized="false"
  4416. static="true" final="false" visibility="public"
  4417. deprecated="not deprecated">
  4418. <param name="reg" type="org.apache.hadoop.hdfs.server.protocol.NamenodeRegistration"/>
  4419. </method>
  4420. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.NamenodeRegistration"
  4421. abstract="false" native="false" synchronized="false"
  4422. static="true" final="false" visibility="public"
  4423. deprecated="not deprecated">
  4424. <param name="reg" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.NamenodeRegistrationProto"/>
  4425. </method>
  4426. <method name="convert" return="org.apache.hadoop.hdfs.protocol.DatanodeID"
  4427. abstract="false" native="false" synchronized="false"
  4428. static="true" final="false" visibility="public"
  4429. deprecated="not deprecated">
  4430. <param name="dn" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeIDProto"/>
  4431. </method>
  4432. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeIDProto"
  4433. abstract="false" native="false" synchronized="false"
  4434. static="true" final="false" visibility="public"
  4435. deprecated="not deprecated">
  4436. <param name="dn" type="org.apache.hadoop.hdfs.protocol.DatanodeID"/>
  4437. </method>
  4438. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeIDProto[]"
  4439. abstract="false" native="false" synchronized="false"
  4440. static="true" final="false" visibility="public"
  4441. deprecated="not deprecated">
  4442. <param name="did" type="org.apache.hadoop.hdfs.protocol.DatanodeID[]"/>
  4443. </method>
  4444. <method name="convert" return="org.apache.hadoop.hdfs.protocol.DatanodeID[]"
  4445. abstract="false" native="false" synchronized="false"
  4446. static="true" final="false" visibility="public"
  4447. deprecated="not deprecated">
  4448. <param name="did" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeIDProto[]"/>
  4449. </method>
  4450. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto"
  4451. abstract="false" native="false" synchronized="false"
  4452. static="true" final="false" visibility="public"
  4453. deprecated="not deprecated">
  4454. <param name="b" type="org.apache.hadoop.hdfs.protocol.Block"/>
  4455. </method>
  4456. <method name="convert" return="org.apache.hadoop.hdfs.protocol.Block"
  4457. abstract="false" native="false" synchronized="false"
  4458. static="true" final="false" visibility="public"
  4459. deprecated="not deprecated">
  4460. <param name="b" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto"/>
  4461. </method>
  4462. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockWithLocationsProto"
  4463. abstract="false" native="false" synchronized="false"
  4464. static="true" final="false" visibility="public"
  4465. deprecated="not deprecated">
  4466. <param name="blk" type="org.apache.hadoop.hdfs.server.protocol.BlocksWithLocations.BlockWithLocations"/>
  4467. </method>
  4468. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.BlocksWithLocations.BlockWithLocations"
  4469. abstract="false" native="false" synchronized="false"
  4470. static="true" final="false" visibility="public"
  4471. deprecated="not deprecated">
  4472. <param name="b" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockWithLocationsProto"/>
  4473. </method>
  4474. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlocksWithLocationsProto"
  4475. abstract="false" native="false" synchronized="false"
  4476. static="true" final="false" visibility="public"
  4477. deprecated="not deprecated">
  4478. <param name="blks" type="org.apache.hadoop.hdfs.server.protocol.BlocksWithLocations"/>
  4479. </method>
  4480. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.BlocksWithLocations"
  4481. abstract="false" native="false" synchronized="false"
  4482. static="true" final="false" visibility="public"
  4483. deprecated="not deprecated">
  4484. <param name="blocks" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlocksWithLocationsProto"/>
  4485. </method>
  4486. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockKeyProto"
  4487. abstract="false" native="false" synchronized="false"
  4488. static="true" final="false" visibility="public"
  4489. deprecated="not deprecated">
  4490. <param name="key" type="org.apache.hadoop.hdfs.security.token.block.BlockKey"/>
  4491. </method>
  4492. <method name="convert" return="org.apache.hadoop.hdfs.security.token.block.BlockKey"
  4493. abstract="false" native="false" synchronized="false"
  4494. static="true" final="false" visibility="public"
  4495. deprecated="not deprecated">
  4496. <param name="k" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockKeyProto"/>
  4497. </method>
  4498. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExportedBlockKeysProto"
  4499. abstract="false" native="false" synchronized="false"
  4500. static="true" final="false" visibility="public"
  4501. deprecated="not deprecated">
  4502. <param name="keys" type="org.apache.hadoop.hdfs.security.token.block.ExportedBlockKeys"/>
  4503. </method>
  4504. <method name="convert" return="org.apache.hadoop.hdfs.security.token.block.ExportedBlockKeys"
  4505. abstract="false" native="false" synchronized="false"
  4506. static="true" final="false" visibility="public"
  4507. deprecated="not deprecated">
  4508. <param name="keys" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExportedBlockKeysProto"/>
  4509. </method>
  4510. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.CheckpointSignatureProto"
  4511. abstract="false" native="false" synchronized="false"
  4512. static="true" final="false" visibility="public"
  4513. deprecated="not deprecated">
  4514. <param name="s" type="org.apache.hadoop.hdfs.server.namenode.CheckpointSignature"/>
  4515. </method>
  4516. <method name="convert" return="org.apache.hadoop.hdfs.server.namenode.CheckpointSignature"
  4517. abstract="false" native="false" synchronized="false"
  4518. static="true" final="false" visibility="public"
  4519. deprecated="not deprecated">
  4520. <param name="s" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.CheckpointSignatureProto"/>
  4521. </method>
  4522. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.RemoteEditLogProto"
  4523. abstract="false" native="false" synchronized="false"
  4524. static="true" final="false" visibility="public"
  4525. deprecated="not deprecated">
  4526. <param name="log" type="org.apache.hadoop.hdfs.server.protocol.RemoteEditLog"/>
  4527. </method>
  4528. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.RemoteEditLog"
  4529. abstract="false" native="false" synchronized="false"
  4530. static="true" final="false" visibility="public"
  4531. deprecated="not deprecated">
  4532. <param name="l" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.RemoteEditLogProto"/>
  4533. </method>
  4534. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.RemoteEditLogManifestProto"
  4535. abstract="false" native="false" synchronized="false"
  4536. static="true" final="false" visibility="public"
  4537. deprecated="not deprecated">
  4538. <param name="manifest" type="org.apache.hadoop.hdfs.server.protocol.RemoteEditLogManifest"/>
  4539. </method>
  4540. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.RemoteEditLogManifest"
  4541. abstract="false" native="false" synchronized="false"
  4542. static="true" final="false" visibility="public"
  4543. deprecated="not deprecated">
  4544. <param name="manifest" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.RemoteEditLogManifestProto"/>
  4545. </method>
  4546. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.CheckpointCommandProto"
  4547. abstract="false" native="false" synchronized="false"
  4548. static="true" final="false" visibility="public"
  4549. deprecated="not deprecated">
  4550. <param name="cmd" type="org.apache.hadoop.hdfs.server.protocol.CheckpointCommand"/>
  4551. </method>
  4552. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.NamenodeCommandProto"
  4553. abstract="false" native="false" synchronized="false"
  4554. static="true" final="false" visibility="public"
  4555. deprecated="not deprecated">
  4556. <param name="cmd" type="org.apache.hadoop.hdfs.server.protocol.NamenodeCommand"/>
  4557. </method>
  4558. <method name="convertBlockKeys" return="org.apache.hadoop.hdfs.security.token.block.BlockKey[]"
  4559. abstract="false" native="false" synchronized="false"
  4560. static="true" final="false" visibility="public"
  4561. deprecated="not deprecated">
  4562. <param name="list" type="java.util.List"/>
  4563. </method>
  4564. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.NamespaceInfo"
  4565. abstract="false" native="false" synchronized="false"
  4566. static="true" final="false" visibility="public"
  4567. deprecated="not deprecated">
  4568. <param name="info" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.NamespaceInfoProto"/>
  4569. </method>
  4570. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.NamenodeCommand"
  4571. abstract="false" native="false" synchronized="false"
  4572. static="true" final="false" visibility="public"
  4573. deprecated="not deprecated">
  4574. <param name="cmd" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.NamenodeCommandProto"/>
  4575. </method>
  4576. <method name="convert" return="org.apache.hadoop.hdfs.protocol.ExtendedBlock"
  4577. abstract="false" native="false" synchronized="false"
  4578. static="true" final="false" visibility="public"
  4579. deprecated="not deprecated">
  4580. <param name="eb" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProto"/>
  4581. </method>
  4582. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProto"
  4583. abstract="false" native="false" synchronized="false"
  4584. static="true" final="false" visibility="public"
  4585. deprecated="not deprecated">
  4586. <param name="b" type="org.apache.hadoop.hdfs.protocol.ExtendedBlock"/>
  4587. </method>
  4588. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.RecoveringBlockProto"
  4589. abstract="false" native="false" synchronized="false"
  4590. static="true" final="false" visibility="public"
  4591. deprecated="not deprecated">
  4592. <param name="b" type="org.apache.hadoop.hdfs.server.protocol.BlockRecoveryCommand.RecoveringBlock"/>
  4593. </method>
  4594. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.BlockRecoveryCommand.RecoveringBlock"
  4595. abstract="false" native="false" synchronized="false"
  4596. static="true" final="false" visibility="public"
  4597. deprecated="not deprecated">
  4598. <param name="b" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.RecoveringBlockProto"/>
  4599. </method>
  4600. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfoProto.AdminState"
  4601. abstract="false" native="false" synchronized="false"
  4602. static="true" final="false" visibility="public"
  4603. deprecated="not deprecated">
  4604. <param name="inAs" type="org.apache.hadoop.hdfs.protocol.DatanodeInfo.AdminStates"/>
  4605. </method>
  4606. <method name="convert" return="org.apache.hadoop.hdfs.protocol.DatanodeInfo"
  4607. abstract="false" native="false" synchronized="false"
  4608. static="true" final="false" visibility="public"
  4609. deprecated="not deprecated">
  4610. <param name="di" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfoProto"/>
  4611. </method>
  4612. <method name="convertDatanodeInfo" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfoProto"
  4613. abstract="false" native="false" synchronized="false"
  4614. static="true" final="false" visibility="public"
  4615. deprecated="not deprecated">
  4616. <param name="di" type="org.apache.hadoop.hdfs.protocol.DatanodeInfo"/>
  4617. </method>
  4618. <method name="convert" return="org.apache.hadoop.hdfs.protocol.DatanodeInfo[]"
  4619. abstract="false" native="false" synchronized="false"
  4620. static="true" final="false" visibility="public"
  4621. deprecated="not deprecated">
  4622. <param name="di" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfoProto[]"/>
  4623. </method>
  4624. <method name="convert" return="java.util.List"
  4625. abstract="false" native="false" synchronized="false"
  4626. static="true" final="false" visibility="public"
  4627. deprecated="not deprecated">
  4628. <param name="dnInfos" type="org.apache.hadoop.hdfs.protocol.DatanodeInfo[]"/>
  4629. </method>
  4630. <method name="convert" return="java.util.List"
  4631. abstract="false" native="false" synchronized="false"
  4632. static="true" final="false" visibility="public"
  4633. deprecated="not deprecated">
  4634. <param name="dnInfos" type="org.apache.hadoop.hdfs.protocol.DatanodeInfo[]"/>
  4635. <param name="startIdx" type="int"/>
  4636. <doc>
  4637. <![CDATA[Copy from {@code dnInfos} to a target of list of same size starting at
  4638. {@code startIdx}.]]>
  4639. </doc>
  4640. </method>
  4641. <method name="convert" return="org.apache.hadoop.hdfs.protocol.DatanodeInfo[]"
  4642. abstract="false" native="false" synchronized="false"
  4643. static="true" final="false" visibility="public"
  4644. deprecated="not deprecated">
  4645. <param name="list" type="java.util.List"/>
  4646. </method>
  4647. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfoProto"
  4648. abstract="false" native="false" synchronized="false"
  4649. static="true" final="false" visibility="public"
  4650. deprecated="not deprecated">
  4651. <param name="info" type="org.apache.hadoop.hdfs.protocol.DatanodeInfo"/>
  4652. </method>
  4653. <method name="convertDatanodeStorageReport" return="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.DatanodeStorageReportProto"
  4654. abstract="false" native="false" synchronized="false"
  4655. static="true" final="false" visibility="public"
  4656. deprecated="not deprecated">
  4657. <param name="report" type="org.apache.hadoop.hdfs.server.protocol.DatanodeStorageReport"/>
  4658. </method>
  4659. <method name="convertDatanodeStorageReports" return="java.util.List"
  4660. abstract="false" native="false" synchronized="false"
  4661. static="true" final="false" visibility="public"
  4662. deprecated="not deprecated">
  4663. <param name="reports" type="org.apache.hadoop.hdfs.server.protocol.DatanodeStorageReport[]"/>
  4664. </method>
  4665. <method name="convertDatanodeStorageReport" return="org.apache.hadoop.hdfs.server.protocol.DatanodeStorageReport"
  4666. abstract="false" native="false" synchronized="false"
  4667. static="true" final="false" visibility="public"
  4668. deprecated="not deprecated">
  4669. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.DatanodeStorageReportProto"/>
  4670. </method>
  4671. <method name="convertDatanodeStorageReports" return="org.apache.hadoop.hdfs.server.protocol.DatanodeStorageReport[]"
  4672. abstract="false" native="false" synchronized="false"
  4673. static="true" final="false" visibility="public"
  4674. deprecated="not deprecated">
  4675. <param name="protos" type="java.util.List"/>
  4676. </method>
  4677. <method name="convert" return="org.apache.hadoop.hdfs.protocol.DatanodeInfo.AdminStates"
  4678. abstract="false" native="false" synchronized="false"
  4679. static="true" final="false" visibility="public"
  4680. deprecated="not deprecated">
  4681. <param name="adminState" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfoProto.AdminState"/>
  4682. </method>
  4683. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.LocatedBlockProto"
  4684. abstract="false" native="false" synchronized="false"
  4685. static="true" final="false" visibility="public"
  4686. deprecated="not deprecated">
  4687. <param name="b" type="org.apache.hadoop.hdfs.protocol.LocatedBlock"/>
  4688. </method>
  4689. <method name="convert" return="org.apache.hadoop.hdfs.protocol.LocatedBlock"
  4690. abstract="false" native="false" synchronized="false"
  4691. static="true" final="false" visibility="public"
  4692. deprecated="not deprecated">
  4693. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.LocatedBlockProto"/>
  4694. </method>
  4695. <method name="convert" return="org.apache.hadoop.security.proto.SecurityProtos.TokenProto"
  4696. abstract="false" native="false" synchronized="false"
  4697. static="true" final="false" visibility="public"
  4698. deprecated="not deprecated">
  4699. <param name="tok" type="org.apache.hadoop.security.token.Token"/>
  4700. </method>
  4701. <method name="convert" return="org.apache.hadoop.security.token.Token"
  4702. abstract="false" native="false" synchronized="false"
  4703. static="true" final="false" visibility="public"
  4704. deprecated="not deprecated">
  4705. <param name="blockToken" type="org.apache.hadoop.security.proto.SecurityProtos.TokenProto"/>
  4706. </method>
  4707. <method name="convertDelegationToken" return="org.apache.hadoop.security.token.Token"
  4708. abstract="false" native="false" synchronized="false"
  4709. static="true" final="false" visibility="public"
  4710. deprecated="not deprecated">
  4711. <param name="blockToken" type="org.apache.hadoop.security.proto.SecurityProtos.TokenProto"/>
  4712. </method>
  4713. <method name="convert" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.ReplicaState"
  4714. abstract="false" native="false" synchronized="false"
  4715. static="true" final="false" visibility="public"
  4716. deprecated="not deprecated">
  4717. <param name="state" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ReplicaStateProto"/>
  4718. </method>
  4719. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ReplicaStateProto"
  4720. abstract="false" native="false" synchronized="false"
  4721. static="true" final="false" visibility="public"
  4722. deprecated="not deprecated">
  4723. <param name="state" type="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.ReplicaState"/>
  4724. </method>
  4725. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.DatanodeRegistrationProto"
  4726. abstract="false" native="false" synchronized="false"
  4727. static="true" final="false" visibility="public"
  4728. deprecated="not deprecated">
  4729. <param name="registration" type="org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration"/>
  4730. </method>
  4731. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration"
  4732. abstract="false" native="false" synchronized="false"
  4733. static="true" final="false" visibility="public"
  4734. deprecated="not deprecated">
  4735. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.DatanodeRegistrationProto"/>
  4736. </method>
  4737. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.DatanodeCommand"
  4738. abstract="false" native="false" synchronized="false"
  4739. static="true" final="false" visibility="public"
  4740. deprecated="not deprecated">
  4741. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.DatanodeCommandProto"/>
  4742. </method>
  4743. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.BalancerBandwidthCommandProto"
  4744. abstract="false" native="false" synchronized="false"
  4745. static="true" final="false" visibility="public"
  4746. deprecated="not deprecated">
  4747. <param name="bbCmd" type="org.apache.hadoop.hdfs.server.protocol.BalancerBandwidthCommand"/>
  4748. </method>
  4749. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.KeyUpdateCommandProto"
  4750. abstract="false" native="false" synchronized="false"
  4751. static="true" final="false" visibility="public"
  4752. deprecated="not deprecated">
  4753. <param name="cmd" type="org.apache.hadoop.hdfs.server.protocol.KeyUpdateCommand"/>
  4754. </method>
  4755. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.BlockRecoveryCommandProto"
  4756. abstract="false" native="false" synchronized="false"
  4757. static="true" final="false" visibility="public"
  4758. deprecated="not deprecated">
  4759. <param name="cmd" type="org.apache.hadoop.hdfs.server.protocol.BlockRecoveryCommand"/>
  4760. </method>
  4761. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.FinalizeCommandProto"
  4762. abstract="false" native="false" synchronized="false"
  4763. static="true" final="false" visibility="public"
  4764. deprecated="not deprecated">
  4765. <param name="cmd" type="org.apache.hadoop.hdfs.server.protocol.FinalizeCommand"/>
  4766. </method>
  4767. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.BlockCommandProto"
  4768. abstract="false" native="false" synchronized="false"
  4769. static="true" final="false" visibility="public"
  4770. deprecated="not deprecated">
  4771. <param name="cmd" type="org.apache.hadoop.hdfs.server.protocol.BlockCommand"/>
  4772. </method>
  4773. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.BlockIdCommandProto"
  4774. abstract="false" native="false" synchronized="false"
  4775. static="true" final="false" visibility="public"
  4776. deprecated="not deprecated">
  4777. <param name="cmd" type="org.apache.hadoop.hdfs.server.protocol.BlockIdCommand"/>
  4778. </method>
  4779. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.DatanodeCommandProto"
  4780. abstract="false" native="false" synchronized="false"
  4781. static="true" final="false" visibility="public"
  4782. deprecated="not deprecated">
  4783. <param name="datanodeCommand" type="org.apache.hadoop.hdfs.server.protocol.DatanodeCommand"/>
  4784. </method>
  4785. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.KeyUpdateCommand"
  4786. abstract="false" native="false" synchronized="false"
  4787. static="true" final="false" visibility="public"
  4788. deprecated="not deprecated">
  4789. <param name="keyUpdateCmd" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.KeyUpdateCommandProto"/>
  4790. </method>
  4791. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.FinalizeCommand"
  4792. abstract="false" native="false" synchronized="false"
  4793. static="true" final="false" visibility="public"
  4794. deprecated="not deprecated">
  4795. <param name="finalizeCmd" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.FinalizeCommandProto"/>
  4796. </method>
  4797. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.BlockRecoveryCommand"
  4798. abstract="false" native="false" synchronized="false"
  4799. static="true" final="false" visibility="public"
  4800. deprecated="not deprecated">
  4801. <param name="recoveryCmd" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.BlockRecoveryCommandProto"/>
  4802. </method>
  4803. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.BlockCommand"
  4804. abstract="false" native="false" synchronized="false"
  4805. static="true" final="false" visibility="public"
  4806. deprecated="not deprecated">
  4807. <param name="blkCmd" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.BlockCommandProto"/>
  4808. </method>
  4809. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.BlockIdCommand"
  4810. abstract="false" native="false" synchronized="false"
  4811. static="true" final="false" visibility="public"
  4812. deprecated="not deprecated">
  4813. <param name="blkIdCmd" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.BlockIdCommandProto"/>
  4814. </method>
  4815. <method name="convert" return="org.apache.hadoop.hdfs.protocol.DatanodeInfo[]"
  4816. abstract="false" native="false" synchronized="false"
  4817. static="true" final="false" visibility="public"
  4818. deprecated="not deprecated">
  4819. <param name="datanodeInfosProto" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto"/>
  4820. </method>
  4821. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.BalancerBandwidthCommand"
  4822. abstract="false" native="false" synchronized="false"
  4823. static="true" final="false" visibility="public"
  4824. deprecated="not deprecated">
  4825. <param name="balancerCmd" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.BalancerBandwidthCommandProto"/>
  4826. </method>
  4827. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.ReceivedDeletedBlockInfoProto"
  4828. abstract="false" native="false" synchronized="false"
  4829. static="true" final="false" visibility="public"
  4830. deprecated="not deprecated">
  4831. <param name="receivedDeletedBlockInfo" type="org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo"/>
  4832. </method>
  4833. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo"
  4834. abstract="false" native="false" synchronized="false"
  4835. static="true" final="false" visibility="public"
  4836. deprecated="not deprecated">
  4837. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.ReceivedDeletedBlockInfoProto"/>
  4838. </method>
  4839. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.NamespaceInfoProto"
  4840. abstract="false" native="false" synchronized="false"
  4841. static="true" final="false" visibility="public"
  4842. deprecated="not deprecated">
  4843. <param name="info" type="org.apache.hadoop.hdfs.server.protocol.NamespaceInfo"/>
  4844. </method>
  4845. <method name="convertLocatedBlock" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.LocatedBlockProto[]"
  4846. abstract="false" native="false" synchronized="false"
  4847. static="true" final="false" visibility="public"
  4848. deprecated="not deprecated">
  4849. <param name="lb" type="org.apache.hadoop.hdfs.protocol.LocatedBlock[]"/>
  4850. </method>
  4851. <method name="convertLocatedBlock" return="org.apache.hadoop.hdfs.protocol.LocatedBlock[]"
  4852. abstract="false" native="false" synchronized="false"
  4853. static="true" final="false" visibility="public"
  4854. deprecated="not deprecated">
  4855. <param name="lb" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.LocatedBlockProto[]"/>
  4856. </method>
  4857. <method name="convertLocatedBlock" return="java.util.List"
  4858. abstract="false" native="false" synchronized="false"
  4859. static="true" final="false" visibility="public"
  4860. deprecated="not deprecated">
  4861. <param name="lb" type="java.util.List"/>
  4862. </method>
  4863. <method name="convertLocatedBlock2" return="java.util.List"
  4864. abstract="false" native="false" synchronized="false"
  4865. static="true" final="false" visibility="public"
  4866. deprecated="not deprecated">
  4867. <param name="lb" type="java.util.List"/>
  4868. </method>
  4869. <method name="convert" return="org.apache.hadoop.hdfs.protocol.LocatedBlocks"
  4870. abstract="false" native="false" synchronized="false"
  4871. static="true" final="false" visibility="public"
  4872. deprecated="not deprecated">
  4873. <param name="lb" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.LocatedBlocksProto"/>
  4874. </method>
  4875. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.LocatedBlocksProto"
  4876. abstract="false" native="false" synchronized="false"
  4877. static="true" final="false" visibility="public"
  4878. deprecated="not deprecated">
  4879. <param name="lb" type="org.apache.hadoop.hdfs.protocol.LocatedBlocks"/>
  4880. </method>
  4881. <method name="convert" return="org.apache.hadoop.hdfs.security.token.block.DataEncryptionKey"
  4882. abstract="false" native="false" synchronized="false"
  4883. static="true" final="false" visibility="public"
  4884. deprecated="not deprecated">
  4885. <param name="bet" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DataEncryptionKeyProto"/>
  4886. </method>
  4887. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DataEncryptionKeyProto"
  4888. abstract="false" native="false" synchronized="false"
  4889. static="true" final="false" visibility="public"
  4890. deprecated="not deprecated">
  4891. <param name="bet" type="org.apache.hadoop.hdfs.security.token.block.DataEncryptionKey"/>
  4892. </method>
  4893. <method name="convert" return="org.apache.hadoop.fs.FsServerDefaults"
  4894. abstract="false" native="false" synchronized="false"
  4895. static="true" final="false" visibility="public"
  4896. deprecated="not deprecated">
  4897. <param name="fs" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.FsServerDefaultsProto"/>
  4898. </method>
  4899. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.FsServerDefaultsProto"
  4900. abstract="false" native="false" synchronized="false"
  4901. static="true" final="false" visibility="public"
  4902. deprecated="not deprecated">
  4903. <param name="fs" type="org.apache.hadoop.fs.FsServerDefaults"/>
  4904. </method>
  4905. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.FsPermissionProto"
  4906. abstract="false" native="false" synchronized="false"
  4907. static="true" final="false" visibility="public"
  4908. deprecated="not deprecated">
  4909. <param name="p" type="org.apache.hadoop.fs.permission.FsPermission"/>
  4910. </method>
  4911. <method name="convert" return="org.apache.hadoop.fs.permission.FsPermission"
  4912. abstract="false" native="false" synchronized="false"
  4913. static="true" final="false" visibility="public"
  4914. deprecated="not deprecated">
  4915. <param name="p" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.FsPermissionProto"/>
  4916. </method>
  4917. <method name="convertCreateFlag" return="int"
  4918. abstract="false" native="false" synchronized="false"
  4919. static="true" final="false" visibility="public"
  4920. deprecated="not deprecated">
  4921. <param name="flag" type="org.apache.hadoop.io.EnumSetWritable"/>
  4922. </method>
  4923. <method name="convertCreateFlag" return="org.apache.hadoop.io.EnumSetWritable"
  4924. abstract="false" native="false" synchronized="false"
  4925. static="true" final="false" visibility="public"
  4926. deprecated="not deprecated">
  4927. <param name="flag" type="int"/>
  4928. </method>
  4929. <method name="convertCacheFlags" return="int"
  4930. abstract="false" native="false" synchronized="false"
  4931. static="true" final="false" visibility="public"
  4932. deprecated="not deprecated">
  4933. <param name="flags" type="java.util.EnumSet"/>
  4934. </method>
  4935. <method name="convertCacheFlags" return="java.util.EnumSet"
  4936. abstract="false" native="false" synchronized="false"
  4937. static="true" final="false" visibility="public"
  4938. deprecated="not deprecated">
  4939. <param name="flags" type="int"/>
  4940. </method>
  4941. <method name="convert" return="org.apache.hadoop.hdfs.protocol.HdfsFileStatus"
  4942. abstract="false" native="false" synchronized="false"
  4943. static="true" final="false" visibility="public"
  4944. deprecated="not deprecated">
  4945. <param name="fs" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.HdfsFileStatusProto"/>
  4946. </method>
  4947. <method name="convert" return="org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus"
  4948. abstract="false" native="false" synchronized="false"
  4949. static="true" final="false" visibility="public"
  4950. deprecated="not deprecated">
  4951. <param name="sdirStatusProto" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.SnapshottableDirectoryStatusProto"/>
  4952. </method>
  4953. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.HdfsFileStatusProto"
  4954. abstract="false" native="false" synchronized="false"
  4955. static="true" final="false" visibility="public"
  4956. deprecated="not deprecated">
  4957. <param name="fs" type="org.apache.hadoop.hdfs.protocol.HdfsFileStatus"/>
  4958. </method>
  4959. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.SnapshottableDirectoryStatusProto"
  4960. abstract="false" native="false" synchronized="false"
  4961. static="true" final="false" visibility="public"
  4962. deprecated="not deprecated">
  4963. <param name="status" type="org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus"/>
  4964. </method>
  4965. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.HdfsFileStatusProto[]"
  4966. abstract="false" native="false" synchronized="false"
  4967. static="true" final="false" visibility="public"
  4968. deprecated="not deprecated">
  4969. <param name="fs" type="org.apache.hadoop.hdfs.protocol.HdfsFileStatus[]"/>
  4970. </method>
  4971. <method name="convert" return="org.apache.hadoop.hdfs.protocol.HdfsFileStatus[]"
  4972. abstract="false" native="false" synchronized="false"
  4973. static="true" final="false" visibility="public"
  4974. deprecated="not deprecated">
  4975. <param name="fs" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.HdfsFileStatusProto[]"/>
  4976. </method>
  4977. <method name="convert" return="org.apache.hadoop.hdfs.protocol.DirectoryListing"
  4978. abstract="false" native="false" synchronized="false"
  4979. static="true" final="false" visibility="public"
  4980. deprecated="not deprecated">
  4981. <param name="dl" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DirectoryListingProto"/>
  4982. </method>
  4983. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DirectoryListingProto"
  4984. abstract="false" native="false" synchronized="false"
  4985. static="true" final="false" visibility="public"
  4986. deprecated="not deprecated">
  4987. <param name="d" type="org.apache.hadoop.hdfs.protocol.DirectoryListing"/>
  4988. </method>
  4989. <method name="convert" return="long[]"
  4990. abstract="false" native="false" synchronized="false"
  4991. static="true" final="false" visibility="public"
  4992. deprecated="not deprecated">
  4993. <param name="res" type="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.GetFsStatsResponseProto"/>
  4994. </method>
  4995. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.GetFsStatsResponseProto"
  4996. abstract="false" native="false" synchronized="false"
  4997. static="true" final="false" visibility="public"
  4998. deprecated="not deprecated">
  4999. <param name="fsStats" type="long[]"/>
  5000. </method>
  5001. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.DatanodeReportTypeProto"
  5002. abstract="false" native="false" synchronized="false"
  5003. static="true" final="false" visibility="public"
  5004. deprecated="not deprecated">
  5005. <param name="t" type="org.apache.hadoop.hdfs.protocol.HdfsConstants.DatanodeReportType"/>
  5006. </method>
  5007. <method name="convert" return="org.apache.hadoop.hdfs.protocol.HdfsConstants.DatanodeReportType"
  5008. abstract="false" native="false" synchronized="false"
  5009. static="true" final="false" visibility="public"
  5010. deprecated="not deprecated">
  5011. <param name="t" type="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.DatanodeReportTypeProto"/>
  5012. </method>
  5013. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.SafeModeActionProto"
  5014. abstract="false" native="false" synchronized="false"
  5015. static="true" final="false" visibility="public"
  5016. deprecated="not deprecated">
  5017. <param name="a" type="org.apache.hadoop.hdfs.protocol.HdfsConstants.SafeModeAction"/>
  5018. </method>
  5019. <method name="convert" return="org.apache.hadoop.hdfs.protocol.HdfsConstants.SafeModeAction"
  5020. abstract="false" native="false" synchronized="false"
  5021. static="true" final="false" visibility="public"
  5022. deprecated="not deprecated">
  5023. <param name="a" type="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.SafeModeActionProto"/>
  5024. </method>
  5025. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.RollingUpgradeActionProto"
  5026. abstract="false" native="false" synchronized="false"
  5027. static="true" final="false" visibility="public"
  5028. deprecated="not deprecated">
  5029. <param name="a" type="org.apache.hadoop.hdfs.protocol.HdfsConstants.RollingUpgradeAction"/>
  5030. </method>
  5031. <method name="convert" return="org.apache.hadoop.hdfs.protocol.HdfsConstants.RollingUpgradeAction"
  5032. abstract="false" native="false" synchronized="false"
  5033. static="true" final="false" visibility="public"
  5034. deprecated="not deprecated">
  5035. <param name="a" type="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.RollingUpgradeActionProto"/>
  5036. </method>
  5037. <method name="convertRollingUpgradeStatus" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.RollingUpgradeStatusProto"
  5038. abstract="false" native="false" synchronized="false"
  5039. static="true" final="false" visibility="public"
  5040. deprecated="not deprecated">
  5041. <param name="status" type="org.apache.hadoop.hdfs.protocol.RollingUpgradeStatus"/>
  5042. </method>
  5043. <method name="convert" return="org.apache.hadoop.hdfs.protocol.RollingUpgradeStatus"
  5044. abstract="false" native="false" synchronized="false"
  5045. static="true" final="false" visibility="public"
  5046. deprecated="not deprecated">
  5047. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.RollingUpgradeStatusProto"/>
  5048. </method>
  5049. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.RollingUpgradeInfoProto"
  5050. abstract="false" native="false" synchronized="false"
  5051. static="true" final="false" visibility="public"
  5052. deprecated="not deprecated">
  5053. <param name="info" type="org.apache.hadoop.hdfs.protocol.RollingUpgradeInfo"/>
  5054. </method>
  5055. <method name="convert" return="org.apache.hadoop.hdfs.protocol.RollingUpgradeInfo"
  5056. abstract="false" native="false" synchronized="false"
  5057. static="true" final="false" visibility="public"
  5058. deprecated="not deprecated">
  5059. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.RollingUpgradeInfoProto"/>
  5060. </method>
  5061. <method name="convert" return="org.apache.hadoop.hdfs.protocol.CorruptFileBlocks"
  5062. abstract="false" native="false" synchronized="false"
  5063. static="true" final="false" visibility="public"
  5064. deprecated="not deprecated">
  5065. <param name="c" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.CorruptFileBlocksProto"/>
  5066. </method>
  5067. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.CorruptFileBlocksProto"
  5068. abstract="false" native="false" synchronized="false"
  5069. static="true" final="false" visibility="public"
  5070. deprecated="not deprecated">
  5071. <param name="c" type="org.apache.hadoop.hdfs.protocol.CorruptFileBlocks"/>
  5072. </method>
  5073. <method name="convert" return="org.apache.hadoop.fs.ContentSummary"
  5074. abstract="false" native="false" synchronized="false"
  5075. static="true" final="false" visibility="public"
  5076. deprecated="not deprecated">
  5077. <param name="cs" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ContentSummaryProto"/>
  5078. </method>
  5079. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ContentSummaryProto"
  5080. abstract="false" native="false" synchronized="false"
  5081. static="true" final="false" visibility="public"
  5082. deprecated="not deprecated">
  5083. <param name="cs" type="org.apache.hadoop.fs.ContentSummary"/>
  5084. </method>
  5085. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.NNHAStatusHeartbeat"
  5086. abstract="false" native="false" synchronized="false"
  5087. static="true" final="false" visibility="public"
  5088. deprecated="not deprecated">
  5089. <param name="s" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.NNHAStatusHeartbeatProto"/>
  5090. </method>
  5091. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.NNHAStatusHeartbeatProto"
  5092. abstract="false" native="false" synchronized="false"
  5093. static="true" final="false" visibility="public"
  5094. deprecated="not deprecated">
  5095. <param name="hb" type="org.apache.hadoop.hdfs.server.protocol.NNHAStatusHeartbeat"/>
  5096. </method>
  5097. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeStorageProto"
  5098. abstract="false" native="false" synchronized="false"
  5099. static="true" final="false" visibility="public"
  5100. deprecated="not deprecated">
  5101. <param name="s" type="org.apache.hadoop.hdfs.server.protocol.DatanodeStorage"/>
  5102. </method>
  5103. <method name="convertStorageTypes" return="java.util.List"
  5104. abstract="false" native="false" synchronized="false"
  5105. static="true" final="false" visibility="public"
  5106. deprecated="not deprecated">
  5107. <param name="types" type="org.apache.hadoop.fs.StorageType[]"/>
  5108. </method>
  5109. <method name="convertStorageTypes" return="java.util.List"
  5110. abstract="false" native="false" synchronized="false"
  5111. static="true" final="false" visibility="public"
  5112. deprecated="not deprecated">
  5113. <param name="types" type="org.apache.hadoop.fs.StorageType[]"/>
  5114. <param name="startIdx" type="int"/>
  5115. </method>
  5116. <method name="convertStorageType" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypeProto"
  5117. abstract="false" native="false" synchronized="false"
  5118. static="true" final="false" visibility="public"
  5119. deprecated="not deprecated">
  5120. <param name="type" type="org.apache.hadoop.fs.StorageType"/>
  5121. </method>
  5122. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.DatanodeStorage"
  5123. abstract="false" native="false" synchronized="false"
  5124. static="true" final="false" visibility="public"
  5125. deprecated="not deprecated">
  5126. <param name="s" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeStorageProto"/>
  5127. </method>
  5128. <method name="convertStorageType" return="org.apache.hadoop.fs.StorageType"
  5129. abstract="false" native="false" synchronized="false"
  5130. static="true" final="false" visibility="public"
  5131. deprecated="not deprecated">
  5132. <param name="type" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypeProto"/>
  5133. </method>
  5134. <method name="convertStorageTypes" return="org.apache.hadoop.fs.StorageType[]"
  5135. abstract="false" native="false" synchronized="false"
  5136. static="true" final="false" visibility="public"
  5137. deprecated="not deprecated">
  5138. <param name="storageTypesList" type="java.util.List"/>
  5139. <param name="expectedSize" type="int"/>
  5140. </method>
  5141. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageReportProto"
  5142. abstract="false" native="false" synchronized="false"
  5143. static="true" final="false" visibility="public"
  5144. deprecated="not deprecated">
  5145. <param name="r" type="org.apache.hadoop.hdfs.server.protocol.StorageReport"/>
  5146. </method>
  5147. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.StorageReport"
  5148. abstract="false" native="false" synchronized="false"
  5149. static="true" final="false" visibility="public"
  5150. deprecated="not deprecated">
  5151. <param name="p" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageReportProto"/>
  5152. </method>
  5153. <method name="convertStorageReports" return="org.apache.hadoop.hdfs.server.protocol.StorageReport[]"
  5154. abstract="false" native="false" synchronized="false"
  5155. static="true" final="false" visibility="public"
  5156. deprecated="not deprecated">
  5157. <param name="list" type="java.util.List"/>
  5158. </method>
  5159. <method name="convertStorageReports" return="java.util.List"
  5160. abstract="false" native="false" synchronized="false"
  5161. static="true" final="false" visibility="public"
  5162. deprecated="not deprecated">
  5163. <param name="storages" type="org.apache.hadoop.hdfs.server.protocol.StorageReport[]"/>
  5164. </method>
  5165. <method name="convertVolumeFailureSummary" return="org.apache.hadoop.hdfs.server.protocol.VolumeFailureSummary"
  5166. abstract="false" native="false" synchronized="false"
  5167. static="true" final="false" visibility="public"
  5168. deprecated="not deprecated">
  5169. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.VolumeFailureSummaryProto"/>
  5170. </method>
  5171. <method name="convertVolumeFailureSummary" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.VolumeFailureSummaryProto"
  5172. abstract="false" native="false" synchronized="false"
  5173. static="true" final="false" visibility="public"
  5174. deprecated="not deprecated">
  5175. <param name="volumeFailureSummary" type="org.apache.hadoop.hdfs.server.protocol.VolumeFailureSummary"/>
  5176. </method>
  5177. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.JournalInfo"
  5178. abstract="false" native="false" synchronized="false"
  5179. static="true" final="false" visibility="public"
  5180. deprecated="not deprecated">
  5181. <param name="info" type="org.apache.hadoop.hdfs.protocol.proto.JournalProtocolProtos.JournalInfoProto"/>
  5182. </method>
  5183. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.JournalProtocolProtos.JournalInfoProto"
  5184. abstract="false" native="false" synchronized="false"
  5185. static="true" final="false" visibility="public"
  5186. deprecated="not deprecated">
  5187. <param name="j" type="org.apache.hadoop.hdfs.server.protocol.JournalInfo"/>
  5188. <doc>
  5189. <![CDATA[Method used for converting {@link JournalInfoProto} sent from Namenode
  5190. to Journal receivers to {@link NamenodeRegistration}.]]>
  5191. </doc>
  5192. </method>
  5193. <method name="convert" return="org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus[]"
  5194. abstract="false" native="false" synchronized="false"
  5195. static="true" final="false" visibility="public"
  5196. deprecated="not deprecated">
  5197. <param name="sdlp" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.SnapshottableDirectoryListingProto"/>
  5198. </method>
  5199. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.SnapshottableDirectoryListingProto"
  5200. abstract="false" native="false" synchronized="false"
  5201. static="true" final="false" visibility="public"
  5202. deprecated="not deprecated">
  5203. <param name="status" type="org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus[]"/>
  5204. </method>
  5205. <method name="convert" return="org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffReportEntry"
  5206. abstract="false" native="false" synchronized="false"
  5207. static="true" final="false" visibility="public"
  5208. deprecated="not deprecated">
  5209. <param name="entry" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.SnapshotDiffReportEntryProto"/>
  5210. </method>
  5211. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.SnapshotDiffReportEntryProto"
  5212. abstract="false" native="false" synchronized="false"
  5213. static="true" final="false" visibility="public"
  5214. deprecated="not deprecated">
  5215. <param name="entry" type="org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffReportEntry"/>
  5216. </method>
  5217. <method name="convert" return="org.apache.hadoop.hdfs.protocol.SnapshotDiffReport"
  5218. abstract="false" native="false" synchronized="false"
  5219. static="true" final="false" visibility="public"
  5220. deprecated="not deprecated">
  5221. <param name="reportProto" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.SnapshotDiffReportProto"/>
  5222. </method>
  5223. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.SnapshotDiffReportProto"
  5224. abstract="false" native="false" synchronized="false"
  5225. static="true" final="false" visibility="public"
  5226. deprecated="not deprecated">
  5227. <param name="report" type="org.apache.hadoop.hdfs.protocol.SnapshotDiffReport"/>
  5228. </method>
  5229. <method name="convert" return="org.apache.hadoop.util.DataChecksum.Type"
  5230. abstract="false" native="false" synchronized="false"
  5231. static="true" final="false" visibility="public"
  5232. deprecated="not deprecated">
  5233. <param name="type" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ChecksumTypeProto"/>
  5234. </method>
  5235. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CacheDirectiveInfoProto"
  5236. abstract="false" native="false" synchronized="false"
  5237. static="true" final="false" visibility="public"
  5238. deprecated="not deprecated">
  5239. <param name="info" type="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo"/>
  5240. </method>
  5241. <method name="convert" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo"
  5242. abstract="false" native="false" synchronized="false"
  5243. static="true" final="false" visibility="public"
  5244. deprecated="not deprecated">
  5245. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CacheDirectiveInfoProto"/>
  5246. </method>
  5247. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CacheDirectiveInfoExpirationProto"
  5248. abstract="false" native="false" synchronized="false"
  5249. static="true" final="false" visibility="public"
  5250. deprecated="not deprecated">
  5251. <param name="expiration" type="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Expiration"/>
  5252. </method>
  5253. <method name="convert" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Expiration"
  5254. abstract="false" native="false" synchronized="false"
  5255. static="true" final="false" visibility="public"
  5256. deprecated="not deprecated">
  5257. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CacheDirectiveInfoExpirationProto"/>
  5258. </method>
  5259. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CacheDirectiveStatsProto"
  5260. abstract="false" native="false" synchronized="false"
  5261. static="true" final="false" visibility="public"
  5262. deprecated="not deprecated">
  5263. <param name="stats" type="org.apache.hadoop.hdfs.protocol.CacheDirectiveStats"/>
  5264. </method>
  5265. <method name="convert" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveStats"
  5266. abstract="false" native="false" synchronized="false"
  5267. static="true" final="false" visibility="public"
  5268. deprecated="not deprecated">
  5269. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CacheDirectiveStatsProto"/>
  5270. </method>
  5271. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CacheDirectiveEntryProto"
  5272. abstract="false" native="false" synchronized="false"
  5273. static="true" final="false" visibility="public"
  5274. deprecated="not deprecated">
  5275. <param name="entry" type="org.apache.hadoop.hdfs.protocol.CacheDirectiveEntry"/>
  5276. </method>
  5277. <method name="convert" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveEntry"
  5278. abstract="false" native="false" synchronized="false"
  5279. static="true" final="false" visibility="public"
  5280. deprecated="not deprecated">
  5281. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CacheDirectiveEntryProto"/>
  5282. </method>
  5283. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CachePoolInfoProto"
  5284. abstract="false" native="false" synchronized="false"
  5285. static="true" final="false" visibility="public"
  5286. deprecated="not deprecated">
  5287. <param name="info" type="org.apache.hadoop.hdfs.protocol.CachePoolInfo"/>
  5288. </method>
  5289. <method name="convert" return="org.apache.hadoop.hdfs.protocol.CachePoolInfo"
  5290. abstract="false" native="false" synchronized="false"
  5291. static="true" final="false" visibility="public"
  5292. deprecated="not deprecated">
  5293. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CachePoolInfoProto"/>
  5294. </method>
  5295. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CachePoolStatsProto"
  5296. abstract="false" native="false" synchronized="false"
  5297. static="true" final="false" visibility="public"
  5298. deprecated="not deprecated">
  5299. <param name="stats" type="org.apache.hadoop.hdfs.protocol.CachePoolStats"/>
  5300. </method>
  5301. <method name="convert" return="org.apache.hadoop.hdfs.protocol.CachePoolStats"
  5302. abstract="false" native="false" synchronized="false"
  5303. static="true" final="false" visibility="public"
  5304. deprecated="not deprecated">
  5305. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CachePoolStatsProto"/>
  5306. </method>
  5307. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CachePoolEntryProto"
  5308. abstract="false" native="false" synchronized="false"
  5309. static="true" final="false" visibility="public"
  5310. deprecated="not deprecated">
  5311. <param name="entry" type="org.apache.hadoop.hdfs.protocol.CachePoolEntry"/>
  5312. </method>
  5313. <method name="convert" return="org.apache.hadoop.hdfs.protocol.CachePoolEntry"
  5314. abstract="false" native="false" synchronized="false"
  5315. static="true" final="false" visibility="public"
  5316. deprecated="not deprecated">
  5317. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.CachePoolEntryProto"/>
  5318. </method>
  5319. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ChecksumTypeProto"
  5320. abstract="false" native="false" synchronized="false"
  5321. static="true" final="false" visibility="public"
  5322. deprecated="not deprecated">
  5323. <param name="type" type="org.apache.hadoop.util.DataChecksum.Type"/>
  5324. </method>
  5325. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeLocalInfoProto"
  5326. abstract="false" native="false" synchronized="false"
  5327. static="true" final="false" visibility="public"
  5328. deprecated="not deprecated">
  5329. <param name="info" type="org.apache.hadoop.hdfs.protocol.DatanodeLocalInfo"/>
  5330. </method>
  5331. <method name="convert" return="org.apache.hadoop.hdfs.protocol.DatanodeLocalInfo"
  5332. abstract="false" native="false" synchronized="false"
  5333. static="true" final="false" visibility="public"
  5334. deprecated="not deprecated">
  5335. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeLocalInfoProto"/>
  5336. </method>
  5337. <method name="vintPrefixed" return="java.io.InputStream"
  5338. abstract="false" native="false" synchronized="false"
  5339. static="true" final="false" visibility="public"
  5340. deprecated="not deprecated">
  5341. <param name="input" type="java.io.InputStream"/>
  5342. <exception name="IOException" type="java.io.IOException"/>
  5343. </method>
  5344. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.FsActionProto"
  5345. abstract="false" native="false" synchronized="false"
  5346. static="true" final="false" visibility="public"
  5347. deprecated="not deprecated">
  5348. <param name="v" type="org.apache.hadoop.fs.permission.FsAction"/>
  5349. </method>
  5350. <method name="convert" return="org.apache.hadoop.fs.permission.FsAction"
  5351. abstract="false" native="false" synchronized="false"
  5352. static="true" final="false" visibility="public"
  5353. deprecated="not deprecated">
  5354. <param name="v" type="org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.FsActionProto"/>
  5355. </method>
  5356. <method name="convertAclEntryProto" return="java.util.List"
  5357. abstract="false" native="false" synchronized="false"
  5358. static="true" final="false" visibility="public"
  5359. deprecated="not deprecated">
  5360. <param name="aclSpec" type="java.util.List"/>
  5361. </method>
  5362. <method name="convertAclEntry" return="java.util.List"
  5363. abstract="false" native="false" synchronized="false"
  5364. static="true" final="false" visibility="public"
  5365. deprecated="not deprecated">
  5366. <param name="aclSpec" type="java.util.List"/>
  5367. </method>
  5368. <method name="convert" return="org.apache.hadoop.fs.permission.AclStatus"
  5369. abstract="false" native="false" synchronized="false"
  5370. static="true" final="false" visibility="public"
  5371. deprecated="not deprecated">
  5372. <param name="e" type="org.apache.hadoop.hdfs.protocol.proto.AclProtos.GetAclStatusResponseProto"/>
  5373. </method>
  5374. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.AclProtos.GetAclStatusResponseProto"
  5375. abstract="false" native="false" synchronized="false"
  5376. static="true" final="false" visibility="public"
  5377. deprecated="not deprecated">
  5378. <param name="e" type="org.apache.hadoop.fs.permission.AclStatus"/>
  5379. </method>
  5380. <method name="convertXAttrProto" return="org.apache.hadoop.hdfs.protocol.proto.XAttrProtos.XAttrProto"
  5381. abstract="false" native="false" synchronized="false"
  5382. static="true" final="false" visibility="public"
  5383. deprecated="not deprecated">
  5384. <param name="a" type="org.apache.hadoop.fs.XAttr"/>
  5385. </method>
  5386. <method name="convertXAttrProto" return="java.util.List"
  5387. abstract="false" native="false" synchronized="false"
  5388. static="true" final="false" visibility="public"
  5389. deprecated="not deprecated">
  5390. <param name="xAttrSpec" type="java.util.List"/>
  5391. </method>
  5392. <method name="convert" return="int"
  5393. abstract="false" native="false" synchronized="false"
  5394. static="true" final="false" visibility="public"
  5395. deprecated="not deprecated">
  5396. <param name="flag" type="java.util.EnumSet"/>
  5397. <doc>
  5398. <![CDATA[The flag field in PB is a bitmask whose values are the same a the
  5399. emum values of XAttrSetFlag]]>
  5400. </doc>
  5401. </method>
  5402. <method name="convert" return="java.util.EnumSet"
  5403. abstract="false" native="false" synchronized="false"
  5404. static="true" final="false" visibility="public"
  5405. deprecated="not deprecated">
  5406. <param name="flag" type="int"/>
  5407. </method>
  5408. <method name="convertXAttr" return="org.apache.hadoop.fs.XAttr"
  5409. abstract="false" native="false" synchronized="false"
  5410. static="true" final="false" visibility="public"
  5411. deprecated="not deprecated">
  5412. <param name="a" type="org.apache.hadoop.hdfs.protocol.proto.XAttrProtos.XAttrProto"/>
  5413. </method>
  5414. <method name="convertXAttrs" return="java.util.List"
  5415. abstract="false" native="false" synchronized="false"
  5416. static="true" final="false" visibility="public"
  5417. deprecated="not deprecated">
  5418. <param name="xAttrSpec" type="java.util.List"/>
  5419. </method>
  5420. <method name="convert" return="java.util.List"
  5421. abstract="false" native="false" synchronized="false"
  5422. static="true" final="false" visibility="public"
  5423. deprecated="not deprecated">
  5424. <param name="a" type="org.apache.hadoop.hdfs.protocol.proto.XAttrProtos.GetXAttrsResponseProto"/>
  5425. </method>
  5426. <method name="convertXAttrsResponse" return="org.apache.hadoop.hdfs.protocol.proto.XAttrProtos.GetXAttrsResponseProto"
  5427. abstract="false" native="false" synchronized="false"
  5428. static="true" final="false" visibility="public"
  5429. deprecated="not deprecated">
  5430. <param name="xAttrs" type="java.util.List"/>
  5431. </method>
  5432. <method name="convert" return="java.util.List"
  5433. abstract="false" native="false" synchronized="false"
  5434. static="true" final="false" visibility="public"
  5435. deprecated="not deprecated">
  5436. <param name="a" type="org.apache.hadoop.hdfs.protocol.proto.XAttrProtos.ListXAttrsResponseProto"/>
  5437. </method>
  5438. <method name="convertListXAttrsResponse" return="org.apache.hadoop.hdfs.protocol.proto.XAttrProtos.ListXAttrsResponseProto"
  5439. abstract="false" native="false" synchronized="false"
  5440. static="true" final="false" visibility="public"
  5441. deprecated="not deprecated">
  5442. <param name="names" type="java.util.List"/>
  5443. </method>
  5444. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.EncryptionZonesProtos.EncryptionZoneProto"
  5445. abstract="false" native="false" synchronized="false"
  5446. static="true" final="false" visibility="public"
  5447. deprecated="not deprecated">
  5448. <param name="zone" type="org.apache.hadoop.hdfs.protocol.EncryptionZone"/>
  5449. </method>
  5450. <method name="convert" return="org.apache.hadoop.hdfs.protocol.EncryptionZone"
  5451. abstract="false" native="false" synchronized="false"
  5452. static="true" final="false" visibility="public"
  5453. deprecated="not deprecated">
  5454. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.EncryptionZonesProtos.EncryptionZoneProto"/>
  5455. </method>
  5456. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.DataTransferProtos.ShortCircuitShmSlotProto"
  5457. abstract="false" native="false" synchronized="false"
  5458. static="true" final="false" visibility="public"
  5459. deprecated="not deprecated">
  5460. <param name="slotId" type="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.SlotId"/>
  5461. </method>
  5462. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.DataTransferProtos.ShortCircuitShmIdProto"
  5463. abstract="false" native="false" synchronized="false"
  5464. static="true" final="false" visibility="public"
  5465. deprecated="not deprecated">
  5466. <param name="shmId" type="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.ShmId"/>
  5467. </method>
  5468. <method name="convert" return="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.SlotId"
  5469. abstract="false" native="false" synchronized="false"
  5470. static="true" final="false" visibility="public"
  5471. deprecated="not deprecated">
  5472. <param name="slotId" type="org.apache.hadoop.hdfs.protocol.proto.DataTransferProtos.ShortCircuitShmSlotProto"/>
  5473. </method>
  5474. <method name="convert" return="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.ShmId"
  5475. abstract="false" native="false" synchronized="false"
  5476. static="true" final="false" visibility="public"
  5477. deprecated="not deprecated">
  5478. <param name="shmId" type="org.apache.hadoop.hdfs.protocol.proto.DataTransferProtos.ShortCircuitShmIdProto"/>
  5479. </method>
  5480. <method name="convert" return="org.apache.hadoop.hdfs.inotify.EventBatchList"
  5481. abstract="false" native="false" synchronized="false"
  5482. static="true" final="false" visibility="public"
  5483. deprecated="not deprecated">
  5484. <param name="resp" type="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.GetEditsFromTxidResponseProto"/>
  5485. <exception name="IOException" type="java.io.IOException"/>
  5486. </method>
  5487. <method name="convertEditsResponse" return="org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.GetEditsFromTxidResponseProto"
  5488. abstract="false" native="false" synchronized="false"
  5489. static="true" final="false" visibility="public"
  5490. deprecated="not deprecated">
  5491. <param name="el" type="org.apache.hadoop.hdfs.inotify.EventBatchList"/>
  5492. </method>
  5493. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.CipherOptionProto"
  5494. abstract="false" native="false" synchronized="false"
  5495. static="true" final="false" visibility="public"
  5496. deprecated="not deprecated">
  5497. <param name="option" type="org.apache.hadoop.crypto.CipherOption"/>
  5498. </method>
  5499. <method name="convert" return="org.apache.hadoop.crypto.CipherOption"
  5500. abstract="false" native="false" synchronized="false"
  5501. static="true" final="false" visibility="public"
  5502. deprecated="not deprecated">
  5503. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.CipherOptionProto"/>
  5504. </method>
  5505. <method name="convertCipherOptions" return="java.util.List"
  5506. abstract="false" native="false" synchronized="false"
  5507. static="true" final="false" visibility="public"
  5508. deprecated="not deprecated">
  5509. <param name="options" type="java.util.List"/>
  5510. </method>
  5511. <method name="convertCipherOptionProtos" return="java.util.List"
  5512. abstract="false" native="false" synchronized="false"
  5513. static="true" final="false" visibility="public"
  5514. deprecated="not deprecated">
  5515. <param name="protos" type="java.util.List"/>
  5516. </method>
  5517. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.CipherSuiteProto"
  5518. abstract="false" native="false" synchronized="false"
  5519. static="true" final="false" visibility="public"
  5520. deprecated="not deprecated">
  5521. <param name="suite" type="org.apache.hadoop.crypto.CipherSuite"/>
  5522. </method>
  5523. <method name="convert" return="org.apache.hadoop.crypto.CipherSuite"
  5524. abstract="false" native="false" synchronized="false"
  5525. static="true" final="false" visibility="public"
  5526. deprecated="not deprecated">
  5527. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.CipherSuiteProto"/>
  5528. </method>
  5529. <method name="convert" return="java.util.List"
  5530. abstract="false" native="false" synchronized="false"
  5531. static="true" final="false" visibility="public"
  5532. deprecated="not deprecated">
  5533. <param name="versions" type="org.apache.hadoop.crypto.CryptoProtocolVersion[]"/>
  5534. </method>
  5535. <method name="convertCryptoProtocolVersions" return="org.apache.hadoop.crypto.CryptoProtocolVersion[]"
  5536. abstract="false" native="false" synchronized="false"
  5537. static="true" final="false" visibility="public"
  5538. deprecated="not deprecated">
  5539. <param name="protos" type="java.util.List"/>
  5540. </method>
  5541. <method name="convert" return="org.apache.hadoop.crypto.CryptoProtocolVersion"
  5542. abstract="false" native="false" synchronized="false"
  5543. static="true" final="false" visibility="public"
  5544. deprecated="not deprecated">
  5545. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.CryptoProtocolVersionProto"/>
  5546. </method>
  5547. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.CryptoProtocolVersionProto"
  5548. abstract="false" native="false" synchronized="false"
  5549. static="true" final="false" visibility="public"
  5550. deprecated="not deprecated">
  5551. <param name="version" type="org.apache.hadoop.crypto.CryptoProtocolVersion"/>
  5552. </method>
  5553. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.FileEncryptionInfoProto"
  5554. abstract="false" native="false" synchronized="false"
  5555. static="true" final="false" visibility="public"
  5556. deprecated="not deprecated">
  5557. <param name="info" type="org.apache.hadoop.fs.FileEncryptionInfo"/>
  5558. </method>
  5559. <method name="convertPerFileEncInfo" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.PerFileEncryptionInfoProto"
  5560. abstract="false" native="false" synchronized="false"
  5561. static="true" final="false" visibility="public"
  5562. deprecated="not deprecated">
  5563. <param name="info" type="org.apache.hadoop.fs.FileEncryptionInfo"/>
  5564. </method>
  5565. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ZoneEncryptionInfoProto"
  5566. abstract="false" native="false" synchronized="false"
  5567. static="true" final="false" visibility="public"
  5568. deprecated="not deprecated">
  5569. <param name="suite" type="org.apache.hadoop.crypto.CipherSuite"/>
  5570. <param name="version" type="org.apache.hadoop.crypto.CryptoProtocolVersion"/>
  5571. <param name="keyName" type="java.lang.String"/>
  5572. </method>
  5573. <method name="convert" return="org.apache.hadoop.fs.FileEncryptionInfo"
  5574. abstract="false" native="false" synchronized="false"
  5575. static="true" final="false" visibility="public"
  5576. deprecated="not deprecated">
  5577. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.FileEncryptionInfoProto"/>
  5578. </method>
  5579. <method name="convert" return="org.apache.hadoop.fs.FileEncryptionInfo"
  5580. abstract="false" native="false" synchronized="false"
  5581. static="true" final="false" visibility="public"
  5582. deprecated="not deprecated">
  5583. <param name="fileProto" type="org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.PerFileEncryptionInfoProto"/>
  5584. <param name="suite" type="org.apache.hadoop.crypto.CipherSuite"/>
  5585. <param name="version" type="org.apache.hadoop.crypto.CryptoProtocolVersion"/>
  5586. <param name="keyName" type="java.lang.String"/>
  5587. </method>
  5588. <method name="convert" return="java.util.List"
  5589. abstract="false" native="false" synchronized="false"
  5590. static="true" final="false" visibility="public"
  5591. deprecated="not deprecated">
  5592. <param name="targetPinnings" type="boolean[]"/>
  5593. <param name="idx" type="int"/>
  5594. </method>
  5595. <method name="convertBooleanList" return="boolean[]"
  5596. abstract="false" native="false" synchronized="false"
  5597. static="true" final="false" visibility="public"
  5598. deprecated="not deprecated">
  5599. <param name="targetPinningsList" type="java.util.List"/>
  5600. </method>
  5601. <method name="convert" return="org.apache.hadoop.hdfs.server.protocol.BlockReportContext"
  5602. abstract="false" native="false" synchronized="false"
  5603. static="true" final="false" visibility="public"
  5604. deprecated="not deprecated">
  5605. <param name="proto" type="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.BlockReportContextProto"/>
  5606. </method>
  5607. <method name="convert" return="org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.BlockReportContextProto"
  5608. abstract="false" native="false" synchronized="false"
  5609. static="true" final="false" visibility="public"
  5610. deprecated="not deprecated">
  5611. <param name="context" type="org.apache.hadoop.hdfs.server.protocol.BlockReportContext"/>
  5612. </method>
  5613. <doc>
  5614. <![CDATA[Utilities for converting protobuf classes to and from implementation classes
  5615. and other helper utilities to help in dealing with protobuf.
  5616. Note that when converting from an internal type to protobuf type, the
  5617. converter never return null for protobuf type. The check for internal type
  5618. being null must be done before calling the convert() method.]]>
  5619. </doc>
  5620. </class>
  5621. <!-- end class org.apache.hadoop.hdfs.protocolPB.PBHelper -->
  5622. </package>
  5623. <package name="org.apache.hadoop.hdfs.qjournal.client">
  5624. </package>
  5625. <package name="org.apache.hadoop.hdfs.qjournal.protocol">
  5626. </package>
  5627. <package name="org.apache.hadoop.hdfs.qjournal.protocolPB">
  5628. </package>
  5629. <package name="org.apache.hadoop.hdfs.qjournal.server">
  5630. <!-- start class org.apache.hadoop.hdfs.qjournal.server.Journal -->
  5631. <class name="Journal" extends="java.lang.Object"
  5632. abstract="false"
  5633. static="false" final="false" visibility="public"
  5634. deprecated="not deprecated">
  5635. <implements name="java.io.Closeable"/>
  5636. <method name="close"
  5637. abstract="false" native="false" synchronized="false"
  5638. static="false" final="false" visibility="public"
  5639. deprecated="not deprecated">
  5640. <exception name="IOException" type="java.io.IOException"/>
  5641. <doc>
  5642. <![CDATA[Unlock and release resources.]]>
  5643. </doc>
  5644. </method>
  5645. <method name="getLastWriterEpoch" return="long"
  5646. abstract="false" native="false" synchronized="true"
  5647. static="false" final="false" visibility="public"
  5648. deprecated="not deprecated">
  5649. <exception name="IOException" type="java.io.IOException"/>
  5650. </method>
  5651. <method name="heartbeat"
  5652. abstract="false" native="false" synchronized="false"
  5653. static="false" final="false" visibility="public"
  5654. deprecated="not deprecated">
  5655. <param name="reqInfo" type="org.apache.hadoop.hdfs.qjournal.protocol.RequestInfo"/>
  5656. <exception name="IOException" type="java.io.IOException"/>
  5657. </method>
  5658. <method name="isFormatted" return="boolean"
  5659. abstract="false" native="false" synchronized="true"
  5660. static="false" final="false" visibility="public"
  5661. deprecated="not deprecated">
  5662. </method>
  5663. <method name="startLogSegment"
  5664. abstract="false" native="false" synchronized="true"
  5665. static="false" final="false" visibility="public"
  5666. deprecated="not deprecated">
  5667. <param name="reqInfo" type="org.apache.hadoop.hdfs.qjournal.protocol.RequestInfo"/>
  5668. <param name="txid" type="long"/>
  5669. <param name="layoutVersion" type="int"/>
  5670. <exception name="IOException" type="java.io.IOException"/>
  5671. <doc>
  5672. <![CDATA[Start a new segment at the given txid. The previous segment
  5673. must have already been finalized.]]>
  5674. </doc>
  5675. </method>
  5676. <method name="finalizeLogSegment"
  5677. abstract="false" native="false" synchronized="true"
  5678. static="false" final="false" visibility="public"
  5679. deprecated="not deprecated">
  5680. <param name="reqInfo" type="org.apache.hadoop.hdfs.qjournal.protocol.RequestInfo"/>
  5681. <param name="startTxId" type="long"/>
  5682. <param name="endTxId" type="long"/>
  5683. <exception name="IOException" type="java.io.IOException"/>
  5684. <doc>
  5685. <![CDATA[Finalize the log segment at the given transaction ID.]]>
  5686. </doc>
  5687. </method>
  5688. <method name="purgeLogsOlderThan"
  5689. abstract="false" native="false" synchronized="true"
  5690. static="false" final="false" visibility="public"
  5691. deprecated="not deprecated">
  5692. <param name="reqInfo" type="org.apache.hadoop.hdfs.qjournal.protocol.RequestInfo"/>
  5693. <param name="minTxIdToKeep" type="long"/>
  5694. <exception name="IOException" type="java.io.IOException"/>
  5695. <doc>
  5696. <![CDATA[@see JournalManager#purgeLogsOlderThan(long)]]>
  5697. </doc>
  5698. </method>
  5699. <method name="getEditLogManifest" return="org.apache.hadoop.hdfs.server.protocol.RemoteEditLogManifest"
  5700. abstract="false" native="false" synchronized="false"
  5701. static="false" final="false" visibility="public"
  5702. deprecated="not deprecated">
  5703. <param name="sinceTxId" type="long"/>
  5704. <param name="inProgressOk" type="boolean"/>
  5705. <exception name="IOException" type="java.io.IOException"/>
  5706. <doc>
  5707. <![CDATA[@see QJournalProtocol#getEditLogManifest(String, long, boolean)]]>
  5708. </doc>
  5709. </method>
  5710. <method name="prepareRecovery" return="org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.PrepareRecoveryResponseProto"
  5711. abstract="false" native="false" synchronized="true"
  5712. static="false" final="false" visibility="public"
  5713. deprecated="not deprecated">
  5714. <param name="reqInfo" type="org.apache.hadoop.hdfs.qjournal.protocol.RequestInfo"/>
  5715. <param name="segmentTxId" type="long"/>
  5716. <exception name="IOException" type="java.io.IOException"/>
  5717. <doc>
  5718. <![CDATA[@see QJournalProtocol#prepareRecovery(RequestInfo, long)]]>
  5719. </doc>
  5720. </method>
  5721. <method name="acceptRecovery"
  5722. abstract="false" native="false" synchronized="true"
  5723. static="false" final="false" visibility="public"
  5724. deprecated="not deprecated">
  5725. <param name="reqInfo" type="org.apache.hadoop.hdfs.qjournal.protocol.RequestInfo"/>
  5726. <param name="segment" type="org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.SegmentStateProto"/>
  5727. <param name="fromUrl" type="java.net.URL"/>
  5728. <exception name="IOException" type="java.io.IOException"/>
  5729. <doc>
  5730. <![CDATA[@see QJournalProtocol#acceptRecovery(RequestInfo, QJournalProtocolProtos.SegmentStateProto, URL)]]>
  5731. </doc>
  5732. </method>
  5733. <method name="doPreUpgrade"
  5734. abstract="false" native="false" synchronized="true"
  5735. static="false" final="false" visibility="public"
  5736. deprecated="not deprecated">
  5737. <exception name="IOException" type="java.io.IOException"/>
  5738. </method>
  5739. <method name="doUpgrade"
  5740. abstract="false" native="false" synchronized="true"
  5741. static="false" final="false" visibility="public"
  5742. deprecated="not deprecated">
  5743. <param name="sInfo" type="org.apache.hadoop.hdfs.server.common.StorageInfo"/>
  5744. <exception name="IOException" type="java.io.IOException"/>
  5745. </method>
  5746. <method name="doFinalize"
  5747. abstract="false" native="false" synchronized="true"
  5748. static="false" final="false" visibility="public"
  5749. deprecated="not deprecated">
  5750. <exception name="IOException" type="java.io.IOException"/>
  5751. </method>
  5752. <method name="canRollBack" return="java.lang.Boolean"
  5753. abstract="false" native="false" synchronized="false"
  5754. static="false" final="false" visibility="public"
  5755. deprecated="not deprecated">
  5756. <param name="storage" type="org.apache.hadoop.hdfs.server.common.StorageInfo"/>
  5757. <param name="prevStorage" type="org.apache.hadoop.hdfs.server.common.StorageInfo"/>
  5758. <param name="targetLayoutVersion" type="int"/>
  5759. <exception name="IOException" type="java.io.IOException"/>
  5760. </method>
  5761. <method name="doRollback"
  5762. abstract="false" native="false" synchronized="true"
  5763. static="false" final="false" visibility="public"
  5764. deprecated="not deprecated">
  5765. <exception name="IOException" type="java.io.IOException"/>
  5766. </method>
  5767. <method name="getJournalCTime" return="java.lang.Long"
  5768. abstract="false" native="false" synchronized="false"
  5769. static="false" final="false" visibility="public"
  5770. deprecated="not deprecated">
  5771. <exception name="IOException" type="java.io.IOException"/>
  5772. </method>
  5773. <field name="LAST_PROMISED_FILENAME" type="java.lang.String"
  5774. transient="false" volatile="false"
  5775. static="true" final="true" visibility="public"
  5776. deprecated="not deprecated">
  5777. </field>
  5778. <field name="LAST_WRITER_EPOCH" type="java.lang.String"
  5779. transient="false" volatile="false"
  5780. static="true" final="true" visibility="public"
  5781. deprecated="not deprecated">
  5782. </field>
  5783. <doc>
  5784. <![CDATA[A JournalNode can manage journals for several clusters at once.
  5785. Each such journal is entirely independent despite being hosted by
  5786. the same JVM.]]>
  5787. </doc>
  5788. </class>
  5789. <!-- end class org.apache.hadoop.hdfs.qjournal.server.Journal -->
  5790. <!-- start interface org.apache.hadoop.hdfs.qjournal.server.JournalNodeMXBean -->
  5791. <interface name="JournalNodeMXBean" abstract="true"
  5792. static="false" final="false" visibility="public"
  5793. deprecated="not deprecated">
  5794. <method name="getJournalsStatus" return="java.lang.String"
  5795. abstract="true" native="false" synchronized="false"
  5796. static="false" final="false" visibility="public"
  5797. deprecated="not deprecated">
  5798. <doc>
  5799. <![CDATA[Get status information (e.g., whether formatted) of JournalNode's journals.
  5800. @return A string presenting status for each journal]]>
  5801. </doc>
  5802. </method>
  5803. <doc>
  5804. <![CDATA[This is the JMX management interface for JournalNode information]]>
  5805. </doc>
  5806. </interface>
  5807. <!-- end interface org.apache.hadoop.hdfs.qjournal.server.JournalNodeMXBean -->
  5808. </package>
  5809. <package name="org.apache.hadoop.hdfs.security.token.block">
  5810. <!-- start class org.apache.hadoop.hdfs.security.token.block.BlockPoolTokenSecretManager -->
  5811. <class name="BlockPoolTokenSecretManager" extends="org.apache.hadoop.security.token.SecretManager"
  5812. abstract="false"
  5813. static="false" final="false" visibility="public"
  5814. deprecated="not deprecated">
  5815. <constructor name="BlockPoolTokenSecretManager"
  5816. static="false" final="false" visibility="public"
  5817. deprecated="not deprecated">
  5818. </constructor>
  5819. <method name="addBlockPool"
  5820. abstract="false" native="false" synchronized="true"
  5821. static="false" final="false" visibility="public"
  5822. deprecated="not deprecated">
  5823. <param name="bpid" type="java.lang.String"/>
  5824. <param name="secretMgr" type="org.apache.hadoop.hdfs.security.token.block.BlockTokenSecretManager"/>
  5825. <doc>
  5826. <![CDATA[Add a block pool Id and corresponding {@link BlockTokenSecretManager} to map
  5827. @param bpid block pool Id
  5828. @param secretMgr {@link BlockTokenSecretManager}]]>
  5829. </doc>
  5830. </method>
  5831. <method name="isBlockPoolRegistered" return="boolean"
  5832. abstract="false" native="false" synchronized="true"
  5833. static="false" final="false" visibility="public"
  5834. deprecated="not deprecated">
  5835. <param name="bpid" type="java.lang.String"/>
  5836. </method>
  5837. <method name="createIdentifier" return="org.apache.hadoop.hdfs.security.token.block.BlockTokenIdentifier"
  5838. abstract="false" native="false" synchronized="false"
  5839. static="false" final="false" visibility="public"
  5840. deprecated="not deprecated">
  5841. <doc>
  5842. <![CDATA[Return an empty BlockTokenIdentifer]]>
  5843. </doc>
  5844. </method>
  5845. <method name="createPassword" return="byte[]"
  5846. abstract="false" native="false" synchronized="false"
  5847. static="false" final="false" visibility="public"
  5848. deprecated="not deprecated">
  5849. <param name="identifier" type="org.apache.hadoop.hdfs.security.token.block.BlockTokenIdentifier"/>
  5850. </method>
  5851. <method name="retrievePassword" return="byte[]"
  5852. abstract="false" native="false" synchronized="false"
  5853. static="false" final="false" visibility="public"
  5854. deprecated="not deprecated">
  5855. <param name="identifier" type="org.apache.hadoop.hdfs.security.token.block.BlockTokenIdentifier"/>
  5856. <exception name="SecretManager.InvalidToken" type="org.apache.hadoop.security.token.SecretManager.InvalidToken"/>
  5857. </method>
  5858. <method name="checkAccess"
  5859. abstract="false" native="false" synchronized="false"
  5860. static="false" final="false" visibility="public"
  5861. deprecated="not deprecated">
  5862. <param name="id" type="org.apache.hadoop.hdfs.security.token.block.BlockTokenIdentifier"/>
  5863. <param name="userId" type="java.lang.String"/>
  5864. <param name="block" type="org.apache.hadoop.hdfs.protocol.ExtendedBlock"/>
  5865. <param name="mode" type="org.apache.hadoop.hdfs.security.token.block.BlockTokenSecretManager.AccessMode"/>
  5866. <exception name="SecretManager.InvalidToken" type="org.apache.hadoop.security.token.SecretManager.InvalidToken"/>
  5867. <doc>
  5868. <![CDATA[See {@link BlockTokenSecretManager#checkAccess(BlockTokenIdentifier,
  5869. String, ExtendedBlock, AccessMode)}]]>
  5870. </doc>
  5871. </method>
  5872. <method name="checkAccess"
  5873. abstract="false" native="false" synchronized="false"
  5874. static="false" final="false" visibility="public"
  5875. deprecated="not deprecated">
  5876. <param name="token" type="org.apache.hadoop.security.token.Token"/>
  5877. <param name="userId" type="java.lang.String"/>
  5878. <param name="block" type="org.apache.hadoop.hdfs.protocol.ExtendedBlock"/>
  5879. <param name="mode" type="org.apache.hadoop.hdfs.security.token.block.BlockTokenSecretManager.AccessMode"/>
  5880. <exception name="SecretManager.InvalidToken" type="org.apache.hadoop.security.token.SecretManager.InvalidToken"/>
  5881. <doc>
  5882. <![CDATA[See {@link BlockTokenSecretManager#checkAccess(Token, String,
  5883. ExtendedBlock, AccessMode)}]]>
  5884. </doc>
  5885. </method>
  5886. <method name="addKeys"
  5887. abstract="false" native="false" synchronized="false"
  5888. static="false" final="false" visibility="public"
  5889. deprecated="not deprecated">
  5890. <param name="bpid" type="java.lang.String"/>
  5891. <param name="exportedKeys" type="org.apache.hadoop.hdfs.security.token.block.ExportedBlockKeys"/>
  5892. <exception name="IOException" type="java.io.IOException"/>
  5893. <doc>
  5894. <![CDATA[See {@link BlockTokenSecretManager#addKeys(ExportedBlockKeys)}]]>
  5895. </doc>
  5896. </method>
  5897. <method name="generateToken" return="org.apache.hadoop.security.token.Token"
  5898. abstract="false" native="false" synchronized="false"
  5899. static="false" final="false" visibility="public"
  5900. deprecated="not deprecated">
  5901. <param name="b" type="org.apache.hadoop.hdfs.protocol.ExtendedBlock"/>
  5902. <param name="of" type="java.util.EnumSet"/>
  5903. <exception name="IOException" type="java.io.IOException"/>
  5904. <doc>
  5905. <![CDATA[See {@link BlockTokenSecretManager#generateToken(ExtendedBlock, EnumSet)}]]>
  5906. </doc>
  5907. </method>
  5908. <method name="clearAllKeysForTesting"
  5909. abstract="false" native="false" synchronized="false"
  5910. static="false" final="false" visibility="public"
  5911. deprecated="not deprecated">
  5912. </method>
  5913. <method name="generateDataEncryptionKey" return="org.apache.hadoop.hdfs.security.token.block.DataEncryptionKey"
  5914. abstract="false" native="false" synchronized="false"
  5915. static="false" final="false" visibility="public"
  5916. deprecated="not deprecated">
  5917. <param name="blockPoolId" type="java.lang.String"/>
  5918. </method>
  5919. <method name="retrieveDataEncryptionKey" return="byte[]"
  5920. abstract="false" native="false" synchronized="false"
  5921. static="false" final="false" visibility="public"
  5922. deprecated="not deprecated">
  5923. <param name="keyId" type="int"/>
  5924. <param name="blockPoolId" type="java.lang.String"/>
  5925. <param name="nonce" type="byte[]"/>
  5926. <exception name="IOException" type="java.io.IOException"/>
  5927. </method>
  5928. <doc>
  5929. <![CDATA[Manages a {@link BlockTokenSecretManager} per block pool. Routes the requests
  5930. given a block pool Id to corresponding {@link BlockTokenSecretManager}]]>
  5931. </doc>
  5932. </class>
  5933. <!-- end class org.apache.hadoop.hdfs.security.token.block.BlockPoolTokenSecretManager -->
  5934. <!-- start class org.apache.hadoop.hdfs.security.token.block.BlockTokenSecretManager.AccessMode -->
  5935. <class name="BlockTokenSecretManager.AccessMode" extends="java.lang.Enum"
  5936. abstract="false"
  5937. static="true" final="true" visibility="public"
  5938. deprecated="not deprecated">
  5939. <method name="values" return="org.apache.hadoop.hdfs.security.token.block.BlockTokenSecretManager.AccessMode[]"
  5940. abstract="false" native="false" synchronized="false"
  5941. static="true" final="false" visibility="public"
  5942. deprecated="not deprecated">
  5943. </method>
  5944. <method name="valueOf" return="org.apache.hadoop.hdfs.security.token.block.BlockTokenSecretManager.AccessMode"
  5945. abstract="false" native="false" synchronized="false"
  5946. static="true" final="false" visibility="public"
  5947. deprecated="not deprecated">
  5948. <param name="name" type="java.lang.String"/>
  5949. </method>
  5950. </class>
  5951. <!-- end class org.apache.hadoop.hdfs.security.token.block.BlockTokenSecretManager.AccessMode -->
  5952. </package>
  5953. <package name="org.apache.hadoop.hdfs.security.token.delegation">
  5954. <!-- start class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenIdentifier.SWebHdfsDelegationTokenIdentifier -->
  5955. <class name="DelegationTokenIdentifier.SWebHdfsDelegationTokenIdentifier" extends="org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenIdentifier.WebHdfsDelegationTokenIdentifier"
  5956. abstract="false"
  5957. static="true" final="false" visibility="public"
  5958. deprecated="not deprecated">
  5959. <constructor name="SWebHdfsDelegationTokenIdentifier"
  5960. static="false" final="false" visibility="public"
  5961. deprecated="not deprecated">
  5962. </constructor>
  5963. <method name="getKind" return="org.apache.hadoop.io.Text"
  5964. abstract="false" native="false" synchronized="false"
  5965. static="false" final="false" visibility="public"
  5966. deprecated="not deprecated">
  5967. </method>
  5968. </class>
  5969. <!-- end class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenIdentifier.SWebHdfsDelegationTokenIdentifier -->
  5970. <!-- start class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenIdentifier.WebHdfsDelegationTokenIdentifier -->
  5971. <class name="DelegationTokenIdentifier.WebHdfsDelegationTokenIdentifier" extends="org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenIdentifier"
  5972. abstract="false"
  5973. static="true" final="false" visibility="public"
  5974. deprecated="not deprecated">
  5975. <constructor name="WebHdfsDelegationTokenIdentifier"
  5976. static="false" final="false" visibility="public"
  5977. deprecated="not deprecated">
  5978. </constructor>
  5979. <method name="getKind" return="org.apache.hadoop.io.Text"
  5980. abstract="false" native="false" synchronized="false"
  5981. static="false" final="false" visibility="public"
  5982. deprecated="not deprecated">
  5983. </method>
  5984. </class>
  5985. <!-- end class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenIdentifier.WebHdfsDelegationTokenIdentifier -->
  5986. <!-- start class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager.SecretManagerState -->
  5987. <class name="DelegationTokenSecretManager.SecretManagerState" extends="java.lang.Object"
  5988. abstract="false"
  5989. static="true" final="false" visibility="public"
  5990. deprecated="not deprecated">
  5991. <constructor name="SecretManagerState" type="org.apache.hadoop.hdfs.server.namenode.FsImageProto.SecretManagerSection, java.util.List, java.util.List"
  5992. static="false" final="false" visibility="public"
  5993. deprecated="not deprecated">
  5994. </constructor>
  5995. <field name="section" type="org.apache.hadoop.hdfs.server.namenode.FsImageProto.SecretManagerSection"
  5996. transient="false" volatile="false"
  5997. static="false" final="true" visibility="public"
  5998. deprecated="not deprecated">
  5999. </field>
  6000. <field name="keys" type="java.util.List"
  6001. transient="false" volatile="false"
  6002. static="false" final="true" visibility="public"
  6003. deprecated="not deprecated">
  6004. </field>
  6005. <field name="tokens" type="java.util.List"
  6006. transient="false" volatile="false"
  6007. static="false" final="true" visibility="public"
  6008. deprecated="not deprecated">
  6009. </field>
  6010. </class>
  6011. <!-- end class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager.SecretManagerState -->
  6012. </package>
  6013. <package name="org.apache.hadoop.hdfs.server.balancer">
  6014. <!-- start class org.apache.hadoop.hdfs.server.balancer.Dispatcher.DBlock -->
  6015. <class name="Dispatcher.DBlock" extends="org.apache.hadoop.hdfs.server.balancer.MovedBlocks.Locations"
  6016. abstract="false"
  6017. static="true" final="false" visibility="public"
  6018. deprecated="not deprecated">
  6019. <constructor name="DBlock" type="org.apache.hadoop.hdfs.protocol.Block"
  6020. static="false" final="false" visibility="public"
  6021. deprecated="not deprecated">
  6022. </constructor>
  6023. <doc>
  6024. <![CDATA[A class for keeping track of block locations in the dispatcher.]]>
  6025. </doc>
  6026. </class>
  6027. <!-- end class org.apache.hadoop.hdfs.server.balancer.Dispatcher.DBlock -->
  6028. <!-- start class org.apache.hadoop.hdfs.server.balancer.Dispatcher.DDatanode -->
  6029. <class name="Dispatcher.DDatanode" extends="java.lang.Object"
  6030. abstract="false"
  6031. static="true" final="false" visibility="public"
  6032. deprecated="not deprecated">
  6033. <method name="toString" return="java.lang.String"
  6034. abstract="false" native="false" synchronized="false"
  6035. static="false" final="false" visibility="public"
  6036. deprecated="not deprecated">
  6037. </method>
  6038. <method name="getDatanodeInfo" return="org.apache.hadoop.hdfs.protocol.DatanodeInfo"
  6039. abstract="false" native="false" synchronized="false"
  6040. static="false" final="false" visibility="public"
  6041. deprecated="not deprecated">
  6042. </method>
  6043. <method name="addTarget" return="org.apache.hadoop.hdfs.server.balancer.Dispatcher.DDatanode.StorageGroup"
  6044. abstract="false" native="false" synchronized="false"
  6045. static="false" final="false" visibility="public"
  6046. deprecated="not deprecated">
  6047. <param name="storageType" type="org.apache.hadoop.fs.StorageType"/>
  6048. <param name="maxSize2Move" type="long"/>
  6049. </method>
  6050. <method name="addSource" return="org.apache.hadoop.hdfs.server.balancer.Dispatcher.Source"
  6051. abstract="false" native="false" synchronized="false"
  6052. static="false" final="false" visibility="public"
  6053. deprecated="not deprecated">
  6054. <param name="storageType" type="org.apache.hadoop.fs.StorageType"/>
  6055. <param name="maxSize2Move" type="long"/>
  6056. <param name="d" type="org.apache.hadoop.hdfs.server.balancer.Dispatcher"/>
  6057. </method>
  6058. <field name="delayUntil" type="long"
  6059. transient="false" volatile="false"
  6060. static="false" final="false" visibility="protected"
  6061. deprecated="not deprecated">
  6062. </field>
  6063. <doc>
  6064. <![CDATA[A class that keeps track of a datanode.]]>
  6065. </doc>
  6066. </class>
  6067. <!-- end class org.apache.hadoop.hdfs.server.balancer.Dispatcher.DDatanode -->
  6068. <!-- start class org.apache.hadoop.hdfs.server.balancer.Dispatcher.DDatanode.StorageGroup -->
  6069. <class name="Dispatcher.DDatanode.StorageGroup" extends="java.lang.Object"
  6070. abstract="false"
  6071. static="false" final="false" visibility="public"
  6072. deprecated="not deprecated">
  6073. <method name="getStorageType" return="org.apache.hadoop.fs.StorageType"
  6074. abstract="false" native="false" synchronized="false"
  6075. static="false" final="false" visibility="public"
  6076. deprecated="not deprecated">
  6077. </method>
  6078. <method name="getDatanodeInfo" return="org.apache.hadoop.hdfs.protocol.DatanodeInfo"
  6079. abstract="false" native="false" synchronized="false"
  6080. static="false" final="false" visibility="public"
  6081. deprecated="not deprecated">
  6082. </method>
  6083. <method name="incScheduledSize"
  6084. abstract="false" native="false" synchronized="true"
  6085. static="false" final="false" visibility="public"
  6086. deprecated="not deprecated">
  6087. <param name="size" type="long"/>
  6088. <doc>
  6089. <![CDATA[increment scheduled size]]>
  6090. </doc>
  6091. </method>
  6092. <method name="toString" return="java.lang.String"
  6093. abstract="false" native="false" synchronized="false"
  6094. static="false" final="false" visibility="public"
  6095. deprecated="not deprecated">
  6096. </method>
  6097. <method name="hashCode" return="int"
  6098. abstract="false" native="false" synchronized="false"
  6099. static="false" final="false" visibility="public"
  6100. deprecated="not deprecated">
  6101. </method>
  6102. <method name="equals" return="boolean"
  6103. abstract="false" native="false" synchronized="false"
  6104. static="false" final="false" visibility="public"
  6105. deprecated="not deprecated">
  6106. <param name="obj" type="java.lang.Object"/>
  6107. </method>
  6108. <doc>
  6109. <![CDATA[A group of storages in a datanode with the same storage type.]]>
  6110. </doc>
  6111. </class>
  6112. <!-- end class org.apache.hadoop.hdfs.server.balancer.Dispatcher.DDatanode.StorageGroup -->
  6113. <!-- start class org.apache.hadoop.hdfs.server.balancer.Dispatcher.PendingMove -->
  6114. <class name="Dispatcher.PendingMove" extends="java.lang.Object"
  6115. abstract="false"
  6116. static="false" final="false" visibility="public"
  6117. deprecated="not deprecated">
  6118. <method name="toString" return="java.lang.String"
  6119. abstract="false" native="false" synchronized="false"
  6120. static="false" final="false" visibility="public"
  6121. deprecated="not deprecated">
  6122. </method>
  6123. <doc>
  6124. <![CDATA[This class keeps track of a scheduled block move]]>
  6125. </doc>
  6126. </class>
  6127. <!-- end class org.apache.hadoop.hdfs.server.balancer.Dispatcher.PendingMove -->
  6128. <!-- start class org.apache.hadoop.hdfs.server.balancer.Dispatcher.Source -->
  6129. <class name="Dispatcher.Source" extends="org.apache.hadoop.hdfs.server.balancer.Dispatcher.DDatanode.StorageGroup"
  6130. abstract="false"
  6131. static="false" final="false" visibility="public"
  6132. deprecated="not deprecated">
  6133. <method name="addPendingMove" return="org.apache.hadoop.hdfs.server.balancer.Dispatcher.PendingMove"
  6134. abstract="false" native="false" synchronized="false"
  6135. static="false" final="false" visibility="public"
  6136. deprecated="not deprecated">
  6137. <param name="block" type="org.apache.hadoop.hdfs.server.balancer.Dispatcher.DBlock"/>
  6138. <param name="target" type="org.apache.hadoop.hdfs.server.balancer.Dispatcher.DDatanode.StorageGroup"/>
  6139. <doc>
  6140. <![CDATA[Add a pending move]]>
  6141. </doc>
  6142. </method>
  6143. <method name="hashCode" return="int"
  6144. abstract="false" native="false" synchronized="false"
  6145. static="false" final="false" visibility="public"
  6146. deprecated="not deprecated">
  6147. </method>
  6148. <method name="equals" return="boolean"
  6149. abstract="false" native="false" synchronized="false"
  6150. static="false" final="false" visibility="public"
  6151. deprecated="not deprecated">
  6152. <param name="obj" type="java.lang.Object"/>
  6153. </method>
  6154. <doc>
  6155. <![CDATA[A node that can be the sources of a block move]]>
  6156. </doc>
  6157. </class>
  6158. <!-- end class org.apache.hadoop.hdfs.server.balancer.Dispatcher.Source -->
  6159. <!-- start class org.apache.hadoop.hdfs.server.balancer.Dispatcher.StorageGroupMap -->
  6160. <class name="Dispatcher.StorageGroupMap" extends="java.lang.Object"
  6161. abstract="false"
  6162. static="true" final="false" visibility="public"
  6163. deprecated="not deprecated">
  6164. <constructor name="StorageGroupMap"
  6165. static="false" final="false" visibility="public"
  6166. deprecated="not deprecated">
  6167. </constructor>
  6168. <method name="get" return="G"
  6169. abstract="false" native="false" synchronized="false"
  6170. static="false" final="false" visibility="public"
  6171. deprecated="not deprecated">
  6172. <param name="datanodeUuid" type="java.lang.String"/>
  6173. <param name="storageType" type="org.apache.hadoop.fs.StorageType"/>
  6174. </method>
  6175. <method name="put"
  6176. abstract="false" native="false" synchronized="false"
  6177. static="false" final="false" visibility="public"
  6178. deprecated="not deprecated">
  6179. <param name="g" type="G"/>
  6180. </method>
  6181. <method name="values" return="java.util.Collection"
  6182. abstract="false" native="false" synchronized="false"
  6183. static="false" final="false" visibility="public"
  6184. deprecated="not deprecated">
  6185. </method>
  6186. </class>
  6187. <!-- end class org.apache.hadoop.hdfs.server.balancer.Dispatcher.StorageGroupMap -->
  6188. <!-- start class org.apache.hadoop.hdfs.server.balancer.ExitStatus -->
  6189. <class name="ExitStatus" extends="java.lang.Enum"
  6190. abstract="false"
  6191. static="false" final="true" visibility="public"
  6192. deprecated="not deprecated">
  6193. <method name="values" return="org.apache.hadoop.hdfs.server.balancer.ExitStatus[]"
  6194. abstract="false" native="false" synchronized="false"
  6195. static="true" final="false" visibility="public"
  6196. deprecated="not deprecated">
  6197. </method>
  6198. <method name="valueOf" return="org.apache.hadoop.hdfs.server.balancer.ExitStatus"
  6199. abstract="false" native="false" synchronized="false"
  6200. static="true" final="false" visibility="public"
  6201. deprecated="not deprecated">
  6202. <param name="name" type="java.lang.String"/>
  6203. </method>
  6204. <method name="getExitCode" return="int"
  6205. abstract="false" native="false" synchronized="false"
  6206. static="false" final="false" visibility="public"
  6207. deprecated="not deprecated">
  6208. <doc>
  6209. <![CDATA[@return the command line exit code.]]>
  6210. </doc>
  6211. </method>
  6212. <doc>
  6213. <![CDATA[Exit status - The values associated with each exit status is directly mapped
  6214. to the process's exit code in command line.]]>
  6215. </doc>
  6216. </class>
  6217. <!-- end class org.apache.hadoop.hdfs.server.balancer.ExitStatus -->
  6218. <!-- start interface org.apache.hadoop.hdfs.server.balancer.Matcher -->
  6219. <interface name="Matcher" abstract="true"
  6220. static="false" final="false" visibility="public"
  6221. deprecated="not deprecated">
  6222. <method name="match" return="boolean"
  6223. abstract="true" native="false" synchronized="false"
  6224. static="false" final="false" visibility="public"
  6225. deprecated="not deprecated">
  6226. <param name="cluster" type="org.apache.hadoop.net.NetworkTopology"/>
  6227. <param name="left" type="org.apache.hadoop.net.Node"/>
  6228. <param name="right" type="org.apache.hadoop.net.Node"/>
  6229. <doc>
  6230. <![CDATA[Given the cluster topology, does the left node match the right node?]]>
  6231. </doc>
  6232. </method>
  6233. <field name="SAME_NODE_GROUP" type="org.apache.hadoop.hdfs.server.balancer.Matcher"
  6234. transient="false" volatile="false"
  6235. static="true" final="true" visibility="public"
  6236. deprecated="not deprecated">
  6237. <doc>
  6238. <![CDATA[Match datanodes in the same node group.]]>
  6239. </doc>
  6240. </field>
  6241. <field name="SAME_RACK" type="org.apache.hadoop.hdfs.server.balancer.Matcher"
  6242. transient="false" volatile="false"
  6243. static="true" final="true" visibility="public"
  6244. deprecated="not deprecated">
  6245. <doc>
  6246. <![CDATA[Match datanodes in the same rack.]]>
  6247. </doc>
  6248. </field>
  6249. <field name="ANY_OTHER" type="org.apache.hadoop.hdfs.server.balancer.Matcher"
  6250. transient="false" volatile="false"
  6251. static="true" final="true" visibility="public"
  6252. deprecated="not deprecated">
  6253. <doc>
  6254. <![CDATA[Match any datanode with any other datanode.]]>
  6255. </doc>
  6256. </field>
  6257. <doc>
  6258. <![CDATA[A matcher interface for matching nodes.]]>
  6259. </doc>
  6260. </interface>
  6261. <!-- end interface org.apache.hadoop.hdfs.server.balancer.Matcher -->
  6262. <!-- start class org.apache.hadoop.hdfs.server.balancer.MovedBlocks -->
  6263. <class name="MovedBlocks" extends="java.lang.Object"
  6264. abstract="false"
  6265. static="false" final="false" visibility="public"
  6266. deprecated="not deprecated">
  6267. <constructor name="MovedBlocks" type="long"
  6268. static="false" final="false" visibility="public"
  6269. deprecated="not deprecated">
  6270. <doc>
  6271. <![CDATA[initialize the moved blocks collection]]>
  6272. </doc>
  6273. </constructor>
  6274. <method name="put"
  6275. abstract="false" native="false" synchronized="true"
  6276. static="false" final="false" visibility="public"
  6277. deprecated="not deprecated">
  6278. <param name="block" type="org.apache.hadoop.hdfs.server.balancer.MovedBlocks.Locations"/>
  6279. <doc>
  6280. <![CDATA[add a block thus marking a block to be moved]]>
  6281. </doc>
  6282. </method>
  6283. <method name="contains" return="boolean"
  6284. abstract="false" native="false" synchronized="true"
  6285. static="false" final="false" visibility="public"
  6286. deprecated="not deprecated">
  6287. <param name="block" type="org.apache.hadoop.hdfs.protocol.Block"/>
  6288. <doc>
  6289. <![CDATA[@return if a block is marked as moved]]>
  6290. </doc>
  6291. </method>
  6292. <method name="cleanup"
  6293. abstract="false" native="false" synchronized="true"
  6294. static="false" final="false" visibility="public"
  6295. deprecated="not deprecated">
  6296. <doc>
  6297. <![CDATA[remove old blocks]]>
  6298. </doc>
  6299. </method>
  6300. <doc>
  6301. <![CDATA[This window makes sure to keep blocks that have been moved within a fixed
  6302. time interval (default is 1.5 hour). Old window has blocks that are older;
  6303. Current window has blocks that are more recent; Cleanup method triggers the
  6304. check if blocks in the old window are more than the fixed time interval. If
  6305. yes, purge the old window and then move blocks in current window to old
  6306. window.
  6307. @param <L> Location type]]>
  6308. </doc>
  6309. </class>
  6310. <!-- end class org.apache.hadoop.hdfs.server.balancer.MovedBlocks -->
  6311. <!-- start class org.apache.hadoop.hdfs.server.balancer.MovedBlocks.Locations -->
  6312. <class name="MovedBlocks.Locations" extends="java.lang.Object"
  6313. abstract="false"
  6314. static="true" final="false" visibility="public"
  6315. deprecated="not deprecated">
  6316. <constructor name="Locations" type="org.apache.hadoop.hdfs.protocol.Block"
  6317. static="false" final="false" visibility="public"
  6318. deprecated="not deprecated">
  6319. </constructor>
  6320. <method name="clearLocations"
  6321. abstract="false" native="false" synchronized="true"
  6322. static="false" final="false" visibility="public"
  6323. deprecated="not deprecated">
  6324. <doc>
  6325. <![CDATA[clean block locations]]>
  6326. </doc>
  6327. </method>
  6328. <method name="addLocation"
  6329. abstract="false" native="false" synchronized="true"
  6330. static="false" final="false" visibility="public"
  6331. deprecated="not deprecated">
  6332. <param name="loc" type="L"/>
  6333. <doc>
  6334. <![CDATA[add a location]]>
  6335. </doc>
  6336. </method>
  6337. <method name="isLocatedOn" return="boolean"
  6338. abstract="false" native="false" synchronized="true"
  6339. static="false" final="false" visibility="public"
  6340. deprecated="not deprecated">
  6341. <param name="loc" type="L"/>
  6342. <doc>
  6343. <![CDATA[@return if the block is located on the given location.]]>
  6344. </doc>
  6345. </method>
  6346. <method name="getLocations" return="java.util.List"
  6347. abstract="false" native="false" synchronized="true"
  6348. static="false" final="false" visibility="public"
  6349. deprecated="not deprecated">
  6350. <doc>
  6351. <![CDATA[@return its locations]]>
  6352. </doc>
  6353. </method>
  6354. <method name="getBlock" return="org.apache.hadoop.hdfs.protocol.Block"
  6355. abstract="false" native="false" synchronized="false"
  6356. static="false" final="false" visibility="public"
  6357. deprecated="not deprecated">
  6358. </method>
  6359. <method name="getNumBytes" return="long"
  6360. abstract="false" native="false" synchronized="false"
  6361. static="false" final="false" visibility="public"
  6362. deprecated="not deprecated">
  6363. </method>
  6364. <field name="locations" type="java.util.List"
  6365. transient="false" volatile="false"
  6366. static="false" final="true" visibility="protected"
  6367. deprecated="not deprecated">
  6368. <doc>
  6369. <![CDATA[The locations of the replicas of the block.]]>
  6370. </doc>
  6371. </field>
  6372. <doc>
  6373. <![CDATA[A class for keeping track of a block and its locations]]>
  6374. </doc>
  6375. </class>
  6376. <!-- end class org.apache.hadoop.hdfs.server.balancer.MovedBlocks.Locations -->
  6377. </package>
  6378. <package name="org.apache.hadoop.hdfs.server.blockmanagement">
  6379. <!-- start class org.apache.hadoop.hdfs.server.blockmanagement.BlockIdManager -->
  6380. <class name="BlockIdManager" extends="java.lang.Object"
  6381. abstract="false"
  6382. static="false" final="false" visibility="public"
  6383. deprecated="not deprecated">
  6384. <constructor name="BlockIdManager" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockManager"
  6385. static="false" final="false" visibility="public"
  6386. deprecated="not deprecated">
  6387. </constructor>
  6388. <method name="upgradeGenerationStampToV2" return="long"
  6389. abstract="false" native="false" synchronized="false"
  6390. static="false" final="false" visibility="public"
  6391. deprecated="not deprecated">
  6392. <doc>
  6393. <![CDATA[Upgrades the generation stamp for the filesystem
  6394. by reserving a sufficient range for all existing blocks.
  6395. Should be invoked only during the first upgrade to
  6396. sequential block IDs.]]>
  6397. </doc>
  6398. </method>
  6399. <method name="setGenerationStampV1Limit"
  6400. abstract="false" native="false" synchronized="false"
  6401. static="false" final="false" visibility="public"
  6402. deprecated="not deprecated">
  6403. <param name="stamp" type="long"/>
  6404. <doc>
  6405. <![CDATA[Sets the generation stamp that delineates random and sequentially
  6406. allocated block IDs.
  6407. @param stamp set generation stamp limit to this value]]>
  6408. </doc>
  6409. </method>
  6410. <method name="getGenerationStampAtblockIdSwitch" return="long"
  6411. abstract="false" native="false" synchronized="false"
  6412. static="false" final="false" visibility="public"
  6413. deprecated="not deprecated">
  6414. <doc>
  6415. <![CDATA[Gets the value of the generation stamp that delineates sequential
  6416. and random block IDs.]]>
  6417. </doc>
  6418. </method>
  6419. <method name="setLastAllocatedBlockId"
  6420. abstract="false" native="false" synchronized="false"
  6421. static="false" final="false" visibility="public"
  6422. deprecated="not deprecated">
  6423. <param name="blockId" type="long"/>
  6424. <doc>
  6425. <![CDATA[Sets the maximum allocated block ID for this filesystem. This is
  6426. the basis for allocating new block IDs.]]>
  6427. </doc>
  6428. </method>
  6429. <method name="getLastAllocatedBlockId" return="long"
  6430. abstract="false" native="false" synchronized="false"
  6431. static="false" final="false" visibility="public"
  6432. deprecated="not deprecated">
  6433. <doc>
  6434. <![CDATA[Gets the maximum sequentially allocated block ID for this filesystem]]>
  6435. </doc>
  6436. </method>
  6437. <method name="setGenerationStampV1"
  6438. abstract="false" native="false" synchronized="false"
  6439. static="false" final="false" visibility="public"
  6440. deprecated="not deprecated">
  6441. <param name="stamp" type="long"/>
  6442. <doc>
  6443. <![CDATA[Sets the current generation stamp for legacy blocks]]>
  6444. </doc>
  6445. </method>
  6446. <method name="getGenerationStampV1" return="long"
  6447. abstract="false" native="false" synchronized="false"
  6448. static="false" final="false" visibility="public"
  6449. deprecated="not deprecated">
  6450. <doc>
  6451. <![CDATA[Gets the current generation stamp for legacy blocks]]>
  6452. </doc>
  6453. </method>
  6454. <method name="setGenerationStampV2"
  6455. abstract="false" native="false" synchronized="false"
  6456. static="false" final="false" visibility="public"
  6457. deprecated="not deprecated">
  6458. <param name="stamp" type="long"/>
  6459. <doc>
  6460. <![CDATA[Gets the current generation stamp for this filesystem]]>
  6461. </doc>
  6462. </method>
  6463. <method name="getGenerationStampV2" return="long"
  6464. abstract="false" native="false" synchronized="false"
  6465. static="false" final="false" visibility="public"
  6466. deprecated="not deprecated">
  6467. </method>
  6468. <method name="nextGenerationStamp" return="long"
  6469. abstract="false" native="false" synchronized="false"
  6470. static="false" final="false" visibility="public"
  6471. deprecated="not deprecated">
  6472. <param name="legacyBlock" type="boolean"/>
  6473. <exception name="IOException" type="java.io.IOException"/>
  6474. <doc>
  6475. <![CDATA[Increments, logs and then returns the stamp]]>
  6476. </doc>
  6477. </method>
  6478. <method name="getGenerationStampV1Limit" return="long"
  6479. abstract="false" native="false" synchronized="false"
  6480. static="false" final="false" visibility="public"
  6481. deprecated="not deprecated">
  6482. </method>
  6483. <method name="isLegacyBlock" return="boolean"
  6484. abstract="false" native="false" synchronized="false"
  6485. static="false" final="false" visibility="public"
  6486. deprecated="not deprecated">
  6487. <param name="block" type="org.apache.hadoop.hdfs.protocol.Block"/>
  6488. <doc>
  6489. <![CDATA[Determine whether the block ID was randomly generated (legacy) or
  6490. sequentially generated. The generation stamp value is used to
  6491. make the distinction.
  6492. @return true if the block ID was randomly generated, false otherwise.]]>
  6493. </doc>
  6494. </method>
  6495. <method name="nextBlockId" return="long"
  6496. abstract="false" native="false" synchronized="false"
  6497. static="false" final="false" visibility="public"
  6498. deprecated="not deprecated">
  6499. <doc>
  6500. <![CDATA[Increments, logs and then returns the block ID]]>
  6501. </doc>
  6502. </method>
  6503. <method name="isGenStampInFuture" return="boolean"
  6504. abstract="false" native="false" synchronized="false"
  6505. static="false" final="false" visibility="public"
  6506. deprecated="not deprecated">
  6507. <param name="block" type="org.apache.hadoop.hdfs.protocol.Block"/>
  6508. </method>
  6509. <method name="clear"
  6510. abstract="false" native="false" synchronized="false"
  6511. static="false" final="false" visibility="public"
  6512. deprecated="not deprecated">
  6513. </method>
  6514. <doc>
  6515. <![CDATA[BlockIdManager allocates the generation stamps and the block ID. The
  6516. {@see FSNamesystem} is responsible for persisting the allocations in the
  6517. {@see EditLog}.]]>
  6518. </doc>
  6519. </class>
  6520. <!-- end class org.apache.hadoop.hdfs.server.blockmanagement.BlockIdManager -->
  6521. <!-- start class org.apache.hadoop.hdfs.server.blockmanagement.BlockInfoContiguousUnderConstruction -->
  6522. <class name="BlockInfoContiguousUnderConstruction" extends="org.apache.hadoop.hdfs.server.blockmanagement.BlockInfoContiguous"
  6523. abstract="false"
  6524. static="false" final="false" visibility="public"
  6525. deprecated="not deprecated">
  6526. <constructor name="BlockInfoContiguousUnderConstruction" type="org.apache.hadoop.hdfs.protocol.Block, short"
  6527. static="false" final="false" visibility="public"
  6528. deprecated="not deprecated">
  6529. <doc>
  6530. <![CDATA[Create block and set its state to
  6531. {@link BlockUCState#UNDER_CONSTRUCTION}.]]>
  6532. </doc>
  6533. </constructor>
  6534. <constructor name="BlockInfoContiguousUnderConstruction" type="org.apache.hadoop.hdfs.protocol.Block, short, org.apache.hadoop.hdfs.server.common.HdfsServerConstants.BlockUCState, org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStorageInfo[]"
  6535. static="false" final="false" visibility="public"
  6536. deprecated="not deprecated">
  6537. <doc>
  6538. <![CDATA[Create a block that is currently being constructed.]]>
  6539. </doc>
  6540. </constructor>
  6541. <method name="setExpectedLocations"
  6542. abstract="false" native="false" synchronized="false"
  6543. static="false" final="false" visibility="public"
  6544. deprecated="not deprecated">
  6545. <param name="targets" type="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStorageInfo[]"/>
  6546. <doc>
  6547. <![CDATA[Set expected locations]]>
  6548. </doc>
  6549. </method>
  6550. <method name="getExpectedStorageLocations" return="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStorageInfo[]"
  6551. abstract="false" native="false" synchronized="false"
  6552. static="false" final="false" visibility="public"
  6553. deprecated="not deprecated">
  6554. <doc>
  6555. <![CDATA[Create array of expected replica locations
  6556. (as has been assigned by chooseTargets()).]]>
  6557. </doc>
  6558. </method>
  6559. <method name="getNumExpectedLocations" return="int"
  6560. abstract="false" native="false" synchronized="false"
  6561. static="false" final="false" visibility="public"
  6562. deprecated="not deprecated">
  6563. <doc>
  6564. <![CDATA[Get the number of expected locations]]>
  6565. </doc>
  6566. </method>
  6567. <method name="getBlockUCState" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.BlockUCState"
  6568. abstract="false" native="false" synchronized="false"
  6569. static="false" final="false" visibility="public"
  6570. deprecated="not deprecated">
  6571. <doc>
  6572. <![CDATA[Return the state of the block under construction.
  6573. @see BlockUCState]]>
  6574. </doc>
  6575. </method>
  6576. <method name="getBlockRecoveryId" return="long"
  6577. abstract="false" native="false" synchronized="false"
  6578. static="false" final="false" visibility="public"
  6579. deprecated="not deprecated">
  6580. <doc>
  6581. <![CDATA[Get block recovery ID]]>
  6582. </doc>
  6583. </method>
  6584. <method name="getTruncateBlock" return="org.apache.hadoop.hdfs.protocol.Block"
  6585. abstract="false" native="false" synchronized="false"
  6586. static="false" final="false" visibility="public"
  6587. deprecated="not deprecated">
  6588. <doc>
  6589. <![CDATA[Get recover block]]>
  6590. </doc>
  6591. </method>
  6592. <method name="setTruncateBlock"
  6593. abstract="false" native="false" synchronized="false"
  6594. static="false" final="false" visibility="public"
  6595. deprecated="not deprecated">
  6596. <param name="recoveryBlock" type="org.apache.hadoop.hdfs.protocol.Block"/>
  6597. </method>
  6598. <method name="setGenerationStampAndVerifyReplicas"
  6599. abstract="false" native="false" synchronized="false"
  6600. static="false" final="false" visibility="public"
  6601. deprecated="not deprecated">
  6602. <param name="genStamp" type="long"/>
  6603. <doc>
  6604. <![CDATA[Process the recorded replicas. When about to commit or finish the
  6605. pipeline recovery sort out bad replicas.
  6606. @param genStamp The final generation stamp for the block.]]>
  6607. </doc>
  6608. </method>
  6609. <method name="initializeBlockRecovery"
  6610. abstract="false" native="false" synchronized="false"
  6611. static="false" final="false" visibility="public"
  6612. deprecated="not deprecated">
  6613. <param name="recoveryId" type="long"/>
  6614. <doc>
  6615. <![CDATA[Initialize lease recovery for this block.
  6616. Find the first alive data-node starting from the previous primary and
  6617. make it primary.]]>
  6618. </doc>
  6619. </method>
  6620. <method name="hashCode" return="int"
  6621. abstract="false" native="false" synchronized="false"
  6622. static="false" final="false" visibility="public"
  6623. deprecated="not deprecated">
  6624. </method>
  6625. <method name="equals" return="boolean"
  6626. abstract="false" native="false" synchronized="false"
  6627. static="false" final="false" visibility="public"
  6628. deprecated="not deprecated">
  6629. <param name="obj" type="java.lang.Object"/>
  6630. </method>
  6631. <method name="toString" return="java.lang.String"
  6632. abstract="false" native="false" synchronized="false"
  6633. static="false" final="false" visibility="public"
  6634. deprecated="not deprecated">
  6635. </method>
  6636. <method name="appendStringTo"
  6637. abstract="false" native="false" synchronized="false"
  6638. static="false" final="false" visibility="public"
  6639. deprecated="not deprecated">
  6640. <param name="sb" type="java.lang.StringBuilder"/>
  6641. </method>
  6642. <doc>
  6643. <![CDATA[Represents a block that is currently being constructed.<br>
  6644. This is usually the last block of a file opened for write or append.]]>
  6645. </doc>
  6646. </class>
  6647. <!-- end class org.apache.hadoop.hdfs.server.blockmanagement.BlockInfoContiguousUnderConstruction -->
  6648. <!-- start class org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyWithNodeGroup -->
  6649. <class name="BlockPlacementPolicyWithNodeGroup" extends="org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault"
  6650. abstract="false"
  6651. static="false" final="false" visibility="public"
  6652. deprecated="not deprecated">
  6653. <constructor name="BlockPlacementPolicyWithNodeGroup" type="org.apache.hadoop.conf.Configuration, org.apache.hadoop.hdfs.server.blockmanagement.FSClusterStats, org.apache.hadoop.net.NetworkTopology, org.apache.hadoop.hdfs.server.blockmanagement.DatanodeManager"
  6654. static="false" final="false" visibility="protected"
  6655. deprecated="not deprecated">
  6656. </constructor>
  6657. <constructor name="BlockPlacementPolicyWithNodeGroup"
  6658. static="false" final="false" visibility="protected"
  6659. deprecated="not deprecated">
  6660. </constructor>
  6661. <method name="initialize"
  6662. abstract="false" native="false" synchronized="false"
  6663. static="false" final="false" visibility="public"
  6664. deprecated="not deprecated">
  6665. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  6666. <param name="stats" type="org.apache.hadoop.hdfs.server.blockmanagement.FSClusterStats"/>
  6667. <param name="clusterMap" type="org.apache.hadoop.net.NetworkTopology"/>
  6668. <param name="host2datanodeMap" type="org.apache.hadoop.hdfs.server.blockmanagement.Host2NodesMap"/>
  6669. </method>
  6670. <method name="chooseLocalStorage" return="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStorageInfo"
  6671. abstract="false" native="false" synchronized="false"
  6672. static="false" final="false" visibility="protected"
  6673. deprecated="not deprecated">
  6674. <param name="localMachine" type="org.apache.hadoop.net.Node"/>
  6675. <param name="excludedNodes" type="java.util.Set"/>
  6676. <param name="blocksize" type="long"/>
  6677. <param name="maxNodesPerRack" type="int"/>
  6678. <param name="results" type="java.util.List"/>
  6679. <param name="avoidStaleNodes" type="boolean"/>
  6680. <param name="storageTypes" type="java.util.EnumMap"/>
  6681. <param name="fallbackToLocalRack" type="boolean"/>
  6682. <exception name="BlockPlacementPolicy.NotEnoughReplicasException" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy.NotEnoughReplicasException"/>
  6683. <doc>
  6684. <![CDATA[choose local node of localMachine as the target.
  6685. if localMachine is not available, choose a node on the same nodegroup or
  6686. rack instead.
  6687. @return the chosen node]]>
  6688. </doc>
  6689. </method>
  6690. <method name="chooseLocalRack" return="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStorageInfo"
  6691. abstract="false" native="false" synchronized="false"
  6692. static="false" final="false" visibility="protected"
  6693. deprecated="not deprecated">
  6694. <param name="localMachine" type="org.apache.hadoop.net.Node"/>
  6695. <param name="excludedNodes" type="java.util.Set"/>
  6696. <param name="blocksize" type="long"/>
  6697. <param name="maxNodesPerRack" type="int"/>
  6698. <param name="results" type="java.util.List"/>
  6699. <param name="avoidStaleNodes" type="boolean"/>
  6700. <param name="storageTypes" type="java.util.EnumMap"/>
  6701. <exception name="BlockPlacementPolicy.NotEnoughReplicasException" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy.NotEnoughReplicasException"/>
  6702. </method>
  6703. <method name="chooseRemoteRack"
  6704. abstract="false" native="false" synchronized="false"
  6705. static="false" final="false" visibility="protected"
  6706. deprecated="not deprecated">
  6707. <param name="numOfReplicas" type="int"/>
  6708. <param name="localMachine" type="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor"/>
  6709. <param name="excludedNodes" type="java.util.Set"/>
  6710. <param name="blocksize" type="long"/>
  6711. <param name="maxReplicasPerRack" type="int"/>
  6712. <param name="results" type="java.util.List"/>
  6713. <param name="avoidStaleNodes" type="boolean"/>
  6714. <param name="storageTypes" type="java.util.EnumMap"/>
  6715. <exception name="BlockPlacementPolicy.NotEnoughReplicasException" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy.NotEnoughReplicasException"/>
  6716. <doc>
  6717. <![CDATA[{@inheritDoc}]]>
  6718. </doc>
  6719. </method>
  6720. <method name="getRack" return="java.lang.String"
  6721. abstract="false" native="false" synchronized="false"
  6722. static="false" final="false" visibility="protected"
  6723. deprecated="not deprecated">
  6724. <param name="cur" type="org.apache.hadoop.hdfs.protocol.DatanodeInfo"/>
  6725. </method>
  6726. <method name="addToExcludedNodes" return="int"
  6727. abstract="false" native="false" synchronized="false"
  6728. static="false" final="false" visibility="protected"
  6729. deprecated="not deprecated">
  6730. <param name="chosenNode" type="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor"/>
  6731. <param name="excludedNodes" type="java.util.Set"/>
  6732. <doc>
  6733. <![CDATA[Find other nodes in the same nodegroup of <i>localMachine</i> and add them
  6734. into <i>excludeNodes</i> as replica should not be duplicated for nodes
  6735. within the same nodegroup
  6736. @return number of new excluded nodes]]>
  6737. </doc>
  6738. </method>
  6739. <method name="pickupReplicaSet" return="java.util.Collection"
  6740. abstract="false" native="false" synchronized="false"
  6741. static="false" final="false" visibility="public"
  6742. deprecated="not deprecated">
  6743. <param name="first" type="java.util.Collection"/>
  6744. <param name="second" type="java.util.Collection"/>
  6745. <doc>
  6746. <![CDATA[Pick up replica node set for deleting replica as over-replicated.
  6747. First set contains replica nodes on rack with more than one
  6748. replica while second set contains remaining replica nodes.
  6749. If first is not empty, divide first set into two subsets:
  6750. moreThanOne contains nodes on nodegroup with more than one replica
  6751. exactlyOne contains the remaining nodes in first set
  6752. then pickup priSet if not empty.
  6753. If first is empty, then pick second.]]>
  6754. </doc>
  6755. </method>
  6756. <doc>
  6757. <![CDATA[The class is responsible for choosing the desired number of targets
  6758. for placing block replicas on environment with node-group layer.
  6759. The replica placement strategy is adjusted to:
  6760. If the writer is on a datanode, the 1st replica is placed on the local
  6761. node (or local node-group), otherwise a random datanode.
  6762. The 2nd replica is placed on a datanode that is on a different rack with 1st
  6763. replica node.
  6764. The 3rd replica is placed on a datanode which is on a different node-group
  6765. but the same rack as the second replica node.]]>
  6766. </doc>
  6767. </class>
  6768. <!-- end class org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyWithNodeGroup -->
  6769. <!-- start class org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementStatusDefault -->
  6770. <class name="BlockPlacementStatusDefault" extends="java.lang.Object"
  6771. abstract="false"
  6772. static="false" final="false" visibility="public"
  6773. deprecated="not deprecated">
  6774. <implements name="org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementStatus"/>
  6775. <constructor name="BlockPlacementStatusDefault" type="int, int"
  6776. static="false" final="false" visibility="public"
  6777. deprecated="not deprecated">
  6778. </constructor>
  6779. <method name="isPlacementPolicySatisfied" return="boolean"
  6780. abstract="false" native="false" synchronized="false"
  6781. static="false" final="false" visibility="public"
  6782. deprecated="not deprecated">
  6783. </method>
  6784. <method name="getErrorDescription" return="java.lang.String"
  6785. abstract="false" native="false" synchronized="false"
  6786. static="false" final="false" visibility="public"
  6787. deprecated="not deprecated">
  6788. </method>
  6789. </class>
  6790. <!-- end class org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementStatusDefault -->
  6791. <!-- start class org.apache.hadoop.hdfs.server.blockmanagement.BlockStoragePolicySuite -->
  6792. <class name="BlockStoragePolicySuite" extends="java.lang.Object"
  6793. abstract="false"
  6794. static="false" final="false" visibility="public"
  6795. deprecated="not deprecated">
  6796. <constructor name="BlockStoragePolicySuite" type="byte, org.apache.hadoop.hdfs.protocol.BlockStoragePolicy[]"
  6797. static="false" final="false" visibility="public"
  6798. deprecated="not deprecated">
  6799. </constructor>
  6800. <method name="createDefaultSuite" return="org.apache.hadoop.hdfs.server.blockmanagement.BlockStoragePolicySuite"
  6801. abstract="false" native="false" synchronized="false"
  6802. static="true" final="false" visibility="public"
  6803. deprecated="not deprecated">
  6804. </method>
  6805. <method name="getPolicy" return="org.apache.hadoop.hdfs.protocol.BlockStoragePolicy"
  6806. abstract="false" native="false" synchronized="false"
  6807. static="false" final="false" visibility="public"
  6808. deprecated="not deprecated">
  6809. <param name="id" type="byte"/>
  6810. <doc>
  6811. <![CDATA[@return the corresponding policy.]]>
  6812. </doc>
  6813. </method>
  6814. <method name="getDefaultPolicy" return="org.apache.hadoop.hdfs.protocol.BlockStoragePolicy"
  6815. abstract="false" native="false" synchronized="false"
  6816. static="false" final="false" visibility="public"
  6817. deprecated="not deprecated">
  6818. <doc>
  6819. <![CDATA[@return the default policy.]]>
  6820. </doc>
  6821. </method>
  6822. <method name="getPolicy" return="org.apache.hadoop.hdfs.protocol.BlockStoragePolicy"
  6823. abstract="false" native="false" synchronized="false"
  6824. static="false" final="false" visibility="public"
  6825. deprecated="not deprecated">
  6826. <param name="policyName" type="java.lang.String"/>
  6827. </method>
  6828. <method name="getAllPolicies" return="org.apache.hadoop.hdfs.protocol.BlockStoragePolicy[]"
  6829. abstract="false" native="false" synchronized="false"
  6830. static="false" final="false" visibility="public"
  6831. deprecated="not deprecated">
  6832. </method>
  6833. <method name="buildXAttrName" return="java.lang.String"
  6834. abstract="false" native="false" synchronized="false"
  6835. static="true" final="false" visibility="public"
  6836. deprecated="not deprecated">
  6837. </method>
  6838. <method name="buildXAttr" return="org.apache.hadoop.fs.XAttr"
  6839. abstract="false" native="false" synchronized="false"
  6840. static="true" final="false" visibility="public"
  6841. deprecated="not deprecated">
  6842. <param name="policyId" type="byte"/>
  6843. </method>
  6844. <method name="isStoragePolicyXAttr" return="boolean"
  6845. abstract="false" native="false" synchronized="false"
  6846. static="true" final="false" visibility="public"
  6847. deprecated="not deprecated">
  6848. <param name="xattr" type="org.apache.hadoop.fs.XAttr"/>
  6849. </method>
  6850. <field name="STORAGE_POLICY_XATTR_NAME" type="java.lang.String"
  6851. transient="false" volatile="false"
  6852. static="true" final="true" visibility="public"
  6853. deprecated="not deprecated">
  6854. </field>
  6855. <field name="XAttrNS" type="org.apache.hadoop.fs.XAttr.NameSpace"
  6856. transient="false" volatile="false"
  6857. static="true" final="true" visibility="public"
  6858. deprecated="not deprecated">
  6859. </field>
  6860. <field name="ID_BIT_LENGTH" type="int"
  6861. transient="false" volatile="false"
  6862. static="true" final="true" visibility="public"
  6863. deprecated="not deprecated">
  6864. </field>
  6865. <field name="ID_UNSPECIFIED" type="byte"
  6866. transient="false" volatile="false"
  6867. static="true" final="true" visibility="public"
  6868. deprecated="not deprecated">
  6869. </field>
  6870. <doc>
  6871. <![CDATA[A collection of block storage policies.]]>
  6872. </doc>
  6873. </class>
  6874. <!-- end class org.apache.hadoop.hdfs.server.blockmanagement.BlockStoragePolicySuite -->
  6875. <!-- start class org.apache.hadoop.hdfs.server.blockmanagement.CorruptReplicasMap.Reason -->
  6876. <class name="CorruptReplicasMap.Reason" extends="java.lang.Enum"
  6877. abstract="false"
  6878. static="true" final="true" visibility="public"
  6879. deprecated="not deprecated">
  6880. <method name="values" return="org.apache.hadoop.hdfs.server.blockmanagement.CorruptReplicasMap.Reason[]"
  6881. abstract="false" native="false" synchronized="false"
  6882. static="true" final="false" visibility="public"
  6883. deprecated="not deprecated">
  6884. </method>
  6885. <method name="valueOf" return="org.apache.hadoop.hdfs.server.blockmanagement.CorruptReplicasMap.Reason"
  6886. abstract="false" native="false" synchronized="false"
  6887. static="true" final="false" visibility="public"
  6888. deprecated="not deprecated">
  6889. <param name="name" type="java.lang.String"/>
  6890. </method>
  6891. <doc>
  6892. <![CDATA[The corruption reason code]]>
  6893. </doc>
  6894. </class>
  6895. <!-- end class org.apache.hadoop.hdfs.server.blockmanagement.CorruptReplicasMap.Reason -->
  6896. <!-- start class org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor.CachedBlocksList -->
  6897. <class name="DatanodeDescriptor.CachedBlocksList" extends="org.apache.hadoop.util.IntrusiveCollection"
  6898. abstract="false"
  6899. static="true" final="false" visibility="public"
  6900. deprecated="not deprecated">
  6901. <method name="getDatanode" return="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor"
  6902. abstract="false" native="false" synchronized="false"
  6903. static="false" final="false" visibility="public"
  6904. deprecated="not deprecated">
  6905. </method>
  6906. <method name="getType" return="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor.CachedBlocksList.Type"
  6907. abstract="false" native="false" synchronized="false"
  6908. static="false" final="false" visibility="public"
  6909. deprecated="not deprecated">
  6910. </method>
  6911. <doc>
  6912. <![CDATA[A list of CachedBlock objects on this datanode.]]>
  6913. </doc>
  6914. </class>
  6915. <!-- end class org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor.CachedBlocksList -->
  6916. <!-- start class org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor.CachedBlocksList.Type -->
  6917. <class name="DatanodeDescriptor.CachedBlocksList.Type" extends="java.lang.Enum"
  6918. abstract="false"
  6919. static="true" final="true" visibility="public"
  6920. deprecated="not deprecated">
  6921. <method name="values" return="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor.CachedBlocksList.Type[]"
  6922. abstract="false" native="false" synchronized="false"
  6923. static="true" final="false" visibility="public"
  6924. deprecated="not deprecated">
  6925. </method>
  6926. <method name="valueOf" return="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor.CachedBlocksList.Type"
  6927. abstract="false" native="false" synchronized="false"
  6928. static="true" final="false" visibility="public"
  6929. deprecated="not deprecated">
  6930. <param name="name" type="java.lang.String"/>
  6931. </method>
  6932. </class>
  6933. <!-- end class org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor.CachedBlocksList.Type -->
  6934. <!-- start class org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor.DecommissioningStatus -->
  6935. <class name="DatanodeDescriptor.DecommissioningStatus" extends="java.lang.Object"
  6936. abstract="false"
  6937. static="false" final="false" visibility="public"
  6938. deprecated="not deprecated">
  6939. <constructor name="DecommissioningStatus"
  6940. static="false" final="false" visibility="public"
  6941. deprecated="not deprecated">
  6942. </constructor>
  6943. <method name="getUnderReplicatedBlocks" return="int"
  6944. abstract="false" native="false" synchronized="true"
  6945. static="false" final="false" visibility="public"
  6946. deprecated="not deprecated">
  6947. <doc>
  6948. <![CDATA[@return the number of under-replicated blocks]]>
  6949. </doc>
  6950. </method>
  6951. <method name="getDecommissionOnlyReplicas" return="int"
  6952. abstract="false" native="false" synchronized="true"
  6953. static="false" final="false" visibility="public"
  6954. deprecated="not deprecated">
  6955. <doc>
  6956. <![CDATA[@return the number of decommission-only replicas]]>
  6957. </doc>
  6958. </method>
  6959. <method name="getUnderReplicatedInOpenFiles" return="int"
  6960. abstract="false" native="false" synchronized="true"
  6961. static="false" final="false" visibility="public"
  6962. deprecated="not deprecated">
  6963. <doc>
  6964. <![CDATA[@return the number of under-replicated blocks in open files]]>
  6965. </doc>
  6966. </method>
  6967. <method name="setStartTime"
  6968. abstract="false" native="false" synchronized="true"
  6969. static="false" final="false" visibility="public"
  6970. deprecated="not deprecated">
  6971. <param name="time" type="long"/>
  6972. <doc>
  6973. <![CDATA[Set start time]]>
  6974. </doc>
  6975. </method>
  6976. <method name="getStartTime" return="long"
  6977. abstract="false" native="false" synchronized="true"
  6978. static="false" final="false" visibility="public"
  6979. deprecated="not deprecated">
  6980. <doc>
  6981. <![CDATA[@return start time]]>
  6982. </doc>
  6983. </method>
  6984. <doc>
  6985. <![CDATA[Decommissioning status]]>
  6986. </doc>
  6987. </class>
  6988. <!-- end class org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor.DecommissioningStatus -->
  6989. <!-- start interface org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStatistics -->
  6990. <interface name="DatanodeStatistics" abstract="true"
  6991. static="false" final="false" visibility="public"
  6992. deprecated="not deprecated">
  6993. <method name="getCapacityTotal" return="long"
  6994. abstract="true" native="false" synchronized="false"
  6995. static="false" final="false" visibility="public"
  6996. deprecated="not deprecated">
  6997. <doc>
  6998. <![CDATA[@return the total capacity]]>
  6999. </doc>
  7000. </method>
  7001. <method name="getCapacityUsed" return="long"
  7002. abstract="true" native="false" synchronized="false"
  7003. static="false" final="false" visibility="public"
  7004. deprecated="not deprecated">
  7005. <doc>
  7006. <![CDATA[@return the used capacity]]>
  7007. </doc>
  7008. </method>
  7009. <method name="getCapacityUsedPercent" return="float"
  7010. abstract="true" native="false" synchronized="false"
  7011. static="false" final="false" visibility="public"
  7012. deprecated="not deprecated">
  7013. <doc>
  7014. <![CDATA[@return the percentage of the used capacity over the total capacity.]]>
  7015. </doc>
  7016. </method>
  7017. <method name="getCapacityRemaining" return="long"
  7018. abstract="true" native="false" synchronized="false"
  7019. static="false" final="false" visibility="public"
  7020. deprecated="not deprecated">
  7021. <doc>
  7022. <![CDATA[@return the remaining capacity]]>
  7023. </doc>
  7024. </method>
  7025. <method name="getCapacityRemainingPercent" return="float"
  7026. abstract="true" native="false" synchronized="false"
  7027. static="false" final="false" visibility="public"
  7028. deprecated="not deprecated">
  7029. <doc>
  7030. <![CDATA[@return the percentage of the remaining capacity over the total capacity.]]>
  7031. </doc>
  7032. </method>
  7033. <method name="getBlockPoolUsed" return="long"
  7034. abstract="true" native="false" synchronized="false"
  7035. static="false" final="false" visibility="public"
  7036. deprecated="not deprecated">
  7037. <doc>
  7038. <![CDATA[@return the block pool used.]]>
  7039. </doc>
  7040. </method>
  7041. <method name="getPercentBlockPoolUsed" return="float"
  7042. abstract="true" native="false" synchronized="false"
  7043. static="false" final="false" visibility="public"
  7044. deprecated="not deprecated">
  7045. <doc>
  7046. <![CDATA[@return the percentage of the block pool used space over the total capacity.]]>
  7047. </doc>
  7048. </method>
  7049. <method name="getCacheCapacity" return="long"
  7050. abstract="true" native="false" synchronized="false"
  7051. static="false" final="false" visibility="public"
  7052. deprecated="not deprecated">
  7053. <doc>
  7054. <![CDATA[@return the total cache capacity of all DataNodes]]>
  7055. </doc>
  7056. </method>
  7057. <method name="getCacheUsed" return="long"
  7058. abstract="true" native="false" synchronized="false"
  7059. static="false" final="false" visibility="public"
  7060. deprecated="not deprecated">
  7061. <doc>
  7062. <![CDATA[@return the total cache used by all DataNodes]]>
  7063. </doc>
  7064. </method>
  7065. <method name="getXceiverCount" return="int"
  7066. abstract="true" native="false" synchronized="false"
  7067. static="false" final="false" visibility="public"
  7068. deprecated="not deprecated">
  7069. <doc>
  7070. <![CDATA[@return the xceiver count]]>
  7071. </doc>
  7072. </method>
  7073. <method name="getInServiceXceiverCount" return="int"
  7074. abstract="true" native="false" synchronized="false"
  7075. static="false" final="false" visibility="public"
  7076. deprecated="not deprecated">
  7077. <doc>
  7078. <![CDATA[@return average xceiver count for non-decommission(ing|ed) nodes]]>
  7079. </doc>
  7080. </method>
  7081. <method name="getNumDatanodesInService" return="int"
  7082. abstract="true" native="false" synchronized="false"
  7083. static="false" final="false" visibility="public"
  7084. deprecated="not deprecated">
  7085. <doc>
  7086. <![CDATA[@return number of non-decommission(ing|ed) nodes]]>
  7087. </doc>
  7088. </method>
  7089. <method name="getCapacityUsedNonDFS" return="long"
  7090. abstract="true" native="false" synchronized="false"
  7091. static="false" final="false" visibility="public"
  7092. deprecated="not deprecated">
  7093. <doc>
  7094. <![CDATA[@return the total used space by data nodes for non-DFS purposes
  7095. such as storing temporary files on the local file system]]>
  7096. </doc>
  7097. </method>
  7098. <method name="getStats" return="long[]"
  7099. abstract="true" native="false" synchronized="false"
  7100. static="false" final="false" visibility="public"
  7101. deprecated="not deprecated">
  7102. <doc>
  7103. <![CDATA[The same as {@link ClientProtocol#getStats()}.
  7104. The block related entries are set to -1.]]>
  7105. </doc>
  7106. </method>
  7107. <method name="getExpiredHeartbeats" return="int"
  7108. abstract="true" native="false" synchronized="false"
  7109. static="false" final="false" visibility="public"
  7110. deprecated="not deprecated">
  7111. <doc>
  7112. <![CDATA[@return the expired heartbeats]]>
  7113. </doc>
  7114. </method>
  7115. <doc>
  7116. <![CDATA[Datanode statistics]]>
  7117. </doc>
  7118. </interface>
  7119. <!-- end interface org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStatistics -->
  7120. <!-- start class org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStorageInfo -->
  7121. <class name="DatanodeStorageInfo" extends="java.lang.Object"
  7122. abstract="false"
  7123. static="false" final="false" visibility="public"
  7124. deprecated="not deprecated">
  7125. <method name="toDatanodeInfos" return="org.apache.hadoop.hdfs.protocol.DatanodeInfo[]"
  7126. abstract="false" native="false" synchronized="false"
  7127. static="true" final="false" visibility="public"
  7128. deprecated="not deprecated">
  7129. <param name="storages" type="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStorageInfo[]"/>
  7130. </method>
  7131. <method name="toStorageIDs" return="java.lang.String[]"
  7132. abstract="false" native="false" synchronized="false"
  7133. static="true" final="false" visibility="public"
  7134. deprecated="not deprecated">
  7135. <param name="storages" type="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStorageInfo[]"/>
  7136. </method>
  7137. <method name="toStorageTypes" return="org.apache.hadoop.fs.StorageType[]"
  7138. abstract="false" native="false" synchronized="false"
  7139. static="true" final="false" visibility="public"
  7140. deprecated="not deprecated">
  7141. <param name="storages" type="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStorageInfo[]"/>
  7142. </method>
  7143. <method name="updateFromStorage"
  7144. abstract="false" native="false" synchronized="false"
  7145. static="false" final="false" visibility="public"
  7146. deprecated="not deprecated">
  7147. <param name="storage" type="org.apache.hadoop.hdfs.server.protocol.DatanodeStorage"/>
  7148. </method>
  7149. <method name="setUtilizationForTesting"
  7150. abstract="false" native="false" synchronized="false"
  7151. static="false" final="false" visibility="public"
  7152. deprecated="not deprecated">
  7153. <param name="capacity" type="long"/>
  7154. <param name="dfsUsed" type="long"/>
  7155. <param name="remaining" type="long"/>
  7156. <param name="blockPoolUsed" type="long"/>
  7157. </method>
  7158. <method name="getStorageType" return="org.apache.hadoop.fs.StorageType"
  7159. abstract="false" native="false" synchronized="false"
  7160. static="false" final="false" visibility="public"
  7161. deprecated="not deprecated">
  7162. </method>
  7163. <method name="addBlock" return="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStorageInfo.AddBlockResult"
  7164. abstract="false" native="false" synchronized="false"
  7165. static="false" final="false" visibility="public"
  7166. deprecated="not deprecated">
  7167. <param name="b" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockInfoContiguous"/>
  7168. </method>
  7169. <method name="removeBlock" return="boolean"
  7170. abstract="false" native="false" synchronized="false"
  7171. static="false" final="false" visibility="public"
  7172. deprecated="not deprecated">
  7173. <param name="b" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockInfoContiguous"/>
  7174. </method>
  7175. <method name="getDatanodeDescriptor" return="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor"
  7176. abstract="false" native="false" synchronized="false"
  7177. static="false" final="false" visibility="public"
  7178. deprecated="not deprecated">
  7179. </method>
  7180. <method name="incrementBlocksScheduled"
  7181. abstract="false" native="false" synchronized="false"
  7182. static="true" final="false" visibility="public"
  7183. deprecated="not deprecated">
  7184. <param name="storages" type="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStorageInfo[]"/>
  7185. <doc>
  7186. <![CDATA[Increment the number of blocks scheduled for each given storage]]>
  7187. </doc>
  7188. </method>
  7189. <method name="equals" return="boolean"
  7190. abstract="false" native="false" synchronized="false"
  7191. static="false" final="false" visibility="public"
  7192. deprecated="not deprecated">
  7193. <param name="obj" type="java.lang.Object"/>
  7194. </method>
  7195. <method name="hashCode" return="int"
  7196. abstract="false" native="false" synchronized="false"
  7197. static="false" final="false" visibility="public"
  7198. deprecated="not deprecated">
  7199. </method>
  7200. <method name="toString" return="java.lang.String"
  7201. abstract="false" native="false" synchronized="false"
  7202. static="false" final="false" visibility="public"
  7203. deprecated="not deprecated">
  7204. </method>
  7205. <field name="EMPTY_ARRAY" type="org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStorageInfo[]"
  7206. transient="false" volatile="false"
  7207. static="true" final="true" visibility="public"
  7208. deprecated="not deprecated">
  7209. </field>
  7210. <doc>
  7211. <![CDATA[A Datanode has one or more storages. A storage in the Datanode is represented
  7212. by this class.]]>
  7213. </doc>
  7214. </class>
  7215. <!-- end class org.apache.hadoop.hdfs.server.blockmanagement.DatanodeStorageInfo -->
  7216. <!-- start class org.apache.hadoop.hdfs.server.blockmanagement.NumberReplicas -->
  7217. <class name="NumberReplicas" extends="java.lang.Object"
  7218. abstract="false"
  7219. static="false" final="false" visibility="public"
  7220. deprecated="not deprecated">
  7221. <method name="liveReplicas" return="int"
  7222. abstract="false" native="false" synchronized="false"
  7223. static="false" final="false" visibility="public"
  7224. deprecated="not deprecated">
  7225. </method>
  7226. <method name="decommissionedReplicas" return="int"
  7227. abstract="false" native="false" synchronized="false"
  7228. static="false" final="false" visibility="public"
  7229. deprecated="not deprecated">
  7230. </method>
  7231. <method name="corruptReplicas" return="int"
  7232. abstract="false" native="false" synchronized="false"
  7233. static="false" final="false" visibility="public"
  7234. deprecated="not deprecated">
  7235. </method>
  7236. <method name="excessReplicas" return="int"
  7237. abstract="false" native="false" synchronized="false"
  7238. static="false" final="false" visibility="public"
  7239. deprecated="not deprecated">
  7240. </method>
  7241. <method name="replicasOnStaleNodes" return="int"
  7242. abstract="false" native="false" synchronized="false"
  7243. static="false" final="false" visibility="public"
  7244. deprecated="not deprecated">
  7245. <doc>
  7246. <![CDATA[@return the number of replicas which are on stale nodes.
  7247. This is not mutually exclusive with the other counts -- ie a
  7248. replica may count as both "live" and "stale".]]>
  7249. </doc>
  7250. </method>
  7251. <doc>
  7252. <![CDATA[A immutable object that stores the number of live replicas and
  7253. the number of decommissined Replicas.]]>
  7254. </doc>
  7255. </class>
  7256. <!-- end class org.apache.hadoop.hdfs.server.blockmanagement.NumberReplicas -->
  7257. <!-- start class org.apache.hadoop.hdfs.server.blockmanagement.UnresolvedTopologyException -->
  7258. <class name="UnresolvedTopologyException" extends="java.io.IOException"
  7259. abstract="false"
  7260. static="false" final="false" visibility="public"
  7261. deprecated="not deprecated">
  7262. <constructor name="UnresolvedTopologyException" type="java.lang.String"
  7263. static="false" final="false" visibility="public"
  7264. deprecated="not deprecated">
  7265. </constructor>
  7266. <doc>
  7267. <![CDATA[This exception is thrown if resolving topology path
  7268. for a node fails.]]>
  7269. </doc>
  7270. </class>
  7271. <!-- end class org.apache.hadoop.hdfs.server.blockmanagement.UnresolvedTopologyException -->
  7272. </package>
  7273. <package name="org.apache.hadoop.hdfs.server.common">
  7274. <!-- start class org.apache.hadoop.hdfs.server.common.HdfsServerConstants.BlockUCState -->
  7275. <class name="HdfsServerConstants.BlockUCState" extends="java.lang.Enum"
  7276. abstract="false"
  7277. static="true" final="true" visibility="public"
  7278. deprecated="not deprecated">
  7279. <method name="values" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.BlockUCState[]"
  7280. abstract="false" native="false" synchronized="false"
  7281. static="true" final="false" visibility="public"
  7282. deprecated="not deprecated">
  7283. </method>
  7284. <method name="valueOf" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.BlockUCState"
  7285. abstract="false" native="false" synchronized="false"
  7286. static="true" final="false" visibility="public"
  7287. deprecated="not deprecated">
  7288. <param name="name" type="java.lang.String"/>
  7289. </method>
  7290. <doc>
  7291. <![CDATA[States, which a block can go through while it is under construction.]]>
  7292. </doc>
  7293. </class>
  7294. <!-- end class org.apache.hadoop.hdfs.server.common.HdfsServerConstants.BlockUCState -->
  7295. <!-- start class org.apache.hadoop.hdfs.server.common.HdfsServerConstants.NamenodeRole -->
  7296. <class name="HdfsServerConstants.NamenodeRole" extends="java.lang.Enum"
  7297. abstract="false"
  7298. static="true" final="true" visibility="public"
  7299. deprecated="not deprecated">
  7300. <method name="values" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.NamenodeRole[]"
  7301. abstract="false" native="false" synchronized="false"
  7302. static="true" final="false" visibility="public"
  7303. deprecated="not deprecated">
  7304. </method>
  7305. <method name="valueOf" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.NamenodeRole"
  7306. abstract="false" native="false" synchronized="false"
  7307. static="true" final="false" visibility="public"
  7308. deprecated="not deprecated">
  7309. <param name="name" type="java.lang.String"/>
  7310. </method>
  7311. <method name="toString" return="java.lang.String"
  7312. abstract="false" native="false" synchronized="false"
  7313. static="false" final="false" visibility="public"
  7314. deprecated="not deprecated">
  7315. </method>
  7316. <doc>
  7317. <![CDATA[Defines the NameNode role.]]>
  7318. </doc>
  7319. </class>
  7320. <!-- end class org.apache.hadoop.hdfs.server.common.HdfsServerConstants.NamenodeRole -->
  7321. <!-- start class org.apache.hadoop.hdfs.server.common.HdfsServerConstants.NodeType -->
  7322. <class name="HdfsServerConstants.NodeType" extends="java.lang.Enum"
  7323. abstract="false"
  7324. static="true" final="true" visibility="public"
  7325. deprecated="not deprecated">
  7326. <method name="values" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.NodeType[]"
  7327. abstract="false" native="false" synchronized="false"
  7328. static="true" final="false" visibility="public"
  7329. deprecated="not deprecated">
  7330. </method>
  7331. <method name="valueOf" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.NodeType"
  7332. abstract="false" native="false" synchronized="false"
  7333. static="true" final="false" visibility="public"
  7334. deprecated="not deprecated">
  7335. <param name="name" type="java.lang.String"/>
  7336. </method>
  7337. <doc>
  7338. <![CDATA[Type of the node]]>
  7339. </doc>
  7340. </class>
  7341. <!-- end class org.apache.hadoop.hdfs.server.common.HdfsServerConstants.NodeType -->
  7342. <!-- start class org.apache.hadoop.hdfs.server.common.HdfsServerConstants.ReplicaState -->
  7343. <class name="HdfsServerConstants.ReplicaState" extends="java.lang.Enum"
  7344. abstract="false"
  7345. static="true" final="true" visibility="public"
  7346. deprecated="not deprecated">
  7347. <method name="values" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.ReplicaState[]"
  7348. abstract="false" native="false" synchronized="false"
  7349. static="true" final="false" visibility="public"
  7350. deprecated="not deprecated">
  7351. </method>
  7352. <method name="valueOf" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.ReplicaState"
  7353. abstract="false" native="false" synchronized="false"
  7354. static="true" final="false" visibility="public"
  7355. deprecated="not deprecated">
  7356. <param name="name" type="java.lang.String"/>
  7357. </method>
  7358. <method name="getValue" return="int"
  7359. abstract="false" native="false" synchronized="false"
  7360. static="false" final="false" visibility="public"
  7361. deprecated="not deprecated">
  7362. </method>
  7363. <method name="getState" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.ReplicaState"
  7364. abstract="false" native="false" synchronized="false"
  7365. static="true" final="false" visibility="public"
  7366. deprecated="not deprecated">
  7367. <param name="v" type="int"/>
  7368. </method>
  7369. <method name="read" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.ReplicaState"
  7370. abstract="false" native="false" synchronized="false"
  7371. static="true" final="false" visibility="public"
  7372. deprecated="not deprecated">
  7373. <param name="in" type="java.io.DataInput"/>
  7374. <exception name="IOException" type="java.io.IOException"/>
  7375. <doc>
  7376. <![CDATA[Read from in]]>
  7377. </doc>
  7378. </method>
  7379. <method name="write"
  7380. abstract="false" native="false" synchronized="false"
  7381. static="false" final="false" visibility="public"
  7382. deprecated="not deprecated">
  7383. <param name="out" type="java.io.DataOutput"/>
  7384. <exception name="IOException" type="java.io.IOException"/>
  7385. <doc>
  7386. <![CDATA[Write to out]]>
  7387. </doc>
  7388. </method>
  7389. <doc>
  7390. <![CDATA[Block replica states, which it can go through while being constructed.]]>
  7391. </doc>
  7392. </class>
  7393. <!-- end class org.apache.hadoop.hdfs.server.common.HdfsServerConstants.ReplicaState -->
  7394. <!-- start class org.apache.hadoop.hdfs.server.common.HdfsServerConstants.RollingUpgradeStartupOption -->
  7395. <class name="HdfsServerConstants.RollingUpgradeStartupOption" extends="java.lang.Enum"
  7396. abstract="false"
  7397. static="true" final="true" visibility="public"
  7398. deprecated="not deprecated">
  7399. <method name="values" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.RollingUpgradeStartupOption[]"
  7400. abstract="false" native="false" synchronized="false"
  7401. static="true" final="false" visibility="public"
  7402. deprecated="not deprecated">
  7403. </method>
  7404. <method name="valueOf" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.RollingUpgradeStartupOption"
  7405. abstract="false" native="false" synchronized="false"
  7406. static="true" final="false" visibility="public"
  7407. deprecated="not deprecated">
  7408. <param name="name" type="java.lang.String"/>
  7409. </method>
  7410. <method name="getOptionString" return="java.lang.String"
  7411. abstract="false" native="false" synchronized="false"
  7412. static="false" final="false" visibility="public"
  7413. deprecated="not deprecated">
  7414. </method>
  7415. <method name="matches" return="boolean"
  7416. abstract="false" native="false" synchronized="false"
  7417. static="false" final="false" visibility="public"
  7418. deprecated="not deprecated">
  7419. <param name="option" type="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.StartupOption"/>
  7420. </method>
  7421. <method name="getAllOptionString" return="java.lang.String"
  7422. abstract="false" native="false" synchronized="false"
  7423. static="true" final="false" visibility="public"
  7424. deprecated="not deprecated">
  7425. </method>
  7426. <doc>
  7427. <![CDATA[Startup options for rolling upgrade.]]>
  7428. </doc>
  7429. </class>
  7430. <!-- end class org.apache.hadoop.hdfs.server.common.HdfsServerConstants.RollingUpgradeStartupOption -->
  7431. <!-- start class org.apache.hadoop.hdfs.server.common.HdfsServerConstants.StartupOption -->
  7432. <class name="HdfsServerConstants.StartupOption" extends="java.lang.Enum"
  7433. abstract="false"
  7434. static="true" final="true" visibility="public"
  7435. deprecated="not deprecated">
  7436. <method name="values" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.StartupOption[]"
  7437. abstract="false" native="false" synchronized="false"
  7438. static="true" final="false" visibility="public"
  7439. deprecated="not deprecated">
  7440. </method>
  7441. <method name="valueOf" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.StartupOption"
  7442. abstract="false" native="false" synchronized="false"
  7443. static="true" final="false" visibility="public"
  7444. deprecated="not deprecated">
  7445. <param name="name" type="java.lang.String"/>
  7446. </method>
  7447. <method name="getName" return="java.lang.String"
  7448. abstract="false" native="false" synchronized="false"
  7449. static="false" final="false" visibility="public"
  7450. deprecated="not deprecated">
  7451. </method>
  7452. <method name="toNodeRole" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.NamenodeRole"
  7453. abstract="false" native="false" synchronized="false"
  7454. static="false" final="false" visibility="public"
  7455. deprecated="not deprecated">
  7456. </method>
  7457. <method name="setClusterId"
  7458. abstract="false" native="false" synchronized="false"
  7459. static="false" final="false" visibility="public"
  7460. deprecated="not deprecated">
  7461. <param name="cid" type="java.lang.String"/>
  7462. </method>
  7463. <method name="getClusterId" return="java.lang.String"
  7464. abstract="false" native="false" synchronized="false"
  7465. static="false" final="false" visibility="public"
  7466. deprecated="not deprecated">
  7467. </method>
  7468. <method name="setRollingUpgradeStartupOption"
  7469. abstract="false" native="false" synchronized="false"
  7470. static="false" final="false" visibility="public"
  7471. deprecated="not deprecated">
  7472. <param name="opt" type="java.lang.String"/>
  7473. </method>
  7474. <method name="getRollingUpgradeStartupOption" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.RollingUpgradeStartupOption"
  7475. abstract="false" native="false" synchronized="false"
  7476. static="false" final="false" visibility="public"
  7477. deprecated="not deprecated">
  7478. </method>
  7479. <method name="createRecoveryContext" return="org.apache.hadoop.hdfs.server.namenode.MetaRecoveryContext"
  7480. abstract="false" native="false" synchronized="false"
  7481. static="false" final="false" visibility="public"
  7482. deprecated="not deprecated">
  7483. </method>
  7484. <method name="setForce"
  7485. abstract="false" native="false" synchronized="false"
  7486. static="false" final="false" visibility="public"
  7487. deprecated="not deprecated">
  7488. <param name="force" type="int"/>
  7489. </method>
  7490. <method name="getForce" return="int"
  7491. abstract="false" native="false" synchronized="false"
  7492. static="false" final="false" visibility="public"
  7493. deprecated="not deprecated">
  7494. </method>
  7495. <method name="getForceFormat" return="boolean"
  7496. abstract="false" native="false" synchronized="false"
  7497. static="false" final="false" visibility="public"
  7498. deprecated="not deprecated">
  7499. </method>
  7500. <method name="setForceFormat"
  7501. abstract="false" native="false" synchronized="false"
  7502. static="false" final="false" visibility="public"
  7503. deprecated="not deprecated">
  7504. <param name="force" type="boolean"/>
  7505. </method>
  7506. <method name="getInteractiveFormat" return="boolean"
  7507. abstract="false" native="false" synchronized="false"
  7508. static="false" final="false" visibility="public"
  7509. deprecated="not deprecated">
  7510. </method>
  7511. <method name="setInteractiveFormat"
  7512. abstract="false" native="false" synchronized="false"
  7513. static="false" final="false" visibility="public"
  7514. deprecated="not deprecated">
  7515. <param name="interactive" type="boolean"/>
  7516. </method>
  7517. <method name="toString" return="java.lang.String"
  7518. abstract="false" native="false" synchronized="false"
  7519. static="false" final="false" visibility="public"
  7520. deprecated="not deprecated">
  7521. </method>
  7522. <method name="getEnum" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.StartupOption"
  7523. abstract="false" native="false" synchronized="false"
  7524. static="true" final="false" visibility="public"
  7525. deprecated="not deprecated">
  7526. <param name="value" type="java.lang.String"/>
  7527. </method>
  7528. <doc>
  7529. <![CDATA[Startup options]]>
  7530. </doc>
  7531. </class>
  7532. <!-- end class org.apache.hadoop.hdfs.server.common.HdfsServerConstants.StartupOption -->
  7533. <!-- start class org.apache.hadoop.hdfs.server.common.Storage.StorageState -->
  7534. <class name="Storage.StorageState" extends="java.lang.Enum"
  7535. abstract="false"
  7536. static="true" final="true" visibility="public"
  7537. deprecated="not deprecated">
  7538. <method name="values" return="org.apache.hadoop.hdfs.server.common.Storage.StorageState[]"
  7539. abstract="false" native="false" synchronized="false"
  7540. static="true" final="false" visibility="public"
  7541. deprecated="not deprecated">
  7542. </method>
  7543. <method name="valueOf" return="org.apache.hadoop.hdfs.server.common.Storage.StorageState"
  7544. abstract="false" native="false" synchronized="false"
  7545. static="true" final="false" visibility="public"
  7546. deprecated="not deprecated">
  7547. <param name="name" type="java.lang.String"/>
  7548. </method>
  7549. </class>
  7550. <!-- end class org.apache.hadoop.hdfs.server.common.Storage.StorageState -->
  7551. </package>
  7552. <package name="org.apache.hadoop.hdfs.server.datanode">
  7553. <!-- start interface org.apache.hadoop.hdfs.server.datanode.BPServiceActorAction -->
  7554. <interface name="BPServiceActorAction" abstract="true"
  7555. static="false" final="false" visibility="public"
  7556. deprecated="not deprecated">
  7557. <method name="reportTo"
  7558. abstract="true" native="false" synchronized="false"
  7559. static="false" final="false" visibility="public"
  7560. deprecated="not deprecated">
  7561. <param name="bpNamenode" type="org.apache.hadoop.hdfs.protocolPB.DatanodeProtocolClientSideTranslatorPB"/>
  7562. <param name="bpRegistration" type="org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration"/>
  7563. <exception name="BPServiceActorActionException" type="org.apache.hadoop.hdfs.server.datanode.BPServiceActorActionException"/>
  7564. </method>
  7565. <doc>
  7566. <![CDATA[Base class for BPServiceActor class
  7567. Issued by BPOfferSerivce class to tell BPServiceActor
  7568. to take several actions.]]>
  7569. </doc>
  7570. </interface>
  7571. <!-- end interface org.apache.hadoop.hdfs.server.datanode.BPServiceActorAction -->
  7572. <!-- start class org.apache.hadoop.hdfs.server.datanode.BPServiceActorActionException -->
  7573. <class name="BPServiceActorActionException" extends="java.io.IOException"
  7574. abstract="false"
  7575. static="false" final="false" visibility="public"
  7576. deprecated="not deprecated">
  7577. <constructor name="BPServiceActorActionException" type="java.lang.String"
  7578. static="false" final="false" visibility="public"
  7579. deprecated="not deprecated">
  7580. </constructor>
  7581. </class>
  7582. <!-- end class org.apache.hadoop.hdfs.server.datanode.BPServiceActorActionException -->
  7583. <!-- start class org.apache.hadoop.hdfs.server.datanode.CachingStrategy -->
  7584. <class name="CachingStrategy" extends="java.lang.Object"
  7585. abstract="false"
  7586. static="false" final="false" visibility="public"
  7587. deprecated="not deprecated">
  7588. <constructor name="CachingStrategy" type="java.lang.Boolean, java.lang.Long"
  7589. static="false" final="false" visibility="public"
  7590. deprecated="not deprecated">
  7591. </constructor>
  7592. <method name="newDefaultStrategy" return="org.apache.hadoop.hdfs.server.datanode.CachingStrategy"
  7593. abstract="false" native="false" synchronized="false"
  7594. static="true" final="false" visibility="public"
  7595. deprecated="not deprecated">
  7596. </method>
  7597. <method name="newDropBehind" return="org.apache.hadoop.hdfs.server.datanode.CachingStrategy"
  7598. abstract="false" native="false" synchronized="false"
  7599. static="true" final="false" visibility="public"
  7600. deprecated="not deprecated">
  7601. </method>
  7602. <method name="getDropBehind" return="java.lang.Boolean"
  7603. abstract="false" native="false" synchronized="false"
  7604. static="false" final="false" visibility="public"
  7605. deprecated="not deprecated">
  7606. </method>
  7607. <method name="getReadahead" return="java.lang.Long"
  7608. abstract="false" native="false" synchronized="false"
  7609. static="false" final="false" visibility="public"
  7610. deprecated="not deprecated">
  7611. </method>
  7612. <method name="toString" return="java.lang.String"
  7613. abstract="false" native="false" synchronized="false"
  7614. static="false" final="false" visibility="public"
  7615. deprecated="not deprecated">
  7616. </method>
  7617. <doc>
  7618. <![CDATA[The caching strategy we should use for an HDFS read or write operation.]]>
  7619. </doc>
  7620. </class>
  7621. <!-- end class org.apache.hadoop.hdfs.server.datanode.CachingStrategy -->
  7622. <!-- start class org.apache.hadoop.hdfs.server.datanode.CachingStrategy.Builder -->
  7623. <class name="CachingStrategy.Builder" extends="java.lang.Object"
  7624. abstract="false"
  7625. static="true" final="false" visibility="public"
  7626. deprecated="not deprecated">
  7627. <constructor name="Builder" type="org.apache.hadoop.hdfs.server.datanode.CachingStrategy"
  7628. static="false" final="false" visibility="public"
  7629. deprecated="not deprecated">
  7630. </constructor>
  7631. <method name="setDropBehind" return="org.apache.hadoop.hdfs.server.datanode.CachingStrategy.Builder"
  7632. abstract="false" native="false" synchronized="false"
  7633. static="false" final="false" visibility="public"
  7634. deprecated="not deprecated">
  7635. <param name="dropBehind" type="java.lang.Boolean"/>
  7636. </method>
  7637. <method name="setReadahead" return="org.apache.hadoop.hdfs.server.datanode.CachingStrategy.Builder"
  7638. abstract="false" native="false" synchronized="false"
  7639. static="false" final="false" visibility="public"
  7640. deprecated="not deprecated">
  7641. <param name="readahead" type="java.lang.Long"/>
  7642. </method>
  7643. <method name="build" return="org.apache.hadoop.hdfs.server.datanode.CachingStrategy"
  7644. abstract="false" native="false" synchronized="false"
  7645. static="false" final="false" visibility="public"
  7646. deprecated="not deprecated">
  7647. </method>
  7648. </class>
  7649. <!-- end class org.apache.hadoop.hdfs.server.datanode.CachingStrategy.Builder -->
  7650. <!-- start class org.apache.hadoop.hdfs.server.datanode.ChunkChecksum -->
  7651. <class name="ChunkChecksum" extends="java.lang.Object"
  7652. abstract="false"
  7653. static="false" final="false" visibility="public"
  7654. deprecated="not deprecated">
  7655. <constructor name="ChunkChecksum" type="long, byte[]"
  7656. static="false" final="false" visibility="public"
  7657. deprecated="not deprecated">
  7658. </constructor>
  7659. <method name="getDataLength" return="long"
  7660. abstract="false" native="false" synchronized="false"
  7661. static="false" final="false" visibility="public"
  7662. deprecated="not deprecated">
  7663. </method>
  7664. <method name="getChecksum" return="byte[]"
  7665. abstract="false" native="false" synchronized="false"
  7666. static="false" final="false" visibility="public"
  7667. deprecated="not deprecated">
  7668. </method>
  7669. <doc>
  7670. <![CDATA[holder class that holds checksum bytes and the length in a block at which
  7671. the checksum bytes end
  7672. ex: length = 1023 and checksum is 4 bytes which is for 512 bytes, then
  7673. the checksum applies for the last chunk, or bytes 512 - 1023]]>
  7674. </doc>
  7675. </class>
  7676. <!-- end class org.apache.hadoop.hdfs.server.datanode.ChunkChecksum -->
  7677. <!-- start class org.apache.hadoop.hdfs.server.datanode.DataNodeLayoutVersion.Feature -->
  7678. <class name="DataNodeLayoutVersion.Feature" extends="java.lang.Enum"
  7679. abstract="false"
  7680. static="true" final="true" visibility="public"
  7681. deprecated="not deprecated">
  7682. <implements name="org.apache.hadoop.hdfs.protocol.LayoutVersion.LayoutFeature"/>
  7683. <method name="values" return="org.apache.hadoop.hdfs.server.datanode.DataNodeLayoutVersion.Feature[]"
  7684. abstract="false" native="false" synchronized="false"
  7685. static="true" final="false" visibility="public"
  7686. deprecated="not deprecated">
  7687. </method>
  7688. <method name="valueOf" return="org.apache.hadoop.hdfs.server.datanode.DataNodeLayoutVersion.Feature"
  7689. abstract="false" native="false" synchronized="false"
  7690. static="true" final="false" visibility="public"
  7691. deprecated="not deprecated">
  7692. <param name="name" type="java.lang.String"/>
  7693. </method>
  7694. <method name="getInfo" return="org.apache.hadoop.hdfs.protocol.LayoutVersion.FeatureInfo"
  7695. abstract="false" native="false" synchronized="false"
  7696. static="false" final="false" visibility="public"
  7697. deprecated="not deprecated">
  7698. </method>
  7699. <doc>
  7700. <![CDATA[Enums for features that change the layout version.
  7701. <br><br>
  7702. To add a new layout version:
  7703. <ul>
  7704. <li>Define a new enum constant with a short enum name, the new layout version
  7705. and description of the added feature.</li>
  7706. <li>When adding a layout version with an ancestor that is not same as
  7707. its immediate predecessor, use the constructor where a specific ancestor
  7708. can be passed.
  7709. </li>
  7710. </ul>]]>
  7711. </doc>
  7712. </class>
  7713. <!-- end class org.apache.hadoop.hdfs.server.datanode.DataNodeLayoutVersion.Feature -->
  7714. <!-- start interface org.apache.hadoop.hdfs.server.datanode.DataNodeMXBean -->
  7715. <interface name="DataNodeMXBean" abstract="true"
  7716. static="false" final="false" visibility="public"
  7717. deprecated="not deprecated">
  7718. <method name="getVersion" return="java.lang.String"
  7719. abstract="true" native="false" synchronized="false"
  7720. static="false" final="false" visibility="public"
  7721. deprecated="not deprecated">
  7722. <doc>
  7723. <![CDATA[Gets the version of Hadoop.
  7724. @return the version of Hadoop]]>
  7725. </doc>
  7726. </method>
  7727. <method name="getRpcPort" return="java.lang.String"
  7728. abstract="true" native="false" synchronized="false"
  7729. static="false" final="false" visibility="public"
  7730. deprecated="not deprecated">
  7731. <doc>
  7732. <![CDATA[Gets the rpc port.
  7733. @return the rpc port]]>
  7734. </doc>
  7735. </method>
  7736. <method name="getHttpPort" return="java.lang.String"
  7737. abstract="true" native="false" synchronized="false"
  7738. static="false" final="false" visibility="public"
  7739. deprecated="not deprecated">
  7740. <doc>
  7741. <![CDATA[Gets the http port.
  7742. @return the http port]]>
  7743. </doc>
  7744. </method>
  7745. <method name="getNamenodeAddresses" return="java.lang.String"
  7746. abstract="true" native="false" synchronized="false"
  7747. static="false" final="false" visibility="public"
  7748. deprecated="not deprecated">
  7749. <doc>
  7750. <![CDATA[Gets the namenode IP addresses
  7751. @return the namenode IP addresses that the datanode is talking to]]>
  7752. </doc>
  7753. </method>
  7754. <method name="getVolumeInfo" return="java.lang.String"
  7755. abstract="true" native="false" synchronized="false"
  7756. static="false" final="false" visibility="public"
  7757. deprecated="not deprecated">
  7758. <doc>
  7759. <![CDATA[Gets the information of each volume on the Datanode. Please
  7760. see the implementation for the format of returned information.
  7761. @return the volume info]]>
  7762. </doc>
  7763. </method>
  7764. <method name="getClusterId" return="java.lang.String"
  7765. abstract="true" native="false" synchronized="false"
  7766. static="false" final="false" visibility="public"
  7767. deprecated="not deprecated">
  7768. <doc>
  7769. <![CDATA[Gets the cluster id.
  7770. @return the cluster id]]>
  7771. </doc>
  7772. </method>
  7773. <method name="getXceiverCount" return="int"
  7774. abstract="true" native="false" synchronized="false"
  7775. static="false" final="false" visibility="public"
  7776. deprecated="not deprecated">
  7777. <doc>
  7778. <![CDATA[Returns an estimate of the number of Datanode threads
  7779. actively transferring blocks.]]>
  7780. </doc>
  7781. </method>
  7782. <method name="getDatanodeNetworkCounts" return="java.util.Map"
  7783. abstract="true" native="false" synchronized="false"
  7784. static="false" final="false" visibility="public"
  7785. deprecated="not deprecated">
  7786. <doc>
  7787. <![CDATA[Gets the network error counts on a per-Datanode basis.]]>
  7788. </doc>
  7789. </method>
  7790. <doc>
  7791. <![CDATA[This is the JMX management interface for data node information]]>
  7792. </doc>
  7793. </interface>
  7794. <!-- end interface org.apache.hadoop.hdfs.server.datanode.DataNodeMXBean -->
  7795. <!-- start class org.apache.hadoop.hdfs.server.datanode.ErrorReportAction -->
  7796. <class name="ErrorReportAction" extends="java.lang.Object"
  7797. abstract="false"
  7798. static="false" final="false" visibility="public"
  7799. deprecated="not deprecated">
  7800. <implements name="org.apache.hadoop.hdfs.server.datanode.BPServiceActorAction"/>
  7801. <constructor name="ErrorReportAction" type="int, java.lang.String"
  7802. static="false" final="false" visibility="public"
  7803. deprecated="not deprecated">
  7804. </constructor>
  7805. <method name="reportTo"
  7806. abstract="false" native="false" synchronized="false"
  7807. static="false" final="false" visibility="public"
  7808. deprecated="not deprecated">
  7809. <param name="bpNamenode" type="org.apache.hadoop.hdfs.protocolPB.DatanodeProtocolClientSideTranslatorPB"/>
  7810. <param name="bpRegistration" type="org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration"/>
  7811. <exception name="BPServiceActorActionException" type="org.apache.hadoop.hdfs.server.datanode.BPServiceActorActionException"/>
  7812. </method>
  7813. <method name="hashCode" return="int"
  7814. abstract="false" native="false" synchronized="false"
  7815. static="false" final="false" visibility="public"
  7816. deprecated="not deprecated">
  7817. </method>
  7818. <method name="equals" return="boolean"
  7819. abstract="false" native="false" synchronized="false"
  7820. static="false" final="false" visibility="public"
  7821. deprecated="not deprecated">
  7822. <param name="obj" type="java.lang.Object"/>
  7823. </method>
  7824. <doc>
  7825. <![CDATA[A ErrorReportAction is an instruction issued by BPOfferService to
  7826. BPServiceActor about a particular block encapsulated in errorMessage.]]>
  7827. </doc>
  7828. </class>
  7829. <!-- end class org.apache.hadoop.hdfs.server.datanode.ErrorReportAction -->
  7830. <!-- start class org.apache.hadoop.hdfs.server.datanode.FinalizedReplica -->
  7831. <class name="FinalizedReplica" extends="org.apache.hadoop.hdfs.server.datanode.ReplicaInfo"
  7832. abstract="false"
  7833. static="false" final="false" visibility="public"
  7834. deprecated="not deprecated">
  7835. <constructor name="FinalizedReplica" type="long, long, long, org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeSpi, java.io.File"
  7836. static="false" final="false" visibility="public"
  7837. deprecated="not deprecated">
  7838. <doc>
  7839. <![CDATA[Constructor
  7840. @param blockId block id
  7841. @param len replica length
  7842. @param genStamp replica generation stamp
  7843. @param vol volume where replica is located
  7844. @param dir directory path where block and meta files are located]]>
  7845. </doc>
  7846. </constructor>
  7847. <constructor name="FinalizedReplica" type="org.apache.hadoop.hdfs.protocol.Block, org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeSpi, java.io.File"
  7848. static="false" final="false" visibility="public"
  7849. deprecated="not deprecated">
  7850. <doc>
  7851. <![CDATA[Constructor
  7852. @param block a block
  7853. @param vol volume where replica is located
  7854. @param dir directory path where block and meta files are located]]>
  7855. </doc>
  7856. </constructor>
  7857. <constructor name="FinalizedReplica" type="org.apache.hadoop.hdfs.server.datanode.FinalizedReplica"
  7858. static="false" final="false" visibility="public"
  7859. deprecated="not deprecated">
  7860. <doc>
  7861. <![CDATA[Copy constructor.
  7862. @param from where to copy construct from]]>
  7863. </doc>
  7864. </constructor>
  7865. <method name="getState" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.ReplicaState"
  7866. abstract="false" native="false" synchronized="false"
  7867. static="false" final="false" visibility="public"
  7868. deprecated="not deprecated">
  7869. </method>
  7870. <method name="isUnlinked" return="boolean"
  7871. abstract="false" native="false" synchronized="false"
  7872. static="false" final="false" visibility="public"
  7873. deprecated="not deprecated">
  7874. </method>
  7875. <method name="setUnlinked"
  7876. abstract="false" native="false" synchronized="false"
  7877. static="false" final="false" visibility="public"
  7878. deprecated="not deprecated">
  7879. </method>
  7880. <method name="getVisibleLength" return="long"
  7881. abstract="false" native="false" synchronized="false"
  7882. static="false" final="false" visibility="public"
  7883. deprecated="not deprecated">
  7884. </method>
  7885. <method name="getBytesOnDisk" return="long"
  7886. abstract="false" native="false" synchronized="false"
  7887. static="false" final="false" visibility="public"
  7888. deprecated="not deprecated">
  7889. </method>
  7890. <method name="equals" return="boolean"
  7891. abstract="false" native="false" synchronized="false"
  7892. static="false" final="false" visibility="public"
  7893. deprecated="not deprecated">
  7894. <param name="o" type="java.lang.Object"/>
  7895. </method>
  7896. <method name="hashCode" return="int"
  7897. abstract="false" native="false" synchronized="false"
  7898. static="false" final="false" visibility="public"
  7899. deprecated="not deprecated">
  7900. </method>
  7901. <method name="toString" return="java.lang.String"
  7902. abstract="false" native="false" synchronized="false"
  7903. static="false" final="false" visibility="public"
  7904. deprecated="not deprecated">
  7905. </method>
  7906. <doc>
  7907. <![CDATA[This class describes a replica that has been finalized.]]>
  7908. </doc>
  7909. </class>
  7910. <!-- end class org.apache.hadoop.hdfs.server.datanode.FinalizedReplica -->
  7911. <!-- start class org.apache.hadoop.hdfs.server.datanode.ReplicaAlreadyExistsException -->
  7912. <class name="ReplicaAlreadyExistsException" extends="java.io.IOException"
  7913. abstract="false"
  7914. static="false" final="false" visibility="public"
  7915. deprecated="not deprecated">
  7916. <constructor name="ReplicaAlreadyExistsException"
  7917. static="false" final="false" visibility="public"
  7918. deprecated="not deprecated">
  7919. </constructor>
  7920. <constructor name="ReplicaAlreadyExistsException" type="java.lang.String"
  7921. static="false" final="false" visibility="public"
  7922. deprecated="not deprecated">
  7923. </constructor>
  7924. <doc>
  7925. <![CDATA[Exception indicating that the target block already exists
  7926. and is not set to be recovered/overwritten.]]>
  7927. </doc>
  7928. </class>
  7929. <!-- end class org.apache.hadoop.hdfs.server.datanode.ReplicaAlreadyExistsException -->
  7930. <!-- start class org.apache.hadoop.hdfs.server.datanode.ReplicaBeingWritten -->
  7931. <class name="ReplicaBeingWritten" extends="org.apache.hadoop.hdfs.server.datanode.ReplicaInPipeline"
  7932. abstract="false"
  7933. static="false" final="false" visibility="public"
  7934. deprecated="not deprecated">
  7935. <constructor name="ReplicaBeingWritten" type="long, long, org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeSpi, java.io.File, long"
  7936. static="false" final="false" visibility="public"
  7937. deprecated="not deprecated">
  7938. <doc>
  7939. <![CDATA[Constructor for a zero length replica
  7940. @param blockId block id
  7941. @param genStamp replica generation stamp
  7942. @param vol volume where replica is located
  7943. @param dir directory path where block and meta files are located
  7944. @param bytesToReserve disk space to reserve for this replica, based on
  7945. the estimated maximum block length.]]>
  7946. </doc>
  7947. </constructor>
  7948. <constructor name="ReplicaBeingWritten" type="org.apache.hadoop.hdfs.protocol.Block, org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeSpi, java.io.File, java.lang.Thread"
  7949. static="false" final="false" visibility="public"
  7950. deprecated="not deprecated">
  7951. <doc>
  7952. <![CDATA[Constructor
  7953. @param block a block
  7954. @param vol volume where replica is located
  7955. @param dir directory path where block and meta files are located
  7956. @param writer a thread that is writing to this replica]]>
  7957. </doc>
  7958. </constructor>
  7959. <constructor name="ReplicaBeingWritten" type="long, long, long, org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeSpi, java.io.File, java.lang.Thread, long"
  7960. static="false" final="false" visibility="public"
  7961. deprecated="not deprecated">
  7962. <doc>
  7963. <![CDATA[Constructor
  7964. @param blockId block id
  7965. @param len replica length
  7966. @param genStamp replica generation stamp
  7967. @param vol volume where replica is located
  7968. @param dir directory path where block and meta files are located
  7969. @param writer a thread that is writing to this replica
  7970. @param bytesToReserve disk space to reserve for this replica, based on
  7971. the estimated maximum block length.]]>
  7972. </doc>
  7973. </constructor>
  7974. <constructor name="ReplicaBeingWritten" type="org.apache.hadoop.hdfs.server.datanode.ReplicaBeingWritten"
  7975. static="false" final="false" visibility="public"
  7976. deprecated="not deprecated">
  7977. <doc>
  7978. <![CDATA[Copy constructor.
  7979. @param from where to copy from]]>
  7980. </doc>
  7981. </constructor>
  7982. <method name="getVisibleLength" return="long"
  7983. abstract="false" native="false" synchronized="false"
  7984. static="false" final="false" visibility="public"
  7985. deprecated="not deprecated">
  7986. </method>
  7987. <method name="getState" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.ReplicaState"
  7988. abstract="false" native="false" synchronized="false"
  7989. static="false" final="false" visibility="public"
  7990. deprecated="not deprecated">
  7991. </method>
  7992. <method name="equals" return="boolean"
  7993. abstract="false" native="false" synchronized="false"
  7994. static="false" final="false" visibility="public"
  7995. deprecated="not deprecated">
  7996. <param name="o" type="java.lang.Object"/>
  7997. </method>
  7998. <method name="hashCode" return="int"
  7999. abstract="false" native="false" synchronized="false"
  8000. static="false" final="false" visibility="public"
  8001. deprecated="not deprecated">
  8002. </method>
  8003. <doc>
  8004. <![CDATA[This class represents replicas being written.
  8005. Those are the replicas that
  8006. are created in a pipeline initiated by a dfs client.]]>
  8007. </doc>
  8008. </class>
  8009. <!-- end class org.apache.hadoop.hdfs.server.datanode.ReplicaBeingWritten -->
  8010. <!-- start class org.apache.hadoop.hdfs.server.datanode.ReplicaHandler -->
  8011. <class name="ReplicaHandler" extends="java.lang.Object"
  8012. abstract="false"
  8013. static="false" final="false" visibility="public"
  8014. deprecated="not deprecated">
  8015. <implements name="java.io.Closeable"/>
  8016. <constructor name="ReplicaHandler" type="org.apache.hadoop.hdfs.server.datanode.ReplicaInPipelineInterface, org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeReference"
  8017. static="false" final="false" visibility="public"
  8018. deprecated="not deprecated">
  8019. </constructor>
  8020. <method name="close"
  8021. abstract="false" native="false" synchronized="false"
  8022. static="false" final="false" visibility="public"
  8023. deprecated="not deprecated">
  8024. <exception name="IOException" type="java.io.IOException"/>
  8025. </method>
  8026. <method name="getReplica" return="org.apache.hadoop.hdfs.server.datanode.ReplicaInPipelineInterface"
  8027. abstract="false" native="false" synchronized="false"
  8028. static="false" final="false" visibility="public"
  8029. deprecated="not deprecated">
  8030. </method>
  8031. <doc>
  8032. <![CDATA[This class includes a replica being actively written and the reference to
  8033. the fs volume where this replica is located.]]>
  8034. </doc>
  8035. </class>
  8036. <!-- end class org.apache.hadoop.hdfs.server.datanode.ReplicaHandler -->
  8037. <!-- start class org.apache.hadoop.hdfs.server.datanode.ReplicaInfo.ReplicaDirInfo -->
  8038. <class name="ReplicaInfo.ReplicaDirInfo" extends="java.lang.Object"
  8039. abstract="false"
  8040. static="true" final="false" visibility="public"
  8041. deprecated="not deprecated">
  8042. <constructor name="ReplicaDirInfo" type="java.lang.String, boolean"
  8043. static="false" final="false" visibility="public"
  8044. deprecated="not deprecated">
  8045. </constructor>
  8046. <field name="baseDirPath" type="java.lang.String"
  8047. transient="false" volatile="false"
  8048. static="false" final="false" visibility="public"
  8049. deprecated="not deprecated">
  8050. </field>
  8051. <field name="hasSubidrs" type="boolean"
  8052. transient="false" volatile="false"
  8053. static="false" final="false" visibility="public"
  8054. deprecated="not deprecated">
  8055. </field>
  8056. </class>
  8057. <!-- end class org.apache.hadoop.hdfs.server.datanode.ReplicaInfo.ReplicaDirInfo -->
  8058. <!-- start class org.apache.hadoop.hdfs.server.datanode.ReplicaInPipeline -->
  8059. <class name="ReplicaInPipeline" extends="org.apache.hadoop.hdfs.server.datanode.ReplicaInfo"
  8060. abstract="false"
  8061. static="false" final="false" visibility="public"
  8062. deprecated="not deprecated">
  8063. <implements name="org.apache.hadoop.hdfs.server.datanode.ReplicaInPipelineInterface"/>
  8064. <constructor name="ReplicaInPipeline" type="long, long, org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeSpi, java.io.File, long"
  8065. static="false" final="false" visibility="public"
  8066. deprecated="not deprecated">
  8067. <doc>
  8068. <![CDATA[Constructor for a zero length replica
  8069. @param blockId block id
  8070. @param genStamp replica generation stamp
  8071. @param vol volume where replica is located
  8072. @param dir directory path where block and meta files are located
  8073. @param bytesToReserve disk space to reserve for this replica, based on
  8074. the estimated maximum block length.]]>
  8075. </doc>
  8076. </constructor>
  8077. <constructor name="ReplicaInPipeline" type="org.apache.hadoop.hdfs.server.datanode.ReplicaInPipeline"
  8078. static="false" final="false" visibility="public"
  8079. deprecated="not deprecated">
  8080. <doc>
  8081. <![CDATA[Copy constructor.
  8082. @param from where to copy from]]>
  8083. </doc>
  8084. </constructor>
  8085. <method name="getVisibleLength" return="long"
  8086. abstract="false" native="false" synchronized="false"
  8087. static="false" final="false" visibility="public"
  8088. deprecated="not deprecated">
  8089. </method>
  8090. <method name="getState" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.ReplicaState"
  8091. abstract="false" native="false" synchronized="false"
  8092. static="false" final="false" visibility="public"
  8093. deprecated="not deprecated">
  8094. </method>
  8095. <method name="getBytesAcked" return="long"
  8096. abstract="false" native="false" synchronized="false"
  8097. static="false" final="false" visibility="public"
  8098. deprecated="not deprecated">
  8099. </method>
  8100. <method name="setBytesAcked"
  8101. abstract="false" native="false" synchronized="false"
  8102. static="false" final="false" visibility="public"
  8103. deprecated="not deprecated">
  8104. <param name="bytesAcked" type="long"/>
  8105. </method>
  8106. <method name="getBytesOnDisk" return="long"
  8107. abstract="false" native="false" synchronized="false"
  8108. static="false" final="false" visibility="public"
  8109. deprecated="not deprecated">
  8110. </method>
  8111. <method name="getBytesReserved" return="long"
  8112. abstract="false" native="false" synchronized="false"
  8113. static="false" final="false" visibility="public"
  8114. deprecated="not deprecated">
  8115. </method>
  8116. <method name="releaseAllBytesReserved"
  8117. abstract="false" native="false" synchronized="false"
  8118. static="false" final="false" visibility="public"
  8119. deprecated="not deprecated">
  8120. </method>
  8121. <method name="setLastChecksumAndDataLen"
  8122. abstract="false" native="false" synchronized="true"
  8123. static="false" final="false" visibility="public"
  8124. deprecated="not deprecated">
  8125. <param name="dataLength" type="long"/>
  8126. <param name="lastChecksum" type="byte[]"/>
  8127. </method>
  8128. <method name="getLastChecksumAndDataLen" return="org.apache.hadoop.hdfs.server.datanode.ChunkChecksum"
  8129. abstract="false" native="false" synchronized="true"
  8130. static="false" final="false" visibility="public"
  8131. deprecated="not deprecated">
  8132. </method>
  8133. <method name="setWriter"
  8134. abstract="false" native="false" synchronized="false"
  8135. static="false" final="false" visibility="public"
  8136. deprecated="not deprecated">
  8137. <param name="writer" type="java.lang.Thread"/>
  8138. <doc>
  8139. <![CDATA[Set the thread that is writing to this replica
  8140. @param writer a thread writing to this replica]]>
  8141. </doc>
  8142. </method>
  8143. <method name="equals" return="boolean"
  8144. abstract="false" native="false" synchronized="false"
  8145. static="false" final="false" visibility="public"
  8146. deprecated="not deprecated">
  8147. <param name="o" type="java.lang.Object"/>
  8148. </method>
  8149. <method name="stopWriter"
  8150. abstract="false" native="false" synchronized="false"
  8151. static="false" final="false" visibility="public"
  8152. deprecated="not deprecated">
  8153. <param name="xceiverStopTimeout" type="long"/>
  8154. <exception name="IOException" type="java.io.IOException"/>
  8155. <doc>
  8156. <![CDATA[Interrupt the writing thread and wait until it dies
  8157. @throws IOException the waiting is interrupted]]>
  8158. </doc>
  8159. </method>
  8160. <method name="hashCode" return="int"
  8161. abstract="false" native="false" synchronized="false"
  8162. static="false" final="false" visibility="public"
  8163. deprecated="not deprecated">
  8164. </method>
  8165. <method name="createStreams" return="org.apache.hadoop.hdfs.server.datanode.fsdataset.ReplicaOutputStreams"
  8166. abstract="false" native="false" synchronized="false"
  8167. static="false" final="false" visibility="public"
  8168. deprecated="not deprecated">
  8169. <param name="isCreate" type="boolean"/>
  8170. <param name="requestedChecksum" type="org.apache.hadoop.util.DataChecksum"/>
  8171. <exception name="IOException" type="java.io.IOException"/>
  8172. </method>
  8173. <method name="toString" return="java.lang.String"
  8174. abstract="false" native="false" synchronized="false"
  8175. static="false" final="false" visibility="public"
  8176. deprecated="not deprecated">
  8177. </method>
  8178. <doc>
  8179. <![CDATA[This class defines a replica in a pipeline, which
  8180. includes a persistent replica being written to by a dfs client or
  8181. a temporary replica being replicated by a source datanode or
  8182. being copied for the balancing purpose.
  8183. The base class implements a temporary replica]]>
  8184. </doc>
  8185. </class>
  8186. <!-- end class org.apache.hadoop.hdfs.server.datanode.ReplicaInPipeline -->
  8187. <!-- start interface org.apache.hadoop.hdfs.server.datanode.ReplicaInPipelineInterface -->
  8188. <interface name="ReplicaInPipelineInterface" abstract="true"
  8189. static="false" final="false" visibility="public"
  8190. deprecated="not deprecated">
  8191. <implements name="org.apache.hadoop.hdfs.server.datanode.Replica"/>
  8192. <method name="setNumBytes"
  8193. abstract="true" native="false" synchronized="false"
  8194. static="false" final="false" visibility="public"
  8195. deprecated="not deprecated">
  8196. <param name="bytesReceived" type="long"/>
  8197. <doc>
  8198. <![CDATA[Set the number of bytes received
  8199. @param bytesReceived number of bytes received]]>
  8200. </doc>
  8201. </method>
  8202. <method name="getBytesAcked" return="long"
  8203. abstract="true" native="false" synchronized="false"
  8204. static="false" final="false" visibility="public"
  8205. deprecated="not deprecated">
  8206. <doc>
  8207. <![CDATA[Get the number of bytes acked
  8208. @return the number of bytes acked]]>
  8209. </doc>
  8210. </method>
  8211. <method name="setBytesAcked"
  8212. abstract="true" native="false" synchronized="false"
  8213. static="false" final="false" visibility="public"
  8214. deprecated="not deprecated">
  8215. <param name="bytesAcked" type="long"/>
  8216. <doc>
  8217. <![CDATA[Set the number bytes that have acked
  8218. @param bytesAcked number bytes acked]]>
  8219. </doc>
  8220. </method>
  8221. <method name="releaseAllBytesReserved"
  8222. abstract="true" native="false" synchronized="false"
  8223. static="false" final="false" visibility="public"
  8224. deprecated="not deprecated">
  8225. <doc>
  8226. <![CDATA[Release any disk space reserved for this replica.]]>
  8227. </doc>
  8228. </method>
  8229. <method name="setLastChecksumAndDataLen"
  8230. abstract="true" native="false" synchronized="false"
  8231. static="false" final="false" visibility="public"
  8232. deprecated="not deprecated">
  8233. <param name="dataLength" type="long"/>
  8234. <param name="lastChecksum" type="byte[]"/>
  8235. <doc>
  8236. <![CDATA[store the checksum for the last chunk along with the data length
  8237. @param dataLength number of bytes on disk
  8238. @param lastChecksum - checksum bytes for the last chunk]]>
  8239. </doc>
  8240. </method>
  8241. <method name="getLastChecksumAndDataLen" return="org.apache.hadoop.hdfs.server.datanode.ChunkChecksum"
  8242. abstract="true" native="false" synchronized="false"
  8243. static="false" final="false" visibility="public"
  8244. deprecated="not deprecated">
  8245. <doc>
  8246. <![CDATA[gets the last chunk checksum and the length of the block corresponding
  8247. to that checksum]]>
  8248. </doc>
  8249. </method>
  8250. <method name="createStreams" return="org.apache.hadoop.hdfs.server.datanode.fsdataset.ReplicaOutputStreams"
  8251. abstract="true" native="false" synchronized="false"
  8252. static="false" final="false" visibility="public"
  8253. deprecated="not deprecated">
  8254. <param name="isCreate" type="boolean"/>
  8255. <param name="requestedChecksum" type="org.apache.hadoop.util.DataChecksum"/>
  8256. <exception name="IOException" type="java.io.IOException"/>
  8257. <doc>
  8258. <![CDATA[Create output streams for writing to this replica,
  8259. one for block file and one for CRC file
  8260. @param isCreate if it is for creation
  8261. @param requestedChecksum the checksum the writer would prefer to use
  8262. @return output streams for writing
  8263. @throws IOException if any error occurs]]>
  8264. </doc>
  8265. </method>
  8266. <doc>
  8267. <![CDATA[This defines the interface of a replica in Pipeline that's being written to]]>
  8268. </doc>
  8269. </interface>
  8270. <!-- end interface org.apache.hadoop.hdfs.server.datanode.ReplicaInPipelineInterface -->
  8271. <!-- start class org.apache.hadoop.hdfs.server.datanode.ReplicaNotFoundException -->
  8272. <class name="ReplicaNotFoundException" extends="java.io.IOException"
  8273. abstract="false"
  8274. static="false" final="false" visibility="public"
  8275. deprecated="not deprecated">
  8276. <constructor name="ReplicaNotFoundException"
  8277. static="false" final="false" visibility="public"
  8278. deprecated="not deprecated">
  8279. </constructor>
  8280. <constructor name="ReplicaNotFoundException" type="org.apache.hadoop.hdfs.protocol.ExtendedBlock"
  8281. static="false" final="false" visibility="public"
  8282. deprecated="not deprecated">
  8283. </constructor>
  8284. <constructor name="ReplicaNotFoundException" type="java.lang.String"
  8285. static="false" final="false" visibility="public"
  8286. deprecated="not deprecated">
  8287. </constructor>
  8288. <field name="NON_RBW_REPLICA" type="java.lang.String"
  8289. transient="false" volatile="false"
  8290. static="true" final="true" visibility="public"
  8291. deprecated="not deprecated">
  8292. </field>
  8293. <field name="UNFINALIZED_REPLICA" type="java.lang.String"
  8294. transient="false" volatile="false"
  8295. static="true" final="true" visibility="public"
  8296. deprecated="not deprecated">
  8297. </field>
  8298. <field name="UNFINALIZED_AND_NONRBW_REPLICA" type="java.lang.String"
  8299. transient="false" volatile="false"
  8300. static="true" final="true" visibility="public"
  8301. deprecated="not deprecated">
  8302. </field>
  8303. <field name="NON_EXISTENT_REPLICA" type="java.lang.String"
  8304. transient="false" volatile="false"
  8305. static="true" final="true" visibility="public"
  8306. deprecated="not deprecated">
  8307. </field>
  8308. <field name="UNEXPECTED_GS_REPLICA" type="java.lang.String"
  8309. transient="false" volatile="false"
  8310. static="true" final="true" visibility="public"
  8311. deprecated="not deprecated">
  8312. </field>
  8313. <doc>
  8314. <![CDATA[Exception indicating that DataNode does not have a replica
  8315. that matches the target block.]]>
  8316. </doc>
  8317. </class>
  8318. <!-- end class org.apache.hadoop.hdfs.server.datanode.ReplicaNotFoundException -->
  8319. <!-- start class org.apache.hadoop.hdfs.server.datanode.ReplicaUnderRecovery -->
  8320. <class name="ReplicaUnderRecovery" extends="org.apache.hadoop.hdfs.server.datanode.ReplicaInfo"
  8321. abstract="false"
  8322. static="false" final="false" visibility="public"
  8323. deprecated="not deprecated">
  8324. <constructor name="ReplicaUnderRecovery" type="org.apache.hadoop.hdfs.server.datanode.ReplicaInfo, long"
  8325. static="false" final="false" visibility="public"
  8326. deprecated="not deprecated">
  8327. </constructor>
  8328. <constructor name="ReplicaUnderRecovery" type="org.apache.hadoop.hdfs.server.datanode.ReplicaUnderRecovery"
  8329. static="false" final="false" visibility="public"
  8330. deprecated="not deprecated">
  8331. <doc>
  8332. <![CDATA[Copy constructor.
  8333. @param from where to copy from]]>
  8334. </doc>
  8335. </constructor>
  8336. <method name="getRecoveryID" return="long"
  8337. abstract="false" native="false" synchronized="false"
  8338. static="false" final="false" visibility="public"
  8339. deprecated="not deprecated">
  8340. <doc>
  8341. <![CDATA[Get the recovery id
  8342. @return the generation stamp that the replica will be bumped to]]>
  8343. </doc>
  8344. </method>
  8345. <method name="setRecoveryID"
  8346. abstract="false" native="false" synchronized="false"
  8347. static="false" final="false" visibility="public"
  8348. deprecated="not deprecated">
  8349. <param name="recoveryId" type="long"/>
  8350. <doc>
  8351. <![CDATA[Set the recovery id
  8352. @param recoveryId the new recoveryId]]>
  8353. </doc>
  8354. </method>
  8355. <method name="getOriginalReplica" return="org.apache.hadoop.hdfs.server.datanode.ReplicaInfo"
  8356. abstract="false" native="false" synchronized="false"
  8357. static="false" final="false" visibility="public"
  8358. deprecated="not deprecated">
  8359. <doc>
  8360. <![CDATA[Get the original replica that's under recovery
  8361. @return the original replica under recovery]]>
  8362. </doc>
  8363. </method>
  8364. <method name="isUnlinked" return="boolean"
  8365. abstract="false" native="false" synchronized="false"
  8366. static="false" final="false" visibility="public"
  8367. deprecated="not deprecated">
  8368. </method>
  8369. <method name="setUnlinked"
  8370. abstract="false" native="false" synchronized="false"
  8371. static="false" final="false" visibility="public"
  8372. deprecated="not deprecated">
  8373. </method>
  8374. <method name="getState" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.ReplicaState"
  8375. abstract="false" native="false" synchronized="false"
  8376. static="false" final="false" visibility="public"
  8377. deprecated="not deprecated">
  8378. </method>
  8379. <method name="getVisibleLength" return="long"
  8380. abstract="false" native="false" synchronized="false"
  8381. static="false" final="false" visibility="public"
  8382. deprecated="not deprecated">
  8383. </method>
  8384. <method name="getBytesOnDisk" return="long"
  8385. abstract="false" native="false" synchronized="false"
  8386. static="false" final="false" visibility="public"
  8387. deprecated="not deprecated">
  8388. </method>
  8389. <method name="setBlockId"
  8390. abstract="false" native="false" synchronized="false"
  8391. static="false" final="false" visibility="public"
  8392. deprecated="not deprecated">
  8393. <param name="blockId" type="long"/>
  8394. </method>
  8395. <method name="setGenerationStamp"
  8396. abstract="false" native="false" synchronized="false"
  8397. static="false" final="false" visibility="public"
  8398. deprecated="not deprecated">
  8399. <param name="gs" type="long"/>
  8400. </method>
  8401. <method name="setNumBytes"
  8402. abstract="false" native="false" synchronized="false"
  8403. static="false" final="false" visibility="public"
  8404. deprecated="not deprecated">
  8405. <param name="numBytes" type="long"/>
  8406. </method>
  8407. <method name="setDir"
  8408. abstract="false" native="false" synchronized="false"
  8409. static="false" final="false" visibility="public"
  8410. deprecated="not deprecated">
  8411. <param name="dir" type="java.io.File"/>
  8412. </method>
  8413. <method name="equals" return="boolean"
  8414. abstract="false" native="false" synchronized="false"
  8415. static="false" final="false" visibility="public"
  8416. deprecated="not deprecated">
  8417. <param name="o" type="java.lang.Object"/>
  8418. </method>
  8419. <method name="hashCode" return="int"
  8420. abstract="false" native="false" synchronized="false"
  8421. static="false" final="false" visibility="public"
  8422. deprecated="not deprecated">
  8423. </method>
  8424. <method name="toString" return="java.lang.String"
  8425. abstract="false" native="false" synchronized="false"
  8426. static="false" final="false" visibility="public"
  8427. deprecated="not deprecated">
  8428. </method>
  8429. <method name="createInfo" return="org.apache.hadoop.hdfs.server.protocol.ReplicaRecoveryInfo"
  8430. abstract="false" native="false" synchronized="false"
  8431. static="false" final="false" visibility="public"
  8432. deprecated="not deprecated">
  8433. </method>
  8434. <doc>
  8435. <![CDATA[This class represents replicas that are under block recovery
  8436. It has a recovery id that is equal to the generation stamp
  8437. that the replica will be bumped to after recovery
  8438. The recovery id is used to handle multiple concurrent block recoveries.
  8439. A recovery with higher recovery id preempts recoveries with a lower id.]]>
  8440. </doc>
  8441. </class>
  8442. <!-- end class org.apache.hadoop.hdfs.server.datanode.ReplicaUnderRecovery -->
  8443. <!-- start class org.apache.hadoop.hdfs.server.datanode.ReplicaWaitingToBeRecovered -->
  8444. <class name="ReplicaWaitingToBeRecovered" extends="org.apache.hadoop.hdfs.server.datanode.ReplicaInfo"
  8445. abstract="false"
  8446. static="false" final="false" visibility="public"
  8447. deprecated="not deprecated">
  8448. <constructor name="ReplicaWaitingToBeRecovered" type="long, long, long, org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeSpi, java.io.File"
  8449. static="false" final="false" visibility="public"
  8450. deprecated="not deprecated">
  8451. <doc>
  8452. <![CDATA[Constructor
  8453. @param blockId block id
  8454. @param len replica length
  8455. @param genStamp replica generation stamp
  8456. @param vol volume where replica is located
  8457. @param dir directory path where block and meta files are located]]>
  8458. </doc>
  8459. </constructor>
  8460. <constructor name="ReplicaWaitingToBeRecovered" type="org.apache.hadoop.hdfs.protocol.Block, org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeSpi, java.io.File"
  8461. static="false" final="false" visibility="public"
  8462. deprecated="not deprecated">
  8463. <doc>
  8464. <![CDATA[Constructor
  8465. @param block a block
  8466. @param vol volume where replica is located
  8467. @param dir directory path where block and meta files are located]]>
  8468. </doc>
  8469. </constructor>
  8470. <constructor name="ReplicaWaitingToBeRecovered" type="org.apache.hadoop.hdfs.server.datanode.ReplicaWaitingToBeRecovered"
  8471. static="false" final="false" visibility="public"
  8472. deprecated="not deprecated">
  8473. <doc>
  8474. <![CDATA[Copy constructor.
  8475. @param from where to copy from]]>
  8476. </doc>
  8477. </constructor>
  8478. <method name="getState" return="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.ReplicaState"
  8479. abstract="false" native="false" synchronized="false"
  8480. static="false" final="false" visibility="public"
  8481. deprecated="not deprecated">
  8482. </method>
  8483. <method name="isUnlinked" return="boolean"
  8484. abstract="false" native="false" synchronized="false"
  8485. static="false" final="false" visibility="public"
  8486. deprecated="not deprecated">
  8487. </method>
  8488. <method name="setUnlinked"
  8489. abstract="false" native="false" synchronized="false"
  8490. static="false" final="false" visibility="public"
  8491. deprecated="not deprecated">
  8492. </method>
  8493. <method name="getVisibleLength" return="long"
  8494. abstract="false" native="false" synchronized="false"
  8495. static="false" final="false" visibility="public"
  8496. deprecated="not deprecated">
  8497. </method>
  8498. <method name="getBytesOnDisk" return="long"
  8499. abstract="false" native="false" synchronized="false"
  8500. static="false" final="false" visibility="public"
  8501. deprecated="not deprecated">
  8502. </method>
  8503. <method name="equals" return="boolean"
  8504. abstract="false" native="false" synchronized="false"
  8505. static="false" final="false" visibility="public"
  8506. deprecated="not deprecated">
  8507. <param name="o" type="java.lang.Object"/>
  8508. </method>
  8509. <method name="hashCode" return="int"
  8510. abstract="false" native="false" synchronized="false"
  8511. static="false" final="false" visibility="public"
  8512. deprecated="not deprecated">
  8513. </method>
  8514. <method name="toString" return="java.lang.String"
  8515. abstract="false" native="false" synchronized="false"
  8516. static="false" final="false" visibility="public"
  8517. deprecated="not deprecated">
  8518. </method>
  8519. <doc>
  8520. <![CDATA[This class represents a replica that is waiting to be recovered.
  8521. After a datanode restart, any replica in "rbw" directory is loaded
  8522. as a replica waiting to be recovered.
  8523. A replica waiting to be recovered does not provision read nor
  8524. participates in any pipeline recovery. It will become outdated if its
  8525. client continues to write or be recovered as a result of
  8526. lease recovery.]]>
  8527. </doc>
  8528. </class>
  8529. <!-- end class org.apache.hadoop.hdfs.server.datanode.ReplicaWaitingToBeRecovered -->
  8530. <!-- start class org.apache.hadoop.hdfs.server.datanode.ReportBadBlockAction -->
  8531. <class name="ReportBadBlockAction" extends="java.lang.Object"
  8532. abstract="false"
  8533. static="false" final="false" visibility="public"
  8534. deprecated="not deprecated">
  8535. <implements name="org.apache.hadoop.hdfs.server.datanode.BPServiceActorAction"/>
  8536. <constructor name="ReportBadBlockAction" type="org.apache.hadoop.hdfs.protocol.ExtendedBlock, java.lang.String, org.apache.hadoop.fs.StorageType"
  8537. static="false" final="false" visibility="public"
  8538. deprecated="not deprecated">
  8539. </constructor>
  8540. <method name="reportTo"
  8541. abstract="false" native="false" synchronized="false"
  8542. static="false" final="false" visibility="public"
  8543. deprecated="not deprecated">
  8544. <param name="bpNamenode" type="org.apache.hadoop.hdfs.protocolPB.DatanodeProtocolClientSideTranslatorPB"/>
  8545. <param name="bpRegistration" type="org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration"/>
  8546. <exception name="BPServiceActorActionException" type="org.apache.hadoop.hdfs.server.datanode.BPServiceActorActionException"/>
  8547. </method>
  8548. <method name="hashCode" return="int"
  8549. abstract="false" native="false" synchronized="false"
  8550. static="false" final="false" visibility="public"
  8551. deprecated="not deprecated">
  8552. </method>
  8553. <method name="equals" return="boolean"
  8554. abstract="false" native="false" synchronized="false"
  8555. static="false" final="false" visibility="public"
  8556. deprecated="not deprecated">
  8557. <param name="obj" type="java.lang.Object"/>
  8558. </method>
  8559. <doc>
  8560. <![CDATA[ReportBadBlockAction is an instruction issued by {{BPOfferService}} to
  8561. {{BPServiceActor}} to report bad block to namenode]]>
  8562. </doc>
  8563. </class>
  8564. <!-- end class org.apache.hadoop.hdfs.server.datanode.ReportBadBlockAction -->
  8565. <!-- start class org.apache.hadoop.hdfs.server.datanode.SecureDataNodeStarter -->
  8566. <class name="SecureDataNodeStarter" extends="java.lang.Object"
  8567. abstract="false"
  8568. static="false" final="false" visibility="public"
  8569. deprecated="not deprecated">
  8570. <implements name="org.apache.commons.daemon.Daemon"/>
  8571. <constructor name="SecureDataNodeStarter"
  8572. static="false" final="false" visibility="public"
  8573. deprecated="not deprecated">
  8574. </constructor>
  8575. <method name="init"
  8576. abstract="false" native="false" synchronized="false"
  8577. static="false" final="false" visibility="public"
  8578. deprecated="not deprecated">
  8579. <param name="context" type="org.apache.commons.daemon.DaemonContext"/>
  8580. <exception name="Exception" type="java.lang.Exception"/>
  8581. </method>
  8582. <method name="start"
  8583. abstract="false" native="false" synchronized="false"
  8584. static="false" final="false" visibility="public"
  8585. deprecated="not deprecated">
  8586. <exception name="Exception" type="java.lang.Exception"/>
  8587. </method>
  8588. <method name="destroy"
  8589. abstract="false" native="false" synchronized="false"
  8590. static="false" final="false" visibility="public"
  8591. deprecated="not deprecated">
  8592. </method>
  8593. <method name="stop"
  8594. abstract="false" native="false" synchronized="false"
  8595. static="false" final="false" visibility="public"
  8596. deprecated="not deprecated">
  8597. <exception name="Exception" type="java.lang.Exception"/>
  8598. </method>
  8599. <method name="getSecureResources" return="org.apache.hadoop.hdfs.server.datanode.SecureDataNodeStarter.SecureResources"
  8600. abstract="false" native="false" synchronized="false"
  8601. static="true" final="false" visibility="public"
  8602. deprecated="not deprecated">
  8603. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  8604. <exception name="Exception" type="java.lang.Exception"/>
  8605. <doc>
  8606. <![CDATA[Acquire privileged resources (i.e., the privileged ports) for the data
  8607. node. The privileged resources consist of the port of the RPC server and
  8608. the port of HTTP (not HTTPS) server.]]>
  8609. </doc>
  8610. </method>
  8611. <doc>
  8612. <![CDATA[Utility class to start a datanode in a secure cluster, first obtaining
  8613. privileged resources before main startup and handing them to the datanode.]]>
  8614. </doc>
  8615. </class>
  8616. <!-- end class org.apache.hadoop.hdfs.server.datanode.SecureDataNodeStarter -->
  8617. <!-- start class org.apache.hadoop.hdfs.server.datanode.SecureDataNodeStarter.SecureResources -->
  8618. <class name="SecureDataNodeStarter.SecureResources" extends="java.lang.Object"
  8619. abstract="false"
  8620. static="true" final="false" visibility="public"
  8621. deprecated="not deprecated">
  8622. <constructor name="SecureResources" type="java.net.ServerSocket, java.nio.channels.ServerSocketChannel"
  8623. static="false" final="false" visibility="public"
  8624. deprecated="not deprecated">
  8625. </constructor>
  8626. <method name="getStreamingSocket" return="java.net.ServerSocket"
  8627. abstract="false" native="false" synchronized="false"
  8628. static="false" final="false" visibility="public"
  8629. deprecated="not deprecated">
  8630. </method>
  8631. <method name="getHttpServerChannel" return="java.nio.channels.ServerSocketChannel"
  8632. abstract="false" native="false" synchronized="false"
  8633. static="false" final="false" visibility="public"
  8634. deprecated="not deprecated">
  8635. </method>
  8636. <doc>
  8637. <![CDATA[Stash necessary resources needed for datanode operation in a secure env.]]>
  8638. </doc>
  8639. </class>
  8640. <!-- end class org.apache.hadoop.hdfs.server.datanode.SecureDataNodeStarter.SecureResources -->
  8641. <!-- start class org.apache.hadoop.hdfs.server.datanode.ShortCircuitRegistry -->
  8642. <class name="ShortCircuitRegistry" extends="java.lang.Object"
  8643. abstract="false"
  8644. static="false" final="false" visibility="public"
  8645. deprecated="not deprecated">
  8646. <constructor name="ShortCircuitRegistry" type="org.apache.hadoop.conf.Configuration"
  8647. static="false" final="false" visibility="public"
  8648. deprecated="not deprecated">
  8649. <exception name="IOException" type="java.io.IOException"/>
  8650. </constructor>
  8651. <method name="removeShm"
  8652. abstract="false" native="false" synchronized="true"
  8653. static="false" final="false" visibility="public"
  8654. deprecated="not deprecated">
  8655. <param name="shm" type="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm"/>
  8656. </method>
  8657. <method name="processBlockMlockEvent"
  8658. abstract="false" native="false" synchronized="true"
  8659. static="false" final="false" visibility="public"
  8660. deprecated="not deprecated">
  8661. <param name="blockId" type="org.apache.hadoop.hdfs.ExtendedBlockId"/>
  8662. <doc>
  8663. <![CDATA[Process a block mlock event from the FsDatasetCache.
  8664. @param blockId The block that was mlocked.]]>
  8665. </doc>
  8666. </method>
  8667. <method name="processBlockMunlockRequest" return="boolean"
  8668. abstract="false" native="false" synchronized="true"
  8669. static="false" final="false" visibility="public"
  8670. deprecated="not deprecated">
  8671. <param name="blockId" type="org.apache.hadoop.hdfs.ExtendedBlockId"/>
  8672. <doc>
  8673. <![CDATA[Mark any slots associated with this blockId as unanchorable.
  8674. @param blockId The block ID.
  8675. @return True if we should allow the munlock request.]]>
  8676. </doc>
  8677. </method>
  8678. <method name="processBlockInvalidation"
  8679. abstract="false" native="false" synchronized="true"
  8680. static="false" final="false" visibility="public"
  8681. deprecated="not deprecated">
  8682. <param name="blockId" type="org.apache.hadoop.hdfs.ExtendedBlockId"/>
  8683. <doc>
  8684. <![CDATA[Invalidate any slot associated with a blockId that we are invalidating
  8685. (deleting) from this DataNode. When a slot is invalid, the DFSClient will
  8686. not use the corresponding replica for new read or mmap operations (although
  8687. existing, ongoing read or mmap operations will complete.)
  8688. @param blockId The block ID.]]>
  8689. </doc>
  8690. </method>
  8691. <method name="getClientNames" return="java.lang.String"
  8692. abstract="false" native="false" synchronized="true"
  8693. static="false" final="false" visibility="public"
  8694. deprecated="not deprecated">
  8695. <param name="blockId" type="org.apache.hadoop.hdfs.ExtendedBlockId"/>
  8696. </method>
  8697. <method name="createNewMemorySegment" return="org.apache.hadoop.hdfs.server.datanode.ShortCircuitRegistry.NewShmInfo"
  8698. abstract="false" native="false" synchronized="false"
  8699. static="false" final="false" visibility="public"
  8700. deprecated="not deprecated">
  8701. <param name="clientName" type="java.lang.String"/>
  8702. <param name="sock" type="org.apache.hadoop.net.unix.DomainSocket"/>
  8703. <exception name="IOException" type="java.io.IOException"/>
  8704. <doc>
  8705. <![CDATA[Handle a DFSClient request to create a new memory segment.
  8706. @param clientName Client name as reported by the client.
  8707. @param sock The DomainSocket to associate with this memory
  8708. segment. When this socket is closed, or the
  8709. other side writes anything to the socket, the
  8710. segment will be closed. This can happen at any
  8711. time, including right after this function returns.
  8712. @return A NewShmInfo object. The caller must close the
  8713. NewShmInfo object once they are done with it.
  8714. @throws IOException If the new memory segment could not be created.]]>
  8715. </doc>
  8716. </method>
  8717. <method name="registerSlot"
  8718. abstract="false" native="false" synchronized="true"
  8719. static="false" final="false" visibility="public"
  8720. deprecated="not deprecated">
  8721. <param name="blockId" type="org.apache.hadoop.hdfs.ExtendedBlockId"/>
  8722. <param name="slotId" type="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.SlotId"/>
  8723. <param name="isCached" type="boolean"/>
  8724. <exception name="InvalidRequestException" type="org.apache.hadoop.fs.InvalidRequestException"/>
  8725. </method>
  8726. <method name="unregisterSlot"
  8727. abstract="false" native="false" synchronized="true"
  8728. static="false" final="false" visibility="public"
  8729. deprecated="not deprecated">
  8730. <param name="slotId" type="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.SlotId"/>
  8731. <exception name="InvalidRequestException" type="org.apache.hadoop.fs.InvalidRequestException"/>
  8732. </method>
  8733. <method name="shutdown"
  8734. abstract="false" native="false" synchronized="false"
  8735. static="false" final="false" visibility="public"
  8736. deprecated="not deprecated">
  8737. </method>
  8738. <method name="visit"
  8739. abstract="false" native="false" synchronized="true"
  8740. static="false" final="false" visibility="public"
  8741. deprecated="not deprecated">
  8742. <param name="visitor" type="org.apache.hadoop.hdfs.server.datanode.ShortCircuitRegistry.Visitor"/>
  8743. </method>
  8744. <field name="LOG" type="org.apache.commons.logging.Log"
  8745. transient="false" volatile="false"
  8746. static="true" final="true" visibility="public"
  8747. deprecated="not deprecated">
  8748. </field>
  8749. <doc>
  8750. <![CDATA[Manages client short-circuit memory segments on the DataNode.
  8751. DFSClients request shared memory segments from the DataNode. The
  8752. ShortCircuitRegistry generates and manages these segments. Each segment
  8753. has a randomly generated 128-bit ID which uniquely identifies it. The
  8754. segments each contain several "slots."
  8755. Before performing a short-circuit read, DFSClients must request a pair of
  8756. file descriptors from the DataNode via the REQUEST_SHORT_CIRCUIT_FDS
  8757. operation. As part of this operation, DFSClients pass the ID of the shared
  8758. memory segment they would like to use to communicate information about this
  8759. replica, as well as the slot number within that segment they would like to
  8760. use. Slot allocation is always done by the client.
  8761. Slots are used to track the state of the block on the both the client and
  8762. datanode. When this DataNode mlocks a block, the corresponding slots for the
  8763. replicas are marked as "anchorable". Anchorable blocks can be safely read
  8764. without verifying the checksum. This means that BlockReaderLocal objects
  8765. using these replicas can skip checksumming. It also means that we can do
  8766. zero-copy reads on these replicas (the ZCR interface has no way of
  8767. verifying checksums.)
  8768. When a DN needs to munlock a block, it needs to first wait for the block to
  8769. be unanchored by clients doing a no-checksum read or a zero-copy read. The
  8770. DN also marks the block's slots as "unanchorable" to prevent additional
  8771. clients from initiating these operations in the future.
  8772. The counterpart of this class on the client is {@link DfsClientShmManager}.]]>
  8773. </doc>
  8774. </class>
  8775. <!-- end class org.apache.hadoop.hdfs.server.datanode.ShortCircuitRegistry -->
  8776. <!-- start class org.apache.hadoop.hdfs.server.datanode.ShortCircuitRegistry.NewShmInfo -->
  8777. <class name="ShortCircuitRegistry.NewShmInfo" extends="java.lang.Object"
  8778. abstract="false"
  8779. static="true" final="false" visibility="public"
  8780. deprecated="not deprecated">
  8781. <implements name="java.io.Closeable"/>
  8782. <method name="close"
  8783. abstract="false" native="false" synchronized="false"
  8784. static="false" final="false" visibility="public"
  8785. deprecated="not deprecated">
  8786. <exception name="IOException" type="java.io.IOException"/>
  8787. </method>
  8788. <field name="shmId" type="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.ShmId"
  8789. transient="false" volatile="false"
  8790. static="false" final="true" visibility="public"
  8791. deprecated="not deprecated">
  8792. </field>
  8793. <field name="stream" type="java.io.FileInputStream"
  8794. transient="false" volatile="false"
  8795. static="false" final="true" visibility="public"
  8796. deprecated="not deprecated">
  8797. </field>
  8798. </class>
  8799. <!-- end class org.apache.hadoop.hdfs.server.datanode.ShortCircuitRegistry.NewShmInfo -->
  8800. <!-- start class org.apache.hadoop.hdfs.server.datanode.ShortCircuitRegistry.RegisteredShm -->
  8801. <class name="ShortCircuitRegistry.RegisteredShm" extends="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm"
  8802. abstract="false"
  8803. static="true" final="false" visibility="public"
  8804. deprecated="not deprecated">
  8805. <implements name="org.apache.hadoop.net.unix.DomainSocketWatcher.Handler"/>
  8806. <method name="handle" return="boolean"
  8807. abstract="false" native="false" synchronized="false"
  8808. static="false" final="false" visibility="public"
  8809. deprecated="not deprecated">
  8810. <param name="sock" type="org.apache.hadoop.net.unix.DomainSocket"/>
  8811. </method>
  8812. </class>
  8813. <!-- end class org.apache.hadoop.hdfs.server.datanode.ShortCircuitRegistry.RegisteredShm -->
  8814. <!-- start interface org.apache.hadoop.hdfs.server.datanode.ShortCircuitRegistry.Visitor -->
  8815. <interface name="ShortCircuitRegistry.Visitor" abstract="true"
  8816. static="true" final="false" visibility="public"
  8817. deprecated="not deprecated">
  8818. <method name="accept"
  8819. abstract="true" native="false" synchronized="false"
  8820. static="false" final="false" visibility="public"
  8821. deprecated="not deprecated">
  8822. <param name="segments" type="java.util.HashMap"/>
  8823. <param name="slots" type="com.google.common.collect.HashMultimap"/>
  8824. </method>
  8825. </interface>
  8826. <!-- end interface org.apache.hadoop.hdfs.server.datanode.ShortCircuitRegistry.Visitor -->
  8827. <!-- start class org.apache.hadoop.hdfs.server.datanode.UnexpectedReplicaStateException -->
  8828. <class name="UnexpectedReplicaStateException" extends="java.io.IOException"
  8829. abstract="false"
  8830. static="false" final="false" visibility="public"
  8831. deprecated="not deprecated">
  8832. <constructor name="UnexpectedReplicaStateException"
  8833. static="false" final="false" visibility="public"
  8834. deprecated="not deprecated">
  8835. </constructor>
  8836. <constructor name="UnexpectedReplicaStateException" type="org.apache.hadoop.hdfs.protocol.ExtendedBlock, org.apache.hadoop.hdfs.server.common.HdfsServerConstants.ReplicaState"
  8837. static="false" final="false" visibility="public"
  8838. deprecated="not deprecated">
  8839. </constructor>
  8840. <constructor name="UnexpectedReplicaStateException" type="java.lang.String"
  8841. static="false" final="false" visibility="public"
  8842. deprecated="not deprecated">
  8843. </constructor>
  8844. <doc>
  8845. <![CDATA[Exception indicating that the replica is in an unexpected state]]>
  8846. </doc>
  8847. </class>
  8848. <!-- end class org.apache.hadoop.hdfs.server.datanode.UnexpectedReplicaStateException -->
  8849. <!-- start class org.apache.hadoop.hdfs.server.datanode.VolumeScanner -->
  8850. <class name="VolumeScanner" extends="java.lang.Thread"
  8851. abstract="false"
  8852. static="false" final="false" visibility="public"
  8853. deprecated="not deprecated">
  8854. <method name="printStats"
  8855. abstract="false" native="false" synchronized="false"
  8856. static="false" final="false" visibility="public"
  8857. deprecated="not deprecated">
  8858. <param name="p" type="java.lang.StringBuilder"/>
  8859. </method>
  8860. <method name="run"
  8861. abstract="false" native="false" synchronized="false"
  8862. static="false" final="false" visibility="public"
  8863. deprecated="not deprecated">
  8864. </method>
  8865. <method name="toString" return="java.lang.String"
  8866. abstract="false" native="false" synchronized="false"
  8867. static="false" final="false" visibility="public"
  8868. deprecated="not deprecated">
  8869. </method>
  8870. <method name="shutdown"
  8871. abstract="false" native="false" synchronized="true"
  8872. static="false" final="false" visibility="public"
  8873. deprecated="not deprecated">
  8874. <doc>
  8875. <![CDATA[Shut down this scanner.]]>
  8876. </doc>
  8877. </method>
  8878. <method name="markSuspectBlock"
  8879. abstract="false" native="false" synchronized="true"
  8880. static="false" final="false" visibility="public"
  8881. deprecated="not deprecated">
  8882. <param name="block" type="org.apache.hadoop.hdfs.protocol.ExtendedBlock"/>
  8883. </method>
  8884. <method name="enableBlockPoolId"
  8885. abstract="false" native="false" synchronized="true"
  8886. static="false" final="false" visibility="public"
  8887. deprecated="not deprecated">
  8888. <param name="bpid" type="java.lang.String"/>
  8889. <doc>
  8890. <![CDATA[Allow the scanner to scan the given block pool.
  8891. @param bpid The block pool id.]]>
  8892. </doc>
  8893. </method>
  8894. <method name="disableBlockPoolId"
  8895. abstract="false" native="false" synchronized="true"
  8896. static="false" final="false" visibility="public"
  8897. deprecated="not deprecated">
  8898. <param name="bpid" type="java.lang.String"/>
  8899. <doc>
  8900. <![CDATA[Disallow the scanner from scanning the given block pool.
  8901. @param bpid The block pool id.]]>
  8902. </doc>
  8903. </method>
  8904. <field name="LOG" type="org.slf4j.Logger"
  8905. transient="false" volatile="false"
  8906. static="true" final="true" visibility="public"
  8907. deprecated="not deprecated">
  8908. </field>
  8909. <doc>
  8910. <![CDATA[VolumeScanner scans a single volume. Each VolumeScanner has its own thread.<p/>
  8911. They are all managed by the DataNode's BlockScanner.]]>
  8912. </doc>
  8913. </class>
  8914. <!-- end class org.apache.hadoop.hdfs.server.datanode.VolumeScanner -->
  8915. </package>
  8916. <package name="org.apache.hadoop.hdfs.server.datanode.fsdataset">
  8917. <!-- start class org.apache.hadoop.hdfs.server.datanode.fsdataset.AvailableSpaceVolumeChoosingPolicy -->
  8918. <class name="AvailableSpaceVolumeChoosingPolicy" extends="java.lang.Object"
  8919. abstract="false"
  8920. static="false" final="false" visibility="public"
  8921. deprecated="not deprecated">
  8922. <implements name="org.apache.hadoop.hdfs.server.datanode.fsdataset.VolumeChoosingPolicy"/>
  8923. <implements name="org.apache.hadoop.conf.Configurable"/>
  8924. <constructor name="AvailableSpaceVolumeChoosingPolicy"
  8925. static="false" final="false" visibility="public"
  8926. deprecated="not deprecated">
  8927. </constructor>
  8928. <method name="setConf"
  8929. abstract="false" native="false" synchronized="true"
  8930. static="false" final="false" visibility="public"
  8931. deprecated="not deprecated">
  8932. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  8933. </method>
  8934. <method name="getConf" return="org.apache.hadoop.conf.Configuration"
  8935. abstract="false" native="false" synchronized="true"
  8936. static="false" final="false" visibility="public"
  8937. deprecated="not deprecated">
  8938. </method>
  8939. <method name="chooseVolume" return="V"
  8940. abstract="false" native="false" synchronized="true"
  8941. static="false" final="false" visibility="public"
  8942. deprecated="not deprecated">
  8943. <param name="volumes" type="java.util.List"/>
  8944. <param name="replicaSize" type="long"/>
  8945. <exception name="IOException" type="java.io.IOException"/>
  8946. </method>
  8947. <doc>
  8948. <![CDATA[A DN volume choosing policy which takes into account the amount of free
  8949. space on each of the available volumes when considering where to assign a
  8950. new replica allocation. By default this policy prefers assigning replicas to
  8951. those volumes with more available free space, so as to over time balance the
  8952. available space of all the volumes within a DN.]]>
  8953. </doc>
  8954. </class>
  8955. <!-- end class org.apache.hadoop.hdfs.server.datanode.fsdataset.AvailableSpaceVolumeChoosingPolicy -->
  8956. <!-- start class org.apache.hadoop.hdfs.server.datanode.fsdataset.FsDatasetSpi.Factory -->
  8957. <class name="FsDatasetSpi.Factory" extends="java.lang.Object"
  8958. abstract="true"
  8959. static="true" final="false" visibility="public"
  8960. deprecated="not deprecated">
  8961. <constructor name="Factory"
  8962. static="false" final="false" visibility="public"
  8963. deprecated="not deprecated">
  8964. </constructor>
  8965. <method name="getFactory" return="org.apache.hadoop.hdfs.server.datanode.fsdataset.FsDatasetSpi.Factory"
  8966. abstract="false" native="false" synchronized="false"
  8967. static="true" final="false" visibility="public"
  8968. deprecated="not deprecated">
  8969. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  8970. <doc>
  8971. <![CDATA[@return the configured factory.]]>
  8972. </doc>
  8973. </method>
  8974. <method name="newInstance" return="D"
  8975. abstract="true" native="false" synchronized="false"
  8976. static="false" final="false" visibility="public"
  8977. deprecated="not deprecated">
  8978. <param name="datanode" type="org.apache.hadoop.hdfs.server.datanode.DataNode"/>
  8979. <param name="storage" type="org.apache.hadoop.hdfs.server.datanode.DataStorage"/>
  8980. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  8981. <exception name="IOException" type="java.io.IOException"/>
  8982. <doc>
  8983. <![CDATA[Create a new object.]]>
  8984. </doc>
  8985. </method>
  8986. <method name="isSimulated" return="boolean"
  8987. abstract="false" native="false" synchronized="false"
  8988. static="false" final="false" visibility="public"
  8989. deprecated="not deprecated">
  8990. <doc>
  8991. <![CDATA[Does the factory create simulated objects?]]>
  8992. </doc>
  8993. </method>
  8994. <doc>
  8995. <![CDATA[A factory for creating {@link FsDatasetSpi} objects.]]>
  8996. </doc>
  8997. </class>
  8998. <!-- end class org.apache.hadoop.hdfs.server.datanode.fsdataset.FsDatasetSpi.Factory -->
  8999. <!-- start interface org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeReference -->
  9000. <interface name="FsVolumeReference" abstract="true"
  9001. static="false" final="false" visibility="public"
  9002. deprecated="not deprecated">
  9003. <implements name="java.io.Closeable"/>
  9004. <method name="close"
  9005. abstract="true" native="false" synchronized="false"
  9006. static="false" final="false" visibility="public"
  9007. deprecated="not deprecated">
  9008. <exception name="IOException" type="java.io.IOException"/>
  9009. <doc>
  9010. <![CDATA[Descrese the reference count of the volume.
  9011. @throws IOException it never throws IOException.]]>
  9012. </doc>
  9013. </method>
  9014. <method name="getVolume" return="org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeSpi"
  9015. abstract="true" native="false" synchronized="false"
  9016. static="false" final="false" visibility="public"
  9017. deprecated="not deprecated">
  9018. <doc>
  9019. <![CDATA[Returns the underlying volume object]]>
  9020. </doc>
  9021. </method>
  9022. <doc>
  9023. <![CDATA[This is the interface for holding reference count as AutoClosable resource.
  9024. It increases the reference count by one in the constructor, and decreases
  9025. the reference count by one in {@link #close()}.
  9026. <pre>
  9027. {@code
  9028. try (FsVolumeReference ref = volume.obtainReference()) {
  9029. // Do IOs on the volume
  9030. volume.createRwb(...);
  9031. ...
  9032. }
  9033. }
  9034. </pre>]]>
  9035. </doc>
  9036. </interface>
  9037. <!-- end interface org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeReference -->
  9038. <!-- start interface org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeSpi -->
  9039. <interface name="FsVolumeSpi" abstract="true"
  9040. static="false" final="false" visibility="public"
  9041. deprecated="not deprecated">
  9042. <method name="obtainReference" return="org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeReference"
  9043. abstract="true" native="false" synchronized="false"
  9044. static="false" final="false" visibility="public"
  9045. deprecated="not deprecated">
  9046. <exception name="ClosedChannelException" type="java.nio.channels.ClosedChannelException"/>
  9047. <doc>
  9048. <![CDATA[Obtain a reference object that had increased 1 reference count of the
  9049. volume.
  9050. It is caller's responsibility to close {@link FsVolumeReference} to decrease
  9051. the reference count on the volume.]]>
  9052. </doc>
  9053. </method>
  9054. <method name="getStorageID" return="java.lang.String"
  9055. abstract="true" native="false" synchronized="false"
  9056. static="false" final="false" visibility="public"
  9057. deprecated="not deprecated">
  9058. <doc>
  9059. <![CDATA[@return the StorageUuid of the volume]]>
  9060. </doc>
  9061. </method>
  9062. <method name="getBlockPoolList" return="java.lang.String[]"
  9063. abstract="true" native="false" synchronized="false"
  9064. static="false" final="false" visibility="public"
  9065. deprecated="not deprecated">
  9066. <doc>
  9067. <![CDATA[@return a list of block pools.]]>
  9068. </doc>
  9069. </method>
  9070. <method name="getAvailable" return="long"
  9071. abstract="true" native="false" synchronized="false"
  9072. static="false" final="false" visibility="public"
  9073. deprecated="not deprecated">
  9074. <exception name="IOException" type="java.io.IOException"/>
  9075. <doc>
  9076. <![CDATA[@return the available storage space in bytes.]]>
  9077. </doc>
  9078. </method>
  9079. <method name="getBasePath" return="java.lang.String"
  9080. abstract="true" native="false" synchronized="false"
  9081. static="false" final="false" visibility="public"
  9082. deprecated="not deprecated">
  9083. <doc>
  9084. <![CDATA[@return the base path to the volume]]>
  9085. </doc>
  9086. </method>
  9087. <method name="getPath" return="java.lang.String"
  9088. abstract="true" native="false" synchronized="false"
  9089. static="false" final="false" visibility="public"
  9090. deprecated="not deprecated">
  9091. <param name="bpid" type="java.lang.String"/>
  9092. <exception name="IOException" type="java.io.IOException"/>
  9093. <doc>
  9094. <![CDATA[@return the path to the volume]]>
  9095. </doc>
  9096. </method>
  9097. <method name="getFinalizedDir" return="java.io.File"
  9098. abstract="true" native="false" synchronized="false"
  9099. static="false" final="false" visibility="public"
  9100. deprecated="not deprecated">
  9101. <param name="bpid" type="java.lang.String"/>
  9102. <exception name="IOException" type="java.io.IOException"/>
  9103. <doc>
  9104. <![CDATA[@return the directory for the finalized blocks in the block pool.]]>
  9105. </doc>
  9106. </method>
  9107. <method name="getStorageType" return="org.apache.hadoop.fs.StorageType"
  9108. abstract="true" native="false" synchronized="false"
  9109. static="false" final="false" visibility="public"
  9110. deprecated="not deprecated">
  9111. </method>
  9112. <method name="reserveSpaceForRbw"
  9113. abstract="true" native="false" synchronized="false"
  9114. static="false" final="false" visibility="public"
  9115. deprecated="not deprecated">
  9116. <param name="bytesToReserve" type="long"/>
  9117. <doc>
  9118. <![CDATA[Reserve disk space for an RBW block so a writer does not run out of
  9119. space before the block is full.]]>
  9120. </doc>
  9121. </method>
  9122. <method name="releaseReservedSpace"
  9123. abstract="true" native="false" synchronized="false"
  9124. static="false" final="false" visibility="public"
  9125. deprecated="not deprecated">
  9126. <param name="bytesToRelease" type="long"/>
  9127. <doc>
  9128. <![CDATA[Release disk space previously reserved for RBW block.]]>
  9129. </doc>
  9130. </method>
  9131. <method name="isTransientStorage" return="boolean"
  9132. abstract="true" native="false" synchronized="false"
  9133. static="false" final="false" visibility="public"
  9134. deprecated="not deprecated">
  9135. <doc>
  9136. <![CDATA[Returns true if the volume is NOT backed by persistent storage.]]>
  9137. </doc>
  9138. </method>
  9139. <method name="newBlockIterator" return="org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeSpi.BlockIterator"
  9140. abstract="true" native="false" synchronized="false"
  9141. static="false" final="false" visibility="public"
  9142. deprecated="not deprecated">
  9143. <param name="bpid" type="java.lang.String"/>
  9144. <param name="name" type="java.lang.String"/>
  9145. <doc>
  9146. <![CDATA[Create a new block iterator. It will start at the beginning of the
  9147. block set.
  9148. @param bpid The block pool id to iterate over.
  9149. @param name The name of the block iterator to create.
  9150. @return The new block iterator.]]>
  9151. </doc>
  9152. </method>
  9153. <method name="loadBlockIterator" return="org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeSpi.BlockIterator"
  9154. abstract="true" native="false" synchronized="false"
  9155. static="false" final="false" visibility="public"
  9156. deprecated="not deprecated">
  9157. <param name="bpid" type="java.lang.String"/>
  9158. <param name="name" type="java.lang.String"/>
  9159. <exception name="IOException" type="java.io.IOException"/>
  9160. <doc>
  9161. <![CDATA[Load a saved block iterator.
  9162. @param bpid The block pool id to iterate over.
  9163. @param name The name of the block iterator to load.
  9164. @return The saved block iterator.
  9165. @throws IOException If there was an IO error loading the saved
  9166. block iterator.]]>
  9167. </doc>
  9168. </method>
  9169. <method name="getDataset" return="org.apache.hadoop.hdfs.server.datanode.fsdataset.FsDatasetSpi"
  9170. abstract="true" native="false" synchronized="false"
  9171. static="false" final="false" visibility="public"
  9172. deprecated="not deprecated">
  9173. <doc>
  9174. <![CDATA[Get the FSDatasetSpi which this volume is a part of.]]>
  9175. </doc>
  9176. </method>
  9177. <doc>
  9178. <![CDATA[This is an interface for the underlying volume.]]>
  9179. </doc>
  9180. </interface>
  9181. <!-- end interface org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeSpi -->
  9182. <!-- start interface org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeSpi.BlockIterator -->
  9183. <interface name="FsVolumeSpi.BlockIterator" abstract="true"
  9184. static="true" final="false" visibility="public"
  9185. deprecated="not deprecated">
  9186. <implements name="java.io.Closeable"/>
  9187. <method name="nextBlock" return="org.apache.hadoop.hdfs.protocol.ExtendedBlock"
  9188. abstract="true" native="false" synchronized="false"
  9189. static="false" final="false" visibility="public"
  9190. deprecated="not deprecated">
  9191. <exception name="IOException" type="java.io.IOException"/>
  9192. <doc>
  9193. <![CDATA[Get the next block.<p/>
  9194. Note that this block may be removed in between the time we list it,
  9195. and the time the caller tries to use it, or it may represent a stale
  9196. entry. Callers should handle the case where the returned block no
  9197. longer exists.
  9198. @return The next block, or null if there are no
  9199. more blocks. Null if there was an error
  9200. determining the next block.
  9201. @throws IOException If there was an error getting the next block in
  9202. this volume. In this case, EOF will be set on
  9203. the iterator.]]>
  9204. </doc>
  9205. </method>
  9206. <method name="atEnd" return="boolean"
  9207. abstract="true" native="false" synchronized="false"
  9208. static="false" final="false" visibility="public"
  9209. deprecated="not deprecated">
  9210. <doc>
  9211. <![CDATA[Returns true if we got to the end of the block pool.]]>
  9212. </doc>
  9213. </method>
  9214. <method name="rewind"
  9215. abstract="true" native="false" synchronized="false"
  9216. static="false" final="false" visibility="public"
  9217. deprecated="not deprecated">
  9218. <doc>
  9219. <![CDATA[Repositions the iterator at the beginning of the block pool.]]>
  9220. </doc>
  9221. </method>
  9222. <method name="save"
  9223. abstract="true" native="false" synchronized="false"
  9224. static="false" final="false" visibility="public"
  9225. deprecated="not deprecated">
  9226. <exception name="IOException" type="java.io.IOException"/>
  9227. <doc>
  9228. <![CDATA[Save this block iterator to the underlying volume.
  9229. Any existing saved block iterator with this name will be overwritten.
  9230. maxStalenessMs will not be saved.
  9231. @throws IOException If there was an error when saving the block
  9232. iterator.]]>
  9233. </doc>
  9234. </method>
  9235. <method name="setMaxStalenessMs"
  9236. abstract="true" native="false" synchronized="false"
  9237. static="false" final="false" visibility="public"
  9238. deprecated="not deprecated">
  9239. <param name="maxStalenessMs" type="long"/>
  9240. <doc>
  9241. <![CDATA[Set the maximum staleness of entries that we will return.<p/>
  9242. A maximum staleness of 0 means we will never return stale entries; a
  9243. larger value will allow us to reduce resource consumption in exchange
  9244. for returning more potentially stale entries. Even with staleness set
  9245. to 0, consumers of this API must handle race conditions where block
  9246. disappear before they can be processed.]]>
  9247. </doc>
  9248. </method>
  9249. <method name="getIterStartMs" return="long"
  9250. abstract="true" native="false" synchronized="false"
  9251. static="false" final="false" visibility="public"
  9252. deprecated="not deprecated">
  9253. <doc>
  9254. <![CDATA[Get the wall-clock time, measured in milliseconds since the Epoch,
  9255. when this iterator was created.]]>
  9256. </doc>
  9257. </method>
  9258. <method name="getLastSavedMs" return="long"
  9259. abstract="true" native="false" synchronized="false"
  9260. static="false" final="false" visibility="public"
  9261. deprecated="not deprecated">
  9262. <doc>
  9263. <![CDATA[Get the wall-clock time, measured in milliseconds since the Epoch,
  9264. when this iterator was last saved. Returns iterStartMs if the
  9265. iterator was never saved.]]>
  9266. </doc>
  9267. </method>
  9268. <method name="getBlockPoolId" return="java.lang.String"
  9269. abstract="true" native="false" synchronized="false"
  9270. static="false" final="false" visibility="public"
  9271. deprecated="not deprecated">
  9272. <doc>
  9273. <![CDATA[Get the id of the block pool which this iterator traverses.]]>
  9274. </doc>
  9275. </method>
  9276. <doc>
  9277. <![CDATA[BlockIterator will return ExtendedBlock entries from a block pool in
  9278. this volume. The entries will be returned in sorted order.<p/>
  9279. BlockIterator objects themselves do not always have internal
  9280. synchronization, so they can only safely be used by a single thread at a
  9281. time.<p/>
  9282. Closing the iterator does not save it. You must call save to save it.]]>
  9283. </doc>
  9284. </interface>
  9285. <!-- end interface org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeSpi.BlockIterator -->
  9286. <!-- start class org.apache.hadoop.hdfs.server.datanode.fsdataset.LengthInputStream -->
  9287. <class name="LengthInputStream" extends="java.io.FilterInputStream"
  9288. abstract="false"
  9289. static="false" final="false" visibility="public"
  9290. deprecated="not deprecated">
  9291. <constructor name="LengthInputStream" type="java.io.InputStream, long"
  9292. static="false" final="false" visibility="public"
  9293. deprecated="not deprecated">
  9294. <doc>
  9295. <![CDATA[Create an stream.
  9296. @param in the underlying input stream.
  9297. @param length the length of the stream.]]>
  9298. </doc>
  9299. </constructor>
  9300. <method name="getLength" return="long"
  9301. abstract="false" native="false" synchronized="false"
  9302. static="false" final="false" visibility="public"
  9303. deprecated="not deprecated">
  9304. <doc>
  9305. <![CDATA[@return the length.]]>
  9306. </doc>
  9307. </method>
  9308. <method name="getWrappedStream" return="java.io.InputStream"
  9309. abstract="false" native="false" synchronized="false"
  9310. static="false" final="false" visibility="public"
  9311. deprecated="not deprecated">
  9312. </method>
  9313. <doc>
  9314. <![CDATA[An input stream with length.]]>
  9315. </doc>
  9316. </class>
  9317. <!-- end class org.apache.hadoop.hdfs.server.datanode.fsdataset.LengthInputStream -->
  9318. <!-- start class org.apache.hadoop.hdfs.server.datanode.fsdataset.ReplicaInputStreams -->
  9319. <class name="ReplicaInputStreams" extends="java.lang.Object"
  9320. abstract="false"
  9321. static="false" final="false" visibility="public"
  9322. deprecated="not deprecated">
  9323. <implements name="java.io.Closeable"/>
  9324. <constructor name="ReplicaInputStreams" type="java.io.InputStream, java.io.InputStream, org.apache.hadoop.hdfs.server.datanode.fsdataset.FsVolumeReference"
  9325. static="false" final="false" visibility="public"
  9326. deprecated="not deprecated">
  9327. <doc>
  9328. <![CDATA[Create an object with a data input stream and a checksum input stream.]]>
  9329. </doc>
  9330. </constructor>
  9331. <method name="getDataIn" return="java.io.InputStream"
  9332. abstract="false" native="false" synchronized="false"
  9333. static="false" final="false" visibility="public"
  9334. deprecated="not deprecated">
  9335. <doc>
  9336. <![CDATA[@return the data input stream.]]>
  9337. </doc>
  9338. </method>
  9339. <method name="getChecksumIn" return="java.io.InputStream"
  9340. abstract="false" native="false" synchronized="false"
  9341. static="false" final="false" visibility="public"
  9342. deprecated="not deprecated">
  9343. <doc>
  9344. <![CDATA[@return the checksum input stream.]]>
  9345. </doc>
  9346. </method>
  9347. <method name="close"
  9348. abstract="false" native="false" synchronized="false"
  9349. static="false" final="false" visibility="public"
  9350. deprecated="not deprecated">
  9351. </method>
  9352. <doc>
  9353. <![CDATA[Contains the input streams for the data and checksum of a replica.]]>
  9354. </doc>
  9355. </class>
  9356. <!-- end class org.apache.hadoop.hdfs.server.datanode.fsdataset.ReplicaInputStreams -->
  9357. <!-- start class org.apache.hadoop.hdfs.server.datanode.fsdataset.ReplicaOutputStreams -->
  9358. <class name="ReplicaOutputStreams" extends="java.lang.Object"
  9359. abstract="false"
  9360. static="false" final="false" visibility="public"
  9361. deprecated="not deprecated">
  9362. <implements name="java.io.Closeable"/>
  9363. <constructor name="ReplicaOutputStreams" type="java.io.OutputStream, java.io.OutputStream, org.apache.hadoop.util.DataChecksum, boolean"
  9364. static="false" final="false" visibility="public"
  9365. deprecated="not deprecated">
  9366. <doc>
  9367. <![CDATA[Create an object with a data output stream, a checksum output stream
  9368. and a checksum.]]>
  9369. </doc>
  9370. </constructor>
  9371. <method name="getDataOut" return="java.io.OutputStream"
  9372. abstract="false" native="false" synchronized="false"
  9373. static="false" final="false" visibility="public"
  9374. deprecated="not deprecated">
  9375. <doc>
  9376. <![CDATA[@return the data output stream.]]>
  9377. </doc>
  9378. </method>
  9379. <method name="getChecksumOut" return="java.io.OutputStream"
  9380. abstract="false" native="false" synchronized="false"
  9381. static="false" final="false" visibility="public"
  9382. deprecated="not deprecated">
  9383. <doc>
  9384. <![CDATA[@return the checksum output stream.]]>
  9385. </doc>
  9386. </method>
  9387. <method name="getChecksum" return="org.apache.hadoop.util.DataChecksum"
  9388. abstract="false" native="false" synchronized="false"
  9389. static="false" final="false" visibility="public"
  9390. deprecated="not deprecated">
  9391. <doc>
  9392. <![CDATA[@return the checksum.]]>
  9393. </doc>
  9394. </method>
  9395. <method name="isTransientStorage" return="boolean"
  9396. abstract="false" native="false" synchronized="false"
  9397. static="false" final="false" visibility="public"
  9398. deprecated="not deprecated">
  9399. <doc>
  9400. <![CDATA[@return is writing to a transient storage?]]>
  9401. </doc>
  9402. </method>
  9403. <method name="close"
  9404. abstract="false" native="false" synchronized="false"
  9405. static="false" final="false" visibility="public"
  9406. deprecated="not deprecated">
  9407. </method>
  9408. <method name="syncDataOut"
  9409. abstract="false" native="false" synchronized="false"
  9410. static="false" final="false" visibility="public"
  9411. deprecated="not deprecated">
  9412. <exception name="IOException" type="java.io.IOException"/>
  9413. <doc>
  9414. <![CDATA[Sync the data stream if it supports it.]]>
  9415. </doc>
  9416. </method>
  9417. <method name="syncChecksumOut"
  9418. abstract="false" native="false" synchronized="false"
  9419. static="false" final="false" visibility="public"
  9420. deprecated="not deprecated">
  9421. <exception name="IOException" type="java.io.IOException"/>
  9422. <doc>
  9423. <![CDATA[Sync the checksum stream if it supports it.]]>
  9424. </doc>
  9425. </method>
  9426. <doc>
  9427. <![CDATA[Contains the output streams for the data and checksum of a replica.]]>
  9428. </doc>
  9429. </class>
  9430. <!-- end class org.apache.hadoop.hdfs.server.datanode.fsdataset.ReplicaOutputStreams -->
  9431. <!-- start class org.apache.hadoop.hdfs.server.datanode.fsdataset.RoundRobinVolumeChoosingPolicy -->
  9432. <class name="RoundRobinVolumeChoosingPolicy" extends="java.lang.Object"
  9433. abstract="false"
  9434. static="false" final="false" visibility="public"
  9435. deprecated="not deprecated">
  9436. <implements name="org.apache.hadoop.hdfs.server.datanode.fsdataset.VolumeChoosingPolicy"/>
  9437. <constructor name="RoundRobinVolumeChoosingPolicy"
  9438. static="false" final="false" visibility="public"
  9439. deprecated="not deprecated">
  9440. </constructor>
  9441. <method name="chooseVolume" return="V"
  9442. abstract="false" native="false" synchronized="true"
  9443. static="false" final="false" visibility="public"
  9444. deprecated="not deprecated">
  9445. <param name="volumes" type="java.util.List"/>
  9446. <param name="blockSize" type="long"/>
  9447. <exception name="IOException" type="java.io.IOException"/>
  9448. </method>
  9449. <field name="LOG" type="org.apache.commons.logging.Log"
  9450. transient="false" volatile="false"
  9451. static="true" final="true" visibility="public"
  9452. deprecated="not deprecated">
  9453. </field>
  9454. <doc>
  9455. <![CDATA[Choose volumes in round-robin order.]]>
  9456. </doc>
  9457. </class>
  9458. <!-- end class org.apache.hadoop.hdfs.server.datanode.fsdataset.RoundRobinVolumeChoosingPolicy -->
  9459. </package>
  9460. <package name="org.apache.hadoop.hdfs.server.datanode.fsdataset.impl">
  9461. <!-- start class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetCache.PageRounder -->
  9462. <class name="FsDatasetCache.PageRounder" extends="java.lang.Object"
  9463. abstract="false"
  9464. static="true" final="false" visibility="public"
  9465. deprecated="not deprecated">
  9466. <constructor name="PageRounder"
  9467. static="false" final="false" visibility="public"
  9468. deprecated="not deprecated">
  9469. </constructor>
  9470. <method name="round" return="long"
  9471. abstract="false" native="false" synchronized="false"
  9472. static="false" final="false" visibility="public"
  9473. deprecated="not deprecated">
  9474. <param name="count" type="long"/>
  9475. <doc>
  9476. <![CDATA[Round up a number to the operating system page size.]]>
  9477. </doc>
  9478. </method>
  9479. </class>
  9480. <!-- end class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetCache.PageRounder -->
  9481. <!-- start class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetFactory -->
  9482. <class name="FsDatasetFactory" extends="org.apache.hadoop.hdfs.server.datanode.fsdataset.FsDatasetSpi.Factory"
  9483. abstract="false"
  9484. static="false" final="false" visibility="public"
  9485. deprecated="not deprecated">
  9486. <constructor name="FsDatasetFactory"
  9487. static="false" final="false" visibility="public"
  9488. deprecated="not deprecated">
  9489. </constructor>
  9490. <method name="newInstance" return="org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetImpl"
  9491. abstract="false" native="false" synchronized="false"
  9492. static="false" final="false" visibility="public"
  9493. deprecated="not deprecated">
  9494. <param name="datanode" type="org.apache.hadoop.hdfs.server.datanode.DataNode"/>
  9495. <param name="storage" type="org.apache.hadoop.hdfs.server.datanode.DataStorage"/>
  9496. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  9497. <exception name="IOException" type="java.io.IOException"/>
  9498. </method>
  9499. <doc>
  9500. <![CDATA[A factory for creating {@link FsDatasetImpl} objects.]]>
  9501. </doc>
  9502. </class>
  9503. <!-- end class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetFactory -->
  9504. </package>
  9505. <package name="org.apache.hadoop.hdfs.server.datanode.metrics">
  9506. </package>
  9507. <package name="org.apache.hadoop.hdfs.server.datanode.web">
  9508. <!-- start class org.apache.hadoop.hdfs.server.datanode.web.DatanodeHttpServer -->
  9509. <class name="DatanodeHttpServer" extends="java.lang.Object"
  9510. abstract="false"
  9511. static="false" final="false" visibility="public"
  9512. deprecated="not deprecated">
  9513. <implements name="java.io.Closeable"/>
  9514. <constructor name="DatanodeHttpServer" type="org.apache.hadoop.conf.Configuration, org.apache.hadoop.hdfs.server.datanode.DataNode, java.nio.channels.ServerSocketChannel"
  9515. static="false" final="false" visibility="public"
  9516. deprecated="not deprecated">
  9517. <exception name="IOException" type="java.io.IOException"/>
  9518. </constructor>
  9519. <method name="getHttpAddress" return="java.net.InetSocketAddress"
  9520. abstract="false" native="false" synchronized="false"
  9521. static="false" final="false" visibility="public"
  9522. deprecated="not deprecated">
  9523. </method>
  9524. <method name="getHttpsAddress" return="java.net.InetSocketAddress"
  9525. abstract="false" native="false" synchronized="false"
  9526. static="false" final="false" visibility="public"
  9527. deprecated="not deprecated">
  9528. </method>
  9529. <method name="start"
  9530. abstract="false" native="false" synchronized="false"
  9531. static="false" final="false" visibility="public"
  9532. deprecated="not deprecated">
  9533. </method>
  9534. <method name="close"
  9535. abstract="false" native="false" synchronized="false"
  9536. static="false" final="false" visibility="public"
  9537. deprecated="not deprecated">
  9538. <exception name="IOException" type="java.io.IOException"/>
  9539. </method>
  9540. </class>
  9541. <!-- end class org.apache.hadoop.hdfs.server.datanode.web.DatanodeHttpServer -->
  9542. </package>
  9543. <package name="org.apache.hadoop.hdfs.server.datanode.web.webhdfs">
  9544. <!-- start class org.apache.hadoop.hdfs.server.datanode.web.webhdfs.WebHdfsHandler -->
  9545. <class name="WebHdfsHandler" extends="io.netty.channel.SimpleChannelInboundHandler"
  9546. abstract="false"
  9547. static="false" final="false" visibility="public"
  9548. deprecated="not deprecated">
  9549. <constructor name="WebHdfsHandler" type="org.apache.hadoop.conf.Configuration, org.apache.hadoop.conf.Configuration"
  9550. static="false" final="false" visibility="public"
  9551. deprecated="not deprecated">
  9552. <exception name="IOException" type="java.io.IOException"/>
  9553. </constructor>
  9554. <method name="channelRead0"
  9555. abstract="false" native="false" synchronized="false"
  9556. static="false" final="false" visibility="public"
  9557. deprecated="not deprecated">
  9558. <param name="ctx" type="io.netty.channel.ChannelHandlerContext"/>
  9559. <param name="req" type="io.netty.handler.codec.http.HttpRequest"/>
  9560. <exception name="Exception" type="java.lang.Exception"/>
  9561. </method>
  9562. <method name="handle"
  9563. abstract="false" native="false" synchronized="false"
  9564. static="false" final="false" visibility="public"
  9565. deprecated="not deprecated">
  9566. <param name="ctx" type="io.netty.channel.ChannelHandlerContext"/>
  9567. <param name="req" type="io.netty.handler.codec.http.HttpRequest"/>
  9568. <exception name="IOException" type="java.io.IOException"/>
  9569. <exception name="URISyntaxException" type="java.net.URISyntaxException"/>
  9570. </method>
  9571. <method name="exceptionCaught"
  9572. abstract="false" native="false" synchronized="false"
  9573. static="false" final="false" visibility="public"
  9574. deprecated="not deprecated">
  9575. <param name="ctx" type="io.netty.channel.ChannelHandlerContext"/>
  9576. <param name="cause" type="java.lang.Throwable"/>
  9577. </method>
  9578. <field name="WEBHDFS_PREFIX" type="java.lang.String"
  9579. transient="false" volatile="false"
  9580. static="true" final="true" visibility="public"
  9581. deprecated="not deprecated">
  9582. </field>
  9583. <field name="WEBHDFS_PREFIX_LENGTH" type="int"
  9584. transient="false" volatile="false"
  9585. static="true" final="true" visibility="public"
  9586. deprecated="not deprecated">
  9587. </field>
  9588. <field name="APPLICATION_OCTET_STREAM" type="java.lang.String"
  9589. transient="false" volatile="false"
  9590. static="true" final="true" visibility="public"
  9591. deprecated="not deprecated">
  9592. </field>
  9593. <field name="APPLICATION_JSON_UTF8" type="java.lang.String"
  9594. transient="false" volatile="false"
  9595. static="true" final="true" visibility="public"
  9596. deprecated="not deprecated">
  9597. </field>
  9598. </class>
  9599. <!-- end class org.apache.hadoop.hdfs.server.datanode.web.webhdfs.WebHdfsHandler -->
  9600. </package>
  9601. <package name="org.apache.hadoop.hdfs.server.mover">
  9602. </package>
  9603. <package name="org.apache.hadoop.hdfs.server.namenode">
  9604. <!-- start class org.apache.hadoop.hdfs.server.namenode.AclEntryStatusFormat -->
  9605. <class name="AclEntryStatusFormat" extends="java.lang.Enum"
  9606. abstract="false"
  9607. static="false" final="true" visibility="public"
  9608. deprecated="not deprecated">
  9609. <method name="values" return="org.apache.hadoop.hdfs.server.namenode.AclEntryStatusFormat[]"
  9610. abstract="false" native="false" synchronized="false"
  9611. static="true" final="false" visibility="public"
  9612. deprecated="not deprecated">
  9613. </method>
  9614. <method name="valueOf" return="org.apache.hadoop.hdfs.server.namenode.AclEntryStatusFormat"
  9615. abstract="false" native="false" synchronized="false"
  9616. static="true" final="false" visibility="public"
  9617. deprecated="not deprecated">
  9618. <param name="name" type="java.lang.String"/>
  9619. </method>
  9620. <method name="toInt" return="int[]"
  9621. abstract="false" native="false" synchronized="false"
  9622. static="true" final="false" visibility="public"
  9623. deprecated="not deprecated">
  9624. <param name="aclEntries" type="java.util.List"/>
  9625. </method>
  9626. <method name="toAclEntries" return="com.google.common.collect.ImmutableList"
  9627. abstract="false" native="false" synchronized="false"
  9628. static="true" final="false" visibility="public"
  9629. deprecated="not deprecated">
  9630. <param name="entries" type="int[]"/>
  9631. </method>
  9632. <doc>
  9633. <![CDATA[Class to pack an AclEntry into an integer. <br>
  9634. An ACL entry is represented by a 32-bit integer in Big Endian format. <br>
  9635. The bits can be divided in four segments: <br>
  9636. [0:1) || [1:3) || [3:6) || [6:7) || [7:32) <br>
  9637. <br>
  9638. [0:1) -- the scope of the entry (AclEntryScope) <br>
  9639. [1:3) -- the type of the entry (AclEntryType) <br>
  9640. [3:6) -- the permission of the entry (FsAction) <br>
  9641. [6:7) -- A flag to indicate whether Named entry or not <br>
  9642. [7:32) -- the name of the entry, which is an ID that points to a <br>
  9643. string in the StringTableSection. <br>]]>
  9644. </doc>
  9645. </class>
  9646. <!-- end class org.apache.hadoop.hdfs.server.namenode.AclEntryStatusFormat -->
  9647. <!-- start interface org.apache.hadoop.hdfs.server.namenode.AuditLogger -->
  9648. <interface name="AuditLogger" abstract="true"
  9649. static="false" final="false" visibility="public"
  9650. deprecated="not deprecated">
  9651. <method name="initialize"
  9652. abstract="true" native="false" synchronized="false"
  9653. static="false" final="false" visibility="public"
  9654. deprecated="not deprecated">
  9655. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  9656. <doc>
  9657. <![CDATA[Called during initialization of the logger.
  9658. @param conf The configuration object.]]>
  9659. </doc>
  9660. </method>
  9661. <method name="logAuditEvent"
  9662. abstract="true" native="false" synchronized="false"
  9663. static="false" final="false" visibility="public"
  9664. deprecated="not deprecated">
  9665. <param name="succeeded" type="boolean"/>
  9666. <param name="userName" type="java.lang.String"/>
  9667. <param name="addr" type="java.net.InetAddress"/>
  9668. <param name="cmd" type="java.lang.String"/>
  9669. <param name="src" type="java.lang.String"/>
  9670. <param name="dst" type="java.lang.String"/>
  9671. <param name="stat" type="org.apache.hadoop.fs.FileStatus"/>
  9672. <doc>
  9673. <![CDATA[Called to log an audit event.
  9674. <p>
  9675. This method must return as quickly as possible, since it's called
  9676. in a critical section of the NameNode's operation.
  9677. @param succeeded Whether authorization succeeded.
  9678. @param userName Name of the user executing the request.
  9679. @param addr Remote address of the request.
  9680. @param cmd The requested command.
  9681. @param src Path of affected source file.
  9682. @param dst Path of affected destination file (if any).
  9683. @param stat File information for operations that change the file's
  9684. metadata (permissions, owner, times, etc).]]>
  9685. </doc>
  9686. </method>
  9687. <doc>
  9688. <![CDATA[Interface defining an audit logger.]]>
  9689. </doc>
  9690. </interface>
  9691. <!-- end interface org.apache.hadoop.hdfs.server.namenode.AuditLogger -->
  9692. <!-- start class org.apache.hadoop.hdfs.server.namenode.CacheManager.PersistState -->
  9693. <class name="CacheManager.PersistState" extends="java.lang.Object"
  9694. abstract="false"
  9695. static="true" final="true" visibility="public"
  9696. deprecated="not deprecated">
  9697. <constructor name="PersistState" type="org.apache.hadoop.hdfs.server.namenode.FsImageProto.CacheManagerSection, java.util.List, java.util.List"
  9698. static="false" final="false" visibility="public"
  9699. deprecated="not deprecated">
  9700. </constructor>
  9701. <field name="section" type="org.apache.hadoop.hdfs.server.namenode.FsImageProto.CacheManagerSection"
  9702. transient="false" volatile="false"
  9703. static="false" final="true" visibility="public"
  9704. deprecated="not deprecated">
  9705. </field>
  9706. <field name="pools" type="java.util.List"
  9707. transient="false" volatile="false"
  9708. static="false" final="true" visibility="public"
  9709. deprecated="not deprecated">
  9710. </field>
  9711. <field name="directives" type="java.util.List"
  9712. transient="false" volatile="false"
  9713. static="false" final="true" visibility="public"
  9714. deprecated="not deprecated">
  9715. </field>
  9716. </class>
  9717. <!-- end class org.apache.hadoop.hdfs.server.namenode.CacheManager.PersistState -->
  9718. <!-- start class org.apache.hadoop.hdfs.server.namenode.CachePool.DirectiveList -->
  9719. <class name="CachePool.DirectiveList" extends="org.apache.hadoop.util.IntrusiveCollection"
  9720. abstract="false"
  9721. static="true" final="true" visibility="public"
  9722. deprecated="not deprecated">
  9723. <method name="getCachePool" return="org.apache.hadoop.hdfs.server.namenode.CachePool"
  9724. abstract="false" native="false" synchronized="false"
  9725. static="false" final="false" visibility="public"
  9726. deprecated="not deprecated">
  9727. </method>
  9728. </class>
  9729. <!-- end class org.apache.hadoop.hdfs.server.namenode.CachePool.DirectiveList -->
  9730. <!-- start class org.apache.hadoop.hdfs.server.namenode.CancelDelegationTokenServlet -->
  9731. <class name="CancelDelegationTokenServlet" extends="org.apache.hadoop.hdfs.server.namenode.DfsServlet"
  9732. abstract="false"
  9733. static="false" final="false" visibility="public"
  9734. deprecated="not deprecated">
  9735. <constructor name="CancelDelegationTokenServlet"
  9736. static="false" final="false" visibility="public"
  9737. deprecated="not deprecated">
  9738. </constructor>
  9739. <method name="doGet"
  9740. abstract="false" native="false" synchronized="false"
  9741. static="false" final="false" visibility="protected"
  9742. deprecated="not deprecated">
  9743. <param name="req" type="javax.servlet.http.HttpServletRequest"/>
  9744. <param name="resp" type="javax.servlet.http.HttpServletResponse"/>
  9745. <exception name="ServletException" type="javax.servlet.ServletException"/>
  9746. <exception name="IOException" type="java.io.IOException"/>
  9747. </method>
  9748. <field name="PATH_SPEC" type="java.lang.String"
  9749. transient="false" volatile="false"
  9750. static="true" final="true" visibility="public"
  9751. deprecated="not deprecated">
  9752. </field>
  9753. <field name="TOKEN" type="java.lang.String"
  9754. transient="false" volatile="false"
  9755. static="true" final="true" visibility="public"
  9756. deprecated="not deprecated">
  9757. </field>
  9758. <doc>
  9759. <![CDATA[Cancel delegation tokens over http for use in hftp.]]>
  9760. </doc>
  9761. </class>
  9762. <!-- end class org.apache.hadoop.hdfs.server.namenode.CancelDelegationTokenServlet -->
  9763. <!-- start class org.apache.hadoop.hdfs.server.namenode.Content -->
  9764. <class name="Content" extends="java.lang.Enum"
  9765. abstract="false"
  9766. static="false" final="true" visibility="public"
  9767. deprecated="not deprecated">
  9768. <method name="values" return="org.apache.hadoop.hdfs.server.namenode.Content[]"
  9769. abstract="false" native="false" synchronized="false"
  9770. static="true" final="false" visibility="public"
  9771. deprecated="not deprecated">
  9772. </method>
  9773. <method name="valueOf" return="org.apache.hadoop.hdfs.server.namenode.Content"
  9774. abstract="false" native="false" synchronized="false"
  9775. static="true" final="false" visibility="public"
  9776. deprecated="not deprecated">
  9777. <param name="name" type="java.lang.String"/>
  9778. </method>
  9779. <doc>
  9780. <![CDATA[The content types such as file, directory and symlink to be computed.]]>
  9781. </doc>
  9782. </class>
  9783. <!-- end class org.apache.hadoop.hdfs.server.namenode.Content -->
  9784. <!-- start class org.apache.hadoop.hdfs.server.namenode.Content.Counts -->
  9785. <class name="Content.Counts" extends="org.apache.hadoop.hdfs.util.EnumCounters"
  9786. abstract="false"
  9787. static="true" final="false" visibility="public"
  9788. deprecated="not deprecated">
  9789. <method name="newInstance" return="org.apache.hadoop.hdfs.server.namenode.Content.Counts"
  9790. abstract="false" native="false" synchronized="false"
  9791. static="true" final="false" visibility="public"
  9792. deprecated="not deprecated">
  9793. </method>
  9794. <doc>
  9795. <![CDATA[Content counts.]]>
  9796. </doc>
  9797. </class>
  9798. <!-- end class org.apache.hadoop.hdfs.server.namenode.Content.Counts -->
  9799. <!-- start class org.apache.hadoop.hdfs.server.namenode.Content.CountsMap -->
  9800. <class name="Content.CountsMap" extends="org.apache.hadoop.hdfs.util.EnumCounters.Map"
  9801. abstract="false"
  9802. static="true" final="false" visibility="public"
  9803. deprecated="not deprecated">
  9804. <doc>
  9805. <![CDATA[A map of counters for the current state and the snapshots.]]>
  9806. </doc>
  9807. </class>
  9808. <!-- end class org.apache.hadoop.hdfs.server.namenode.Content.CountsMap -->
  9809. <!-- start class org.apache.hadoop.hdfs.server.namenode.Content.CountsMap.Key -->
  9810. <class name="Content.CountsMap.Key" extends="java.lang.Enum"
  9811. abstract="false"
  9812. static="true" final="true" visibility="public"
  9813. deprecated="not deprecated">
  9814. <method name="values" return="org.apache.hadoop.hdfs.server.namenode.Content.CountsMap.Key[]"
  9815. abstract="false" native="false" synchronized="false"
  9816. static="true" final="false" visibility="public"
  9817. deprecated="not deprecated">
  9818. </method>
  9819. <method name="valueOf" return="org.apache.hadoop.hdfs.server.namenode.Content.CountsMap.Key"
  9820. abstract="false" native="false" synchronized="false"
  9821. static="true" final="false" visibility="public"
  9822. deprecated="not deprecated">
  9823. <param name="name" type="java.lang.String"/>
  9824. </method>
  9825. <doc>
  9826. <![CDATA[The key type of the map.]]>
  9827. </doc>
  9828. </class>
  9829. <!-- end class org.apache.hadoop.hdfs.server.namenode.Content.CountsMap.Key -->
  9830. <!-- start class org.apache.hadoop.hdfs.server.namenode.ContentCounts -->
  9831. <class name="ContentCounts" extends="java.lang.Object"
  9832. abstract="false"
  9833. static="false" final="false" visibility="public"
  9834. deprecated="not deprecated">
  9835. <method name="getFileCount" return="long"
  9836. abstract="false" native="false" synchronized="false"
  9837. static="false" final="false" visibility="public"
  9838. deprecated="not deprecated">
  9839. </method>
  9840. <method name="getDirectoryCount" return="long"
  9841. abstract="false" native="false" synchronized="false"
  9842. static="false" final="false" visibility="public"
  9843. deprecated="not deprecated">
  9844. </method>
  9845. <method name="getSymlinkCount" return="long"
  9846. abstract="false" native="false" synchronized="false"
  9847. static="false" final="false" visibility="public"
  9848. deprecated="not deprecated">
  9849. </method>
  9850. <method name="getLength" return="long"
  9851. abstract="false" native="false" synchronized="false"
  9852. static="false" final="false" visibility="public"
  9853. deprecated="not deprecated">
  9854. </method>
  9855. <method name="getStoragespace" return="long"
  9856. abstract="false" native="false" synchronized="false"
  9857. static="false" final="false" visibility="public"
  9858. deprecated="not deprecated">
  9859. </method>
  9860. <method name="getSnapshotCount" return="long"
  9861. abstract="false" native="false" synchronized="false"
  9862. static="false" final="false" visibility="public"
  9863. deprecated="not deprecated">
  9864. </method>
  9865. <method name="getSnapshotableDirectoryCount" return="long"
  9866. abstract="false" native="false" synchronized="false"
  9867. static="false" final="false" visibility="public"
  9868. deprecated="not deprecated">
  9869. </method>
  9870. <method name="getTypeSpaces" return="long[]"
  9871. abstract="false" native="false" synchronized="false"
  9872. static="false" final="false" visibility="public"
  9873. deprecated="not deprecated">
  9874. </method>
  9875. <method name="getTypeSpace" return="long"
  9876. abstract="false" native="false" synchronized="false"
  9877. static="false" final="false" visibility="public"
  9878. deprecated="not deprecated">
  9879. <param name="t" type="org.apache.hadoop.fs.StorageType"/>
  9880. </method>
  9881. <method name="addContent"
  9882. abstract="false" native="false" synchronized="false"
  9883. static="false" final="false" visibility="public"
  9884. deprecated="not deprecated">
  9885. <param name="c" type="org.apache.hadoop.hdfs.server.namenode.Content"/>
  9886. <param name="val" type="long"/>
  9887. </method>
  9888. <method name="addContents"
  9889. abstract="false" native="false" synchronized="false"
  9890. static="false" final="false" visibility="public"
  9891. deprecated="not deprecated">
  9892. <param name="that" type="org.apache.hadoop.hdfs.server.namenode.ContentCounts"/>
  9893. </method>
  9894. <method name="addTypeSpace"
  9895. abstract="false" native="false" synchronized="false"
  9896. static="false" final="false" visibility="public"
  9897. deprecated="not deprecated">
  9898. <param name="t" type="org.apache.hadoop.fs.StorageType"/>
  9899. <param name="val" type="long"/>
  9900. </method>
  9901. <method name="addTypeSpaces"
  9902. abstract="false" native="false" synchronized="false"
  9903. static="false" final="false" visibility="public"
  9904. deprecated="not deprecated">
  9905. <param name="that" type="org.apache.hadoop.hdfs.util.EnumCounters"/>
  9906. </method>
  9907. <doc>
  9908. <![CDATA[The counter to be computed for content types such as file, directory and symlink,
  9909. and the storage type usage such as SSD, DISK, ARCHIVE.]]>
  9910. </doc>
  9911. </class>
  9912. <!-- end class org.apache.hadoop.hdfs.server.namenode.ContentCounts -->
  9913. <!-- start class org.apache.hadoop.hdfs.server.namenode.ContentCounts.Builder -->
  9914. <class name="ContentCounts.Builder" extends="java.lang.Object"
  9915. abstract="false"
  9916. static="true" final="false" visibility="public"
  9917. deprecated="not deprecated">
  9918. <constructor name="Builder"
  9919. static="false" final="false" visibility="public"
  9920. deprecated="not deprecated">
  9921. </constructor>
  9922. <method name="file" return="org.apache.hadoop.hdfs.server.namenode.ContentCounts.Builder"
  9923. abstract="false" native="false" synchronized="false"
  9924. static="false" final="false" visibility="public"
  9925. deprecated="not deprecated">
  9926. <param name="file" type="long"/>
  9927. </method>
  9928. <method name="directory" return="org.apache.hadoop.hdfs.server.namenode.ContentCounts.Builder"
  9929. abstract="false" native="false" synchronized="false"
  9930. static="false" final="false" visibility="public"
  9931. deprecated="not deprecated">
  9932. <param name="directory" type="long"/>
  9933. </method>
  9934. <method name="symlink" return="org.apache.hadoop.hdfs.server.namenode.ContentCounts.Builder"
  9935. abstract="false" native="false" synchronized="false"
  9936. static="false" final="false" visibility="public"
  9937. deprecated="not deprecated">
  9938. <param name="symlink" type="long"/>
  9939. </method>
  9940. <method name="length" return="org.apache.hadoop.hdfs.server.namenode.ContentCounts.Builder"
  9941. abstract="false" native="false" synchronized="false"
  9942. static="false" final="false" visibility="public"
  9943. deprecated="not deprecated">
  9944. <param name="length" type="long"/>
  9945. </method>
  9946. <method name="storagespace" return="org.apache.hadoop.hdfs.server.namenode.ContentCounts.Builder"
  9947. abstract="false" native="false" synchronized="false"
  9948. static="false" final="false" visibility="public"
  9949. deprecated="not deprecated">
  9950. <param name="storagespace" type="long"/>
  9951. </method>
  9952. <method name="snapshot" return="org.apache.hadoop.hdfs.server.namenode.ContentCounts.Builder"
  9953. abstract="false" native="false" synchronized="false"
  9954. static="false" final="false" visibility="public"
  9955. deprecated="not deprecated">
  9956. <param name="snapshot" type="long"/>
  9957. </method>
  9958. <method name="snapshotable_directory" return="org.apache.hadoop.hdfs.server.namenode.ContentCounts.Builder"
  9959. abstract="false" native="false" synchronized="false"
  9960. static="false" final="false" visibility="public"
  9961. deprecated="not deprecated">
  9962. <param name="snapshotable_directory" type="long"/>
  9963. </method>
  9964. <method name="build" return="org.apache.hadoop.hdfs.server.namenode.ContentCounts"
  9965. abstract="false" native="false" synchronized="false"
  9966. static="false" final="false" visibility="public"
  9967. deprecated="not deprecated">
  9968. </method>
  9969. </class>
  9970. <!-- end class org.apache.hadoop.hdfs.server.namenode.ContentCounts.Builder -->
  9971. <!-- start class org.apache.hadoop.hdfs.server.namenode.DefaultINodeAttributesProvider -->
  9972. <class name="DefaultINodeAttributesProvider" extends="org.apache.hadoop.hdfs.server.namenode.INodeAttributeProvider"
  9973. abstract="false"
  9974. static="false" final="false" visibility="public"
  9975. deprecated="not deprecated">
  9976. <constructor name="DefaultINodeAttributesProvider"
  9977. static="false" final="false" visibility="public"
  9978. deprecated="not deprecated">
  9979. </constructor>
  9980. <method name="start"
  9981. abstract="false" native="false" synchronized="false"
  9982. static="false" final="false" visibility="public"
  9983. deprecated="not deprecated">
  9984. </method>
  9985. <method name="stop"
  9986. abstract="false" native="false" synchronized="false"
  9987. static="false" final="false" visibility="public"
  9988. deprecated="not deprecated">
  9989. </method>
  9990. <method name="getAttributes" return="org.apache.hadoop.hdfs.server.namenode.INodeAttributes"
  9991. abstract="false" native="false" synchronized="false"
  9992. static="false" final="false" visibility="public"
  9993. deprecated="not deprecated">
  9994. <param name="pathElements" type="java.lang.String[]"/>
  9995. <param name="inode" type="org.apache.hadoop.hdfs.server.namenode.INodeAttributes"/>
  9996. </method>
  9997. <field name="DEFAULT_PROVIDER" type="org.apache.hadoop.hdfs.server.namenode.INodeAttributeProvider"
  9998. transient="false" volatile="false"
  9999. static="true" final="false" visibility="public"
  10000. deprecated="not deprecated">
  10001. </field>
  10002. <doc>
  10003. <![CDATA[A default implementation of the INodeAttributesProvider]]>
  10004. </doc>
  10005. </class>
  10006. <!-- end class org.apache.hadoop.hdfs.server.namenode.DefaultINodeAttributesProvider -->
  10007. <!-- start class org.apache.hadoop.hdfs.server.namenode.DirectoryWithQuotaFeature -->
  10008. <class name="DirectoryWithQuotaFeature" extends="java.lang.Object"
  10009. abstract="false"
  10010. static="false" final="true" visibility="public"
  10011. deprecated="not deprecated">
  10012. <implements name="org.apache.hadoop.hdfs.server.namenode.INode.Feature"/>
  10013. <method name="addSpaceConsumed2Cache"
  10014. abstract="false" native="false" synchronized="false"
  10015. static="false" final="false" visibility="public"
  10016. deprecated="not deprecated">
  10017. <param name="delta" type="org.apache.hadoop.hdfs.server.namenode.QuotaCounts"/>
  10018. <doc>
  10019. <![CDATA[Update the space/namespace/type usage of the tree
  10020. @param delta the change of the namespace/space/type usage]]>
  10021. </doc>
  10022. </method>
  10023. <method name="getSpaceConsumed" return="org.apache.hadoop.hdfs.server.namenode.QuotaCounts"
  10024. abstract="false" native="false" synchronized="false"
  10025. static="false" final="false" visibility="public"
  10026. deprecated="not deprecated">
  10027. <doc>
  10028. <![CDATA[@return the namespace and storagespace and typespace consumed.]]>
  10029. </doc>
  10030. </method>
  10031. <method name="toString" return="java.lang.String"
  10032. abstract="false" native="false" synchronized="false"
  10033. static="false" final="false" visibility="public"
  10034. deprecated="not deprecated">
  10035. </method>
  10036. <field name="DEFAULT_NAMESPACE_QUOTA" type="long"
  10037. transient="false" volatile="false"
  10038. static="true" final="true" visibility="public"
  10039. deprecated="not deprecated">
  10040. </field>
  10041. <field name="DEFAULT_STORAGE_SPACE_QUOTA" type="long"
  10042. transient="false" volatile="false"
  10043. static="true" final="true" visibility="public"
  10044. deprecated="not deprecated">
  10045. </field>
  10046. <doc>
  10047. <![CDATA[Quota feature for {@link INodeDirectory}.]]>
  10048. </doc>
  10049. </class>
  10050. <!-- end class org.apache.hadoop.hdfs.server.namenode.DirectoryWithQuotaFeature -->
  10051. <!-- start class org.apache.hadoop.hdfs.server.namenode.DirectoryWithQuotaFeature.Builder -->
  10052. <class name="DirectoryWithQuotaFeature.Builder" extends="java.lang.Object"
  10053. abstract="false"
  10054. static="true" final="false" visibility="public"
  10055. deprecated="not deprecated">
  10056. <constructor name="Builder"
  10057. static="false" final="false" visibility="public"
  10058. deprecated="not deprecated">
  10059. </constructor>
  10060. <method name="nameSpaceQuota" return="org.apache.hadoop.hdfs.server.namenode.DirectoryWithQuotaFeature.Builder"
  10061. abstract="false" native="false" synchronized="false"
  10062. static="false" final="false" visibility="public"
  10063. deprecated="not deprecated">
  10064. <param name="nameSpaceQuota" type="long"/>
  10065. </method>
  10066. <method name="storageSpaceQuota" return="org.apache.hadoop.hdfs.server.namenode.DirectoryWithQuotaFeature.Builder"
  10067. abstract="false" native="false" synchronized="false"
  10068. static="false" final="false" visibility="public"
  10069. deprecated="not deprecated">
  10070. <param name="spaceQuota" type="long"/>
  10071. </method>
  10072. <method name="typeQuotas" return="org.apache.hadoop.hdfs.server.namenode.DirectoryWithQuotaFeature.Builder"
  10073. abstract="false" native="false" synchronized="false"
  10074. static="false" final="false" visibility="public"
  10075. deprecated="not deprecated">
  10076. <param name="typeQuotas" type="org.apache.hadoop.hdfs.util.EnumCounters"/>
  10077. </method>
  10078. <method name="typeQuota" return="org.apache.hadoop.hdfs.server.namenode.DirectoryWithQuotaFeature.Builder"
  10079. abstract="false" native="false" synchronized="false"
  10080. static="false" final="false" visibility="public"
  10081. deprecated="not deprecated">
  10082. <param name="type" type="org.apache.hadoop.fs.StorageType"/>
  10083. <param name="quota" type="long"/>
  10084. </method>
  10085. <method name="build" return="org.apache.hadoop.hdfs.server.namenode.DirectoryWithQuotaFeature"
  10086. abstract="false" native="false" synchronized="false"
  10087. static="false" final="false" visibility="public"
  10088. deprecated="not deprecated">
  10089. </method>
  10090. </class>
  10091. <!-- end class org.apache.hadoop.hdfs.server.namenode.DirectoryWithQuotaFeature.Builder -->
  10092. <!-- start class org.apache.hadoop.hdfs.server.namenode.EncryptionFaultInjector -->
  10093. <class name="EncryptionFaultInjector" extends="java.lang.Object"
  10094. abstract="false"
  10095. static="false" final="false" visibility="public"
  10096. deprecated="not deprecated">
  10097. <constructor name="EncryptionFaultInjector"
  10098. static="false" final="false" visibility="public"
  10099. deprecated="not deprecated">
  10100. </constructor>
  10101. <method name="getInstance" return="org.apache.hadoop.hdfs.server.namenode.EncryptionFaultInjector"
  10102. abstract="false" native="false" synchronized="false"
  10103. static="true" final="false" visibility="public"
  10104. deprecated="not deprecated">
  10105. </method>
  10106. <method name="startFileAfterGenerateKey"
  10107. abstract="false" native="false" synchronized="false"
  10108. static="false" final="false" visibility="public"
  10109. deprecated="not deprecated">
  10110. <exception name="IOException" type="java.io.IOException"/>
  10111. </method>
  10112. <field name="instance" type="org.apache.hadoop.hdfs.server.namenode.EncryptionFaultInjector"
  10113. transient="false" volatile="false"
  10114. static="true" final="false" visibility="public"
  10115. deprecated="not deprecated">
  10116. </field>
  10117. <doc>
  10118. <![CDATA[Used to inject certain faults for testing.]]>
  10119. </doc>
  10120. </class>
  10121. <!-- end class org.apache.hadoop.hdfs.server.namenode.EncryptionFaultInjector -->
  10122. <!-- start class org.apache.hadoop.hdfs.server.namenode.EncryptionZoneManager -->
  10123. <class name="EncryptionZoneManager" extends="java.lang.Object"
  10124. abstract="false"
  10125. static="false" final="false" visibility="public"
  10126. deprecated="not deprecated">
  10127. <constructor name="EncryptionZoneManager" type="org.apache.hadoop.hdfs.server.namenode.FSDirectory, org.apache.hadoop.conf.Configuration"
  10128. static="false" final="false" visibility="public"
  10129. deprecated="not deprecated">
  10130. <doc>
  10131. <![CDATA[Construct a new EncryptionZoneManager.
  10132. @param dir Enclosing FSDirectory]]>
  10133. </doc>
  10134. </constructor>
  10135. <field name="LOG" type="org.slf4j.Logger"
  10136. transient="false" volatile="false"
  10137. static="true" final="false" visibility="public"
  10138. deprecated="not deprecated">
  10139. </field>
  10140. <doc>
  10141. <![CDATA[Manages the list of encryption zones in the filesystem.
  10142. <p/>
  10143. The EncryptionZoneManager has its own lock, but relies on the FSDirectory
  10144. lock being held for many operations. The FSDirectory lock should not be
  10145. taken if the manager lock is already held.]]>
  10146. </doc>
  10147. </class>
  10148. <!-- end class org.apache.hadoop.hdfs.server.namenode.EncryptionZoneManager -->
  10149. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSDirAttrOp -->
  10150. <class name="FSDirAttrOp" extends="java.lang.Object"
  10151. abstract="false"
  10152. static="false" final="false" visibility="public"
  10153. deprecated="not deprecated">
  10154. <constructor name="FSDirAttrOp"
  10155. static="false" final="false" visibility="public"
  10156. deprecated="not deprecated">
  10157. </constructor>
  10158. </class>
  10159. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSDirAttrOp -->
  10160. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.PositionTrackingInputStream -->
  10161. <class name="FSEditLogLoader.PositionTrackingInputStream" extends="java.io.FilterInputStream"
  10162. abstract="false"
  10163. static="true" final="false" visibility="public"
  10164. deprecated="not deprecated">
  10165. <implements name="org.apache.hadoop.hdfs.server.namenode.StreamLimiter"/>
  10166. <constructor name="PositionTrackingInputStream" type="java.io.InputStream"
  10167. static="false" final="false" visibility="public"
  10168. deprecated="not deprecated">
  10169. </constructor>
  10170. <method name="read" return="int"
  10171. abstract="false" native="false" synchronized="false"
  10172. static="false" final="false" visibility="public"
  10173. deprecated="not deprecated">
  10174. <exception name="IOException" type="java.io.IOException"/>
  10175. </method>
  10176. <method name="read" return="int"
  10177. abstract="false" native="false" synchronized="false"
  10178. static="false" final="false" visibility="public"
  10179. deprecated="not deprecated">
  10180. <param name="data" type="byte[]"/>
  10181. <exception name="IOException" type="java.io.IOException"/>
  10182. </method>
  10183. <method name="read" return="int"
  10184. abstract="false" native="false" synchronized="false"
  10185. static="false" final="false" visibility="public"
  10186. deprecated="not deprecated">
  10187. <param name="data" type="byte[]"/>
  10188. <param name="offset" type="int"/>
  10189. <param name="length" type="int"/>
  10190. <exception name="IOException" type="java.io.IOException"/>
  10191. </method>
  10192. <method name="setLimit"
  10193. abstract="false" native="false" synchronized="false"
  10194. static="false" final="false" visibility="public"
  10195. deprecated="not deprecated">
  10196. <param name="limit" type="long"/>
  10197. </method>
  10198. <method name="clearLimit"
  10199. abstract="false" native="false" synchronized="false"
  10200. static="false" final="false" visibility="public"
  10201. deprecated="not deprecated">
  10202. </method>
  10203. <method name="mark"
  10204. abstract="false" native="false" synchronized="false"
  10205. static="false" final="false" visibility="public"
  10206. deprecated="not deprecated">
  10207. <param name="limit" type="int"/>
  10208. </method>
  10209. <method name="reset"
  10210. abstract="false" native="false" synchronized="false"
  10211. static="false" final="false" visibility="public"
  10212. deprecated="not deprecated">
  10213. <exception name="IOException" type="java.io.IOException"/>
  10214. </method>
  10215. <method name="getPos" return="long"
  10216. abstract="false" native="false" synchronized="false"
  10217. static="false" final="false" visibility="public"
  10218. deprecated="not deprecated">
  10219. </method>
  10220. <method name="skip" return="long"
  10221. abstract="false" native="false" synchronized="false"
  10222. static="false" final="false" visibility="public"
  10223. deprecated="not deprecated">
  10224. <param name="amt" type="long"/>
  10225. <exception name="IOException" type="java.io.IOException"/>
  10226. </method>
  10227. <doc>
  10228. <![CDATA[Stream wrapper that keeps track of the current stream position.
  10229. This stream also allows us to set a limit on how many bytes we can read
  10230. without getting an exception.]]>
  10231. </doc>
  10232. </class>
  10233. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.PositionTrackingInputStream -->
  10234. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSEditLogOp.OpInstanceCache -->
  10235. <class name="FSEditLogOp.OpInstanceCache" extends="java.lang.Object"
  10236. abstract="false"
  10237. static="true" final="true" visibility="public"
  10238. deprecated="not deprecated">
  10239. <constructor name="OpInstanceCache"
  10240. static="false" final="false" visibility="public"
  10241. deprecated="not deprecated">
  10242. </constructor>
  10243. <method name="get" return="org.apache.hadoop.hdfs.server.namenode.FSEditLogOp"
  10244. abstract="false" native="false" synchronized="false"
  10245. static="false" final="false" visibility="public"
  10246. deprecated="not deprecated">
  10247. <param name="opcode" type="org.apache.hadoop.hdfs.server.namenode.FSEditLogOpCodes"/>
  10248. </method>
  10249. </class>
  10250. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSEditLogOp.OpInstanceCache -->
  10251. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSEditLogOp.Reader -->
  10252. <class name="FSEditLogOp.Reader" extends="java.lang.Object"
  10253. abstract="false"
  10254. static="true" final="false" visibility="public"
  10255. deprecated="not deprecated">
  10256. <constructor name="Reader" type="java.io.DataInputStream, org.apache.hadoop.hdfs.server.namenode.StreamLimiter, int"
  10257. static="false" final="false" visibility="public"
  10258. deprecated="not deprecated">
  10259. <doc>
  10260. <![CDATA[Construct the reader
  10261. @param in The stream to read from.
  10262. @param logVersion The version of the data coming from the stream.]]>
  10263. </doc>
  10264. </constructor>
  10265. <method name="setMaxOpSize"
  10266. abstract="false" native="false" synchronized="false"
  10267. static="false" final="false" visibility="public"
  10268. deprecated="not deprecated">
  10269. <param name="maxOpSize" type="int"/>
  10270. </method>
  10271. <method name="readOp" return="org.apache.hadoop.hdfs.server.namenode.FSEditLogOp"
  10272. abstract="false" native="false" synchronized="false"
  10273. static="false" final="false" visibility="public"
  10274. deprecated="not deprecated">
  10275. <param name="skipBrokenEdits" type="boolean"/>
  10276. <exception name="IOException" type="java.io.IOException"/>
  10277. <doc>
  10278. <![CDATA[Read an operation from the input stream.
  10279. Note that the objects returned from this method may be re-used by future
  10280. calls to the same method.
  10281. @param skipBrokenEdits If true, attempt to skip over damaged parts of
  10282. the input stream, rather than throwing an IOException
  10283. @return the operation read from the stream, or null at the end of the
  10284. file
  10285. @throws IOException on error. This function should only throw an
  10286. exception when skipBrokenEdits is false.]]>
  10287. </doc>
  10288. </method>
  10289. <method name="scanOp" return="long"
  10290. abstract="false" native="false" synchronized="false"
  10291. static="false" final="false" visibility="public"
  10292. deprecated="not deprecated">
  10293. <exception name="IOException" type="java.io.IOException"/>
  10294. <doc>
  10295. <![CDATA[Similar with decodeOp(), but instead of doing the real decoding, we skip
  10296. the content of the op if the length of the editlog is supported.
  10297. @return the last txid of the segment, or INVALID_TXID on exception]]>
  10298. </doc>
  10299. </method>
  10300. <doc>
  10301. <![CDATA[Class for reading editlog ops from a stream]]>
  10302. </doc>
  10303. </class>
  10304. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSEditLogOp.Reader -->
  10305. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSEditLogOp.Writer -->
  10306. <class name="FSEditLogOp.Writer" extends="java.lang.Object"
  10307. abstract="false"
  10308. static="true" final="false" visibility="public"
  10309. deprecated="not deprecated">
  10310. <constructor name="Writer" type="org.apache.hadoop.io.DataOutputBuffer"
  10311. static="false" final="false" visibility="public"
  10312. deprecated="not deprecated">
  10313. </constructor>
  10314. <method name="writeOp"
  10315. abstract="false" native="false" synchronized="false"
  10316. static="false" final="false" visibility="public"
  10317. deprecated="not deprecated">
  10318. <param name="op" type="org.apache.hadoop.hdfs.server.namenode.FSEditLogOp"/>
  10319. <exception name="IOException" type="java.io.IOException"/>
  10320. <doc>
  10321. <![CDATA[Write an operation to the output stream
  10322. @param op The operation to write
  10323. @throws IOException if an error occurs during writing.]]>
  10324. </doc>
  10325. </method>
  10326. <doc>
  10327. <![CDATA[Class for writing editlog ops]]>
  10328. </doc>
  10329. </class>
  10330. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSEditLogOp.Writer -->
  10331. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSImageFormat.Loader -->
  10332. <class name="FSImageFormat.Loader" extends="java.lang.Object"
  10333. abstract="false"
  10334. static="true" final="false" visibility="public"
  10335. deprecated="not deprecated">
  10336. <implements name="org.apache.hadoop.hdfs.server.namenode.FSImageFormat.AbstractLoader"/>
  10337. <method name="getLoadedImageMd5" return="org.apache.hadoop.io.MD5Hash"
  10338. abstract="false" native="false" synchronized="false"
  10339. static="false" final="false" visibility="public"
  10340. deprecated="not deprecated">
  10341. <doc>
  10342. <![CDATA[Return the MD5 checksum of the image that has been loaded.
  10343. @throws IllegalStateException if load() has not yet been called.]]>
  10344. </doc>
  10345. </method>
  10346. <method name="getLoadedImageTxId" return="long"
  10347. abstract="false" native="false" synchronized="false"
  10348. static="false" final="false" visibility="public"
  10349. deprecated="not deprecated">
  10350. </method>
  10351. <method name="load"
  10352. abstract="false" native="false" synchronized="false"
  10353. static="false" final="false" visibility="public"
  10354. deprecated="not deprecated">
  10355. <param name="curFile" type="java.io.File"/>
  10356. <exception name="IOException" type="java.io.IOException"/>
  10357. </method>
  10358. <method name="updateBlocksMap"
  10359. abstract="false" native="false" synchronized="false"
  10360. static="false" final="false" visibility="public"
  10361. deprecated="not deprecated">
  10362. <param name="file" type="org.apache.hadoop.hdfs.server.namenode.INodeFile"/>
  10363. </method>
  10364. <method name="getFSDirectoryInLoading" return="org.apache.hadoop.hdfs.server.namenode.FSDirectory"
  10365. abstract="false" native="false" synchronized="false"
  10366. static="false" final="false" visibility="public"
  10367. deprecated="not deprecated">
  10368. <doc>
  10369. <![CDATA[@return The FSDirectory of the namesystem where the fsimage is loaded]]>
  10370. </doc>
  10371. </method>
  10372. <method name="loadINodeWithLocalName" return="org.apache.hadoop.hdfs.server.namenode.INode"
  10373. abstract="false" native="false" synchronized="false"
  10374. static="false" final="false" visibility="public"
  10375. deprecated="not deprecated">
  10376. <param name="isSnapshotINode" type="boolean"/>
  10377. <param name="in" type="java.io.DataInput"/>
  10378. <param name="updateINodeMap" type="boolean"/>
  10379. <exception name="IOException" type="java.io.IOException"/>
  10380. </method>
  10381. <method name="loadINodeWithLocalName" return="org.apache.hadoop.hdfs.server.namenode.INode"
  10382. abstract="false" native="false" synchronized="false"
  10383. static="false" final="false" visibility="public"
  10384. deprecated="not deprecated">
  10385. <param name="isSnapshotINode" type="boolean"/>
  10386. <param name="in" type="java.io.DataInput"/>
  10387. <param name="updateINodeMap" type="boolean"/>
  10388. <param name="counter" type="org.apache.hadoop.hdfs.server.namenode.startupprogress.StartupProgress.Counter"/>
  10389. <exception name="IOException" type="java.io.IOException"/>
  10390. </method>
  10391. <method name="loadINodeFileAttributes" return="org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes"
  10392. abstract="false" native="false" synchronized="false"
  10393. static="false" final="false" visibility="public"
  10394. deprecated="not deprecated">
  10395. <param name="in" type="java.io.DataInput"/>
  10396. <exception name="IOException" type="java.io.IOException"/>
  10397. <doc>
  10398. <![CDATA[Load {@link INodeFileAttributes}.]]>
  10399. </doc>
  10400. </method>
  10401. <method name="loadINodeDirectoryAttributes" return="org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes"
  10402. abstract="false" native="false" synchronized="false"
  10403. static="false" final="false" visibility="public"
  10404. deprecated="not deprecated">
  10405. <param name="in" type="java.io.DataInput"/>
  10406. <exception name="IOException" type="java.io.IOException"/>
  10407. </method>
  10408. <method name="getSnapshot" return="org.apache.hadoop.hdfs.server.namenode.snapshot.Snapshot"
  10409. abstract="false" native="false" synchronized="false"
  10410. static="false" final="false" visibility="public"
  10411. deprecated="not deprecated">
  10412. <param name="in" type="java.io.DataInput"/>
  10413. <exception name="IOException" type="java.io.IOException"/>
  10414. </method>
  10415. <doc>
  10416. <![CDATA[A one-shot class responsible for loading an image. The load() function
  10417. should be called once, after which the getter methods may be used to retrieve
  10418. information about the image that was loaded, if loading was successful.]]>
  10419. </doc>
  10420. </class>
  10421. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSImageFormat.Loader -->
  10422. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSImageFormatPBINode.Loader -->
  10423. <class name="FSImageFormatPBINode.Loader" extends="java.lang.Object"
  10424. abstract="false"
  10425. static="true" final="true" visibility="public"
  10426. deprecated="not deprecated">
  10427. <method name="loadPermission" return="org.apache.hadoop.fs.permission.PermissionStatus"
  10428. abstract="false" native="false" synchronized="false"
  10429. static="true" final="false" visibility="public"
  10430. deprecated="not deprecated">
  10431. <param name="id" type="long"/>
  10432. <param name="stringTable" type="java.lang.String[]"/>
  10433. </method>
  10434. <method name="loadAclEntries" return="com.google.common.collect.ImmutableList"
  10435. abstract="false" native="false" synchronized="false"
  10436. static="true" final="false" visibility="public"
  10437. deprecated="not deprecated">
  10438. <param name="proto" type="org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.AclFeatureProto"/>
  10439. <param name="stringTable" type="java.lang.String[]"/>
  10440. </method>
  10441. <method name="loadXAttrs" return="com.google.common.collect.ImmutableList"
  10442. abstract="false" native="false" synchronized="false"
  10443. static="true" final="false" visibility="public"
  10444. deprecated="not deprecated">
  10445. <param name="proto" type="org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.XAttrFeatureProto"/>
  10446. <param name="stringTable" type="java.lang.String[]"/>
  10447. </method>
  10448. <method name="loadQuotaByStorageTypeEntries" return="com.google.common.collect.ImmutableList"
  10449. abstract="false" native="false" synchronized="false"
  10450. static="true" final="false" visibility="public"
  10451. deprecated="not deprecated">
  10452. <param name="proto" type="org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.QuotaByStorageTypeFeatureProto"/>
  10453. </method>
  10454. <method name="loadINodeDirectory" return="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"
  10455. abstract="false" native="false" synchronized="false"
  10456. static="true" final="false" visibility="public"
  10457. deprecated="not deprecated">
  10458. <param name="n" type="org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.INode"/>
  10459. <param name="state" type="org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.LoaderContext"/>
  10460. </method>
  10461. <method name="updateBlocksMap"
  10462. abstract="false" native="false" synchronized="false"
  10463. static="true" final="false" visibility="public"
  10464. deprecated="not deprecated">
  10465. <param name="file" type="org.apache.hadoop.hdfs.server.namenode.INodeFile"/>
  10466. <param name="bm" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockManager"/>
  10467. </method>
  10468. </class>
  10469. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSImageFormatPBINode.Loader -->
  10470. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSImageFormatPBINode.Saver -->
  10471. <class name="FSImageFormatPBINode.Saver" extends="java.lang.Object"
  10472. abstract="false"
  10473. static="true" final="true" visibility="public"
  10474. deprecated="not deprecated">
  10475. <method name="buildINodeFile" return="org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.INodeFile.Builder"
  10476. abstract="false" native="false" synchronized="false"
  10477. static="true" final="false" visibility="public"
  10478. deprecated="not deprecated">
  10479. <param name="file" type="org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes"/>
  10480. <param name="state" type="org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.SaverContext"/>
  10481. </method>
  10482. <method name="buildINodeDirectory" return="org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.INodeDirectory.Builder"
  10483. abstract="false" native="false" synchronized="false"
  10484. static="true" final="false" visibility="public"
  10485. deprecated="not deprecated">
  10486. <param name="dir" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes"/>
  10487. <param name="state" type="org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.SaverContext"/>
  10488. </method>
  10489. </class>
  10490. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSImageFormatPBINode.Saver -->
  10491. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.Loader -->
  10492. <class name="FSImageFormatProtobuf.Loader" extends="java.lang.Object"
  10493. abstract="false"
  10494. static="true" final="true" visibility="public"
  10495. deprecated="not deprecated">
  10496. <implements name="org.apache.hadoop.hdfs.server.namenode.FSImageFormat.AbstractLoader"/>
  10497. <method name="getLoadedImageMd5" return="org.apache.hadoop.io.MD5Hash"
  10498. abstract="false" native="false" synchronized="false"
  10499. static="false" final="false" visibility="public"
  10500. deprecated="not deprecated">
  10501. </method>
  10502. <method name="getLoadedImageTxId" return="long"
  10503. abstract="false" native="false" synchronized="false"
  10504. static="false" final="false" visibility="public"
  10505. deprecated="not deprecated">
  10506. </method>
  10507. <method name="getLoaderContext" return="org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.LoaderContext"
  10508. abstract="false" native="false" synchronized="false"
  10509. static="false" final="false" visibility="public"
  10510. deprecated="not deprecated">
  10511. </method>
  10512. </class>
  10513. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.Loader -->
  10514. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.LoaderContext -->
  10515. <class name="FSImageFormatProtobuf.LoaderContext" extends="java.lang.Object"
  10516. abstract="false"
  10517. static="true" final="true" visibility="public"
  10518. deprecated="not deprecated">
  10519. <constructor name="LoaderContext"
  10520. static="false" final="false" visibility="public"
  10521. deprecated="not deprecated">
  10522. </constructor>
  10523. <method name="getStringTable" return="java.lang.String[]"
  10524. abstract="false" native="false" synchronized="false"
  10525. static="false" final="false" visibility="public"
  10526. deprecated="not deprecated">
  10527. </method>
  10528. <method name="getRefList" return="java.util.ArrayList"
  10529. abstract="false" native="false" synchronized="false"
  10530. static="false" final="false" visibility="public"
  10531. deprecated="not deprecated">
  10532. </method>
  10533. </class>
  10534. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.LoaderContext -->
  10535. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.Saver -->
  10536. <class name="FSImageFormatProtobuf.Saver" extends="java.lang.Object"
  10537. abstract="false"
  10538. static="true" final="true" visibility="public"
  10539. deprecated="not deprecated">
  10540. <method name="getSavedDigest" return="org.apache.hadoop.io.MD5Hash"
  10541. abstract="false" native="false" synchronized="false"
  10542. static="false" final="false" visibility="public"
  10543. deprecated="not deprecated">
  10544. </method>
  10545. <method name="getContext" return="org.apache.hadoop.hdfs.server.namenode.SaveNamespaceContext"
  10546. abstract="false" native="false" synchronized="false"
  10547. static="false" final="false" visibility="public"
  10548. deprecated="not deprecated">
  10549. </method>
  10550. <method name="getSaverContext" return="org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.SaverContext"
  10551. abstract="false" native="false" synchronized="false"
  10552. static="false" final="false" visibility="public"
  10553. deprecated="not deprecated">
  10554. </method>
  10555. <method name="commitSection"
  10556. abstract="false" native="false" synchronized="false"
  10557. static="false" final="false" visibility="public"
  10558. deprecated="not deprecated">
  10559. <param name="summary" type="org.apache.hadoop.hdfs.server.namenode.FsImageProto.FileSummary.Builder"/>
  10560. <param name="name" type="org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.SectionName"/>
  10561. <exception name="IOException" type="java.io.IOException"/>
  10562. </method>
  10563. <field name="CHECK_CANCEL_INTERVAL" type="int"
  10564. transient="false" volatile="false"
  10565. static="true" final="true" visibility="public"
  10566. deprecated="not deprecated">
  10567. </field>
  10568. </class>
  10569. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.Saver -->
  10570. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.SaverContext -->
  10571. <class name="FSImageFormatProtobuf.SaverContext" extends="java.lang.Object"
  10572. abstract="false"
  10573. static="true" final="true" visibility="public"
  10574. deprecated="not deprecated">
  10575. <constructor name="SaverContext"
  10576. static="false" final="false" visibility="public"
  10577. deprecated="not deprecated">
  10578. </constructor>
  10579. <method name="getStringMap" return="org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.SaverContext.DeduplicationMap"
  10580. abstract="false" native="false" synchronized="false"
  10581. static="false" final="false" visibility="public"
  10582. deprecated="not deprecated">
  10583. </method>
  10584. <method name="getRefList" return="java.util.ArrayList"
  10585. abstract="false" native="false" synchronized="false"
  10586. static="false" final="false" visibility="public"
  10587. deprecated="not deprecated">
  10588. </method>
  10589. </class>
  10590. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.SaverContext -->
  10591. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.SaverContext.DeduplicationMap -->
  10592. <class name="FSImageFormatProtobuf.SaverContext.DeduplicationMap" extends="java.lang.Object"
  10593. abstract="false"
  10594. static="true" final="false" visibility="public"
  10595. deprecated="not deprecated">
  10596. </class>
  10597. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.SaverContext.DeduplicationMap -->
  10598. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.SectionName -->
  10599. <class name="FSImageFormatProtobuf.SectionName" extends="java.lang.Enum"
  10600. abstract="false"
  10601. static="true" final="true" visibility="public"
  10602. deprecated="not deprecated">
  10603. <method name="values" return="org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.SectionName[]"
  10604. abstract="false" native="false" synchronized="false"
  10605. static="true" final="false" visibility="public"
  10606. deprecated="not deprecated">
  10607. </method>
  10608. <method name="valueOf" return="org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.SectionName"
  10609. abstract="false" native="false" synchronized="false"
  10610. static="true" final="false" visibility="public"
  10611. deprecated="not deprecated">
  10612. <param name="name" type="java.lang.String"/>
  10613. </method>
  10614. <method name="fromString" return="org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.SectionName"
  10615. abstract="false" native="false" synchronized="false"
  10616. static="true" final="false" visibility="public"
  10617. deprecated="not deprecated">
  10618. <param name="name" type="java.lang.String"/>
  10619. </method>
  10620. <doc>
  10621. <![CDATA[Supported section name. The order of the enum determines the order of
  10622. loading.]]>
  10623. </doc>
  10624. </class>
  10625. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.SectionName -->
  10626. <!-- start class org.apache.hadoop.hdfs.server.namenode.FSNamesystem.SafeModeInfo -->
  10627. <class name="FSNamesystem.SafeModeInfo" extends="java.lang.Object"
  10628. abstract="false"
  10629. static="false" final="false" visibility="public"
  10630. deprecated="not deprecated">
  10631. <method name="toString" return="java.lang.String"
  10632. abstract="false" native="false" synchronized="false"
  10633. static="false" final="false" visibility="public"
  10634. deprecated="not deprecated">
  10635. </method>
  10636. <doc>
  10637. <![CDATA[SafeModeInfo contains information related to the safe mode.
  10638. <p>
  10639. An instance of {@link SafeModeInfo} is created when the name node
  10640. enters safe mode.
  10641. <p>
  10642. During name node startup {@link SafeModeInfo} counts the number of
  10643. <em>safe blocks</em>, those that have at least the minimal number of
  10644. replicas, and calculates the ratio of safe blocks to the total number
  10645. of blocks in the system, which is the size of blocks in
  10646. {@link FSNamesystem#blockManager}. When the ratio reaches the
  10647. {@link #threshold} it starts the SafeModeMonitor daemon in order
  10648. to monitor whether the safe mode {@link #extension} is passed.
  10649. Then it leaves safe mode and destroys itself.
  10650. <p>
  10651. If safe mode is turned on manually then the number of safe blocks is
  10652. not tracked because the name node is not intended to leave safe mode
  10653. automatically in the case.
  10654. @see ClientProtocol#setSafeMode(HdfsConstants.SafeModeAction, boolean)]]>
  10655. </doc>
  10656. </class>
  10657. <!-- end class org.apache.hadoop.hdfs.server.namenode.FSNamesystem.SafeModeInfo -->
  10658. <!-- start class org.apache.hadoop.hdfs.server.namenode.GetDelegationTokenServlet -->
  10659. <class name="GetDelegationTokenServlet" extends="org.apache.hadoop.hdfs.server.namenode.DfsServlet"
  10660. abstract="false"
  10661. static="false" final="false" visibility="public"
  10662. deprecated="not deprecated">
  10663. <constructor name="GetDelegationTokenServlet"
  10664. static="false" final="false" visibility="public"
  10665. deprecated="not deprecated">
  10666. </constructor>
  10667. <method name="doGet"
  10668. abstract="false" native="false" synchronized="false"
  10669. static="false" final="false" visibility="protected"
  10670. deprecated="not deprecated">
  10671. <param name="req" type="javax.servlet.http.HttpServletRequest"/>
  10672. <param name="resp" type="javax.servlet.http.HttpServletResponse"/>
  10673. <exception name="ServletException" type="javax.servlet.ServletException"/>
  10674. <exception name="IOException" type="java.io.IOException"/>
  10675. </method>
  10676. <field name="PATH_SPEC" type="java.lang.String"
  10677. transient="false" volatile="false"
  10678. static="true" final="true" visibility="public"
  10679. deprecated="not deprecated">
  10680. </field>
  10681. <field name="RENEWER" type="java.lang.String"
  10682. transient="false" volatile="false"
  10683. static="true" final="true" visibility="public"
  10684. deprecated="not deprecated">
  10685. </field>
  10686. <doc>
  10687. <![CDATA[Serve delegation tokens over http for use in hftp.]]>
  10688. </doc>
  10689. </class>
  10690. <!-- end class org.apache.hadoop.hdfs.server.namenode.GetDelegationTokenServlet -->
  10691. <!-- start class org.apache.hadoop.hdfs.server.namenode.HdfsAuditLogger -->
  10692. <class name="HdfsAuditLogger" extends="java.lang.Object"
  10693. abstract="true"
  10694. static="false" final="false" visibility="public"
  10695. deprecated="not deprecated">
  10696. <implements name="org.apache.hadoop.hdfs.server.namenode.AuditLogger"/>
  10697. <constructor name="HdfsAuditLogger"
  10698. static="false" final="false" visibility="public"
  10699. deprecated="not deprecated">
  10700. </constructor>
  10701. <method name="logAuditEvent"
  10702. abstract="false" native="false" synchronized="false"
  10703. static="false" final="false" visibility="public"
  10704. deprecated="not deprecated">
  10705. <param name="succeeded" type="boolean"/>
  10706. <param name="userName" type="java.lang.String"/>
  10707. <param name="addr" type="java.net.InetAddress"/>
  10708. <param name="cmd" type="java.lang.String"/>
  10709. <param name="src" type="java.lang.String"/>
  10710. <param name="dst" type="java.lang.String"/>
  10711. <param name="status" type="org.apache.hadoop.fs.FileStatus"/>
  10712. </method>
  10713. <method name="logAuditEvent"
  10714. abstract="true" native="false" synchronized="false"
  10715. static="false" final="false" visibility="public"
  10716. deprecated="not deprecated">
  10717. <param name="succeeded" type="boolean"/>
  10718. <param name="userName" type="java.lang.String"/>
  10719. <param name="addr" type="java.net.InetAddress"/>
  10720. <param name="cmd" type="java.lang.String"/>
  10721. <param name="src" type="java.lang.String"/>
  10722. <param name="dst" type="java.lang.String"/>
  10723. <param name="stat" type="org.apache.hadoop.fs.FileStatus"/>
  10724. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  10725. <param name="dtSecretManager" type="org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager"/>
  10726. <doc>
  10727. <![CDATA[Same as
  10728. {@link #logAuditEvent(boolean, String, InetAddress, String, String, String, FileStatus)}
  10729. with additional parameters related to logging delegation token tracking
  10730. IDs.
  10731. @param succeeded Whether authorization succeeded.
  10732. @param userName Name of the user executing the request.
  10733. @param addr Remote address of the request.
  10734. @param cmd The requested command.
  10735. @param src Path of affected source file.
  10736. @param dst Path of affected destination file (if any).
  10737. @param stat File information for operations that change the file's metadata
  10738. (permissions, owner, times, etc).
  10739. @param ugi UserGroupInformation of the current user, or null if not logging
  10740. token tracking information
  10741. @param dtSecretManager The token secret manager, or null if not logging
  10742. token tracking information]]>
  10743. </doc>
  10744. </method>
  10745. <doc>
  10746. <![CDATA[Extension of {@link AuditLogger}.]]>
  10747. </doc>
  10748. </class>
  10749. <!-- end class org.apache.hadoop.hdfs.server.namenode.HdfsAuditLogger -->
  10750. <!-- start class org.apache.hadoop.hdfs.server.namenode.INode.BlocksMapUpdateInfo -->
  10751. <class name="INode.BlocksMapUpdateInfo" extends="java.lang.Object"
  10752. abstract="false"
  10753. static="true" final="false" visibility="public"
  10754. deprecated="not deprecated">
  10755. <constructor name="BlocksMapUpdateInfo"
  10756. static="false" final="false" visibility="public"
  10757. deprecated="not deprecated">
  10758. </constructor>
  10759. <method name="getToDeleteList" return="java.util.List"
  10760. abstract="false" native="false" synchronized="false"
  10761. static="false" final="false" visibility="public"
  10762. deprecated="not deprecated">
  10763. <doc>
  10764. <![CDATA[@return The list of blocks that need to be removed from blocksMap]]>
  10765. </doc>
  10766. </method>
  10767. <method name="addDeleteBlock"
  10768. abstract="false" native="false" synchronized="false"
  10769. static="false" final="false" visibility="public"
  10770. deprecated="not deprecated">
  10771. <param name="toDelete" type="org.apache.hadoop.hdfs.protocol.Block"/>
  10772. <doc>
  10773. <![CDATA[Add a to-be-deleted block into the
  10774. {@link BlocksMapUpdateInfo#toDeleteList}
  10775. @param toDelete the to-be-deleted block]]>
  10776. </doc>
  10777. </method>
  10778. <method name="removeDeleteBlock"
  10779. abstract="false" native="false" synchronized="false"
  10780. static="false" final="false" visibility="public"
  10781. deprecated="not deprecated">
  10782. <param name="block" type="org.apache.hadoop.hdfs.protocol.Block"/>
  10783. </method>
  10784. <method name="clear"
  10785. abstract="false" native="false" synchronized="false"
  10786. static="false" final="false" visibility="public"
  10787. deprecated="not deprecated">
  10788. <doc>
  10789. <![CDATA[Clear {@link BlocksMapUpdateInfo#toDeleteList}]]>
  10790. </doc>
  10791. </method>
  10792. <doc>
  10793. <![CDATA[Information used for updating the blocksMap when deleting files.]]>
  10794. </doc>
  10795. </class>
  10796. <!-- end class org.apache.hadoop.hdfs.server.namenode.INode.BlocksMapUpdateInfo -->
  10797. <!-- start interface org.apache.hadoop.hdfs.server.namenode.INode.Feature -->
  10798. <interface name="INode.Feature" abstract="true"
  10799. static="true" final="false" visibility="public"
  10800. deprecated="not deprecated">
  10801. <doc>
  10802. <![CDATA[INode feature such as {@link FileUnderConstructionFeature}
  10803. and {@link DirectoryWithQuotaFeature}.]]>
  10804. </doc>
  10805. </interface>
  10806. <!-- end interface org.apache.hadoop.hdfs.server.namenode.INode.Feature -->
  10807. <!-- start class org.apache.hadoop.hdfs.server.namenode.INodeAttributeProvider -->
  10808. <class name="INodeAttributeProvider" extends="java.lang.Object"
  10809. abstract="true"
  10810. static="false" final="false" visibility="public"
  10811. deprecated="not deprecated">
  10812. <constructor name="INodeAttributeProvider"
  10813. static="false" final="false" visibility="public"
  10814. deprecated="not deprecated">
  10815. </constructor>
  10816. <method name="start"
  10817. abstract="true" native="false" synchronized="false"
  10818. static="false" final="false" visibility="public"
  10819. deprecated="not deprecated">
  10820. <doc>
  10821. <![CDATA[Initialize the provider. This method is called at NameNode startup
  10822. time.]]>
  10823. </doc>
  10824. </method>
  10825. <method name="stop"
  10826. abstract="true" native="false" synchronized="false"
  10827. static="false" final="false" visibility="public"
  10828. deprecated="not deprecated">
  10829. <doc>
  10830. <![CDATA[Shutdown the provider. This method is called at NameNode shutdown time.]]>
  10831. </doc>
  10832. </method>
  10833. <method name="getAttributes" return="org.apache.hadoop.hdfs.server.namenode.INodeAttributes"
  10834. abstract="false" native="false" synchronized="false"
  10835. static="false" final="false" visibility="public"
  10836. deprecated="not deprecated">
  10837. <param name="fullPath" type="java.lang.String"/>
  10838. <param name="inode" type="org.apache.hadoop.hdfs.server.namenode.INodeAttributes"/>
  10839. </method>
  10840. <method name="getAttributes" return="org.apache.hadoop.hdfs.server.namenode.INodeAttributes"
  10841. abstract="true" native="false" synchronized="false"
  10842. static="false" final="false" visibility="public"
  10843. deprecated="not deprecated">
  10844. <param name="pathElements" type="java.lang.String[]"/>
  10845. <param name="inode" type="org.apache.hadoop.hdfs.server.namenode.INodeAttributes"/>
  10846. </method>
  10847. <method name="getExternalAccessControlEnforcer" return="org.apache.hadoop.hdfs.server.namenode.INodeAttributeProvider.AccessControlEnforcer"
  10848. abstract="false" native="false" synchronized="false"
  10849. static="false" final="false" visibility="public"
  10850. deprecated="not deprecated">
  10851. <param name="defaultEnforcer" type="org.apache.hadoop.hdfs.server.namenode.INodeAttributeProvider.AccessControlEnforcer"/>
  10852. <doc>
  10853. <![CDATA[Can be over-ridden by implementations to provide a custom Access Control
  10854. Enforcer that can provide an alternate implementation of the
  10855. default permission checking logic.
  10856. @param defaultEnforcer The Default AccessControlEnforcer
  10857. @return The AccessControlEnforcer to use]]>
  10858. </doc>
  10859. </method>
  10860. </class>
  10861. <!-- end class org.apache.hadoop.hdfs.server.namenode.INodeAttributeProvider -->
  10862. <!-- start interface org.apache.hadoop.hdfs.server.namenode.INodeAttributeProvider.AccessControlEnforcer -->
  10863. <interface name="INodeAttributeProvider.AccessControlEnforcer" abstract="true"
  10864. static="true" final="false" visibility="public"
  10865. deprecated="not deprecated">
  10866. <method name="checkPermission"
  10867. abstract="true" native="false" synchronized="false"
  10868. static="false" final="false" visibility="public"
  10869. deprecated="not deprecated">
  10870. <param name="fsOwner" type="java.lang.String"/>
  10871. <param name="supergroup" type="java.lang.String"/>
  10872. <param name="callerUgi" type="org.apache.hadoop.security.UserGroupInformation"/>
  10873. <param name="inodeAttrs" type="org.apache.hadoop.hdfs.server.namenode.INodeAttributes[]"/>
  10874. <param name="inodes" type="org.apache.hadoop.hdfs.server.namenode.INode[]"/>
  10875. <param name="pathByNameArr" type="byte[][]"/>
  10876. <param name="snapshotId" type="int"/>
  10877. <param name="path" type="java.lang.String"/>
  10878. <param name="ancestorIndex" type="int"/>
  10879. <param name="doCheckOwner" type="boolean"/>
  10880. <param name="ancestorAccess" type="org.apache.hadoop.fs.permission.FsAction"/>
  10881. <param name="parentAccess" type="org.apache.hadoop.fs.permission.FsAction"/>
  10882. <param name="access" type="org.apache.hadoop.fs.permission.FsAction"/>
  10883. <param name="subAccess" type="org.apache.hadoop.fs.permission.FsAction"/>
  10884. <param name="ignoreEmptyDir" type="boolean"/>
  10885. <exception name="AccessControlException" type="org.apache.hadoop.security.AccessControlException"/>
  10886. <doc>
  10887. <![CDATA[Checks permission on a file system object. Has to throw an Exception
  10888. if the filesystem object is not accessessible by the calling Ugi.
  10889. @param fsOwner Filesystem owner (The Namenode user)
  10890. @param supergroup super user geoup
  10891. @param callerUgi UserGroupInformation of the caller
  10892. @param inodeAttrs Array of INode attributes for each path element in the
  10893. the path
  10894. @param inodes Array of INodes for each path element in the path
  10895. @param pathByNameArr Array of byte arrays of the LocalName
  10896. @param snapshotId the snapshotId of the requested path
  10897. @param path Path String
  10898. @param ancestorIndex Index of ancestor
  10899. @param doCheckOwner perform ownership check
  10900. @param ancestorAccess The access required by the ancestor of the path.
  10901. @param parentAccess The access required by the parent of the path.
  10902. @param access The access required by the path.
  10903. @param subAccess If path is a directory, It is the access required of
  10904. the path and all the sub-directories. If path is not a
  10905. directory, there should ideally be no effect.
  10906. @param ignoreEmptyDir Ignore permission checking for empty directory?
  10907. @throws AccessControlException]]>
  10908. </doc>
  10909. </method>
  10910. <doc>
  10911. <![CDATA[The AccessControlEnforcer allows implementations to override the
  10912. default File System permission checking logic enforced on a file system
  10913. object]]>
  10914. </doc>
  10915. </interface>
  10916. <!-- end interface org.apache.hadoop.hdfs.server.namenode.INodeAttributeProvider.AccessControlEnforcer -->
  10917. <!-- start class org.apache.hadoop.hdfs.server.namenode.INodeAttributes.SnapshotCopy -->
  10918. <class name="INodeAttributes.SnapshotCopy" extends="java.lang.Object"
  10919. abstract="true"
  10920. static="true" final="false" visibility="public"
  10921. deprecated="not deprecated">
  10922. <implements name="org.apache.hadoop.hdfs.server.namenode.INodeAttributes"/>
  10923. <method name="getLocalNameBytes" return="byte[]"
  10924. abstract="false" native="false" synchronized="false"
  10925. static="false" final="true" visibility="public"
  10926. deprecated="not deprecated">
  10927. </method>
  10928. <method name="getUserName" return="java.lang.String"
  10929. abstract="false" native="false" synchronized="false"
  10930. static="false" final="true" visibility="public"
  10931. deprecated="not deprecated">
  10932. </method>
  10933. <method name="getGroupName" return="java.lang.String"
  10934. abstract="false" native="false" synchronized="false"
  10935. static="false" final="true" visibility="public"
  10936. deprecated="not deprecated">
  10937. </method>
  10938. <method name="getFsPermission" return="org.apache.hadoop.fs.permission.FsPermission"
  10939. abstract="false" native="false" synchronized="false"
  10940. static="false" final="true" visibility="public"
  10941. deprecated="not deprecated">
  10942. </method>
  10943. <method name="getFsPermissionShort" return="short"
  10944. abstract="false" native="false" synchronized="false"
  10945. static="false" final="true" visibility="public"
  10946. deprecated="not deprecated">
  10947. </method>
  10948. <method name="getPermissionLong" return="long"
  10949. abstract="false" native="false" synchronized="false"
  10950. static="false" final="false" visibility="public"
  10951. deprecated="not deprecated">
  10952. </method>
  10953. <method name="getAclFeature" return="org.apache.hadoop.hdfs.server.namenode.AclFeature"
  10954. abstract="false" native="false" synchronized="false"
  10955. static="false" final="false" visibility="public"
  10956. deprecated="not deprecated">
  10957. </method>
  10958. <method name="getModificationTime" return="long"
  10959. abstract="false" native="false" synchronized="false"
  10960. static="false" final="true" visibility="public"
  10961. deprecated="not deprecated">
  10962. </method>
  10963. <method name="getAccessTime" return="long"
  10964. abstract="false" native="false" synchronized="false"
  10965. static="false" final="true" visibility="public"
  10966. deprecated="not deprecated">
  10967. </method>
  10968. <method name="getXAttrFeature" return="org.apache.hadoop.hdfs.server.namenode.XAttrFeature"
  10969. abstract="false" native="false" synchronized="false"
  10970. static="false" final="true" visibility="public"
  10971. deprecated="not deprecated">
  10972. </method>
  10973. <doc>
  10974. <![CDATA[A read-only copy of the inode attributes.]]>
  10975. </doc>
  10976. </class>
  10977. <!-- end class org.apache.hadoop.hdfs.server.namenode.INodeAttributes.SnapshotCopy -->
  10978. <!-- start class org.apache.hadoop.hdfs.server.namenode.INodeDirectory -->
  10979. <class name="INodeDirectory" extends="org.apache.hadoop.hdfs.server.namenode.INodeWithAdditionalFields"
  10980. abstract="false"
  10981. static="false" final="false" visibility="public"
  10982. deprecated="not deprecated">
  10983. <implements name="org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes"/>
  10984. <constructor name="INodeDirectory" type="long, byte[], org.apache.hadoop.fs.permission.PermissionStatus, long"
  10985. static="false" final="false" visibility="public"
  10986. deprecated="not deprecated">
  10987. <doc>
  10988. <![CDATA[constructor]]>
  10989. </doc>
  10990. </constructor>
  10991. <constructor name="INodeDirectory" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectory, boolean, org.apache.hadoop.hdfs.server.namenode.INode.Feature[]"
  10992. static="false" final="false" visibility="public"
  10993. deprecated="not deprecated">
  10994. <doc>
  10995. <![CDATA[Copy constructor
  10996. @param other The INodeDirectory to be copied
  10997. @param adopt Indicate whether or not need to set the parent field of child
  10998. INodes to the new node
  10999. @param featuresToCopy any number of features to copy to the new node.
  11000. The method will do a reference copy, not a deep copy.]]>
  11001. </doc>
  11002. </constructor>
  11003. <method name="valueOf" return="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"
  11004. abstract="false" native="false" synchronized="false"
  11005. static="true" final="false" visibility="public"
  11006. deprecated="not deprecated">
  11007. <param name="inode" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  11008. <param name="path" type="java.lang.Object"/>
  11009. <exception name="FileNotFoundException" type="java.io.FileNotFoundException"/>
  11010. <exception name="PathIsNotDirectoryException" type="org.apache.hadoop.fs.PathIsNotDirectoryException"/>
  11011. <doc>
  11012. <![CDATA[Cast INode to INodeDirectory.]]>
  11013. </doc>
  11014. </method>
  11015. <method name="isDirectory" return="boolean"
  11016. abstract="false" native="false" synchronized="false"
  11017. static="false" final="true" visibility="public"
  11018. deprecated="not deprecated">
  11019. <doc>
  11020. <![CDATA[@return true unconditionally.]]>
  11021. </doc>
  11022. </method>
  11023. <method name="asDirectory" return="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"
  11024. abstract="false" native="false" synchronized="false"
  11025. static="false" final="true" visibility="public"
  11026. deprecated="not deprecated">
  11027. <doc>
  11028. <![CDATA[@return this object.]]>
  11029. </doc>
  11030. </method>
  11031. <method name="getLocalStoragePolicyID" return="byte"
  11032. abstract="false" native="false" synchronized="false"
  11033. static="false" final="false" visibility="public"
  11034. deprecated="not deprecated">
  11035. </method>
  11036. <method name="getStoragePolicyID" return="byte"
  11037. abstract="false" native="false" synchronized="false"
  11038. static="false" final="false" visibility="public"
  11039. deprecated="not deprecated">
  11040. </method>
  11041. <method name="getQuotaCounts" return="org.apache.hadoop.hdfs.server.namenode.QuotaCounts"
  11042. abstract="false" native="false" synchronized="false"
  11043. static="false" final="false" visibility="public"
  11044. deprecated="not deprecated">
  11045. </method>
  11046. <method name="addSpaceConsumed"
  11047. abstract="false" native="false" synchronized="false"
  11048. static="false" final="false" visibility="public"
  11049. deprecated="not deprecated">
  11050. <param name="counts" type="org.apache.hadoop.hdfs.server.namenode.QuotaCounts"/>
  11051. <param name="verify" type="boolean"/>
  11052. <exception name="QuotaExceededException" type="org.apache.hadoop.hdfs.protocol.QuotaExceededException"/>
  11053. </method>
  11054. <method name="getDirectoryWithQuotaFeature" return="org.apache.hadoop.hdfs.server.namenode.DirectoryWithQuotaFeature"
  11055. abstract="false" native="false" synchronized="false"
  11056. static="false" final="true" visibility="public"
  11057. deprecated="not deprecated">
  11058. <doc>
  11059. <![CDATA[If the directory contains a {@link DirectoryWithQuotaFeature}, return it;
  11060. otherwise, return null.]]>
  11061. </doc>
  11062. </method>
  11063. <method name="addSnapshotFeature" return="org.apache.hadoop.hdfs.server.namenode.snapshot.DirectoryWithSnapshotFeature"
  11064. abstract="false" native="false" synchronized="false"
  11065. static="false" final="false" visibility="public"
  11066. deprecated="not deprecated">
  11067. <param name="diffs" type="org.apache.hadoop.hdfs.server.namenode.snapshot.DirectoryWithSnapshotFeature.DirectoryDiffList"/>
  11068. </method>
  11069. <method name="getDirectoryWithSnapshotFeature" return="org.apache.hadoop.hdfs.server.namenode.snapshot.DirectoryWithSnapshotFeature"
  11070. abstract="false" native="false" synchronized="false"
  11071. static="false" final="true" visibility="public"
  11072. deprecated="not deprecated">
  11073. <doc>
  11074. <![CDATA[If feature list contains a {@link DirectoryWithSnapshotFeature}, return it;
  11075. otherwise, return null.]]>
  11076. </doc>
  11077. </method>
  11078. <method name="isWithSnapshot" return="boolean"
  11079. abstract="false" native="false" synchronized="false"
  11080. static="false" final="true" visibility="public"
  11081. deprecated="not deprecated">
  11082. <doc>
  11083. <![CDATA[Is this file has the snapshot feature?]]>
  11084. </doc>
  11085. </method>
  11086. <method name="getDiffs" return="org.apache.hadoop.hdfs.server.namenode.snapshot.DirectoryWithSnapshotFeature.DirectoryDiffList"
  11087. abstract="false" native="false" synchronized="false"
  11088. static="false" final="false" visibility="public"
  11089. deprecated="not deprecated">
  11090. </method>
  11091. <method name="getSnapshotINode" return="org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes"
  11092. abstract="false" native="false" synchronized="false"
  11093. static="false" final="false" visibility="public"
  11094. deprecated="not deprecated">
  11095. <param name="snapshotId" type="int"/>
  11096. </method>
  11097. <method name="toDetailString" return="java.lang.String"
  11098. abstract="false" native="false" synchronized="false"
  11099. static="false" final="false" visibility="public"
  11100. deprecated="not deprecated">
  11101. </method>
  11102. <method name="getDirectorySnapshottableFeature" return="org.apache.hadoop.hdfs.server.namenode.snapshot.DirectorySnapshottableFeature"
  11103. abstract="false" native="false" synchronized="false"
  11104. static="false" final="false" visibility="public"
  11105. deprecated="not deprecated">
  11106. </method>
  11107. <method name="isSnapshottable" return="boolean"
  11108. abstract="false" native="false" synchronized="false"
  11109. static="false" final="false" visibility="public"
  11110. deprecated="not deprecated">
  11111. </method>
  11112. <method name="getSnapshot" return="org.apache.hadoop.hdfs.server.namenode.snapshot.Snapshot"
  11113. abstract="false" native="false" synchronized="false"
  11114. static="false" final="false" visibility="public"
  11115. deprecated="not deprecated">
  11116. <param name="snapshotName" type="byte[]"/>
  11117. </method>
  11118. <method name="setSnapshotQuota"
  11119. abstract="false" native="false" synchronized="false"
  11120. static="false" final="false" visibility="public"
  11121. deprecated="not deprecated">
  11122. <param name="snapshotQuota" type="int"/>
  11123. </method>
  11124. <method name="addSnapshot" return="org.apache.hadoop.hdfs.server.namenode.snapshot.Snapshot"
  11125. abstract="false" native="false" synchronized="false"
  11126. static="false" final="false" visibility="public"
  11127. deprecated="not deprecated">
  11128. <param name="id" type="int"/>
  11129. <param name="name" type="java.lang.String"/>
  11130. <exception name="SnapshotException" type="org.apache.hadoop.hdfs.protocol.SnapshotException"/>
  11131. <exception name="QuotaExceededException" type="org.apache.hadoop.hdfs.protocol.QuotaExceededException"/>
  11132. </method>
  11133. <method name="removeSnapshot" return="org.apache.hadoop.hdfs.server.namenode.snapshot.Snapshot"
  11134. abstract="false" native="false" synchronized="false"
  11135. static="false" final="false" visibility="public"
  11136. deprecated="not deprecated">
  11137. <param name="bsps" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockStoragePolicySuite"/>
  11138. <param name="snapshotName" type="java.lang.String"/>
  11139. <param name="collectedBlocks" type="org.apache.hadoop.hdfs.server.namenode.INode.BlocksMapUpdateInfo"/>
  11140. <param name="removedINodes" type="java.util.List"/>
  11141. <exception name="SnapshotException" type="org.apache.hadoop.hdfs.protocol.SnapshotException"/>
  11142. </method>
  11143. <method name="renameSnapshot"
  11144. abstract="false" native="false" synchronized="false"
  11145. static="false" final="false" visibility="public"
  11146. deprecated="not deprecated">
  11147. <param name="path" type="java.lang.String"/>
  11148. <param name="oldName" type="java.lang.String"/>
  11149. <param name="newName" type="java.lang.String"/>
  11150. <exception name="SnapshotException" type="org.apache.hadoop.hdfs.protocol.SnapshotException"/>
  11151. </method>
  11152. <method name="addSnapshottableFeature"
  11153. abstract="false" native="false" synchronized="false"
  11154. static="false" final="false" visibility="public"
  11155. deprecated="not deprecated">
  11156. <doc>
  11157. <![CDATA[add DirectorySnapshottableFeature]]>
  11158. </doc>
  11159. </method>
  11160. <method name="removeSnapshottableFeature"
  11161. abstract="false" native="false" synchronized="false"
  11162. static="false" final="false" visibility="public"
  11163. deprecated="not deprecated">
  11164. <doc>
  11165. <![CDATA[remove DirectorySnapshottableFeature]]>
  11166. </doc>
  11167. </method>
  11168. <method name="replaceChild"
  11169. abstract="false" native="false" synchronized="false"
  11170. static="false" final="false" visibility="public"
  11171. deprecated="not deprecated">
  11172. <param name="oldChild" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  11173. <param name="newChild" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  11174. <param name="inodeMap" type="org.apache.hadoop.hdfs.server.namenode.INodeMap"/>
  11175. <doc>
  11176. <![CDATA[Replace the given child with a new child. Note that we no longer need to
  11177. replace an normal INodeDirectory or INodeFile into an
  11178. INodeDirectoryWithSnapshot or INodeFileUnderConstruction. The only cases
  11179. for child replacement is for reference nodes.]]>
  11180. </doc>
  11181. </method>
  11182. <method name="recordModification"
  11183. abstract="false" native="false" synchronized="false"
  11184. static="false" final="false" visibility="public"
  11185. deprecated="not deprecated">
  11186. <param name="latestSnapshotId" type="int"/>
  11187. </method>
  11188. <method name="saveChild2Snapshot" return="org.apache.hadoop.hdfs.server.namenode.INode"
  11189. abstract="false" native="false" synchronized="false"
  11190. static="false" final="false" visibility="public"
  11191. deprecated="not deprecated">
  11192. <param name="child" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  11193. <param name="latestSnapshotId" type="int"/>
  11194. <param name="snapshotCopy" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  11195. <doc>
  11196. <![CDATA[Save the child to the latest snapshot.
  11197. @return the child inode, which may be replaced.]]>
  11198. </doc>
  11199. </method>
  11200. <method name="getChild" return="org.apache.hadoop.hdfs.server.namenode.INode"
  11201. abstract="false" native="false" synchronized="false"
  11202. static="false" final="false" visibility="public"
  11203. deprecated="not deprecated">
  11204. <param name="name" type="byte[]"/>
  11205. <param name="snapshotId" type="int"/>
  11206. <doc>
  11207. <![CDATA[@param name the name of the child
  11208. @param snapshotId
  11209. if it is not {@link Snapshot#CURRENT_STATE_ID}, get the result
  11210. from the corresponding snapshot; otherwise, get the result from
  11211. the current directory.
  11212. @return the child inode.]]>
  11213. </doc>
  11214. </method>
  11215. <method name="searchChild" return="int"
  11216. abstract="false" native="false" synchronized="false"
  11217. static="false" final="false" visibility="public"
  11218. deprecated="not deprecated">
  11219. <param name="inode" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  11220. <doc>
  11221. <![CDATA[Search for the given INode in the children list and the deleted lists of
  11222. snapshots.
  11223. @return {@link Snapshot#CURRENT_STATE_ID} if the inode is in the children
  11224. list; {@link Snapshot#NO_SNAPSHOT_ID} if the inode is neither in the
  11225. children list nor in any snapshot; otherwise the snapshot id of the
  11226. corresponding snapshot diff list.]]>
  11227. </doc>
  11228. </method>
  11229. <method name="getChildrenList" return="org.apache.hadoop.hdfs.util.ReadOnlyList"
  11230. abstract="false" native="false" synchronized="false"
  11231. static="false" final="false" visibility="public"
  11232. deprecated="not deprecated">
  11233. <param name="snapshotId" type="int"/>
  11234. <doc>
  11235. <![CDATA[@param snapshotId
  11236. if it is not {@link Snapshot#CURRENT_STATE_ID}, get the result
  11237. from the corresponding snapshot; otherwise, get the result from
  11238. the current directory.
  11239. @return the current children list if the specified snapshot is null;
  11240. otherwise, return the children list corresponding to the snapshot.
  11241. Note that the returned list is never null.]]>
  11242. </doc>
  11243. </method>
  11244. <method name="removeChild" return="boolean"
  11245. abstract="false" native="false" synchronized="false"
  11246. static="false" final="false" visibility="public"
  11247. deprecated="not deprecated">
  11248. <param name="child" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  11249. <param name="latestSnapshotId" type="int"/>
  11250. <doc>
  11251. <![CDATA[Remove the specified child from this directory.]]>
  11252. </doc>
  11253. </method>
  11254. <method name="removeChild" return="boolean"
  11255. abstract="false" native="false" synchronized="false"
  11256. static="false" final="false" visibility="public"
  11257. deprecated="not deprecated">
  11258. <param name="child" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  11259. <doc>
  11260. <![CDATA[Remove the specified child from this directory.
  11261. The basic remove method which actually calls children.remove(..).
  11262. @param child the child inode to be removed
  11263. @return true if the child is removed; false if the child is not found.]]>
  11264. </doc>
  11265. </method>
  11266. <method name="addChild" return="boolean"
  11267. abstract="false" native="false" synchronized="false"
  11268. static="false" final="false" visibility="public"
  11269. deprecated="not deprecated">
  11270. <param name="node" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  11271. <param name="setModTime" type="boolean"/>
  11272. <param name="latestSnapshotId" type="int"/>
  11273. <exception name="QuotaExceededException" type="org.apache.hadoop.hdfs.protocol.QuotaExceededException"/>
  11274. <doc>
  11275. <![CDATA[Add a child inode to the directory.
  11276. @param node INode to insert
  11277. @param setModTime set modification time for the parent node
  11278. not needed when replaying the addition and
  11279. the parent already has the proper mod time
  11280. @return false if the child with this name already exists;
  11281. otherwise, return true;]]>
  11282. </doc>
  11283. </method>
  11284. <method name="addChild" return="boolean"
  11285. abstract="false" native="false" synchronized="false"
  11286. static="false" final="false" visibility="public"
  11287. deprecated="not deprecated">
  11288. <param name="node" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  11289. </method>
  11290. <method name="computeQuotaUsage" return="org.apache.hadoop.hdfs.server.namenode.QuotaCounts"
  11291. abstract="false" native="false" synchronized="false"
  11292. static="false" final="false" visibility="public"
  11293. deprecated="not deprecated">
  11294. <param name="bsps" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockStoragePolicySuite"/>
  11295. <param name="blockStoragePolicyId" type="byte"/>
  11296. <param name="counts" type="org.apache.hadoop.hdfs.server.namenode.QuotaCounts"/>
  11297. <param name="useCache" type="boolean"/>
  11298. <param name="lastSnapshotId" type="int"/>
  11299. </method>
  11300. <method name="computeQuotaUsage4CurrentDirectory" return="org.apache.hadoop.hdfs.server.namenode.QuotaCounts"
  11301. abstract="false" native="false" synchronized="false"
  11302. static="false" final="false" visibility="public"
  11303. deprecated="not deprecated">
  11304. <param name="bsps" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockStoragePolicySuite"/>
  11305. <param name="storagePolicyId" type="byte"/>
  11306. <param name="counts" type="org.apache.hadoop.hdfs.server.namenode.QuotaCounts"/>
  11307. <doc>
  11308. <![CDATA[Add quota usage for this inode excluding children.]]>
  11309. </doc>
  11310. </method>
  11311. <method name="computeContentSummary" return="org.apache.hadoop.hdfs.server.namenode.ContentSummaryComputationContext"
  11312. abstract="false" native="false" synchronized="false"
  11313. static="false" final="false" visibility="public"
  11314. deprecated="not deprecated">
  11315. <param name="summary" type="org.apache.hadoop.hdfs.server.namenode.ContentSummaryComputationContext"/>
  11316. </method>
  11317. <method name="computeDirectoryContentSummary" return="org.apache.hadoop.hdfs.server.namenode.ContentSummaryComputationContext"
  11318. abstract="false" native="false" synchronized="false"
  11319. static="false" final="false" visibility="protected"
  11320. deprecated="not deprecated">
  11321. <param name="summary" type="org.apache.hadoop.hdfs.server.namenode.ContentSummaryComputationContext"/>
  11322. <param name="snapshotId" type="int"/>
  11323. </method>
  11324. <method name="undoRename4ScrParent"
  11325. abstract="false" native="false" synchronized="false"
  11326. static="false" final="false" visibility="public"
  11327. deprecated="not deprecated">
  11328. <param name="oldChild" type="org.apache.hadoop.hdfs.server.namenode.INodeReference"/>
  11329. <param name="newChild" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  11330. <exception name="QuotaExceededException" type="org.apache.hadoop.hdfs.protocol.QuotaExceededException"/>
  11331. <doc>
  11332. <![CDATA[This method is usually called by the undo section of rename.
  11333. Before calling this function, in the rename operation, we replace the
  11334. original src node (of the rename operation) with a reference node (WithName
  11335. instance) in both the children list and a created list, delete the
  11336. reference node from the children list, and add it to the corresponding
  11337. deleted list.
  11338. To undo the above operations, we have the following steps in particular:
  11339. <pre>
  11340. 1) remove the WithName node from the deleted list (if it exists)
  11341. 2) replace the WithName node in the created list with srcChild
  11342. 3) add srcChild back as a child of srcParent. Note that we already add
  11343. the node into the created list of a snapshot diff in step 2, we do not need
  11344. to add srcChild to the created list of the latest snapshot.
  11345. </pre>
  11346. We do not need to update quota usage because the old child is in the
  11347. deleted list before.
  11348. @param oldChild
  11349. The reference node to be removed/replaced
  11350. @param newChild
  11351. The node to be added back
  11352. @throws QuotaExceededException should not throw this exception]]>
  11353. </doc>
  11354. </method>
  11355. <method name="undoRename4DstParent"
  11356. abstract="false" native="false" synchronized="false"
  11357. static="false" final="false" visibility="public"
  11358. deprecated="not deprecated">
  11359. <param name="bsps" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockStoragePolicySuite"/>
  11360. <param name="deletedChild" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  11361. <param name="latestSnapshotId" type="int"/>
  11362. <exception name="QuotaExceededException" type="org.apache.hadoop.hdfs.protocol.QuotaExceededException"/>
  11363. <doc>
  11364. <![CDATA[Undo the rename operation for the dst tree, i.e., if the rename operation
  11365. (with OVERWRITE option) removes a file/dir from the dst tree, add it back
  11366. and delete possible record in the deleted list.]]>
  11367. </doc>
  11368. </method>
  11369. <method name="clearChildren"
  11370. abstract="false" native="false" synchronized="false"
  11371. static="false" final="false" visibility="public"
  11372. deprecated="not deprecated">
  11373. <doc>
  11374. <![CDATA[Set the children list to null.]]>
  11375. </doc>
  11376. </method>
  11377. <method name="clear"
  11378. abstract="false" native="false" synchronized="false"
  11379. static="false" final="false" visibility="public"
  11380. deprecated="not deprecated">
  11381. </method>
  11382. <method name="cleanSubtreeRecursively" return="org.apache.hadoop.hdfs.server.namenode.QuotaCounts"
  11383. abstract="false" native="false" synchronized="false"
  11384. static="false" final="false" visibility="public"
  11385. deprecated="not deprecated">
  11386. <param name="bsps" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockStoragePolicySuite"/>
  11387. <param name="snapshot" type="int"/>
  11388. <param name="prior" type="int"/>
  11389. <param name="collectedBlocks" type="org.apache.hadoop.hdfs.server.namenode.INode.BlocksMapUpdateInfo"/>
  11390. <param name="removedINodes" type="java.util.List"/>
  11391. <param name="excludedNodes" type="java.util.Map"/>
  11392. <doc>
  11393. <![CDATA[Call cleanSubtree(..) recursively down the subtree.]]>
  11394. </doc>
  11395. </method>
  11396. <method name="destroyAndCollectBlocks"
  11397. abstract="false" native="false" synchronized="false"
  11398. static="false" final="false" visibility="public"
  11399. deprecated="not deprecated">
  11400. <param name="bsps" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockStoragePolicySuite"/>
  11401. <param name="collectedBlocks" type="org.apache.hadoop.hdfs.server.namenode.INode.BlocksMapUpdateInfo"/>
  11402. <param name="removedINodes" type="java.util.List"/>
  11403. </method>
  11404. <method name="cleanSubtree" return="org.apache.hadoop.hdfs.server.namenode.QuotaCounts"
  11405. abstract="false" native="false" synchronized="false"
  11406. static="false" final="false" visibility="public"
  11407. deprecated="not deprecated">
  11408. <param name="bsps" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockStoragePolicySuite"/>
  11409. <param name="snapshotId" type="int"/>
  11410. <param name="priorSnapshotId" type="int"/>
  11411. <param name="collectedBlocks" type="org.apache.hadoop.hdfs.server.namenode.INode.BlocksMapUpdateInfo"/>
  11412. <param name="removedINodes" type="java.util.List"/>
  11413. </method>
  11414. <method name="metadataEquals" return="boolean"
  11415. abstract="false" native="false" synchronized="false"
  11416. static="false" final="false" visibility="public"
  11417. deprecated="not deprecated">
  11418. <param name="other" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes"/>
  11419. <doc>
  11420. <![CDATA[Compare the metadata with another INodeDirectory]]>
  11421. </doc>
  11422. </method>
  11423. <method name="dumpTreeRecursively"
  11424. abstract="false" native="false" synchronized="false"
  11425. static="false" final="false" visibility="public"
  11426. deprecated="not deprecated">
  11427. <param name="out" type="java.io.PrintWriter"/>
  11428. <param name="prefix" type="java.lang.StringBuilder"/>
  11429. <param name="snapshot" type="int"/>
  11430. </method>
  11431. <method name="dumpTreeRecursively"
  11432. abstract="false" native="false" synchronized="false"
  11433. static="true" final="false" visibility="public"
  11434. deprecated="not deprecated">
  11435. <param name="out" type="java.io.PrintWriter"/>
  11436. <param name="prefix" type="java.lang.StringBuilder"/>
  11437. <param name="subs" type="java.lang.Iterable"/>
  11438. <doc>
  11439. <![CDATA[Dump the given subtrees.
  11440. @param prefix The prefix string that each line should print.
  11441. @param subs The subtrees.]]>
  11442. </doc>
  11443. </method>
  11444. <method name="getChildrenNum" return="int"
  11445. abstract="false" native="false" synchronized="false"
  11446. static="false" final="true" visibility="public"
  11447. deprecated="not deprecated">
  11448. <param name="snapshotId" type="int"/>
  11449. </method>
  11450. <field name="DEFAULT_FILES_PER_DIRECTORY" type="int"
  11451. transient="false" volatile="false"
  11452. static="true" final="true" visibility="protected"
  11453. deprecated="not deprecated">
  11454. </field>
  11455. <doc>
  11456. <![CDATA[Directory INode class.]]>
  11457. </doc>
  11458. </class>
  11459. <!-- end class org.apache.hadoop.hdfs.server.namenode.INodeDirectory -->
  11460. <!-- start class org.apache.hadoop.hdfs.server.namenode.INodeDirectory.SnapshotAndINode -->
  11461. <class name="INodeDirectory.SnapshotAndINode" extends="java.lang.Object"
  11462. abstract="false"
  11463. static="true" final="false" visibility="public"
  11464. deprecated="not deprecated">
  11465. <constructor name="SnapshotAndINode" type="int, org.apache.hadoop.hdfs.server.namenode.INode"
  11466. static="false" final="false" visibility="public"
  11467. deprecated="not deprecated">
  11468. </constructor>
  11469. <field name="snapshotId" type="int"
  11470. transient="false" volatile="false"
  11471. static="false" final="true" visibility="public"
  11472. deprecated="not deprecated">
  11473. </field>
  11474. <field name="inode" type="org.apache.hadoop.hdfs.server.namenode.INode"
  11475. transient="false" volatile="false"
  11476. static="false" final="true" visibility="public"
  11477. deprecated="not deprecated">
  11478. </field>
  11479. <doc>
  11480. <![CDATA[A pair of Snapshot and INode objects.]]>
  11481. </doc>
  11482. </class>
  11483. <!-- end class org.apache.hadoop.hdfs.server.namenode.INodeDirectory.SnapshotAndINode -->
  11484. <!-- start class org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes.CopyWithQuota -->
  11485. <class name="INodeDirectoryAttributes.CopyWithQuota" extends="org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes.SnapshotCopy"
  11486. abstract="false"
  11487. static="true" final="false" visibility="public"
  11488. deprecated="not deprecated">
  11489. <constructor name="CopyWithQuota" type="byte[], org.apache.hadoop.fs.permission.PermissionStatus, org.apache.hadoop.hdfs.server.namenode.AclFeature, long, long, long, org.apache.hadoop.hdfs.util.EnumCounters, org.apache.hadoop.hdfs.server.namenode.XAttrFeature"
  11490. static="false" final="false" visibility="public"
  11491. deprecated="not deprecated">
  11492. </constructor>
  11493. <constructor name="CopyWithQuota" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"
  11494. static="false" final="false" visibility="public"
  11495. deprecated="not deprecated">
  11496. </constructor>
  11497. <method name="getQuotaCounts" return="org.apache.hadoop.hdfs.server.namenode.QuotaCounts"
  11498. abstract="false" native="false" synchronized="false"
  11499. static="false" final="false" visibility="public"
  11500. deprecated="not deprecated">
  11501. </method>
  11502. </class>
  11503. <!-- end class org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes.CopyWithQuota -->
  11504. <!-- start class org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes.SnapshotCopy -->
  11505. <class name="INodeDirectoryAttributes.SnapshotCopy" extends="org.apache.hadoop.hdfs.server.namenode.INodeAttributes.SnapshotCopy"
  11506. abstract="false"
  11507. static="true" final="false" visibility="public"
  11508. deprecated="not deprecated">
  11509. <implements name="org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes"/>
  11510. <constructor name="SnapshotCopy" type="byte[], org.apache.hadoop.fs.permission.PermissionStatus, org.apache.hadoop.hdfs.server.namenode.AclFeature, long, org.apache.hadoop.hdfs.server.namenode.XAttrFeature"
  11511. static="false" final="false" visibility="public"
  11512. deprecated="not deprecated">
  11513. </constructor>
  11514. <constructor name="SnapshotCopy" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"
  11515. static="false" final="false" visibility="public"
  11516. deprecated="not deprecated">
  11517. </constructor>
  11518. <method name="getQuotaCounts" return="org.apache.hadoop.hdfs.server.namenode.QuotaCounts"
  11519. abstract="false" native="false" synchronized="false"
  11520. static="false" final="false" visibility="public"
  11521. deprecated="not deprecated">
  11522. </method>
  11523. <method name="isDirectory" return="boolean"
  11524. abstract="false" native="false" synchronized="false"
  11525. static="false" final="false" visibility="public"
  11526. deprecated="not deprecated">
  11527. </method>
  11528. <method name="metadataEquals" return="boolean"
  11529. abstract="false" native="false" synchronized="false"
  11530. static="false" final="false" visibility="public"
  11531. deprecated="not deprecated">
  11532. <param name="other" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes"/>
  11533. </method>
  11534. <doc>
  11535. <![CDATA[A copy of the inode directory attributes]]>
  11536. </doc>
  11537. </class>
  11538. <!-- end class org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes.SnapshotCopy -->
  11539. <!-- start class org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes.SnapshotCopy -->
  11540. <class name="INodeFileAttributes.SnapshotCopy" extends="org.apache.hadoop.hdfs.server.namenode.INodeAttributes.SnapshotCopy"
  11541. abstract="false"
  11542. static="true" final="false" visibility="public"
  11543. deprecated="not deprecated">
  11544. <implements name="org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes"/>
  11545. <constructor name="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"
  11546. static="false" final="false" visibility="public"
  11547. deprecated="not deprecated">
  11548. </constructor>
  11549. <constructor name="SnapshotCopy" type="org.apache.hadoop.hdfs.server.namenode.INodeFile"
  11550. static="false" final="false" visibility="public"
  11551. deprecated="not deprecated">
  11552. </constructor>
  11553. <method name="isDirectory" return="boolean"
  11554. abstract="false" native="false" synchronized="false"
  11555. static="false" final="false" visibility="public"
  11556. deprecated="not deprecated">
  11557. </method>
  11558. <method name="getFileReplication" return="short"
  11559. abstract="false" native="false" synchronized="false"
  11560. static="false" final="false" visibility="public"
  11561. deprecated="not deprecated">
  11562. </method>
  11563. <method name="getPreferredBlockSize" return="long"
  11564. abstract="false" native="false" synchronized="false"
  11565. static="false" final="false" visibility="public"
  11566. deprecated="not deprecated">
  11567. </method>
  11568. <method name="getLocalStoragePolicyID" return="byte"
  11569. abstract="false" native="false" synchronized="false"
  11570. static="false" final="false" visibility="public"
  11571. deprecated="not deprecated">
  11572. </method>
  11573. <method name="getHeaderLong" return="long"
  11574. abstract="false" native="false" synchronized="false"
  11575. static="false" final="false" visibility="public"
  11576. deprecated="not deprecated">
  11577. </method>
  11578. <method name="metadataEquals" return="boolean"
  11579. abstract="false" native="false" synchronized="false"
  11580. static="false" final="false" visibility="public"
  11581. deprecated="not deprecated">
  11582. <param name="other" type="org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes"/>
  11583. </method>
  11584. <doc>
  11585. <![CDATA[A copy of the inode file attributes]]>
  11586. </doc>
  11587. </class>
  11588. <!-- end class org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes.SnapshotCopy -->
  11589. <!-- start class org.apache.hadoop.hdfs.server.namenode.INodeMap -->
  11590. <class name="INodeMap" extends="java.lang.Object"
  11591. abstract="false"
  11592. static="false" final="false" visibility="public"
  11593. deprecated="not deprecated">
  11594. <method name="getMapIterator" return="java.util.Iterator"
  11595. abstract="false" native="false" synchronized="false"
  11596. static="false" final="false" visibility="public"
  11597. deprecated="not deprecated">
  11598. </method>
  11599. <method name="put"
  11600. abstract="false" native="false" synchronized="false"
  11601. static="false" final="true" visibility="public"
  11602. deprecated="not deprecated">
  11603. <param name="inode" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  11604. <doc>
  11605. <![CDATA[Add an {@link INode} into the {@link INode} map. Replace the old value if
  11606. necessary.
  11607. @param inode The {@link INode} to be added to the map.]]>
  11608. </doc>
  11609. </method>
  11610. <method name="remove"
  11611. abstract="false" native="false" synchronized="false"
  11612. static="false" final="true" visibility="public"
  11613. deprecated="not deprecated">
  11614. <param name="inode" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  11615. <doc>
  11616. <![CDATA[Remove a {@link INode} from the map.
  11617. @param inode The {@link INode} to be removed.]]>
  11618. </doc>
  11619. </method>
  11620. <method name="size" return="int"
  11621. abstract="false" native="false" synchronized="false"
  11622. static="false" final="false" visibility="public"
  11623. deprecated="not deprecated">
  11624. <doc>
  11625. <![CDATA[@return The size of the map.]]>
  11626. </doc>
  11627. </method>
  11628. <method name="get" return="org.apache.hadoop.hdfs.server.namenode.INode"
  11629. abstract="false" native="false" synchronized="false"
  11630. static="false" final="false" visibility="public"
  11631. deprecated="not deprecated">
  11632. <param name="id" type="long"/>
  11633. <doc>
  11634. <![CDATA[Get the {@link INode} with the given id from the map.
  11635. @param id ID of the {@link INode}.
  11636. @return The {@link INode} in the map with the given id. Return null if no
  11637. such {@link INode} in the map.]]>
  11638. </doc>
  11639. </method>
  11640. <method name="clear"
  11641. abstract="false" native="false" synchronized="false"
  11642. static="false" final="false" visibility="public"
  11643. deprecated="not deprecated">
  11644. <doc>
  11645. <![CDATA[Clear the {@link #map}]]>
  11646. </doc>
  11647. </method>
  11648. <doc>
  11649. <![CDATA[Storing all the {@link INode}s and maintaining the mapping between INode ID
  11650. and INode.]]>
  11651. </doc>
  11652. </class>
  11653. <!-- end class org.apache.hadoop.hdfs.server.namenode.INodeMap -->
  11654. <!-- start class org.apache.hadoop.hdfs.server.namenode.INodeReference -->
  11655. <class name="INodeReference" extends="org.apache.hadoop.hdfs.server.namenode.INode"
  11656. abstract="true"
  11657. static="false" final="false" visibility="public"
  11658. deprecated="not deprecated">
  11659. <constructor name="INodeReference" type="org.apache.hadoop.hdfs.server.namenode.INode, org.apache.hadoop.hdfs.server.namenode.INode"
  11660. static="false" final="false" visibility="public"
  11661. deprecated="not deprecated">
  11662. </constructor>
  11663. <method name="tryRemoveReference" return="int"
  11664. abstract="false" native="false" synchronized="false"
  11665. static="true" final="false" visibility="public"
  11666. deprecated="not deprecated">
  11667. <param name="inode" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  11668. <doc>
  11669. <![CDATA[Try to remove the given reference and then return the reference count.
  11670. If the given inode is not a reference, return -1;]]>
  11671. </doc>
  11672. </method>
  11673. <method name="getReferredINode" return="org.apache.hadoop.hdfs.server.namenode.INode"
  11674. abstract="false" native="false" synchronized="false"
  11675. static="false" final="true" visibility="public"
  11676. deprecated="not deprecated">
  11677. </method>
  11678. <method name="setReferredINode"
  11679. abstract="false" native="false" synchronized="false"
  11680. static="false" final="true" visibility="public"
  11681. deprecated="not deprecated">
  11682. <param name="referred" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  11683. </method>
  11684. <method name="isReference" return="boolean"
  11685. abstract="false" native="false" synchronized="false"
  11686. static="false" final="true" visibility="public"
  11687. deprecated="not deprecated">
  11688. </method>
  11689. <method name="asReference" return="org.apache.hadoop.hdfs.server.namenode.INodeReference"
  11690. abstract="false" native="false" synchronized="false"
  11691. static="false" final="true" visibility="public"
  11692. deprecated="not deprecated">
  11693. </method>
  11694. <method name="isFile" return="boolean"
  11695. abstract="false" native="false" synchronized="false"
  11696. static="false" final="true" visibility="public"
  11697. deprecated="not deprecated">
  11698. </method>
  11699. <method name="asFile" return="org.apache.hadoop.hdfs.server.namenode.INodeFile"
  11700. abstract="false" native="false" synchronized="false"
  11701. static="false" final="true" visibility="public"
  11702. deprecated="not deprecated">
  11703. </method>
  11704. <method name="isDirectory" return="boolean"
  11705. abstract="false" native="false" synchronized="false"
  11706. static="false" final="true" visibility="public"
  11707. deprecated="not deprecated">
  11708. </method>
  11709. <method name="asDirectory" return="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"
  11710. abstract="false" native="false" synchronized="false"
  11711. static="false" final="true" visibility="public"
  11712. deprecated="not deprecated">
  11713. </method>
  11714. <method name="isSymlink" return="boolean"
  11715. abstract="false" native="false" synchronized="false"
  11716. static="false" final="true" visibility="public"
  11717. deprecated="not deprecated">
  11718. </method>
  11719. <method name="asSymlink" return="org.apache.hadoop.hdfs.server.namenode.INodeSymlink"
  11720. abstract="false" native="false" synchronized="false"
  11721. static="false" final="true" visibility="public"
  11722. deprecated="not deprecated">
  11723. </method>
  11724. <method name="getLocalNameBytes" return="byte[]"
  11725. abstract="false" native="false" synchronized="false"
  11726. static="false" final="false" visibility="public"
  11727. deprecated="not deprecated">
  11728. </method>
  11729. <method name="setLocalName"
  11730. abstract="false" native="false" synchronized="false"
  11731. static="false" final="false" visibility="public"
  11732. deprecated="not deprecated">
  11733. <param name="name" type="byte[]"/>
  11734. </method>
  11735. <method name="getId" return="long"
  11736. abstract="false" native="false" synchronized="false"
  11737. static="false" final="true" visibility="public"
  11738. deprecated="not deprecated">
  11739. </method>
  11740. <method name="getPermissionStatus" return="org.apache.hadoop.fs.permission.PermissionStatus"
  11741. abstract="false" native="false" synchronized="false"
  11742. static="false" final="true" visibility="public"
  11743. deprecated="not deprecated">
  11744. <param name="snapshotId" type="int"/>
  11745. </method>
  11746. <method name="getUserName" return="java.lang.String"
  11747. abstract="false" native="false" synchronized="false"
  11748. static="false" final="true" visibility="public"
  11749. deprecated="not deprecated">
  11750. <param name="snapshotId" type="int"/>
  11751. </method>
  11752. <method name="getGroupName" return="java.lang.String"
  11753. abstract="false" native="false" synchronized="false"
  11754. static="false" final="true" visibility="public"
  11755. deprecated="not deprecated">
  11756. <param name="snapshotId" type="int"/>
  11757. </method>
  11758. <method name="getFsPermission" return="org.apache.hadoop.fs.permission.FsPermission"
  11759. abstract="false" native="false" synchronized="false"
  11760. static="false" final="true" visibility="public"
  11761. deprecated="not deprecated">
  11762. <param name="snapshotId" type="int"/>
  11763. </method>
  11764. <method name="getFsPermissionShort" return="short"
  11765. abstract="false" native="false" synchronized="false"
  11766. static="false" final="true" visibility="public"
  11767. deprecated="not deprecated">
  11768. </method>
  11769. <method name="getPermissionLong" return="long"
  11770. abstract="false" native="false" synchronized="false"
  11771. static="false" final="false" visibility="public"
  11772. deprecated="not deprecated">
  11773. </method>
  11774. <method name="getModificationTime" return="long"
  11775. abstract="false" native="false" synchronized="false"
  11776. static="false" final="true" visibility="public"
  11777. deprecated="not deprecated">
  11778. <param name="snapshotId" type="int"/>
  11779. </method>
  11780. <method name="updateModificationTime" return="org.apache.hadoop.hdfs.server.namenode.INode"
  11781. abstract="false" native="false" synchronized="false"
  11782. static="false" final="true" visibility="public"
  11783. deprecated="not deprecated">
  11784. <param name="mtime" type="long"/>
  11785. <param name="latestSnapshotId" type="int"/>
  11786. </method>
  11787. <method name="setModificationTime"
  11788. abstract="false" native="false" synchronized="false"
  11789. static="false" final="true" visibility="public"
  11790. deprecated="not deprecated">
  11791. <param name="modificationTime" type="long"/>
  11792. </method>
  11793. <method name="getAccessTime" return="long"
  11794. abstract="false" native="false" synchronized="false"
  11795. static="false" final="true" visibility="public"
  11796. deprecated="not deprecated">
  11797. <param name="snapshotId" type="int"/>
  11798. </method>
  11799. <method name="setAccessTime"
  11800. abstract="false" native="false" synchronized="false"
  11801. static="false" final="true" visibility="public"
  11802. deprecated="not deprecated">
  11803. <param name="accessTime" type="long"/>
  11804. </method>
  11805. <method name="getStoragePolicyID" return="byte"
  11806. abstract="false" native="false" synchronized="false"
  11807. static="false" final="true" visibility="public"
  11808. deprecated="not deprecated">
  11809. </method>
  11810. <method name="getLocalStoragePolicyID" return="byte"
  11811. abstract="false" native="false" synchronized="false"
  11812. static="false" final="true" visibility="public"
  11813. deprecated="not deprecated">
  11814. </method>
  11815. <method name="cleanSubtree" return="org.apache.hadoop.hdfs.server.namenode.QuotaCounts"
  11816. abstract="false" native="false" synchronized="false"
  11817. static="false" final="false" visibility="public"
  11818. deprecated="not deprecated">
  11819. <param name="bsps" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockStoragePolicySuite"/>
  11820. <param name="snapshot" type="int"/>
  11821. <param name="prior" type="int"/>
  11822. <param name="collectedBlocks" type="org.apache.hadoop.hdfs.server.namenode.INode.BlocksMapUpdateInfo"/>
  11823. <param name="removedINodes" type="java.util.List"/>
  11824. </method>
  11825. <method name="destroyAndCollectBlocks"
  11826. abstract="false" native="false" synchronized="false"
  11827. static="false" final="false" visibility="public"
  11828. deprecated="not deprecated">
  11829. <param name="bsps" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockStoragePolicySuite"/>
  11830. <param name="collectedBlocks" type="org.apache.hadoop.hdfs.server.namenode.INode.BlocksMapUpdateInfo"/>
  11831. <param name="removedINodes" type="java.util.List"/>
  11832. </method>
  11833. <method name="computeContentSummary" return="org.apache.hadoop.hdfs.server.namenode.ContentSummaryComputationContext"
  11834. abstract="false" native="false" synchronized="false"
  11835. static="false" final="false" visibility="public"
  11836. deprecated="not deprecated">
  11837. <param name="summary" type="org.apache.hadoop.hdfs.server.namenode.ContentSummaryComputationContext"/>
  11838. </method>
  11839. <method name="computeQuotaUsage" return="org.apache.hadoop.hdfs.server.namenode.QuotaCounts"
  11840. abstract="false" native="false" synchronized="false"
  11841. static="false" final="false" visibility="public"
  11842. deprecated="not deprecated">
  11843. <param name="bsps" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockStoragePolicySuite"/>
  11844. <param name="blockStoragePolicyId" type="byte"/>
  11845. <param name="counts" type="org.apache.hadoop.hdfs.server.namenode.QuotaCounts"/>
  11846. <param name="useCache" type="boolean"/>
  11847. <param name="lastSnapshotId" type="int"/>
  11848. </method>
  11849. <method name="getSnapshotINode" return="org.apache.hadoop.hdfs.server.namenode.INodeAttributes"
  11850. abstract="false" native="false" synchronized="false"
  11851. static="false" final="true" visibility="public"
  11852. deprecated="not deprecated">
  11853. <param name="snapshotId" type="int"/>
  11854. </method>
  11855. <method name="getQuotaCounts" return="org.apache.hadoop.hdfs.server.namenode.QuotaCounts"
  11856. abstract="false" native="false" synchronized="false"
  11857. static="false" final="false" visibility="public"
  11858. deprecated="not deprecated">
  11859. </method>
  11860. <method name="clear"
  11861. abstract="false" native="false" synchronized="false"
  11862. static="false" final="true" visibility="public"
  11863. deprecated="not deprecated">
  11864. </method>
  11865. <method name="dumpTreeRecursively"
  11866. abstract="false" native="false" synchronized="false"
  11867. static="false" final="false" visibility="public"
  11868. deprecated="not deprecated">
  11869. <param name="out" type="java.io.PrintWriter"/>
  11870. <param name="prefix" type="java.lang.StringBuilder"/>
  11871. <param name="snapshot" type="int"/>
  11872. </method>
  11873. <method name="getDstSnapshotId" return="int"
  11874. abstract="false" native="false" synchronized="false"
  11875. static="false" final="false" visibility="public"
  11876. deprecated="not deprecated">
  11877. </method>
  11878. <doc>
  11879. <![CDATA[An anonymous reference to an inode.
  11880. This class and its subclasses are used to support multiple access paths.
  11881. A file/directory may have multiple access paths when it is stored in some
  11882. snapshots and it is renamed/moved to other locations.
  11883. For example,
  11884. (1) Suppose we have /abc/foo, say the inode of foo is inode(id=1000,name=foo)
  11885. (2) create snapshot s0 for /abc
  11886. (3) mv /abc/foo /xyz/bar, i.e. inode(id=1000,name=...) is renamed from "foo"
  11887. to "bar" and its parent becomes /xyz.
  11888. Then, /xyz/bar and /abc/.snapshot/s0/foo are two different access paths to
  11889. the same inode, inode(id=1000,name=bar).
  11890. With references, we have the following
  11891. - /abc has a child ref(id=1001,name=foo).
  11892. - /xyz has a child ref(id=1002)
  11893. - Both ref(id=1001,name=foo) and ref(id=1002) point to another reference,
  11894. ref(id=1003,count=2).
  11895. - Finally, ref(id=1003,count=2) points to inode(id=1000,name=bar).
  11896. Note 1: For a reference without name, e.g. ref(id=1002), it uses the name
  11897. of the referred inode.
  11898. Note 2: getParent() always returns the parent in the current state, e.g.
  11899. inode(id=1000,name=bar).getParent() returns /xyz but not /abc.]]>
  11900. </doc>
  11901. </class>
  11902. <!-- end class org.apache.hadoop.hdfs.server.namenode.INodeReference -->
  11903. <!-- start class org.apache.hadoop.hdfs.server.namenode.INodeReference.DstReference -->
  11904. <class name="INodeReference.DstReference" extends="org.apache.hadoop.hdfs.server.namenode.INodeReference"
  11905. abstract="false"
  11906. static="true" final="false" visibility="public"
  11907. deprecated="not deprecated">
  11908. <constructor name="DstReference" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectory, org.apache.hadoop.hdfs.server.namenode.INodeReference.WithCount, int"
  11909. static="false" final="false" visibility="public"
  11910. deprecated="not deprecated">
  11911. </constructor>
  11912. <method name="getDstSnapshotId" return="int"
  11913. abstract="false" native="false" synchronized="false"
  11914. static="false" final="true" visibility="public"
  11915. deprecated="not deprecated">
  11916. </method>
  11917. <method name="cleanSubtree" return="org.apache.hadoop.hdfs.server.namenode.QuotaCounts"
  11918. abstract="false" native="false" synchronized="false"
  11919. static="false" final="false" visibility="public"
  11920. deprecated="not deprecated">
  11921. <param name="bsps" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockStoragePolicySuite"/>
  11922. <param name="snapshot" type="int"/>
  11923. <param name="prior" type="int"/>
  11924. <param name="collectedBlocks" type="org.apache.hadoop.hdfs.server.namenode.INode.BlocksMapUpdateInfo"/>
  11925. <param name="removedINodes" type="java.util.List"/>
  11926. </method>
  11927. <method name="destroyAndCollectBlocks"
  11928. abstract="false" native="false" synchronized="false"
  11929. static="false" final="false" visibility="public"
  11930. deprecated="not deprecated">
  11931. <param name="bsps" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockStoragePolicySuite"/>
  11932. <param name="collectedBlocks" type="org.apache.hadoop.hdfs.server.namenode.INode.BlocksMapUpdateInfo"/>
  11933. <param name="removedINodes" type="java.util.List"/>
  11934. <doc>
  11935. <![CDATA[{@inheritDoc}
  11936. <br/>
  11937. To destroy a DstReference node, we first remove its link with the
  11938. referred node. If the reference number of the referred node is <= 0, we
  11939. destroy the subtree of the referred node. Otherwise, we clean the
  11940. referred node's subtree and delete everything created after the last
  11941. rename operation, i.e., everything outside of the scope of the prior
  11942. WithName nodes.]]>
  11943. </doc>
  11944. </method>
  11945. </class>
  11946. <!-- end class org.apache.hadoop.hdfs.server.namenode.INodeReference.DstReference -->
  11947. <!-- start class org.apache.hadoop.hdfs.server.namenode.INodeReference.WithCount -->
  11948. <class name="INodeReference.WithCount" extends="org.apache.hadoop.hdfs.server.namenode.INodeReference"
  11949. abstract="false"
  11950. static="true" final="false" visibility="public"
  11951. deprecated="not deprecated">
  11952. <constructor name="WithCount" type="org.apache.hadoop.hdfs.server.namenode.INodeReference, org.apache.hadoop.hdfs.server.namenode.INode"
  11953. static="false" final="false" visibility="public"
  11954. deprecated="not deprecated">
  11955. </constructor>
  11956. <method name="getReferenceCount" return="int"
  11957. abstract="false" native="false" synchronized="false"
  11958. static="false" final="false" visibility="public"
  11959. deprecated="not deprecated">
  11960. </method>
  11961. <method name="addReference"
  11962. abstract="false" native="false" synchronized="false"
  11963. static="false" final="false" visibility="public"
  11964. deprecated="not deprecated">
  11965. <param name="ref" type="org.apache.hadoop.hdfs.server.namenode.INodeReference"/>
  11966. <doc>
  11967. <![CDATA[Increment and then return the reference count.]]>
  11968. </doc>
  11969. </method>
  11970. <method name="removeReference"
  11971. abstract="false" native="false" synchronized="false"
  11972. static="false" final="false" visibility="public"
  11973. deprecated="not deprecated">
  11974. <param name="ref" type="org.apache.hadoop.hdfs.server.namenode.INodeReference"/>
  11975. <doc>
  11976. <![CDATA[Decrement and then return the reference count.]]>
  11977. </doc>
  11978. </method>
  11979. <method name="getParentRef" return="org.apache.hadoop.hdfs.server.namenode.INodeReference"
  11980. abstract="false" native="false" synchronized="false"
  11981. static="false" final="false" visibility="public"
  11982. deprecated="not deprecated">
  11983. <param name="snapshotId" type="int"/>
  11984. <doc>
  11985. <![CDATA[@return the WithName/DstReference node contained in the given snapshot.]]>
  11986. </doc>
  11987. </method>
  11988. <field name="WITHNAME_COMPARATOR" type="java.util.Comparator"
  11989. transient="false" volatile="false"
  11990. static="true" final="true" visibility="public"
  11991. deprecated="not deprecated">
  11992. <doc>
  11993. <![CDATA[Compare snapshot with IDs, where null indicates the current status thus
  11994. is greater than any non-null snapshot.]]>
  11995. </doc>
  11996. </field>
  11997. <doc>
  11998. <![CDATA[An anonymous reference with reference count.]]>
  11999. </doc>
  12000. </class>
  12001. <!-- end class org.apache.hadoop.hdfs.server.namenode.INodeReference.WithCount -->
  12002. <!-- start class org.apache.hadoop.hdfs.server.namenode.INodeReference.WithName -->
  12003. <class name="INodeReference.WithName" extends="org.apache.hadoop.hdfs.server.namenode.INodeReference"
  12004. abstract="false"
  12005. static="true" final="false" visibility="public"
  12006. deprecated="not deprecated">
  12007. <constructor name="WithName" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectory, org.apache.hadoop.hdfs.server.namenode.INodeReference.WithCount, byte[], int"
  12008. static="false" final="false" visibility="public"
  12009. deprecated="not deprecated">
  12010. </constructor>
  12011. <method name="getLocalNameBytes" return="byte[]"
  12012. abstract="false" native="false" synchronized="false"
  12013. static="false" final="true" visibility="public"
  12014. deprecated="not deprecated">
  12015. </method>
  12016. <method name="setLocalName"
  12017. abstract="false" native="false" synchronized="false"
  12018. static="false" final="true" visibility="public"
  12019. deprecated="not deprecated">
  12020. <param name="name" type="byte[]"/>
  12021. </method>
  12022. <method name="getLastSnapshotId" return="int"
  12023. abstract="false" native="false" synchronized="false"
  12024. static="false" final="false" visibility="public"
  12025. deprecated="not deprecated">
  12026. </method>
  12027. <method name="computeContentSummary" return="org.apache.hadoop.hdfs.server.namenode.ContentSummaryComputationContext"
  12028. abstract="false" native="false" synchronized="false"
  12029. static="false" final="true" visibility="public"
  12030. deprecated="not deprecated">
  12031. <param name="summary" type="org.apache.hadoop.hdfs.server.namenode.ContentSummaryComputationContext"/>
  12032. </method>
  12033. <method name="computeQuotaUsage" return="org.apache.hadoop.hdfs.server.namenode.QuotaCounts"
  12034. abstract="false" native="false" synchronized="false"
  12035. static="false" final="true" visibility="public"
  12036. deprecated="not deprecated">
  12037. <param name="bsps" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockStoragePolicySuite"/>
  12038. <param name="blockStoragePolicyId" type="byte"/>
  12039. <param name="counts" type="org.apache.hadoop.hdfs.server.namenode.QuotaCounts"/>
  12040. <param name="useCache" type="boolean"/>
  12041. <param name="lastSnapshotId" type="int"/>
  12042. </method>
  12043. <method name="cleanSubtree" return="org.apache.hadoop.hdfs.server.namenode.QuotaCounts"
  12044. abstract="false" native="false" synchronized="false"
  12045. static="false" final="false" visibility="public"
  12046. deprecated="not deprecated">
  12047. <param name="bsps" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockStoragePolicySuite"/>
  12048. <param name="snapshot" type="int"/>
  12049. <param name="prior" type="int"/>
  12050. <param name="collectedBlocks" type="org.apache.hadoop.hdfs.server.namenode.INode.BlocksMapUpdateInfo"/>
  12051. <param name="removedINodes" type="java.util.List"/>
  12052. </method>
  12053. <method name="destroyAndCollectBlocks"
  12054. abstract="false" native="false" synchronized="false"
  12055. static="false" final="false" visibility="public"
  12056. deprecated="not deprecated">
  12057. <param name="bsps" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockStoragePolicySuite"/>
  12058. <param name="collectedBlocks" type="org.apache.hadoop.hdfs.server.namenode.INode.BlocksMapUpdateInfo"/>
  12059. <param name="removedINodes" type="java.util.List"/>
  12060. </method>
  12061. <doc>
  12062. <![CDATA[A reference with a fixed name.]]>
  12063. </doc>
  12064. </class>
  12065. <!-- end class org.apache.hadoop.hdfs.server.namenode.INodeReference.WithName -->
  12066. <!-- start class org.apache.hadoop.hdfs.server.namenode.INodesInPath -->
  12067. <class name="INodesInPath" extends="java.lang.Object"
  12068. abstract="false"
  12069. static="false" final="false" visibility="public"
  12070. deprecated="not deprecated">
  12071. <method name="replace" return="org.apache.hadoop.hdfs.server.namenode.INodesInPath"
  12072. abstract="false" native="false" synchronized="false"
  12073. static="true" final="false" visibility="public"
  12074. deprecated="not deprecated">
  12075. <param name="iip" type="org.apache.hadoop.hdfs.server.namenode.INodesInPath"/>
  12076. <param name="pos" type="int"/>
  12077. <param name="inode" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  12078. <doc>
  12079. <![CDATA[Replace an inode of the given INodesInPath in the given position. We do a
  12080. deep copy of the INode array.
  12081. @param pos the position of the replacement
  12082. @param inode the new inode
  12083. @return a new INodesInPath instance]]>
  12084. </doc>
  12085. </method>
  12086. <method name="append" return="org.apache.hadoop.hdfs.server.namenode.INodesInPath"
  12087. abstract="false" native="false" synchronized="false"
  12088. static="true" final="false" visibility="public"
  12089. deprecated="not deprecated">
  12090. <param name="iip" type="org.apache.hadoop.hdfs.server.namenode.INodesInPath"/>
  12091. <param name="child" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  12092. <param name="childName" type="byte[]"/>
  12093. <doc>
  12094. <![CDATA[Extend a given INodesInPath with a child INode. The child INode will be
  12095. appended to the end of the new INodesInPath.]]>
  12096. </doc>
  12097. </method>
  12098. <method name="getLatestSnapshotId" return="int"
  12099. abstract="false" native="false" synchronized="false"
  12100. static="false" final="false" visibility="public"
  12101. deprecated="not deprecated">
  12102. <doc>
  12103. <![CDATA[For non-snapshot paths, return the latest snapshot id found in the path.]]>
  12104. </doc>
  12105. </method>
  12106. <method name="getPathSnapshotId" return="int"
  12107. abstract="false" native="false" synchronized="false"
  12108. static="false" final="false" visibility="public"
  12109. deprecated="not deprecated">
  12110. <doc>
  12111. <![CDATA[For snapshot paths, return the id of the snapshot specified in the path.
  12112. For non-snapshot paths, return {@link Snapshot#CURRENT_STATE_ID}.]]>
  12113. </doc>
  12114. </method>
  12115. <method name="getINode" return="org.apache.hadoop.hdfs.server.namenode.INode"
  12116. abstract="false" native="false" synchronized="false"
  12117. static="false" final="false" visibility="public"
  12118. deprecated="not deprecated">
  12119. <param name="i" type="int"/>
  12120. <doc>
  12121. <![CDATA[@return the i-th inode if i >= 0;
  12122. otherwise, i < 0, return the (length + i)-th inode.]]>
  12123. </doc>
  12124. </method>
  12125. <method name="getLastINode" return="org.apache.hadoop.hdfs.server.namenode.INode"
  12126. abstract="false" native="false" synchronized="false"
  12127. static="false" final="false" visibility="public"
  12128. deprecated="not deprecated">
  12129. <doc>
  12130. <![CDATA[@return the last inode.]]>
  12131. </doc>
  12132. </method>
  12133. <method name="getPathComponents" return="byte[][]"
  12134. abstract="false" native="false" synchronized="false"
  12135. static="false" final="false" visibility="public"
  12136. deprecated="not deprecated">
  12137. </method>
  12138. <method name="getPath" return="java.lang.String"
  12139. abstract="false" native="false" synchronized="false"
  12140. static="false" final="false" visibility="public"
  12141. deprecated="not deprecated">
  12142. <doc>
  12143. <![CDATA[@return the full path in string form]]>
  12144. </doc>
  12145. </method>
  12146. <method name="getParentPath" return="java.lang.String"
  12147. abstract="false" native="false" synchronized="false"
  12148. static="false" final="false" visibility="public"
  12149. deprecated="not deprecated">
  12150. </method>
  12151. <method name="getPath" return="java.lang.String"
  12152. abstract="false" native="false" synchronized="false"
  12153. static="false" final="false" visibility="public"
  12154. deprecated="not deprecated">
  12155. <param name="pos" type="int"/>
  12156. </method>
  12157. <method name="getPath" return="java.util.List"
  12158. abstract="false" native="false" synchronized="false"
  12159. static="false" final="false" visibility="public"
  12160. deprecated="not deprecated">
  12161. <param name="offset" type="int"/>
  12162. <param name="length" type="int"/>
  12163. <doc>
  12164. <![CDATA[@param offset start endpoint (inclusive)
  12165. @param length number of path components
  12166. @return sub-list of the path]]>
  12167. </doc>
  12168. </method>
  12169. <method name="length" return="int"
  12170. abstract="false" native="false" synchronized="false"
  12171. static="false" final="false" visibility="public"
  12172. deprecated="not deprecated">
  12173. </method>
  12174. <method name="getReadOnlyINodes" return="java.util.List"
  12175. abstract="false" native="false" synchronized="false"
  12176. static="false" final="false" visibility="public"
  12177. deprecated="not deprecated">
  12178. </method>
  12179. <method name="getINodesArray" return="org.apache.hadoop.hdfs.server.namenode.INode[]"
  12180. abstract="false" native="false" synchronized="false"
  12181. static="false" final="false" visibility="public"
  12182. deprecated="not deprecated">
  12183. </method>
  12184. <method name="getParentINodesInPath" return="org.apache.hadoop.hdfs.server.namenode.INodesInPath"
  12185. abstract="false" native="false" synchronized="false"
  12186. static="false" final="false" visibility="public"
  12187. deprecated="not deprecated">
  12188. <doc>
  12189. <![CDATA[@return an INodesInPath instance containing all the INodes in the parent
  12190. path. We do a deep copy here.]]>
  12191. </doc>
  12192. </method>
  12193. <method name="getExistingINodes" return="org.apache.hadoop.hdfs.server.namenode.INodesInPath"
  12194. abstract="false" native="false" synchronized="false"
  12195. static="false" final="false" visibility="public"
  12196. deprecated="not deprecated">
  12197. <doc>
  12198. <![CDATA[@return a new INodesInPath instance that only contains exisitng INodes.
  12199. Note that this method only handles non-snapshot paths.]]>
  12200. </doc>
  12201. </method>
  12202. <method name="toString" return="java.lang.String"
  12203. abstract="false" native="false" synchronized="false"
  12204. static="false" final="false" visibility="public"
  12205. deprecated="not deprecated">
  12206. </method>
  12207. <field name="LOG" type="org.apache.commons.logging.Log"
  12208. transient="false" volatile="false"
  12209. static="true" final="true" visibility="public"
  12210. deprecated="not deprecated">
  12211. </field>
  12212. <doc>
  12213. <![CDATA[Contains INodes information resolved from a given path.]]>
  12214. </doc>
  12215. </class>
  12216. <!-- end class org.apache.hadoop.hdfs.server.namenode.INodesInPath -->
  12217. <!-- start class org.apache.hadoop.hdfs.server.namenode.JournalManager.CorruptionException -->
  12218. <class name="JournalManager.CorruptionException" extends="java.io.IOException"
  12219. abstract="false"
  12220. static="true" final="false" visibility="public"
  12221. deprecated="not deprecated">
  12222. <constructor name="CorruptionException" type="java.lang.String"
  12223. static="false" final="false" visibility="public"
  12224. deprecated="not deprecated">
  12225. </constructor>
  12226. <doc>
  12227. <![CDATA[Indicate that a journal is cannot be used to load a certain range of
  12228. edits.
  12229. This exception occurs in the case of a gap in the transactions, or a
  12230. corrupt edit file.]]>
  12231. </doc>
  12232. </class>
  12233. <!-- end class org.apache.hadoop.hdfs.server.namenode.JournalManager.CorruptionException -->
  12234. <!-- start class org.apache.hadoop.hdfs.server.namenode.JournalSet -->
  12235. <class name="JournalSet" extends="java.lang.Object"
  12236. abstract="false"
  12237. static="false" final="false" visibility="public"
  12238. deprecated="not deprecated">
  12239. <implements name="org.apache.hadoop.hdfs.server.namenode.JournalManager"/>
  12240. <method name="format"
  12241. abstract="false" native="false" synchronized="false"
  12242. static="false" final="false" visibility="public"
  12243. deprecated="not deprecated">
  12244. <param name="nsInfo" type="org.apache.hadoop.hdfs.server.protocol.NamespaceInfo"/>
  12245. <exception name="IOException" type="java.io.IOException"/>
  12246. </method>
  12247. <method name="hasSomeData" return="boolean"
  12248. abstract="false" native="false" synchronized="false"
  12249. static="false" final="false" visibility="public"
  12250. deprecated="not deprecated">
  12251. <exception name="IOException" type="java.io.IOException"/>
  12252. </method>
  12253. <method name="startLogSegment" return="org.apache.hadoop.hdfs.server.namenode.EditLogOutputStream"
  12254. abstract="false" native="false" synchronized="false"
  12255. static="false" final="false" visibility="public"
  12256. deprecated="not deprecated">
  12257. <param name="txId" type="long"/>
  12258. <param name="layoutVersion" type="int"/>
  12259. <exception name="IOException" type="java.io.IOException"/>
  12260. </method>
  12261. <method name="finalizeLogSegment"
  12262. abstract="false" native="false" synchronized="false"
  12263. static="false" final="false" visibility="public"
  12264. deprecated="not deprecated">
  12265. <param name="firstTxId" type="long"/>
  12266. <param name="lastTxId" type="long"/>
  12267. <exception name="IOException" type="java.io.IOException"/>
  12268. </method>
  12269. <method name="close"
  12270. abstract="false" native="false" synchronized="false"
  12271. static="false" final="false" visibility="public"
  12272. deprecated="not deprecated">
  12273. <exception name="IOException" type="java.io.IOException"/>
  12274. </method>
  12275. <method name="isOpen" return="boolean"
  12276. abstract="false" native="false" synchronized="false"
  12277. static="false" final="false" visibility="public"
  12278. deprecated="not deprecated">
  12279. </method>
  12280. <method name="selectInputStreams"
  12281. abstract="false" native="false" synchronized="false"
  12282. static="false" final="false" visibility="public"
  12283. deprecated="not deprecated">
  12284. <param name="streams" type="java.util.Collection"/>
  12285. <param name="fromTxId" type="long"/>
  12286. <param name="inProgressOk" type="boolean"/>
  12287. <exception name="IOException" type="java.io.IOException"/>
  12288. <doc>
  12289. <![CDATA[In this function, we get a bunch of streams from all of our JournalManager
  12290. objects. Then we add these to the collection one by one.
  12291. @param streams The collection to add the streams to. It may or
  12292. may not be sorted-- this is up to the caller.
  12293. @param fromTxId The transaction ID to start looking for streams at
  12294. @param inProgressOk Should we consider unfinalized streams?]]>
  12295. </doc>
  12296. </method>
  12297. <method name="chainAndMakeRedundantStreams"
  12298. abstract="false" native="false" synchronized="false"
  12299. static="true" final="false" visibility="public"
  12300. deprecated="not deprecated">
  12301. <param name="outStreams" type="java.util.Collection"/>
  12302. <param name="allStreams" type="java.util.PriorityQueue"/>
  12303. <param name="fromTxId" type="long"/>
  12304. </method>
  12305. <method name="isEmpty" return="boolean"
  12306. abstract="false" native="false" synchronized="false"
  12307. static="false" final="false" visibility="public"
  12308. deprecated="not deprecated">
  12309. <doc>
  12310. <![CDATA[Returns true if there are no journals, all redundant journals are disabled,
  12311. or any required journals are disabled.
  12312. @return True if there no journals, all redundant journals are disabled,
  12313. or any required journals are disabled.]]>
  12314. </doc>
  12315. </method>
  12316. <method name="setOutputBufferCapacity"
  12317. abstract="false" native="false" synchronized="false"
  12318. static="false" final="false" visibility="public"
  12319. deprecated="not deprecated">
  12320. <param name="size" type="int"/>
  12321. </method>
  12322. <method name="purgeLogsOlderThan"
  12323. abstract="false" native="false" synchronized="false"
  12324. static="false" final="false" visibility="public"
  12325. deprecated="not deprecated">
  12326. <param name="minTxIdToKeep" type="long"/>
  12327. <exception name="IOException" type="java.io.IOException"/>
  12328. </method>
  12329. <method name="recoverUnfinalizedSegments"
  12330. abstract="false" native="false" synchronized="false"
  12331. static="false" final="false" visibility="public"
  12332. deprecated="not deprecated">
  12333. <exception name="IOException" type="java.io.IOException"/>
  12334. </method>
  12335. <method name="getEditLogManifest" return="org.apache.hadoop.hdfs.server.protocol.RemoteEditLogManifest"
  12336. abstract="false" native="false" synchronized="true"
  12337. static="false" final="false" visibility="public"
  12338. deprecated="not deprecated">
  12339. <param name="fromTxId" type="long"/>
  12340. <doc>
  12341. <![CDATA[Return a manifest of what finalized edit logs are available. All available
  12342. edit logs are returned starting from the transaction id passed. If
  12343. 'fromTxId' falls in the middle of a log, that log is returned as well.
  12344. @param fromTxId Starting transaction id to read the logs.
  12345. @return RemoteEditLogManifest object.]]>
  12346. </doc>
  12347. </method>
  12348. <method name="discardSegments"
  12349. abstract="false" native="false" synchronized="false"
  12350. static="false" final="false" visibility="public"
  12351. deprecated="not deprecated">
  12352. <param name="startTxId" type="long"/>
  12353. <exception name="IOException" type="java.io.IOException"/>
  12354. </method>
  12355. <method name="doPreUpgrade"
  12356. abstract="false" native="false" synchronized="false"
  12357. static="false" final="false" visibility="public"
  12358. deprecated="not deprecated">
  12359. <exception name="IOException" type="java.io.IOException"/>
  12360. </method>
  12361. <method name="doUpgrade"
  12362. abstract="false" native="false" synchronized="false"
  12363. static="false" final="false" visibility="public"
  12364. deprecated="not deprecated">
  12365. <param name="storage" type="org.apache.hadoop.hdfs.server.common.Storage"/>
  12366. <exception name="IOException" type="java.io.IOException"/>
  12367. </method>
  12368. <method name="doFinalize"
  12369. abstract="false" native="false" synchronized="false"
  12370. static="false" final="false" visibility="public"
  12371. deprecated="not deprecated">
  12372. <exception name="IOException" type="java.io.IOException"/>
  12373. </method>
  12374. <method name="canRollBack" return="boolean"
  12375. abstract="false" native="false" synchronized="false"
  12376. static="false" final="false" visibility="public"
  12377. deprecated="not deprecated">
  12378. <param name="storage" type="org.apache.hadoop.hdfs.server.common.StorageInfo"/>
  12379. <param name="prevStorage" type="org.apache.hadoop.hdfs.server.common.StorageInfo"/>
  12380. <param name="targetLayoutVersion" type="int"/>
  12381. <exception name="IOException" type="java.io.IOException"/>
  12382. </method>
  12383. <method name="doRollback"
  12384. abstract="false" native="false" synchronized="false"
  12385. static="false" final="false" visibility="public"
  12386. deprecated="not deprecated">
  12387. <exception name="IOException" type="java.io.IOException"/>
  12388. </method>
  12389. <method name="getJournalCTime" return="long"
  12390. abstract="false" native="false" synchronized="false"
  12391. static="false" final="false" visibility="public"
  12392. deprecated="not deprecated">
  12393. <exception name="IOException" type="java.io.IOException"/>
  12394. </method>
  12395. <field name="EDIT_LOG_INPUT_STREAM_COMPARATOR" type="java.util.Comparator"
  12396. transient="false" volatile="false"
  12397. static="true" final="true" visibility="public"
  12398. deprecated="not deprecated">
  12399. </field>
  12400. <doc>
  12401. <![CDATA[Manages a collection of Journals. None of the methods are synchronized, it is
  12402. assumed that FSEditLog methods, that use this class, use proper
  12403. synchronization.]]>
  12404. </doc>
  12405. </class>
  12406. <!-- end class org.apache.hadoop.hdfs.server.namenode.JournalSet -->
  12407. <!-- start class org.apache.hadoop.hdfs.server.namenode.MetaRecoveryContext.RequestStopException -->
  12408. <class name="MetaRecoveryContext.RequestStopException" extends="java.io.IOException"
  12409. abstract="false"
  12410. static="true" final="false" visibility="public"
  12411. deprecated="not deprecated">
  12412. <constructor name="RequestStopException" type="java.lang.String"
  12413. static="false" final="false" visibility="public"
  12414. deprecated="not deprecated">
  12415. </constructor>
  12416. <doc>
  12417. <![CDATA[Exception thrown when the user has requested processing to stop.]]>
  12418. </doc>
  12419. </class>
  12420. <!-- end class org.apache.hadoop.hdfs.server.namenode.MetaRecoveryContext.RequestStopException -->
  12421. <!-- start class org.apache.hadoop.hdfs.server.namenode.NameNode.NameNodeHAContext -->
  12422. <class name="NameNode.NameNodeHAContext" extends="java.lang.Object"
  12423. abstract="false"
  12424. static="false" final="false" visibility="protected"
  12425. deprecated="not deprecated">
  12426. <implements name="org.apache.hadoop.hdfs.server.namenode.ha.HAContext"/>
  12427. <constructor name="NameNodeHAContext"
  12428. static="false" final="false" visibility="protected"
  12429. deprecated="not deprecated">
  12430. </constructor>
  12431. <method name="setState"
  12432. abstract="false" native="false" synchronized="false"
  12433. static="false" final="false" visibility="public"
  12434. deprecated="not deprecated">
  12435. <param name="s" type="org.apache.hadoop.hdfs.server.namenode.ha.HAState"/>
  12436. </method>
  12437. <method name="getState" return="org.apache.hadoop.hdfs.server.namenode.ha.HAState"
  12438. abstract="false" native="false" synchronized="false"
  12439. static="false" final="false" visibility="public"
  12440. deprecated="not deprecated">
  12441. </method>
  12442. <method name="startActiveServices"
  12443. abstract="false" native="false" synchronized="false"
  12444. static="false" final="false" visibility="public"
  12445. deprecated="not deprecated">
  12446. <exception name="IOException" type="java.io.IOException"/>
  12447. </method>
  12448. <method name="stopActiveServices"
  12449. abstract="false" native="false" synchronized="false"
  12450. static="false" final="false" visibility="public"
  12451. deprecated="not deprecated">
  12452. <exception name="IOException" type="java.io.IOException"/>
  12453. </method>
  12454. <method name="startStandbyServices"
  12455. abstract="false" native="false" synchronized="false"
  12456. static="false" final="false" visibility="public"
  12457. deprecated="not deprecated">
  12458. <exception name="IOException" type="java.io.IOException"/>
  12459. </method>
  12460. <method name="prepareToStopStandbyServices"
  12461. abstract="false" native="false" synchronized="false"
  12462. static="false" final="false" visibility="public"
  12463. deprecated="not deprecated">
  12464. <exception name="ServiceFailedException" type="org.apache.hadoop.ha.ServiceFailedException"/>
  12465. </method>
  12466. <method name="stopStandbyServices"
  12467. abstract="false" native="false" synchronized="false"
  12468. static="false" final="false" visibility="public"
  12469. deprecated="not deprecated">
  12470. <exception name="IOException" type="java.io.IOException"/>
  12471. </method>
  12472. <method name="writeLock"
  12473. abstract="false" native="false" synchronized="false"
  12474. static="false" final="false" visibility="public"
  12475. deprecated="not deprecated">
  12476. </method>
  12477. <method name="writeUnlock"
  12478. abstract="false" native="false" synchronized="false"
  12479. static="false" final="false" visibility="public"
  12480. deprecated="not deprecated">
  12481. </method>
  12482. <method name="checkOperation"
  12483. abstract="false" native="false" synchronized="false"
  12484. static="false" final="false" visibility="public"
  12485. deprecated="not deprecated">
  12486. <param name="op" type="org.apache.hadoop.hdfs.server.namenode.NameNode.OperationCategory"/>
  12487. <exception name="StandbyException" type="org.apache.hadoop.ipc.StandbyException"/>
  12488. <doc>
  12489. <![CDATA[Check if an operation of given category is allowed]]>
  12490. </doc>
  12491. </method>
  12492. <method name="allowStaleReads" return="boolean"
  12493. abstract="false" native="false" synchronized="false"
  12494. static="false" final="false" visibility="public"
  12495. deprecated="not deprecated">
  12496. </method>
  12497. <doc>
  12498. <![CDATA[Class used to expose {@link NameNode} as context to {@link HAState}]]>
  12499. </doc>
  12500. </class>
  12501. <!-- end class org.apache.hadoop.hdfs.server.namenode.NameNode.NameNodeHAContext -->
  12502. <!-- start class org.apache.hadoop.hdfs.server.namenode.NameNode.OperationCategory -->
  12503. <class name="NameNode.OperationCategory" extends="java.lang.Enum"
  12504. abstract="false"
  12505. static="true" final="true" visibility="public"
  12506. deprecated="not deprecated">
  12507. <method name="values" return="org.apache.hadoop.hdfs.server.namenode.NameNode.OperationCategory[]"
  12508. abstract="false" native="false" synchronized="false"
  12509. static="true" final="false" visibility="public"
  12510. deprecated="not deprecated">
  12511. </method>
  12512. <method name="valueOf" return="org.apache.hadoop.hdfs.server.namenode.NameNode.OperationCategory"
  12513. abstract="false" native="false" synchronized="false"
  12514. static="true" final="false" visibility="public"
  12515. deprecated="not deprecated">
  12516. <param name="name" type="java.lang.String"/>
  12517. </method>
  12518. <doc>
  12519. <![CDATA[Categories of operations supported by the namenode.]]>
  12520. </doc>
  12521. </class>
  12522. <!-- end class org.apache.hadoop.hdfs.server.namenode.NameNode.OperationCategory -->
  12523. <!-- start class org.apache.hadoop.hdfs.server.namenode.NameNodeLayoutVersion.Feature -->
  12524. <class name="NameNodeLayoutVersion.Feature" extends="java.lang.Enum"
  12525. abstract="false"
  12526. static="true" final="true" visibility="public"
  12527. deprecated="not deprecated">
  12528. <implements name="org.apache.hadoop.hdfs.protocol.LayoutVersion.LayoutFeature"/>
  12529. <method name="values" return="org.apache.hadoop.hdfs.server.namenode.NameNodeLayoutVersion.Feature[]"
  12530. abstract="false" native="false" synchronized="false"
  12531. static="true" final="false" visibility="public"
  12532. deprecated="not deprecated">
  12533. </method>
  12534. <method name="valueOf" return="org.apache.hadoop.hdfs.server.namenode.NameNodeLayoutVersion.Feature"
  12535. abstract="false" native="false" synchronized="false"
  12536. static="true" final="false" visibility="public"
  12537. deprecated="not deprecated">
  12538. <param name="name" type="java.lang.String"/>
  12539. </method>
  12540. <method name="getInfo" return="org.apache.hadoop.hdfs.protocol.LayoutVersion.FeatureInfo"
  12541. abstract="false" native="false" synchronized="false"
  12542. static="false" final="false" visibility="public"
  12543. deprecated="not deprecated">
  12544. </method>
  12545. <doc>
  12546. <![CDATA[Enums for features that change the layout version.
  12547. <br><br>
  12548. To add a new layout version:
  12549. <ul>
  12550. <li>Define a new enum constant with a short enum name, the new layout version
  12551. and description of the added feature.</li>
  12552. <li>When adding a layout version with an ancestor that is not same as
  12553. its immediate predecessor, use the constructor where a specific ancestor
  12554. can be passed.
  12555. </li>
  12556. </ul>]]>
  12557. </doc>
  12558. </class>
  12559. <!-- end class org.apache.hadoop.hdfs.server.namenode.NameNodeLayoutVersion.Feature -->
  12560. <!-- start interface org.apache.hadoop.hdfs.server.namenode.NameNodeMXBean -->
  12561. <interface name="NameNodeMXBean" abstract="true"
  12562. static="false" final="false" visibility="public"
  12563. deprecated="not deprecated">
  12564. <method name="getVersion" return="java.lang.String"
  12565. abstract="true" native="false" synchronized="false"
  12566. static="false" final="false" visibility="public"
  12567. deprecated="not deprecated">
  12568. <doc>
  12569. <![CDATA[Gets the version of Hadoop.
  12570. @return the version]]>
  12571. </doc>
  12572. </method>
  12573. <method name="getSoftwareVersion" return="java.lang.String"
  12574. abstract="true" native="false" synchronized="false"
  12575. static="false" final="false" visibility="public"
  12576. deprecated="not deprecated">
  12577. <doc>
  12578. <![CDATA[Get the version of software running on the Namenode
  12579. @return a string representing the version]]>
  12580. </doc>
  12581. </method>
  12582. <method name="getUsed" return="long"
  12583. abstract="true" native="false" synchronized="false"
  12584. static="false" final="false" visibility="public"
  12585. deprecated="not deprecated">
  12586. <doc>
  12587. <![CDATA[Gets the used space by data nodes.
  12588. @return the used space by data nodes]]>
  12589. </doc>
  12590. </method>
  12591. <method name="getFree" return="long"
  12592. abstract="true" native="false" synchronized="false"
  12593. static="false" final="false" visibility="public"
  12594. deprecated="not deprecated">
  12595. <doc>
  12596. <![CDATA[Gets total non-used raw bytes.
  12597. @return total non-used raw bytes]]>
  12598. </doc>
  12599. </method>
  12600. <method name="getTotal" return="long"
  12601. abstract="true" native="false" synchronized="false"
  12602. static="false" final="false" visibility="public"
  12603. deprecated="not deprecated">
  12604. <doc>
  12605. <![CDATA[Gets total raw bytes including non-dfs used space.
  12606. @return the total raw bytes including non-dfs used space]]>
  12607. </doc>
  12608. </method>
  12609. <method name="getSafemode" return="java.lang.String"
  12610. abstract="true" native="false" synchronized="false"
  12611. static="false" final="false" visibility="public"
  12612. deprecated="not deprecated">
  12613. <doc>
  12614. <![CDATA[Gets the safemode status
  12615. @return the safemode status]]>
  12616. </doc>
  12617. </method>
  12618. <method name="isUpgradeFinalized" return="boolean"
  12619. abstract="true" native="false" synchronized="false"
  12620. static="false" final="false" visibility="public"
  12621. deprecated="not deprecated">
  12622. <doc>
  12623. <![CDATA[Checks if upgrade is finalized.
  12624. @return true, if upgrade is finalized]]>
  12625. </doc>
  12626. </method>
  12627. <method name="getRollingUpgradeStatus" return="org.apache.hadoop.hdfs.protocol.RollingUpgradeInfo.Bean"
  12628. abstract="true" native="false" synchronized="false"
  12629. static="false" final="false" visibility="public"
  12630. deprecated="not deprecated">
  12631. <doc>
  12632. <![CDATA[Gets the RollingUpgrade information.
  12633. @return Rolling upgrade information if an upgrade is in progress. Else
  12634. (e.g. if there is no upgrade or the upgrade is finalized), returns null.]]>
  12635. </doc>
  12636. </method>
  12637. <method name="getNonDfsUsedSpace" return="long"
  12638. abstract="true" native="false" synchronized="false"
  12639. static="false" final="false" visibility="public"
  12640. deprecated="not deprecated">
  12641. <doc>
  12642. <![CDATA[Gets total used space by data nodes for non DFS purposes such as storing
  12643. temporary files on the local file system
  12644. @return the non dfs space of the cluster]]>
  12645. </doc>
  12646. </method>
  12647. <method name="getPercentUsed" return="float"
  12648. abstract="true" native="false" synchronized="false"
  12649. static="false" final="false" visibility="public"
  12650. deprecated="not deprecated">
  12651. <doc>
  12652. <![CDATA[Gets the total used space by data nodes as percentage of total capacity
  12653. @return the percentage of used space on the cluster.]]>
  12654. </doc>
  12655. </method>
  12656. <method name="getPercentRemaining" return="float"
  12657. abstract="true" native="false" synchronized="false"
  12658. static="false" final="false" visibility="public"
  12659. deprecated="not deprecated">
  12660. <doc>
  12661. <![CDATA[Gets the total remaining space by data nodes as percentage of total
  12662. capacity
  12663. @return the percentage of the remaining space on the cluster]]>
  12664. </doc>
  12665. </method>
  12666. <method name="getCacheUsed" return="long"
  12667. abstract="true" native="false" synchronized="false"
  12668. static="false" final="false" visibility="public"
  12669. deprecated="not deprecated">
  12670. <doc>
  12671. <![CDATA[Returns the amount of cache used by the datanode (in bytes).]]>
  12672. </doc>
  12673. </method>
  12674. <method name="getCacheCapacity" return="long"
  12675. abstract="true" native="false" synchronized="false"
  12676. static="false" final="false" visibility="public"
  12677. deprecated="not deprecated">
  12678. <doc>
  12679. <![CDATA[Returns the total cache capacity of the datanode (in bytes).]]>
  12680. </doc>
  12681. </method>
  12682. <method name="getBlockPoolUsedSpace" return="long"
  12683. abstract="true" native="false" synchronized="false"
  12684. static="false" final="false" visibility="public"
  12685. deprecated="not deprecated">
  12686. <doc>
  12687. <![CDATA[Get the total space used by the block pools of this namenode]]>
  12688. </doc>
  12689. </method>
  12690. <method name="getPercentBlockPoolUsed" return="float"
  12691. abstract="true" native="false" synchronized="false"
  12692. static="false" final="false" visibility="public"
  12693. deprecated="not deprecated">
  12694. <doc>
  12695. <![CDATA[Get the total space used by the block pool as percentage of total capacity]]>
  12696. </doc>
  12697. </method>
  12698. <method name="getTotalBlocks" return="long"
  12699. abstract="true" native="false" synchronized="false"
  12700. static="false" final="false" visibility="public"
  12701. deprecated="not deprecated">
  12702. <doc>
  12703. <![CDATA[Gets the total numbers of blocks on the cluster.
  12704. @return the total number of blocks of the cluster]]>
  12705. </doc>
  12706. </method>
  12707. <method name="getTotalFiles" return="long"
  12708. abstract="true" native="false" synchronized="false"
  12709. static="false" final="false" visibility="public"
  12710. deprecated="not deprecated">
  12711. <doc>
  12712. <![CDATA[Gets the total number of files on the cluster
  12713. @return the total number of files on the cluster]]>
  12714. </doc>
  12715. </method>
  12716. <method name="getNumberOfMissingBlocks" return="long"
  12717. abstract="true" native="false" synchronized="false"
  12718. static="false" final="false" visibility="public"
  12719. deprecated="not deprecated">
  12720. <doc>
  12721. <![CDATA[Gets the total number of missing blocks on the cluster
  12722. @return the total number of missing blocks on the cluster]]>
  12723. </doc>
  12724. </method>
  12725. <method name="getNumberOfMissingBlocksWithReplicationFactorOne" return="long"
  12726. abstract="true" native="false" synchronized="false"
  12727. static="false" final="false" visibility="public"
  12728. deprecated="not deprecated">
  12729. <doc>
  12730. <![CDATA[Gets the total number of missing blocks on the cluster with
  12731. replication factor 1
  12732. @return the total number of missing blocks on the cluster with
  12733. replication factor 1]]>
  12734. </doc>
  12735. </method>
  12736. <method name="getThreads" return="int"
  12737. abstract="true" native="false" synchronized="false"
  12738. static="false" final="false" visibility="public"
  12739. deprecated="not deprecated">
  12740. <doc>
  12741. <![CDATA[Gets the number of threads.
  12742. @return the number of threads]]>
  12743. </doc>
  12744. </method>
  12745. <method name="getLiveNodes" return="java.lang.String"
  12746. abstract="true" native="false" synchronized="false"
  12747. static="false" final="false" visibility="public"
  12748. deprecated="not deprecated">
  12749. <doc>
  12750. <![CDATA[Gets the live node information of the cluster.
  12751. @return the live node information]]>
  12752. </doc>
  12753. </method>
  12754. <method name="getDeadNodes" return="java.lang.String"
  12755. abstract="true" native="false" synchronized="false"
  12756. static="false" final="false" visibility="public"
  12757. deprecated="not deprecated">
  12758. <doc>
  12759. <![CDATA[Gets the dead node information of the cluster.
  12760. @return the dead node information]]>
  12761. </doc>
  12762. </method>
  12763. <method name="getDecomNodes" return="java.lang.String"
  12764. abstract="true" native="false" synchronized="false"
  12765. static="false" final="false" visibility="public"
  12766. deprecated="not deprecated">
  12767. <doc>
  12768. <![CDATA[Gets the decommissioning node information of the cluster.
  12769. @return the decommissioning node information]]>
  12770. </doc>
  12771. </method>
  12772. <method name="getClusterId" return="java.lang.String"
  12773. abstract="true" native="false" synchronized="false"
  12774. static="false" final="false" visibility="public"
  12775. deprecated="not deprecated">
  12776. <doc>
  12777. <![CDATA[Gets the cluster id.
  12778. @return the cluster id]]>
  12779. </doc>
  12780. </method>
  12781. <method name="getBlockPoolId" return="java.lang.String"
  12782. abstract="true" native="false" synchronized="false"
  12783. static="false" final="false" visibility="public"
  12784. deprecated="not deprecated">
  12785. <doc>
  12786. <![CDATA[Gets the block pool id.
  12787. @return the block pool id]]>
  12788. </doc>
  12789. </method>
  12790. <method name="getNameDirStatuses" return="java.lang.String"
  12791. abstract="true" native="false" synchronized="false"
  12792. static="false" final="false" visibility="public"
  12793. deprecated="not deprecated">
  12794. <doc>
  12795. <![CDATA[Get status information about the directories storing image and edits logs
  12796. of the NN.
  12797. @return the name dir status information, as a JSON string.]]>
  12798. </doc>
  12799. </method>
  12800. <method name="getNodeUsage" return="java.lang.String"
  12801. abstract="true" native="false" synchronized="false"
  12802. static="false" final="false" visibility="public"
  12803. deprecated="not deprecated">
  12804. <doc>
  12805. <![CDATA[Get Max, Median, Min and Standard Deviation of DataNodes usage.
  12806. @return the DataNode usage information, as a JSON string.]]>
  12807. </doc>
  12808. </method>
  12809. <method name="getNameJournalStatus" return="java.lang.String"
  12810. abstract="true" native="false" synchronized="false"
  12811. static="false" final="false" visibility="public"
  12812. deprecated="not deprecated">
  12813. <doc>
  12814. <![CDATA[Get status information about the journals of the NN.
  12815. @return the name journal status information, as a JSON string.]]>
  12816. </doc>
  12817. </method>
  12818. <method name="getJournalTransactionInfo" return="java.lang.String"
  12819. abstract="true" native="false" synchronized="false"
  12820. static="false" final="false" visibility="public"
  12821. deprecated="not deprecated">
  12822. <doc>
  12823. <![CDATA[Get information about the transaction ID, including the last applied
  12824. transaction ID and the most recent checkpoint's transaction ID]]>
  12825. </doc>
  12826. </method>
  12827. <method name="getNNStarted" return="java.lang.String"
  12828. abstract="true" native="false" synchronized="false"
  12829. static="false" final="false" visibility="public"
  12830. deprecated="not deprecated">
  12831. <doc>
  12832. <![CDATA[Gets the NN start time
  12833. @return the NN start time]]>
  12834. </doc>
  12835. </method>
  12836. <method name="getCompileInfo" return="java.lang.String"
  12837. abstract="true" native="false" synchronized="false"
  12838. static="false" final="false" visibility="public"
  12839. deprecated="not deprecated">
  12840. <doc>
  12841. <![CDATA[Get the compilation information which contains date, user and branch
  12842. @return the compilation information, as a JSON string.]]>
  12843. </doc>
  12844. </method>
  12845. <method name="getCorruptFiles" return="java.lang.String"
  12846. abstract="true" native="false" synchronized="false"
  12847. static="false" final="false" visibility="public"
  12848. deprecated="not deprecated">
  12849. <doc>
  12850. <![CDATA[Get the list of corrupt files
  12851. @return the list of corrupt files, as a JSON string.]]>
  12852. </doc>
  12853. </method>
  12854. <method name="getDistinctVersionCount" return="int"
  12855. abstract="true" native="false" synchronized="false"
  12856. static="false" final="false" visibility="public"
  12857. deprecated="not deprecated">
  12858. <doc>
  12859. <![CDATA[Get the number of distinct versions of live datanodes
  12860. @return the number of distinct versions of live datanodes]]>
  12861. </doc>
  12862. </method>
  12863. <method name="getDistinctVersions" return="java.util.Map"
  12864. abstract="true" native="false" synchronized="false"
  12865. static="false" final="false" visibility="public"
  12866. deprecated="not deprecated">
  12867. <doc>
  12868. <![CDATA[Get the number of live datanodes for each distinct versions
  12869. @return the number of live datanodes for each distinct versions]]>
  12870. </doc>
  12871. </method>
  12872. <doc>
  12873. <![CDATA[This is the JMX management interface for namenode information]]>
  12874. </doc>
  12875. </interface>
  12876. <!-- end interface org.apache.hadoop.hdfs.server.namenode.NameNodeMXBean -->
  12877. <!-- start interface org.apache.hadoop.hdfs.server.namenode.NameNodeStatusMXBean -->
  12878. <interface name="NameNodeStatusMXBean" abstract="true"
  12879. static="false" final="false" visibility="public"
  12880. deprecated="not deprecated">
  12881. <method name="getNNRole" return="java.lang.String"
  12882. abstract="true" native="false" synchronized="false"
  12883. static="false" final="false" visibility="public"
  12884. deprecated="not deprecated">
  12885. <doc>
  12886. <![CDATA[Gets the NameNode role.
  12887. @return the NameNode role.]]>
  12888. </doc>
  12889. </method>
  12890. <method name="getState" return="java.lang.String"
  12891. abstract="true" native="false" synchronized="false"
  12892. static="false" final="false" visibility="public"
  12893. deprecated="not deprecated">
  12894. <doc>
  12895. <![CDATA[Gets the NameNode state.
  12896. @return the NameNode state.]]>
  12897. </doc>
  12898. </method>
  12899. <method name="getHostAndPort" return="java.lang.String"
  12900. abstract="true" native="false" synchronized="false"
  12901. static="false" final="false" visibility="public"
  12902. deprecated="not deprecated">
  12903. <doc>
  12904. <![CDATA[Gets the host and port colon separated.
  12905. @return host and port colon separated.]]>
  12906. </doc>
  12907. </method>
  12908. <method name="isSecurityEnabled" return="boolean"
  12909. abstract="true" native="false" synchronized="false"
  12910. static="false" final="false" visibility="public"
  12911. deprecated="not deprecated">
  12912. <doc>
  12913. <![CDATA[Gets if security is enabled.
  12914. @return true, if security is enabled.]]>
  12915. </doc>
  12916. </method>
  12917. <method name="getLastHATransitionTime" return="long"
  12918. abstract="true" native="false" synchronized="false"
  12919. static="false" final="false" visibility="public"
  12920. deprecated="not deprecated">
  12921. <doc>
  12922. <![CDATA[Gets the most recent HA transition time in milliseconds from the epoch.
  12923. @return the most recent HA transition time in milliseconds from the epoch.]]>
  12924. </doc>
  12925. </method>
  12926. <doc>
  12927. <![CDATA[This is the JMX management interface for NameNode status information]]>
  12928. </doc>
  12929. </interface>
  12930. <!-- end interface org.apache.hadoop.hdfs.server.namenode.NameNodeStatusMXBean -->
  12931. <!-- start class org.apache.hadoop.hdfs.server.namenode.NNStorage.NameNodeDirType -->
  12932. <class name="NNStorage.NameNodeDirType" extends="java.lang.Enum"
  12933. abstract="false"
  12934. static="true" final="true" visibility="public"
  12935. deprecated="not deprecated">
  12936. <implements name="org.apache.hadoop.hdfs.server.common.Storage.StorageDirType"/>
  12937. <method name="values" return="org.apache.hadoop.hdfs.server.namenode.NNStorage.NameNodeDirType[]"
  12938. abstract="false" native="false" synchronized="false"
  12939. static="true" final="false" visibility="public"
  12940. deprecated="not deprecated">
  12941. </method>
  12942. <method name="valueOf" return="org.apache.hadoop.hdfs.server.namenode.NNStorage.NameNodeDirType"
  12943. abstract="false" native="false" synchronized="false"
  12944. static="true" final="false" visibility="public"
  12945. deprecated="not deprecated">
  12946. <param name="name" type="java.lang.String"/>
  12947. </method>
  12948. <method name="getStorageDirType" return="org.apache.hadoop.hdfs.server.common.Storage.StorageDirType"
  12949. abstract="false" native="false" synchronized="false"
  12950. static="false" final="false" visibility="public"
  12951. deprecated="not deprecated">
  12952. </method>
  12953. <method name="isOfType" return="boolean"
  12954. abstract="false" native="false" synchronized="false"
  12955. static="false" final="false" visibility="public"
  12956. deprecated="not deprecated">
  12957. <param name="type" type="org.apache.hadoop.hdfs.server.common.Storage.StorageDirType"/>
  12958. </method>
  12959. <doc>
  12960. <![CDATA[Implementation of StorageDirType specific to namenode storage
  12961. A Storage directory could be of type IMAGE which stores only fsimage,
  12962. or of type EDITS which stores edits or of type IMAGE_AND_EDITS which
  12963. stores both fsimage and edits.]]>
  12964. </doc>
  12965. </class>
  12966. <!-- end class org.apache.hadoop.hdfs.server.namenode.NNStorage.NameNodeDirType -->
  12967. <!-- start class org.apache.hadoop.hdfs.server.namenode.NNStorage.NameNodeFile -->
  12968. <class name="NNStorage.NameNodeFile" extends="java.lang.Enum"
  12969. abstract="false"
  12970. static="true" final="true" visibility="public"
  12971. deprecated="not deprecated">
  12972. <method name="values" return="org.apache.hadoop.hdfs.server.namenode.NNStorage.NameNodeFile[]"
  12973. abstract="false" native="false" synchronized="false"
  12974. static="true" final="false" visibility="public"
  12975. deprecated="not deprecated">
  12976. </method>
  12977. <method name="valueOf" return="org.apache.hadoop.hdfs.server.namenode.NNStorage.NameNodeFile"
  12978. abstract="false" native="false" synchronized="false"
  12979. static="true" final="false" visibility="public"
  12980. deprecated="not deprecated">
  12981. <param name="name" type="java.lang.String"/>
  12982. </method>
  12983. <method name="getName" return="java.lang.String"
  12984. abstract="false" native="false" synchronized="false"
  12985. static="false" final="false" visibility="public"
  12986. deprecated="not deprecated">
  12987. </method>
  12988. </class>
  12989. <!-- end class org.apache.hadoop.hdfs.server.namenode.NNStorage.NameNodeFile -->
  12990. <!-- start class org.apache.hadoop.hdfs.server.namenode.NNStorageRetentionManager -->
  12991. <class name="NNStorageRetentionManager" extends="java.lang.Object"
  12992. abstract="false"
  12993. static="false" final="false" visibility="public"
  12994. deprecated="not deprecated">
  12995. <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"
  12996. static="false" final="false" visibility="public"
  12997. deprecated="not deprecated">
  12998. </constructor>
  12999. <constructor name="NNStorageRetentionManager" type="org.apache.hadoop.conf.Configuration, org.apache.hadoop.hdfs.server.namenode.NNStorage, org.apache.hadoop.hdfs.server.namenode.LogsPurgeable"
  13000. static="false" final="false" visibility="public"
  13001. deprecated="not deprecated">
  13002. </constructor>
  13003. <doc>
  13004. <![CDATA[The NNStorageRetentionManager is responsible for inspecting the storage
  13005. directories of the NN and enforcing a retention policy on checkpoints
  13006. and edit logs.
  13007. It delegates the actual removal of files to a StoragePurger
  13008. implementation, which might delete the files or instead copy them to
  13009. a filer or HDFS for later analysis.]]>
  13010. </doc>
  13011. </class>
  13012. <!-- end class org.apache.hadoop.hdfs.server.namenode.NNStorageRetentionManager -->
  13013. <!-- start class org.apache.hadoop.hdfs.server.namenode.NNUpgradeUtil -->
  13014. <class name="NNUpgradeUtil" extends="java.lang.Object"
  13015. abstract="true"
  13016. static="false" final="false" visibility="public"
  13017. deprecated="not deprecated">
  13018. <constructor name="NNUpgradeUtil"
  13019. static="false" final="false" visibility="public"
  13020. deprecated="not deprecated">
  13021. </constructor>
  13022. <method name="renameCurToTmp"
  13023. abstract="false" native="false" synchronized="false"
  13024. static="true" final="false" visibility="public"
  13025. deprecated="not deprecated">
  13026. <param name="sd" type="org.apache.hadoop.hdfs.server.common.Storage.StorageDirectory"/>
  13027. <exception name="IOException" type="java.io.IOException"/>
  13028. <doc>
  13029. <![CDATA[Rename the existing current dir to previous.tmp, and create a new empty
  13030. current dir.]]>
  13031. </doc>
  13032. </method>
  13033. <method name="doUpgrade"
  13034. abstract="false" native="false" synchronized="false"
  13035. static="true" final="false" visibility="public"
  13036. deprecated="not deprecated">
  13037. <param name="sd" type="org.apache.hadoop.hdfs.server.common.Storage.StorageDirectory"/>
  13038. <param name="storage" type="org.apache.hadoop.hdfs.server.common.Storage"/>
  13039. <exception name="IOException" type="java.io.IOException"/>
  13040. <doc>
  13041. <![CDATA[Perform the upgrade of the storage dir to the given storage info. The new
  13042. storage info is written into the current directory, and the previous.tmp
  13043. directory is renamed to previous.
  13044. @param sd the storage directory to upgrade
  13045. @param storage info about the new upgraded versions.
  13046. @throws IOException in the event of error]]>
  13047. </doc>
  13048. </method>
  13049. </class>
  13050. <!-- end class org.apache.hadoop.hdfs.server.namenode.NNUpgradeUtil -->
  13051. <!-- start class org.apache.hadoop.hdfs.server.namenode.Quota -->
  13052. <class name="Quota" extends="java.lang.Enum"
  13053. abstract="false"
  13054. static="false" final="true" visibility="public"
  13055. deprecated="not deprecated">
  13056. <method name="values" return="org.apache.hadoop.hdfs.server.namenode.Quota[]"
  13057. abstract="false" native="false" synchronized="false"
  13058. static="true" final="false" visibility="public"
  13059. deprecated="not deprecated">
  13060. </method>
  13061. <method name="valueOf" return="org.apache.hadoop.hdfs.server.namenode.Quota"
  13062. abstract="false" native="false" synchronized="false"
  13063. static="true" final="false" visibility="public"
  13064. deprecated="not deprecated">
  13065. <param name="name" type="java.lang.String"/>
  13066. </method>
  13067. <doc>
  13068. <![CDATA[Quota types.]]>
  13069. </doc>
  13070. </class>
  13071. <!-- end class org.apache.hadoop.hdfs.server.namenode.Quota -->
  13072. <!-- start class org.apache.hadoop.hdfs.server.namenode.Quota.Counts -->
  13073. <class name="Quota.Counts" extends="org.apache.hadoop.hdfs.util.EnumCounters"
  13074. abstract="false"
  13075. static="true" final="false" visibility="public"
  13076. deprecated="not deprecated">
  13077. <method name="newInstance" return="org.apache.hadoop.hdfs.server.namenode.Quota.Counts"
  13078. abstract="false" native="false" synchronized="false"
  13079. static="true" final="false" visibility="public"
  13080. deprecated="not deprecated">
  13081. <param name="namespace" type="long"/>
  13082. <param name="storagespace" type="long"/>
  13083. <doc>
  13084. <![CDATA[@return a new counter with the given namespace and storagespace usages.]]>
  13085. </doc>
  13086. </method>
  13087. <method name="newInstance" return="org.apache.hadoop.hdfs.server.namenode.Quota.Counts"
  13088. abstract="false" native="false" synchronized="false"
  13089. static="true" final="false" visibility="public"
  13090. deprecated="not deprecated">
  13091. </method>
  13092. <doc>
  13093. <![CDATA[Counters for quota counts.]]>
  13094. </doc>
  13095. </class>
  13096. <!-- end class org.apache.hadoop.hdfs.server.namenode.Quota.Counts -->
  13097. <!-- start class org.apache.hadoop.hdfs.server.namenode.QuotaByStorageTypeEntry -->
  13098. <class name="QuotaByStorageTypeEntry" extends="java.lang.Object"
  13099. abstract="false"
  13100. static="false" final="false" visibility="public"
  13101. deprecated="not deprecated">
  13102. <method name="getStorageType" return="org.apache.hadoop.fs.StorageType"
  13103. abstract="false" native="false" synchronized="false"
  13104. static="false" final="false" visibility="public"
  13105. deprecated="not deprecated">
  13106. </method>
  13107. <method name="getQuota" return="long"
  13108. abstract="false" native="false" synchronized="false"
  13109. static="false" final="false" visibility="public"
  13110. deprecated="not deprecated">
  13111. </method>
  13112. <method name="equals" return="boolean"
  13113. abstract="false" native="false" synchronized="false"
  13114. static="false" final="false" visibility="public"
  13115. deprecated="not deprecated">
  13116. <param name="o" type="java.lang.Object"/>
  13117. </method>
  13118. <method name="hashCode" return="int"
  13119. abstract="false" native="false" synchronized="false"
  13120. static="false" final="false" visibility="public"
  13121. deprecated="not deprecated">
  13122. </method>
  13123. <method name="toString" return="java.lang.String"
  13124. abstract="false" native="false" synchronized="false"
  13125. static="false" final="false" visibility="public"
  13126. deprecated="not deprecated">
  13127. </method>
  13128. </class>
  13129. <!-- end class org.apache.hadoop.hdfs.server.namenode.QuotaByStorageTypeEntry -->
  13130. <!-- start class org.apache.hadoop.hdfs.server.namenode.QuotaByStorageTypeEntry.Builder -->
  13131. <class name="QuotaByStorageTypeEntry.Builder" extends="java.lang.Object"
  13132. abstract="false"
  13133. static="true" final="false" visibility="public"
  13134. deprecated="not deprecated">
  13135. <constructor name="Builder"
  13136. static="false" final="false" visibility="public"
  13137. deprecated="not deprecated">
  13138. </constructor>
  13139. <method name="setStorageType" return="org.apache.hadoop.hdfs.server.namenode.QuotaByStorageTypeEntry.Builder"
  13140. abstract="false" native="false" synchronized="false"
  13141. static="false" final="false" visibility="public"
  13142. deprecated="not deprecated">
  13143. <param name="type" type="org.apache.hadoop.fs.StorageType"/>
  13144. </method>
  13145. <method name="setQuota" return="org.apache.hadoop.hdfs.server.namenode.QuotaByStorageTypeEntry.Builder"
  13146. abstract="false" native="false" synchronized="false"
  13147. static="false" final="false" visibility="public"
  13148. deprecated="not deprecated">
  13149. <param name="quota" type="long"/>
  13150. </method>
  13151. <method name="build" return="org.apache.hadoop.hdfs.server.namenode.QuotaByStorageTypeEntry"
  13152. abstract="false" native="false" synchronized="false"
  13153. static="false" final="false" visibility="public"
  13154. deprecated="not deprecated">
  13155. </method>
  13156. </class>
  13157. <!-- end class org.apache.hadoop.hdfs.server.namenode.QuotaByStorageTypeEntry.Builder -->
  13158. <!-- start class org.apache.hadoop.hdfs.server.namenode.QuotaCounts -->
  13159. <class name="QuotaCounts" extends="java.lang.Object"
  13160. abstract="false"
  13161. static="false" final="false" visibility="public"
  13162. deprecated="not deprecated">
  13163. <method name="add"
  13164. abstract="false" native="false" synchronized="false"
  13165. static="false" final="false" visibility="public"
  13166. deprecated="not deprecated">
  13167. <param name="that" type="org.apache.hadoop.hdfs.server.namenode.QuotaCounts"/>
  13168. </method>
  13169. <method name="subtract"
  13170. abstract="false" native="false" synchronized="false"
  13171. static="false" final="false" visibility="public"
  13172. deprecated="not deprecated">
  13173. <param name="that" type="org.apache.hadoop.hdfs.server.namenode.QuotaCounts"/>
  13174. </method>
  13175. <method name="negation" return="org.apache.hadoop.hdfs.server.namenode.QuotaCounts"
  13176. abstract="false" native="false" synchronized="false"
  13177. static="false" final="false" visibility="public"
  13178. deprecated="not deprecated">
  13179. <doc>
  13180. <![CDATA[Returns a QuotaCounts whose value is {@code (-this)}.
  13181. @return {@code -this}]]>
  13182. </doc>
  13183. </method>
  13184. <method name="getNameSpace" return="long"
  13185. abstract="false" native="false" synchronized="false"
  13186. static="false" final="false" visibility="public"
  13187. deprecated="not deprecated">
  13188. </method>
  13189. <method name="setNameSpace"
  13190. abstract="false" native="false" synchronized="false"
  13191. static="false" final="false" visibility="public"
  13192. deprecated="not deprecated">
  13193. <param name="nameSpaceCount" type="long"/>
  13194. </method>
  13195. <method name="addNameSpace"
  13196. abstract="false" native="false" synchronized="false"
  13197. static="false" final="false" visibility="public"
  13198. deprecated="not deprecated">
  13199. <param name="nsDelta" type="long"/>
  13200. </method>
  13201. <method name="getStorageSpace" return="long"
  13202. abstract="false" native="false" synchronized="false"
  13203. static="false" final="false" visibility="public"
  13204. deprecated="not deprecated">
  13205. </method>
  13206. <method name="setStorageSpace"
  13207. abstract="false" native="false" synchronized="false"
  13208. static="false" final="false" visibility="public"
  13209. deprecated="not deprecated">
  13210. <param name="spaceCount" type="long"/>
  13211. </method>
  13212. <method name="addStorageSpace"
  13213. abstract="false" native="false" synchronized="false"
  13214. static="false" final="false" visibility="public"
  13215. deprecated="not deprecated">
  13216. <param name="dsDelta" type="long"/>
  13217. </method>
  13218. <method name="getTypeSpaces" return="org.apache.hadoop.hdfs.util.EnumCounters"
  13219. abstract="false" native="false" synchronized="false"
  13220. static="false" final="false" visibility="public"
  13221. deprecated="not deprecated">
  13222. </method>
  13223. <method name="addTypeSpace"
  13224. abstract="false" native="false" synchronized="false"
  13225. static="false" final="false" visibility="public"
  13226. deprecated="not deprecated">
  13227. <param name="type" type="org.apache.hadoop.fs.StorageType"/>
  13228. <param name="delta" type="long"/>
  13229. </method>
  13230. <method name="anyNsSsCountGreaterOrEqual" return="boolean"
  13231. abstract="false" native="false" synchronized="false"
  13232. static="false" final="false" visibility="public"
  13233. deprecated="not deprecated">
  13234. <param name="val" type="long"/>
  13235. </method>
  13236. <method name="anyTypeSpaceCountGreaterOrEqual" return="boolean"
  13237. abstract="false" native="false" synchronized="false"
  13238. static="false" final="false" visibility="public"
  13239. deprecated="not deprecated">
  13240. <param name="val" type="long"/>
  13241. </method>
  13242. <method name="equals" return="boolean"
  13243. abstract="false" native="false" synchronized="false"
  13244. static="false" final="false" visibility="public"
  13245. deprecated="not deprecated">
  13246. <param name="obj" type="java.lang.Object"/>
  13247. </method>
  13248. <method name="hashCode" return="int"
  13249. abstract="false" native="false" synchronized="false"
  13250. static="false" final="false" visibility="public"
  13251. deprecated="not deprecated">
  13252. </method>
  13253. <doc>
  13254. <![CDATA[Counters for namespace, storage space and storage type space quota and usage.]]>
  13255. </doc>
  13256. </class>
  13257. <!-- end class org.apache.hadoop.hdfs.server.namenode.QuotaCounts -->
  13258. <!-- start class org.apache.hadoop.hdfs.server.namenode.QuotaCounts.Builder -->
  13259. <class name="QuotaCounts.Builder" extends="java.lang.Object"
  13260. abstract="false"
  13261. static="true" final="false" visibility="public"
  13262. deprecated="not deprecated">
  13263. <constructor name="Builder"
  13264. static="false" final="false" visibility="public"
  13265. deprecated="not deprecated">
  13266. </constructor>
  13267. <method name="nameSpace" return="org.apache.hadoop.hdfs.server.namenode.QuotaCounts.Builder"
  13268. abstract="false" native="false" synchronized="false"
  13269. static="false" final="false" visibility="public"
  13270. deprecated="not deprecated">
  13271. <param name="val" type="long"/>
  13272. </method>
  13273. <method name="storageSpace" return="org.apache.hadoop.hdfs.server.namenode.QuotaCounts.Builder"
  13274. abstract="false" native="false" synchronized="false"
  13275. static="false" final="false" visibility="public"
  13276. deprecated="not deprecated">
  13277. <param name="val" type="long"/>
  13278. </method>
  13279. <method name="typeSpaces" return="org.apache.hadoop.hdfs.server.namenode.QuotaCounts.Builder"
  13280. abstract="false" native="false" synchronized="false"
  13281. static="false" final="false" visibility="public"
  13282. deprecated="not deprecated">
  13283. <param name="val" type="org.apache.hadoop.hdfs.util.EnumCounters"/>
  13284. </method>
  13285. <method name="typeSpaces" return="org.apache.hadoop.hdfs.server.namenode.QuotaCounts.Builder"
  13286. abstract="false" native="false" synchronized="false"
  13287. static="false" final="false" visibility="public"
  13288. deprecated="not deprecated">
  13289. <param name="val" type="long"/>
  13290. </method>
  13291. <method name="quotaCount" return="org.apache.hadoop.hdfs.server.namenode.QuotaCounts.Builder"
  13292. abstract="false" native="false" synchronized="false"
  13293. static="false" final="false" visibility="public"
  13294. deprecated="not deprecated">
  13295. <param name="that" type="org.apache.hadoop.hdfs.server.namenode.QuotaCounts"/>
  13296. </method>
  13297. <method name="build" return="org.apache.hadoop.hdfs.server.namenode.QuotaCounts"
  13298. abstract="false" native="false" synchronized="false"
  13299. static="false" final="false" visibility="public"
  13300. deprecated="not deprecated">
  13301. </method>
  13302. </class>
  13303. <!-- end class org.apache.hadoop.hdfs.server.namenode.QuotaCounts.Builder -->
  13304. <!-- start class org.apache.hadoop.hdfs.server.namenode.RenewDelegationTokenServlet -->
  13305. <class name="RenewDelegationTokenServlet" extends="org.apache.hadoop.hdfs.server.namenode.DfsServlet"
  13306. abstract="false"
  13307. static="false" final="false" visibility="public"
  13308. deprecated="not deprecated">
  13309. <constructor name="RenewDelegationTokenServlet"
  13310. static="false" final="false" visibility="public"
  13311. deprecated="not deprecated">
  13312. </constructor>
  13313. <method name="doGet"
  13314. abstract="false" native="false" synchronized="false"
  13315. static="false" final="false" visibility="protected"
  13316. deprecated="not deprecated">
  13317. <param name="req" type="javax.servlet.http.HttpServletRequest"/>
  13318. <param name="resp" type="javax.servlet.http.HttpServletResponse"/>
  13319. <exception name="ServletException" type="javax.servlet.ServletException"/>
  13320. <exception name="IOException" type="java.io.IOException"/>
  13321. </method>
  13322. <field name="PATH_SPEC" type="java.lang.String"
  13323. transient="false" volatile="false"
  13324. static="true" final="true" visibility="public"
  13325. deprecated="not deprecated">
  13326. </field>
  13327. <field name="TOKEN" type="java.lang.String"
  13328. transient="false" volatile="false"
  13329. static="true" final="true" visibility="public"
  13330. deprecated="not deprecated">
  13331. </field>
  13332. <doc>
  13333. <![CDATA[Renew delegation tokens over http for use in hftp.]]>
  13334. </doc>
  13335. </class>
  13336. <!-- end class org.apache.hadoop.hdfs.server.namenode.RenewDelegationTokenServlet -->
  13337. <!-- start class org.apache.hadoop.hdfs.server.namenode.StoragePolicySummary -->
  13338. <class name="StoragePolicySummary" extends="java.lang.Object"
  13339. abstract="false"
  13340. static="false" final="false" visibility="public"
  13341. deprecated="not deprecated">
  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[Aggregate the storage type information for a set of blocks]]>
  13349. </doc>
  13350. </class>
  13351. <!-- end class org.apache.hadoop.hdfs.server.namenode.StoragePolicySummary -->
  13352. <!-- start class org.apache.hadoop.hdfs.server.namenode.TransferFsImage.HttpGetFailedException -->
  13353. <class name="TransferFsImage.HttpGetFailedException" extends="java.io.IOException"
  13354. abstract="false"
  13355. static="true" final="false" visibility="public"
  13356. deprecated="not deprecated">
  13357. <method name="getResponseCode" return="int"
  13358. abstract="false" native="false" synchronized="false"
  13359. static="false" final="false" visibility="public"
  13360. deprecated="not deprecated">
  13361. </method>
  13362. </class>
  13363. <!-- end class org.apache.hadoop.hdfs.server.namenode.TransferFsImage.HttpGetFailedException -->
  13364. <!-- start class org.apache.hadoop.hdfs.server.namenode.TransferFsImage.HttpPutFailedException -->
  13365. <class name="TransferFsImage.HttpPutFailedException" extends="java.io.IOException"
  13366. abstract="false"
  13367. static="true" final="false" visibility="public"
  13368. deprecated="not deprecated">
  13369. <method name="getResponseCode" return="int"
  13370. abstract="false" native="false" synchronized="false"
  13371. static="false" final="false" visibility="public"
  13372. deprecated="not deprecated">
  13373. </method>
  13374. </class>
  13375. <!-- end class org.apache.hadoop.hdfs.server.namenode.TransferFsImage.HttpPutFailedException -->
  13376. </package>
  13377. <package name="org.apache.hadoop.hdfs.server.namenode.ha">
  13378. <!-- start class org.apache.hadoop.hdfs.server.namenode.ha.AbstractNNFailoverProxyProvider -->
  13379. <class name="AbstractNNFailoverProxyProvider" extends="java.lang.Object"
  13380. abstract="true"
  13381. static="false" final="false" visibility="public"
  13382. deprecated="not deprecated">
  13383. <implements name="org.apache.hadoop.io.retry.FailoverProxyProvider"/>
  13384. <constructor name="AbstractNNFailoverProxyProvider"
  13385. static="false" final="false" visibility="public"
  13386. deprecated="not deprecated">
  13387. </constructor>
  13388. <method name="useLogicalURI" return="boolean"
  13389. abstract="true" native="false" synchronized="false"
  13390. static="false" final="false" visibility="public"
  13391. deprecated="not deprecated">
  13392. <doc>
  13393. <![CDATA[Inquire whether logical HA URI is used for the implementation. If it is
  13394. used, a special token handling may be needed to make sure a token acquired
  13395. from a node in the HA pair can be used against the other node.
  13396. @return true if logical HA URI is used. false, if not used.]]>
  13397. </doc>
  13398. </method>
  13399. <method name="setFallbackToSimpleAuth"
  13400. abstract="false" native="false" synchronized="true"
  13401. static="false" final="false" visibility="public"
  13402. deprecated="not deprecated">
  13403. <param name="fallbackToSimpleAuth" type="java.util.concurrent.atomic.AtomicBoolean"/>
  13404. <doc>
  13405. <![CDATA[Set for tracking if a secure client falls back to simple auth. This method
  13406. is synchronized only to stifle a Findbugs warning.
  13407. @param fallbackToSimpleAuth - set to true or false during this method to
  13408. indicate if a secure client falls back to simple auth]]>
  13409. </doc>
  13410. </method>
  13411. <field name="fallbackToSimpleAuth" type="java.util.concurrent.atomic.AtomicBoolean"
  13412. transient="false" volatile="false"
  13413. static="false" final="false" visibility="protected"
  13414. deprecated="not deprecated">
  13415. </field>
  13416. </class>
  13417. <!-- end class org.apache.hadoop.hdfs.server.namenode.ha.AbstractNNFailoverProxyProvider -->
  13418. <!-- start class org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider -->
  13419. <class name="ConfiguredFailoverProxyProvider" extends="org.apache.hadoop.hdfs.server.namenode.ha.AbstractNNFailoverProxyProvider"
  13420. abstract="false"
  13421. static="false" final="false" visibility="public"
  13422. deprecated="not deprecated">
  13423. <constructor name="ConfiguredFailoverProxyProvider" type="org.apache.hadoop.conf.Configuration, java.net.URI, java.lang.Class"
  13424. static="false" final="false" visibility="public"
  13425. deprecated="not deprecated">
  13426. </constructor>
  13427. <method name="getInterface" return="java.lang.Class"
  13428. abstract="false" native="false" synchronized="false"
  13429. static="false" final="false" visibility="public"
  13430. deprecated="not deprecated">
  13431. </method>
  13432. <method name="getProxy" return="org.apache.hadoop.io.retry.FailoverProxyProvider.ProxyInfo"
  13433. abstract="false" native="false" synchronized="true"
  13434. static="false" final="false" visibility="public"
  13435. deprecated="not deprecated">
  13436. <doc>
  13437. <![CDATA[Lazily initialize the RPC proxy object.]]>
  13438. </doc>
  13439. </method>
  13440. <method name="performFailover"
  13441. abstract="false" native="false" synchronized="true"
  13442. static="false" final="false" visibility="public"
  13443. deprecated="not deprecated">
  13444. <param name="currentProxy" type="T"/>
  13445. </method>
  13446. <method name="close"
  13447. abstract="false" native="false" synchronized="true"
  13448. static="false" final="false" visibility="public"
  13449. deprecated="not deprecated">
  13450. <exception name="IOException" type="java.io.IOException"/>
  13451. <doc>
  13452. <![CDATA[Close all the proxy objects which have been opened over the lifetime of
  13453. this proxy provider.]]>
  13454. </doc>
  13455. </method>
  13456. <method name="useLogicalURI" return="boolean"
  13457. abstract="false" native="false" synchronized="false"
  13458. static="false" final="false" visibility="public"
  13459. deprecated="not deprecated">
  13460. <doc>
  13461. <![CDATA[Logical URI is required for this failover proxy provider.]]>
  13462. </doc>
  13463. </method>
  13464. <doc>
  13465. <![CDATA[A FailoverProxyProvider implementation which allows one to configure two URIs
  13466. to connect to during fail-over. The first configured address is tried first,
  13467. and on a fail-over event the other address is tried.]]>
  13468. </doc>
  13469. </class>
  13470. <!-- end class org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider -->
  13471. <!-- start class org.apache.hadoop.hdfs.server.namenode.ha.IPFailoverProxyProvider -->
  13472. <class name="IPFailoverProxyProvider" extends="org.apache.hadoop.hdfs.server.namenode.ha.AbstractNNFailoverProxyProvider"
  13473. abstract="false"
  13474. static="false" final="false" visibility="public"
  13475. deprecated="not deprecated">
  13476. <constructor name="IPFailoverProxyProvider" type="org.apache.hadoop.conf.Configuration, java.net.URI, java.lang.Class"
  13477. static="false" final="false" visibility="public"
  13478. deprecated="not deprecated">
  13479. </constructor>
  13480. <method name="getInterface" return="java.lang.Class"
  13481. abstract="false" native="false" synchronized="false"
  13482. static="false" final="false" visibility="public"
  13483. deprecated="not deprecated">
  13484. </method>
  13485. <method name="getProxy" return="org.apache.hadoop.io.retry.FailoverProxyProvider.ProxyInfo"
  13486. abstract="false" native="false" synchronized="true"
  13487. static="false" final="false" visibility="public"
  13488. deprecated="not deprecated">
  13489. </method>
  13490. <method name="performFailover"
  13491. abstract="false" native="false" synchronized="false"
  13492. static="false" final="false" visibility="public"
  13493. deprecated="not deprecated">
  13494. <param name="currentProxy" type="T"/>
  13495. <doc>
  13496. <![CDATA[Nothing to do for IP failover]]>
  13497. </doc>
  13498. </method>
  13499. <method name="close"
  13500. abstract="false" native="false" synchronized="true"
  13501. static="false" final="false" visibility="public"
  13502. deprecated="not deprecated">
  13503. <exception name="IOException" type="java.io.IOException"/>
  13504. <doc>
  13505. <![CDATA[Close the proxy,]]>
  13506. </doc>
  13507. </method>
  13508. <method name="useLogicalURI" return="boolean"
  13509. abstract="false" native="false" synchronized="false"
  13510. static="false" final="false" visibility="public"
  13511. deprecated="not deprecated">
  13512. <doc>
  13513. <![CDATA[Logical URI is not used for IP failover.]]>
  13514. </doc>
  13515. </method>
  13516. <doc>
  13517. <![CDATA[A NNFailoverProxyProvider implementation which works on IP failover setup.
  13518. Only one proxy is used to connect to both servers and switching between
  13519. the servers is done by the environment/infrastructure, which guarantees
  13520. clients can consistently reach only one node at a time.
  13521. Clients with a live connection will likely get connection reset after an
  13522. IP failover. This case will be handled by the
  13523. FailoverOnNetworkExceptionRetry retry policy. I.e. if the call is
  13524. not idempotent, it won't get retried.
  13525. A connection reset while setting up a connection (i.e. before sending a
  13526. request) will be handled in ipc client.
  13527. The namenode URI must contain a resolvable host name.]]>
  13528. </doc>
  13529. </class>
  13530. <!-- end class org.apache.hadoop.hdfs.server.namenode.ha.IPFailoverProxyProvider -->
  13531. <!-- start class org.apache.hadoop.hdfs.server.namenode.ha.WrappedFailoverProxyProvider -->
  13532. <class name="WrappedFailoverProxyProvider" extends="org.apache.hadoop.hdfs.server.namenode.ha.AbstractNNFailoverProxyProvider"
  13533. abstract="false"
  13534. static="false" final="false" visibility="public"
  13535. deprecated="not deprecated">
  13536. <constructor name="WrappedFailoverProxyProvider" type="org.apache.hadoop.io.retry.FailoverProxyProvider"
  13537. static="false" final="false" visibility="public"
  13538. deprecated="not deprecated">
  13539. <doc>
  13540. <![CDATA[Wrap the given instance of an old FailoverProxyProvider.]]>
  13541. </doc>
  13542. </constructor>
  13543. <method name="getInterface" return="java.lang.Class"
  13544. abstract="false" native="false" synchronized="false"
  13545. static="false" final="false" visibility="public"
  13546. deprecated="not deprecated">
  13547. </method>
  13548. <method name="getProxy" return="org.apache.hadoop.io.retry.FailoverProxyProvider.ProxyInfo"
  13549. abstract="false" native="false" synchronized="true"
  13550. static="false" final="false" visibility="public"
  13551. deprecated="not deprecated">
  13552. </method>
  13553. <method name="performFailover"
  13554. abstract="false" native="false" synchronized="false"
  13555. static="false" final="false" visibility="public"
  13556. deprecated="not deprecated">
  13557. <param name="currentProxy" type="T"/>
  13558. </method>
  13559. <method name="close"
  13560. abstract="false" native="false" synchronized="true"
  13561. static="false" final="false" visibility="public"
  13562. deprecated="not deprecated">
  13563. <exception name="IOException" type="java.io.IOException"/>
  13564. <doc>
  13565. <![CDATA[Close the proxy,]]>
  13566. </doc>
  13567. </method>
  13568. <method name="useLogicalURI" return="boolean"
  13569. abstract="false" native="false" synchronized="false"
  13570. static="false" final="false" visibility="public"
  13571. deprecated="not deprecated">
  13572. <doc>
  13573. <![CDATA[Assume logical URI is used for old proxy provider implementations.]]>
  13574. </doc>
  13575. </method>
  13576. <doc>
  13577. <![CDATA[A NNFailoverProxyProvider implementation which wrapps old implementations
  13578. directly implementing the {@link FailoverProxyProvider} interface.
  13579. It is assumed that the old impelmentation is using logical URI.]]>
  13580. </doc>
  13581. </class>
  13582. <!-- end class org.apache.hadoop.hdfs.server.namenode.ha.WrappedFailoverProxyProvider -->
  13583. </package>
  13584. <package name="org.apache.hadoop.hdfs.server.namenode.metrics">
  13585. <!-- start class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics -->
  13586. <class name="NameNodeMetrics" extends="java.lang.Object"
  13587. abstract="false"
  13588. static="false" final="false" visibility="public"
  13589. deprecated="not deprecated">
  13590. <method name="totalFileOps" return="long"
  13591. abstract="false" native="false" synchronized="false"
  13592. static="false" final="false" visibility="public"
  13593. deprecated="not deprecated">
  13594. </method>
  13595. <method name="create" return="org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics"
  13596. abstract="false" native="false" synchronized="false"
  13597. static="true" final="false" visibility="public"
  13598. deprecated="not deprecated">
  13599. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  13600. <param name="r" type="org.apache.hadoop.hdfs.server.common.HdfsServerConstants.NamenodeRole"/>
  13601. </method>
  13602. <method name="getJvmMetrics" return="org.apache.hadoop.metrics2.source.JvmMetrics"
  13603. abstract="false" native="false" synchronized="false"
  13604. static="false" final="false" visibility="public"
  13605. deprecated="not deprecated">
  13606. </method>
  13607. <method name="shutdown"
  13608. abstract="false" native="false" synchronized="false"
  13609. static="false" final="false" visibility="public"
  13610. deprecated="not deprecated">
  13611. </method>
  13612. <method name="incrGetBlockLocations"
  13613. abstract="false" native="false" synchronized="false"
  13614. static="false" final="false" visibility="public"
  13615. deprecated="not deprecated">
  13616. </method>
  13617. <method name="incrFilesCreated"
  13618. abstract="false" native="false" synchronized="false"
  13619. static="false" final="false" visibility="public"
  13620. deprecated="not deprecated">
  13621. </method>
  13622. <method name="incrCreateFileOps"
  13623. abstract="false" native="false" synchronized="false"
  13624. static="false" final="false" visibility="public"
  13625. deprecated="not deprecated">
  13626. </method>
  13627. <method name="incrFilesAppended"
  13628. abstract="false" native="false" synchronized="false"
  13629. static="false" final="false" visibility="public"
  13630. deprecated="not deprecated">
  13631. </method>
  13632. <method name="incrAddBlockOps"
  13633. abstract="false" native="false" synchronized="false"
  13634. static="false" final="false" visibility="public"
  13635. deprecated="not deprecated">
  13636. </method>
  13637. <method name="incrGetAdditionalDatanodeOps"
  13638. abstract="false" native="false" synchronized="false"
  13639. static="false" final="false" visibility="public"
  13640. deprecated="not deprecated">
  13641. </method>
  13642. <method name="incrFilesRenamed"
  13643. abstract="false" native="false" synchronized="false"
  13644. static="false" final="false" visibility="public"
  13645. deprecated="not deprecated">
  13646. </method>
  13647. <method name="incrFilesTruncated"
  13648. abstract="false" native="false" synchronized="false"
  13649. static="false" final="false" visibility="public"
  13650. deprecated="not deprecated">
  13651. </method>
  13652. <method name="incrFilesDeleted"
  13653. abstract="false" native="false" synchronized="false"
  13654. static="false" final="false" visibility="public"
  13655. deprecated="not deprecated">
  13656. <param name="delta" type="long"/>
  13657. </method>
  13658. <method name="incrDeleteFileOps"
  13659. abstract="false" native="false" synchronized="false"
  13660. static="false" final="false" visibility="public"
  13661. deprecated="not deprecated">
  13662. </method>
  13663. <method name="incrGetListingOps"
  13664. abstract="false" native="false" synchronized="false"
  13665. static="false" final="false" visibility="public"
  13666. deprecated="not deprecated">
  13667. </method>
  13668. <method name="incrFilesInGetListingOps"
  13669. abstract="false" native="false" synchronized="false"
  13670. static="false" final="false" visibility="public"
  13671. deprecated="not deprecated">
  13672. <param name="delta" type="int"/>
  13673. </method>
  13674. <method name="incrFileInfoOps"
  13675. abstract="false" native="false" synchronized="false"
  13676. static="false" final="false" visibility="public"
  13677. deprecated="not deprecated">
  13678. </method>
  13679. <method name="incrCreateSymlinkOps"
  13680. abstract="false" native="false" synchronized="false"
  13681. static="false" final="false" visibility="public"
  13682. deprecated="not deprecated">
  13683. </method>
  13684. <method name="incrGetLinkTargetOps"
  13685. abstract="false" native="false" synchronized="false"
  13686. static="false" final="false" visibility="public"
  13687. deprecated="not deprecated">
  13688. </method>
  13689. <method name="incrAllowSnapshotOps"
  13690. abstract="false" native="false" synchronized="false"
  13691. static="false" final="false" visibility="public"
  13692. deprecated="not deprecated">
  13693. </method>
  13694. <method name="incrDisAllowSnapshotOps"
  13695. abstract="false" native="false" synchronized="false"
  13696. static="false" final="false" visibility="public"
  13697. deprecated="not deprecated">
  13698. </method>
  13699. <method name="incrCreateSnapshotOps"
  13700. abstract="false" native="false" synchronized="false"
  13701. static="false" final="false" visibility="public"
  13702. deprecated="not deprecated">
  13703. </method>
  13704. <method name="incrDeleteSnapshotOps"
  13705. abstract="false" native="false" synchronized="false"
  13706. static="false" final="false" visibility="public"
  13707. deprecated="not deprecated">
  13708. </method>
  13709. <method name="incrRenameSnapshotOps"
  13710. abstract="false" native="false" synchronized="false"
  13711. static="false" final="false" visibility="public"
  13712. deprecated="not deprecated">
  13713. </method>
  13714. <method name="incrListSnapshottableDirOps"
  13715. abstract="false" native="false" synchronized="false"
  13716. static="false" final="false" visibility="public"
  13717. deprecated="not deprecated">
  13718. </method>
  13719. <method name="incrSnapshotDiffReportOps"
  13720. abstract="false" native="false" synchronized="false"
  13721. static="false" final="false" visibility="public"
  13722. deprecated="not deprecated">
  13723. </method>
  13724. <method name="incrBlockReceivedAndDeletedOps"
  13725. abstract="false" native="false" synchronized="false"
  13726. static="false" final="false" visibility="public"
  13727. deprecated="not deprecated">
  13728. </method>
  13729. <method name="incrStorageBlockReportOps"
  13730. abstract="false" native="false" synchronized="false"
  13731. static="false" final="false" visibility="public"
  13732. deprecated="not deprecated">
  13733. </method>
  13734. <method name="addTransaction"
  13735. abstract="false" native="false" synchronized="false"
  13736. static="false" final="false" visibility="public"
  13737. deprecated="not deprecated">
  13738. <param name="latency" type="long"/>
  13739. </method>
  13740. <method name="incrTransactionsBatchedInSync"
  13741. abstract="false" native="false" synchronized="false"
  13742. static="false" final="false" visibility="public"
  13743. deprecated="not deprecated">
  13744. </method>
  13745. <method name="addSync"
  13746. abstract="false" native="false" synchronized="false"
  13747. static="false" final="false" visibility="public"
  13748. deprecated="not deprecated">
  13749. <param name="elapsed" type="long"/>
  13750. </method>
  13751. <method name="setFsImageLoadTime"
  13752. abstract="false" native="false" synchronized="false"
  13753. static="false" final="false" visibility="public"
  13754. deprecated="not deprecated">
  13755. <param name="elapsed" type="long"/>
  13756. </method>
  13757. <method name="addBlockReport"
  13758. abstract="false" native="false" synchronized="false"
  13759. static="false" final="false" visibility="public"
  13760. deprecated="not deprecated">
  13761. <param name="latency" type="long"/>
  13762. </method>
  13763. <method name="addCacheBlockReport"
  13764. abstract="false" native="false" synchronized="false"
  13765. static="false" final="false" visibility="public"
  13766. deprecated="not deprecated">
  13767. <param name="latency" type="long"/>
  13768. </method>
  13769. <method name="setSafeModeTime"
  13770. abstract="false" native="false" synchronized="false"
  13771. static="false" final="false" visibility="public"
  13772. deprecated="not deprecated">
  13773. <param name="elapsed" type="long"/>
  13774. </method>
  13775. <method name="addGetEdit"
  13776. abstract="false" native="false" synchronized="false"
  13777. static="false" final="false" visibility="public"
  13778. deprecated="not deprecated">
  13779. <param name="latency" type="long"/>
  13780. </method>
  13781. <method name="addGetImage"
  13782. abstract="false" native="false" synchronized="false"
  13783. static="false" final="false" visibility="public"
  13784. deprecated="not deprecated">
  13785. <param name="latency" type="long"/>
  13786. </method>
  13787. <method name="addPutImage"
  13788. abstract="false" native="false" synchronized="false"
  13789. static="false" final="false" visibility="public"
  13790. deprecated="not deprecated">
  13791. <param name="latency" type="long"/>
  13792. </method>
  13793. <doc>
  13794. <![CDATA[This class is for maintaining the various NameNode activity statistics
  13795. and publishing them through the metrics interfaces.]]>
  13796. </doc>
  13797. </class>
  13798. <!-- end class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics -->
  13799. </package>
  13800. <package name="org.apache.hadoop.hdfs.server.namenode.snapshot">
  13801. <!-- start class org.apache.hadoop.hdfs.server.namenode.snapshot.DirectoryWithSnapshotFeature.DirectoryDiff -->
  13802. <class name="DirectoryWithSnapshotFeature.DirectoryDiff" extends="org.apache.hadoop.hdfs.server.namenode.snapshot.AbstractINodeDiff"
  13803. abstract="false"
  13804. static="true" final="false" visibility="public"
  13805. deprecated="not deprecated">
  13806. <method name="getChildrenDiff" return="org.apache.hadoop.hdfs.server.namenode.snapshot.DirectoryWithSnapshotFeature.ChildrenDiff"
  13807. abstract="false" native="false" synchronized="false"
  13808. static="false" final="false" visibility="public"
  13809. deprecated="not deprecated">
  13810. </method>
  13811. <method name="toString" return="java.lang.String"
  13812. abstract="false" native="false" synchronized="false"
  13813. static="false" final="false" visibility="public"
  13814. deprecated="not deprecated">
  13815. </method>
  13816. <doc>
  13817. <![CDATA[The difference of an {@link INodeDirectory} between two snapshots.]]>
  13818. </doc>
  13819. </class>
  13820. <!-- end class org.apache.hadoop.hdfs.server.namenode.snapshot.DirectoryWithSnapshotFeature.DirectoryDiff -->
  13821. <!-- start class org.apache.hadoop.hdfs.server.namenode.snapshot.DirectoryWithSnapshotFeature.DirectoryDiffList -->
  13822. <class name="DirectoryWithSnapshotFeature.DirectoryDiffList" extends="org.apache.hadoop.hdfs.server.namenode.snapshot.AbstractINodeDiffList"
  13823. abstract="false"
  13824. static="true" final="false" visibility="public"
  13825. deprecated="not deprecated">
  13826. <constructor name="DirectoryDiffList"
  13827. static="false" final="false" visibility="public"
  13828. deprecated="not deprecated">
  13829. </constructor>
  13830. <method name="replaceChild" return="boolean"
  13831. abstract="false" native="false" synchronized="false"
  13832. static="false" final="false" visibility="public"
  13833. deprecated="not deprecated">
  13834. <param name="type" type="org.apache.hadoop.hdfs.util.Diff.ListType"/>
  13835. <param name="oldChild" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  13836. <param name="newChild" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  13837. <doc>
  13838. <![CDATA[Replace the given child in the created/deleted list, if there is any.]]>
  13839. </doc>
  13840. </method>
  13841. <method name="removeChild" return="boolean"
  13842. abstract="false" native="false" synchronized="false"
  13843. static="false" final="false" visibility="public"
  13844. deprecated="not deprecated">
  13845. <param name="type" type="org.apache.hadoop.hdfs.util.Diff.ListType"/>
  13846. <param name="child" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  13847. <doc>
  13848. <![CDATA[Remove the given child in the created/deleted list, if there is any.]]>
  13849. </doc>
  13850. </method>
  13851. <method name="findSnapshotDeleted" return="int"
  13852. abstract="false" native="false" synchronized="false"
  13853. static="false" final="false" visibility="public"
  13854. deprecated="not deprecated">
  13855. <param name="child" type="org.apache.hadoop.hdfs.server.namenode.INode"/>
  13856. <doc>
  13857. <![CDATA[Find the corresponding snapshot whose deleted list contains the given
  13858. inode.
  13859. @return the id of the snapshot. {@link Snapshot#NO_SNAPSHOT_ID} if the
  13860. given inode is not in any of the snapshot.]]>
  13861. </doc>
  13862. </method>
  13863. <doc>
  13864. <![CDATA[A list of directory diffs.]]>
  13865. </doc>
  13866. </class>
  13867. <!-- end class org.apache.hadoop.hdfs.server.namenode.snapshot.DirectoryWithSnapshotFeature.DirectoryDiffList -->
  13868. <!-- start class org.apache.hadoop.hdfs.server.namenode.snapshot.FileDiff -->
  13869. <class name="FileDiff" extends="org.apache.hadoop.hdfs.server.namenode.snapshot.AbstractINodeDiff"
  13870. abstract="false"
  13871. static="false" final="false" visibility="public"
  13872. deprecated="not deprecated">
  13873. <method name="getFileSize" return="long"
  13874. abstract="false" native="false" synchronized="false"
  13875. static="false" final="false" visibility="public"
  13876. deprecated="not deprecated">
  13877. <doc>
  13878. <![CDATA[@return the file size in the snapshot.]]>
  13879. </doc>
  13880. </method>
  13881. <method name="setBlocks"
  13882. abstract="false" native="false" synchronized="false"
  13883. static="false" final="false" visibility="public"
  13884. deprecated="not deprecated">
  13885. <param name="blocks" type="org.apache.hadoop.hdfs.server.blockmanagement.BlockInfoContiguous[]"/>
  13886. <doc>
  13887. <![CDATA[Copy block references into the snapshot
  13888. up to the current {@link #fileSize}.
  13889. Should be done only once.]]>
  13890. </doc>
  13891. </method>
  13892. <method name="getBlocks" return="org.apache.hadoop.hdfs.server.blockmanagement.BlockInfoContiguous[]"
  13893. abstract="false" native="false" synchronized="false"
  13894. static="false" final="false" visibility="public"
  13895. deprecated="not deprecated">
  13896. </method>
  13897. <method name="toString" return="java.lang.String"
  13898. abstract="false" native="false" synchronized="false"
  13899. static="false" final="false" visibility="public"
  13900. deprecated="not deprecated">
  13901. </method>
  13902. <method name="destroyAndCollectSnapshotBlocks"
  13903. abstract="false" native="false" synchronized="false"
  13904. static="false" final="false" visibility="public"
  13905. deprecated="not deprecated">
  13906. <param name="collectedBlocks" type="org.apache.hadoop.hdfs.server.namenode.INode.BlocksMapUpdateInfo"/>
  13907. </method>
  13908. <doc>
  13909. <![CDATA[The difference of an {@link INodeFile} between two snapshots.]]>
  13910. </doc>
  13911. </class>
  13912. <!-- end class org.apache.hadoop.hdfs.server.namenode.snapshot.FileDiff -->
  13913. <!-- start class org.apache.hadoop.hdfs.server.namenode.snapshot.FileDiffList -->
  13914. <class name="FileDiffList" extends="org.apache.hadoop.hdfs.server.namenode.snapshot.AbstractINodeDiffList"
  13915. abstract="false"
  13916. static="false" final="false" visibility="public"
  13917. deprecated="not deprecated">
  13918. <constructor name="FileDiffList"
  13919. static="false" final="false" visibility="public"
  13920. deprecated="not deprecated">
  13921. </constructor>
  13922. <method name="destroyAndCollectSnapshotBlocks"
  13923. abstract="false" native="false" synchronized="false"
  13924. static="false" final="false" visibility="public"
  13925. deprecated="not deprecated">
  13926. <param name="collectedBlocks" type="org.apache.hadoop.hdfs.server.namenode.INode.BlocksMapUpdateInfo"/>
  13927. </method>
  13928. <method name="saveSelf2Snapshot"
  13929. abstract="false" native="false" synchronized="false"
  13930. static="false" final="false" visibility="public"
  13931. deprecated="not deprecated">
  13932. <param name="latestSnapshotId" type="int"/>
  13933. <param name="iNodeFile" type="org.apache.hadoop.hdfs.server.namenode.INodeFile"/>
  13934. <param name="snapshotCopy" type="org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes"/>
  13935. <param name="withBlocks" type="boolean"/>
  13936. </method>
  13937. <method name="findEarlierSnapshotBlocks" return="org.apache.hadoop.hdfs.server.blockmanagement.BlockInfoContiguous[]"
  13938. abstract="false" native="false" synchronized="false"
  13939. static="false" final="false" visibility="public"
  13940. deprecated="not deprecated">
  13941. <param name="snapshotId" type="int"/>
  13942. </method>
  13943. <method name="findLaterSnapshotBlocks" return="org.apache.hadoop.hdfs.server.blockmanagement.BlockInfoContiguous[]"
  13944. abstract="false" native="false" synchronized="false"
  13945. static="false" final="false" visibility="public"
  13946. deprecated="not deprecated">
  13947. <param name="snapshotId" type="int"/>
  13948. </method>
  13949. <doc>
  13950. <![CDATA[A list of FileDiffs for storing snapshot data.]]>
  13951. </doc>
  13952. </class>
  13953. <!-- end class org.apache.hadoop.hdfs.server.namenode.snapshot.FileDiffList -->
  13954. <!-- start class org.apache.hadoop.hdfs.server.namenode.snapshot.FSImageFormatPBSnapshot.Loader -->
  13955. <class name="FSImageFormatPBSnapshot.Loader" extends="java.lang.Object"
  13956. abstract="false"
  13957. static="true" final="true" visibility="public"
  13958. deprecated="not deprecated">
  13959. <constructor name="Loader" type="org.apache.hadoop.hdfs.server.namenode.FSNamesystem, org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.Loader"
  13960. static="false" final="false" visibility="public"
  13961. deprecated="not deprecated">
  13962. </constructor>
  13963. <method name="loadINodeReferenceSection"
  13964. abstract="false" native="false" synchronized="false"
  13965. static="false" final="false" visibility="public"
  13966. deprecated="not deprecated">
  13967. <param name="in" type="java.io.InputStream"/>
  13968. <exception name="IOException" type="java.io.IOException"/>
  13969. <doc>
  13970. <![CDATA[The sequence of the ref node in refList must be strictly the same with
  13971. the sequence in fsimage]]>
  13972. </doc>
  13973. </method>
  13974. <method name="loadSnapshotSection"
  13975. abstract="false" native="false" synchronized="false"
  13976. static="false" final="false" visibility="public"
  13977. deprecated="not deprecated">
  13978. <param name="in" type="java.io.InputStream"/>
  13979. <exception name="IOException" type="java.io.IOException"/>
  13980. <doc>
  13981. <![CDATA[Load the snapshots section from fsimage. Also add snapshottable feature
  13982. to snapshottable directories.]]>
  13983. </doc>
  13984. </method>
  13985. <method name="loadSnapshotDiffSection"
  13986. abstract="false" native="false" synchronized="false"
  13987. static="false" final="false" visibility="public"
  13988. deprecated="not deprecated">
  13989. <param name="in" type="java.io.InputStream"/>
  13990. <exception name="IOException" type="java.io.IOException"/>
  13991. <doc>
  13992. <![CDATA[Load the snapshot diff section from fsimage.]]>
  13993. </doc>
  13994. </method>
  13995. <doc>
  13996. <![CDATA[Loading snapshot related information from protobuf based FSImage]]>
  13997. </doc>
  13998. </class>
  13999. <!-- end class org.apache.hadoop.hdfs.server.namenode.snapshot.FSImageFormatPBSnapshot.Loader -->
  14000. <!-- start class org.apache.hadoop.hdfs.server.namenode.snapshot.FSImageFormatPBSnapshot.Saver -->
  14001. <class name="FSImageFormatPBSnapshot.Saver" extends="java.lang.Object"
  14002. abstract="false"
  14003. static="true" final="true" visibility="public"
  14004. deprecated="not deprecated">
  14005. <constructor name="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"
  14006. static="false" final="false" visibility="public"
  14007. deprecated="not deprecated">
  14008. </constructor>
  14009. <method name="serializeSnapshotSection"
  14010. abstract="false" native="false" synchronized="false"
  14011. static="false" final="false" visibility="public"
  14012. deprecated="not deprecated">
  14013. <param name="out" type="java.io.OutputStream"/>
  14014. <exception name="IOException" type="java.io.IOException"/>
  14015. <doc>
  14016. <![CDATA[save all the snapshottable directories and snapshots to fsimage]]>
  14017. </doc>
  14018. </method>
  14019. <method name="serializeINodeReferenceSection"
  14020. abstract="false" native="false" synchronized="false"
  14021. static="false" final="false" visibility="public"
  14022. deprecated="not deprecated">
  14023. <param name="out" type="java.io.OutputStream"/>
  14024. <exception name="IOException" type="java.io.IOException"/>
  14025. <doc>
  14026. <![CDATA[This can only be called after serializing both INode_Dir and SnapshotDiff]]>
  14027. </doc>
  14028. </method>
  14029. <method name="serializeSnapshotDiffSection"
  14030. abstract="false" native="false" synchronized="false"
  14031. static="false" final="false" visibility="public"
  14032. deprecated="not deprecated">
  14033. <param name="out" type="java.io.OutputStream"/>
  14034. <exception name="IOException" type="java.io.IOException"/>
  14035. <doc>
  14036. <![CDATA[save all the snapshot diff to fsimage]]>
  14037. </doc>
  14038. </method>
  14039. <doc>
  14040. <![CDATA[Saving snapshot related information to protobuf based FSImage]]>
  14041. </doc>
  14042. </class>
  14043. <!-- end class org.apache.hadoop.hdfs.server.namenode.snapshot.FSImageFormatPBSnapshot.Saver -->
  14044. <!-- start class org.apache.hadoop.hdfs.server.namenode.snapshot.Snapshot.Root -->
  14045. <class name="Snapshot.Root" extends="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"
  14046. abstract="false"
  14047. static="true" final="false" visibility="public"
  14048. deprecated="not deprecated">
  14049. <method name="getChildrenList" return="org.apache.hadoop.hdfs.util.ReadOnlyList"
  14050. abstract="false" native="false" synchronized="false"
  14051. static="false" final="false" visibility="public"
  14052. deprecated="not deprecated">
  14053. <param name="snapshotId" type="int"/>
  14054. </method>
  14055. <method name="getChild" return="org.apache.hadoop.hdfs.server.namenode.INode"
  14056. abstract="false" native="false" synchronized="false"
  14057. static="false" final="false" visibility="public"
  14058. deprecated="not deprecated">
  14059. <param name="name" type="byte[]"/>
  14060. <param name="snapshotId" type="int"/>
  14061. </method>
  14062. <method name="computeContentSummary" return="org.apache.hadoop.hdfs.server.namenode.ContentSummaryComputationContext"
  14063. abstract="false" native="false" synchronized="false"
  14064. static="false" final="false" visibility="public"
  14065. deprecated="not deprecated">
  14066. <param name="summary" type="org.apache.hadoop.hdfs.server.namenode.ContentSummaryComputationContext"/>
  14067. </method>
  14068. <method name="getFullPathName" return="java.lang.String"
  14069. abstract="false" native="false" synchronized="false"
  14070. static="false" final="false" visibility="public"
  14071. deprecated="not deprecated">
  14072. </method>
  14073. <doc>
  14074. <![CDATA[The root directory of the snapshot.]]>
  14075. </doc>
  14076. </class>
  14077. <!-- end class org.apache.hadoop.hdfs.server.namenode.snapshot.Snapshot.Root -->
  14078. <!-- start class org.apache.hadoop.hdfs.server.namenode.snapshot.SnapshotFSImageFormat -->
  14079. <class name="SnapshotFSImageFormat" extends="java.lang.Object"
  14080. abstract="false"
  14081. static="false" final="false" visibility="public"
  14082. deprecated="not deprecated">
  14083. <constructor name="SnapshotFSImageFormat"
  14084. static="false" final="false" visibility="public"
  14085. deprecated="not deprecated">
  14086. </constructor>
  14087. <method name="saveSnapshots"
  14088. abstract="false" native="false" synchronized="false"
  14089. static="true" final="false" visibility="public"
  14090. deprecated="not deprecated">
  14091. <param name="current" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"/>
  14092. <param name="out" type="java.io.DataOutput"/>
  14093. <exception name="IOException" type="java.io.IOException"/>
  14094. <doc>
  14095. <![CDATA[Save snapshots and snapshot quota for a snapshottable directory.
  14096. @param current The directory that the snapshots belongs to.
  14097. @param out The {@link DataOutput} to write.
  14098. @throws IOException]]>
  14099. </doc>
  14100. </method>
  14101. <method name="saveDirectoryDiffList"
  14102. abstract="false" native="false" synchronized="false"
  14103. static="true" final="false" visibility="public"
  14104. deprecated="not deprecated">
  14105. <param name="dir" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"/>
  14106. <param name="out" type="java.io.DataOutput"/>
  14107. <param name="referenceMap" type="org.apache.hadoop.hdfs.server.namenode.snapshot.SnapshotFSImageFormat.ReferenceMap"/>
  14108. <exception name="IOException" type="java.io.IOException"/>
  14109. </method>
  14110. <method name="saveFileDiffList"
  14111. abstract="false" native="false" synchronized="false"
  14112. static="true" final="false" visibility="public"
  14113. deprecated="not deprecated">
  14114. <param name="file" type="org.apache.hadoop.hdfs.server.namenode.INodeFile"/>
  14115. <param name="out" type="java.io.DataOutput"/>
  14116. <exception name="IOException" type="java.io.IOException"/>
  14117. </method>
  14118. <method name="loadFileDiffList" return="org.apache.hadoop.hdfs.server.namenode.snapshot.FileDiffList"
  14119. abstract="false" native="false" synchronized="false"
  14120. static="true" final="false" visibility="public"
  14121. deprecated="not deprecated">
  14122. <param name="in" type="java.io.DataInput"/>
  14123. <param name="loader" type="org.apache.hadoop.hdfs.server.namenode.FSImageFormat.Loader"/>
  14124. <exception name="IOException" type="java.io.IOException"/>
  14125. </method>
  14126. <method name="loadCreated" return="org.apache.hadoop.hdfs.server.namenode.INode"
  14127. abstract="false" native="false" synchronized="false"
  14128. static="true" final="false" visibility="public"
  14129. deprecated="not deprecated">
  14130. <param name="createdNodeName" type="byte[]"/>
  14131. <param name="parent" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"/>
  14132. <exception name="IOException" type="java.io.IOException"/>
  14133. <doc>
  14134. <![CDATA[Load a node stored in the created list from fsimage.
  14135. @param createdNodeName The name of the created node.
  14136. @param parent The directory that the created list belongs to.
  14137. @return The created node.]]>
  14138. </doc>
  14139. </method>
  14140. <method name="loadSnapshotList"
  14141. abstract="false" native="false" synchronized="false"
  14142. static="true" final="false" visibility="public"
  14143. deprecated="not deprecated">
  14144. <param name="snapshottableParent" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"/>
  14145. <param name="numSnapshots" type="int"/>
  14146. <param name="in" type="java.io.DataInput"/>
  14147. <param name="loader" type="org.apache.hadoop.hdfs.server.namenode.FSImageFormat.Loader"/>
  14148. <exception name="IOException" type="java.io.IOException"/>
  14149. <doc>
  14150. <![CDATA[Load snapshots and snapshotQuota for a Snapshottable directory.
  14151. @param snapshottableParent
  14152. The snapshottable directory for loading.
  14153. @param numSnapshots
  14154. The number of snapshots that the directory has.
  14155. @param loader
  14156. The loader]]>
  14157. </doc>
  14158. </method>
  14159. <method name="loadDirectoryDiffList"
  14160. abstract="false" native="false" synchronized="false"
  14161. static="true" final="false" visibility="public"
  14162. deprecated="not deprecated">
  14163. <param name="dir" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"/>
  14164. <param name="in" type="java.io.DataInput"/>
  14165. <param name="loader" type="org.apache.hadoop.hdfs.server.namenode.FSImageFormat.Loader"/>
  14166. <exception name="IOException" type="java.io.IOException"/>
  14167. <doc>
  14168. <![CDATA[Load the {@link SnapshotDiff} list for the INodeDirectoryWithSnapshot
  14169. directory.
  14170. @param dir
  14171. The snapshottable directory for loading.
  14172. @param in
  14173. The {@link DataInput} instance to read.
  14174. @param loader
  14175. The loader]]>
  14176. </doc>
  14177. </method>
  14178. <doc>
  14179. <![CDATA[A helper class defining static methods for reading/writing snapshot related
  14180. information from/to FSImage.]]>
  14181. </doc>
  14182. </class>
  14183. <!-- end class org.apache.hadoop.hdfs.server.namenode.snapshot.SnapshotFSImageFormat -->
  14184. <!-- start class org.apache.hadoop.hdfs.server.namenode.snapshot.SnapshotFSImageFormat.ReferenceMap -->
  14185. <class name="SnapshotFSImageFormat.ReferenceMap" extends="java.lang.Object"
  14186. abstract="false"
  14187. static="true" final="false" visibility="public"
  14188. deprecated="not deprecated">
  14189. <constructor name="ReferenceMap"
  14190. static="false" final="false" visibility="public"
  14191. deprecated="not deprecated">
  14192. </constructor>
  14193. <method name="writeINodeReferenceWithCount"
  14194. abstract="false" native="false" synchronized="false"
  14195. static="false" final="false" visibility="public"
  14196. deprecated="not deprecated">
  14197. <param name="withCount" type="org.apache.hadoop.hdfs.server.namenode.INodeReference.WithCount"/>
  14198. <param name="out" type="java.io.DataOutput"/>
  14199. <param name="writeUnderConstruction" type="boolean"/>
  14200. <exception name="IOException" type="java.io.IOException"/>
  14201. </method>
  14202. <method name="toProcessSubtree" return="boolean"
  14203. abstract="false" native="false" synchronized="false"
  14204. static="false" final="false" visibility="public"
  14205. deprecated="not deprecated">
  14206. <param name="id" type="long"/>
  14207. </method>
  14208. <method name="loadINodeReferenceWithCount" return="org.apache.hadoop.hdfs.server.namenode.INodeReference.WithCount"
  14209. abstract="false" native="false" synchronized="false"
  14210. static="false" final="false" visibility="public"
  14211. deprecated="not deprecated">
  14212. <param name="isSnapshotINode" type="boolean"/>
  14213. <param name="in" type="java.io.DataInput"/>
  14214. <param name="loader" type="org.apache.hadoop.hdfs.server.namenode.FSImageFormat.Loader"/>
  14215. <exception name="IOException" type="java.io.IOException"/>
  14216. </method>
  14217. <doc>
  14218. <![CDATA[A reference map for fsimage serialization.]]>
  14219. </doc>
  14220. </class>
  14221. <!-- end class org.apache.hadoop.hdfs.server.namenode.snapshot.SnapshotFSImageFormat.ReferenceMap -->
  14222. <!-- start class org.apache.hadoop.hdfs.server.namenode.snapshot.SnapshotManager -->
  14223. <class name="SnapshotManager" extends="java.lang.Object"
  14224. abstract="false"
  14225. static="false" final="false" visibility="public"
  14226. deprecated="not deprecated">
  14227. <implements name="org.apache.hadoop.hdfs.server.namenode.snapshot.SnapshotStatsMXBean"/>
  14228. <constructor name="SnapshotManager" type="org.apache.hadoop.hdfs.server.namenode.FSDirectory"
  14229. static="false" final="false" visibility="public"
  14230. deprecated="not deprecated">
  14231. </constructor>
  14232. <method name="setSnapshottable"
  14233. abstract="false" native="false" synchronized="false"
  14234. static="false" final="false" visibility="public"
  14235. deprecated="not deprecated">
  14236. <param name="path" type="java.lang.String"/>
  14237. <param name="checkNestedSnapshottable" type="boolean"/>
  14238. <exception name="IOException" type="java.io.IOException"/>
  14239. <doc>
  14240. <![CDATA[Set the given directory as a snapshottable directory.
  14241. If the path is already a snapshottable directory, update the quota.]]>
  14242. </doc>
  14243. </method>
  14244. <method name="addSnapshottable"
  14245. abstract="false" native="false" synchronized="false"
  14246. static="false" final="false" visibility="public"
  14247. deprecated="not deprecated">
  14248. <param name="dir" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"/>
  14249. <doc>
  14250. <![CDATA[Add the given snapshottable directory to {@link #snapshottables}.]]>
  14251. </doc>
  14252. </method>
  14253. <method name="removeSnapshottable"
  14254. abstract="false" native="false" synchronized="false"
  14255. static="false" final="false" visibility="public"
  14256. deprecated="not deprecated">
  14257. <param name="toRemove" type="java.util.List"/>
  14258. <doc>
  14259. <![CDATA[Remove snapshottable directories from {@link #snapshottables}]]>
  14260. </doc>
  14261. </method>
  14262. <method name="resetSnapshottable"
  14263. abstract="false" native="false" synchronized="false"
  14264. static="false" final="false" visibility="public"
  14265. deprecated="not deprecated">
  14266. <param name="path" type="java.lang.String"/>
  14267. <exception name="IOException" type="java.io.IOException"/>
  14268. <doc>
  14269. <![CDATA[Set the given snapshottable directory to non-snapshottable.
  14270. @throws SnapshotException if there are snapshots in the directory.]]>
  14271. </doc>
  14272. </method>
  14273. <method name="getSnapshottableRoot" return="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"
  14274. abstract="false" native="false" synchronized="false"
  14275. static="false" final="false" visibility="public"
  14276. deprecated="not deprecated">
  14277. <param name="iip" type="org.apache.hadoop.hdfs.server.namenode.INodesInPath"/>
  14278. <exception name="IOException" type="java.io.IOException"/>
  14279. <doc>
  14280. <![CDATA[Find the source root directory where the snapshot will be taken
  14281. for a given path.
  14282. @return Snapshottable directory.
  14283. @throws IOException
  14284. Throw IOException when the given path does not lead to an
  14285. existing snapshottable directory.]]>
  14286. </doc>
  14287. </method>
  14288. <method name="createSnapshot" return="java.lang.String"
  14289. abstract="false" native="false" synchronized="false"
  14290. static="false" final="false" visibility="public"
  14291. deprecated="not deprecated">
  14292. <param name="iip" type="org.apache.hadoop.hdfs.server.namenode.INodesInPath"/>
  14293. <param name="snapshotRoot" type="java.lang.String"/>
  14294. <param name="snapshotName" type="java.lang.String"/>
  14295. <exception name="IOException" type="java.io.IOException"/>
  14296. <doc>
  14297. <![CDATA[Create a snapshot of the given path.
  14298. It is assumed that the caller will perform synchronization.
  14299. @param iip the INodes resolved from the snapshottable directory's path
  14300. @param snapshotName
  14301. The name of the snapshot.
  14302. @throws IOException
  14303. Throw IOException when 1) the given path does not lead to an
  14304. existing snapshottable directory, and/or 2) there exists a
  14305. snapshot with the given name for the directory, and/or 3)
  14306. snapshot number exceeds quota]]>
  14307. </doc>
  14308. </method>
  14309. <method name="deleteSnapshot"
  14310. abstract="false" native="false" synchronized="false"
  14311. static="false" final="false" visibility="public"
  14312. deprecated="not deprecated">
  14313. <param name="iip" type="org.apache.hadoop.hdfs.server.namenode.INodesInPath"/>
  14314. <param name="snapshotName" type="java.lang.String"/>
  14315. <param name="collectedBlocks" type="org.apache.hadoop.hdfs.server.namenode.INode.BlocksMapUpdateInfo"/>
  14316. <param name="removedINodes" type="java.util.List"/>
  14317. <exception name="IOException" type="java.io.IOException"/>
  14318. <doc>
  14319. <![CDATA[Delete a snapshot for a snapshottable directory
  14320. @param snapshotName Name of the snapshot to be deleted
  14321. @param collectedBlocks Used to collect information to update blocksMap
  14322. @throws IOException]]>
  14323. </doc>
  14324. </method>
  14325. <method name="renameSnapshot"
  14326. abstract="false" native="false" synchronized="false"
  14327. static="false" final="false" visibility="public"
  14328. deprecated="not deprecated">
  14329. <param name="iip" type="org.apache.hadoop.hdfs.server.namenode.INodesInPath"/>
  14330. <param name="snapshotRoot" type="java.lang.String"/>
  14331. <param name="oldSnapshotName" type="java.lang.String"/>
  14332. <param name="newSnapshotName" type="java.lang.String"/>
  14333. <exception name="IOException" type="java.io.IOException"/>
  14334. <doc>
  14335. <![CDATA[Rename the given snapshot
  14336. @param oldSnapshotName
  14337. Old name of the snapshot
  14338. @param newSnapshotName
  14339. New name of the snapshot
  14340. @throws IOException
  14341. Throw IOException when 1) the given path does not lead to an
  14342. existing snapshottable directory, and/or 2) the snapshot with the
  14343. old name does not exist for the directory, and/or 3) there exists
  14344. a snapshot with the new name for the directory]]>
  14345. </doc>
  14346. </method>
  14347. <method name="getNumSnapshottableDirs" return="int"
  14348. abstract="false" native="false" synchronized="false"
  14349. static="false" final="false" visibility="public"
  14350. deprecated="not deprecated">
  14351. </method>
  14352. <method name="getNumSnapshots" return="int"
  14353. abstract="false" native="false" synchronized="false"
  14354. static="false" final="false" visibility="public"
  14355. deprecated="not deprecated">
  14356. </method>
  14357. <method name="write"
  14358. abstract="false" native="false" synchronized="false"
  14359. static="false" final="false" visibility="public"
  14360. deprecated="not deprecated">
  14361. <param name="out" type="java.io.DataOutput"/>
  14362. <exception name="IOException" type="java.io.IOException"/>
  14363. <doc>
  14364. <![CDATA[Write {@link #snapshotCounter}, {@link #numSnapshots},
  14365. and all snapshots to the DataOutput.]]>
  14366. </doc>
  14367. </method>
  14368. <method name="read" return="java.util.Map"
  14369. abstract="false" native="false" synchronized="false"
  14370. static="false" final="false" visibility="public"
  14371. deprecated="not deprecated">
  14372. <param name="in" type="java.io.DataInput"/>
  14373. <param name="loader" type="org.apache.hadoop.hdfs.server.namenode.FSImageFormat.Loader"/>
  14374. <exception name="IOException" type="java.io.IOException"/>
  14375. <doc>
  14376. <![CDATA[Read values of {@link #snapshotCounter}, {@link #numSnapshots}, and
  14377. all snapshots from the DataInput]]>
  14378. </doc>
  14379. </method>
  14380. <method name="getSnapshottableDirListing" return="org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus[]"
  14381. abstract="false" native="false" synchronized="false"
  14382. static="false" final="false" visibility="public"
  14383. deprecated="not deprecated">
  14384. <param name="userName" type="java.lang.String"/>
  14385. <doc>
  14386. <![CDATA[List all the snapshottable directories that are owned by the current user.
  14387. @param userName Current user name.
  14388. @return Snapshottable directories that are owned by the current user,
  14389. represented as an array of {@link SnapshottableDirectoryStatus}. If
  14390. {@code userName} is null, return all the snapshottable dirs.]]>
  14391. </doc>
  14392. </method>
  14393. <method name="diff" return="org.apache.hadoop.hdfs.protocol.SnapshotDiffReport"
  14394. abstract="false" native="false" synchronized="false"
  14395. static="false" final="false" visibility="public"
  14396. deprecated="not deprecated">
  14397. <param name="iip" type="org.apache.hadoop.hdfs.server.namenode.INodesInPath"/>
  14398. <param name="snapshotRootPath" type="java.lang.String"/>
  14399. <param name="from" type="java.lang.String"/>
  14400. <param name="to" type="java.lang.String"/>
  14401. <exception name="IOException" type="java.io.IOException"/>
  14402. <doc>
  14403. <![CDATA[Compute the difference between two snapshots of a directory, or between a
  14404. snapshot of the directory and its current tree.]]>
  14405. </doc>
  14406. </method>
  14407. <method name="clearSnapshottableDirs"
  14408. abstract="false" native="false" synchronized="false"
  14409. static="false" final="false" visibility="public"
  14410. deprecated="not deprecated">
  14411. </method>
  14412. <method name="getMaxSnapshotID" return="int"
  14413. abstract="false" native="false" synchronized="false"
  14414. static="false" final="false" visibility="public"
  14415. deprecated="not deprecated">
  14416. <doc>
  14417. <![CDATA[Returns the maximum allowable snapshot ID based on the bit width of the
  14418. snapshot ID.
  14419. @return maximum allowable snapshot ID.]]>
  14420. </doc>
  14421. </method>
  14422. <method name="registerMXBean"
  14423. abstract="false" native="false" synchronized="false"
  14424. static="false" final="false" visibility="public"
  14425. deprecated="not deprecated">
  14426. </method>
  14427. <method name="shutdown"
  14428. abstract="false" native="false" synchronized="false"
  14429. static="false" final="false" visibility="public"
  14430. deprecated="not deprecated">
  14431. </method>
  14432. <method name="getSnapshottableDirectories" return="org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus.Bean[]"
  14433. abstract="false" native="false" synchronized="false"
  14434. static="false" final="false" visibility="public"
  14435. deprecated="not deprecated">
  14436. </method>
  14437. <method name="getSnapshots" return="org.apache.hadoop.hdfs.protocol.SnapshotInfo.Bean[]"
  14438. abstract="false" native="false" synchronized="false"
  14439. static="false" final="false" visibility="public"
  14440. deprecated="not deprecated">
  14441. </method>
  14442. <method name="toBean" return="org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus.Bean"
  14443. abstract="false" native="false" synchronized="false"
  14444. static="true" final="false" visibility="public"
  14445. deprecated="not deprecated">
  14446. <param name="d" type="org.apache.hadoop.hdfs.server.namenode.INodeDirectory"/>
  14447. </method>
  14448. <method name="toBean" return="org.apache.hadoop.hdfs.protocol.SnapshotInfo.Bean"
  14449. abstract="false" native="false" synchronized="false"
  14450. static="true" final="false" visibility="public"
  14451. deprecated="not deprecated">
  14452. <param name="s" type="org.apache.hadoop.hdfs.server.namenode.snapshot.Snapshot"/>
  14453. </method>
  14454. <doc>
  14455. <![CDATA[Manage snapshottable directories and their snapshots.
  14456. This class includes operations that create, access, modify snapshots and/or
  14457. snapshot-related data. In general, the locking structure of snapshot
  14458. operations is: <br>
  14459. 1. Lock the {@link FSNamesystem} lock in {@link FSNamesystem} before calling
  14460. into {@link SnapshotManager} methods.<br>
  14461. 2. Lock the {@link FSDirectory} lock for the {@link SnapshotManager} methods
  14462. if necessary.]]>
  14463. </doc>
  14464. </class>
  14465. <!-- end class org.apache.hadoop.hdfs.server.namenode.snapshot.SnapshotManager -->
  14466. <!-- start interface org.apache.hadoop.hdfs.server.namenode.snapshot.SnapshotStatsMXBean -->
  14467. <interface name="SnapshotStatsMXBean" abstract="true"
  14468. static="false" final="false" visibility="public"
  14469. deprecated="not deprecated">
  14470. <method name="getSnapshottableDirectories" return="org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus.Bean[]"
  14471. abstract="true" native="false" synchronized="false"
  14472. static="false" final="false" visibility="public"
  14473. deprecated="not deprecated">
  14474. <doc>
  14475. <![CDATA[Return the list of snapshottable directories
  14476. @return the list of snapshottable directories]]>
  14477. </doc>
  14478. </method>
  14479. <method name="getSnapshots" return="org.apache.hadoop.hdfs.protocol.SnapshotInfo.Bean[]"
  14480. abstract="true" native="false" synchronized="false"
  14481. static="false" final="false" visibility="public"
  14482. deprecated="not deprecated">
  14483. <doc>
  14484. <![CDATA[Return the list of snapshots
  14485. @return the list of snapshots]]>
  14486. </doc>
  14487. </method>
  14488. <doc>
  14489. <![CDATA[This is an interface used to retrieve statistic information related to
  14490. snapshots]]>
  14491. </doc>
  14492. </interface>
  14493. <!-- end interface org.apache.hadoop.hdfs.server.namenode.snapshot.SnapshotStatsMXBean -->
  14494. </package>
  14495. <package name="org.apache.hadoop.hdfs.server.namenode.top">
  14496. </package>
  14497. <package name="org.apache.hadoop.hdfs.server.namenode.top.metrics">
  14498. </package>
  14499. <package name="org.apache.hadoop.hdfs.server.namenode.top.window">
  14500. <!-- start class org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager.Op -->
  14501. <class name="RollingWindowManager.Op" extends="java.lang.Object"
  14502. abstract="false"
  14503. static="true" final="false" visibility="public"
  14504. deprecated="not deprecated">
  14505. <constructor name="Op" type="java.lang.String, long"
  14506. static="false" final="false" visibility="public"
  14507. deprecated="not deprecated">
  14508. </constructor>
  14509. <method name="addUser"
  14510. abstract="false" native="false" synchronized="false"
  14511. static="false" final="false" visibility="public"
  14512. deprecated="not deprecated">
  14513. <param name="u" type="org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager.User"/>
  14514. </method>
  14515. <method name="getOpType" return="java.lang.String"
  14516. abstract="false" native="false" synchronized="false"
  14517. static="false" final="false" visibility="public"
  14518. deprecated="not deprecated">
  14519. </method>
  14520. <method name="getTopUsers" return="java.util.List"
  14521. abstract="false" native="false" synchronized="false"
  14522. static="false" final="false" visibility="public"
  14523. deprecated="not deprecated">
  14524. </method>
  14525. <method name="getTotalCount" return="long"
  14526. abstract="false" native="false" synchronized="false"
  14527. static="false" final="false" visibility="public"
  14528. deprecated="not deprecated">
  14529. </method>
  14530. <doc>
  14531. <![CDATA[Represents an operation within a TopWindow. It contains a ranked
  14532. set of the top users for the operation.]]>
  14533. </doc>
  14534. </class>
  14535. <!-- end class org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager.Op -->
  14536. <!-- start class org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager.TopWindow -->
  14537. <class name="RollingWindowManager.TopWindow" extends="java.lang.Object"
  14538. abstract="false"
  14539. static="true" final="false" visibility="public"
  14540. deprecated="not deprecated">
  14541. <constructor name="TopWindow" type="int"
  14542. static="false" final="false" visibility="public"
  14543. deprecated="not deprecated">
  14544. </constructor>
  14545. <method name="addOp"
  14546. abstract="false" native="false" synchronized="false"
  14547. static="false" final="false" visibility="public"
  14548. deprecated="not deprecated">
  14549. <param name="op" type="org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager.Op"/>
  14550. </method>
  14551. <method name="getWindowLenMs" return="int"
  14552. abstract="false" native="false" synchronized="false"
  14553. static="false" final="false" visibility="public"
  14554. deprecated="not deprecated">
  14555. </method>
  14556. <method name="getOps" return="java.util.List"
  14557. abstract="false" native="false" synchronized="false"
  14558. static="false" final="false" visibility="public"
  14559. deprecated="not deprecated">
  14560. </method>
  14561. <doc>
  14562. <![CDATA[Represents a snapshot of the rolling window. It contains one Op per
  14563. operation in the window, with ranked users for each Op.]]>
  14564. </doc>
  14565. </class>
  14566. <!-- end class org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager.TopWindow -->
  14567. <!-- start class org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager.User -->
  14568. <class name="RollingWindowManager.User" extends="java.lang.Object"
  14569. abstract="false"
  14570. static="true" final="false" visibility="public"
  14571. deprecated="not deprecated">
  14572. <constructor name="User" type="java.lang.String, long"
  14573. static="false" final="false" visibility="public"
  14574. deprecated="not deprecated">
  14575. </constructor>
  14576. <method name="getUser" return="java.lang.String"
  14577. abstract="false" native="false" synchronized="false"
  14578. static="false" final="false" visibility="public"
  14579. deprecated="not deprecated">
  14580. </method>
  14581. <method name="getCount" return="long"
  14582. abstract="false" native="false" synchronized="false"
  14583. static="false" final="false" visibility="public"
  14584. deprecated="not deprecated">
  14585. </method>
  14586. <doc>
  14587. <![CDATA[Represents a user who called an Op within a TopWindow. Specifies the
  14588. user and the number of times the user called the operation.]]>
  14589. </doc>
  14590. </class>
  14591. <!-- end class org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager.User -->
  14592. </package>
  14593. <package name="org.apache.hadoop.hdfs.server.namenode.web.resources">
  14594. <!-- start class org.apache.hadoop.hdfs.server.namenode.web.resources.NamenodeWebHdfsMethods -->
  14595. <class name="NamenodeWebHdfsMethods" extends="java.lang.Object"
  14596. abstract="false"
  14597. static="false" final="false" visibility="public"
  14598. deprecated="not deprecated">
  14599. <constructor name="NamenodeWebHdfsMethods"
  14600. static="false" final="false" visibility="public"
  14601. deprecated="not deprecated">
  14602. </constructor>
  14603. <method name="getRemoteAddress" return="java.lang.String"
  14604. abstract="false" native="false" synchronized="false"
  14605. static="true" final="false" visibility="public"
  14606. deprecated="not deprecated">
  14607. <doc>
  14608. <![CDATA[@return the remote client address.]]>
  14609. </doc>
  14610. </method>
  14611. <method name="getRemoteIp" return="java.net.InetAddress"
  14612. abstract="false" native="false" synchronized="false"
  14613. static="true" final="false" visibility="public"
  14614. deprecated="not deprecated">
  14615. </method>
  14616. <method name="isWebHdfsInvocation" return="boolean"
  14617. abstract="false" native="false" synchronized="false"
  14618. static="true" final="false" visibility="public"
  14619. deprecated="not deprecated">
  14620. <doc>
  14621. <![CDATA[Returns true if a WebHdfs request is in progress. Akin to
  14622. {@link Server#isRpcInvocation()}.]]>
  14623. </doc>
  14624. </method>
  14625. <method name="putRoot" return="javax.ws.rs.core.Response"
  14626. abstract="false" native="false" synchronized="false"
  14627. static="false" final="false" visibility="public"
  14628. deprecated="not deprecated">
  14629. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  14630. <param name="delegation" type="org.apache.hadoop.hdfs.web.resources.DelegationParam"/>
  14631. <param name="username" type="org.apache.hadoop.hdfs.web.resources.UserParam"/>
  14632. <param name="doAsUser" type="org.apache.hadoop.hdfs.web.resources.DoAsParam"/>
  14633. <param name="op" type="org.apache.hadoop.hdfs.web.resources.PutOpParam"/>
  14634. <param name="destination" type="org.apache.hadoop.hdfs.web.resources.DestinationParam"/>
  14635. <param name="owner" type="org.apache.hadoop.hdfs.web.resources.OwnerParam"/>
  14636. <param name="group" type="org.apache.hadoop.hdfs.web.resources.GroupParam"/>
  14637. <param name="permission" type="org.apache.hadoop.hdfs.web.resources.PermissionParam"/>
  14638. <param name="overwrite" type="org.apache.hadoop.hdfs.web.resources.OverwriteParam"/>
  14639. <param name="bufferSize" type="org.apache.hadoop.hdfs.web.resources.BufferSizeParam"/>
  14640. <param name="replication" type="org.apache.hadoop.hdfs.web.resources.ReplicationParam"/>
  14641. <param name="blockSize" type="org.apache.hadoop.hdfs.web.resources.BlockSizeParam"/>
  14642. <param name="modificationTime" type="org.apache.hadoop.hdfs.web.resources.ModificationTimeParam"/>
  14643. <param name="accessTime" type="org.apache.hadoop.hdfs.web.resources.AccessTimeParam"/>
  14644. <param name="renameOptions" type="org.apache.hadoop.hdfs.web.resources.RenameOptionSetParam"/>
  14645. <param name="createParent" type="org.apache.hadoop.hdfs.web.resources.CreateParentParam"/>
  14646. <param name="delegationTokenArgument" type="org.apache.hadoop.hdfs.web.resources.TokenArgumentParam"/>
  14647. <param name="aclPermission" type="org.apache.hadoop.hdfs.web.resources.AclPermissionParam"/>
  14648. <param name="xattrName" type="org.apache.hadoop.hdfs.web.resources.XAttrNameParam"/>
  14649. <param name="xattrValue" type="org.apache.hadoop.hdfs.web.resources.XAttrValueParam"/>
  14650. <param name="xattrSetFlag" type="org.apache.hadoop.hdfs.web.resources.XAttrSetFlagParam"/>
  14651. <param name="snapshotName" type="org.apache.hadoop.hdfs.web.resources.SnapshotNameParam"/>
  14652. <param name="oldSnapshotName" type="org.apache.hadoop.hdfs.web.resources.OldSnapshotNameParam"/>
  14653. <param name="excludeDatanodes" type="org.apache.hadoop.hdfs.web.resources.ExcludeDatanodesParam"/>
  14654. <exception name="IOException" type="java.io.IOException"/>
  14655. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  14656. <doc>
  14657. <![CDATA[Handle HTTP PUT request for the root.]]>
  14658. </doc>
  14659. </method>
  14660. <method name="put" return="javax.ws.rs.core.Response"
  14661. abstract="false" native="false" synchronized="false"
  14662. static="false" final="false" visibility="public"
  14663. deprecated="not deprecated">
  14664. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  14665. <param name="delegation" type="org.apache.hadoop.hdfs.web.resources.DelegationParam"/>
  14666. <param name="username" type="org.apache.hadoop.hdfs.web.resources.UserParam"/>
  14667. <param name="doAsUser" type="org.apache.hadoop.hdfs.web.resources.DoAsParam"/>
  14668. <param name="path" type="org.apache.hadoop.hdfs.web.resources.UriFsPathParam"/>
  14669. <param name="op" type="org.apache.hadoop.hdfs.web.resources.PutOpParam"/>
  14670. <param name="destination" type="org.apache.hadoop.hdfs.web.resources.DestinationParam"/>
  14671. <param name="owner" type="org.apache.hadoop.hdfs.web.resources.OwnerParam"/>
  14672. <param name="group" type="org.apache.hadoop.hdfs.web.resources.GroupParam"/>
  14673. <param name="permission" type="org.apache.hadoop.hdfs.web.resources.PermissionParam"/>
  14674. <param name="overwrite" type="org.apache.hadoop.hdfs.web.resources.OverwriteParam"/>
  14675. <param name="bufferSize" type="org.apache.hadoop.hdfs.web.resources.BufferSizeParam"/>
  14676. <param name="replication" type="org.apache.hadoop.hdfs.web.resources.ReplicationParam"/>
  14677. <param name="blockSize" type="org.apache.hadoop.hdfs.web.resources.BlockSizeParam"/>
  14678. <param name="modificationTime" type="org.apache.hadoop.hdfs.web.resources.ModificationTimeParam"/>
  14679. <param name="accessTime" type="org.apache.hadoop.hdfs.web.resources.AccessTimeParam"/>
  14680. <param name="renameOptions" type="org.apache.hadoop.hdfs.web.resources.RenameOptionSetParam"/>
  14681. <param name="createParent" type="org.apache.hadoop.hdfs.web.resources.CreateParentParam"/>
  14682. <param name="delegationTokenArgument" type="org.apache.hadoop.hdfs.web.resources.TokenArgumentParam"/>
  14683. <param name="aclPermission" type="org.apache.hadoop.hdfs.web.resources.AclPermissionParam"/>
  14684. <param name="xattrName" type="org.apache.hadoop.hdfs.web.resources.XAttrNameParam"/>
  14685. <param name="xattrValue" type="org.apache.hadoop.hdfs.web.resources.XAttrValueParam"/>
  14686. <param name="xattrSetFlag" type="org.apache.hadoop.hdfs.web.resources.XAttrSetFlagParam"/>
  14687. <param name="snapshotName" type="org.apache.hadoop.hdfs.web.resources.SnapshotNameParam"/>
  14688. <param name="oldSnapshotName" type="org.apache.hadoop.hdfs.web.resources.OldSnapshotNameParam"/>
  14689. <param name="excludeDatanodes" type="org.apache.hadoop.hdfs.web.resources.ExcludeDatanodesParam"/>
  14690. <exception name="IOException" type="java.io.IOException"/>
  14691. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  14692. <doc>
  14693. <![CDATA[Handle HTTP PUT request.]]>
  14694. </doc>
  14695. </method>
  14696. <method name="postRoot" return="javax.ws.rs.core.Response"
  14697. abstract="false" native="false" synchronized="false"
  14698. static="false" final="false" visibility="public"
  14699. deprecated="not deprecated">
  14700. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  14701. <param name="delegation" type="org.apache.hadoop.hdfs.web.resources.DelegationParam"/>
  14702. <param name="username" type="org.apache.hadoop.hdfs.web.resources.UserParam"/>
  14703. <param name="doAsUser" type="org.apache.hadoop.hdfs.web.resources.DoAsParam"/>
  14704. <param name="op" type="org.apache.hadoop.hdfs.web.resources.PostOpParam"/>
  14705. <param name="concatSrcs" type="org.apache.hadoop.hdfs.web.resources.ConcatSourcesParam"/>
  14706. <param name="bufferSize" type="org.apache.hadoop.hdfs.web.resources.BufferSizeParam"/>
  14707. <param name="excludeDatanodes" type="org.apache.hadoop.hdfs.web.resources.ExcludeDatanodesParam"/>
  14708. <param name="newLength" type="org.apache.hadoop.hdfs.web.resources.NewLengthParam"/>
  14709. <exception name="IOException" type="java.io.IOException"/>
  14710. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  14711. <doc>
  14712. <![CDATA[Handle HTTP POST request for the root.]]>
  14713. </doc>
  14714. </method>
  14715. <method name="post" return="javax.ws.rs.core.Response"
  14716. abstract="false" native="false" synchronized="false"
  14717. static="false" final="false" visibility="public"
  14718. deprecated="not deprecated">
  14719. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  14720. <param name="delegation" type="org.apache.hadoop.hdfs.web.resources.DelegationParam"/>
  14721. <param name="username" type="org.apache.hadoop.hdfs.web.resources.UserParam"/>
  14722. <param name="doAsUser" type="org.apache.hadoop.hdfs.web.resources.DoAsParam"/>
  14723. <param name="path" type="org.apache.hadoop.hdfs.web.resources.UriFsPathParam"/>
  14724. <param name="op" type="org.apache.hadoop.hdfs.web.resources.PostOpParam"/>
  14725. <param name="concatSrcs" type="org.apache.hadoop.hdfs.web.resources.ConcatSourcesParam"/>
  14726. <param name="bufferSize" type="org.apache.hadoop.hdfs.web.resources.BufferSizeParam"/>
  14727. <param name="excludeDatanodes" type="org.apache.hadoop.hdfs.web.resources.ExcludeDatanodesParam"/>
  14728. <param name="newLength" type="org.apache.hadoop.hdfs.web.resources.NewLengthParam"/>
  14729. <exception name="IOException" type="java.io.IOException"/>
  14730. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  14731. <doc>
  14732. <![CDATA[Handle HTTP POST request.]]>
  14733. </doc>
  14734. </method>
  14735. <method name="getRoot" return="javax.ws.rs.core.Response"
  14736. abstract="false" native="false" synchronized="false"
  14737. static="false" final="false" visibility="public"
  14738. deprecated="not deprecated">
  14739. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  14740. <param name="delegation" type="org.apache.hadoop.hdfs.web.resources.DelegationParam"/>
  14741. <param name="username" type="org.apache.hadoop.hdfs.web.resources.UserParam"/>
  14742. <param name="doAsUser" type="org.apache.hadoop.hdfs.web.resources.DoAsParam"/>
  14743. <param name="op" type="org.apache.hadoop.hdfs.web.resources.GetOpParam"/>
  14744. <param name="offset" type="org.apache.hadoop.hdfs.web.resources.OffsetParam"/>
  14745. <param name="length" type="org.apache.hadoop.hdfs.web.resources.LengthParam"/>
  14746. <param name="renewer" type="org.apache.hadoop.hdfs.web.resources.RenewerParam"/>
  14747. <param name="bufferSize" type="org.apache.hadoop.hdfs.web.resources.BufferSizeParam"/>
  14748. <param name="xattrNames" type="java.util.List"/>
  14749. <param name="xattrEncoding" type="org.apache.hadoop.hdfs.web.resources.XAttrEncodingParam"/>
  14750. <param name="excludeDatanodes" type="org.apache.hadoop.hdfs.web.resources.ExcludeDatanodesParam"/>
  14751. <param name="fsAction" type="org.apache.hadoop.hdfs.web.resources.FsActionParam"/>
  14752. <param name="tokenKind" type="org.apache.hadoop.hdfs.web.resources.TokenKindParam"/>
  14753. <param name="tokenService" type="org.apache.hadoop.hdfs.web.resources.TokenServiceParam"/>
  14754. <exception name="IOException" type="java.io.IOException"/>
  14755. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  14756. <doc>
  14757. <![CDATA[Handle HTTP GET request for the root.]]>
  14758. </doc>
  14759. </method>
  14760. <method name="get" return="javax.ws.rs.core.Response"
  14761. abstract="false" native="false" synchronized="false"
  14762. static="false" final="false" visibility="public"
  14763. deprecated="not deprecated">
  14764. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  14765. <param name="delegation" type="org.apache.hadoop.hdfs.web.resources.DelegationParam"/>
  14766. <param name="username" type="org.apache.hadoop.hdfs.web.resources.UserParam"/>
  14767. <param name="doAsUser" type="org.apache.hadoop.hdfs.web.resources.DoAsParam"/>
  14768. <param name="path" type="org.apache.hadoop.hdfs.web.resources.UriFsPathParam"/>
  14769. <param name="op" type="org.apache.hadoop.hdfs.web.resources.GetOpParam"/>
  14770. <param name="offset" type="org.apache.hadoop.hdfs.web.resources.OffsetParam"/>
  14771. <param name="length" type="org.apache.hadoop.hdfs.web.resources.LengthParam"/>
  14772. <param name="renewer" type="org.apache.hadoop.hdfs.web.resources.RenewerParam"/>
  14773. <param name="bufferSize" type="org.apache.hadoop.hdfs.web.resources.BufferSizeParam"/>
  14774. <param name="xattrNames" type="java.util.List"/>
  14775. <param name="xattrEncoding" type="org.apache.hadoop.hdfs.web.resources.XAttrEncodingParam"/>
  14776. <param name="excludeDatanodes" type="org.apache.hadoop.hdfs.web.resources.ExcludeDatanodesParam"/>
  14777. <param name="fsAction" type="org.apache.hadoop.hdfs.web.resources.FsActionParam"/>
  14778. <param name="tokenKind" type="org.apache.hadoop.hdfs.web.resources.TokenKindParam"/>
  14779. <param name="tokenService" type="org.apache.hadoop.hdfs.web.resources.TokenServiceParam"/>
  14780. <exception name="IOException" type="java.io.IOException"/>
  14781. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  14782. <doc>
  14783. <![CDATA[Handle HTTP GET request.]]>
  14784. </doc>
  14785. </method>
  14786. <method name="deleteRoot" return="javax.ws.rs.core.Response"
  14787. abstract="false" native="false" synchronized="false"
  14788. static="false" final="false" visibility="public"
  14789. deprecated="not deprecated">
  14790. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  14791. <param name="delegation" type="org.apache.hadoop.hdfs.web.resources.DelegationParam"/>
  14792. <param name="username" type="org.apache.hadoop.hdfs.web.resources.UserParam"/>
  14793. <param name="doAsUser" type="org.apache.hadoop.hdfs.web.resources.DoAsParam"/>
  14794. <param name="op" type="org.apache.hadoop.hdfs.web.resources.DeleteOpParam"/>
  14795. <param name="recursive" type="org.apache.hadoop.hdfs.web.resources.RecursiveParam"/>
  14796. <param name="snapshotName" type="org.apache.hadoop.hdfs.web.resources.SnapshotNameParam"/>
  14797. <exception name="IOException" type="java.io.IOException"/>
  14798. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  14799. <doc>
  14800. <![CDATA[Handle HTTP DELETE request for the root.]]>
  14801. </doc>
  14802. </method>
  14803. <method name="delete" return="javax.ws.rs.core.Response"
  14804. abstract="false" native="false" synchronized="false"
  14805. static="false" final="false" visibility="public"
  14806. deprecated="not deprecated">
  14807. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  14808. <param name="delegation" type="org.apache.hadoop.hdfs.web.resources.DelegationParam"/>
  14809. <param name="username" type="org.apache.hadoop.hdfs.web.resources.UserParam"/>
  14810. <param name="doAsUser" type="org.apache.hadoop.hdfs.web.resources.DoAsParam"/>
  14811. <param name="path" type="org.apache.hadoop.hdfs.web.resources.UriFsPathParam"/>
  14812. <param name="op" type="org.apache.hadoop.hdfs.web.resources.DeleteOpParam"/>
  14813. <param name="recursive" type="org.apache.hadoop.hdfs.web.resources.RecursiveParam"/>
  14814. <param name="snapshotName" type="org.apache.hadoop.hdfs.web.resources.SnapshotNameParam"/>
  14815. <exception name="IOException" type="java.io.IOException"/>
  14816. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  14817. <doc>
  14818. <![CDATA[Handle HTTP DELETE request.]]>
  14819. </doc>
  14820. </method>
  14821. <field name="LOG" type="org.apache.commons.logging.Log"
  14822. transient="false" volatile="false"
  14823. static="true" final="true" visibility="public"
  14824. deprecated="not deprecated">
  14825. </field>
  14826. <doc>
  14827. <![CDATA[Web-hdfs NameNode implementation.]]>
  14828. </doc>
  14829. </class>
  14830. <!-- end class org.apache.hadoop.hdfs.server.namenode.web.resources.NamenodeWebHdfsMethods -->
  14831. </package>
  14832. <package name="org.apache.hadoop.hdfs.server.protocol">
  14833. <!-- start class org.apache.hadoop.hdfs.server.protocol.BalancerBandwidthCommand -->
  14834. <class name="BalancerBandwidthCommand" extends="org.apache.hadoop.hdfs.server.protocol.DatanodeCommand"
  14835. abstract="false"
  14836. static="false" final="false" visibility="public"
  14837. deprecated="not deprecated">
  14838. <constructor name="BalancerBandwidthCommand" type="long"
  14839. static="false" final="false" visibility="public"
  14840. deprecated="not deprecated">
  14841. <doc>
  14842. <![CDATA[Balancer Bandwidth Command constructor.
  14843. @param bandwidth Blanacer bandwidth in bytes per second.]]>
  14844. </doc>
  14845. </constructor>
  14846. <method name="getBalancerBandwidthValue" return="long"
  14847. abstract="false" native="false" synchronized="false"
  14848. static="false" final="false" visibility="public"
  14849. deprecated="not deprecated">
  14850. <doc>
  14851. <![CDATA[Get current value of the max balancer bandwidth in bytes per second.
  14852. @return bandwidth Blanacer bandwidth in bytes per second for this datanode.]]>
  14853. </doc>
  14854. </method>
  14855. <doc>
  14856. <![CDATA[Balancer bandwidth command instructs each datanode to change its value for
  14857. the max amount of network bandwidth it may use during the block balancing
  14858. operation.
  14859. The Balancer Bandwidth Command contains the new bandwidth value as its
  14860. payload. The bandwidth value is in bytes per second.]]>
  14861. </doc>
  14862. </class>
  14863. <!-- end class org.apache.hadoop.hdfs.server.protocol.BalancerBandwidthCommand -->
  14864. <!-- start class org.apache.hadoop.hdfs.server.protocol.BlockReportContext -->
  14865. <class name="BlockReportContext" extends="java.lang.Object"
  14866. abstract="false"
  14867. static="false" final="false" visibility="public"
  14868. deprecated="not deprecated">
  14869. <constructor name="BlockReportContext" type="int, int, long"
  14870. static="false" final="false" visibility="public"
  14871. deprecated="not deprecated">
  14872. </constructor>
  14873. <method name="getTotalRpcs" return="int"
  14874. abstract="false" native="false" synchronized="false"
  14875. static="false" final="false" visibility="public"
  14876. deprecated="not deprecated">
  14877. </method>
  14878. <method name="getCurRpc" return="int"
  14879. abstract="false" native="false" synchronized="false"
  14880. static="false" final="false" visibility="public"
  14881. deprecated="not deprecated">
  14882. </method>
  14883. <method name="getReportId" return="long"
  14884. abstract="false" native="false" synchronized="false"
  14885. static="false" final="false" visibility="public"
  14886. deprecated="not deprecated">
  14887. </method>
  14888. <doc>
  14889. <![CDATA[The context of the block report.
  14890. This is a set of fields that the Datanode sends to provide context about a
  14891. block report RPC. The context includes a unique 64-bit ID which
  14892. identifies the block report as a whole. It also includes the total number
  14893. of RPCs which this block report is split into, and the index into that
  14894. total for the current RPC.]]>
  14895. </doc>
  14896. </class>
  14897. <!-- end class org.apache.hadoop.hdfs.server.protocol.BlockReportContext -->
  14898. <!-- start class org.apache.hadoop.hdfs.server.protocol.DatanodeStorage -->
  14899. <class name="DatanodeStorage" extends="java.lang.Object"
  14900. abstract="false"
  14901. static="false" final="false" visibility="public"
  14902. deprecated="not deprecated">
  14903. <constructor name="DatanodeStorage" type="java.lang.String"
  14904. static="false" final="false" visibility="public"
  14905. deprecated="not deprecated">
  14906. <doc>
  14907. <![CDATA[Create a storage with {@link State#NORMAL} and {@link StorageType#DEFAULT}.]]>
  14908. </doc>
  14909. </constructor>
  14910. <constructor name="DatanodeStorage" type="java.lang.String, org.apache.hadoop.hdfs.server.protocol.DatanodeStorage.State, org.apache.hadoop.fs.StorageType"
  14911. static="false" final="false" visibility="public"
  14912. deprecated="not deprecated">
  14913. </constructor>
  14914. <method name="getStorageID" return="java.lang.String"
  14915. abstract="false" native="false" synchronized="false"
  14916. static="false" final="false" visibility="public"
  14917. deprecated="not deprecated">
  14918. </method>
  14919. <method name="getState" return="org.apache.hadoop.hdfs.server.protocol.DatanodeStorage.State"
  14920. abstract="false" native="false" synchronized="false"
  14921. static="false" final="false" visibility="public"
  14922. deprecated="not deprecated">
  14923. </method>
  14924. <method name="getStorageType" return="org.apache.hadoop.fs.StorageType"
  14925. abstract="false" native="false" synchronized="false"
  14926. static="false" final="false" visibility="public"
  14927. deprecated="not deprecated">
  14928. </method>
  14929. <method name="generateUuid" return="java.lang.String"
  14930. abstract="false" native="false" synchronized="false"
  14931. static="true" final="false" visibility="public"
  14932. deprecated="not deprecated">
  14933. <doc>
  14934. <![CDATA[Generate new storage ID. The format of this string can be changed
  14935. in the future without requiring that old storage IDs be updated.
  14936. @return unique storage ID]]>
  14937. </doc>
  14938. </method>
  14939. <method name="isValidStorageId" return="boolean"
  14940. abstract="false" native="false" synchronized="false"
  14941. static="true" final="false" visibility="public"
  14942. deprecated="not deprecated">
  14943. <param name="storageID" type="java.lang.String"/>
  14944. <doc>
  14945. <![CDATA[Verify that a given string is a storage ID in the "DS-..uuid.." format.]]>
  14946. </doc>
  14947. </method>
  14948. <method name="toString" return="java.lang.String"
  14949. abstract="false" native="false" synchronized="false"
  14950. static="false" final="false" visibility="public"
  14951. deprecated="not deprecated">
  14952. </method>
  14953. <method name="equals" return="boolean"
  14954. abstract="false" native="false" synchronized="false"
  14955. static="false" final="false" visibility="public"
  14956. deprecated="not deprecated">
  14957. <param name="other" type="java.lang.Object"/>
  14958. </method>
  14959. <method name="hashCode" return="int"
  14960. abstract="false" native="false" synchronized="false"
  14961. static="false" final="false" visibility="public"
  14962. deprecated="not deprecated">
  14963. </method>
  14964. <doc>
  14965. <![CDATA[Class captures information of a storage in Datanode.]]>
  14966. </doc>
  14967. </class>
  14968. <!-- end class org.apache.hadoop.hdfs.server.protocol.DatanodeStorage -->
  14969. <!-- start class org.apache.hadoop.hdfs.server.protocol.DatanodeStorage.State -->
  14970. <class name="DatanodeStorage.State" extends="java.lang.Enum"
  14971. abstract="false"
  14972. static="true" final="true" visibility="public"
  14973. deprecated="not deprecated">
  14974. <method name="values" return="org.apache.hadoop.hdfs.server.protocol.DatanodeStorage.State[]"
  14975. abstract="false" native="false" synchronized="false"
  14976. static="true" final="false" visibility="public"
  14977. deprecated="not deprecated">
  14978. </method>
  14979. <method name="valueOf" return="org.apache.hadoop.hdfs.server.protocol.DatanodeStorage.State"
  14980. abstract="false" native="false" synchronized="false"
  14981. static="true" final="false" visibility="public"
  14982. deprecated="not deprecated">
  14983. <param name="name" type="java.lang.String"/>
  14984. </method>
  14985. <doc>
  14986. <![CDATA[The state of the storage.]]>
  14987. </doc>
  14988. </class>
  14989. <!-- end class org.apache.hadoop.hdfs.server.protocol.DatanodeStorage.State -->
  14990. <!-- start class org.apache.hadoop.hdfs.server.protocol.DatanodeStorageReport -->
  14991. <class name="DatanodeStorageReport" extends="java.lang.Object"
  14992. abstract="false"
  14993. static="false" final="false" visibility="public"
  14994. deprecated="not deprecated">
  14995. <constructor name="DatanodeStorageReport" type="org.apache.hadoop.hdfs.protocol.DatanodeInfo, org.apache.hadoop.hdfs.server.protocol.StorageReport[]"
  14996. static="false" final="false" visibility="public"
  14997. deprecated="not deprecated">
  14998. </constructor>
  14999. <method name="getDatanodeInfo" return="org.apache.hadoop.hdfs.protocol.DatanodeInfo"
  15000. abstract="false" native="false" synchronized="false"
  15001. static="false" final="false" visibility="public"
  15002. deprecated="not deprecated">
  15003. </method>
  15004. <method name="getStorageReports" return="org.apache.hadoop.hdfs.server.protocol.StorageReport[]"
  15005. abstract="false" native="false" synchronized="false"
  15006. static="false" final="false" visibility="public"
  15007. deprecated="not deprecated">
  15008. </method>
  15009. <doc>
  15010. <![CDATA[Class captures information of a datanode and its storages.]]>
  15011. </doc>
  15012. </class>
  15013. <!-- end class org.apache.hadoop.hdfs.server.protocol.DatanodeStorageReport -->
  15014. <!-- start class org.apache.hadoop.hdfs.server.protocol.FencedException -->
  15015. <class name="FencedException" extends="java.io.IOException"
  15016. abstract="false"
  15017. static="false" final="false" visibility="public"
  15018. deprecated="not deprecated">
  15019. <constructor name="FencedException" type="java.lang.String"
  15020. static="false" final="false" visibility="public"
  15021. deprecated="not deprecated">
  15022. </constructor>
  15023. <doc>
  15024. <![CDATA[If a previous user of a resource tries to use a shared resource, after
  15025. fenced by another user, this exception is thrown.]]>
  15026. </doc>
  15027. </class>
  15028. <!-- end class org.apache.hadoop.hdfs.server.protocol.FencedException -->
  15029. <!-- start class org.apache.hadoop.hdfs.server.protocol.NamespaceInfo.Capability -->
  15030. <class name="NamespaceInfo.Capability" extends="java.lang.Enum"
  15031. abstract="false"
  15032. static="true" final="true" visibility="public"
  15033. deprecated="not deprecated">
  15034. <method name="values" return="org.apache.hadoop.hdfs.server.protocol.NamespaceInfo.Capability[]"
  15035. abstract="false" native="false" synchronized="false"
  15036. static="true" final="false" visibility="public"
  15037. deprecated="not deprecated">
  15038. </method>
  15039. <method name="valueOf" return="org.apache.hadoop.hdfs.server.protocol.NamespaceInfo.Capability"
  15040. abstract="false" native="false" synchronized="false"
  15041. static="true" final="false" visibility="public"
  15042. deprecated="not deprecated">
  15043. <param name="name" type="java.lang.String"/>
  15044. </method>
  15045. <method name="getMask" return="long"
  15046. abstract="false" native="false" synchronized="false"
  15047. static="false" final="false" visibility="public"
  15048. deprecated="not deprecated">
  15049. </method>
  15050. </class>
  15051. <!-- end class org.apache.hadoop.hdfs.server.protocol.NamespaceInfo.Capability -->
  15052. <!-- start class org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo -->
  15053. <class name="ReceivedDeletedBlockInfo" extends="java.lang.Object"
  15054. abstract="false"
  15055. static="false" final="false" visibility="public"
  15056. deprecated="not deprecated">
  15057. <constructor name="ReceivedDeletedBlockInfo"
  15058. static="false" final="false" visibility="public"
  15059. deprecated="not deprecated">
  15060. </constructor>
  15061. <constructor name="ReceivedDeletedBlockInfo" type="org.apache.hadoop.hdfs.protocol.Block, org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo.BlockStatus, java.lang.String"
  15062. static="false" final="false" visibility="public"
  15063. deprecated="not deprecated">
  15064. </constructor>
  15065. <method name="getBlock" return="org.apache.hadoop.hdfs.protocol.Block"
  15066. abstract="false" native="false" synchronized="false"
  15067. static="false" final="false" visibility="public"
  15068. deprecated="not deprecated">
  15069. </method>
  15070. <method name="setBlock"
  15071. abstract="false" native="false" synchronized="false"
  15072. static="false" final="false" visibility="public"
  15073. deprecated="not deprecated">
  15074. <param name="blk" type="org.apache.hadoop.hdfs.protocol.Block"/>
  15075. </method>
  15076. <method name="getDelHints" return="java.lang.String"
  15077. abstract="false" native="false" synchronized="false"
  15078. static="false" final="false" visibility="public"
  15079. deprecated="not deprecated">
  15080. </method>
  15081. <method name="setDelHints"
  15082. abstract="false" native="false" synchronized="false"
  15083. static="false" final="false" visibility="public"
  15084. deprecated="not deprecated">
  15085. <param name="hints" type="java.lang.String"/>
  15086. </method>
  15087. <method name="getStatus" return="org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo.BlockStatus"
  15088. abstract="false" native="false" synchronized="false"
  15089. static="false" final="false" visibility="public"
  15090. deprecated="not deprecated">
  15091. </method>
  15092. <method name="equals" return="boolean"
  15093. abstract="false" native="false" synchronized="false"
  15094. static="false" final="false" visibility="public"
  15095. deprecated="not deprecated">
  15096. <param name="o" type="java.lang.Object"/>
  15097. </method>
  15098. <method name="hashCode" return="int"
  15099. abstract="false" native="false" synchronized="false"
  15100. static="false" final="false" visibility="public"
  15101. deprecated="not deprecated">
  15102. </method>
  15103. <method name="blockEquals" return="boolean"
  15104. abstract="false" native="false" synchronized="false"
  15105. static="false" final="false" visibility="public"
  15106. deprecated="not deprecated">
  15107. <param name="b" type="org.apache.hadoop.hdfs.protocol.Block"/>
  15108. </method>
  15109. <method name="isDeletedBlock" return="boolean"
  15110. abstract="false" native="false" synchronized="false"
  15111. static="false" final="false" visibility="public"
  15112. deprecated="not deprecated">
  15113. </method>
  15114. <method name="toString" return="java.lang.String"
  15115. abstract="false" native="false" synchronized="false"
  15116. static="false" final="false" visibility="public"
  15117. deprecated="not deprecated">
  15118. </method>
  15119. <doc>
  15120. <![CDATA[A data structure to store the blocks in an incremental block report.]]>
  15121. </doc>
  15122. </class>
  15123. <!-- end class org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo -->
  15124. <!-- start class org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo.BlockStatus -->
  15125. <class name="ReceivedDeletedBlockInfo.BlockStatus" extends="java.lang.Enum"
  15126. abstract="false"
  15127. static="true" final="true" visibility="public"
  15128. deprecated="not deprecated">
  15129. <method name="values" return="org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo.BlockStatus[]"
  15130. abstract="false" native="false" synchronized="false"
  15131. static="true" final="false" visibility="public"
  15132. deprecated="not deprecated">
  15133. </method>
  15134. <method name="valueOf" return="org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo.BlockStatus"
  15135. abstract="false" native="false" synchronized="false"
  15136. static="true" final="false" visibility="public"
  15137. deprecated="not deprecated">
  15138. <param name="name" type="java.lang.String"/>
  15139. </method>
  15140. <method name="getCode" return="int"
  15141. abstract="false" native="false" synchronized="false"
  15142. static="false" final="false" visibility="public"
  15143. deprecated="not deprecated">
  15144. </method>
  15145. <method name="fromCode" return="org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo.BlockStatus"
  15146. abstract="false" native="false" synchronized="false"
  15147. static="true" final="false" visibility="public"
  15148. deprecated="not deprecated">
  15149. <param name="code" type="int"/>
  15150. </method>
  15151. </class>
  15152. <!-- end class org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo.BlockStatus -->
  15153. <!-- start class org.apache.hadoop.hdfs.server.protocol.RemoteEditLog -->
  15154. <class name="RemoteEditLog" extends="java.lang.Object"
  15155. abstract="false"
  15156. static="false" final="false" visibility="public"
  15157. deprecated="not deprecated">
  15158. <implements name="java.lang.Comparable"/>
  15159. <constructor name="RemoteEditLog"
  15160. static="false" final="false" visibility="public"
  15161. deprecated="not deprecated">
  15162. </constructor>
  15163. <constructor name="RemoteEditLog" type="long, long"
  15164. static="false" final="false" visibility="public"
  15165. deprecated="not deprecated">
  15166. </constructor>
  15167. <constructor name="RemoteEditLog" type="long, long, boolean"
  15168. static="false" final="false" visibility="public"
  15169. deprecated="not deprecated">
  15170. </constructor>
  15171. <method name="getStartTxId" return="long"
  15172. abstract="false" native="false" synchronized="false"
  15173. static="false" final="false" visibility="public"
  15174. deprecated="not deprecated">
  15175. </method>
  15176. <method name="getEndTxId" return="long"
  15177. abstract="false" native="false" synchronized="false"
  15178. static="false" final="false" visibility="public"
  15179. deprecated="not deprecated">
  15180. </method>
  15181. <method name="isInProgress" return="boolean"
  15182. abstract="false" native="false" synchronized="false"
  15183. static="false" final="false" visibility="public"
  15184. deprecated="not deprecated">
  15185. </method>
  15186. <method name="toString" return="java.lang.String"
  15187. abstract="false" native="false" synchronized="false"
  15188. static="false" final="false" visibility="public"
  15189. deprecated="not deprecated">
  15190. </method>
  15191. <method name="compareTo" return="int"
  15192. abstract="false" native="false" synchronized="false"
  15193. static="false" final="false" visibility="public"
  15194. deprecated="not deprecated">
  15195. <param name="log" type="org.apache.hadoop.hdfs.server.protocol.RemoteEditLog"/>
  15196. </method>
  15197. <method name="equals" return="boolean"
  15198. abstract="false" native="false" synchronized="false"
  15199. static="false" final="false" visibility="public"
  15200. deprecated="not deprecated">
  15201. <param name="o" type="java.lang.Object"/>
  15202. </method>
  15203. <method name="hashCode" return="int"
  15204. abstract="false" native="false" synchronized="false"
  15205. static="false" final="false" visibility="public"
  15206. deprecated="not deprecated">
  15207. </method>
  15208. <field name="GET_START_TXID" type="com.google.common.base.Function"
  15209. transient="false" volatile="false"
  15210. static="true" final="true" visibility="public"
  15211. deprecated="not deprecated">
  15212. <doc>
  15213. <![CDATA[Guava <code>Function</code> which applies {@link #getStartTxId()}]]>
  15214. </doc>
  15215. </field>
  15216. </class>
  15217. <!-- end class org.apache.hadoop.hdfs.server.protocol.RemoteEditLog -->
  15218. <!-- start class org.apache.hadoop.hdfs.server.protocol.RemoteEditLogManifest -->
  15219. <class name="RemoteEditLogManifest" extends="java.lang.Object"
  15220. abstract="false"
  15221. static="false" final="false" visibility="public"
  15222. deprecated="not deprecated">
  15223. <constructor name="RemoteEditLogManifest"
  15224. static="false" final="false" visibility="public"
  15225. deprecated="not deprecated">
  15226. </constructor>
  15227. <constructor name="RemoteEditLogManifest" type="java.util.List"
  15228. static="false" final="false" visibility="public"
  15229. deprecated="not deprecated">
  15230. </constructor>
  15231. <method name="getLogs" return="java.util.List"
  15232. abstract="false" native="false" synchronized="false"
  15233. static="false" final="false" visibility="public"
  15234. deprecated="not deprecated">
  15235. </method>
  15236. <method name="toString" return="java.lang.String"
  15237. abstract="false" native="false" synchronized="false"
  15238. static="false" final="false" visibility="public"
  15239. deprecated="not deprecated">
  15240. </method>
  15241. <doc>
  15242. <![CDATA[An enumeration of logs available on a remote NameNode.]]>
  15243. </doc>
  15244. </class>
  15245. <!-- end class org.apache.hadoop.hdfs.server.protocol.RemoteEditLogManifest -->
  15246. <!-- start class org.apache.hadoop.hdfs.server.protocol.StorageBlockReport -->
  15247. <class name="StorageBlockReport" extends="java.lang.Object"
  15248. abstract="false"
  15249. static="false" final="false" visibility="public"
  15250. deprecated="not deprecated">
  15251. <constructor name="StorageBlockReport" type="org.apache.hadoop.hdfs.server.protocol.DatanodeStorage, org.apache.hadoop.hdfs.protocol.BlockListAsLongs"
  15252. static="false" final="false" visibility="public"
  15253. deprecated="not deprecated">
  15254. </constructor>
  15255. <method name="getStorage" return="org.apache.hadoop.hdfs.server.protocol.DatanodeStorage"
  15256. abstract="false" native="false" synchronized="false"
  15257. static="false" final="false" visibility="public"
  15258. deprecated="not deprecated">
  15259. </method>
  15260. <method name="getBlocks" return="org.apache.hadoop.hdfs.protocol.BlockListAsLongs"
  15261. abstract="false" native="false" synchronized="false"
  15262. static="false" final="false" visibility="public"
  15263. deprecated="not deprecated">
  15264. </method>
  15265. <doc>
  15266. <![CDATA[Block report for a Datanode storage]]>
  15267. </doc>
  15268. </class>
  15269. <!-- end class org.apache.hadoop.hdfs.server.protocol.StorageBlockReport -->
  15270. <!-- start class org.apache.hadoop.hdfs.server.protocol.StorageReceivedDeletedBlocks -->
  15271. <class name="StorageReceivedDeletedBlocks" extends="java.lang.Object"
  15272. abstract="false"
  15273. static="false" final="false" visibility="public"
  15274. deprecated="not deprecated">
  15275. <constructor name="StorageReceivedDeletedBlocks" type="java.lang.String, org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo[]"
  15276. static="false" final="false" visibility="public"
  15277. deprecated="not deprecated">
  15278. </constructor>
  15279. <constructor name="StorageReceivedDeletedBlocks" type="org.apache.hadoop.hdfs.server.protocol.DatanodeStorage, org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo[]"
  15280. static="false" final="false" visibility="public"
  15281. deprecated="not deprecated">
  15282. </constructor>
  15283. <method name="getStorageID" return="java.lang.String"
  15284. abstract="false" native="false" synchronized="false"
  15285. static="false" final="false" visibility="public"
  15286. deprecated="not deprecated">
  15287. </method>
  15288. <method name="getStorage" return="org.apache.hadoop.hdfs.server.protocol.DatanodeStorage"
  15289. abstract="false" native="false" synchronized="false"
  15290. static="false" final="false" visibility="public"
  15291. deprecated="not deprecated">
  15292. </method>
  15293. <method name="getBlocks" return="org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo[]"
  15294. abstract="false" native="false" synchronized="false"
  15295. static="false" final="false" visibility="public"
  15296. deprecated="not deprecated">
  15297. </method>
  15298. <doc>
  15299. <![CDATA[Report of block received and deleted per Datanode
  15300. storage.]]>
  15301. </doc>
  15302. </class>
  15303. <!-- end class org.apache.hadoop.hdfs.server.protocol.StorageReceivedDeletedBlocks -->
  15304. <!-- start class org.apache.hadoop.hdfs.server.protocol.StorageReport -->
  15305. <class name="StorageReport" extends="java.lang.Object"
  15306. abstract="false"
  15307. static="false" final="false" visibility="public"
  15308. deprecated="not deprecated">
  15309. <constructor name="StorageReport" type="org.apache.hadoop.hdfs.server.protocol.DatanodeStorage, boolean, long, long, long, long"
  15310. static="false" final="false" visibility="public"
  15311. deprecated="not deprecated">
  15312. </constructor>
  15313. <method name="getStorage" return="org.apache.hadoop.hdfs.server.protocol.DatanodeStorage"
  15314. abstract="false" native="false" synchronized="false"
  15315. static="false" final="false" visibility="public"
  15316. deprecated="not deprecated">
  15317. </method>
  15318. <method name="isFailed" return="boolean"
  15319. abstract="false" native="false" synchronized="false"
  15320. static="false" final="false" visibility="public"
  15321. deprecated="not deprecated">
  15322. </method>
  15323. <method name="getCapacity" return="long"
  15324. abstract="false" native="false" synchronized="false"
  15325. static="false" final="false" visibility="public"
  15326. deprecated="not deprecated">
  15327. </method>
  15328. <method name="getDfsUsed" return="long"
  15329. abstract="false" native="false" synchronized="false"
  15330. static="false" final="false" visibility="public"
  15331. deprecated="not deprecated">
  15332. </method>
  15333. <method name="getRemaining" return="long"
  15334. abstract="false" native="false" synchronized="false"
  15335. static="false" final="false" visibility="public"
  15336. deprecated="not deprecated">
  15337. </method>
  15338. <method name="getBlockPoolUsed" return="long"
  15339. abstract="false" native="false" synchronized="false"
  15340. static="false" final="false" visibility="public"
  15341. deprecated="not deprecated">
  15342. </method>
  15343. <field name="EMPTY_ARRAY" type="org.apache.hadoop.hdfs.server.protocol.StorageReport[]"
  15344. transient="false" volatile="false"
  15345. static="true" final="true" visibility="public"
  15346. deprecated="not deprecated">
  15347. </field>
  15348. <doc>
  15349. <![CDATA[Utilization report for a Datanode storage]]>
  15350. </doc>
  15351. </class>
  15352. <!-- end class org.apache.hadoop.hdfs.server.protocol.StorageReport -->
  15353. <!-- start class org.apache.hadoop.hdfs.server.protocol.VolumeFailureSummary -->
  15354. <class name="VolumeFailureSummary" extends="java.lang.Object"
  15355. abstract="false"
  15356. static="false" final="false" visibility="public"
  15357. deprecated="not deprecated">
  15358. <constructor name="VolumeFailureSummary" type="java.lang.String[], long, long"
  15359. static="false" final="false" visibility="public"
  15360. deprecated="not deprecated">
  15361. <doc>
  15362. <![CDATA[Creates a new VolumeFailureSummary.
  15363. @param failedStorageLocations storage locations that have failed
  15364. @param lastVolumeFailureDate date/time of last volume failure in
  15365. milliseconds since epoch
  15366. @param estimatedCapacityLostTotal estimate of capacity lost in bytes]]>
  15367. </doc>
  15368. </constructor>
  15369. <method name="getFailedStorageLocations" return="java.lang.String[]"
  15370. abstract="false" native="false" synchronized="false"
  15371. static="false" final="false" visibility="public"
  15372. deprecated="not deprecated">
  15373. <doc>
  15374. <![CDATA[Returns each storage location that has failed, sorted.
  15375. @return each storage location that has failed, sorted]]>
  15376. </doc>
  15377. </method>
  15378. <method name="getLastVolumeFailureDate" return="long"
  15379. abstract="false" native="false" synchronized="false"
  15380. static="false" final="false" visibility="public"
  15381. deprecated="not deprecated">
  15382. <doc>
  15383. <![CDATA[Returns the date/time of the last volume failure in milliseconds since
  15384. epoch.
  15385. @return date/time of last volume failure in milliseconds since epoch]]>
  15386. </doc>
  15387. </method>
  15388. <method name="getEstimatedCapacityLostTotal" return="long"
  15389. abstract="false" native="false" synchronized="false"
  15390. static="false" final="false" visibility="public"
  15391. deprecated="not deprecated">
  15392. <doc>
  15393. <![CDATA[Returns estimate of capacity lost. This is said to be an estimate, because
  15394. in some cases it's impossible to know the capacity of the volume, such as if
  15395. we never had a chance to query its capacity before the failure occurred.
  15396. @return estimate of capacity lost in bytes]]>
  15397. </doc>
  15398. </method>
  15399. <doc>
  15400. <![CDATA[Summarizes information about data volume failures on a DataNode.]]>
  15401. </doc>
  15402. </class>
  15403. <!-- end class org.apache.hadoop.hdfs.server.protocol.VolumeFailureSummary -->
  15404. </package>
  15405. <package name="org.apache.hadoop.hdfs.shortcircuit">
  15406. <!-- start class org.apache.hadoop.hdfs.shortcircuit.DfsClientShm -->
  15407. <class name="DfsClientShm" extends="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm"
  15408. abstract="false"
  15409. static="false" final="false" visibility="public"
  15410. deprecated="not deprecated">
  15411. <implements name="org.apache.hadoop.net.unix.DomainSocketWatcher.Handler"/>
  15412. <method name="getEndpointShmManager" return="org.apache.hadoop.hdfs.shortcircuit.DfsClientShmManager.EndpointShmManager"
  15413. abstract="false" native="false" synchronized="false"
  15414. static="false" final="false" visibility="public"
  15415. deprecated="not deprecated">
  15416. </method>
  15417. <method name="getPeer" return="org.apache.hadoop.hdfs.net.DomainPeer"
  15418. abstract="false" native="false" synchronized="false"
  15419. static="false" final="false" visibility="public"
  15420. deprecated="not deprecated">
  15421. </method>
  15422. <method name="isDisconnected" return="boolean"
  15423. abstract="false" native="false" synchronized="true"
  15424. static="false" final="false" visibility="public"
  15425. deprecated="not deprecated">
  15426. <doc>
  15427. <![CDATA[Determine if the shared memory segment is disconnected from the DataNode.
  15428. This must be called with the DfsClientShmManager lock held.
  15429. @return True if the shared memory segment is stale.]]>
  15430. </doc>
  15431. </method>
  15432. <method name="handle" return="boolean"
  15433. abstract="false" native="false" synchronized="false"
  15434. static="false" final="false" visibility="public"
  15435. deprecated="not deprecated">
  15436. <param name="sock" type="org.apache.hadoop.net.unix.DomainSocket"/>
  15437. <doc>
  15438. <![CDATA[Handle the closure of the UNIX domain socket associated with this shared
  15439. memory segment by marking this segment as stale.
  15440. If there are no slots associated with this shared memory segment, it will
  15441. be freed immediately in this function.]]>
  15442. </doc>
  15443. </method>
  15444. <doc>
  15445. <![CDATA[DfsClientShm is a subclass of ShortCircuitShm which is used by the
  15446. DfsClient.
  15447. When the UNIX domain socket associated with this shared memory segment
  15448. closes unexpectedly, we mark the slots inside this segment as disconnected.
  15449. ShortCircuitReplica objects that contain disconnected slots are stale,
  15450. and will not be used to service new reads or mmap operations.
  15451. However, in-progress read or mmap operations will continue to proceed.
  15452. Once the last slot is deallocated, the segment can be safely munmapped.
  15453. Slots may also become stale because the associated replica has been deleted
  15454. on the DataNode. In this case, the DataNode will clear the 'valid' bit.
  15455. The client will then see these slots as stale (see
  15456. #{ShortCircuitReplica#isStale}).]]>
  15457. </doc>
  15458. </class>
  15459. <!-- end class org.apache.hadoop.hdfs.shortcircuit.DfsClientShm -->
  15460. <!-- start class org.apache.hadoop.hdfs.shortcircuit.DfsClientShmManager.PerDatanodeVisitorInfo -->
  15461. <class name="DfsClientShmManager.PerDatanodeVisitorInfo" extends="java.lang.Object"
  15462. abstract="false"
  15463. static="true" final="false" visibility="public"
  15464. deprecated="not deprecated">
  15465. <field name="full" type="java.util.TreeMap"
  15466. transient="false" volatile="false"
  15467. static="false" final="true" visibility="public"
  15468. deprecated="not deprecated">
  15469. </field>
  15470. <field name="notFull" type="java.util.TreeMap"
  15471. transient="false" volatile="false"
  15472. static="false" final="true" visibility="public"
  15473. deprecated="not deprecated">
  15474. </field>
  15475. <field name="disabled" type="boolean"
  15476. transient="false" volatile="false"
  15477. static="false" final="true" visibility="public"
  15478. deprecated="not deprecated">
  15479. </field>
  15480. </class>
  15481. <!-- end class org.apache.hadoop.hdfs.shortcircuit.DfsClientShmManager.PerDatanodeVisitorInfo -->
  15482. <!-- start interface org.apache.hadoop.hdfs.shortcircuit.DfsClientShmManager.Visitor -->
  15483. <interface name="DfsClientShmManager.Visitor" abstract="true"
  15484. static="true" final="false" visibility="public"
  15485. deprecated="not deprecated">
  15486. <method name="visit"
  15487. abstract="true" native="false" synchronized="false"
  15488. static="false" final="false" visibility="public"
  15489. deprecated="not deprecated">
  15490. <param name="info" type="java.util.HashMap"/>
  15491. <exception name="IOException" type="java.io.IOException"/>
  15492. </method>
  15493. </interface>
  15494. <!-- end interface org.apache.hadoop.hdfs.shortcircuit.DfsClientShmManager.Visitor -->
  15495. <!-- start class org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory -->
  15496. <class name="DomainSocketFactory" extends="java.lang.Object"
  15497. abstract="false"
  15498. static="false" final="false" visibility="public"
  15499. deprecated="not deprecated">
  15500. <constructor name="DomainSocketFactory" type="org.apache.hadoop.hdfs.DFSClient.Conf"
  15501. static="false" final="false" visibility="public"
  15502. deprecated="not deprecated">
  15503. </constructor>
  15504. <method name="getPathInfo" return="org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory.PathInfo"
  15505. abstract="false" native="false" synchronized="false"
  15506. static="false" final="false" visibility="public"
  15507. deprecated="not deprecated">
  15508. <param name="addr" type="java.net.InetSocketAddress"/>
  15509. <param name="conf" type="org.apache.hadoop.hdfs.DFSClient.Conf"/>
  15510. <doc>
  15511. <![CDATA[Get information about a domain socket path.
  15512. @param addr The inet address to use.
  15513. @param conf The client configuration.
  15514. @return Information about the socket path.]]>
  15515. </doc>
  15516. </method>
  15517. <method name="createSocket" return="org.apache.hadoop.net.unix.DomainSocket"
  15518. abstract="false" native="false" synchronized="false"
  15519. static="false" final="false" visibility="public"
  15520. deprecated="not deprecated">
  15521. <param name="info" type="org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory.PathInfo"/>
  15522. <param name="socketTimeout" type="int"/>
  15523. </method>
  15524. <method name="disableShortCircuitForPath"
  15525. abstract="false" native="false" synchronized="false"
  15526. static="false" final="false" visibility="public"
  15527. deprecated="not deprecated">
  15528. <param name="path" type="java.lang.String"/>
  15529. </method>
  15530. <method name="disableDomainSocketPath"
  15531. abstract="false" native="false" synchronized="false"
  15532. static="false" final="false" visibility="public"
  15533. deprecated="not deprecated">
  15534. <param name="path" type="java.lang.String"/>
  15535. </method>
  15536. <method name="clearPathMap"
  15537. abstract="false" native="false" synchronized="false"
  15538. static="false" final="false" visibility="public"
  15539. deprecated="not deprecated">
  15540. </method>
  15541. </class>
  15542. <!-- end class org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory -->
  15543. <!-- start class org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory.PathInfo -->
  15544. <class name="DomainSocketFactory.PathInfo" extends="java.lang.Object"
  15545. abstract="false"
  15546. static="true" final="false" visibility="public"
  15547. deprecated="not deprecated">
  15548. <method name="getPath" return="java.lang.String"
  15549. abstract="false" native="false" synchronized="false"
  15550. static="false" final="false" visibility="public"
  15551. deprecated="not deprecated">
  15552. </method>
  15553. <method name="getPathState" return="org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory.PathState"
  15554. abstract="false" native="false" synchronized="false"
  15555. static="false" final="false" visibility="public"
  15556. deprecated="not deprecated">
  15557. </method>
  15558. <method name="toString" return="java.lang.String"
  15559. abstract="false" native="false" synchronized="false"
  15560. static="false" final="false" visibility="public"
  15561. deprecated="not deprecated">
  15562. </method>
  15563. </class>
  15564. <!-- end class org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory.PathInfo -->
  15565. <!-- start class org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory.PathState -->
  15566. <class name="DomainSocketFactory.PathState" extends="java.lang.Enum"
  15567. abstract="false"
  15568. static="true" final="true" visibility="public"
  15569. deprecated="not deprecated">
  15570. <method name="values" return="org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory.PathState[]"
  15571. abstract="false" native="false" synchronized="false"
  15572. static="true" final="false" visibility="public"
  15573. deprecated="not deprecated">
  15574. </method>
  15575. <method name="valueOf" return="org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory.PathState"
  15576. abstract="false" native="false" synchronized="false"
  15577. static="true" final="false" visibility="public"
  15578. deprecated="not deprecated">
  15579. <param name="name" type="java.lang.String"/>
  15580. </method>
  15581. <method name="getUsableForDataTransfer" return="boolean"
  15582. abstract="false" native="false" synchronized="false"
  15583. static="false" final="false" visibility="public"
  15584. deprecated="not deprecated">
  15585. </method>
  15586. <method name="getUsableForShortCircuit" return="boolean"
  15587. abstract="false" native="false" synchronized="false"
  15588. static="false" final="false" visibility="public"
  15589. deprecated="not deprecated">
  15590. </method>
  15591. </class>
  15592. <!-- end class org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory.PathState -->
  15593. <!-- start interface org.apache.hadoop.hdfs.shortcircuit.ShortCircuitCache.CacheVisitor -->
  15594. <interface name="ShortCircuitCache.CacheVisitor" abstract="true"
  15595. static="true" final="false" visibility="public"
  15596. deprecated="not deprecated">
  15597. <method name="visit"
  15598. abstract="true" native="false" synchronized="false"
  15599. static="false" final="false" visibility="public"
  15600. deprecated="not deprecated">
  15601. <param name="numOutstandingMmaps" type="int"/>
  15602. <param name="replicas" type="java.util.Map"/>
  15603. <param name="failedLoads" type="java.util.Map"/>
  15604. <param name="evictable" type="java.util.Map"/>
  15605. <param name="evictableMmapped" type="java.util.Map"/>
  15606. </method>
  15607. </interface>
  15608. <!-- end interface org.apache.hadoop.hdfs.shortcircuit.ShortCircuitCache.CacheVisitor -->
  15609. <!-- start interface org.apache.hadoop.hdfs.shortcircuit.ShortCircuitCache.ShortCircuitReplicaCreator -->
  15610. <interface name="ShortCircuitCache.ShortCircuitReplicaCreator" abstract="true"
  15611. static="true" final="false" visibility="public"
  15612. deprecated="not deprecated">
  15613. <method name="createShortCircuitReplicaInfo" return="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitReplicaInfo"
  15614. abstract="true" native="false" synchronized="false"
  15615. static="false" final="false" visibility="public"
  15616. deprecated="not deprecated">
  15617. <doc>
  15618. <![CDATA[Attempt to create a ShortCircuitReplica object.
  15619. This callback will be made without holding any locks.
  15620. @return a non-null ShortCircuitReplicaInfo object.]]>
  15621. </doc>
  15622. </method>
  15623. </interface>
  15624. <!-- end interface org.apache.hadoop.hdfs.shortcircuit.ShortCircuitCache.ShortCircuitReplicaCreator -->
  15625. <!-- start class org.apache.hadoop.hdfs.shortcircuit.ShortCircuitReplicaInfo -->
  15626. <class name="ShortCircuitReplicaInfo" extends="java.lang.Object"
  15627. abstract="false"
  15628. static="false" final="true" visibility="public"
  15629. deprecated="not deprecated">
  15630. <constructor name="ShortCircuitReplicaInfo"
  15631. static="false" final="false" visibility="public"
  15632. deprecated="not deprecated">
  15633. </constructor>
  15634. <constructor name="ShortCircuitReplicaInfo" type="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitReplica"
  15635. static="false" final="false" visibility="public"
  15636. deprecated="not deprecated">
  15637. </constructor>
  15638. <constructor name="ShortCircuitReplicaInfo" type="org.apache.hadoop.security.token.SecretManager.InvalidToken"
  15639. static="false" final="false" visibility="public"
  15640. deprecated="not deprecated">
  15641. </constructor>
  15642. <method name="getReplica" return="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitReplica"
  15643. abstract="false" native="false" synchronized="false"
  15644. static="false" final="false" visibility="public"
  15645. deprecated="not deprecated">
  15646. </method>
  15647. <method name="getInvalidTokenException" return="org.apache.hadoop.security.token.SecretManager.InvalidToken"
  15648. abstract="false" native="false" synchronized="false"
  15649. static="false" final="false" visibility="public"
  15650. deprecated="not deprecated">
  15651. </method>
  15652. <method name="toString" return="java.lang.String"
  15653. abstract="false" native="false" synchronized="false"
  15654. static="false" final="false" visibility="public"
  15655. deprecated="not deprecated">
  15656. </method>
  15657. </class>
  15658. <!-- end class org.apache.hadoop.hdfs.shortcircuit.ShortCircuitReplicaInfo -->
  15659. <!-- start class org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm -->
  15660. <class name="ShortCircuitShm" extends="java.lang.Object"
  15661. abstract="false"
  15662. static="false" final="false" visibility="public"
  15663. deprecated="not deprecated">
  15664. <constructor name="ShortCircuitShm" type="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.ShmId, java.io.FileInputStream"
  15665. static="false" final="false" visibility="public"
  15666. deprecated="not deprecated">
  15667. <exception name="IOException" type="java.io.IOException"/>
  15668. <doc>
  15669. <![CDATA[Create the ShortCircuitShm.
  15670. @param shmId The ID to use.
  15671. @param stream The stream that we're going to use to create this
  15672. shared memory segment.
  15673. Although this is a FileInputStream, we are going to
  15674. assume that the underlying file descriptor is writable
  15675. as well as readable. It would be more appropriate to use
  15676. a RandomAccessFile here, but that class does not have
  15677. any public accessor which returns a FileDescriptor,
  15678. unlike FileInputStream.]]>
  15679. </doc>
  15680. </constructor>
  15681. <method name="getShmId" return="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.ShmId"
  15682. abstract="false" native="false" synchronized="false"
  15683. static="false" final="true" visibility="public"
  15684. deprecated="not deprecated">
  15685. </method>
  15686. <method name="isEmpty" return="boolean"
  15687. abstract="false" native="false" synchronized="true"
  15688. static="false" final="true" visibility="public"
  15689. deprecated="not deprecated">
  15690. <doc>
  15691. <![CDATA[Determine if this shared memory object is empty.
  15692. @return True if the shared memory object is empty.]]>
  15693. </doc>
  15694. </method>
  15695. <method name="isFull" return="boolean"
  15696. abstract="false" native="false" synchronized="true"
  15697. static="false" final="true" visibility="public"
  15698. deprecated="not deprecated">
  15699. <doc>
  15700. <![CDATA[Determine if this shared memory object is full.
  15701. @return True if the shared memory object is full.]]>
  15702. </doc>
  15703. </method>
  15704. <method name="allocAndRegisterSlot" return="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.Slot"
  15705. abstract="false" native="false" synchronized="true"
  15706. static="false" final="true" visibility="public"
  15707. deprecated="not deprecated">
  15708. <param name="blockId" type="org.apache.hadoop.hdfs.ExtendedBlockId"/>
  15709. <doc>
  15710. <![CDATA[Allocate a new slot and register it.
  15711. This function chooses an empty slot, initializes it, and then returns
  15712. the relevant Slot object.
  15713. @return The new slot.]]>
  15714. </doc>
  15715. </method>
  15716. <method name="getSlot" return="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.Slot"
  15717. abstract="false" native="false" synchronized="true"
  15718. static="false" final="true" visibility="public"
  15719. deprecated="not deprecated">
  15720. <param name="slotIdx" type="int"/>
  15721. <exception name="InvalidRequestException" type="org.apache.hadoop.fs.InvalidRequestException"/>
  15722. </method>
  15723. <method name="registerSlot" return="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.Slot"
  15724. abstract="false" native="false" synchronized="true"
  15725. static="false" final="true" visibility="public"
  15726. deprecated="not deprecated">
  15727. <param name="slotIdx" type="int"/>
  15728. <param name="blockId" type="org.apache.hadoop.hdfs.ExtendedBlockId"/>
  15729. <exception name="InvalidRequestException" type="org.apache.hadoop.fs.InvalidRequestException"/>
  15730. <doc>
  15731. <![CDATA[Register a slot.
  15732. This function looks at a slot which has already been initialized (by
  15733. another process), and registers it with us. Then, it returns the
  15734. relevant Slot object.
  15735. @return The slot.
  15736. @throws InvalidRequestException
  15737. If the slot index we're trying to allocate has not been
  15738. initialized, or is already in use.]]>
  15739. </doc>
  15740. </method>
  15741. <method name="unregisterSlot"
  15742. abstract="false" native="false" synchronized="true"
  15743. static="false" final="true" visibility="public"
  15744. deprecated="not deprecated">
  15745. <param name="slotIdx" type="int"/>
  15746. <doc>
  15747. <![CDATA[Unregisters a slot.
  15748. This doesn't alter the contents of the slot. It just means
  15749. @param slotIdx Index of the slot to unregister.]]>
  15750. </doc>
  15751. </method>
  15752. <method name="slotIterator" return="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.SlotIterator"
  15753. abstract="false" native="false" synchronized="false"
  15754. static="false" final="false" visibility="public"
  15755. deprecated="not deprecated">
  15756. <doc>
  15757. <![CDATA[Iterate over all allocated slots.
  15758. Note that this method isn't safe if
  15759. @return The slot iterator.]]>
  15760. </doc>
  15761. </method>
  15762. <method name="free"
  15763. abstract="false" native="false" synchronized="false"
  15764. static="false" final="false" visibility="public"
  15765. deprecated="not deprecated">
  15766. </method>
  15767. <method name="toString" return="java.lang.String"
  15768. abstract="false" native="false" synchronized="false"
  15769. static="false" final="false" visibility="public"
  15770. deprecated="not deprecated">
  15771. </method>
  15772. <field name="BYTES_PER_SLOT" type="int"
  15773. transient="false" volatile="false"
  15774. static="true" final="true" visibility="protected"
  15775. deprecated="not deprecated">
  15776. </field>
  15777. <doc>
  15778. <![CDATA[A shared memory segment used to implement short-circuit reads.]]>
  15779. </doc>
  15780. </class>
  15781. <!-- end class org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm -->
  15782. <!-- start class org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.ShmId -->
  15783. <class name="ShortCircuitShm.ShmId" extends="java.lang.Object"
  15784. abstract="false"
  15785. static="true" final="false" visibility="public"
  15786. deprecated="not deprecated">
  15787. <implements name="java.lang.Comparable"/>
  15788. <constructor name="ShmId" type="long, long"
  15789. static="false" final="false" visibility="public"
  15790. deprecated="not deprecated">
  15791. </constructor>
  15792. <method name="createRandom" return="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.ShmId"
  15793. abstract="false" native="false" synchronized="false"
  15794. static="true" final="false" visibility="public"
  15795. deprecated="not deprecated">
  15796. <doc>
  15797. <![CDATA[Generate a random ShmId.
  15798. We generate ShmIds randomly to prevent a malicious client from
  15799. successfully guessing one and using that to interfere with another
  15800. client.]]>
  15801. </doc>
  15802. </method>
  15803. <method name="getHi" return="long"
  15804. abstract="false" native="false" synchronized="false"
  15805. static="false" final="false" visibility="public"
  15806. deprecated="not deprecated">
  15807. </method>
  15808. <method name="getLo" return="long"
  15809. abstract="false" native="false" synchronized="false"
  15810. static="false" final="false" visibility="public"
  15811. deprecated="not deprecated">
  15812. </method>
  15813. <method name="equals" return="boolean"
  15814. abstract="false" native="false" synchronized="false"
  15815. static="false" final="false" visibility="public"
  15816. deprecated="not deprecated">
  15817. <param name="o" type="java.lang.Object"/>
  15818. </method>
  15819. <method name="hashCode" return="int"
  15820. abstract="false" native="false" synchronized="false"
  15821. static="false" final="false" visibility="public"
  15822. deprecated="not deprecated">
  15823. </method>
  15824. <method name="toString" return="java.lang.String"
  15825. abstract="false" native="false" synchronized="false"
  15826. static="false" final="false" visibility="public"
  15827. deprecated="not deprecated">
  15828. </method>
  15829. <method name="compareTo" return="int"
  15830. abstract="false" native="false" synchronized="false"
  15831. static="false" final="false" visibility="public"
  15832. deprecated="not deprecated">
  15833. <param name="other" type="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.ShmId"/>
  15834. </method>
  15835. <doc>
  15836. <![CDATA[Identifies a DfsClientShm.]]>
  15837. </doc>
  15838. </class>
  15839. <!-- end class org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.ShmId -->
  15840. <!-- start class org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.Slot -->
  15841. <class name="ShortCircuitShm.Slot" extends="java.lang.Object"
  15842. abstract="false"
  15843. static="false" final="false" visibility="public"
  15844. deprecated="not deprecated">
  15845. <method name="getShm" return="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm"
  15846. abstract="false" native="false" synchronized="false"
  15847. static="false" final="false" visibility="public"
  15848. deprecated="not deprecated">
  15849. <doc>
  15850. <![CDATA[Get the short-circuit memory segment associated with this Slot.
  15851. @return The enclosing short-circuit memory segment.]]>
  15852. </doc>
  15853. </method>
  15854. <method name="getBlockId" return="org.apache.hadoop.hdfs.ExtendedBlockId"
  15855. abstract="false" native="false" synchronized="false"
  15856. static="false" final="false" visibility="public"
  15857. deprecated="not deprecated">
  15858. <doc>
  15859. <![CDATA[Get the ExtendedBlockId associated with this slot.
  15860. @return The ExtendedBlockId of this slot.]]>
  15861. </doc>
  15862. </method>
  15863. <method name="getSlotId" return="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.SlotId"
  15864. abstract="false" native="false" synchronized="false"
  15865. static="false" final="false" visibility="public"
  15866. deprecated="not deprecated">
  15867. <doc>
  15868. <![CDATA[Get the SlotId of this slot, containing both shmId and slotIdx.
  15869. @return The SlotId of this slot.]]>
  15870. </doc>
  15871. </method>
  15872. <method name="getSlotIdx" return="int"
  15873. abstract="false" native="false" synchronized="false"
  15874. static="false" final="false" visibility="public"
  15875. deprecated="not deprecated">
  15876. <doc>
  15877. <![CDATA[Get the Slot index.
  15878. @return The index of this slot.]]>
  15879. </doc>
  15880. </method>
  15881. <method name="isValid" return="boolean"
  15882. abstract="false" native="false" synchronized="false"
  15883. static="false" final="false" visibility="public"
  15884. deprecated="not deprecated">
  15885. </method>
  15886. <method name="makeValid"
  15887. abstract="false" native="false" synchronized="false"
  15888. static="false" final="false" visibility="public"
  15889. deprecated="not deprecated">
  15890. </method>
  15891. <method name="makeInvalid"
  15892. abstract="false" native="false" synchronized="false"
  15893. static="false" final="false" visibility="public"
  15894. deprecated="not deprecated">
  15895. </method>
  15896. <method name="isAnchorable" return="boolean"
  15897. abstract="false" native="false" synchronized="false"
  15898. static="false" final="false" visibility="public"
  15899. deprecated="not deprecated">
  15900. </method>
  15901. <method name="makeAnchorable"
  15902. abstract="false" native="false" synchronized="false"
  15903. static="false" final="false" visibility="public"
  15904. deprecated="not deprecated">
  15905. </method>
  15906. <method name="makeUnanchorable"
  15907. abstract="false" native="false" synchronized="false"
  15908. static="false" final="false" visibility="public"
  15909. deprecated="not deprecated">
  15910. </method>
  15911. <method name="isAnchored" return="boolean"
  15912. abstract="false" native="false" synchronized="false"
  15913. static="false" final="false" visibility="public"
  15914. deprecated="not deprecated">
  15915. </method>
  15916. <method name="addAnchor" return="boolean"
  15917. abstract="false" native="false" synchronized="false"
  15918. static="false" final="false" visibility="public"
  15919. deprecated="not deprecated">
  15920. <doc>
  15921. <![CDATA[Try to add an anchor for a given slot.
  15922. When a slot is anchored, we know that the block it refers to is resident
  15923. in memory.
  15924. @return True if the slot is anchored.]]>
  15925. </doc>
  15926. </method>
  15927. <method name="removeAnchor"
  15928. abstract="false" native="false" synchronized="false"
  15929. static="false" final="false" visibility="public"
  15930. deprecated="not deprecated">
  15931. <doc>
  15932. <![CDATA[Remove an anchor for a given slot.]]>
  15933. </doc>
  15934. </method>
  15935. <method name="toString" return="java.lang.String"
  15936. abstract="false" native="false" synchronized="false"
  15937. static="false" final="false" visibility="public"
  15938. deprecated="not deprecated">
  15939. </method>
  15940. <doc>
  15941. <![CDATA[A slot containing information about a replica.
  15942. The format is:
  15943. word 0
  15944. bit 0:32 Slot flags (see below).
  15945. bit 33:63 Anchor count.
  15946. word 1:7
  15947. Reserved for future use, such as statistics.
  15948. Padding is also useful for avoiding false sharing.
  15949. Little-endian versus big-endian is not relevant here since both the client
  15950. and the server reside on the same computer and use the same orientation.]]>
  15951. </doc>
  15952. </class>
  15953. <!-- end class org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.Slot -->
  15954. <!-- start class org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.SlotId -->
  15955. <class name="ShortCircuitShm.SlotId" extends="java.lang.Object"
  15956. abstract="false"
  15957. static="true" final="false" visibility="public"
  15958. deprecated="not deprecated">
  15959. <constructor name="SlotId" type="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.ShmId, int"
  15960. static="false" final="false" visibility="public"
  15961. deprecated="not deprecated">
  15962. </constructor>
  15963. <method name="getShmId" return="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.ShmId"
  15964. abstract="false" native="false" synchronized="false"
  15965. static="false" final="false" visibility="public"
  15966. deprecated="not deprecated">
  15967. </method>
  15968. <method name="getSlotIdx" return="int"
  15969. abstract="false" native="false" synchronized="false"
  15970. static="false" final="false" visibility="public"
  15971. deprecated="not deprecated">
  15972. </method>
  15973. <method name="equals" return="boolean"
  15974. abstract="false" native="false" synchronized="false"
  15975. static="false" final="false" visibility="public"
  15976. deprecated="not deprecated">
  15977. <param name="o" type="java.lang.Object"/>
  15978. </method>
  15979. <method name="hashCode" return="int"
  15980. abstract="false" native="false" synchronized="false"
  15981. static="false" final="false" visibility="public"
  15982. deprecated="not deprecated">
  15983. </method>
  15984. <method name="toString" return="java.lang.String"
  15985. abstract="false" native="false" synchronized="false"
  15986. static="false" final="false" visibility="public"
  15987. deprecated="not deprecated">
  15988. </method>
  15989. <doc>
  15990. <![CDATA[Uniquely identifies a slot.]]>
  15991. </doc>
  15992. </class>
  15993. <!-- end class org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.SlotId -->
  15994. <!-- start class org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.SlotIterator -->
  15995. <class name="ShortCircuitShm.SlotIterator" extends="java.lang.Object"
  15996. abstract="false"
  15997. static="false" final="false" visibility="public"
  15998. deprecated="not deprecated">
  15999. <implements name="java.util.Iterator"/>
  16000. <constructor name="SlotIterator"
  16001. static="false" final="false" visibility="public"
  16002. deprecated="not deprecated">
  16003. </constructor>
  16004. <method name="hasNext" return="boolean"
  16005. abstract="false" native="false" synchronized="false"
  16006. static="false" final="false" visibility="public"
  16007. deprecated="not deprecated">
  16008. </method>
  16009. <method name="next" return="org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.Slot"
  16010. abstract="false" native="false" synchronized="false"
  16011. static="false" final="false" visibility="public"
  16012. deprecated="not deprecated">
  16013. </method>
  16014. <method name="remove"
  16015. abstract="false" native="false" synchronized="false"
  16016. static="false" final="false" visibility="public"
  16017. deprecated="not deprecated">
  16018. </method>
  16019. </class>
  16020. <!-- end class org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm.SlotIterator -->
  16021. </package>
  16022. <package name="org.apache.hadoop.hdfs.tools">
  16023. <!-- start class org.apache.hadoop.hdfs.tools.AdminHelper -->
  16024. <class name="AdminHelper" extends="java.lang.Object"
  16025. abstract="false"
  16026. static="false" final="false" visibility="public"
  16027. deprecated="not deprecated">
  16028. <constructor name="AdminHelper"
  16029. static="false" final="false" visibility="public"
  16030. deprecated="not deprecated">
  16031. </constructor>
  16032. <doc>
  16033. <![CDATA[Helper methods for CacheAdmin/CryptoAdmin/StoragePolicyAdmin]]>
  16034. </doc>
  16035. </class>
  16036. <!-- end class org.apache.hadoop.hdfs.tools.AdminHelper -->
  16037. <!-- start class org.apache.hadoop.hdfs.tools.DFSHAAdmin -->
  16038. <class name="DFSHAAdmin" extends="org.apache.hadoop.ha.HAAdmin"
  16039. abstract="false"
  16040. static="false" final="false" visibility="public"
  16041. deprecated="not deprecated">
  16042. <constructor name="DFSHAAdmin"
  16043. static="false" final="false" visibility="public"
  16044. deprecated="not deprecated">
  16045. </constructor>
  16046. <method name="setErrOut"
  16047. abstract="false" native="false" synchronized="false"
  16048. static="false" final="false" visibility="protected"
  16049. deprecated="not deprecated">
  16050. <param name="errOut" type="java.io.PrintStream"/>
  16051. </method>
  16052. <method name="setOut"
  16053. abstract="false" native="false" synchronized="false"
  16054. static="false" final="false" visibility="protected"
  16055. deprecated="not deprecated">
  16056. <param name="out" type="java.io.PrintStream"/>
  16057. </method>
  16058. <method name="setConf"
  16059. abstract="false" native="false" synchronized="false"
  16060. static="false" final="false" visibility="public"
  16061. deprecated="not deprecated">
  16062. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  16063. </method>
  16064. <method name="addSecurityConfiguration" return="org.apache.hadoop.conf.Configuration"
  16065. abstract="false" native="false" synchronized="false"
  16066. static="true" final="false" visibility="public"
  16067. deprecated="not deprecated">
  16068. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  16069. <doc>
  16070. <![CDATA[Add the requisite security principal settings to the given Configuration,
  16071. returning a copy.
  16072. @param conf the original config
  16073. @return a copy with the security settings added]]>
  16074. </doc>
  16075. </method>
  16076. <method name="resolveTarget" return="org.apache.hadoop.ha.HAServiceTarget"
  16077. abstract="false" native="false" synchronized="false"
  16078. static="false" final="false" visibility="protected"
  16079. deprecated="not deprecated">
  16080. <param name="nnId" type="java.lang.String"/>
  16081. <doc>
  16082. <![CDATA[Try to map the given namenode ID to its service address.]]>
  16083. </doc>
  16084. </method>
  16085. <method name="getUsageString" return="java.lang.String"
  16086. abstract="false" native="false" synchronized="false"
  16087. static="false" final="false" visibility="protected"
  16088. deprecated="not deprecated">
  16089. </method>
  16090. <method name="runCmd" return="int"
  16091. abstract="false" native="false" synchronized="false"
  16092. static="false" final="false" visibility="protected"
  16093. deprecated="not deprecated">
  16094. <param name="argv" type="java.lang.String[]"/>
  16095. <exception name="Exception" type="java.lang.Exception"/>
  16096. </method>
  16097. <method name="getTargetIds" return="java.util.Collection"
  16098. abstract="false" native="false" synchronized="false"
  16099. static="false" final="false" visibility="protected"
  16100. deprecated="not deprecated">
  16101. <param name="namenodeToActivate" type="java.lang.String"/>
  16102. <doc>
  16103. <![CDATA[returns the list of all namenode ids for the given configuration]]>
  16104. </doc>
  16105. </method>
  16106. <method name="main"
  16107. abstract="false" native="false" synchronized="false"
  16108. static="true" final="false" visibility="public"
  16109. deprecated="not deprecated">
  16110. <param name="argv" type="java.lang.String[]"/>
  16111. <exception name="Exception" type="java.lang.Exception"/>
  16112. </method>
  16113. <doc>
  16114. <![CDATA[Class to extend HAAdmin to do a little bit of HDFS-specific configuration.]]>
  16115. </doc>
  16116. </class>
  16117. <!-- end class org.apache.hadoop.hdfs.tools.DFSHAAdmin -->
  16118. <!-- start class org.apache.hadoop.hdfs.tools.GetConf -->
  16119. <class name="GetConf" extends="org.apache.hadoop.conf.Configured"
  16120. abstract="false"
  16121. static="false" final="false" visibility="public"
  16122. deprecated="not deprecated">
  16123. <implements name="org.apache.hadoop.util.Tool"/>
  16124. <method name="run" return="int"
  16125. abstract="false" native="false" synchronized="false"
  16126. static="false" final="false" visibility="public"
  16127. deprecated="not deprecated">
  16128. <param name="args" type="java.lang.String[]"/>
  16129. <exception name="Exception" type="java.lang.Exception"/>
  16130. </method>
  16131. <method name="main"
  16132. abstract="false" native="false" synchronized="false"
  16133. static="true" final="false" visibility="public"
  16134. deprecated="not deprecated">
  16135. <param name="args" type="java.lang.String[]"/>
  16136. <exception name="Exception" type="java.lang.Exception"/>
  16137. </method>
  16138. <doc>
  16139. <![CDATA[Tool for getting configuration information from a configuration file.
  16140. Adding more options:
  16141. <ul>
  16142. <li>
  16143. If adding a simple option to get a value corresponding to a key in the
  16144. configuration, use regular {@link GetConf.CommandHandler}.
  16145. See {@link GetConf.Command#EXCLUDE_FILE} example.
  16146. </li>
  16147. <li>
  16148. If adding an option that is does not return a value for a key, add
  16149. a subclass of {@link GetConf.CommandHandler} and set it up in
  16150. {@link GetConf.Command}.
  16151. See {@link GetConf.Command#NAMENODE} for example.
  16152. Add for the new option added, a map entry with the corresponding
  16153. {@link GetConf.CommandHandler}.
  16154. </ul>]]>
  16155. </doc>
  16156. </class>
  16157. <!-- end class org.apache.hadoop.hdfs.tools.GetConf -->
  16158. <!-- start class org.apache.hadoop.hdfs.tools.StoragePolicyAdmin -->
  16159. <class name="StoragePolicyAdmin" extends="org.apache.hadoop.conf.Configured"
  16160. abstract="false"
  16161. static="false" final="false" visibility="public"
  16162. deprecated="not deprecated">
  16163. <implements name="org.apache.hadoop.util.Tool"/>
  16164. <constructor name="StoragePolicyAdmin" type="org.apache.hadoop.conf.Configuration"
  16165. static="false" final="false" visibility="public"
  16166. deprecated="not deprecated">
  16167. </constructor>
  16168. <method name="main"
  16169. abstract="false" native="false" synchronized="false"
  16170. static="true" final="false" visibility="public"
  16171. deprecated="not deprecated">
  16172. <param name="argsArray" type="java.lang.String[]"/>
  16173. <exception name="Exception" type="java.lang.Exception"/>
  16174. </method>
  16175. <method name="run" return="int"
  16176. abstract="false" native="false" synchronized="false"
  16177. static="false" final="false" visibility="public"
  16178. deprecated="not deprecated">
  16179. <param name="args" type="java.lang.String[]"/>
  16180. <exception name="Exception" type="java.lang.Exception"/>
  16181. </method>
  16182. <doc>
  16183. <![CDATA[This class implements block storage policy operations.]]>
  16184. </doc>
  16185. </class>
  16186. <!-- end class org.apache.hadoop.hdfs.tools.StoragePolicyAdmin -->
  16187. </package>
  16188. <package name="org.apache.hadoop.hdfs.tools.offlineEditsViewer">
  16189. <!-- start class org.apache.hadoop.hdfs.tools.offlineEditsViewer.OfflineEditsViewer.Flags -->
  16190. <class name="OfflineEditsViewer.Flags" extends="java.lang.Object"
  16191. abstract="false"
  16192. static="true" final="false" visibility="public"
  16193. deprecated="not deprecated">
  16194. <constructor name="Flags"
  16195. static="false" final="false" visibility="public"
  16196. deprecated="not deprecated">
  16197. </constructor>
  16198. <method name="getPrintToScreen" return="boolean"
  16199. abstract="false" native="false" synchronized="false"
  16200. static="false" final="false" visibility="public"
  16201. deprecated="not deprecated">
  16202. </method>
  16203. <method name="setPrintToScreen"
  16204. abstract="false" native="false" synchronized="false"
  16205. static="false" final="false" visibility="public"
  16206. deprecated="not deprecated">
  16207. </method>
  16208. <method name="getFixTxIds" return="boolean"
  16209. abstract="false" native="false" synchronized="false"
  16210. static="false" final="false" visibility="public"
  16211. deprecated="not deprecated">
  16212. </method>
  16213. <method name="setFixTxIds"
  16214. abstract="false" native="false" synchronized="false"
  16215. static="false" final="false" visibility="public"
  16216. deprecated="not deprecated">
  16217. </method>
  16218. <method name="getRecoveryMode" return="boolean"
  16219. abstract="false" native="false" synchronized="false"
  16220. static="false" final="false" visibility="public"
  16221. deprecated="not deprecated">
  16222. </method>
  16223. <method name="setRecoveryMode"
  16224. abstract="false" native="false" synchronized="false"
  16225. static="false" final="false" visibility="public"
  16226. deprecated="not deprecated">
  16227. </method>
  16228. </class>
  16229. <!-- end class org.apache.hadoop.hdfs.tools.offlineEditsViewer.OfflineEditsViewer.Flags -->
  16230. <!-- start class org.apache.hadoop.hdfs.tools.offlineEditsViewer.TeeOutputStream -->
  16231. <class name="TeeOutputStream" extends="java.io.OutputStream"
  16232. abstract="false"
  16233. static="false" final="false" visibility="public"
  16234. deprecated="not deprecated">
  16235. <constructor name="TeeOutputStream" type="java.io.OutputStream[]"
  16236. static="false" final="false" visibility="public"
  16237. deprecated="not deprecated">
  16238. </constructor>
  16239. <method name="write"
  16240. abstract="false" native="false" synchronized="false"
  16241. static="false" final="false" visibility="public"
  16242. deprecated="not deprecated">
  16243. <param name="c" type="int"/>
  16244. <exception name="IOException" type="java.io.IOException"/>
  16245. </method>
  16246. <method name="write"
  16247. abstract="false" native="false" synchronized="false"
  16248. static="false" final="false" visibility="public"
  16249. deprecated="not deprecated">
  16250. <param name="b" type="byte[]"/>
  16251. <exception name="IOException" type="java.io.IOException"/>
  16252. </method>
  16253. <method name="write"
  16254. abstract="false" native="false" synchronized="false"
  16255. static="false" final="false" visibility="public"
  16256. deprecated="not deprecated">
  16257. <param name="b" type="byte[]"/>
  16258. <param name="off" type="int"/>
  16259. <param name="len" type="int"/>
  16260. <exception name="IOException" type="java.io.IOException"/>
  16261. </method>
  16262. <method name="close"
  16263. abstract="false" native="false" synchronized="false"
  16264. static="false" final="false" visibility="public"
  16265. deprecated="not deprecated">
  16266. <exception name="IOException" type="java.io.IOException"/>
  16267. </method>
  16268. <method name="flush"
  16269. abstract="false" native="false" synchronized="false"
  16270. static="false" final="false" visibility="public"
  16271. deprecated="not deprecated">
  16272. <exception name="IOException" type="java.io.IOException"/>
  16273. </method>
  16274. <doc>
  16275. <![CDATA[A TeeOutputStream writes its output to multiple output streams.]]>
  16276. </doc>
  16277. </class>
  16278. <!-- end class org.apache.hadoop.hdfs.tools.offlineEditsViewer.TeeOutputStream -->
  16279. </package>
  16280. <package name="org.apache.hadoop.hdfs.tools.offlineImageViewer">
  16281. <!-- start class org.apache.hadoop.hdfs.tools.offlineImageViewer.PBImageDelimitedTextWriter -->
  16282. <class name="PBImageDelimitedTextWriter" extends="org.apache.hadoop.hdfs.tools.offlineImageViewer.PBImageTextWriter"
  16283. abstract="false"
  16284. static="false" final="false" visibility="public"
  16285. deprecated="not deprecated">
  16286. <method name="getEntry" return="java.lang.String"
  16287. abstract="false" native="false" synchronized="false"
  16288. static="false" final="false" visibility="public"
  16289. deprecated="not deprecated">
  16290. <param name="parent" type="java.lang.String"/>
  16291. <param name="inode" type="org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.INode"/>
  16292. </method>
  16293. <doc>
  16294. <![CDATA[A PBImageDelimitedTextWriter generates a text representation of the PB fsimage,
  16295. with each element separated by a delimiter string. All of the elements
  16296. common to both inodes and inodes-under-construction are included. When
  16297. processing an fsimage with a layout version that did not include an
  16298. element, such as AccessTime, the output file will include a column
  16299. for the value, but no value will be included.
  16300. Individual block information for each file is not currently included.
  16301. The default delimiter is tab, as this is an unlikely value to be included in
  16302. an inode path or other text metadata. The delimiter value can be via the
  16303. constructor.]]>
  16304. </doc>
  16305. </class>
  16306. <!-- end class org.apache.hadoop.hdfs.tools.offlineImageViewer.PBImageDelimitedTextWriter -->
  16307. <!-- start class org.apache.hadoop.hdfs.tools.offlineImageViewer.WebImageViewer -->
  16308. <class name="WebImageViewer" extends="java.lang.Object"
  16309. abstract="false"
  16310. static="false" final="false" visibility="public"
  16311. deprecated="not deprecated">
  16312. <implements name="java.io.Closeable"/>
  16313. <constructor name="WebImageViewer" type="java.net.InetSocketAddress"
  16314. static="false" final="false" visibility="public"
  16315. deprecated="not deprecated">
  16316. </constructor>
  16317. <method name="start"
  16318. abstract="false" native="false" synchronized="false"
  16319. static="false" final="false" visibility="public"
  16320. deprecated="not deprecated">
  16321. <param name="fsimage" type="java.lang.String"/>
  16322. <exception name="IOException" type="java.io.IOException"/>
  16323. <doc>
  16324. <![CDATA[Start WebImageViewer and wait until the thread is interrupted.
  16325. @param fsimage the fsimage to load.
  16326. @throws IOException if failed to load the fsimage.]]>
  16327. </doc>
  16328. </method>
  16329. <method name="initServer"
  16330. abstract="false" native="false" synchronized="false"
  16331. static="false" final="false" visibility="public"
  16332. deprecated="not deprecated">
  16333. <param name="fsimage" type="java.lang.String"/>
  16334. <exception name="IOException" type="java.io.IOException"/>
  16335. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  16336. <doc>
  16337. <![CDATA[Start WebImageViewer.
  16338. @param fsimage the fsimage to load.
  16339. @throws IOException if fail to load the fsimage.]]>
  16340. </doc>
  16341. </method>
  16342. <method name="getPort" return="int"
  16343. abstract="false" native="false" synchronized="false"
  16344. static="false" final="false" visibility="public"
  16345. deprecated="not deprecated">
  16346. <doc>
  16347. <![CDATA[Get the listening port.
  16348. @return the port WebImageViewer is listening on]]>
  16349. </doc>
  16350. </method>
  16351. <method name="close"
  16352. abstract="false" native="false" synchronized="false"
  16353. static="false" final="false" visibility="public"
  16354. deprecated="not deprecated">
  16355. </method>
  16356. <field name="LOG" type="org.apache.commons.logging.Log"
  16357. transient="false" volatile="false"
  16358. static="true" final="true" visibility="public"
  16359. deprecated="not deprecated">
  16360. </field>
  16361. <doc>
  16362. <![CDATA[WebImageViewer loads a fsimage and exposes read-only WebHDFS API for its
  16363. namespace.]]>
  16364. </doc>
  16365. </class>
  16366. <!-- end class org.apache.hadoop.hdfs.tools.offlineImageViewer.WebImageViewer -->
  16367. <!-- start class org.apache.hadoop.hdfs.tools.offlineImageViewer.XmlImageVisitor -->
  16368. <class name="XmlImageVisitor" extends="org.apache.hadoop.hdfs.tools.offlineImageViewer.TextWriterImageVisitor"
  16369. abstract="false"
  16370. static="false" final="false" visibility="public"
  16371. deprecated="not deprecated">
  16372. <constructor name="XmlImageVisitor" type="java.lang.String"
  16373. static="false" final="false" visibility="public"
  16374. deprecated="not deprecated">
  16375. <exception name="IOException" type="java.io.IOException"/>
  16376. </constructor>
  16377. <constructor name="XmlImageVisitor" type="java.lang.String, boolean"
  16378. static="false" final="false" visibility="public"
  16379. deprecated="not deprecated">
  16380. <exception name="IOException" type="java.io.IOException"/>
  16381. </constructor>
  16382. <doc>
  16383. <![CDATA[An XmlImageVisitor walks over an fsimage structure and writes out
  16384. an equivalent XML document that contains the fsimage's components.]]>
  16385. </doc>
  16386. </class>
  16387. <!-- end class org.apache.hadoop.hdfs.tools.offlineImageViewer.XmlImageVisitor -->
  16388. </package>
  16389. <package name="org.apache.hadoop.hdfs.tools.snapshot">
  16390. </package>
  16391. <package name="org.apache.hadoop.hdfs.util">
  16392. <!-- start class org.apache.hadoop.hdfs.util.AtomicFileOutputStream -->
  16393. <class name="AtomicFileOutputStream" extends="java.io.FilterOutputStream"
  16394. abstract="false"
  16395. static="false" final="false" visibility="public"
  16396. deprecated="not deprecated">
  16397. <constructor name="AtomicFileOutputStream" type="java.io.File"
  16398. static="false" final="false" visibility="public"
  16399. deprecated="not deprecated">
  16400. <exception name="FileNotFoundException" type="java.io.FileNotFoundException"/>
  16401. </constructor>
  16402. <method name="close"
  16403. abstract="false" native="false" synchronized="false"
  16404. static="false" final="false" visibility="public"
  16405. deprecated="not deprecated">
  16406. <exception name="IOException" type="java.io.IOException"/>
  16407. </method>
  16408. <method name="abort"
  16409. abstract="false" native="false" synchronized="false"
  16410. static="false" final="false" visibility="public"
  16411. deprecated="not deprecated">
  16412. <doc>
  16413. <![CDATA[Close the atomic file, but do not "commit" the temporary file
  16414. on top of the destination. This should be used if there is a failure
  16415. in writing.]]>
  16416. </doc>
  16417. </method>
  16418. <doc>
  16419. <![CDATA[A FileOutputStream that has the property that it will only show
  16420. up at its destination once it has been entirely written and flushed
  16421. to disk. While being written, it will use a .tmp suffix.
  16422. When the output stream is closed, it is flushed, fsynced, and
  16423. will be moved into place, overwriting any file that already
  16424. exists at that location.
  16425. <b>NOTE</b>: on Windows platforms, it will not atomically
  16426. replace the target file - instead the target file is deleted
  16427. before this one is moved into place.]]>
  16428. </doc>
  16429. </class>
  16430. <!-- end class org.apache.hadoop.hdfs.util.AtomicFileOutputStream -->
  16431. <!-- start class org.apache.hadoop.hdfs.util.ByteArrayManager.Conf -->
  16432. <class name="ByteArrayManager.Conf" extends="java.lang.Object"
  16433. abstract="false"
  16434. static="true" final="false" visibility="public"
  16435. deprecated="not deprecated">
  16436. <constructor name="Conf" type="int, int, long"
  16437. static="false" final="false" visibility="public"
  16438. deprecated="not deprecated">
  16439. </constructor>
  16440. </class>
  16441. <!-- end class org.apache.hadoop.hdfs.util.ByteArrayManager.Conf -->
  16442. <!-- start class org.apache.hadoop.hdfs.util.DataTransferThrottler -->
  16443. <class name="DataTransferThrottler" extends="java.lang.Object"
  16444. abstract="false"
  16445. static="false" final="false" visibility="public"
  16446. deprecated="not deprecated">
  16447. <constructor name="DataTransferThrottler" type="long"
  16448. static="false" final="false" visibility="public"
  16449. deprecated="not deprecated">
  16450. <doc>
  16451. <![CDATA[Constructor
  16452. @param bandwidthPerSec bandwidth allowed in bytes per second.]]>
  16453. </doc>
  16454. </constructor>
  16455. <constructor name="DataTransferThrottler" type="long, long"
  16456. static="false" final="false" visibility="public"
  16457. deprecated="not deprecated">
  16458. <doc>
  16459. <![CDATA[Constructor
  16460. @param period in milliseconds. Bandwidth is enforced over this
  16461. period.
  16462. @param bandwidthPerSec bandwidth allowed in bytes per second.]]>
  16463. </doc>
  16464. </constructor>
  16465. <method name="getBandwidth" return="long"
  16466. abstract="false" native="false" synchronized="true"
  16467. static="false" final="false" visibility="public"
  16468. deprecated="not deprecated">
  16469. <doc>
  16470. <![CDATA[@return current throttle bandwidth in bytes per second.]]>
  16471. </doc>
  16472. </method>
  16473. <method name="setBandwidth"
  16474. abstract="false" native="false" synchronized="true"
  16475. static="false" final="false" visibility="public"
  16476. deprecated="not deprecated">
  16477. <param name="bytesPerSecond" type="long"/>
  16478. <doc>
  16479. <![CDATA[Sets throttle bandwidth. This takes affect latest by the end of current
  16480. period.]]>
  16481. </doc>
  16482. </method>
  16483. <method name="throttle"
  16484. abstract="false" native="false" synchronized="true"
  16485. static="false" final="false" visibility="public"
  16486. deprecated="not deprecated">
  16487. <param name="numOfBytes" type="long"/>
  16488. <doc>
  16489. <![CDATA[Given the numOfBytes sent/received since last time throttle was called,
  16490. make the current thread sleep if I/O rate is too fast
  16491. compared to the given bandwidth.
  16492. @param numOfBytes
  16493. number of bytes sent/received since last time throttle was called]]>
  16494. </doc>
  16495. </method>
  16496. <method name="throttle"
  16497. abstract="false" native="false" synchronized="true"
  16498. static="false" final="false" visibility="public"
  16499. deprecated="not deprecated">
  16500. <param name="numOfBytes" type="long"/>
  16501. <param name="canceler" type="org.apache.hadoop.hdfs.util.Canceler"/>
  16502. <doc>
  16503. <![CDATA[Given the numOfBytes sent/received since last time throttle was called,
  16504. make the current thread sleep if I/O rate is too fast
  16505. compared to the given bandwidth. Allows for optional external cancelation.
  16506. @param numOfBytes
  16507. number of bytes sent/received since last time throttle was called
  16508. @param canceler
  16509. optional canceler to check for abort of throttle]]>
  16510. </doc>
  16511. </method>
  16512. <doc>
  16513. <![CDATA[a class to throttle the data transfers.
  16514. This class is thread safe. It can be shared by multiple threads.
  16515. The parameter bandwidthPerSec specifies the total bandwidth shared by
  16516. threads.]]>
  16517. </doc>
  16518. </class>
  16519. <!-- end class org.apache.hadoop.hdfs.util.DataTransferThrottler -->
  16520. <!-- start class org.apache.hadoop.hdfs.util.Diff -->
  16521. <class name="Diff" extends="java.lang.Object"
  16522. abstract="false"
  16523. static="false" final="false" visibility="public"
  16524. deprecated="not deprecated">
  16525. <constructor name="Diff"
  16526. static="false" final="false" visibility="protected"
  16527. deprecated="not deprecated">
  16528. </constructor>
  16529. <constructor name="Diff" type="java.util.List, java.util.List"
  16530. static="false" final="false" visibility="protected"
  16531. deprecated="not deprecated">
  16532. </constructor>
  16533. <method name="search" return="int"
  16534. abstract="false" native="false" synchronized="false"
  16535. static="true" final="false" visibility="protected"
  16536. deprecated="not deprecated">
  16537. <param name="elements" type="java.util.List"/>
  16538. <param name="name" type="K"/>
  16539. <doc>
  16540. <![CDATA[Search the element from the list.
  16541. @return -1 if the list is null; otherwise, return the insertion point
  16542. defined in {@link Collections#binarySearch(List, Object)}.
  16543. Note that, when the list is null, -1 is the correct insertion point.]]>
  16544. </doc>
  16545. </method>
  16546. <method name="getList" return="java.util.List"
  16547. abstract="false" native="false" synchronized="false"
  16548. static="false" final="false" visibility="public"
  16549. deprecated="not deprecated">
  16550. <param name="type" type="org.apache.hadoop.hdfs.util.Diff.ListType"/>
  16551. <doc>
  16552. <![CDATA[@return the created list, which is never null.]]>
  16553. </doc>
  16554. </method>
  16555. <method name="searchIndex" return="int"
  16556. abstract="false" native="false" synchronized="false"
  16557. static="false" final="false" visibility="public"
  16558. deprecated="not deprecated">
  16559. <param name="type" type="org.apache.hadoop.hdfs.util.Diff.ListType"/>
  16560. <param name="name" type="K"/>
  16561. </method>
  16562. <method name="search" return="E"
  16563. abstract="false" native="false" synchronized="false"
  16564. static="false" final="false" visibility="public"
  16565. deprecated="not deprecated">
  16566. <param name="type" type="org.apache.hadoop.hdfs.util.Diff.ListType"/>
  16567. <param name="name" type="K"/>
  16568. <doc>
  16569. <![CDATA[@return null if the element is not found;
  16570. otherwise, return the element in the created/deleted list.]]>
  16571. </doc>
  16572. </method>
  16573. <method name="isEmpty" return="boolean"
  16574. abstract="false" native="false" synchronized="false"
  16575. static="false" final="false" visibility="public"
  16576. deprecated="not deprecated">
  16577. <doc>
  16578. <![CDATA[@return true if no changes contained in the diff]]>
  16579. </doc>
  16580. </method>
  16581. <method name="create" return="int"
  16582. abstract="false" native="false" synchronized="false"
  16583. static="false" final="false" visibility="public"
  16584. deprecated="not deprecated">
  16585. <param name="element" type="E"/>
  16586. <doc>
  16587. <![CDATA[Create an element in current state.
  16588. @return the c-list insertion point for undo.]]>
  16589. </doc>
  16590. </method>
  16591. <method name="undoCreate"
  16592. abstract="false" native="false" synchronized="false"
  16593. static="false" final="false" visibility="public"
  16594. deprecated="not deprecated">
  16595. <param name="element" type="E"/>
  16596. <param name="insertionPoint" type="int"/>
  16597. <doc>
  16598. <![CDATA[Undo the previous create(E) operation. Note that the behavior is
  16599. undefined if the previous operation is not create(E).]]>
  16600. </doc>
  16601. </method>
  16602. <method name="delete" return="org.apache.hadoop.hdfs.util.Diff.UndoInfo"
  16603. abstract="false" native="false" synchronized="false"
  16604. static="false" final="false" visibility="public"
  16605. deprecated="not deprecated">
  16606. <param name="element" type="E"/>
  16607. <doc>
  16608. <![CDATA[Delete an element from current state.
  16609. @return the undo information.]]>
  16610. </doc>
  16611. </method>
  16612. <method name="undoDelete"
  16613. abstract="false" native="false" synchronized="false"
  16614. static="false" final="false" visibility="public"
  16615. deprecated="not deprecated">
  16616. <param name="element" type="E"/>
  16617. <param name="undoInfo" type="org.apache.hadoop.hdfs.util.Diff.UndoInfo"/>
  16618. <doc>
  16619. <![CDATA[Undo the previous delete(E) operation. Note that the behavior is
  16620. undefined if the previous operation is not delete(E).]]>
  16621. </doc>
  16622. </method>
  16623. <method name="modify" return="org.apache.hadoop.hdfs.util.Diff.UndoInfo"
  16624. abstract="false" native="false" synchronized="false"
  16625. static="false" final="false" visibility="public"
  16626. deprecated="not deprecated">
  16627. <param name="oldElement" type="E"/>
  16628. <param name="newElement" type="E"/>
  16629. <doc>
  16630. <![CDATA[Modify an element in current state.
  16631. @return the undo information.]]>
  16632. </doc>
  16633. </method>
  16634. <method name="undoModify"
  16635. abstract="false" native="false" synchronized="false"
  16636. static="false" final="false" visibility="public"
  16637. deprecated="not deprecated">
  16638. <param name="oldElement" type="E"/>
  16639. <param name="newElement" type="E"/>
  16640. <param name="undoInfo" type="org.apache.hadoop.hdfs.util.Diff.UndoInfo"/>
  16641. <doc>
  16642. <![CDATA[Undo the previous modify(E, E) operation. Note that the behavior
  16643. is undefined if the previous operation is not modify(E, E).]]>
  16644. </doc>
  16645. </method>
  16646. <method name="accessPrevious" return="org.apache.hadoop.hdfs.util.Diff.Container"
  16647. abstract="false" native="false" synchronized="false"
  16648. static="false" final="false" visibility="public"
  16649. deprecated="not deprecated">
  16650. <param name="name" type="K"/>
  16651. <doc>
  16652. <![CDATA[Find an element in the previous state.
  16653. @return null if the element cannot be determined in the previous state
  16654. since no change is recorded and it should be determined in the
  16655. current state; otherwise, return a {@link Container} containing the
  16656. element in the previous state. Note that the element can possibly
  16657. be null which means that the element is not found in the previous
  16658. state.]]>
  16659. </doc>
  16660. </method>
  16661. <method name="accessCurrent" return="org.apache.hadoop.hdfs.util.Diff.Container"
  16662. abstract="false" native="false" synchronized="false"
  16663. static="false" final="false" visibility="public"
  16664. deprecated="not deprecated">
  16665. <param name="name" type="K"/>
  16666. <doc>
  16667. <![CDATA[Find an element in the current state.
  16668. @return null if the element cannot be determined in the current state since
  16669. no change is recorded and it should be determined in the previous
  16670. state; otherwise, return a {@link Container} containing the element in
  16671. the current state. Note that the element can possibly be null which
  16672. means that the element is not found in the current state.]]>
  16673. </doc>
  16674. </method>
  16675. <method name="apply2Previous" return="java.util.List"
  16676. abstract="false" native="false" synchronized="false"
  16677. static="false" final="false" visibility="public"
  16678. deprecated="not deprecated">
  16679. <param name="previous" type="java.util.List"/>
  16680. <doc>
  16681. <![CDATA[Apply this diff to previous state in order to obtain current state.
  16682. @return the current state of the list.]]>
  16683. </doc>
  16684. </method>
  16685. <method name="apply2Current" return="java.util.List"
  16686. abstract="false" native="false" synchronized="false"
  16687. static="false" final="false" visibility="public"
  16688. deprecated="not deprecated">
  16689. <param name="current" type="java.util.List"/>
  16690. <doc>
  16691. <![CDATA[Apply the reverse of this diff to current state in order
  16692. to obtain the previous state.
  16693. @return the previous state of the list.]]>
  16694. </doc>
  16695. </method>
  16696. <method name="combinePosterior"
  16697. abstract="false" native="false" synchronized="false"
  16698. static="false" final="false" visibility="public"
  16699. deprecated="not deprecated">
  16700. <param name="posterior" type="org.apache.hadoop.hdfs.util.Diff"/>
  16701. <param name="deletedProcesser" type="org.apache.hadoop.hdfs.util.Diff.Processor"/>
  16702. <doc>
  16703. <![CDATA[Combine this diff with a posterior diff. We have the following cases:
  16704. <pre>
  16705. 1. For (c, 0) in the posterior diff, check the element in this diff:
  16706. 1.1 (c', 0) in this diff: impossible
  16707. 1.2 (0, d') in this diff: put in c-list --> (c, d')
  16708. 1.3 (c', d') in this diff: impossible
  16709. 1.4 (0, 0) in this diff: put in c-list --> (c, 0)
  16710. This is the same logic as create(E).
  16711. 2. For (0, d) in the posterior diff,
  16712. 2.1 (c', 0) in this diff: remove from c-list --> (0, 0)
  16713. 2.2 (0, d') in this diff: impossible
  16714. 2.3 (c', d') in this diff: remove from c-list --> (0, d')
  16715. 2.4 (0, 0) in this diff: put in d-list --> (0, d)
  16716. This is the same logic as delete(E).
  16717. 3. For (c, d) in the posterior diff,
  16718. 3.1 (c', 0) in this diff: replace the element in c-list --> (c, 0)
  16719. 3.2 (0, d') in this diff: impossible
  16720. 3.3 (c', d') in this diff: replace the element in c-list --> (c, d')
  16721. 3.4 (0, 0) in this diff: put in c-list and d-list --> (c, d)
  16722. This is the same logic as modify(E, E).
  16723. </pre>
  16724. @param posterior The posterior diff to combine with.
  16725. @param deletedProcesser
  16726. process the deleted/overwritten elements in case 2.1, 2.3, 3.1 and 3.3.]]>
  16727. </doc>
  16728. </method>
  16729. <method name="toString" return="java.lang.String"
  16730. abstract="false" native="false" synchronized="false"
  16731. static="false" final="false" visibility="public"
  16732. deprecated="not deprecated">
  16733. </method>
  16734. <doc>
  16735. <![CDATA[The difference between the current state and a previous state of a list.
  16736. Given a previous state of a set and a sequence of create, delete and modify
  16737. operations such that the current state of the set can be obtained by applying
  16738. the operations on the previous state, the following algorithm construct the
  16739. difference between the current state and the previous state of the set.
  16740. <pre>
  16741. Two lists are maintained in the algorithm:
  16742. - c-list for newly created elements
  16743. - d-list for the deleted elements
  16744. Denote the state of an element by the following
  16745. (0, 0): neither in c-list nor d-list
  16746. (c, 0): in c-list but not in d-list
  16747. (0, d): in d-list but not in c-list
  16748. (c, d): in both c-list and d-list
  16749. For each case below, ( , ) at the end shows the result state of the element.
  16750. Case 1. Suppose the element i is NOT in the previous state. (0, 0)
  16751. 1.1. create i in current: add it to c-list (c, 0)
  16752. 1.1.1. create i in current and then create: impossible
  16753. 1.1.2. create i in current and then delete: remove it from c-list (0, 0)
  16754. 1.1.3. create i in current and then modify: replace it in c-list (c', 0)
  16755. 1.2. delete i from current: impossible
  16756. 1.3. modify i in current: impossible
  16757. Case 2. Suppose the element i is ALREADY in the previous state. (0, 0)
  16758. 2.1. create i in current: impossible
  16759. 2.2. delete i from current: add it to d-list (0, d)
  16760. 2.2.1. delete i from current and then create: add it to c-list (c, d)
  16761. 2.2.2. delete i from current and then delete: impossible
  16762. 2.2.2. delete i from current and then modify: impossible
  16763. 2.3. modify i in current: put it in both c-list and d-list (c, d)
  16764. 2.3.1. modify i in current and then create: impossible
  16765. 2.3.2. modify i in current and then delete: remove it from c-list (0, d)
  16766. 2.3.3. modify i in current and then modify: replace it in c-list (c', d)
  16767. </pre>
  16768. @param <K> The key type.
  16769. @param <E> The element type, which must implement {@link Element} interface.]]>
  16770. </doc>
  16771. </class>
  16772. <!-- end class org.apache.hadoop.hdfs.util.Diff -->
  16773. <!-- start class org.apache.hadoop.hdfs.util.Diff.Container -->
  16774. <class name="Diff.Container" extends="java.lang.Object"
  16775. abstract="false"
  16776. static="true" final="false" visibility="public"
  16777. deprecated="not deprecated">
  16778. <method name="getElement" return="E"
  16779. abstract="false" native="false" synchronized="false"
  16780. static="false" final="false" visibility="public"
  16781. deprecated="not deprecated">
  16782. <doc>
  16783. <![CDATA[@return the element.]]>
  16784. </doc>
  16785. </method>
  16786. <doc>
  16787. <![CDATA[Containing exactly one element.]]>
  16788. </doc>
  16789. </class>
  16790. <!-- end class org.apache.hadoop.hdfs.util.Diff.Container -->
  16791. <!-- start interface org.apache.hadoop.hdfs.util.Diff.Element -->
  16792. <interface name="Diff.Element" abstract="true"
  16793. static="true" final="false" visibility="public"
  16794. deprecated="not deprecated">
  16795. <implements name="java.lang.Comparable"/>
  16796. <method name="getKey" return="K"
  16797. abstract="true" native="false" synchronized="false"
  16798. static="false" final="false" visibility="public"
  16799. deprecated="not deprecated">
  16800. <doc>
  16801. <![CDATA[@return the key of this object.]]>
  16802. </doc>
  16803. </method>
  16804. <doc>
  16805. <![CDATA[An interface for the elements in a {@link Diff}.]]>
  16806. </doc>
  16807. </interface>
  16808. <!-- end interface org.apache.hadoop.hdfs.util.Diff.Element -->
  16809. <!-- start class org.apache.hadoop.hdfs.util.Diff.ListType -->
  16810. <class name="Diff.ListType" extends="java.lang.Enum"
  16811. abstract="false"
  16812. static="true" final="true" visibility="public"
  16813. deprecated="not deprecated">
  16814. <method name="values" return="org.apache.hadoop.hdfs.util.Diff.ListType[]"
  16815. abstract="false" native="false" synchronized="false"
  16816. static="true" final="false" visibility="public"
  16817. deprecated="not deprecated">
  16818. </method>
  16819. <method name="valueOf" return="org.apache.hadoop.hdfs.util.Diff.ListType"
  16820. abstract="false" native="false" synchronized="false"
  16821. static="true" final="false" visibility="public"
  16822. deprecated="not deprecated">
  16823. <param name="name" type="java.lang.String"/>
  16824. </method>
  16825. </class>
  16826. <!-- end class org.apache.hadoop.hdfs.util.Diff.ListType -->
  16827. <!-- start interface org.apache.hadoop.hdfs.util.Diff.Processor -->
  16828. <interface name="Diff.Processor" abstract="true"
  16829. static="true" final="false" visibility="public"
  16830. deprecated="not deprecated">
  16831. <method name="process"
  16832. abstract="true" native="false" synchronized="false"
  16833. static="false" final="false" visibility="public"
  16834. deprecated="not deprecated">
  16835. <param name="element" type="E"/>
  16836. <doc>
  16837. <![CDATA[Process the given element.]]>
  16838. </doc>
  16839. </method>
  16840. <doc>
  16841. <![CDATA[An interface for passing a method in order to process elements.]]>
  16842. </doc>
  16843. </interface>
  16844. <!-- end interface org.apache.hadoop.hdfs.util.Diff.Processor -->
  16845. <!-- start class org.apache.hadoop.hdfs.util.Diff.UndoInfo -->
  16846. <class name="Diff.UndoInfo" extends="java.lang.Object"
  16847. abstract="false"
  16848. static="true" final="false" visibility="public"
  16849. deprecated="not deprecated">
  16850. <method name="getTrashedElement" return="E"
  16851. abstract="false" native="false" synchronized="false"
  16852. static="false" final="false" visibility="public"
  16853. deprecated="not deprecated">
  16854. </method>
  16855. <doc>
  16856. <![CDATA[Undo information for some operations such as delete(E)
  16857. and {@link Diff#modify(Element, Element)}.]]>
  16858. </doc>
  16859. </class>
  16860. <!-- end class org.apache.hadoop.hdfs.util.Diff.UndoInfo -->
  16861. <!-- start class org.apache.hadoop.hdfs.util.EnumCounters -->
  16862. <class name="EnumCounters" extends="java.lang.Object"
  16863. abstract="false"
  16864. static="false" final="false" visibility="public"
  16865. deprecated="not deprecated">
  16866. <constructor name="EnumCounters" type="java.lang.Class"
  16867. static="false" final="false" visibility="public"
  16868. deprecated="not deprecated">
  16869. <doc>
  16870. <![CDATA[Construct counters for the given enum constants.
  16871. @param enumClass the enum class of the counters.]]>
  16872. </doc>
  16873. </constructor>
  16874. <constructor name="EnumCounters" type="java.lang.Class, long"
  16875. static="false" final="false" visibility="public"
  16876. deprecated="not deprecated">
  16877. </constructor>
  16878. <method name="get" return="long"
  16879. abstract="false" native="false" synchronized="false"
  16880. static="false" final="true" visibility="public"
  16881. deprecated="not deprecated">
  16882. <param name="e" type="E"/>
  16883. <doc>
  16884. <![CDATA[@return the value of counter e.]]>
  16885. </doc>
  16886. </method>
  16887. <method name="asArray" return="long[]"
  16888. abstract="false" native="false" synchronized="false"
  16889. static="false" final="false" visibility="public"
  16890. deprecated="not deprecated">
  16891. <doc>
  16892. <![CDATA[@return the values of counter as a shadow copy of array]]>
  16893. </doc>
  16894. </method>
  16895. <method name="negation"
  16896. abstract="false" native="false" synchronized="false"
  16897. static="false" final="true" visibility="public"
  16898. deprecated="not deprecated">
  16899. <doc>
  16900. <![CDATA[Negate all counters.]]>
  16901. </doc>
  16902. </method>
  16903. <method name="set"
  16904. abstract="false" native="false" synchronized="false"
  16905. static="false" final="true" visibility="public"
  16906. deprecated="not deprecated">
  16907. <param name="e" type="E"/>
  16908. <param name="value" type="long"/>
  16909. <doc>
  16910. <![CDATA[Set counter e to the given value.]]>
  16911. </doc>
  16912. </method>
  16913. <method name="set"
  16914. abstract="false" native="false" synchronized="false"
  16915. static="false" final="true" visibility="public"
  16916. deprecated="not deprecated">
  16917. <param name="that" type="org.apache.hadoop.hdfs.util.EnumCounters"/>
  16918. <doc>
  16919. <![CDATA[Set this counters to that counters.]]>
  16920. </doc>
  16921. </method>
  16922. <method name="reset"
  16923. abstract="false" native="false" synchronized="false"
  16924. static="false" final="true" visibility="public"
  16925. deprecated="not deprecated">
  16926. <doc>
  16927. <![CDATA[Reset all counters to zero.]]>
  16928. </doc>
  16929. </method>
  16930. <method name="add"
  16931. abstract="false" native="false" synchronized="false"
  16932. static="false" final="true" visibility="public"
  16933. deprecated="not deprecated">
  16934. <param name="e" type="E"/>
  16935. <param name="value" type="long"/>
  16936. <doc>
  16937. <![CDATA[Add the given value to counter e.]]>
  16938. </doc>
  16939. </method>
  16940. <method name="add"
  16941. abstract="false" native="false" synchronized="false"
  16942. static="false" final="true" visibility="public"
  16943. deprecated="not deprecated">
  16944. <param name="that" type="org.apache.hadoop.hdfs.util.EnumCounters"/>
  16945. <doc>
  16946. <![CDATA[Add that counters to this counters.]]>
  16947. </doc>
  16948. </method>
  16949. <method name="subtract"
  16950. abstract="false" native="false" synchronized="false"
  16951. static="false" final="true" visibility="public"
  16952. deprecated="not deprecated">
  16953. <param name="e" type="E"/>
  16954. <param name="value" type="long"/>
  16955. <doc>
  16956. <![CDATA[Subtract the given value from counter e.]]>
  16957. </doc>
  16958. </method>
  16959. <method name="subtract"
  16960. abstract="false" native="false" synchronized="false"
  16961. static="false" final="true" visibility="public"
  16962. deprecated="not deprecated">
  16963. <param name="that" type="org.apache.hadoop.hdfs.util.EnumCounters"/>
  16964. <doc>
  16965. <![CDATA[Subtract this counters from that counters.]]>
  16966. </doc>
  16967. </method>
  16968. <method name="sum" return="long"
  16969. abstract="false" native="false" synchronized="false"
  16970. static="false" final="true" visibility="public"
  16971. deprecated="not deprecated">
  16972. <doc>
  16973. <![CDATA[@return the sum of all counters.]]>
  16974. </doc>
  16975. </method>
  16976. <method name="equals" return="boolean"
  16977. abstract="false" native="false" synchronized="false"
  16978. static="false" final="false" visibility="public"
  16979. deprecated="not deprecated">
  16980. <param name="obj" type="java.lang.Object"/>
  16981. </method>
  16982. <method name="hashCode" return="int"
  16983. abstract="false" native="false" synchronized="false"
  16984. static="false" final="false" visibility="public"
  16985. deprecated="not deprecated">
  16986. </method>
  16987. <method name="toString" return="java.lang.String"
  16988. abstract="false" native="false" synchronized="false"
  16989. static="false" final="false" visibility="public"
  16990. deprecated="not deprecated">
  16991. </method>
  16992. <method name="reset"
  16993. abstract="false" native="false" synchronized="false"
  16994. static="false" final="true" visibility="public"
  16995. deprecated="not deprecated">
  16996. <param name="val" type="long"/>
  16997. </method>
  16998. <method name="allLessOrEqual" return="boolean"
  16999. abstract="false" native="false" synchronized="false"
  17000. static="false" final="false" visibility="public"
  17001. deprecated="not deprecated">
  17002. <param name="val" type="long"/>
  17003. </method>
  17004. <method name="anyGreaterOrEqual" return="boolean"
  17005. abstract="false" native="false" synchronized="false"
  17006. static="false" final="false" visibility="public"
  17007. deprecated="not deprecated">
  17008. <param name="val" type="long"/>
  17009. </method>
  17010. <doc>
  17011. <![CDATA[Counters for an enum type.
  17012. For example, suppose there is an enum type
  17013. <pre>
  17014. enum Fruit { APPLE, ORANGE, GRAPE }
  17015. </pre>
  17016. An {@link EnumCounters} object can be created for counting the numbers of
  17017. APPLE, ORANGLE and GRAPE.
  17018. @param <E> the enum type]]>
  17019. </doc>
  17020. </class>
  17021. <!-- end class org.apache.hadoop.hdfs.util.EnumCounters -->
  17022. <!-- start interface org.apache.hadoop.hdfs.util.EnumCounters.Factory -->
  17023. <interface name="EnumCounters.Factory" abstract="true"
  17024. static="true" final="false" visibility="public"
  17025. deprecated="not deprecated">
  17026. <method name="newInstance" return="C"
  17027. abstract="true" native="false" synchronized="false"
  17028. static="false" final="false" visibility="public"
  17029. deprecated="not deprecated">
  17030. <doc>
  17031. <![CDATA[Create a new counters instance.]]>
  17032. </doc>
  17033. </method>
  17034. <doc>
  17035. <![CDATA[A factory for creating counters.
  17036. @param <E> the enum type
  17037. @param <C> the counter type]]>
  17038. </doc>
  17039. </interface>
  17040. <!-- end interface org.apache.hadoop.hdfs.util.EnumCounters.Factory -->
  17041. <!-- start class org.apache.hadoop.hdfs.util.EnumCounters.Map -->
  17042. <class name="EnumCounters.Map" extends="java.lang.Object"
  17043. abstract="false"
  17044. static="true" final="false" visibility="public"
  17045. deprecated="not deprecated">
  17046. <constructor name="Map" type="org.apache.hadoop.hdfs.util.EnumCounters.Factory"
  17047. static="false" final="false" visibility="public"
  17048. deprecated="not deprecated">
  17049. <doc>
  17050. <![CDATA[Construct a map.]]>
  17051. </doc>
  17052. </constructor>
  17053. <method name="getCounts" return="C"
  17054. abstract="false" native="false" synchronized="false"
  17055. static="false" final="true" visibility="public"
  17056. deprecated="not deprecated">
  17057. <param name="key" type="K"/>
  17058. <doc>
  17059. <![CDATA[@return the counters for the given key.]]>
  17060. </doc>
  17061. </method>
  17062. <method name="sum" return="C"
  17063. abstract="false" native="false" synchronized="false"
  17064. static="false" final="true" visibility="public"
  17065. deprecated="not deprecated">
  17066. <doc>
  17067. <![CDATA[@return the sum of the values of all the counters.]]>
  17068. </doc>
  17069. </method>
  17070. <method name="sum" return="long"
  17071. abstract="false" native="false" synchronized="false"
  17072. static="false" final="true" visibility="public"
  17073. deprecated="not deprecated">
  17074. <param name="e" type="E"/>
  17075. <doc>
  17076. <![CDATA[@return the sum of the values of all the counters for e.]]>
  17077. </doc>
  17078. </method>
  17079. <method name="toString" return="java.lang.String"
  17080. abstract="false" native="false" synchronized="false"
  17081. static="false" final="false" visibility="public"
  17082. deprecated="not deprecated">
  17083. </method>
  17084. <doc>
  17085. <![CDATA[A key-value map which maps the keys to {@link EnumCounters}.
  17086. Note that null key is supported.
  17087. @param <K> the key type
  17088. @param <E> the enum type
  17089. @param <C> the counter type]]>
  17090. </doc>
  17091. </class>
  17092. <!-- end class org.apache.hadoop.hdfs.util.EnumCounters.Map -->
  17093. <!-- start class org.apache.hadoop.hdfs.util.EnumDoubles -->
  17094. <class name="EnumDoubles" extends="java.lang.Object"
  17095. abstract="false"
  17096. static="false" final="false" visibility="public"
  17097. deprecated="not deprecated">
  17098. <constructor name="EnumDoubles" type="java.lang.Class"
  17099. static="false" final="false" visibility="public"
  17100. deprecated="not deprecated">
  17101. <doc>
  17102. <![CDATA[Construct doubles for the given enum constants.
  17103. @param enumClass the enum class.]]>
  17104. </doc>
  17105. </constructor>
  17106. <method name="get" return="double"
  17107. abstract="false" native="false" synchronized="false"
  17108. static="false" final="true" visibility="public"
  17109. deprecated="not deprecated">
  17110. <param name="e" type="E"/>
  17111. <doc>
  17112. <![CDATA[@return the value corresponding to e.]]>
  17113. </doc>
  17114. </method>
  17115. <method name="negation"
  17116. abstract="false" native="false" synchronized="false"
  17117. static="false" final="true" visibility="public"
  17118. deprecated="not deprecated">
  17119. <doc>
  17120. <![CDATA[Negate all values.]]>
  17121. </doc>
  17122. </method>
  17123. <method name="set"
  17124. abstract="false" native="false" synchronized="false"
  17125. static="false" final="true" visibility="public"
  17126. deprecated="not deprecated">
  17127. <param name="e" type="E"/>
  17128. <param name="value" type="double"/>
  17129. <doc>
  17130. <![CDATA[Set e to the given value.]]>
  17131. </doc>
  17132. </method>
  17133. <method name="set"
  17134. abstract="false" native="false" synchronized="false"
  17135. static="false" final="true" visibility="public"
  17136. deprecated="not deprecated">
  17137. <param name="that" type="org.apache.hadoop.hdfs.util.EnumDoubles"/>
  17138. <doc>
  17139. <![CDATA[Set the values of this object to that object.]]>
  17140. </doc>
  17141. </method>
  17142. <method name="reset"
  17143. abstract="false" native="false" synchronized="false"
  17144. static="false" final="true" visibility="public"
  17145. deprecated="not deprecated">
  17146. <doc>
  17147. <![CDATA[Reset all values to zero.]]>
  17148. </doc>
  17149. </method>
  17150. <method name="add"
  17151. abstract="false" native="false" synchronized="false"
  17152. static="false" final="true" visibility="public"
  17153. deprecated="not deprecated">
  17154. <param name="e" type="E"/>
  17155. <param name="value" type="double"/>
  17156. <doc>
  17157. <![CDATA[Add the given value to e.]]>
  17158. </doc>
  17159. </method>
  17160. <method name="add"
  17161. abstract="false" native="false" synchronized="false"
  17162. static="false" final="true" visibility="public"
  17163. deprecated="not deprecated">
  17164. <param name="that" type="org.apache.hadoop.hdfs.util.EnumDoubles"/>
  17165. <doc>
  17166. <![CDATA[Add the values of that object to this.]]>
  17167. </doc>
  17168. </method>
  17169. <method name="subtract"
  17170. abstract="false" native="false" synchronized="false"
  17171. static="false" final="true" visibility="public"
  17172. deprecated="not deprecated">
  17173. <param name="e" type="E"/>
  17174. <param name="value" type="double"/>
  17175. <doc>
  17176. <![CDATA[Subtract the given value from e.]]>
  17177. </doc>
  17178. </method>
  17179. <method name="subtract"
  17180. abstract="false" native="false" synchronized="false"
  17181. static="false" final="true" visibility="public"
  17182. deprecated="not deprecated">
  17183. <param name="that" type="org.apache.hadoop.hdfs.util.EnumDoubles"/>
  17184. <doc>
  17185. <![CDATA[Subtract the values of this object from that object.]]>
  17186. </doc>
  17187. </method>
  17188. <method name="equals" return="boolean"
  17189. abstract="false" native="false" synchronized="false"
  17190. static="false" final="false" visibility="public"
  17191. deprecated="not deprecated">
  17192. <param name="obj" type="java.lang.Object"/>
  17193. </method>
  17194. <method name="hashCode" return="int"
  17195. abstract="false" native="false" synchronized="false"
  17196. static="false" final="false" visibility="public"
  17197. deprecated="not deprecated">
  17198. </method>
  17199. <method name="toString" return="java.lang.String"
  17200. abstract="false" native="false" synchronized="false"
  17201. static="false" final="false" visibility="public"
  17202. deprecated="not deprecated">
  17203. </method>
  17204. <doc>
  17205. <![CDATA[Similar to {@link EnumCounters} except that the value type is double.
  17206. @param <E> the enum type]]>
  17207. </doc>
  17208. </class>
  17209. <!-- end class org.apache.hadoop.hdfs.util.EnumDoubles -->
  17210. <!-- start class org.apache.hadoop.hdfs.util.Holder -->
  17211. <class name="Holder" extends="java.lang.Object"
  17212. abstract="false"
  17213. static="false" final="false" visibility="public"
  17214. deprecated="not deprecated">
  17215. <constructor name="Holder" type="T"
  17216. static="false" final="false" visibility="public"
  17217. deprecated="not deprecated">
  17218. </constructor>
  17219. <method name="toString" return="java.lang.String"
  17220. abstract="false" native="false" synchronized="false"
  17221. static="false" final="false" visibility="public"
  17222. deprecated="not deprecated">
  17223. </method>
  17224. <field name="held" type="T"
  17225. transient="false" volatile="false"
  17226. static="false" final="false" visibility="public"
  17227. deprecated="not deprecated">
  17228. </field>
  17229. <doc>
  17230. <![CDATA[A Holder is simply a wrapper around some other object. This is useful
  17231. in particular for storing immutable values like boxed Integers in a
  17232. collection without having to do the &quot;lookup&quot; of the value twice.]]>
  17233. </doc>
  17234. </class>
  17235. <!-- end class org.apache.hadoop.hdfs.util.Holder -->
  17236. <!-- start class org.apache.hadoop.hdfs.util.LightWeightHashSet -->
  17237. <class name="LightWeightHashSet" extends="java.lang.Object"
  17238. abstract="false"
  17239. static="false" final="false" visibility="public"
  17240. deprecated="not deprecated">
  17241. <implements name="java.util.Collection"/>
  17242. <constructor name="LightWeightHashSet" type="int, float, float"
  17243. static="false" final="false" visibility="public"
  17244. deprecated="not deprecated">
  17245. <doc>
  17246. <![CDATA[@param initCapacity
  17247. Recommended size of the internal array.
  17248. @param maxLoadFactor
  17249. used to determine when to expand the internal array
  17250. @param minLoadFactor
  17251. used to determine when to shrink the internal array]]>
  17252. </doc>
  17253. </constructor>
  17254. <constructor name="LightWeightHashSet"
  17255. static="false" final="false" visibility="public"
  17256. deprecated="not deprecated">
  17257. </constructor>
  17258. <constructor name="LightWeightHashSet" type="int"
  17259. static="false" final="false" visibility="public"
  17260. deprecated="not deprecated">
  17261. </constructor>
  17262. <method name="isEmpty" return="boolean"
  17263. abstract="false" native="false" synchronized="false"
  17264. static="false" final="false" visibility="public"
  17265. deprecated="not deprecated">
  17266. <doc>
  17267. <![CDATA[Check if the set is empty.
  17268. @return true is set empty, false otherwise]]>
  17269. </doc>
  17270. </method>
  17271. <method name="getCapacity" return="int"
  17272. abstract="false" native="false" synchronized="false"
  17273. static="false" final="false" visibility="public"
  17274. deprecated="not deprecated">
  17275. <doc>
  17276. <![CDATA[Return the current capacity (for testing).]]>
  17277. </doc>
  17278. </method>
  17279. <method name="size" return="int"
  17280. abstract="false" native="false" synchronized="false"
  17281. static="false" final="false" visibility="public"
  17282. deprecated="not deprecated">
  17283. <doc>
  17284. <![CDATA[Return the number of stored elements.]]>
  17285. </doc>
  17286. </method>
  17287. <method name="getIndex" return="int"
  17288. abstract="false" native="false" synchronized="false"
  17289. static="false" final="false" visibility="protected"
  17290. deprecated="not deprecated">
  17291. <param name="hashCode" type="int"/>
  17292. <doc>
  17293. <![CDATA[Get index in the internal table for a given hash.]]>
  17294. </doc>
  17295. </method>
  17296. <method name="contains" return="boolean"
  17297. abstract="false" native="false" synchronized="false"
  17298. static="false" final="false" visibility="public"
  17299. deprecated="not deprecated">
  17300. <param name="key" type="java.lang.Object"/>
  17301. <doc>
  17302. <![CDATA[Check if the set contains given element
  17303. @return true if element present, false otherwise.]]>
  17304. </doc>
  17305. </method>
  17306. <method name="getElement" return="T"
  17307. abstract="false" native="false" synchronized="false"
  17308. static="false" final="false" visibility="public"
  17309. deprecated="not deprecated">
  17310. <param name="key" type="T"/>
  17311. <doc>
  17312. <![CDATA[Return the element in this set which is equal to
  17313. the given key, if such an element exists.
  17314. Otherwise returns null.]]>
  17315. </doc>
  17316. </method>
  17317. <method name="getContainedElem" return="T"
  17318. abstract="false" native="false" synchronized="false"
  17319. static="false" final="false" visibility="protected"
  17320. deprecated="not deprecated">
  17321. <param name="index" type="int"/>
  17322. <param name="key" type="T"/>
  17323. <param name="hashCode" type="int"/>
  17324. <doc>
  17325. <![CDATA[Check if the set contains given element at given index. If it
  17326. does, return that element.
  17327. @return the element, or null, if no element matches]]>
  17328. </doc>
  17329. </method>
  17330. <method name="addAll" return="boolean"
  17331. abstract="false" native="false" synchronized="false"
  17332. static="false" final="false" visibility="public"
  17333. deprecated="not deprecated">
  17334. <param name="toAdd" type="java.util.Collection"/>
  17335. <doc>
  17336. <![CDATA[All all elements in the collection. Expand if necessary.
  17337. @param toAdd - elements to add.
  17338. @return true if the set has changed, false otherwise]]>
  17339. </doc>
  17340. </method>
  17341. <method name="add" return="boolean"
  17342. abstract="false" native="false" synchronized="false"
  17343. static="false" final="false" visibility="public"
  17344. deprecated="not deprecated">
  17345. <param name="element" type="T"/>
  17346. <doc>
  17347. <![CDATA[Add given element to the hash table. Expand table if necessary.
  17348. @return true if the element was not present in the table, false otherwise]]>
  17349. </doc>
  17350. </method>
  17351. <method name="addElem" return="boolean"
  17352. abstract="false" native="false" synchronized="false"
  17353. static="false" final="false" visibility="protected"
  17354. deprecated="not deprecated">
  17355. <param name="element" type="T"/>
  17356. <doc>
  17357. <![CDATA[Add given element to the hash table
  17358. @return true if the element was not present in the table, false otherwise]]>
  17359. </doc>
  17360. </method>
  17361. <method name="remove" return="boolean"
  17362. abstract="false" native="false" synchronized="false"
  17363. static="false" final="false" visibility="public"
  17364. deprecated="not deprecated">
  17365. <param name="key" type="java.lang.Object"/>
  17366. <doc>
  17367. <![CDATA[Remove the element corresponding to the key.
  17368. @return If such element exists, return true. Otherwise, return false.]]>
  17369. </doc>
  17370. </method>
  17371. <method name="removeElem" return="org.apache.hadoop.hdfs.util.LightWeightHashSet.LinkedElement"
  17372. abstract="false" native="false" synchronized="false"
  17373. static="false" final="false" visibility="protected"
  17374. deprecated="not deprecated">
  17375. <param name="key" type="T"/>
  17376. <doc>
  17377. <![CDATA[Remove the element corresponding to the key, given key.hashCode() == index.
  17378. @return If such element exists, return true. Otherwise, return false.]]>
  17379. </doc>
  17380. </method>
  17381. <method name="pollN" return="java.util.List"
  17382. abstract="false" native="false" synchronized="false"
  17383. static="false" final="false" visibility="public"
  17384. deprecated="not deprecated">
  17385. <param name="n" type="int"/>
  17386. <doc>
  17387. <![CDATA[Remove and return n elements from the hashtable.
  17388. The order in which entries are removed is unspecified, and
  17389. and may not correspond to the order in which they were inserted.
  17390. @return first element]]>
  17391. </doc>
  17392. </method>
  17393. <method name="pollAll" return="java.util.List"
  17394. abstract="false" native="false" synchronized="false"
  17395. static="false" final="false" visibility="public"
  17396. deprecated="not deprecated">
  17397. <doc>
  17398. <![CDATA[Remove all elements from the set and return them. Clear the entries.]]>
  17399. </doc>
  17400. </method>
  17401. <method name="pollToArray" return="T[]"
  17402. abstract="false" native="false" synchronized="false"
  17403. static="false" final="false" visibility="public"
  17404. deprecated="not deprecated">
  17405. <param name="array" type="T[]"/>
  17406. <doc>
  17407. <![CDATA[Get array.length elements from the set, and put them into the array.]]>
  17408. </doc>
  17409. </method>
  17410. <method name="shrinkIfNecessary"
  17411. abstract="false" native="false" synchronized="false"
  17412. static="false" final="false" visibility="protected"
  17413. deprecated="not deprecated">
  17414. <doc>
  17415. <![CDATA[Checks if we need to shrink, and shrinks if necessary.]]>
  17416. </doc>
  17417. </method>
  17418. <method name="expandIfNecessary"
  17419. abstract="false" native="false" synchronized="false"
  17420. static="false" final="false" visibility="protected"
  17421. deprecated="not deprecated">
  17422. <doc>
  17423. <![CDATA[Checks if we need to expand, and expands if necessary.]]>
  17424. </doc>
  17425. </method>
  17426. <method name="iterator" return="java.util.Iterator"
  17427. abstract="false" native="false" synchronized="false"
  17428. static="false" final="false" visibility="public"
  17429. deprecated="not deprecated">
  17430. </method>
  17431. <method name="toString" return="java.lang.String"
  17432. abstract="false" native="false" synchronized="false"
  17433. static="false" final="false" visibility="public"
  17434. deprecated="not deprecated">
  17435. </method>
  17436. <method name="printDetails"
  17437. abstract="false" native="false" synchronized="false"
  17438. static="false" final="false" visibility="public"
  17439. deprecated="not deprecated">
  17440. <param name="out" type="java.io.PrintStream"/>
  17441. <doc>
  17442. <![CDATA[Print detailed information of this object.]]>
  17443. </doc>
  17444. </method>
  17445. <method name="clear"
  17446. abstract="false" native="false" synchronized="false"
  17447. static="false" final="false" visibility="public"
  17448. deprecated="not deprecated">
  17449. <doc>
  17450. <![CDATA[Clear the set. Resize it to the original capacity.]]>
  17451. </doc>
  17452. </method>
  17453. <method name="toArray" return="java.lang.Object[]"
  17454. abstract="false" native="false" synchronized="false"
  17455. static="false" final="false" visibility="public"
  17456. deprecated="not deprecated">
  17457. </method>
  17458. <method name="toArray" return="U[]"
  17459. abstract="false" native="false" synchronized="false"
  17460. static="false" final="false" visibility="public"
  17461. deprecated="not deprecated">
  17462. <param name="a" type="U[]"/>
  17463. </method>
  17464. <method name="containsAll" return="boolean"
  17465. abstract="false" native="false" synchronized="false"
  17466. static="false" final="false" visibility="public"
  17467. deprecated="not deprecated">
  17468. <param name="c" type="java.util.Collection"/>
  17469. </method>
  17470. <method name="removeAll" return="boolean"
  17471. abstract="false" native="false" synchronized="false"
  17472. static="false" final="false" visibility="public"
  17473. deprecated="not deprecated">
  17474. <param name="c" type="java.util.Collection"/>
  17475. </method>
  17476. <method name="retainAll" return="boolean"
  17477. abstract="false" native="false" synchronized="false"
  17478. static="false" final="false" visibility="public"
  17479. deprecated="not deprecated">
  17480. <param name="c" type="java.util.Collection"/>
  17481. </method>
  17482. <field name="DEFAULT_MAX_LOAD_FACTOR" type="float"
  17483. transient="false" volatile="false"
  17484. static="true" final="true" visibility="protected"
  17485. deprecated="not deprecated">
  17486. </field>
  17487. <field name="DEFAUT_MIN_LOAD_FACTOR" type="float"
  17488. transient="false" volatile="false"
  17489. static="true" final="true" visibility="protected"
  17490. deprecated="not deprecated">
  17491. </field>
  17492. <field name="MINIMUM_CAPACITY" type="int"
  17493. transient="false" volatile="false"
  17494. static="true" final="true" visibility="protected"
  17495. deprecated="not deprecated">
  17496. </field>
  17497. <field name="entries" type="org.apache.hadoop.hdfs.util.LightWeightHashSet.LinkedElement[]"
  17498. transient="false" volatile="false"
  17499. static="false" final="false" visibility="protected"
  17500. deprecated="not deprecated">
  17501. <doc>
  17502. <![CDATA[An internal array of entries, which are the rows of the hash table. The
  17503. size must be a power of two.]]>
  17504. </doc>
  17505. </field>
  17506. <field name="size" type="int"
  17507. transient="false" volatile="false"
  17508. static="false" final="false" visibility="protected"
  17509. deprecated="not deprecated">
  17510. <doc>
  17511. <![CDATA[The size of the set (not the entry array).]]>
  17512. </doc>
  17513. </field>
  17514. <field name="modification" type="int"
  17515. transient="false" volatile="false"
  17516. static="false" final="false" visibility="protected"
  17517. deprecated="not deprecated">
  17518. <doc>
  17519. <![CDATA[Modification version for fail-fast.
  17520. @see ConcurrentModificationException]]>
  17521. </doc>
  17522. </field>
  17523. <doc>
  17524. <![CDATA[A low memory linked hash set implementation, which uses an array for storing
  17525. the elements and linked lists for collision resolution. This class does not
  17526. support null element.
  17527. This class is not thread safe.]]>
  17528. </doc>
  17529. </class>
  17530. <!-- end class org.apache.hadoop.hdfs.util.LightWeightHashSet -->
  17531. <!-- start class org.apache.hadoop.hdfs.util.LightWeightLinkedSet -->
  17532. <class name="LightWeightLinkedSet" extends="org.apache.hadoop.hdfs.util.LightWeightHashSet"
  17533. abstract="false"
  17534. static="false" final="false" visibility="public"
  17535. deprecated="not deprecated">
  17536. <constructor name="LightWeightLinkedSet" type="int, float, float"
  17537. static="false" final="false" visibility="public"
  17538. deprecated="not deprecated">
  17539. <doc>
  17540. <![CDATA[@param initCapacity
  17541. Recommended size of the internal array.
  17542. @param maxLoadFactor
  17543. used to determine when to expand the internal array
  17544. @param minLoadFactor
  17545. used to determine when to shrink the internal array]]>
  17546. </doc>
  17547. </constructor>
  17548. <constructor name="LightWeightLinkedSet"
  17549. static="false" final="false" visibility="public"
  17550. deprecated="not deprecated">
  17551. </constructor>
  17552. <method name="addElem" return="boolean"
  17553. abstract="false" native="false" synchronized="false"
  17554. static="false" final="false" visibility="protected"
  17555. deprecated="not deprecated">
  17556. <param name="element" type="T"/>
  17557. <doc>
  17558. <![CDATA[Add given element to the hash table
  17559. @return true if the element was not present in the table, false otherwise]]>
  17560. </doc>
  17561. </method>
  17562. <method name="removeElem" return="org.apache.hadoop.hdfs.util.LightWeightLinkedSet.DoubleLinkedElement"
  17563. abstract="false" native="false" synchronized="false"
  17564. static="false" final="false" visibility="protected"
  17565. deprecated="not deprecated">
  17566. <param name="key" type="T"/>
  17567. <doc>
  17568. <![CDATA[Remove the element corresponding to the key, given key.hashCode() == index.
  17569. @return Return the entry with the element if exists. Otherwise return null.]]>
  17570. </doc>
  17571. </method>
  17572. <method name="pollFirst" return="T"
  17573. abstract="false" native="false" synchronized="false"
  17574. static="false" final="false" visibility="public"
  17575. deprecated="not deprecated">
  17576. <doc>
  17577. <![CDATA[Remove and return first element on the linked list of all elements.
  17578. @return first element]]>
  17579. </doc>
  17580. </method>
  17581. <method name="pollN" return="java.util.List"
  17582. abstract="false" native="false" synchronized="false"
  17583. static="false" final="false" visibility="public"
  17584. deprecated="not deprecated">
  17585. <param name="n" type="int"/>
  17586. <doc>
  17587. <![CDATA[Remove and return n elements from the hashtable.
  17588. The order in which entries are removed is corresponds
  17589. to the order in which they were inserted.
  17590. @return first element]]>
  17591. </doc>
  17592. </method>
  17593. <method name="pollAll" return="java.util.List"
  17594. abstract="false" native="false" synchronized="false"
  17595. static="false" final="false" visibility="public"
  17596. deprecated="not deprecated">
  17597. <doc>
  17598. <![CDATA[Remove all elements from the set and return them in order. Traverse the
  17599. link list, don't worry about hashtable - faster version of the parent
  17600. method.]]>
  17601. </doc>
  17602. </method>
  17603. <method name="toArray" return="U[]"
  17604. abstract="false" native="false" synchronized="false"
  17605. static="false" final="false" visibility="public"
  17606. deprecated="not deprecated">
  17607. <param name="a" type="U[]"/>
  17608. </method>
  17609. <method name="iterator" return="java.util.Iterator"
  17610. abstract="false" native="false" synchronized="false"
  17611. static="false" final="false" visibility="public"
  17612. deprecated="not deprecated">
  17613. </method>
  17614. <method name="clear"
  17615. abstract="false" native="false" synchronized="false"
  17616. static="false" final="false" visibility="public"
  17617. deprecated="not deprecated">
  17618. <doc>
  17619. <![CDATA[Clear the set. Resize it to the original capacity.]]>
  17620. </doc>
  17621. </method>
  17622. <doc>
  17623. <![CDATA[A low memory linked hash set implementation, which uses an array for storing
  17624. the elements and linked lists for collision resolution. In addition it stores
  17625. elements in a linked list to ensure ordered traversal. This class does not
  17626. support null element.
  17627. This class is not thread safe.]]>
  17628. </doc>
  17629. </class>
  17630. <!-- end class org.apache.hadoop.hdfs.util.LightWeightLinkedSet -->
  17631. <!-- start class org.apache.hadoop.hdfs.util.LongBitFormat -->
  17632. <class name="LongBitFormat" extends="java.lang.Object"
  17633. abstract="false"
  17634. static="false" final="false" visibility="public"
  17635. deprecated="not deprecated">
  17636. <implements name="java.io.Serializable"/>
  17637. <constructor name="LongBitFormat" type="java.lang.String, org.apache.hadoop.hdfs.util.LongBitFormat, int, long"
  17638. static="false" final="false" visibility="public"
  17639. deprecated="not deprecated">
  17640. </constructor>
  17641. <method name="retrieve" return="long"
  17642. abstract="false" native="false" synchronized="false"
  17643. static="false" final="false" visibility="public"
  17644. deprecated="not deprecated">
  17645. <param name="record" type="long"/>
  17646. <doc>
  17647. <![CDATA[Retrieve the value from the record.]]>
  17648. </doc>
  17649. </method>
  17650. <method name="combine" return="long"
  17651. abstract="false" native="false" synchronized="false"
  17652. static="false" final="false" visibility="public"
  17653. deprecated="not deprecated">
  17654. <param name="value" type="long"/>
  17655. <param name="record" type="long"/>
  17656. <doc>
  17657. <![CDATA[Combine the value to the record.]]>
  17658. </doc>
  17659. </method>
  17660. <method name="getMin" return="long"
  17661. abstract="false" native="false" synchronized="false"
  17662. static="false" final="false" visibility="public"
  17663. deprecated="not deprecated">
  17664. </method>
  17665. <doc>
  17666. <![CDATA[Bit format in a long.]]>
  17667. </doc>
  17668. </class>
  17669. <!-- end class org.apache.hadoop.hdfs.util.LongBitFormat -->
  17670. <!-- start class org.apache.hadoop.hdfs.util.MD5FileUtils -->
  17671. <class name="MD5FileUtils" extends="java.lang.Object"
  17672. abstract="true"
  17673. static="false" final="false" visibility="public"
  17674. deprecated="not deprecated">
  17675. <constructor name="MD5FileUtils"
  17676. static="false" final="false" visibility="public"
  17677. deprecated="not deprecated">
  17678. </constructor>
  17679. <method name="verifySavedMD5"
  17680. abstract="false" native="false" synchronized="false"
  17681. static="true" final="false" visibility="public"
  17682. deprecated="not deprecated">
  17683. <param name="dataFile" type="java.io.File"/>
  17684. <param name="expectedMD5" type="org.apache.hadoop.io.MD5Hash"/>
  17685. <exception name="IOException" type="java.io.IOException"/>
  17686. <doc>
  17687. <![CDATA[Verify that the previously saved md5 for the given file matches
  17688. expectedMd5.
  17689. @throws IOException]]>
  17690. </doc>
  17691. </method>
  17692. <method name="readStoredMd5ForFile" return="org.apache.hadoop.io.MD5Hash"
  17693. abstract="false" native="false" synchronized="false"
  17694. static="true" final="false" visibility="public"
  17695. deprecated="not deprecated">
  17696. <param name="dataFile" type="java.io.File"/>
  17697. <exception name="IOException" type="java.io.IOException"/>
  17698. <doc>
  17699. <![CDATA[Read the md5 checksum stored alongside the given data file.
  17700. @param dataFile the file containing data
  17701. @return the checksum stored in dataFile.md5]]>
  17702. </doc>
  17703. </method>
  17704. <method name="computeMd5ForFile" return="org.apache.hadoop.io.MD5Hash"
  17705. abstract="false" native="false" synchronized="false"
  17706. static="true" final="false" visibility="public"
  17707. deprecated="not deprecated">
  17708. <param name="dataFile" type="java.io.File"/>
  17709. <exception name="IOException" type="java.io.IOException"/>
  17710. <doc>
  17711. <![CDATA[Read dataFile and compute its MD5 checksum.]]>
  17712. </doc>
  17713. </method>
  17714. <method name="saveMD5File"
  17715. abstract="false" native="false" synchronized="false"
  17716. static="true" final="false" visibility="public"
  17717. deprecated="not deprecated">
  17718. <param name="dataFile" type="java.io.File"/>
  17719. <param name="digest" type="org.apache.hadoop.io.MD5Hash"/>
  17720. <exception name="IOException" type="java.io.IOException"/>
  17721. <doc>
  17722. <![CDATA[Save the ".md5" file that lists the md5sum of another file.
  17723. @param dataFile the original file whose md5 was computed
  17724. @param digest the computed digest
  17725. @throws IOException]]>
  17726. </doc>
  17727. </method>
  17728. <method name="renameMD5File"
  17729. abstract="false" native="false" synchronized="false"
  17730. static="true" final="false" visibility="public"
  17731. deprecated="not deprecated">
  17732. <param name="oldDataFile" type="java.io.File"/>
  17733. <param name="newDataFile" type="java.io.File"/>
  17734. <exception name="IOException" type="java.io.IOException"/>
  17735. </method>
  17736. <method name="getDigestFileForFile" return="java.io.File"
  17737. abstract="false" native="false" synchronized="false"
  17738. static="true" final="false" visibility="public"
  17739. deprecated="not deprecated">
  17740. <param name="file" type="java.io.File"/>
  17741. <doc>
  17742. <![CDATA[@return a reference to the file with .md5 suffix that will
  17743. contain the md5 checksum for the given data file.]]>
  17744. </doc>
  17745. </method>
  17746. <field name="MD5_SUFFIX" type="java.lang.String"
  17747. transient="false" volatile="false"
  17748. static="true" final="true" visibility="public"
  17749. deprecated="not deprecated">
  17750. </field>
  17751. <doc>
  17752. <![CDATA[Static functions for dealing with files of the same format
  17753. that the Unix "md5sum" utility writes.]]>
  17754. </doc>
  17755. </class>
  17756. <!-- end class org.apache.hadoop.hdfs.util.MD5FileUtils -->
  17757. <!-- start class org.apache.hadoop.hdfs.util.ReadOnlyList.Util -->
  17758. <class name="ReadOnlyList.Util" extends="java.lang.Object"
  17759. abstract="false"
  17760. static="true" final="false" visibility="public"
  17761. deprecated="not deprecated">
  17762. <constructor name="Util"
  17763. static="false" final="false" visibility="public"
  17764. deprecated="not deprecated">
  17765. </constructor>
  17766. <method name="emptyList" return="org.apache.hadoop.hdfs.util.ReadOnlyList"
  17767. abstract="false" native="false" synchronized="false"
  17768. static="true" final="false" visibility="public"
  17769. deprecated="not deprecated">
  17770. <doc>
  17771. <![CDATA[@return an empty list.]]>
  17772. </doc>
  17773. </method>
  17774. <method name="binarySearch" return="int"
  17775. abstract="false" native="false" synchronized="false"
  17776. static="true" final="false" visibility="public"
  17777. deprecated="not deprecated">
  17778. <param name="list" type="org.apache.hadoop.hdfs.util.ReadOnlyList"/>
  17779. <param name="key" type="K"/>
  17780. <doc>
  17781. <![CDATA[The same as {@link Collections#binarySearch(List, Object)}
  17782. except that the list is a {@link ReadOnlyList}.
  17783. @return the insertion point defined
  17784. in {@link Collections#binarySearch(List, Object)}.]]>
  17785. </doc>
  17786. </method>
  17787. <method name="asReadOnlyList" return="org.apache.hadoop.hdfs.util.ReadOnlyList"
  17788. abstract="false" native="false" synchronized="false"
  17789. static="true" final="false" visibility="public"
  17790. deprecated="not deprecated">
  17791. <param name="list" type="java.util.List"/>
  17792. <doc>
  17793. <![CDATA[@return a {@link ReadOnlyList} view of the given list.]]>
  17794. </doc>
  17795. </method>
  17796. <method name="asList" return="java.util.List"
  17797. abstract="false" native="false" synchronized="false"
  17798. static="true" final="false" visibility="public"
  17799. deprecated="not deprecated">
  17800. <param name="list" type="org.apache.hadoop.hdfs.util.ReadOnlyList"/>
  17801. <doc>
  17802. <![CDATA[@return a {@link List} view of the given list.]]>
  17803. </doc>
  17804. </method>
  17805. <doc>
  17806. <![CDATA[Utilities for {@link ReadOnlyList}]]>
  17807. </doc>
  17808. </class>
  17809. <!-- end class org.apache.hadoop.hdfs.util.ReadOnlyList.Util -->
  17810. <!-- start interface org.apache.hadoop.hdfs.util.ReferenceCountMap.ReferenceCounter -->
  17811. <interface name="ReferenceCountMap.ReferenceCounter" abstract="true"
  17812. static="true" final="false" visibility="public"
  17813. deprecated="not deprecated">
  17814. <method name="getRefCount" return="int"
  17815. abstract="true" native="false" synchronized="false"
  17816. static="false" final="false" visibility="public"
  17817. deprecated="not deprecated">
  17818. </method>
  17819. <method name="incrementAndGetRefCount" return="int"
  17820. abstract="true" native="false" synchronized="false"
  17821. static="false" final="false" visibility="public"
  17822. deprecated="not deprecated">
  17823. </method>
  17824. <method name="decrementAndGetRefCount" return="int"
  17825. abstract="true" native="false" synchronized="false"
  17826. static="false" final="false" visibility="public"
  17827. deprecated="not deprecated">
  17828. </method>
  17829. <doc>
  17830. <![CDATA[Interface for the reference count holder]]>
  17831. </doc>
  17832. </interface>
  17833. <!-- end interface org.apache.hadoop.hdfs.util.ReferenceCountMap.ReferenceCounter -->
  17834. <!-- start interface org.apache.hadoop.hdfs.util.RwLock -->
  17835. <interface name="RwLock" abstract="true"
  17836. static="false" final="false" visibility="public"
  17837. deprecated="not deprecated">
  17838. <method name="readLock"
  17839. abstract="true" native="false" synchronized="false"
  17840. static="false" final="false" visibility="public"
  17841. deprecated="not deprecated">
  17842. <doc>
  17843. <![CDATA[Acquire read lock.]]>
  17844. </doc>
  17845. </method>
  17846. <method name="readUnlock"
  17847. abstract="true" native="false" synchronized="false"
  17848. static="false" final="false" visibility="public"
  17849. deprecated="not deprecated">
  17850. <doc>
  17851. <![CDATA[Release read lock.]]>
  17852. </doc>
  17853. </method>
  17854. <method name="hasReadLock" return="boolean"
  17855. abstract="true" native="false" synchronized="false"
  17856. static="false" final="false" visibility="public"
  17857. deprecated="not deprecated">
  17858. <doc>
  17859. <![CDATA[Check if the current thread holds read lock.]]>
  17860. </doc>
  17861. </method>
  17862. <method name="writeLock"
  17863. abstract="true" native="false" synchronized="false"
  17864. static="false" final="false" visibility="public"
  17865. deprecated="not deprecated">
  17866. <doc>
  17867. <![CDATA[Acquire write lock.]]>
  17868. </doc>
  17869. </method>
  17870. <method name="writeLockInterruptibly"
  17871. abstract="true" native="false" synchronized="false"
  17872. static="false" final="false" visibility="public"
  17873. deprecated="not deprecated">
  17874. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  17875. <doc>
  17876. <![CDATA[Acquire write lock, unless interrupted while waiting]]>
  17877. </doc>
  17878. </method>
  17879. <method name="writeUnlock"
  17880. abstract="true" native="false" synchronized="false"
  17881. static="false" final="false" visibility="public"
  17882. deprecated="not deprecated">
  17883. <doc>
  17884. <![CDATA[Release write lock.]]>
  17885. </doc>
  17886. </method>
  17887. <method name="hasWriteLock" return="boolean"
  17888. abstract="true" native="false" synchronized="false"
  17889. static="false" final="false" visibility="public"
  17890. deprecated="not deprecated">
  17891. <doc>
  17892. <![CDATA[Check if the current thread holds write lock.]]>
  17893. </doc>
  17894. </method>
  17895. <doc>
  17896. <![CDATA[Read-write lock interface.]]>
  17897. </doc>
  17898. </interface>
  17899. <!-- end interface org.apache.hadoop.hdfs.util.RwLock -->
  17900. <!-- start class org.apache.hadoop.hdfs.util.XMLUtils.InvalidXmlException -->
  17901. <class name="XMLUtils.InvalidXmlException" extends="java.lang.RuntimeException"
  17902. abstract="false"
  17903. static="true" final="false" visibility="public"
  17904. deprecated="not deprecated">
  17905. <constructor name="InvalidXmlException" type="java.lang.String"
  17906. static="false" final="false" visibility="public"
  17907. deprecated="not deprecated">
  17908. </constructor>
  17909. <doc>
  17910. <![CDATA[Exception that reflects an invalid XML document.]]>
  17911. </doc>
  17912. </class>
  17913. <!-- end class org.apache.hadoop.hdfs.util.XMLUtils.InvalidXmlException -->
  17914. <!-- start class org.apache.hadoop.hdfs.util.XMLUtils.Stanza -->
  17915. <class name="XMLUtils.Stanza" extends="java.lang.Object"
  17916. abstract="false"
  17917. static="true" final="false" visibility="public"
  17918. deprecated="not deprecated">
  17919. <constructor name="Stanza"
  17920. static="false" final="false" visibility="public"
  17921. deprecated="not deprecated">
  17922. </constructor>
  17923. <method name="setValue"
  17924. abstract="false" native="false" synchronized="false"
  17925. static="false" final="false" visibility="public"
  17926. deprecated="not deprecated">
  17927. <param name="value" type="java.lang.String"/>
  17928. </method>
  17929. <method name="getValue" return="java.lang.String"
  17930. abstract="false" native="false" synchronized="false"
  17931. static="false" final="false" visibility="public"
  17932. deprecated="not deprecated">
  17933. </method>
  17934. <method name="hasChildren" return="boolean"
  17935. abstract="false" native="false" synchronized="false"
  17936. static="false" final="false" visibility="public"
  17937. deprecated="not deprecated">
  17938. <param name="name" type="java.lang.String"/>
  17939. <doc>
  17940. <![CDATA[Discover if a stanza has a given entry.
  17941. @param name entry to look for
  17942. @return true if the entry was found]]>
  17943. </doc>
  17944. </method>
  17945. <method name="getChildren" return="java.util.List"
  17946. abstract="false" native="false" synchronized="false"
  17947. static="false" final="false" visibility="public"
  17948. deprecated="not deprecated">
  17949. <param name="name" type="java.lang.String"/>
  17950. <exception name="XMLUtils.InvalidXmlException" type="org.apache.hadoop.hdfs.util.XMLUtils.InvalidXmlException"/>
  17951. <doc>
  17952. <![CDATA[Pull an entry from a stanza.
  17953. @param name entry to look for
  17954. @return the entry]]>
  17955. </doc>
  17956. </method>
  17957. <method name="getValue" return="java.lang.String"
  17958. abstract="false" native="false" synchronized="false"
  17959. static="false" final="false" visibility="public"
  17960. deprecated="not deprecated">
  17961. <param name="name" type="java.lang.String"/>
  17962. <exception name="XMLUtils.InvalidXmlException" type="org.apache.hadoop.hdfs.util.XMLUtils.InvalidXmlException"/>
  17963. <doc>
  17964. <![CDATA[Pull a string entry from a stanza.
  17965. @param name entry to look for
  17966. @return the entry]]>
  17967. </doc>
  17968. </method>
  17969. <method name="getValueOrNull" return="java.lang.String"
  17970. abstract="false" native="false" synchronized="false"
  17971. static="false" final="false" visibility="public"
  17972. deprecated="not deprecated">
  17973. <param name="name" type="java.lang.String"/>
  17974. <exception name="XMLUtils.InvalidXmlException" type="org.apache.hadoop.hdfs.util.XMLUtils.InvalidXmlException"/>
  17975. <doc>
  17976. <![CDATA[Pull a string entry from a stanza, or null.
  17977. @param name entry to look for
  17978. @return the entry, or null if it was not found.]]>
  17979. </doc>
  17980. </method>
  17981. <method name="addChild"
  17982. abstract="false" native="false" synchronized="false"
  17983. static="false" final="false" visibility="public"
  17984. deprecated="not deprecated">
  17985. <param name="name" type="java.lang.String"/>
  17986. <param name="child" type="org.apache.hadoop.hdfs.util.XMLUtils.Stanza"/>
  17987. <doc>
  17988. <![CDATA[Add an entry to a stanza.
  17989. @param name name of the entry to add
  17990. @param child the entry to add]]>
  17991. </doc>
  17992. </method>
  17993. <method name="toString" return="java.lang.String"
  17994. abstract="false" native="false" synchronized="false"
  17995. static="false" final="false" visibility="public"
  17996. deprecated="not deprecated">
  17997. <doc>
  17998. <![CDATA[Convert a stanza to a human-readable string.]]>
  17999. </doc>
  18000. </method>
  18001. <doc>
  18002. <![CDATA[Represents a bag of key-value pairs encountered during parsing an XML
  18003. file.]]>
  18004. </doc>
  18005. </class>
  18006. <!-- end class org.apache.hadoop.hdfs.util.XMLUtils.Stanza -->
  18007. <!-- start class org.apache.hadoop.hdfs.util.XMLUtils.UnmanglingError -->
  18008. <class name="XMLUtils.UnmanglingError" extends="java.lang.RuntimeException"
  18009. abstract="false"
  18010. static="true" final="false" visibility="public"
  18011. deprecated="not deprecated">
  18012. <constructor name="UnmanglingError" type="java.lang.String, java.lang.Exception"
  18013. static="false" final="false" visibility="public"
  18014. deprecated="not deprecated">
  18015. </constructor>
  18016. <constructor name="UnmanglingError" type="java.lang.String"
  18017. static="false" final="false" visibility="public"
  18018. deprecated="not deprecated">
  18019. </constructor>
  18020. <doc>
  18021. <![CDATA[Exception that reflects a string that cannot be unmangled.]]>
  18022. </doc>
  18023. </class>
  18024. <!-- end class org.apache.hadoop.hdfs.util.XMLUtils.UnmanglingError -->
  18025. </package>
  18026. <package name="org.apache.hadoop.hdfs.web">
  18027. <!-- start class org.apache.hadoop.hdfs.web.AuthFilter -->
  18028. <class name="AuthFilter" extends="org.apache.hadoop.security.authentication.server.AuthenticationFilter"
  18029. abstract="false"
  18030. static="false" final="false" visibility="public"
  18031. deprecated="not deprecated">
  18032. <constructor name="AuthFilter"
  18033. static="false" final="false" visibility="public"
  18034. deprecated="not deprecated">
  18035. </constructor>
  18036. <method name="getConfiguration" return="java.util.Properties"
  18037. abstract="false" native="false" synchronized="false"
  18038. static="false" final="false" visibility="protected"
  18039. deprecated="not deprecated">
  18040. <param name="prefix" type="java.lang.String"/>
  18041. <param name="config" type="javax.servlet.FilterConfig"/>
  18042. <exception name="ServletException" type="javax.servlet.ServletException"/>
  18043. <doc>
  18044. <![CDATA[Returns the filter configuration properties,
  18045. including the ones prefixed with {@link #CONF_PREFIX}.
  18046. The prefix is removed from the returned property names.
  18047. @param prefix parameter not used.
  18048. @param config parameter contains the initialization values.
  18049. @return Hadoop-Auth configuration properties.
  18050. @throws ServletException]]>
  18051. </doc>
  18052. </method>
  18053. <method name="doFilter"
  18054. abstract="false" native="false" synchronized="false"
  18055. static="false" final="false" visibility="public"
  18056. deprecated="not deprecated">
  18057. <param name="request" type="javax.servlet.ServletRequest"/>
  18058. <param name="response" type="javax.servlet.ServletResponse"/>
  18059. <param name="filterChain" type="javax.servlet.FilterChain"/>
  18060. <exception name="IOException" type="java.io.IOException"/>
  18061. <exception name="ServletException" type="javax.servlet.ServletException"/>
  18062. </method>
  18063. <doc>
  18064. <![CDATA[Subclass of {@link AuthenticationFilter} that
  18065. obtains Hadoop-Auth configuration for webhdfs.]]>
  18066. </doc>
  18067. </class>
  18068. <!-- end class org.apache.hadoop.hdfs.web.AuthFilter -->
  18069. <!-- start class org.apache.hadoop.hdfs.web.ByteRangeInputStream -->
  18070. <class name="ByteRangeInputStream" extends="org.apache.hadoop.fs.FSInputStream"
  18071. abstract="true"
  18072. static="false" final="false" visibility="public"
  18073. deprecated="not deprecated">
  18074. <constructor name="ByteRangeInputStream" type="org.apache.hadoop.hdfs.web.ByteRangeInputStream.URLOpener, org.apache.hadoop.hdfs.web.ByteRangeInputStream.URLOpener"
  18075. static="false" final="false" visibility="public"
  18076. deprecated="not deprecated">
  18077. <exception name="IOException" type="java.io.IOException"/>
  18078. <doc>
  18079. <![CDATA[Create with the specified URLOpeners. Original url is used to open the
  18080. stream for the first time. Resolved url is used in subsequent requests.
  18081. @param o Original url
  18082. @param r Resolved url]]>
  18083. </doc>
  18084. </constructor>
  18085. <method name="getResolvedUrl" return="java.net.URL"
  18086. abstract="true" native="false" synchronized="false"
  18087. static="false" final="false" visibility="protected"
  18088. deprecated="not deprecated">
  18089. <param name="connection" type="java.net.HttpURLConnection"/>
  18090. <exception name="IOException" type="java.io.IOException"/>
  18091. </method>
  18092. <method name="getInputStream" return="java.io.InputStream"
  18093. abstract="false" native="false" synchronized="false"
  18094. static="false" final="false" visibility="protected"
  18095. deprecated="not deprecated">
  18096. <exception name="IOException" type="java.io.IOException"/>
  18097. </method>
  18098. <method name="openInputStream" return="java.io.InputStream"
  18099. abstract="false" native="false" synchronized="false"
  18100. static="false" final="false" visibility="protected"
  18101. deprecated="not deprecated">
  18102. <exception name="IOException" type="java.io.IOException"/>
  18103. </method>
  18104. <method name="read" return="int"
  18105. abstract="false" native="false" synchronized="false"
  18106. static="false" final="false" visibility="public"
  18107. deprecated="not deprecated">
  18108. <exception name="IOException" type="java.io.IOException"/>
  18109. </method>
  18110. <method name="read" return="int"
  18111. abstract="false" native="false" synchronized="false"
  18112. static="false" final="false" visibility="public"
  18113. deprecated="not deprecated">
  18114. <param name="b" type="byte[]"/>
  18115. <param name="off" type="int"/>
  18116. <param name="len" type="int"/>
  18117. <exception name="IOException" type="java.io.IOException"/>
  18118. </method>
  18119. <method name="seek"
  18120. abstract="false" native="false" synchronized="false"
  18121. static="false" final="false" visibility="public"
  18122. deprecated="not deprecated">
  18123. <param name="pos" type="long"/>
  18124. <exception name="IOException" type="java.io.IOException"/>
  18125. <doc>
  18126. <![CDATA[Seek to the given offset from the start of the file.
  18127. The next read() will be from that location. Can't
  18128. seek past the end of the file.]]>
  18129. </doc>
  18130. </method>
  18131. <method name="getPos" return="long"
  18132. abstract="false" native="false" synchronized="false"
  18133. static="false" final="false" visibility="public"
  18134. deprecated="not deprecated">
  18135. <exception name="IOException" type="java.io.IOException"/>
  18136. <doc>
  18137. <![CDATA[Return the current offset from the start of the file]]>
  18138. </doc>
  18139. </method>
  18140. <method name="seekToNewSource" return="boolean"
  18141. abstract="false" native="false" synchronized="false"
  18142. static="false" final="false" visibility="public"
  18143. deprecated="not deprecated">
  18144. <param name="targetPos" type="long"/>
  18145. <exception name="IOException" type="java.io.IOException"/>
  18146. <doc>
  18147. <![CDATA[Seeks a different copy of the data. Returns true if
  18148. found a new source, false otherwise.]]>
  18149. </doc>
  18150. </method>
  18151. <method name="close"
  18152. abstract="false" native="false" synchronized="false"
  18153. static="false" final="false" visibility="public"
  18154. deprecated="not deprecated">
  18155. <exception name="IOException" type="java.io.IOException"/>
  18156. </method>
  18157. <field name="in" type="java.io.InputStream"
  18158. transient="false" volatile="false"
  18159. static="false" final="false" visibility="protected"
  18160. deprecated="not deprecated">
  18161. </field>
  18162. <field name="originalURL" type="org.apache.hadoop.hdfs.web.ByteRangeInputStream.URLOpener"
  18163. transient="false" volatile="false"
  18164. static="false" final="true" visibility="protected"
  18165. deprecated="not deprecated">
  18166. </field>
  18167. <field name="resolvedURL" type="org.apache.hadoop.hdfs.web.ByteRangeInputStream.URLOpener"
  18168. transient="false" volatile="false"
  18169. static="false" final="true" visibility="protected"
  18170. deprecated="not deprecated">
  18171. </field>
  18172. <field name="startPos" type="long"
  18173. transient="false" volatile="false"
  18174. static="false" final="false" visibility="protected"
  18175. deprecated="not deprecated">
  18176. </field>
  18177. <field name="currentPos" type="long"
  18178. transient="false" volatile="false"
  18179. static="false" final="false" visibility="protected"
  18180. deprecated="not deprecated">
  18181. </field>
  18182. <field name="fileLength" type="java.lang.Long"
  18183. transient="false" volatile="false"
  18184. static="false" final="false" visibility="protected"
  18185. deprecated="not deprecated">
  18186. </field>
  18187. <doc>
  18188. <![CDATA[To support HTTP byte streams, a new connection to an HTTP server needs to be
  18189. created each time. This class hides the complexity of those multiple
  18190. connections from the client. Whenever seek() is called, a new connection
  18191. is made on the successive read(). The normal input stream functions are
  18192. connected to the currently active input stream.]]>
  18193. </doc>
  18194. </class>
  18195. <!-- end class org.apache.hadoop.hdfs.web.ByteRangeInputStream -->
  18196. <!-- start class org.apache.hadoop.hdfs.web.ByteRangeInputStream.URLOpener -->
  18197. <class name="ByteRangeInputStream.URLOpener" extends="java.lang.Object"
  18198. abstract="true"
  18199. static="true" final="false" visibility="public"
  18200. deprecated="not deprecated">
  18201. <constructor name="URLOpener" type="java.net.URL"
  18202. static="false" final="false" visibility="public"
  18203. deprecated="not deprecated">
  18204. </constructor>
  18205. <method name="setURL"
  18206. abstract="false" native="false" synchronized="false"
  18207. static="false" final="false" visibility="public"
  18208. deprecated="not deprecated">
  18209. <param name="u" type="java.net.URL"/>
  18210. </method>
  18211. <method name="getURL" return="java.net.URL"
  18212. abstract="false" native="false" synchronized="false"
  18213. static="false" final="false" visibility="public"
  18214. deprecated="not deprecated">
  18215. </method>
  18216. <method name="connect" return="java.net.HttpURLConnection"
  18217. abstract="true" native="false" synchronized="false"
  18218. static="false" final="false" visibility="protected"
  18219. deprecated="not deprecated">
  18220. <param name="offset" type="long"/>
  18221. <param name="resolved" type="boolean"/>
  18222. <exception name="IOException" type="java.io.IOException"/>
  18223. <doc>
  18224. <![CDATA[Connect to server with a data offset.]]>
  18225. </doc>
  18226. </method>
  18227. <field name="url" type="java.net.URL"
  18228. transient="false" volatile="false"
  18229. static="false" final="false" visibility="protected"
  18230. deprecated="not deprecated">
  18231. </field>
  18232. <doc>
  18233. <![CDATA[This class wraps a URL and provides method to open connection.
  18234. It can be overridden to change how a connection is opened.]]>
  18235. </doc>
  18236. </class>
  18237. <!-- end class org.apache.hadoop.hdfs.web.ByteRangeInputStream.URLOpener -->
  18238. <!-- start class org.apache.hadoop.hdfs.web.JsonUtil -->
  18239. <class name="JsonUtil" extends="java.lang.Object"
  18240. abstract="false"
  18241. static="false" final="false" visibility="public"
  18242. deprecated="not deprecated">
  18243. <constructor name="JsonUtil"
  18244. static="false" final="false" visibility="public"
  18245. deprecated="not deprecated">
  18246. </constructor>
  18247. <method name="toJsonString" return="java.lang.String"
  18248. abstract="false" native="false" synchronized="false"
  18249. static="true" final="false" visibility="public"
  18250. deprecated="not deprecated">
  18251. <param name="token" type="org.apache.hadoop.security.token.Token"/>
  18252. <exception name="IOException" type="java.io.IOException"/>
  18253. <doc>
  18254. <![CDATA[Convert a token object to a Json string.]]>
  18255. </doc>
  18256. </method>
  18257. <method name="toToken" return="org.apache.hadoop.security.token.Token"
  18258. abstract="false" native="false" synchronized="false"
  18259. static="true" final="false" visibility="public"
  18260. deprecated="not deprecated">
  18261. <param name="m" type="java.util.Map"/>
  18262. <exception name="IOException" type="java.io.IOException"/>
  18263. <doc>
  18264. <![CDATA[Convert a Json map to a Token.]]>
  18265. </doc>
  18266. </method>
  18267. <method name="toDelegationToken" return="org.apache.hadoop.security.token.Token"
  18268. abstract="false" native="false" synchronized="false"
  18269. static="true" final="false" visibility="public"
  18270. deprecated="not deprecated">
  18271. <param name="json" type="java.util.Map"/>
  18272. <exception name="IOException" type="java.io.IOException"/>
  18273. <doc>
  18274. <![CDATA[Convert a Json map to a Token of DelegationTokenIdentifier.]]>
  18275. </doc>
  18276. </method>
  18277. <method name="toJsonString" return="java.lang.String"
  18278. abstract="false" native="false" synchronized="false"
  18279. static="true" final="false" visibility="public"
  18280. deprecated="not deprecated">
  18281. <param name="e" type="java.lang.Exception"/>
  18282. <doc>
  18283. <![CDATA[Convert an exception object to a Json string.]]>
  18284. </doc>
  18285. </method>
  18286. <method name="toRemoteException" return="org.apache.hadoop.ipc.RemoteException"
  18287. abstract="false" native="false" synchronized="false"
  18288. static="true" final="false" visibility="public"
  18289. deprecated="not deprecated">
  18290. <param name="json" type="java.util.Map"/>
  18291. <doc>
  18292. <![CDATA[Convert a Json map to a RemoteException.]]>
  18293. </doc>
  18294. </method>
  18295. <method name="toJsonString" return="java.lang.String"
  18296. abstract="false" native="false" synchronized="false"
  18297. static="true" final="false" visibility="public"
  18298. deprecated="not deprecated">
  18299. <param name="key" type="java.lang.String"/>
  18300. <param name="value" type="java.lang.Object"/>
  18301. <doc>
  18302. <![CDATA[Convert a key-value pair to a Json string.]]>
  18303. </doc>
  18304. </method>
  18305. <method name="toJsonString" return="java.lang.String"
  18306. abstract="false" native="false" synchronized="false"
  18307. static="true" final="false" visibility="public"
  18308. deprecated="not deprecated">
  18309. <param name="status" type="org.apache.hadoop.hdfs.protocol.HdfsFileStatus"/>
  18310. <param name="includeType" type="boolean"/>
  18311. <doc>
  18312. <![CDATA[Convert a HdfsFileStatus object to a Json string.]]>
  18313. </doc>
  18314. </method>
  18315. <method name="toFileStatus" return="org.apache.hadoop.hdfs.protocol.HdfsFileStatus"
  18316. abstract="false" native="false" synchronized="false"
  18317. static="true" final="false" visibility="public"
  18318. deprecated="not deprecated">
  18319. <param name="json" type="java.util.Map"/>
  18320. <param name="includesType" type="boolean"/>
  18321. <doc>
  18322. <![CDATA[Convert a Json map to a HdfsFileStatus object.]]>
  18323. </doc>
  18324. </method>
  18325. <method name="toJsonString" return="java.lang.String"
  18326. abstract="false" native="false" synchronized="false"
  18327. static="true" final="false" visibility="public"
  18328. deprecated="not deprecated">
  18329. <param name="locatedblocks" type="org.apache.hadoop.hdfs.protocol.LocatedBlocks"/>
  18330. <exception name="IOException" type="java.io.IOException"/>
  18331. <doc>
  18332. <![CDATA[Convert LocatedBlocks to a Json string.]]>
  18333. </doc>
  18334. </method>
  18335. <method name="toLocatedBlocks" return="org.apache.hadoop.hdfs.protocol.LocatedBlocks"
  18336. abstract="false" native="false" synchronized="false"
  18337. static="true" final="false" visibility="public"
  18338. deprecated="not deprecated">
  18339. <param name="json" type="java.util.Map"/>
  18340. <exception name="IOException" type="java.io.IOException"/>
  18341. <doc>
  18342. <![CDATA[Convert a Json map to LocatedBlock.]]>
  18343. </doc>
  18344. </method>
  18345. <method name="toJsonString" return="java.lang.String"
  18346. abstract="false" native="false" synchronized="false"
  18347. static="true" final="false" visibility="public"
  18348. deprecated="not deprecated">
  18349. <param name="contentsummary" type="org.apache.hadoop.fs.ContentSummary"/>
  18350. <doc>
  18351. <![CDATA[Convert a ContentSummary to a Json string.]]>
  18352. </doc>
  18353. </method>
  18354. <method name="toContentSummary" return="org.apache.hadoop.fs.ContentSummary"
  18355. abstract="false" native="false" synchronized="false"
  18356. static="true" final="false" visibility="public"
  18357. deprecated="not deprecated">
  18358. <param name="json" type="java.util.Map"/>
  18359. <doc>
  18360. <![CDATA[Convert a Json map to a ContentSummary.]]>
  18361. </doc>
  18362. </method>
  18363. <method name="toJsonString" return="java.lang.String"
  18364. abstract="false" native="false" synchronized="false"
  18365. static="true" final="false" visibility="public"
  18366. deprecated="not deprecated">
  18367. <param name="checksum" type="org.apache.hadoop.fs.MD5MD5CRC32FileChecksum"/>
  18368. <doc>
  18369. <![CDATA[Convert a MD5MD5CRC32FileChecksum to a Json string.]]>
  18370. </doc>
  18371. </method>
  18372. <method name="toMD5MD5CRC32FileChecksum" return="org.apache.hadoop.fs.MD5MD5CRC32FileChecksum"
  18373. abstract="false" native="false" synchronized="false"
  18374. static="true" final="false" visibility="public"
  18375. deprecated="not deprecated">
  18376. <param name="json" type="java.util.Map"/>
  18377. <exception name="IOException" type="java.io.IOException"/>
  18378. <doc>
  18379. <![CDATA[Convert a Json map to a MD5MD5CRC32FileChecksum.]]>
  18380. </doc>
  18381. </method>
  18382. <method name="toJsonString" return="java.lang.String"
  18383. abstract="false" native="false" synchronized="false"
  18384. static="true" final="false" visibility="public"
  18385. deprecated="not deprecated">
  18386. <param name="status" type="org.apache.hadoop.fs.permission.AclStatus"/>
  18387. <doc>
  18388. <![CDATA[Convert a AclStatus object to a Json string.]]>
  18389. </doc>
  18390. </method>
  18391. <method name="toAclStatus" return="org.apache.hadoop.fs.permission.AclStatus"
  18392. abstract="false" native="false" synchronized="false"
  18393. static="true" final="false" visibility="public"
  18394. deprecated="not deprecated">
  18395. <param name="json" type="java.util.Map"/>
  18396. <doc>
  18397. <![CDATA[Convert a Json map to a AclStatus object.]]>
  18398. </doc>
  18399. </method>
  18400. <method name="toJsonString" return="java.lang.String"
  18401. abstract="false" native="false" synchronized="false"
  18402. static="true" final="false" visibility="public"
  18403. deprecated="not deprecated">
  18404. <param name="xAttrs" type="java.util.List"/>
  18405. <param name="encoding" type="org.apache.hadoop.fs.XAttrCodec"/>
  18406. <exception name="IOException" type="java.io.IOException"/>
  18407. </method>
  18408. <method name="toJsonString" return="java.lang.String"
  18409. abstract="false" native="false" synchronized="false"
  18410. static="true" final="false" visibility="public"
  18411. deprecated="not deprecated">
  18412. <param name="xAttrs" type="java.util.List"/>
  18413. <exception name="IOException" type="java.io.IOException"/>
  18414. </method>
  18415. <method name="getXAttr" return="byte[]"
  18416. abstract="false" native="false" synchronized="false"
  18417. static="true" final="false" visibility="public"
  18418. deprecated="not deprecated">
  18419. <param name="json" type="java.util.Map"/>
  18420. <param name="name" type="java.lang.String"/>
  18421. <exception name="IOException" type="java.io.IOException"/>
  18422. </method>
  18423. <method name="toXAttrs" return="java.util.Map"
  18424. abstract="false" native="false" synchronized="false"
  18425. static="true" final="false" visibility="public"
  18426. deprecated="not deprecated">
  18427. <param name="json" type="java.util.Map"/>
  18428. <exception name="IOException" type="java.io.IOException"/>
  18429. </method>
  18430. <method name="toXAttrNames" return="java.util.List"
  18431. abstract="false" native="false" synchronized="false"
  18432. static="true" final="false" visibility="public"
  18433. deprecated="not deprecated">
  18434. <param name="json" type="java.util.Map"/>
  18435. <exception name="IOException" type="java.io.IOException"/>
  18436. </method>
  18437. <doc>
  18438. <![CDATA[JSON Utilities]]>
  18439. </doc>
  18440. </class>
  18441. <!-- end class org.apache.hadoop.hdfs.web.JsonUtil -->
  18442. <!-- start class org.apache.hadoop.hdfs.web.KerberosUgiAuthenticator -->
  18443. <class name="KerberosUgiAuthenticator" extends="org.apache.hadoop.security.authentication.client.KerberosAuthenticator"
  18444. abstract="false"
  18445. static="false" final="false" visibility="public"
  18446. deprecated="not deprecated">
  18447. <constructor name="KerberosUgiAuthenticator"
  18448. static="false" final="false" visibility="public"
  18449. deprecated="not deprecated">
  18450. </constructor>
  18451. <method name="getFallBackAuthenticator" return="org.apache.hadoop.security.authentication.client.Authenticator"
  18452. abstract="false" native="false" synchronized="false"
  18453. static="false" final="false" visibility="protected"
  18454. deprecated="not deprecated">
  18455. </method>
  18456. <doc>
  18457. <![CDATA[Use UserGroupInformation as a fallback authenticator
  18458. if the server does not use Kerberos SPNEGO HTTP authentication.]]>
  18459. </doc>
  18460. </class>
  18461. <!-- end class org.apache.hadoop.hdfs.web.KerberosUgiAuthenticator -->
  18462. <!-- start class org.apache.hadoop.hdfs.web.ParamFilter -->
  18463. <class name="ParamFilter" extends="java.lang.Object"
  18464. abstract="false"
  18465. static="false" final="false" visibility="public"
  18466. deprecated="not deprecated">
  18467. <implements name="com.sun.jersey.spi.container.ResourceFilter"/>
  18468. <constructor name="ParamFilter"
  18469. static="false" final="false" visibility="public"
  18470. deprecated="not deprecated">
  18471. </constructor>
  18472. <method name="getRequestFilter" return="com.sun.jersey.spi.container.ContainerRequestFilter"
  18473. abstract="false" native="false" synchronized="false"
  18474. static="false" final="false" visibility="public"
  18475. deprecated="not deprecated">
  18476. </method>
  18477. <method name="getResponseFilter" return="com.sun.jersey.spi.container.ContainerResponseFilter"
  18478. abstract="false" native="false" synchronized="false"
  18479. static="false" final="false" visibility="public"
  18480. deprecated="not deprecated">
  18481. </method>
  18482. <doc>
  18483. <![CDATA[A filter to change parameter names to lower cases
  18484. so that parameter names are considered as case insensitive.]]>
  18485. </doc>
  18486. </class>
  18487. <!-- end class org.apache.hadoop.hdfs.web.ParamFilter -->
  18488. <!-- start class org.apache.hadoop.hdfs.web.SWebHdfsFileSystem -->
  18489. <class name="SWebHdfsFileSystem" extends="org.apache.hadoop.hdfs.web.WebHdfsFileSystem"
  18490. abstract="false"
  18491. static="false" final="false" visibility="public"
  18492. deprecated="not deprecated">
  18493. <constructor name="SWebHdfsFileSystem"
  18494. static="false" final="false" visibility="public"
  18495. deprecated="not deprecated">
  18496. </constructor>
  18497. <method name="getScheme" return="java.lang.String"
  18498. abstract="false" native="false" synchronized="false"
  18499. static="false" final="false" visibility="public"
  18500. deprecated="not deprecated">
  18501. </method>
  18502. <method name="getTransportScheme" return="java.lang.String"
  18503. abstract="false" native="false" synchronized="false"
  18504. static="false" final="false" visibility="protected"
  18505. deprecated="not deprecated">
  18506. </method>
  18507. <method name="getTokenKind" return="org.apache.hadoop.io.Text"
  18508. abstract="false" native="false" synchronized="false"
  18509. static="false" final="false" visibility="protected"
  18510. deprecated="not deprecated">
  18511. </method>
  18512. <method name="getDefaultPort" return="int"
  18513. abstract="false" native="false" synchronized="false"
  18514. static="false" final="false" visibility="public"
  18515. deprecated="not deprecated">
  18516. </method>
  18517. <field name="TOKEN_KIND" type="org.apache.hadoop.io.Text"
  18518. transient="false" volatile="false"
  18519. static="true" final="true" visibility="public"
  18520. deprecated="not deprecated">
  18521. </field>
  18522. <field name="SCHEME" type="java.lang.String"
  18523. transient="false" volatile="false"
  18524. static="true" final="true" visibility="public"
  18525. deprecated="not deprecated">
  18526. </field>
  18527. </class>
  18528. <!-- end class org.apache.hadoop.hdfs.web.SWebHdfsFileSystem -->
  18529. <!-- start class org.apache.hadoop.hdfs.web.WebHdfsFileSystem -->
  18530. <class name="WebHdfsFileSystem" extends="org.apache.hadoop.fs.FileSystem"
  18531. abstract="false"
  18532. static="false" final="false" visibility="public"
  18533. deprecated="not deprecated">
  18534. <implements name="org.apache.hadoop.fs.DelegationTokenRenewer.Renewable"/>
  18535. <implements name="org.apache.hadoop.hdfs.web.TokenAspect.TokenManagementDelegator"/>
  18536. <constructor name="WebHdfsFileSystem"
  18537. static="false" final="false" visibility="public"
  18538. deprecated="not deprecated">
  18539. </constructor>
  18540. <method name="getScheme" return="java.lang.String"
  18541. abstract="false" native="false" synchronized="false"
  18542. static="false" final="false" visibility="public"
  18543. deprecated="not deprecated">
  18544. <doc>
  18545. <![CDATA[Return the protocol scheme for the FileSystem.
  18546. <p/>
  18547. @return <code>webhdfs</code>]]>
  18548. </doc>
  18549. </method>
  18550. <method name="getTransportScheme" return="java.lang.String"
  18551. abstract="false" native="false" synchronized="false"
  18552. static="false" final="false" visibility="protected"
  18553. deprecated="not deprecated">
  18554. <doc>
  18555. <![CDATA[return the underlying transport protocol (http / https).]]>
  18556. </doc>
  18557. </method>
  18558. <method name="getTokenKind" return="org.apache.hadoop.io.Text"
  18559. abstract="false" native="false" synchronized="false"
  18560. static="false" final="false" visibility="protected"
  18561. deprecated="not deprecated">
  18562. </method>
  18563. <method name="initialize"
  18564. abstract="false" native="false" synchronized="true"
  18565. static="false" final="false" visibility="public"
  18566. deprecated="not deprecated">
  18567. <param name="uri" type="java.net.URI"/>
  18568. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  18569. <exception name="IOException" type="java.io.IOException"/>
  18570. </method>
  18571. <method name="getCanonicalUri" return="java.net.URI"
  18572. abstract="false" native="false" synchronized="false"
  18573. static="false" final="false" visibility="public"
  18574. deprecated="not deprecated">
  18575. </method>
  18576. <method name="isEnabled" return="boolean"
  18577. abstract="false" native="false" synchronized="false"
  18578. static="true" final="false" visibility="public"
  18579. deprecated="not deprecated">
  18580. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  18581. <param name="log" type="org.apache.commons.logging.Log"/>
  18582. <doc>
  18583. <![CDATA[Is WebHDFS enabled in conf?]]>
  18584. </doc>
  18585. </method>
  18586. <method name="getDelegationToken" return="org.apache.hadoop.security.token.Token"
  18587. abstract="false" native="false" synchronized="true"
  18588. static="false" final="false" visibility="protected"
  18589. deprecated="not deprecated">
  18590. <exception name="IOException" type="java.io.IOException"/>
  18591. </method>
  18592. <method name="getDefaultPort" return="int"
  18593. abstract="false" native="false" synchronized="false"
  18594. static="false" final="false" visibility="public"
  18595. deprecated="not deprecated">
  18596. </method>
  18597. <method name="getUri" return="java.net.URI"
  18598. abstract="false" native="false" synchronized="false"
  18599. static="false" final="false" visibility="public"
  18600. deprecated="not deprecated">
  18601. </method>
  18602. <method name="canonicalizeUri" return="java.net.URI"
  18603. abstract="false" native="false" synchronized="false"
  18604. static="false" final="false" visibility="protected"
  18605. deprecated="not deprecated">
  18606. <param name="uri" type="java.net.URI"/>
  18607. </method>
  18608. <method name="getHomeDirectoryString" return="java.lang.String"
  18609. abstract="false" native="false" synchronized="false"
  18610. static="true" final="false" visibility="public"
  18611. deprecated="not deprecated">
  18612. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  18613. <doc>
  18614. <![CDATA[@return the home directory.]]>
  18615. </doc>
  18616. </method>
  18617. <method name="getHomeDirectory" return="org.apache.hadoop.fs.Path"
  18618. abstract="false" native="false" synchronized="false"
  18619. static="false" final="false" visibility="public"
  18620. deprecated="not deprecated">
  18621. </method>
  18622. <method name="getWorkingDirectory" return="org.apache.hadoop.fs.Path"
  18623. abstract="false" native="false" synchronized="true"
  18624. static="false" final="false" visibility="public"
  18625. deprecated="not deprecated">
  18626. </method>
  18627. <method name="setWorkingDirectory"
  18628. abstract="false" native="false" synchronized="true"
  18629. static="false" final="false" visibility="public"
  18630. deprecated="not deprecated">
  18631. <param name="dir" type="org.apache.hadoop.fs.Path"/>
  18632. </method>
  18633. <method name="getFileStatus" return="org.apache.hadoop.fs.FileStatus"
  18634. abstract="false" native="false" synchronized="false"
  18635. static="false" final="false" visibility="public"
  18636. deprecated="not deprecated">
  18637. <param name="f" type="org.apache.hadoop.fs.Path"/>
  18638. <exception name="IOException" type="java.io.IOException"/>
  18639. </method>
  18640. <method name="getAclStatus" return="org.apache.hadoop.fs.permission.AclStatus"
  18641. abstract="false" native="false" synchronized="false"
  18642. static="false" final="false" visibility="public"
  18643. deprecated="not deprecated">
  18644. <param name="f" type="org.apache.hadoop.fs.Path"/>
  18645. <exception name="IOException" type="java.io.IOException"/>
  18646. </method>
  18647. <method name="mkdirs" return="boolean"
  18648. abstract="false" native="false" synchronized="false"
  18649. static="false" final="false" visibility="public"
  18650. deprecated="not deprecated">
  18651. <param name="f" type="org.apache.hadoop.fs.Path"/>
  18652. <param name="permission" type="org.apache.hadoop.fs.permission.FsPermission"/>
  18653. <exception name="IOException" type="java.io.IOException"/>
  18654. </method>
  18655. <method name="createSymlink"
  18656. abstract="false" native="false" synchronized="false"
  18657. static="false" final="false" visibility="public"
  18658. deprecated="not deprecated">
  18659. <param name="destination" type="org.apache.hadoop.fs.Path"/>
  18660. <param name="f" type="org.apache.hadoop.fs.Path"/>
  18661. <param name="createParent" type="boolean"/>
  18662. <exception name="IOException" type="java.io.IOException"/>
  18663. <doc>
  18664. <![CDATA[Create a symlink pointing to the destination path.
  18665. @see org.apache.hadoop.fs.Hdfs#createSymlink(Path, Path, boolean)]]>
  18666. </doc>
  18667. </method>
  18668. <method name="rename" return="boolean"
  18669. abstract="false" native="false" synchronized="false"
  18670. static="false" final="false" visibility="public"
  18671. deprecated="not deprecated">
  18672. <param name="src" type="org.apache.hadoop.fs.Path"/>
  18673. <param name="dst" type="org.apache.hadoop.fs.Path"/>
  18674. <exception name="IOException" type="java.io.IOException"/>
  18675. </method>
  18676. <method name="rename"
  18677. abstract="false" native="false" synchronized="false"
  18678. static="false" final="false" visibility="public"
  18679. deprecated="not deprecated">
  18680. <param name="src" type="org.apache.hadoop.fs.Path"/>
  18681. <param name="dst" type="org.apache.hadoop.fs.Path"/>
  18682. <param name="options" type="org.apache.hadoop.fs.Options.Rename[]"/>
  18683. <exception name="IOException" type="java.io.IOException"/>
  18684. </method>
  18685. <method name="setXAttr"
  18686. abstract="false" native="false" synchronized="false"
  18687. static="false" final="false" visibility="public"
  18688. deprecated="not deprecated">
  18689. <param name="p" type="org.apache.hadoop.fs.Path"/>
  18690. <param name="name" type="java.lang.String"/>
  18691. <param name="value" type="byte[]"/>
  18692. <param name="flag" type="java.util.EnumSet"/>
  18693. <exception name="IOException" type="java.io.IOException"/>
  18694. </method>
  18695. <method name="getXAttr" return="byte[]"
  18696. abstract="false" native="false" synchronized="false"
  18697. static="false" final="false" visibility="public"
  18698. deprecated="not deprecated">
  18699. <param name="p" type="org.apache.hadoop.fs.Path"/>
  18700. <param name="name" type="java.lang.String"/>
  18701. <exception name="IOException" type="java.io.IOException"/>
  18702. </method>
  18703. <method name="getXAttrs" return="java.util.Map"
  18704. abstract="false" native="false" synchronized="false"
  18705. static="false" final="false" visibility="public"
  18706. deprecated="not deprecated">
  18707. <param name="p" type="org.apache.hadoop.fs.Path"/>
  18708. <exception name="IOException" type="java.io.IOException"/>
  18709. </method>
  18710. <method name="getXAttrs" return="java.util.Map"
  18711. abstract="false" native="false" synchronized="false"
  18712. static="false" final="false" visibility="public"
  18713. deprecated="not deprecated">
  18714. <param name="p" type="org.apache.hadoop.fs.Path"/>
  18715. <param name="names" type="java.util.List"/>
  18716. <exception name="IOException" type="java.io.IOException"/>
  18717. </method>
  18718. <method name="listXAttrs" return="java.util.List"
  18719. abstract="false" native="false" synchronized="false"
  18720. static="false" final="false" visibility="public"
  18721. deprecated="not deprecated">
  18722. <param name="p" type="org.apache.hadoop.fs.Path"/>
  18723. <exception name="IOException" type="java.io.IOException"/>
  18724. </method>
  18725. <method name="removeXAttr"
  18726. abstract="false" native="false" synchronized="false"
  18727. static="false" final="false" visibility="public"
  18728. deprecated="not deprecated">
  18729. <param name="p" type="org.apache.hadoop.fs.Path"/>
  18730. <param name="name" type="java.lang.String"/>
  18731. <exception name="IOException" type="java.io.IOException"/>
  18732. </method>
  18733. <method name="setOwner"
  18734. abstract="false" native="false" synchronized="false"
  18735. static="false" final="false" visibility="public"
  18736. deprecated="not deprecated">
  18737. <param name="p" type="org.apache.hadoop.fs.Path"/>
  18738. <param name="owner" type="java.lang.String"/>
  18739. <param name="group" type="java.lang.String"/>
  18740. <exception name="IOException" type="java.io.IOException"/>
  18741. </method>
  18742. <method name="setPermission"
  18743. abstract="false" native="false" synchronized="false"
  18744. static="false" final="false" visibility="public"
  18745. deprecated="not deprecated">
  18746. <param name="p" type="org.apache.hadoop.fs.Path"/>
  18747. <param name="permission" type="org.apache.hadoop.fs.permission.FsPermission"/>
  18748. <exception name="IOException" type="java.io.IOException"/>
  18749. </method>
  18750. <method name="modifyAclEntries"
  18751. abstract="false" native="false" synchronized="false"
  18752. static="false" final="false" visibility="public"
  18753. deprecated="not deprecated">
  18754. <param name="path" type="org.apache.hadoop.fs.Path"/>
  18755. <param name="aclSpec" type="java.util.List"/>
  18756. <exception name="IOException" type="java.io.IOException"/>
  18757. </method>
  18758. <method name="removeAclEntries"
  18759. abstract="false" native="false" synchronized="false"
  18760. static="false" final="false" visibility="public"
  18761. deprecated="not deprecated">
  18762. <param name="path" type="org.apache.hadoop.fs.Path"/>
  18763. <param name="aclSpec" type="java.util.List"/>
  18764. <exception name="IOException" type="java.io.IOException"/>
  18765. </method>
  18766. <method name="removeDefaultAcl"
  18767. abstract="false" native="false" synchronized="false"
  18768. static="false" final="false" visibility="public"
  18769. deprecated="not deprecated">
  18770. <param name="path" type="org.apache.hadoop.fs.Path"/>
  18771. <exception name="IOException" type="java.io.IOException"/>
  18772. </method>
  18773. <method name="removeAcl"
  18774. abstract="false" native="false" synchronized="false"
  18775. static="false" final="false" visibility="public"
  18776. deprecated="not deprecated">
  18777. <param name="path" type="org.apache.hadoop.fs.Path"/>
  18778. <exception name="IOException" type="java.io.IOException"/>
  18779. </method>
  18780. <method name="setAcl"
  18781. abstract="false" native="false" synchronized="false"
  18782. static="false" final="false" visibility="public"
  18783. deprecated="not deprecated">
  18784. <param name="p" type="org.apache.hadoop.fs.Path"/>
  18785. <param name="aclSpec" type="java.util.List"/>
  18786. <exception name="IOException" type="java.io.IOException"/>
  18787. </method>
  18788. <method name="createSnapshot" return="org.apache.hadoop.fs.Path"
  18789. abstract="false" native="false" synchronized="false"
  18790. static="false" final="false" visibility="public"
  18791. deprecated="not deprecated">
  18792. <param name="path" type="org.apache.hadoop.fs.Path"/>
  18793. <param name="snapshotName" type="java.lang.String"/>
  18794. <exception name="IOException" type="java.io.IOException"/>
  18795. </method>
  18796. <method name="deleteSnapshot"
  18797. abstract="false" native="false" synchronized="false"
  18798. static="false" final="false" visibility="public"
  18799. deprecated="not deprecated">
  18800. <param name="path" type="org.apache.hadoop.fs.Path"/>
  18801. <param name="snapshotName" type="java.lang.String"/>
  18802. <exception name="IOException" type="java.io.IOException"/>
  18803. </method>
  18804. <method name="renameSnapshot"
  18805. abstract="false" native="false" synchronized="false"
  18806. static="false" final="false" visibility="public"
  18807. deprecated="not deprecated">
  18808. <param name="path" type="org.apache.hadoop.fs.Path"/>
  18809. <param name="snapshotOldName" type="java.lang.String"/>
  18810. <param name="snapshotNewName" type="java.lang.String"/>
  18811. <exception name="IOException" type="java.io.IOException"/>
  18812. </method>
  18813. <method name="setReplication" return="boolean"
  18814. abstract="false" native="false" synchronized="false"
  18815. static="false" final="false" visibility="public"
  18816. deprecated="not deprecated">
  18817. <param name="p" type="org.apache.hadoop.fs.Path"/>
  18818. <param name="replication" type="short"/>
  18819. <exception name="IOException" type="java.io.IOException"/>
  18820. </method>
  18821. <method name="setTimes"
  18822. abstract="false" native="false" synchronized="false"
  18823. static="false" final="false" visibility="public"
  18824. deprecated="not deprecated">
  18825. <param name="p" type="org.apache.hadoop.fs.Path"/>
  18826. <param name="mtime" type="long"/>
  18827. <param name="atime" type="long"/>
  18828. <exception name="IOException" type="java.io.IOException"/>
  18829. </method>
  18830. <method name="getDefaultBlockSize" return="long"
  18831. abstract="false" native="false" synchronized="false"
  18832. static="false" final="false" visibility="public"
  18833. deprecated="not deprecated">
  18834. </method>
  18835. <method name="getDefaultReplication" return="short"
  18836. abstract="false" native="false" synchronized="false"
  18837. static="false" final="false" visibility="public"
  18838. deprecated="not deprecated">
  18839. </method>
  18840. <method name="concat"
  18841. abstract="false" native="false" synchronized="false"
  18842. static="false" final="false" visibility="public"
  18843. deprecated="not deprecated">
  18844. <param name="trg" type="org.apache.hadoop.fs.Path"/>
  18845. <param name="srcs" type="org.apache.hadoop.fs.Path[]"/>
  18846. <exception name="IOException" type="java.io.IOException"/>
  18847. </method>
  18848. <method name="create" return="org.apache.hadoop.fs.FSDataOutputStream"
  18849. abstract="false" native="false" synchronized="false"
  18850. static="false" final="false" visibility="public"
  18851. deprecated="not deprecated">
  18852. <param name="f" type="org.apache.hadoop.fs.Path"/>
  18853. <param name="permission" type="org.apache.hadoop.fs.permission.FsPermission"/>
  18854. <param name="overwrite" type="boolean"/>
  18855. <param name="bufferSize" type="int"/>
  18856. <param name="replication" type="short"/>
  18857. <param name="blockSize" type="long"/>
  18858. <param name="progress" type="org.apache.hadoop.util.Progressable"/>
  18859. <exception name="IOException" type="java.io.IOException"/>
  18860. </method>
  18861. <method name="append" return="org.apache.hadoop.fs.FSDataOutputStream"
  18862. abstract="false" native="false" synchronized="false"
  18863. static="false" final="false" visibility="public"
  18864. deprecated="not deprecated">
  18865. <param name="f" type="org.apache.hadoop.fs.Path"/>
  18866. <param name="bufferSize" type="int"/>
  18867. <param name="progress" type="org.apache.hadoop.util.Progressable"/>
  18868. <exception name="IOException" type="java.io.IOException"/>
  18869. </method>
  18870. <method name="truncate" return="boolean"
  18871. abstract="false" native="false" synchronized="false"
  18872. static="false" final="false" visibility="public"
  18873. deprecated="not deprecated">
  18874. <param name="f" type="org.apache.hadoop.fs.Path"/>
  18875. <param name="newLength" type="long"/>
  18876. <exception name="IOException" type="java.io.IOException"/>
  18877. </method>
  18878. <method name="delete" return="boolean"
  18879. abstract="false" native="false" synchronized="false"
  18880. static="false" final="false" visibility="public"
  18881. deprecated="not deprecated">
  18882. <param name="f" type="org.apache.hadoop.fs.Path"/>
  18883. <param name="recursive" type="boolean"/>
  18884. <exception name="IOException" type="java.io.IOException"/>
  18885. </method>
  18886. <method name="open" return="org.apache.hadoop.fs.FSDataInputStream"
  18887. abstract="false" native="false" synchronized="false"
  18888. static="false" final="false" visibility="public"
  18889. deprecated="not deprecated">
  18890. <param name="f" type="org.apache.hadoop.fs.Path"/>
  18891. <param name="buffersize" type="int"/>
  18892. <exception name="IOException" type="java.io.IOException"/>
  18893. </method>
  18894. <method name="close"
  18895. abstract="false" native="false" synchronized="true"
  18896. static="false" final="false" visibility="public"
  18897. deprecated="not deprecated">
  18898. <exception name="IOException" type="java.io.IOException"/>
  18899. </method>
  18900. <method name="listStatus" return="org.apache.hadoop.fs.FileStatus[]"
  18901. abstract="false" native="false" synchronized="false"
  18902. static="false" final="false" visibility="public"
  18903. deprecated="not deprecated">
  18904. <param name="f" type="org.apache.hadoop.fs.Path"/>
  18905. <exception name="IOException" type="java.io.IOException"/>
  18906. </method>
  18907. <method name="getDelegationToken" return="org.apache.hadoop.security.token.Token"
  18908. abstract="false" native="false" synchronized="false"
  18909. static="false" final="false" visibility="public"
  18910. deprecated="not deprecated">
  18911. <param name="renewer" type="java.lang.String"/>
  18912. <exception name="IOException" type="java.io.IOException"/>
  18913. </method>
  18914. <method name="getRenewToken" return="org.apache.hadoop.security.token.Token"
  18915. abstract="false" native="false" synchronized="true"
  18916. static="false" final="false" visibility="public"
  18917. deprecated="not deprecated">
  18918. </method>
  18919. <method name="setDelegationToken"
  18920. abstract="false" native="false" synchronized="false"
  18921. static="false" final="false" visibility="public"
  18922. deprecated="not deprecated">
  18923. <param name="token" type="org.apache.hadoop.security.token.Token"/>
  18924. </method>
  18925. <method name="renewDelegationToken" return="long"
  18926. abstract="false" native="false" synchronized="true"
  18927. static="false" final="false" visibility="public"
  18928. deprecated="not deprecated">
  18929. <param name="token" type="org.apache.hadoop.security.token.Token"/>
  18930. <exception name="IOException" type="java.io.IOException"/>
  18931. </method>
  18932. <method name="cancelDelegationToken"
  18933. abstract="false" native="false" synchronized="true"
  18934. static="false" final="false" visibility="public"
  18935. deprecated="not deprecated">
  18936. <param name="token" type="org.apache.hadoop.security.token.Token"/>
  18937. <exception name="IOException" type="java.io.IOException"/>
  18938. </method>
  18939. <method name="getFileBlockLocations" return="org.apache.hadoop.fs.BlockLocation[]"
  18940. abstract="false" native="false" synchronized="false"
  18941. static="false" final="false" visibility="public"
  18942. deprecated="not deprecated">
  18943. <param name="status" type="org.apache.hadoop.fs.FileStatus"/>
  18944. <param name="offset" type="long"/>
  18945. <param name="length" type="long"/>
  18946. <exception name="IOException" type="java.io.IOException"/>
  18947. </method>
  18948. <method name="getFileBlockLocations" return="org.apache.hadoop.fs.BlockLocation[]"
  18949. abstract="false" native="false" synchronized="false"
  18950. static="false" final="false" visibility="public"
  18951. deprecated="not deprecated">
  18952. <param name="p" type="org.apache.hadoop.fs.Path"/>
  18953. <param name="offset" type="long"/>
  18954. <param name="length" type="long"/>
  18955. <exception name="IOException" type="java.io.IOException"/>
  18956. </method>
  18957. <method name="access"
  18958. abstract="false" native="false" synchronized="false"
  18959. static="false" final="false" visibility="public"
  18960. deprecated="not deprecated">
  18961. <param name="path" type="org.apache.hadoop.fs.Path"/>
  18962. <param name="mode" type="org.apache.hadoop.fs.permission.FsAction"/>
  18963. <exception name="IOException" type="java.io.IOException"/>
  18964. </method>
  18965. <method name="getContentSummary" return="org.apache.hadoop.fs.ContentSummary"
  18966. abstract="false" native="false" synchronized="false"
  18967. static="false" final="false" visibility="public"
  18968. deprecated="not deprecated">
  18969. <param name="p" type="org.apache.hadoop.fs.Path"/>
  18970. <exception name="IOException" type="java.io.IOException"/>
  18971. </method>
  18972. <method name="getFileChecksum" return="org.apache.hadoop.fs.MD5MD5CRC32FileChecksum"
  18973. abstract="false" native="false" synchronized="false"
  18974. static="false" final="false" visibility="public"
  18975. deprecated="not deprecated">
  18976. <param name="p" type="org.apache.hadoop.fs.Path"/>
  18977. <exception name="IOException" type="java.io.IOException"/>
  18978. </method>
  18979. <method name="getCanonicalServiceName" return="java.lang.String"
  18980. abstract="false" native="false" synchronized="false"
  18981. static="false" final="false" visibility="public"
  18982. deprecated="not deprecated">
  18983. </method>
  18984. <field name="LOG" type="org.apache.commons.logging.Log"
  18985. transient="false" volatile="false"
  18986. static="true" final="true" visibility="public"
  18987. deprecated="not deprecated">
  18988. </field>
  18989. <field name="SCHEME" type="java.lang.String"
  18990. transient="false" volatile="false"
  18991. static="true" final="true" visibility="public"
  18992. deprecated="not deprecated">
  18993. <doc>
  18994. <![CDATA[File System URI: {SCHEME}://namenode:port/path/to/file]]>
  18995. </doc>
  18996. </field>
  18997. <field name="VERSION" type="int"
  18998. transient="false" volatile="false"
  18999. static="true" final="true" visibility="public"
  19000. deprecated="not deprecated">
  19001. <doc>
  19002. <![CDATA[WebHdfs version.]]>
  19003. </doc>
  19004. </field>
  19005. <field name="PATH_PREFIX" type="java.lang.String"
  19006. transient="false" volatile="false"
  19007. static="true" final="true" visibility="public"
  19008. deprecated="not deprecated">
  19009. <doc>
  19010. <![CDATA[Http URI: http://namenode:port/{PATH_PREFIX}/path/to/file]]>
  19011. </doc>
  19012. </field>
  19013. <field name="connectionFactory" type="org.apache.hadoop.hdfs.web.URLConnectionFactory"
  19014. transient="false" volatile="false"
  19015. static="false" final="false" visibility="protected"
  19016. deprecated="not deprecated">
  19017. <doc>
  19018. <![CDATA[Default connection factory may be overridden in tests to use smaller timeout values]]>
  19019. </doc>
  19020. </field>
  19021. <field name="TOKEN_KIND" type="org.apache.hadoop.io.Text"
  19022. transient="false" volatile="false"
  19023. static="true" final="true" visibility="public"
  19024. deprecated="not deprecated">
  19025. <doc>
  19026. <![CDATA[Delegation token kind]]>
  19027. </doc>
  19028. </field>
  19029. <field name="CANT_FALLBACK_TO_INSECURE_MSG" type="java.lang.String"
  19030. transient="false" volatile="false"
  19031. static="true" final="true" visibility="public"
  19032. deprecated="not deprecated">
  19033. </field>
  19034. <field name="tokenServiceName" type="org.apache.hadoop.io.Text"
  19035. transient="false" volatile="false"
  19036. static="false" final="false" visibility="protected"
  19037. deprecated="not deprecated">
  19038. </field>
  19039. <doc>
  19040. <![CDATA[A FileSystem for HDFS over the web.]]>
  19041. </doc>
  19042. </class>
  19043. <!-- end class org.apache.hadoop.hdfs.web.WebHdfsFileSystem -->
  19044. </package>
  19045. <package name="org.apache.hadoop.hdfs.web.resources">
  19046. <!-- start class org.apache.hadoop.hdfs.web.resources.AccessTimeParam -->
  19047. <class name="AccessTimeParam" extends="org.apache.hadoop.hdfs.web.resources.LongParam"
  19048. abstract="false"
  19049. static="false" final="false" visibility="public"
  19050. deprecated="not deprecated">
  19051. <constructor name="AccessTimeParam" type="java.lang.Long"
  19052. static="false" final="false" visibility="public"
  19053. deprecated="not deprecated">
  19054. <doc>
  19055. <![CDATA[Constructor.
  19056. @param value the parameter value.]]>
  19057. </doc>
  19058. </constructor>
  19059. <constructor name="AccessTimeParam" type="java.lang.String"
  19060. static="false" final="false" visibility="public"
  19061. deprecated="not deprecated">
  19062. <doc>
  19063. <![CDATA[Constructor.
  19064. @param str a string representation of the parameter value.]]>
  19065. </doc>
  19066. </constructor>
  19067. <method name="getName" return="java.lang.String"
  19068. abstract="false" native="false" synchronized="false"
  19069. static="false" final="false" visibility="public"
  19070. deprecated="not deprecated">
  19071. </method>
  19072. <field name="NAME" type="java.lang.String"
  19073. transient="false" volatile="false"
  19074. static="true" final="true" visibility="public"
  19075. deprecated="not deprecated">
  19076. <doc>
  19077. <![CDATA[Parameter name.]]>
  19078. </doc>
  19079. </field>
  19080. <field name="DEFAULT" type="java.lang.String"
  19081. transient="false" volatile="false"
  19082. static="true" final="true" visibility="public"
  19083. deprecated="not deprecated">
  19084. <doc>
  19085. <![CDATA[Default parameter value.]]>
  19086. </doc>
  19087. </field>
  19088. <doc>
  19089. <![CDATA[Access time parameter.]]>
  19090. </doc>
  19091. </class>
  19092. <!-- end class org.apache.hadoop.hdfs.web.resources.AccessTimeParam -->
  19093. <!-- start class org.apache.hadoop.hdfs.web.resources.AclPermissionParam -->
  19094. <class name="AclPermissionParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  19095. abstract="false"
  19096. static="false" final="false" visibility="public"
  19097. deprecated="not deprecated">
  19098. <constructor name="AclPermissionParam" type="java.lang.String"
  19099. static="false" final="false" visibility="public"
  19100. deprecated="not deprecated">
  19101. <doc>
  19102. <![CDATA[Constructor.
  19103. @param str a string representation of the parameter value.]]>
  19104. </doc>
  19105. </constructor>
  19106. <constructor name="AclPermissionParam" type="java.util.List"
  19107. static="false" final="false" visibility="public"
  19108. deprecated="not deprecated">
  19109. </constructor>
  19110. <method name="getName" return="java.lang.String"
  19111. abstract="false" native="false" synchronized="false"
  19112. static="false" final="false" visibility="public"
  19113. deprecated="not deprecated">
  19114. </method>
  19115. <method name="getAclPermission" return="java.util.List"
  19116. abstract="false" native="false" synchronized="false"
  19117. static="false" final="false" visibility="public"
  19118. deprecated="not deprecated">
  19119. <param name="includePermission" type="boolean"/>
  19120. </method>
  19121. <field name="NAME" type="java.lang.String"
  19122. transient="false" volatile="false"
  19123. static="true" final="true" visibility="public"
  19124. deprecated="not deprecated">
  19125. <doc>
  19126. <![CDATA[Parameter name.]]>
  19127. </doc>
  19128. </field>
  19129. <field name="DEFAULT" type="java.lang.String"
  19130. transient="false" volatile="false"
  19131. static="true" final="true" visibility="public"
  19132. deprecated="not deprecated">
  19133. <doc>
  19134. <![CDATA[Default parameter value.]]>
  19135. </doc>
  19136. </field>
  19137. <doc>
  19138. <![CDATA[AclPermission parameter.]]>
  19139. </doc>
  19140. </class>
  19141. <!-- end class org.apache.hadoop.hdfs.web.resources.AclPermissionParam -->
  19142. <!-- start class org.apache.hadoop.hdfs.web.resources.BlockSizeParam -->
  19143. <class name="BlockSizeParam" extends="org.apache.hadoop.hdfs.web.resources.LongParam"
  19144. abstract="false"
  19145. static="false" final="false" visibility="public"
  19146. deprecated="not deprecated">
  19147. <constructor name="BlockSizeParam" type="java.lang.Long"
  19148. static="false" final="false" visibility="public"
  19149. deprecated="not deprecated">
  19150. <doc>
  19151. <![CDATA[Constructor.
  19152. @param value the parameter value.]]>
  19153. </doc>
  19154. </constructor>
  19155. <constructor name="BlockSizeParam" type="java.lang.String"
  19156. static="false" final="false" visibility="public"
  19157. deprecated="not deprecated">
  19158. <doc>
  19159. <![CDATA[Constructor.
  19160. @param str a string representation of the parameter value.]]>
  19161. </doc>
  19162. </constructor>
  19163. <method name="getName" return="java.lang.String"
  19164. abstract="false" native="false" synchronized="false"
  19165. static="false" final="false" visibility="public"
  19166. deprecated="not deprecated">
  19167. </method>
  19168. <method name="getValue" return="long"
  19169. abstract="false" native="false" synchronized="false"
  19170. static="false" final="false" visibility="public"
  19171. deprecated="not deprecated">
  19172. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  19173. <doc>
  19174. <![CDATA[@return the value or, if it is null, return the default from conf.]]>
  19175. </doc>
  19176. </method>
  19177. <field name="NAME" type="java.lang.String"
  19178. transient="false" volatile="false"
  19179. static="true" final="true" visibility="public"
  19180. deprecated="not deprecated">
  19181. <doc>
  19182. <![CDATA[Parameter name.]]>
  19183. </doc>
  19184. </field>
  19185. <field name="DEFAULT" type="java.lang.String"
  19186. transient="false" volatile="false"
  19187. static="true" final="true" visibility="public"
  19188. deprecated="not deprecated">
  19189. <doc>
  19190. <![CDATA[Default parameter value.]]>
  19191. </doc>
  19192. </field>
  19193. <doc>
  19194. <![CDATA[Block size parameter.]]>
  19195. </doc>
  19196. </class>
  19197. <!-- end class org.apache.hadoop.hdfs.web.resources.BlockSizeParam -->
  19198. <!-- start class org.apache.hadoop.hdfs.web.resources.BufferSizeParam -->
  19199. <class name="BufferSizeParam" extends="org.apache.hadoop.hdfs.web.resources.IntegerParam"
  19200. abstract="false"
  19201. static="false" final="false" visibility="public"
  19202. deprecated="not deprecated">
  19203. <constructor name="BufferSizeParam" type="java.lang.Integer"
  19204. static="false" final="false" visibility="public"
  19205. deprecated="not deprecated">
  19206. <doc>
  19207. <![CDATA[Constructor.
  19208. @param value the parameter value.]]>
  19209. </doc>
  19210. </constructor>
  19211. <constructor name="BufferSizeParam" type="java.lang.String"
  19212. static="false" final="false" visibility="public"
  19213. deprecated="not deprecated">
  19214. <doc>
  19215. <![CDATA[Constructor.
  19216. @param str a string representation of the parameter value.]]>
  19217. </doc>
  19218. </constructor>
  19219. <method name="getName" return="java.lang.String"
  19220. abstract="false" native="false" synchronized="false"
  19221. static="false" final="false" visibility="public"
  19222. deprecated="not deprecated">
  19223. </method>
  19224. <method name="getValue" return="int"
  19225. abstract="false" native="false" synchronized="false"
  19226. static="false" final="false" visibility="public"
  19227. deprecated="not deprecated">
  19228. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  19229. <doc>
  19230. <![CDATA[@return the value or, if it is null, return the default from conf.]]>
  19231. </doc>
  19232. </method>
  19233. <field name="NAME" type="java.lang.String"
  19234. transient="false" volatile="false"
  19235. static="true" final="true" visibility="public"
  19236. deprecated="not deprecated">
  19237. <doc>
  19238. <![CDATA[Parameter name.]]>
  19239. </doc>
  19240. </field>
  19241. <field name="DEFAULT" type="java.lang.String"
  19242. transient="false" volatile="false"
  19243. static="true" final="true" visibility="public"
  19244. deprecated="not deprecated">
  19245. <doc>
  19246. <![CDATA[Default parameter value.]]>
  19247. </doc>
  19248. </field>
  19249. <doc>
  19250. <![CDATA[Buffer size parameter.]]>
  19251. </doc>
  19252. </class>
  19253. <!-- end class org.apache.hadoop.hdfs.web.resources.BufferSizeParam -->
  19254. <!-- start class org.apache.hadoop.hdfs.web.resources.ConcatSourcesParam -->
  19255. <class name="ConcatSourcesParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  19256. abstract="false"
  19257. static="false" final="false" visibility="public"
  19258. deprecated="not deprecated">
  19259. <constructor name="ConcatSourcesParam" type="java.lang.String"
  19260. static="false" final="false" visibility="public"
  19261. deprecated="not deprecated">
  19262. <doc>
  19263. <![CDATA[Constructor.
  19264. @param str a string representation of the parameter value.]]>
  19265. </doc>
  19266. </constructor>
  19267. <constructor name="ConcatSourcesParam" type="org.apache.hadoop.fs.Path[]"
  19268. static="false" final="false" visibility="public"
  19269. deprecated="not deprecated">
  19270. </constructor>
  19271. <method name="getName" return="java.lang.String"
  19272. abstract="false" native="false" synchronized="false"
  19273. static="false" final="false" visibility="public"
  19274. deprecated="not deprecated">
  19275. </method>
  19276. <method name="getAbsolutePaths" return="java.lang.String[]"
  19277. abstract="false" native="false" synchronized="false"
  19278. static="false" final="true" visibility="public"
  19279. deprecated="not deprecated">
  19280. <doc>
  19281. <![CDATA[@return the absolute path.]]>
  19282. </doc>
  19283. </method>
  19284. <field name="NAME" type="java.lang.String"
  19285. transient="false" volatile="false"
  19286. static="true" final="true" visibility="public"
  19287. deprecated="not deprecated">
  19288. <doc>
  19289. <![CDATA[Parameter name.]]>
  19290. </doc>
  19291. </field>
  19292. <field name="DEFAULT" type="java.lang.String"
  19293. transient="false" volatile="false"
  19294. static="true" final="true" visibility="public"
  19295. deprecated="not deprecated">
  19296. </field>
  19297. <doc>
  19298. <![CDATA[The concat source paths parameter.]]>
  19299. </doc>
  19300. </class>
  19301. <!-- end class org.apache.hadoop.hdfs.web.resources.ConcatSourcesParam -->
  19302. <!-- start class org.apache.hadoop.hdfs.web.resources.CreateParentParam -->
  19303. <class name="CreateParentParam" extends="org.apache.hadoop.hdfs.web.resources.BooleanParam"
  19304. abstract="false"
  19305. static="false" final="false" visibility="public"
  19306. deprecated="not deprecated">
  19307. <constructor name="CreateParentParam" type="java.lang.Boolean"
  19308. static="false" final="false" visibility="public"
  19309. deprecated="not deprecated">
  19310. <doc>
  19311. <![CDATA[Constructor.
  19312. @param value the parameter value.]]>
  19313. </doc>
  19314. </constructor>
  19315. <constructor name="CreateParentParam" type="java.lang.String"
  19316. static="false" final="false" visibility="public"
  19317. deprecated="not deprecated">
  19318. <doc>
  19319. <![CDATA[Constructor.
  19320. @param str a string representation of the parameter value.]]>
  19321. </doc>
  19322. </constructor>
  19323. <method name="getName" return="java.lang.String"
  19324. abstract="false" native="false" synchronized="false"
  19325. static="false" final="false" visibility="public"
  19326. deprecated="not deprecated">
  19327. </method>
  19328. <field name="NAME" type="java.lang.String"
  19329. transient="false" volatile="false"
  19330. static="true" final="true" visibility="public"
  19331. deprecated="not deprecated">
  19332. <doc>
  19333. <![CDATA[Parameter name.]]>
  19334. </doc>
  19335. </field>
  19336. <field name="DEFAULT" type="java.lang.String"
  19337. transient="false" volatile="false"
  19338. static="true" final="true" visibility="public"
  19339. deprecated="not deprecated">
  19340. <doc>
  19341. <![CDATA[Default parameter value.]]>
  19342. </doc>
  19343. </field>
  19344. <doc>
  19345. <![CDATA[Create Parent parameter.]]>
  19346. </doc>
  19347. </class>
  19348. <!-- end class org.apache.hadoop.hdfs.web.resources.CreateParentParam -->
  19349. <!-- start class org.apache.hadoop.hdfs.web.resources.DelegationParam -->
  19350. <class name="DelegationParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  19351. abstract="false"
  19352. static="false" final="false" visibility="public"
  19353. deprecated="not deprecated">
  19354. <constructor name="DelegationParam" type="java.lang.String"
  19355. static="false" final="false" visibility="public"
  19356. deprecated="not deprecated">
  19357. <doc>
  19358. <![CDATA[Constructor.
  19359. @param str a string representation of the parameter value.]]>
  19360. </doc>
  19361. </constructor>
  19362. <method name="getName" return="java.lang.String"
  19363. abstract="false" native="false" synchronized="false"
  19364. static="false" final="false" visibility="public"
  19365. deprecated="not deprecated">
  19366. </method>
  19367. <field name="NAME" type="java.lang.String"
  19368. transient="false" volatile="false"
  19369. static="true" final="true" visibility="public"
  19370. deprecated="not deprecated">
  19371. <doc>
  19372. <![CDATA[Parameter name.]]>
  19373. </doc>
  19374. </field>
  19375. <field name="DEFAULT" type="java.lang.String"
  19376. transient="false" volatile="false"
  19377. static="true" final="true" visibility="public"
  19378. deprecated="not deprecated">
  19379. <doc>
  19380. <![CDATA[Default parameter value.]]>
  19381. </doc>
  19382. </field>
  19383. <doc>
  19384. <![CDATA[Represents delegation token used for authentication.]]>
  19385. </doc>
  19386. </class>
  19387. <!-- end class org.apache.hadoop.hdfs.web.resources.DelegationParam -->
  19388. <!-- start class org.apache.hadoop.hdfs.web.resources.DeleteOpParam -->
  19389. <class name="DeleteOpParam" extends="org.apache.hadoop.hdfs.web.resources.HttpOpParam"
  19390. abstract="false"
  19391. static="false" final="false" visibility="public"
  19392. deprecated="not deprecated">
  19393. <constructor name="DeleteOpParam" type="java.lang.String"
  19394. static="false" final="false" visibility="public"
  19395. deprecated="not deprecated">
  19396. <doc>
  19397. <![CDATA[Constructor.
  19398. @param str a string representation of the parameter value.]]>
  19399. </doc>
  19400. </constructor>
  19401. <method name="getName" return="java.lang.String"
  19402. abstract="false" native="false" synchronized="false"
  19403. static="false" final="false" visibility="public"
  19404. deprecated="not deprecated">
  19405. </method>
  19406. <doc>
  19407. <![CDATA[Http DELETE operation parameter.]]>
  19408. </doc>
  19409. </class>
  19410. <!-- end class org.apache.hadoop.hdfs.web.resources.DeleteOpParam -->
  19411. <!-- start class org.apache.hadoop.hdfs.web.resources.DeleteOpParam.Op -->
  19412. <class name="DeleteOpParam.Op" extends="java.lang.Enum"
  19413. abstract="false"
  19414. static="true" final="true" visibility="public"
  19415. deprecated="not deprecated">
  19416. <implements name="org.apache.hadoop.hdfs.web.resources.HttpOpParam.Op"/>
  19417. <method name="values" return="org.apache.hadoop.hdfs.web.resources.DeleteOpParam.Op[]"
  19418. abstract="false" native="false" synchronized="false"
  19419. static="true" final="false" visibility="public"
  19420. deprecated="not deprecated">
  19421. </method>
  19422. <method name="valueOf" return="org.apache.hadoop.hdfs.web.resources.DeleteOpParam.Op"
  19423. abstract="false" native="false" synchronized="false"
  19424. static="true" final="false" visibility="public"
  19425. deprecated="not deprecated">
  19426. <param name="name" type="java.lang.String"/>
  19427. </method>
  19428. <method name="getType" return="org.apache.hadoop.hdfs.web.resources.HttpOpParam.Type"
  19429. abstract="false" native="false" synchronized="false"
  19430. static="false" final="false" visibility="public"
  19431. deprecated="not deprecated">
  19432. </method>
  19433. <method name="getRequireAuth" return="boolean"
  19434. abstract="false" native="false" synchronized="false"
  19435. static="false" final="false" visibility="public"
  19436. deprecated="not deprecated">
  19437. </method>
  19438. <method name="getDoOutput" return="boolean"
  19439. abstract="false" native="false" synchronized="false"
  19440. static="false" final="false" visibility="public"
  19441. deprecated="not deprecated">
  19442. </method>
  19443. <method name="getRedirect" return="boolean"
  19444. abstract="false" native="false" synchronized="false"
  19445. static="false" final="false" visibility="public"
  19446. deprecated="not deprecated">
  19447. </method>
  19448. <method name="getExpectedHttpResponseCode" return="int"
  19449. abstract="false" native="false" synchronized="false"
  19450. static="false" final="false" visibility="public"
  19451. deprecated="not deprecated">
  19452. </method>
  19453. <method name="toQueryString" return="java.lang.String"
  19454. abstract="false" native="false" synchronized="false"
  19455. static="false" final="false" visibility="public"
  19456. deprecated="not deprecated">
  19457. </method>
  19458. <doc>
  19459. <![CDATA[Delete operations.]]>
  19460. </doc>
  19461. </class>
  19462. <!-- end class org.apache.hadoop.hdfs.web.resources.DeleteOpParam.Op -->
  19463. <!-- start class org.apache.hadoop.hdfs.web.resources.DestinationParam -->
  19464. <class name="DestinationParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  19465. abstract="false"
  19466. static="false" final="false" visibility="public"
  19467. deprecated="not deprecated">
  19468. <constructor name="DestinationParam" type="java.lang.String"
  19469. static="false" final="false" visibility="public"
  19470. deprecated="not deprecated">
  19471. <doc>
  19472. <![CDATA[Constructor.
  19473. @param str a string representation of the parameter value.]]>
  19474. </doc>
  19475. </constructor>
  19476. <method name="getName" return="java.lang.String"
  19477. abstract="false" native="false" synchronized="false"
  19478. static="false" final="false" visibility="public"
  19479. deprecated="not deprecated">
  19480. </method>
  19481. <field name="NAME" type="java.lang.String"
  19482. transient="false" volatile="false"
  19483. static="true" final="true" visibility="public"
  19484. deprecated="not deprecated">
  19485. <doc>
  19486. <![CDATA[Parameter name.]]>
  19487. </doc>
  19488. </field>
  19489. <field name="DEFAULT" type="java.lang.String"
  19490. transient="false" volatile="false"
  19491. static="true" final="true" visibility="public"
  19492. deprecated="not deprecated">
  19493. <doc>
  19494. <![CDATA[Default parameter value.]]>
  19495. </doc>
  19496. </field>
  19497. <doc>
  19498. <![CDATA[Destination path parameter.]]>
  19499. </doc>
  19500. </class>
  19501. <!-- end class org.apache.hadoop.hdfs.web.resources.DestinationParam -->
  19502. <!-- start class org.apache.hadoop.hdfs.web.resources.DoAsParam -->
  19503. <class name="DoAsParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  19504. abstract="false"
  19505. static="false" final="false" visibility="public"
  19506. deprecated="not deprecated">
  19507. <constructor name="DoAsParam" type="java.lang.String"
  19508. static="false" final="false" visibility="public"
  19509. deprecated="not deprecated">
  19510. <doc>
  19511. <![CDATA[Constructor.
  19512. @param str a string representation of the parameter value.]]>
  19513. </doc>
  19514. </constructor>
  19515. <method name="getName" return="java.lang.String"
  19516. abstract="false" native="false" synchronized="false"
  19517. static="false" final="false" visibility="public"
  19518. deprecated="not deprecated">
  19519. </method>
  19520. <field name="NAME" type="java.lang.String"
  19521. transient="false" volatile="false"
  19522. static="true" final="true" visibility="public"
  19523. deprecated="not deprecated">
  19524. <doc>
  19525. <![CDATA[Parameter name.]]>
  19526. </doc>
  19527. </field>
  19528. <field name="DEFAULT" type="java.lang.String"
  19529. transient="false" volatile="false"
  19530. static="true" final="true" visibility="public"
  19531. deprecated="not deprecated">
  19532. <doc>
  19533. <![CDATA[Default parameter value.]]>
  19534. </doc>
  19535. </field>
  19536. <doc>
  19537. <![CDATA[DoAs parameter for proxy user.]]>
  19538. </doc>
  19539. </class>
  19540. <!-- end class org.apache.hadoop.hdfs.web.resources.DoAsParam -->
  19541. <!-- start class org.apache.hadoop.hdfs.web.resources.ExceptionHandler -->
  19542. <class name="ExceptionHandler" extends="java.lang.Object"
  19543. abstract="false"
  19544. static="false" final="false" visibility="public"
  19545. deprecated="not deprecated">
  19546. <implements name="javax.ws.rs.ext.ExceptionMapper"/>
  19547. <constructor name="ExceptionHandler"
  19548. static="false" final="false" visibility="public"
  19549. deprecated="not deprecated">
  19550. </constructor>
  19551. <method name="toResponse" return="javax.ws.rs.core.Response"
  19552. abstract="false" native="false" synchronized="false"
  19553. static="false" final="false" visibility="public"
  19554. deprecated="not deprecated">
  19555. <param name="e" type="java.lang.Exception"/>
  19556. </method>
  19557. <method name="initResponse"
  19558. abstract="false" native="false" synchronized="false"
  19559. static="false" final="false" visibility="public"
  19560. deprecated="not deprecated">
  19561. <param name="response" type="javax.servlet.http.HttpServletResponse"/>
  19562. </method>
  19563. <field name="LOG" type="org.apache.commons.logging.Log"
  19564. transient="false" volatile="false"
  19565. static="true" final="true" visibility="public"
  19566. deprecated="not deprecated">
  19567. </field>
  19568. <doc>
  19569. <![CDATA[Handle exceptions.]]>
  19570. </doc>
  19571. </class>
  19572. <!-- end class org.apache.hadoop.hdfs.web.resources.ExceptionHandler -->
  19573. <!-- start class org.apache.hadoop.hdfs.web.resources.ExcludeDatanodesParam -->
  19574. <class name="ExcludeDatanodesParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  19575. abstract="false"
  19576. static="false" final="false" visibility="public"
  19577. deprecated="not deprecated">
  19578. <constructor name="ExcludeDatanodesParam" type="java.lang.String"
  19579. static="false" final="false" visibility="public"
  19580. deprecated="not deprecated">
  19581. <doc>
  19582. <![CDATA[Constructor.
  19583. @param str a string representation of the parameter value.]]>
  19584. </doc>
  19585. </constructor>
  19586. <method name="getName" return="java.lang.String"
  19587. abstract="false" native="false" synchronized="false"
  19588. static="false" final="false" visibility="public"
  19589. deprecated="not deprecated">
  19590. </method>
  19591. <field name="NAME" type="java.lang.String"
  19592. transient="false" volatile="false"
  19593. static="true" final="true" visibility="public"
  19594. deprecated="not deprecated">
  19595. <doc>
  19596. <![CDATA[Parameter name.]]>
  19597. </doc>
  19598. </field>
  19599. <field name="DEFAULT" type="java.lang.String"
  19600. transient="false" volatile="false"
  19601. static="true" final="true" visibility="public"
  19602. deprecated="not deprecated">
  19603. <doc>
  19604. <![CDATA[Default parameter value.]]>
  19605. </doc>
  19606. </field>
  19607. <doc>
  19608. <![CDATA[Exclude datanodes param]]>
  19609. </doc>
  19610. </class>
  19611. <!-- end class org.apache.hadoop.hdfs.web.resources.ExcludeDatanodesParam -->
  19612. <!-- start class org.apache.hadoop.hdfs.web.resources.FsActionParam -->
  19613. <class name="FsActionParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  19614. abstract="false"
  19615. static="false" final="false" visibility="public"
  19616. deprecated="not deprecated">
  19617. <constructor name="FsActionParam" type="java.lang.String"
  19618. static="false" final="false" visibility="public"
  19619. deprecated="not deprecated">
  19620. <doc>
  19621. <![CDATA[Constructor.
  19622. @param str a string representation of the parameter value.]]>
  19623. </doc>
  19624. </constructor>
  19625. <constructor name="FsActionParam" type="org.apache.hadoop.fs.permission.FsAction"
  19626. static="false" final="false" visibility="public"
  19627. deprecated="not deprecated">
  19628. <doc>
  19629. <![CDATA[Constructor.
  19630. @param value the parameter value.]]>
  19631. </doc>
  19632. </constructor>
  19633. <method name="getName" return="java.lang.String"
  19634. abstract="false" native="false" synchronized="false"
  19635. static="false" final="false" visibility="public"
  19636. deprecated="not deprecated">
  19637. </method>
  19638. <field name="NAME" type="java.lang.String"
  19639. transient="false" volatile="false"
  19640. static="true" final="true" visibility="public"
  19641. deprecated="not deprecated">
  19642. <doc>
  19643. <![CDATA[Parameter name.]]>
  19644. </doc>
  19645. </field>
  19646. <field name="DEFAULT" type="java.lang.String"
  19647. transient="false" volatile="false"
  19648. static="true" final="true" visibility="public"
  19649. deprecated="not deprecated">
  19650. <doc>
  19651. <![CDATA[Default parameter value.]]>
  19652. </doc>
  19653. </field>
  19654. <doc>
  19655. <![CDATA[{@link FsAction} Parameter]]>
  19656. </doc>
  19657. </class>
  19658. <!-- end class org.apache.hadoop.hdfs.web.resources.FsActionParam -->
  19659. <!-- start class org.apache.hadoop.hdfs.web.resources.GetOpParam -->
  19660. <class name="GetOpParam" extends="org.apache.hadoop.hdfs.web.resources.HttpOpParam"
  19661. abstract="false"
  19662. static="false" final="false" visibility="public"
  19663. deprecated="not deprecated">
  19664. <constructor name="GetOpParam" type="java.lang.String"
  19665. static="false" final="false" visibility="public"
  19666. deprecated="not deprecated">
  19667. <doc>
  19668. <![CDATA[Constructor.
  19669. @param str a string representation of the parameter value.]]>
  19670. </doc>
  19671. </constructor>
  19672. <method name="getName" return="java.lang.String"
  19673. abstract="false" native="false" synchronized="false"
  19674. static="false" final="false" visibility="public"
  19675. deprecated="not deprecated">
  19676. </method>
  19677. <doc>
  19678. <![CDATA[Http GET operation parameter.]]>
  19679. </doc>
  19680. </class>
  19681. <!-- end class org.apache.hadoop.hdfs.web.resources.GetOpParam -->
  19682. <!-- start class org.apache.hadoop.hdfs.web.resources.GetOpParam.Op -->
  19683. <class name="GetOpParam.Op" extends="java.lang.Enum"
  19684. abstract="false"
  19685. static="true" final="true" visibility="public"
  19686. deprecated="not deprecated">
  19687. <implements name="org.apache.hadoop.hdfs.web.resources.HttpOpParam.Op"/>
  19688. <method name="values" return="org.apache.hadoop.hdfs.web.resources.GetOpParam.Op[]"
  19689. abstract="false" native="false" synchronized="false"
  19690. static="true" final="false" visibility="public"
  19691. deprecated="not deprecated">
  19692. </method>
  19693. <method name="valueOf" return="org.apache.hadoop.hdfs.web.resources.GetOpParam.Op"
  19694. abstract="false" native="false" synchronized="false"
  19695. static="true" final="false" visibility="public"
  19696. deprecated="not deprecated">
  19697. <param name="name" type="java.lang.String"/>
  19698. </method>
  19699. <method name="getType" return="org.apache.hadoop.hdfs.web.resources.HttpOpParam.Type"
  19700. abstract="false" native="false" synchronized="false"
  19701. static="false" final="false" visibility="public"
  19702. deprecated="not deprecated">
  19703. </method>
  19704. <method name="getRequireAuth" return="boolean"
  19705. abstract="false" native="false" synchronized="false"
  19706. static="false" final="false" visibility="public"
  19707. deprecated="not deprecated">
  19708. </method>
  19709. <method name="getDoOutput" return="boolean"
  19710. abstract="false" native="false" synchronized="false"
  19711. static="false" final="false" visibility="public"
  19712. deprecated="not deprecated">
  19713. </method>
  19714. <method name="getRedirect" return="boolean"
  19715. abstract="false" native="false" synchronized="false"
  19716. static="false" final="false" visibility="public"
  19717. deprecated="not deprecated">
  19718. </method>
  19719. <method name="getExpectedHttpResponseCode" return="int"
  19720. abstract="false" native="false" synchronized="false"
  19721. static="false" final="false" visibility="public"
  19722. deprecated="not deprecated">
  19723. </method>
  19724. <method name="toQueryString" return="java.lang.String"
  19725. abstract="false" native="false" synchronized="false"
  19726. static="false" final="false" visibility="public"
  19727. deprecated="not deprecated">
  19728. </method>
  19729. <doc>
  19730. <![CDATA[Get operations.]]>
  19731. </doc>
  19732. </class>
  19733. <!-- end class org.apache.hadoop.hdfs.web.resources.GetOpParam.Op -->
  19734. <!-- start class org.apache.hadoop.hdfs.web.resources.GroupParam -->
  19735. <class name="GroupParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  19736. abstract="false"
  19737. static="false" final="false" visibility="public"
  19738. deprecated="not deprecated">
  19739. <constructor name="GroupParam" type="java.lang.String"
  19740. static="false" final="false" visibility="public"
  19741. deprecated="not deprecated">
  19742. <doc>
  19743. <![CDATA[Constructor.
  19744. @param str a string representation of the parameter value.]]>
  19745. </doc>
  19746. </constructor>
  19747. <method name="getName" return="java.lang.String"
  19748. abstract="false" native="false" synchronized="false"
  19749. static="false" final="false" visibility="public"
  19750. deprecated="not deprecated">
  19751. </method>
  19752. <field name="NAME" type="java.lang.String"
  19753. transient="false" volatile="false"
  19754. static="true" final="true" visibility="public"
  19755. deprecated="not deprecated">
  19756. <doc>
  19757. <![CDATA[Parameter name.]]>
  19758. </doc>
  19759. </field>
  19760. <field name="DEFAULT" type="java.lang.String"
  19761. transient="false" volatile="false"
  19762. static="true" final="true" visibility="public"
  19763. deprecated="not deprecated">
  19764. <doc>
  19765. <![CDATA[Default parameter value.]]>
  19766. </doc>
  19767. </field>
  19768. <doc>
  19769. <![CDATA[Group parameter.]]>
  19770. </doc>
  19771. </class>
  19772. <!-- end class org.apache.hadoop.hdfs.web.resources.GroupParam -->
  19773. <!-- start class org.apache.hadoop.hdfs.web.resources.HttpOpParam -->
  19774. <class name="HttpOpParam" extends="org.apache.hadoop.hdfs.web.resources.EnumParam"
  19775. abstract="true"
  19776. static="false" final="false" visibility="public"
  19777. deprecated="not deprecated">
  19778. <method name="getValueString" return="java.lang.String"
  19779. abstract="false" native="false" synchronized="false"
  19780. static="false" final="false" visibility="public"
  19781. deprecated="not deprecated">
  19782. <doc>
  19783. <![CDATA[@return the parameter value as a string]]>
  19784. </doc>
  19785. </method>
  19786. <field name="NAME" type="java.lang.String"
  19787. transient="false" volatile="false"
  19788. static="true" final="true" visibility="public"
  19789. deprecated="not deprecated">
  19790. <doc>
  19791. <![CDATA[Parameter name.]]>
  19792. </doc>
  19793. </field>
  19794. <field name="DEFAULT" type="java.lang.String"
  19795. transient="false" volatile="false"
  19796. static="true" final="true" visibility="public"
  19797. deprecated="not deprecated">
  19798. <doc>
  19799. <![CDATA[Default parameter value.]]>
  19800. </doc>
  19801. </field>
  19802. <doc>
  19803. <![CDATA[Http operation parameter.]]>
  19804. </doc>
  19805. </class>
  19806. <!-- end class org.apache.hadoop.hdfs.web.resources.HttpOpParam -->
  19807. <!-- start interface org.apache.hadoop.hdfs.web.resources.HttpOpParam.Op -->
  19808. <interface name="HttpOpParam.Op" abstract="true"
  19809. static="true" final="false" visibility="public"
  19810. deprecated="not deprecated">
  19811. <method name="getType" return="org.apache.hadoop.hdfs.web.resources.HttpOpParam.Type"
  19812. abstract="true" native="false" synchronized="false"
  19813. static="false" final="false" visibility="public"
  19814. deprecated="not deprecated">
  19815. <doc>
  19816. <![CDATA[@return the Http operation type.]]>
  19817. </doc>
  19818. </method>
  19819. <method name="getRequireAuth" return="boolean"
  19820. abstract="true" native="false" synchronized="false"
  19821. static="false" final="false" visibility="public"
  19822. deprecated="not deprecated">
  19823. <doc>
  19824. <![CDATA[@return true if the operation cannot use a token]]>
  19825. </doc>
  19826. </method>
  19827. <method name="getDoOutput" return="boolean"
  19828. abstract="true" native="false" synchronized="false"
  19829. static="false" final="false" visibility="public"
  19830. deprecated="not deprecated">
  19831. <doc>
  19832. <![CDATA[@return true if the operation will do output.]]>
  19833. </doc>
  19834. </method>
  19835. <method name="getRedirect" return="boolean"
  19836. abstract="true" native="false" synchronized="false"
  19837. static="false" final="false" visibility="public"
  19838. deprecated="not deprecated">
  19839. <doc>
  19840. <![CDATA[@return true if the operation will be redirected.]]>
  19841. </doc>
  19842. </method>
  19843. <method name="getExpectedHttpResponseCode" return="int"
  19844. abstract="true" native="false" synchronized="false"
  19845. static="false" final="false" visibility="public"
  19846. deprecated="not deprecated">
  19847. <doc>
  19848. <![CDATA[@return true the expected http response code.]]>
  19849. </doc>
  19850. </method>
  19851. <method name="toQueryString" return="java.lang.String"
  19852. abstract="true" native="false" synchronized="false"
  19853. static="false" final="false" visibility="public"
  19854. deprecated="not deprecated">
  19855. <doc>
  19856. <![CDATA[@return a URI query string.]]>
  19857. </doc>
  19858. </method>
  19859. <doc>
  19860. <![CDATA[Http operation interface.]]>
  19861. </doc>
  19862. </interface>
  19863. <!-- end interface org.apache.hadoop.hdfs.web.resources.HttpOpParam.Op -->
  19864. <!-- start class org.apache.hadoop.hdfs.web.resources.HttpOpParam.TemporaryRedirectOp -->
  19865. <class name="HttpOpParam.TemporaryRedirectOp" extends="java.lang.Object"
  19866. abstract="false"
  19867. static="true" final="false" visibility="public"
  19868. deprecated="not deprecated">
  19869. <implements name="org.apache.hadoop.hdfs.web.resources.HttpOpParam.Op"/>
  19870. <method name="valueOf" return="org.apache.hadoop.hdfs.web.resources.HttpOpParam.TemporaryRedirectOp"
  19871. abstract="false" native="false" synchronized="false"
  19872. static="true" final="false" visibility="public"
  19873. deprecated="not deprecated">
  19874. <param name="op" type="org.apache.hadoop.hdfs.web.resources.HttpOpParam.Op"/>
  19875. <doc>
  19876. <![CDATA[Get an object for the given op.]]>
  19877. </doc>
  19878. </method>
  19879. <method name="getType" return="org.apache.hadoop.hdfs.web.resources.HttpOpParam.Type"
  19880. abstract="false" native="false" synchronized="false"
  19881. static="false" final="false" visibility="public"
  19882. deprecated="not deprecated">
  19883. </method>
  19884. <method name="getRequireAuth" return="boolean"
  19885. abstract="false" native="false" synchronized="false"
  19886. static="false" final="false" visibility="public"
  19887. deprecated="not deprecated">
  19888. </method>
  19889. <method name="getDoOutput" return="boolean"
  19890. abstract="false" native="false" synchronized="false"
  19891. static="false" final="false" visibility="public"
  19892. deprecated="not deprecated">
  19893. </method>
  19894. <method name="getRedirect" return="boolean"
  19895. abstract="false" native="false" synchronized="false"
  19896. static="false" final="false" visibility="public"
  19897. deprecated="not deprecated">
  19898. </method>
  19899. <method name="getExpectedHttpResponseCode" return="int"
  19900. abstract="false" native="false" synchronized="false"
  19901. static="false" final="false" visibility="public"
  19902. deprecated="not deprecated">
  19903. <doc>
  19904. <![CDATA[Override the original expected response with "Temporary Redirect".]]>
  19905. </doc>
  19906. </method>
  19907. <method name="toQueryString" return="java.lang.String"
  19908. abstract="false" native="false" synchronized="false"
  19909. static="false" final="false" visibility="public"
  19910. deprecated="not deprecated">
  19911. </method>
  19912. <doc>
  19913. <![CDATA[Expects HTTP response 307 "Temporary Redirect".]]>
  19914. </doc>
  19915. </class>
  19916. <!-- end class org.apache.hadoop.hdfs.web.resources.HttpOpParam.TemporaryRedirectOp -->
  19917. <!-- start class org.apache.hadoop.hdfs.web.resources.HttpOpParam.Type -->
  19918. <class name="HttpOpParam.Type" extends="java.lang.Enum"
  19919. abstract="false"
  19920. static="true" final="true" visibility="public"
  19921. deprecated="not deprecated">
  19922. <method name="values" return="org.apache.hadoop.hdfs.web.resources.HttpOpParam.Type[]"
  19923. abstract="false" native="false" synchronized="false"
  19924. static="true" final="false" visibility="public"
  19925. deprecated="not deprecated">
  19926. </method>
  19927. <method name="valueOf" return="org.apache.hadoop.hdfs.web.resources.HttpOpParam.Type"
  19928. abstract="false" native="false" synchronized="false"
  19929. static="true" final="false" visibility="public"
  19930. deprecated="not deprecated">
  19931. <param name="name" type="java.lang.String"/>
  19932. </method>
  19933. <doc>
  19934. <![CDATA[Http operation types]]>
  19935. </doc>
  19936. </class>
  19937. <!-- end class org.apache.hadoop.hdfs.web.resources.HttpOpParam.Type -->
  19938. <!-- start class org.apache.hadoop.hdfs.web.resources.LengthParam -->
  19939. <class name="LengthParam" extends="org.apache.hadoop.hdfs.web.resources.LongParam"
  19940. abstract="false"
  19941. static="false" final="false" visibility="public"
  19942. deprecated="not deprecated">
  19943. <constructor name="LengthParam" type="java.lang.Long"
  19944. static="false" final="false" visibility="public"
  19945. deprecated="not deprecated">
  19946. <doc>
  19947. <![CDATA[Constructor.
  19948. @param value the parameter value.]]>
  19949. </doc>
  19950. </constructor>
  19951. <constructor name="LengthParam" type="java.lang.String"
  19952. static="false" final="false" visibility="public"
  19953. deprecated="not deprecated">
  19954. <doc>
  19955. <![CDATA[Constructor.
  19956. @param str a string representation of the parameter value.]]>
  19957. </doc>
  19958. </constructor>
  19959. <method name="getName" return="java.lang.String"
  19960. abstract="false" native="false" synchronized="false"
  19961. static="false" final="false" visibility="public"
  19962. deprecated="not deprecated">
  19963. </method>
  19964. <method name="getLength" return="long"
  19965. abstract="false" native="false" synchronized="false"
  19966. static="false" final="false" visibility="public"
  19967. deprecated="not deprecated">
  19968. </method>
  19969. <field name="NAME" type="java.lang.String"
  19970. transient="false" volatile="false"
  19971. static="true" final="true" visibility="public"
  19972. deprecated="not deprecated">
  19973. <doc>
  19974. <![CDATA[Parameter name.]]>
  19975. </doc>
  19976. </field>
  19977. <field name="DEFAULT" type="java.lang.String"
  19978. transient="false" volatile="false"
  19979. static="true" final="true" visibility="public"
  19980. deprecated="not deprecated">
  19981. <doc>
  19982. <![CDATA[Default parameter value.]]>
  19983. </doc>
  19984. </field>
  19985. <doc>
  19986. <![CDATA[Length parameter.]]>
  19987. </doc>
  19988. </class>
  19989. <!-- end class org.apache.hadoop.hdfs.web.resources.LengthParam -->
  19990. <!-- start class org.apache.hadoop.hdfs.web.resources.ModificationTimeParam -->
  19991. <class name="ModificationTimeParam" extends="org.apache.hadoop.hdfs.web.resources.LongParam"
  19992. abstract="false"
  19993. static="false" final="false" visibility="public"
  19994. deprecated="not deprecated">
  19995. <constructor name="ModificationTimeParam" type="java.lang.Long"
  19996. static="false" final="false" visibility="public"
  19997. deprecated="not deprecated">
  19998. <doc>
  19999. <![CDATA[Constructor.
  20000. @param value the parameter value.]]>
  20001. </doc>
  20002. </constructor>
  20003. <constructor name="ModificationTimeParam" type="java.lang.String"
  20004. static="false" final="false" visibility="public"
  20005. deprecated="not deprecated">
  20006. <doc>
  20007. <![CDATA[Constructor.
  20008. @param str a string representation of the parameter value.]]>
  20009. </doc>
  20010. </constructor>
  20011. <method name="getName" return="java.lang.String"
  20012. abstract="false" native="false" synchronized="false"
  20013. static="false" final="false" visibility="public"
  20014. deprecated="not deprecated">
  20015. </method>
  20016. <field name="NAME" type="java.lang.String"
  20017. transient="false" volatile="false"
  20018. static="true" final="true" visibility="public"
  20019. deprecated="not deprecated">
  20020. <doc>
  20021. <![CDATA[Parameter name.]]>
  20022. </doc>
  20023. </field>
  20024. <field name="DEFAULT" type="java.lang.String"
  20025. transient="false" volatile="false"
  20026. static="true" final="true" visibility="public"
  20027. deprecated="not deprecated">
  20028. <doc>
  20029. <![CDATA[Default parameter value.]]>
  20030. </doc>
  20031. </field>
  20032. <doc>
  20033. <![CDATA[Modification time parameter.]]>
  20034. </doc>
  20035. </class>
  20036. <!-- end class org.apache.hadoop.hdfs.web.resources.ModificationTimeParam -->
  20037. <!-- start class org.apache.hadoop.hdfs.web.resources.NamenodeAddressParam -->
  20038. <class name="NamenodeAddressParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  20039. abstract="false"
  20040. static="false" final="false" visibility="public"
  20041. deprecated="not deprecated">
  20042. <constructor name="NamenodeAddressParam" type="java.lang.String"
  20043. static="false" final="false" visibility="public"
  20044. deprecated="not deprecated">
  20045. <doc>
  20046. <![CDATA[Constructor.
  20047. @param str a string representation of the parameter value.]]>
  20048. </doc>
  20049. </constructor>
  20050. <constructor name="NamenodeAddressParam" type="org.apache.hadoop.hdfs.server.namenode.NameNode"
  20051. static="false" final="false" visibility="public"
  20052. deprecated="not deprecated">
  20053. <doc>
  20054. <![CDATA[Construct an object using the RPC address of the given namenode.]]>
  20055. </doc>
  20056. </constructor>
  20057. <method name="getName" return="java.lang.String"
  20058. abstract="false" native="false" synchronized="false"
  20059. static="false" final="false" visibility="public"
  20060. deprecated="not deprecated">
  20061. </method>
  20062. <field name="NAME" type="java.lang.String"
  20063. transient="false" volatile="false"
  20064. static="true" final="true" visibility="public"
  20065. deprecated="not deprecated">
  20066. <doc>
  20067. <![CDATA[Parameter name.]]>
  20068. </doc>
  20069. </field>
  20070. <field name="DEFAULT" type="java.lang.String"
  20071. transient="false" volatile="false"
  20072. static="true" final="true" visibility="public"
  20073. deprecated="not deprecated">
  20074. <doc>
  20075. <![CDATA[Default parameter value.]]>
  20076. </doc>
  20077. </field>
  20078. <doc>
  20079. <![CDATA[Namenode RPC address parameter.]]>
  20080. </doc>
  20081. </class>
  20082. <!-- end class org.apache.hadoop.hdfs.web.resources.NamenodeAddressParam -->
  20083. <!-- start class org.apache.hadoop.hdfs.web.resources.NewLengthParam -->
  20084. <class name="NewLengthParam" extends="org.apache.hadoop.hdfs.web.resources.LongParam"
  20085. abstract="false"
  20086. static="false" final="false" visibility="public"
  20087. deprecated="not deprecated">
  20088. <constructor name="NewLengthParam" type="java.lang.Long"
  20089. static="false" final="false" visibility="public"
  20090. deprecated="not deprecated">
  20091. <doc>
  20092. <![CDATA[Constructor.
  20093. @param value the parameter value.]]>
  20094. </doc>
  20095. </constructor>
  20096. <constructor name="NewLengthParam" type="java.lang.String"
  20097. static="false" final="false" visibility="public"
  20098. deprecated="not deprecated">
  20099. <doc>
  20100. <![CDATA[Constructor.
  20101. @param str a string representation of the parameter value.]]>
  20102. </doc>
  20103. </constructor>
  20104. <method name="getName" return="java.lang.String"
  20105. abstract="false" native="false" synchronized="false"
  20106. static="false" final="false" visibility="public"
  20107. deprecated="not deprecated">
  20108. </method>
  20109. <field name="NAME" type="java.lang.String"
  20110. transient="false" volatile="false"
  20111. static="true" final="true" visibility="public"
  20112. deprecated="not deprecated">
  20113. <doc>
  20114. <![CDATA[Parameter name.]]>
  20115. </doc>
  20116. </field>
  20117. <field name="DEFAULT" type="java.lang.String"
  20118. transient="false" volatile="false"
  20119. static="true" final="true" visibility="public"
  20120. deprecated="not deprecated">
  20121. <doc>
  20122. <![CDATA[Default parameter value.]]>
  20123. </doc>
  20124. </field>
  20125. <doc>
  20126. <![CDATA[NewLength parameter.]]>
  20127. </doc>
  20128. </class>
  20129. <!-- end class org.apache.hadoop.hdfs.web.resources.NewLengthParam -->
  20130. <!-- start class org.apache.hadoop.hdfs.web.resources.OffsetParam -->
  20131. <class name="OffsetParam" extends="org.apache.hadoop.hdfs.web.resources.LongParam"
  20132. abstract="false"
  20133. static="false" final="false" visibility="public"
  20134. deprecated="not deprecated">
  20135. <constructor name="OffsetParam" type="java.lang.Long"
  20136. static="false" final="false" visibility="public"
  20137. deprecated="not deprecated">
  20138. <doc>
  20139. <![CDATA[Constructor.
  20140. @param value the parameter value.]]>
  20141. </doc>
  20142. </constructor>
  20143. <constructor name="OffsetParam" type="java.lang.String"
  20144. static="false" final="false" visibility="public"
  20145. deprecated="not deprecated">
  20146. <doc>
  20147. <![CDATA[Constructor.
  20148. @param str a string representation of the parameter value.]]>
  20149. </doc>
  20150. </constructor>
  20151. <method name="getName" return="java.lang.String"
  20152. abstract="false" native="false" synchronized="false"
  20153. static="false" final="false" visibility="public"
  20154. deprecated="not deprecated">
  20155. </method>
  20156. <method name="getOffset" return="java.lang.Long"
  20157. abstract="false" native="false" synchronized="false"
  20158. static="false" final="false" visibility="public"
  20159. deprecated="not deprecated">
  20160. </method>
  20161. <field name="NAME" type="java.lang.String"
  20162. transient="false" volatile="false"
  20163. static="true" final="true" visibility="public"
  20164. deprecated="not deprecated">
  20165. <doc>
  20166. <![CDATA[Parameter name.]]>
  20167. </doc>
  20168. </field>
  20169. <field name="DEFAULT" type="java.lang.String"
  20170. transient="false" volatile="false"
  20171. static="true" final="true" visibility="public"
  20172. deprecated="not deprecated">
  20173. <doc>
  20174. <![CDATA[Default parameter value.]]>
  20175. </doc>
  20176. </field>
  20177. <doc>
  20178. <![CDATA[Offset parameter.]]>
  20179. </doc>
  20180. </class>
  20181. <!-- end class org.apache.hadoop.hdfs.web.resources.OffsetParam -->
  20182. <!-- start class org.apache.hadoop.hdfs.web.resources.OldSnapshotNameParam -->
  20183. <class name="OldSnapshotNameParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  20184. abstract="false"
  20185. static="false" final="false" visibility="public"
  20186. deprecated="not deprecated">
  20187. <constructor name="OldSnapshotNameParam" type="java.lang.String"
  20188. static="false" final="false" visibility="public"
  20189. deprecated="not deprecated">
  20190. </constructor>
  20191. <method name="getName" return="java.lang.String"
  20192. abstract="false" native="false" synchronized="false"
  20193. static="false" final="false" visibility="public"
  20194. deprecated="not deprecated">
  20195. </method>
  20196. <field name="NAME" type="java.lang.String"
  20197. transient="false" volatile="false"
  20198. static="true" final="true" visibility="public"
  20199. deprecated="not deprecated">
  20200. <doc>
  20201. <![CDATA[Parameter name.]]>
  20202. </doc>
  20203. </field>
  20204. <field name="DEFAULT" type="java.lang.String"
  20205. transient="false" volatile="false"
  20206. static="true" final="true" visibility="public"
  20207. deprecated="not deprecated">
  20208. <doc>
  20209. <![CDATA[Default parameter value.]]>
  20210. </doc>
  20211. </field>
  20212. <doc>
  20213. <![CDATA[The old snapshot name parameter for renameSnapshot operation.]]>
  20214. </doc>
  20215. </class>
  20216. <!-- end class org.apache.hadoop.hdfs.web.resources.OldSnapshotNameParam -->
  20217. <!-- start class org.apache.hadoop.hdfs.web.resources.OverwriteParam -->
  20218. <class name="OverwriteParam" extends="org.apache.hadoop.hdfs.web.resources.BooleanParam"
  20219. abstract="false"
  20220. static="false" final="false" visibility="public"
  20221. deprecated="not deprecated">
  20222. <constructor name="OverwriteParam" type="java.lang.Boolean"
  20223. static="false" final="false" visibility="public"
  20224. deprecated="not deprecated">
  20225. <doc>
  20226. <![CDATA[Constructor.
  20227. @param value the parameter value.]]>
  20228. </doc>
  20229. </constructor>
  20230. <constructor name="OverwriteParam" type="java.lang.String"
  20231. static="false" final="false" visibility="public"
  20232. deprecated="not deprecated">
  20233. <doc>
  20234. <![CDATA[Constructor.
  20235. @param str a string representation of the parameter value.]]>
  20236. </doc>
  20237. </constructor>
  20238. <method name="getName" return="java.lang.String"
  20239. abstract="false" native="false" synchronized="false"
  20240. static="false" final="false" visibility="public"
  20241. deprecated="not deprecated">
  20242. </method>
  20243. <field name="NAME" type="java.lang.String"
  20244. transient="false" volatile="false"
  20245. static="true" final="true" visibility="public"
  20246. deprecated="not deprecated">
  20247. <doc>
  20248. <![CDATA[Parameter name.]]>
  20249. </doc>
  20250. </field>
  20251. <field name="DEFAULT" type="java.lang.String"
  20252. transient="false" volatile="false"
  20253. static="true" final="true" visibility="public"
  20254. deprecated="not deprecated">
  20255. <doc>
  20256. <![CDATA[Default parameter value.]]>
  20257. </doc>
  20258. </field>
  20259. <doc>
  20260. <![CDATA[Overwrite parameter.]]>
  20261. </doc>
  20262. </class>
  20263. <!-- end class org.apache.hadoop.hdfs.web.resources.OverwriteParam -->
  20264. <!-- start class org.apache.hadoop.hdfs.web.resources.OwnerParam -->
  20265. <class name="OwnerParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  20266. abstract="false"
  20267. static="false" final="false" visibility="public"
  20268. deprecated="not deprecated">
  20269. <constructor name="OwnerParam" type="java.lang.String"
  20270. static="false" final="false" visibility="public"
  20271. deprecated="not deprecated">
  20272. <doc>
  20273. <![CDATA[Constructor.
  20274. @param str a string representation of the parameter value.]]>
  20275. </doc>
  20276. </constructor>
  20277. <method name="getName" return="java.lang.String"
  20278. abstract="false" native="false" synchronized="false"
  20279. static="false" final="false" visibility="public"
  20280. deprecated="not deprecated">
  20281. </method>
  20282. <field name="NAME" type="java.lang.String"
  20283. transient="false" volatile="false"
  20284. static="true" final="true" visibility="public"
  20285. deprecated="not deprecated">
  20286. <doc>
  20287. <![CDATA[Parameter name.]]>
  20288. </doc>
  20289. </field>
  20290. <field name="DEFAULT" type="java.lang.String"
  20291. transient="false" volatile="false"
  20292. static="true" final="true" visibility="public"
  20293. deprecated="not deprecated">
  20294. <doc>
  20295. <![CDATA[Default parameter value.]]>
  20296. </doc>
  20297. </field>
  20298. <doc>
  20299. <![CDATA[Owner parameter.]]>
  20300. </doc>
  20301. </class>
  20302. <!-- end class org.apache.hadoop.hdfs.web.resources.OwnerParam -->
  20303. <!-- start class org.apache.hadoop.hdfs.web.resources.Param -->
  20304. <class name="Param" extends="java.lang.Object"
  20305. abstract="true"
  20306. static="false" final="false" visibility="public"
  20307. deprecated="not deprecated">
  20308. <method name="toSortedString" return="java.lang.String"
  20309. abstract="false" native="false" synchronized="false"
  20310. static="true" final="false" visibility="public"
  20311. deprecated="not deprecated">
  20312. <param name="separator" type="java.lang.String"/>
  20313. <param name="parameters" type="org.apache.hadoop.hdfs.web.resources.Param[]"/>
  20314. <doc>
  20315. <![CDATA[Convert the parameters to a sorted String.
  20316. @param separator URI parameter separator character
  20317. @param parameters parameters to encode into a string
  20318. @return the encoded URI string]]>
  20319. </doc>
  20320. </method>
  20321. <method name="getValue" return="T"
  20322. abstract="false" native="false" synchronized="false"
  20323. static="false" final="true" visibility="public"
  20324. deprecated="not deprecated">
  20325. <doc>
  20326. <![CDATA[@return the parameter value.]]>
  20327. </doc>
  20328. </method>
  20329. <method name="getValueString" return="java.lang.String"
  20330. abstract="true" native="false" synchronized="false"
  20331. static="false" final="false" visibility="public"
  20332. deprecated="not deprecated">
  20333. <doc>
  20334. <![CDATA[@return the parameter value as a string]]>
  20335. </doc>
  20336. </method>
  20337. <method name="getName" return="java.lang.String"
  20338. abstract="true" native="false" synchronized="false"
  20339. static="false" final="false" visibility="public"
  20340. deprecated="not deprecated">
  20341. <doc>
  20342. <![CDATA[@return the parameter name.]]>
  20343. </doc>
  20344. </method>
  20345. <method name="toString" return="java.lang.String"
  20346. abstract="false" native="false" synchronized="false"
  20347. static="false" final="false" visibility="public"
  20348. deprecated="not deprecated">
  20349. </method>
  20350. <doc>
  20351. <![CDATA[Base class of parameters.]]>
  20352. </doc>
  20353. </class>
  20354. <!-- end class org.apache.hadoop.hdfs.web.resources.Param -->
  20355. <!-- start class org.apache.hadoop.hdfs.web.resources.PermissionParam -->
  20356. <class name="PermissionParam" extends="org.apache.hadoop.hdfs.web.resources.ShortParam"
  20357. abstract="false"
  20358. static="false" final="false" visibility="public"
  20359. deprecated="not deprecated">
  20360. <constructor name="PermissionParam" type="org.apache.hadoop.fs.permission.FsPermission"
  20361. static="false" final="false" visibility="public"
  20362. deprecated="not deprecated">
  20363. <doc>
  20364. <![CDATA[Constructor.
  20365. @param value the parameter value.]]>
  20366. </doc>
  20367. </constructor>
  20368. <constructor name="PermissionParam" type="java.lang.String"
  20369. static="false" final="false" visibility="public"
  20370. deprecated="not deprecated">
  20371. <doc>
  20372. <![CDATA[Constructor.
  20373. @param str a string representation of the parameter value.]]>
  20374. </doc>
  20375. </constructor>
  20376. <method name="getDefaultFsPermission" return="org.apache.hadoop.fs.permission.FsPermission"
  20377. abstract="false" native="false" synchronized="false"
  20378. static="true" final="false" visibility="public"
  20379. deprecated="not deprecated">
  20380. <doc>
  20381. <![CDATA[@return the default FsPermission.]]>
  20382. </doc>
  20383. </method>
  20384. <method name="getName" return="java.lang.String"
  20385. abstract="false" native="false" synchronized="false"
  20386. static="false" final="false" visibility="public"
  20387. deprecated="not deprecated">
  20388. </method>
  20389. <method name="getFsPermission" return="org.apache.hadoop.fs.permission.FsPermission"
  20390. abstract="false" native="false" synchronized="false"
  20391. static="false" final="false" visibility="public"
  20392. deprecated="not deprecated">
  20393. <doc>
  20394. <![CDATA[@return the represented FsPermission.]]>
  20395. </doc>
  20396. </method>
  20397. <field name="NAME" type="java.lang.String"
  20398. transient="false" volatile="false"
  20399. static="true" final="true" visibility="public"
  20400. deprecated="not deprecated">
  20401. <doc>
  20402. <![CDATA[Parameter name.]]>
  20403. </doc>
  20404. </field>
  20405. <field name="DEFAULT" type="java.lang.String"
  20406. transient="false" volatile="false"
  20407. static="true" final="true" visibility="public"
  20408. deprecated="not deprecated">
  20409. <doc>
  20410. <![CDATA[Default parameter value.]]>
  20411. </doc>
  20412. </field>
  20413. <doc>
  20414. <![CDATA[Permission parameter, use a Short to represent a FsPermission.]]>
  20415. </doc>
  20416. </class>
  20417. <!-- end class org.apache.hadoop.hdfs.web.resources.PermissionParam -->
  20418. <!-- start class org.apache.hadoop.hdfs.web.resources.PostOpParam -->
  20419. <class name="PostOpParam" extends="org.apache.hadoop.hdfs.web.resources.HttpOpParam"
  20420. abstract="false"
  20421. static="false" final="false" visibility="public"
  20422. deprecated="not deprecated">
  20423. <constructor name="PostOpParam" type="java.lang.String"
  20424. static="false" final="false" visibility="public"
  20425. deprecated="not deprecated">
  20426. <doc>
  20427. <![CDATA[Constructor.
  20428. @param str a string representation of the parameter value.]]>
  20429. </doc>
  20430. </constructor>
  20431. <method name="getName" return="java.lang.String"
  20432. abstract="false" native="false" synchronized="false"
  20433. static="false" final="false" visibility="public"
  20434. deprecated="not deprecated">
  20435. </method>
  20436. <doc>
  20437. <![CDATA[Http POST operation parameter.]]>
  20438. </doc>
  20439. </class>
  20440. <!-- end class org.apache.hadoop.hdfs.web.resources.PostOpParam -->
  20441. <!-- start class org.apache.hadoop.hdfs.web.resources.PostOpParam.Op -->
  20442. <class name="PostOpParam.Op" extends="java.lang.Enum"
  20443. abstract="false"
  20444. static="true" final="true" visibility="public"
  20445. deprecated="not deprecated">
  20446. <implements name="org.apache.hadoop.hdfs.web.resources.HttpOpParam.Op"/>
  20447. <method name="values" return="org.apache.hadoop.hdfs.web.resources.PostOpParam.Op[]"
  20448. abstract="false" native="false" synchronized="false"
  20449. static="true" final="false" visibility="public"
  20450. deprecated="not deprecated">
  20451. </method>
  20452. <method name="valueOf" return="org.apache.hadoop.hdfs.web.resources.PostOpParam.Op"
  20453. abstract="false" native="false" synchronized="false"
  20454. static="true" final="false" visibility="public"
  20455. deprecated="not deprecated">
  20456. <param name="name" type="java.lang.String"/>
  20457. </method>
  20458. <method name="getType" return="org.apache.hadoop.hdfs.web.resources.HttpOpParam.Type"
  20459. abstract="false" native="false" synchronized="false"
  20460. static="false" final="false" visibility="public"
  20461. deprecated="not deprecated">
  20462. </method>
  20463. <method name="getRequireAuth" return="boolean"
  20464. abstract="false" native="false" synchronized="false"
  20465. static="false" final="false" visibility="public"
  20466. deprecated="not deprecated">
  20467. </method>
  20468. <method name="getDoOutput" return="boolean"
  20469. abstract="false" native="false" synchronized="false"
  20470. static="false" final="false" visibility="public"
  20471. deprecated="not deprecated">
  20472. </method>
  20473. <method name="getRedirect" return="boolean"
  20474. abstract="false" native="false" synchronized="false"
  20475. static="false" final="false" visibility="public"
  20476. deprecated="not deprecated">
  20477. </method>
  20478. <method name="getExpectedHttpResponseCode" return="int"
  20479. abstract="false" native="false" synchronized="false"
  20480. static="false" final="false" visibility="public"
  20481. deprecated="not deprecated">
  20482. </method>
  20483. <method name="toQueryString" return="java.lang.String"
  20484. abstract="false" native="false" synchronized="false"
  20485. static="false" final="false" visibility="public"
  20486. deprecated="not deprecated">
  20487. <doc>
  20488. <![CDATA[@return a URI query string.]]>
  20489. </doc>
  20490. </method>
  20491. <doc>
  20492. <![CDATA[Post operations.]]>
  20493. </doc>
  20494. </class>
  20495. <!-- end class org.apache.hadoop.hdfs.web.resources.PostOpParam.Op -->
  20496. <!-- start class org.apache.hadoop.hdfs.web.resources.PutOpParam -->
  20497. <class name="PutOpParam" extends="org.apache.hadoop.hdfs.web.resources.HttpOpParam"
  20498. abstract="false"
  20499. static="false" final="false" visibility="public"
  20500. deprecated="not deprecated">
  20501. <constructor name="PutOpParam" type="java.lang.String"
  20502. static="false" final="false" visibility="public"
  20503. deprecated="not deprecated">
  20504. <doc>
  20505. <![CDATA[Constructor.
  20506. @param str a string representation of the parameter value.]]>
  20507. </doc>
  20508. </constructor>
  20509. <method name="getName" return="java.lang.String"
  20510. abstract="false" native="false" synchronized="false"
  20511. static="false" final="false" visibility="public"
  20512. deprecated="not deprecated">
  20513. </method>
  20514. <doc>
  20515. <![CDATA[Http POST operation parameter.]]>
  20516. </doc>
  20517. </class>
  20518. <!-- end class org.apache.hadoop.hdfs.web.resources.PutOpParam -->
  20519. <!-- start class org.apache.hadoop.hdfs.web.resources.PutOpParam.Op -->
  20520. <class name="PutOpParam.Op" extends="java.lang.Enum"
  20521. abstract="false"
  20522. static="true" final="true" visibility="public"
  20523. deprecated="not deprecated">
  20524. <implements name="org.apache.hadoop.hdfs.web.resources.HttpOpParam.Op"/>
  20525. <method name="values" return="org.apache.hadoop.hdfs.web.resources.PutOpParam.Op[]"
  20526. abstract="false" native="false" synchronized="false"
  20527. static="true" final="false" visibility="public"
  20528. deprecated="not deprecated">
  20529. </method>
  20530. <method name="valueOf" return="org.apache.hadoop.hdfs.web.resources.PutOpParam.Op"
  20531. abstract="false" native="false" synchronized="false"
  20532. static="true" final="false" visibility="public"
  20533. deprecated="not deprecated">
  20534. <param name="name" type="java.lang.String"/>
  20535. </method>
  20536. <method name="getType" return="org.apache.hadoop.hdfs.web.resources.HttpOpParam.Type"
  20537. abstract="false" native="false" synchronized="false"
  20538. static="false" final="false" visibility="public"
  20539. deprecated="not deprecated">
  20540. </method>
  20541. <method name="getRequireAuth" return="boolean"
  20542. abstract="false" native="false" synchronized="false"
  20543. static="false" final="false" visibility="public"
  20544. deprecated="not deprecated">
  20545. </method>
  20546. <method name="getDoOutput" return="boolean"
  20547. abstract="false" native="false" synchronized="false"
  20548. static="false" final="false" visibility="public"
  20549. deprecated="not deprecated">
  20550. </method>
  20551. <method name="getRedirect" return="boolean"
  20552. abstract="false" native="false" synchronized="false"
  20553. static="false" final="false" visibility="public"
  20554. deprecated="not deprecated">
  20555. </method>
  20556. <method name="getExpectedHttpResponseCode" return="int"
  20557. abstract="false" native="false" synchronized="false"
  20558. static="false" final="false" visibility="public"
  20559. deprecated="not deprecated">
  20560. </method>
  20561. <method name="toQueryString" return="java.lang.String"
  20562. abstract="false" native="false" synchronized="false"
  20563. static="false" final="false" visibility="public"
  20564. deprecated="not deprecated">
  20565. </method>
  20566. <doc>
  20567. <![CDATA[Put operations.]]>
  20568. </doc>
  20569. </class>
  20570. <!-- end class org.apache.hadoop.hdfs.web.resources.PutOpParam.Op -->
  20571. <!-- start class org.apache.hadoop.hdfs.web.resources.RecursiveParam -->
  20572. <class name="RecursiveParam" extends="org.apache.hadoop.hdfs.web.resources.BooleanParam"
  20573. abstract="false"
  20574. static="false" final="false" visibility="public"
  20575. deprecated="not deprecated">
  20576. <constructor name="RecursiveParam" type="java.lang.Boolean"
  20577. static="false" final="false" visibility="public"
  20578. deprecated="not deprecated">
  20579. <doc>
  20580. <![CDATA[Constructor.
  20581. @param value the parameter value.]]>
  20582. </doc>
  20583. </constructor>
  20584. <constructor name="RecursiveParam" type="java.lang.String"
  20585. static="false" final="false" visibility="public"
  20586. deprecated="not deprecated">
  20587. <doc>
  20588. <![CDATA[Constructor.
  20589. @param str a string representation of the parameter value.]]>
  20590. </doc>
  20591. </constructor>
  20592. <method name="getName" return="java.lang.String"
  20593. abstract="false" native="false" synchronized="false"
  20594. static="false" final="false" visibility="public"
  20595. deprecated="not deprecated">
  20596. </method>
  20597. <field name="NAME" type="java.lang.String"
  20598. transient="false" volatile="false"
  20599. static="true" final="true" visibility="public"
  20600. deprecated="not deprecated">
  20601. <doc>
  20602. <![CDATA[Parameter name.]]>
  20603. </doc>
  20604. </field>
  20605. <field name="DEFAULT" type="java.lang.String"
  20606. transient="false" volatile="false"
  20607. static="true" final="true" visibility="public"
  20608. deprecated="not deprecated">
  20609. <doc>
  20610. <![CDATA[Default parameter value.]]>
  20611. </doc>
  20612. </field>
  20613. <doc>
  20614. <![CDATA[Recursive parameter.]]>
  20615. </doc>
  20616. </class>
  20617. <!-- end class org.apache.hadoop.hdfs.web.resources.RecursiveParam -->
  20618. <!-- start class org.apache.hadoop.hdfs.web.resources.RenameOptionSetParam -->
  20619. <class name="RenameOptionSetParam" extends="org.apache.hadoop.hdfs.web.resources.EnumSetParam"
  20620. abstract="false"
  20621. static="false" final="false" visibility="public"
  20622. deprecated="not deprecated">
  20623. <constructor name="RenameOptionSetParam" type="org.apache.hadoop.fs.Options.Rename[]"
  20624. static="false" final="false" visibility="public"
  20625. deprecated="not deprecated">
  20626. <doc>
  20627. <![CDATA[Constructor.
  20628. @param options rename options.]]>
  20629. </doc>
  20630. </constructor>
  20631. <constructor name="RenameOptionSetParam" type="java.lang.String"
  20632. static="false" final="false" visibility="public"
  20633. deprecated="not deprecated">
  20634. <doc>
  20635. <![CDATA[Constructor.
  20636. @param str a string representation of the parameter value.]]>
  20637. </doc>
  20638. </constructor>
  20639. <method name="getName" return="java.lang.String"
  20640. abstract="false" native="false" synchronized="false"
  20641. static="false" final="false" visibility="public"
  20642. deprecated="not deprecated">
  20643. </method>
  20644. <field name="NAME" type="java.lang.String"
  20645. transient="false" volatile="false"
  20646. static="true" final="true" visibility="public"
  20647. deprecated="not deprecated">
  20648. <doc>
  20649. <![CDATA[Parameter name.]]>
  20650. </doc>
  20651. </field>
  20652. <field name="DEFAULT" type="java.lang.String"
  20653. transient="false" volatile="false"
  20654. static="true" final="true" visibility="public"
  20655. deprecated="not deprecated">
  20656. <doc>
  20657. <![CDATA[Default parameter value.]]>
  20658. </doc>
  20659. </field>
  20660. <doc>
  20661. <![CDATA[Rename option set parameter.]]>
  20662. </doc>
  20663. </class>
  20664. <!-- end class org.apache.hadoop.hdfs.web.resources.RenameOptionSetParam -->
  20665. <!-- start class org.apache.hadoop.hdfs.web.resources.RenewerParam -->
  20666. <class name="RenewerParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  20667. abstract="false"
  20668. static="false" final="false" visibility="public"
  20669. deprecated="not deprecated">
  20670. <constructor name="RenewerParam" type="java.lang.String"
  20671. static="false" final="false" visibility="public"
  20672. deprecated="not deprecated">
  20673. <doc>
  20674. <![CDATA[Constructor.
  20675. @param str a string representation of the parameter value.]]>
  20676. </doc>
  20677. </constructor>
  20678. <method name="getName" return="java.lang.String"
  20679. abstract="false" native="false" synchronized="false"
  20680. static="false" final="false" visibility="public"
  20681. deprecated="not deprecated">
  20682. </method>
  20683. <field name="NAME" type="java.lang.String"
  20684. transient="false" volatile="false"
  20685. static="true" final="true" visibility="public"
  20686. deprecated="not deprecated">
  20687. <doc>
  20688. <![CDATA[Parameter name.]]>
  20689. </doc>
  20690. </field>
  20691. <field name="DEFAULT" type="java.lang.String"
  20692. transient="false" volatile="false"
  20693. static="true" final="true" visibility="public"
  20694. deprecated="not deprecated">
  20695. <doc>
  20696. <![CDATA[Default parameter value.]]>
  20697. </doc>
  20698. </field>
  20699. <doc>
  20700. <![CDATA[Renewer parameter.]]>
  20701. </doc>
  20702. </class>
  20703. <!-- end class org.apache.hadoop.hdfs.web.resources.RenewerParam -->
  20704. <!-- start class org.apache.hadoop.hdfs.web.resources.ReplicationParam -->
  20705. <class name="ReplicationParam" extends="org.apache.hadoop.hdfs.web.resources.ShortParam"
  20706. abstract="false"
  20707. static="false" final="false" visibility="public"
  20708. deprecated="not deprecated">
  20709. <constructor name="ReplicationParam" type="java.lang.Short"
  20710. static="false" final="false" visibility="public"
  20711. deprecated="not deprecated">
  20712. <doc>
  20713. <![CDATA[Constructor.
  20714. @param value the parameter value.]]>
  20715. </doc>
  20716. </constructor>
  20717. <constructor name="ReplicationParam" type="java.lang.String"
  20718. static="false" final="false" visibility="public"
  20719. deprecated="not deprecated">
  20720. <doc>
  20721. <![CDATA[Constructor.
  20722. @param str a string representation of the parameter value.]]>
  20723. </doc>
  20724. </constructor>
  20725. <method name="getName" return="java.lang.String"
  20726. abstract="false" native="false" synchronized="false"
  20727. static="false" final="false" visibility="public"
  20728. deprecated="not deprecated">
  20729. </method>
  20730. <method name="getValue" return="short"
  20731. abstract="false" native="false" synchronized="false"
  20732. static="false" final="false" visibility="public"
  20733. deprecated="not deprecated">
  20734. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  20735. <doc>
  20736. <![CDATA[@return the value or, if it is null, return the default from conf.]]>
  20737. </doc>
  20738. </method>
  20739. <field name="NAME" type="java.lang.String"
  20740. transient="false" volatile="false"
  20741. static="true" final="true" visibility="public"
  20742. deprecated="not deprecated">
  20743. <doc>
  20744. <![CDATA[Parameter name.]]>
  20745. </doc>
  20746. </field>
  20747. <field name="DEFAULT" type="java.lang.String"
  20748. transient="false" volatile="false"
  20749. static="true" final="true" visibility="public"
  20750. deprecated="not deprecated">
  20751. <doc>
  20752. <![CDATA[Default parameter value.]]>
  20753. </doc>
  20754. </field>
  20755. <doc>
  20756. <![CDATA[Replication parameter.]]>
  20757. </doc>
  20758. </class>
  20759. <!-- end class org.apache.hadoop.hdfs.web.resources.ReplicationParam -->
  20760. <!-- start class org.apache.hadoop.hdfs.web.resources.SnapshotNameParam -->
  20761. <class name="SnapshotNameParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  20762. abstract="false"
  20763. static="false" final="false" visibility="public"
  20764. deprecated="not deprecated">
  20765. <constructor name="SnapshotNameParam" type="java.lang.String"
  20766. static="false" final="false" visibility="public"
  20767. deprecated="not deprecated">
  20768. </constructor>
  20769. <method name="getName" return="java.lang.String"
  20770. abstract="false" native="false" synchronized="false"
  20771. static="false" final="false" visibility="public"
  20772. deprecated="not deprecated">
  20773. </method>
  20774. <field name="NAME" type="java.lang.String"
  20775. transient="false" volatile="false"
  20776. static="true" final="true" visibility="public"
  20777. deprecated="not deprecated">
  20778. <doc>
  20779. <![CDATA[Parameter name.]]>
  20780. </doc>
  20781. </field>
  20782. <field name="DEFAULT" type="java.lang.String"
  20783. transient="false" volatile="false"
  20784. static="true" final="true" visibility="public"
  20785. deprecated="not deprecated">
  20786. <doc>
  20787. <![CDATA[Default parameter value.]]>
  20788. </doc>
  20789. </field>
  20790. <doc>
  20791. <![CDATA[The snapshot name parameter for createSnapshot and deleteSnapshot operation.
  20792. Also used to indicate the new snapshot name for renameSnapshot operation.]]>
  20793. </doc>
  20794. </class>
  20795. <!-- end class org.apache.hadoop.hdfs.web.resources.SnapshotNameParam -->
  20796. <!-- start class org.apache.hadoop.hdfs.web.resources.TokenArgumentParam -->
  20797. <class name="TokenArgumentParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  20798. abstract="false"
  20799. static="false" final="false" visibility="public"
  20800. deprecated="not deprecated">
  20801. <constructor name="TokenArgumentParam" type="java.lang.String"
  20802. static="false" final="false" visibility="public"
  20803. deprecated="not deprecated">
  20804. <doc>
  20805. <![CDATA[Constructor.
  20806. @param str A string representation of the parameter value.]]>
  20807. </doc>
  20808. </constructor>
  20809. <method name="getName" return="java.lang.String"
  20810. abstract="false" native="false" synchronized="false"
  20811. static="false" final="false" visibility="public"
  20812. deprecated="not deprecated">
  20813. </method>
  20814. <field name="NAME" type="java.lang.String"
  20815. transient="false" volatile="false"
  20816. static="true" final="true" visibility="public"
  20817. deprecated="not deprecated">
  20818. <doc>
  20819. <![CDATA[Parameter name.]]>
  20820. </doc>
  20821. </field>
  20822. <field name="DEFAULT" type="java.lang.String"
  20823. transient="false" volatile="false"
  20824. static="true" final="true" visibility="public"
  20825. deprecated="not deprecated">
  20826. <doc>
  20827. <![CDATA[Default parameter value.]]>
  20828. </doc>
  20829. </field>
  20830. <doc>
  20831. <![CDATA[Represents delegation token parameter as method arguments. This is
  20832. different from {@link DelegationParam}.]]>
  20833. </doc>
  20834. </class>
  20835. <!-- end class org.apache.hadoop.hdfs.web.resources.TokenArgumentParam -->
  20836. <!-- start class org.apache.hadoop.hdfs.web.resources.TokenKindParam -->
  20837. <class name="TokenKindParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  20838. abstract="false"
  20839. static="false" final="false" visibility="public"
  20840. deprecated="not deprecated">
  20841. <constructor name="TokenKindParam" type="java.lang.String"
  20842. static="false" final="false" visibility="public"
  20843. deprecated="not deprecated">
  20844. <doc>
  20845. <![CDATA[Constructor.
  20846. @param str a string representation of the parameter value.]]>
  20847. </doc>
  20848. </constructor>
  20849. <method name="getName" return="java.lang.String"
  20850. abstract="false" native="false" synchronized="false"
  20851. static="false" final="false" visibility="public"
  20852. deprecated="not deprecated">
  20853. </method>
  20854. <field name="NAME" type="java.lang.String"
  20855. transient="false" volatile="false"
  20856. static="true" final="true" visibility="public"
  20857. deprecated="not deprecated">
  20858. <doc>
  20859. <![CDATA[Parameter name]]>
  20860. </doc>
  20861. </field>
  20862. <field name="DEFAULT" type="java.lang.String"
  20863. transient="false" volatile="false"
  20864. static="true" final="true" visibility="public"
  20865. deprecated="not deprecated">
  20866. <doc>
  20867. <![CDATA[Default parameter value.]]>
  20868. </doc>
  20869. </field>
  20870. </class>
  20871. <!-- end class org.apache.hadoop.hdfs.web.resources.TokenKindParam -->
  20872. <!-- start class org.apache.hadoop.hdfs.web.resources.TokenServiceParam -->
  20873. <class name="TokenServiceParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  20874. abstract="false"
  20875. static="false" final="false" visibility="public"
  20876. deprecated="not deprecated">
  20877. <constructor name="TokenServiceParam" type="java.lang.String"
  20878. static="false" final="false" visibility="public"
  20879. deprecated="not deprecated">
  20880. <doc>
  20881. <![CDATA[Constructor.
  20882. @param str a string representation of the parameter value.]]>
  20883. </doc>
  20884. </constructor>
  20885. <method name="getName" return="java.lang.String"
  20886. abstract="false" native="false" synchronized="false"
  20887. static="false" final="false" visibility="public"
  20888. deprecated="not deprecated">
  20889. </method>
  20890. <field name="NAME" type="java.lang.String"
  20891. transient="false" volatile="false"
  20892. static="true" final="true" visibility="public"
  20893. deprecated="not deprecated">
  20894. <doc>
  20895. <![CDATA[Parameter name]]>
  20896. </doc>
  20897. </field>
  20898. <field name="DEFAULT" type="java.lang.String"
  20899. transient="false" volatile="false"
  20900. static="true" final="true" visibility="public"
  20901. deprecated="not deprecated">
  20902. <doc>
  20903. <![CDATA[Default parameter value.]]>
  20904. </doc>
  20905. </field>
  20906. </class>
  20907. <!-- end class org.apache.hadoop.hdfs.web.resources.TokenServiceParam -->
  20908. <!-- start class org.apache.hadoop.hdfs.web.resources.UriFsPathParam -->
  20909. <class name="UriFsPathParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  20910. abstract="false"
  20911. static="false" final="false" visibility="public"
  20912. deprecated="not deprecated">
  20913. <constructor name="UriFsPathParam" type="java.lang.String"
  20914. static="false" final="false" visibility="public"
  20915. deprecated="not deprecated">
  20916. <doc>
  20917. <![CDATA[Constructor.
  20918. @param str a string representation of the parameter value.]]>
  20919. </doc>
  20920. </constructor>
  20921. <method name="getName" return="java.lang.String"
  20922. abstract="false" native="false" synchronized="false"
  20923. static="false" final="false" visibility="public"
  20924. deprecated="not deprecated">
  20925. </method>
  20926. <method name="getAbsolutePath" return="java.lang.String"
  20927. abstract="false" native="false" synchronized="false"
  20928. static="false" final="true" visibility="public"
  20929. deprecated="not deprecated">
  20930. <doc>
  20931. <![CDATA[@return the absolute path.]]>
  20932. </doc>
  20933. </method>
  20934. <field name="NAME" type="java.lang.String"
  20935. transient="false" volatile="false"
  20936. static="true" final="true" visibility="public"
  20937. deprecated="not deprecated">
  20938. <doc>
  20939. <![CDATA[Parameter name.]]>
  20940. </doc>
  20941. </field>
  20942. <doc>
  20943. <![CDATA[The FileSystem path parameter.]]>
  20944. </doc>
  20945. </class>
  20946. <!-- end class org.apache.hadoop.hdfs.web.resources.UriFsPathParam -->
  20947. <!-- start class org.apache.hadoop.hdfs.web.resources.UserParam -->
  20948. <class name="UserParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  20949. abstract="false"
  20950. static="false" final="false" visibility="public"
  20951. deprecated="not deprecated">
  20952. <constructor name="UserParam" type="java.lang.String"
  20953. static="false" final="false" visibility="public"
  20954. deprecated="not deprecated">
  20955. <doc>
  20956. <![CDATA[Constructor.
  20957. @param str a string representation of the parameter value.]]>
  20958. </doc>
  20959. </constructor>
  20960. <constructor name="UserParam" type="org.apache.hadoop.security.UserGroupInformation"
  20961. static="false" final="false" visibility="public"
  20962. deprecated="not deprecated">
  20963. <doc>
  20964. <![CDATA[Construct an object from a UGI.]]>
  20965. </doc>
  20966. </constructor>
  20967. <method name="getUserPatternDomain" return="org.apache.hadoop.hdfs.web.resources.StringParam.Domain"
  20968. abstract="false" native="false" synchronized="false"
  20969. static="true" final="false" visibility="public"
  20970. deprecated="not deprecated">
  20971. </method>
  20972. <method name="setUserPatternDomain"
  20973. abstract="false" native="false" synchronized="false"
  20974. static="true" final="false" visibility="public"
  20975. deprecated="not deprecated">
  20976. <param name="dm" type="org.apache.hadoop.hdfs.web.resources.StringParam.Domain"/>
  20977. </method>
  20978. <method name="setUserPattern"
  20979. abstract="false" native="false" synchronized="false"
  20980. static="true" final="false" visibility="public"
  20981. deprecated="not deprecated">
  20982. <param name="pattern" type="java.lang.String"/>
  20983. </method>
  20984. <method name="getName" return="java.lang.String"
  20985. abstract="false" native="false" synchronized="false"
  20986. static="false" final="false" visibility="public"
  20987. deprecated="not deprecated">
  20988. </method>
  20989. <field name="NAME" type="java.lang.String"
  20990. transient="false" volatile="false"
  20991. static="true" final="true" visibility="public"
  20992. deprecated="not deprecated">
  20993. <doc>
  20994. <![CDATA[Parameter name.]]>
  20995. </doc>
  20996. </field>
  20997. <field name="DEFAULT" type="java.lang.String"
  20998. transient="false" volatile="false"
  20999. static="true" final="true" visibility="public"
  21000. deprecated="not deprecated">
  21001. <doc>
  21002. <![CDATA[Default parameter value.]]>
  21003. </doc>
  21004. </field>
  21005. <doc>
  21006. <![CDATA[User parameter.]]>
  21007. </doc>
  21008. </class>
  21009. <!-- end class org.apache.hadoop.hdfs.web.resources.UserParam -->
  21010. <!-- start class org.apache.hadoop.hdfs.web.resources.UserProvider -->
  21011. <class name="UserProvider" extends="com.sun.jersey.server.impl.inject.AbstractHttpContextInjectable"
  21012. abstract="false"
  21013. static="false" final="false" visibility="public"
  21014. deprecated="not deprecated">
  21015. <implements name="com.sun.jersey.spi.inject.InjectableProvider"/>
  21016. <constructor name="UserProvider"
  21017. static="false" final="false" visibility="public"
  21018. deprecated="not deprecated">
  21019. </constructor>
  21020. <method name="getValue" return="org.apache.hadoop.security.UserGroupInformation"
  21021. abstract="false" native="false" synchronized="false"
  21022. static="false" final="false" visibility="public"
  21023. deprecated="not deprecated">
  21024. <param name="context" type="com.sun.jersey.api.core.HttpContext"/>
  21025. </method>
  21026. <method name="getScope" return="com.sun.jersey.core.spi.component.ComponentScope"
  21027. abstract="false" native="false" synchronized="false"
  21028. static="false" final="false" visibility="public"
  21029. deprecated="not deprecated">
  21030. </method>
  21031. <method name="getInjectable" return="com.sun.jersey.spi.inject.Injectable"
  21032. abstract="false" native="false" synchronized="false"
  21033. static="false" final="false" visibility="public"
  21034. deprecated="not deprecated">
  21035. <param name="componentContext" type="com.sun.jersey.core.spi.component.ComponentContext"/>
  21036. <param name="context" type="javax.ws.rs.core.Context"/>
  21037. <param name="type" type="java.lang.reflect.Type"/>
  21038. </method>
  21039. <doc>
  21040. <![CDATA[Inject user information to http operations.]]>
  21041. </doc>
  21042. </class>
  21043. <!-- end class org.apache.hadoop.hdfs.web.resources.UserProvider -->
  21044. <!-- start class org.apache.hadoop.hdfs.web.resources.XAttrEncodingParam -->
  21045. <class name="XAttrEncodingParam" extends="org.apache.hadoop.hdfs.web.resources.EnumParam"
  21046. abstract="false"
  21047. static="false" final="false" visibility="public"
  21048. deprecated="not deprecated">
  21049. <constructor name="XAttrEncodingParam" type="org.apache.hadoop.fs.XAttrCodec"
  21050. static="false" final="false" visibility="public"
  21051. deprecated="not deprecated">
  21052. </constructor>
  21053. <constructor name="XAttrEncodingParam" type="java.lang.String"
  21054. static="false" final="false" visibility="public"
  21055. deprecated="not deprecated">
  21056. <doc>
  21057. <![CDATA[Constructor.
  21058. @param str a string representation of the parameter value.]]>
  21059. </doc>
  21060. </constructor>
  21061. <method name="getName" return="java.lang.String"
  21062. abstract="false" native="false" synchronized="false"
  21063. static="false" final="false" visibility="public"
  21064. deprecated="not deprecated">
  21065. </method>
  21066. <method name="getValueString" return="java.lang.String"
  21067. abstract="false" native="false" synchronized="false"
  21068. static="false" final="false" visibility="public"
  21069. deprecated="not deprecated">
  21070. </method>
  21071. <method name="getEncoding" return="org.apache.hadoop.fs.XAttrCodec"
  21072. abstract="false" native="false" synchronized="false"
  21073. static="false" final="false" visibility="public"
  21074. deprecated="not deprecated">
  21075. </method>
  21076. <field name="NAME" type="java.lang.String"
  21077. transient="false" volatile="false"
  21078. static="true" final="true" visibility="public"
  21079. deprecated="not deprecated">
  21080. <doc>
  21081. <![CDATA[Parameter name.]]>
  21082. </doc>
  21083. </field>
  21084. <field name="DEFAULT" type="java.lang.String"
  21085. transient="false" volatile="false"
  21086. static="true" final="true" visibility="public"
  21087. deprecated="not deprecated">
  21088. <doc>
  21089. <![CDATA[Default parameter value.]]>
  21090. </doc>
  21091. </field>
  21092. </class>
  21093. <!-- end class org.apache.hadoop.hdfs.web.resources.XAttrEncodingParam -->
  21094. <!-- start class org.apache.hadoop.hdfs.web.resources.XAttrNameParam -->
  21095. <class name="XAttrNameParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  21096. abstract="false"
  21097. static="false" final="false" visibility="public"
  21098. deprecated="not deprecated">
  21099. <constructor name="XAttrNameParam" type="java.lang.String"
  21100. static="false" final="false" visibility="public"
  21101. deprecated="not deprecated">
  21102. </constructor>
  21103. <method name="getName" return="java.lang.String"
  21104. abstract="false" native="false" synchronized="false"
  21105. static="false" final="false" visibility="public"
  21106. deprecated="not deprecated">
  21107. </method>
  21108. <method name="getXAttrName" return="java.lang.String"
  21109. abstract="false" native="false" synchronized="false"
  21110. static="false" final="false" visibility="public"
  21111. deprecated="not deprecated">
  21112. </method>
  21113. <field name="NAME" type="java.lang.String"
  21114. transient="false" volatile="false"
  21115. static="true" final="true" visibility="public"
  21116. deprecated="not deprecated">
  21117. <doc>
  21118. <![CDATA[Parameter name.]]>
  21119. </doc>
  21120. </field>
  21121. <field name="DEFAULT" type="java.lang.String"
  21122. transient="false" volatile="false"
  21123. static="true" final="true" visibility="public"
  21124. deprecated="not deprecated">
  21125. <doc>
  21126. <![CDATA[Default parameter value.]]>
  21127. </doc>
  21128. </field>
  21129. </class>
  21130. <!-- end class org.apache.hadoop.hdfs.web.resources.XAttrNameParam -->
  21131. <!-- start class org.apache.hadoop.hdfs.web.resources.XAttrSetFlagParam -->
  21132. <class name="XAttrSetFlagParam" extends="org.apache.hadoop.hdfs.web.resources.EnumSetParam"
  21133. abstract="false"
  21134. static="false" final="false" visibility="public"
  21135. deprecated="not deprecated">
  21136. <constructor name="XAttrSetFlagParam" type="java.util.EnumSet"
  21137. static="false" final="false" visibility="public"
  21138. deprecated="not deprecated">
  21139. </constructor>
  21140. <constructor name="XAttrSetFlagParam" type="java.lang.String"
  21141. static="false" final="false" visibility="public"
  21142. deprecated="not deprecated">
  21143. <doc>
  21144. <![CDATA[Constructor.
  21145. @param str a string representation of the parameter value.]]>
  21146. </doc>
  21147. </constructor>
  21148. <method name="getName" return="java.lang.String"
  21149. abstract="false" native="false" synchronized="false"
  21150. static="false" final="false" visibility="public"
  21151. deprecated="not deprecated">
  21152. </method>
  21153. <method name="getFlag" return="java.util.EnumSet"
  21154. abstract="false" native="false" synchronized="false"
  21155. static="false" final="false" visibility="public"
  21156. deprecated="not deprecated">
  21157. </method>
  21158. <field name="NAME" type="java.lang.String"
  21159. transient="false" volatile="false"
  21160. static="true" final="true" visibility="public"
  21161. deprecated="not deprecated">
  21162. <doc>
  21163. <![CDATA[Parameter name.]]>
  21164. </doc>
  21165. </field>
  21166. <field name="DEFAULT" type="java.lang.String"
  21167. transient="false" volatile="false"
  21168. static="true" final="true" visibility="public"
  21169. deprecated="not deprecated">
  21170. <doc>
  21171. <![CDATA[Default parameter value.]]>
  21172. </doc>
  21173. </field>
  21174. </class>
  21175. <!-- end class org.apache.hadoop.hdfs.web.resources.XAttrSetFlagParam -->
  21176. <!-- start class org.apache.hadoop.hdfs.web.resources.XAttrValueParam -->
  21177. <class name="XAttrValueParam" extends="org.apache.hadoop.hdfs.web.resources.StringParam"
  21178. abstract="false"
  21179. static="false" final="false" visibility="public"
  21180. deprecated="not deprecated">
  21181. <constructor name="XAttrValueParam" type="java.lang.String"
  21182. static="false" final="false" visibility="public"
  21183. deprecated="not deprecated">
  21184. </constructor>
  21185. <method name="getName" return="java.lang.String"
  21186. abstract="false" native="false" synchronized="false"
  21187. static="false" final="false" visibility="public"
  21188. deprecated="not deprecated">
  21189. </method>
  21190. <method name="getXAttrValue" return="byte[]"
  21191. abstract="false" native="false" synchronized="false"
  21192. static="false" final="false" visibility="public"
  21193. deprecated="not deprecated">
  21194. <exception name="IOException" type="java.io.IOException"/>
  21195. </method>
  21196. <field name="NAME" type="java.lang.String"
  21197. transient="false" volatile="false"
  21198. static="true" final="true" visibility="public"
  21199. deprecated="not deprecated">
  21200. <doc>
  21201. <![CDATA[Parameter name.]]>
  21202. </doc>
  21203. </field>
  21204. <field name="DEFAULT" type="java.lang.String"
  21205. transient="false" volatile="false"
  21206. static="true" final="true" visibility="public"
  21207. deprecated="not deprecated">
  21208. <doc>
  21209. <![CDATA[Default parameter value.]]>
  21210. </doc>
  21211. </field>
  21212. </class>
  21213. <!-- end class org.apache.hadoop.hdfs.web.resources.XAttrValueParam -->
  21214. </package>
  21215. </api>