Apache_Hadoop_YARN_Common_3.2.4.xml 181 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964
  1. <?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
  2. <!-- Generated by the JDiff Javadoc doclet -->
  3. <!-- (http://www.jdiff.org) -->
  4. <!-- on Tue Jul 12 12:54:25 GMT 2022 -->
  5. <api
  6. xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
  7. xsi:noNamespaceSchemaLocation='api.xsd'
  8. name="Apache Hadoop YARN Common 3.2.4"
  9. jdversion="1.0.9">
  10. <!-- Command line arguments = -doclet org.apache.hadoop.classification.tools.IncludePublicAnnotationsJDiffDoclet -docletpath /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/target/hadoop-annotations.jar:/build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/target/jdiff.jar -verbose -classpath /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/target/classes:/build/source/hadoop-common-project/hadoop-common/target/hadoop-common-3.2.4.jar:/maven/org/apache/commons/commons-math3/3.1.1/commons-math3-3.1.1.jar:/maven/org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar:/maven/org/apache/httpcomponents/httpcore/4.4.13/httpcore-4.4.13.jar:/maven/commons-net/commons-net/3.6/commons-net-3.6.jar:/maven/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar:/maven/javax/activation/javax.activation-api/1.2.0/javax.activation-api-1.2.0.jar:/maven/org/eclipse/jetty/jetty-server/9.4.43.v20210629/jetty-server-9.4.43.v20210629.jar:/maven/org/eclipse/jetty/jetty-http/9.4.43.v20210629/jetty-http-9.4.43.v20210629.jar:/maven/org/eclipse/jetty/jetty-io/9.4.43.v20210629/jetty-io-9.4.43.v20210629.jar:/maven/org/eclipse/jetty/jetty-servlet/9.4.43.v20210629/jetty-servlet-9.4.43.v20210629.jar:/maven/org/eclipse/jetty/jetty-security/9.4.43.v20210629/jetty-security-9.4.43.v20210629.jar:/maven/org/eclipse/jetty/jetty-util-ajax/9.4.43.v20210629/jetty-util-ajax-9.4.43.v20210629.jar:/maven/org/eclipse/jetty/jetty-webapp/9.4.43.v20210629/jetty-webapp-9.4.43.v20210629.jar:/maven/org/eclipse/jetty/jetty-xml/9.4.43.v20210629/jetty-xml-9.4.43.v20210629.jar:/maven/javax/servlet/jsp/jsp-api/2.1/jsp-api-2.1.jar:/maven/com/sun/jersey/jersey-servlet/1.19/jersey-servlet-1.19.jar:/maven/commons-beanutils/commons-beanutils/1.9.4/commons-beanutils-1.9.4.jar:/maven/org/apache/commons/commons-configuration2/2.1.1/commons-configuration2-2.1.1.jar:/maven/org/apache/commons/commons-lang3/3.7/commons-lang3-3.7.jar:/maven/org/apache/commons/commons-text/1.4/commons-text-1.4.jar:/maven/org/apache/avro/avro/1.7.7/avro-1.7.7.jar:/maven/com/thoughtworks/paranamer/paranamer/2.3/paranamer-2.3.jar:/maven/org/xerial/snappy/snappy-java/1.0.5/snappy-java-1.0.5.jar:/maven/com/google/re2j/re2j/1.1/re2j-1.1.jar:/maven/com/google/code/gson/gson/2.9.0/gson-2.9.0.jar:/maven/com/jcraft/jsch/0.1.55/jsch-0.1.55.jar:/maven/org/apache/curator/curator-client/2.13.0/curator-client-2.13.0.jar:/maven/org/apache/curator/curator-recipes/2.13.0/curator-recipes-2.13.0.jar:/maven/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar:/maven/org/apache/htrace/htrace-core4/4.1.0-incubating/htrace-core4-4.1.0-incubating.jar:/maven/org/apache/zookeeper/zookeeper/3.4.14/zookeeper-3.4.14.jar:/maven/com/github/spotbugs/spotbugs-annotations/3.1.9/spotbugs-annotations-3.1.9.jar:/maven/org/apache/yetus/audience-annotations/0.5.0/audience-annotations-0.5.0.jar:/maven/io/netty/netty/3.10.6.Final/netty-3.10.6.Final.jar:/maven/org/apache/kerby/kerb-simplekdc/1.0.1/kerb-simplekdc-1.0.1.jar:/maven/org/apache/kerby/kerb-client/1.0.1/kerb-client-1.0.1.jar:/maven/org/apache/kerby/kerby-config/1.0.1/kerby-config-1.0.1.jar:/maven/org/apache/kerby/kerb-core/1.0.1/kerb-core-1.0.1.jar:/maven/org/apache/kerby/kerby-pkix/1.0.1/kerby-pkix-1.0.1.jar:/maven/org/apache/kerby/kerby-asn1/1.0.1/kerby-asn1-1.0.1.jar:/maven/org/apache/kerby/kerby-util/1.0.1/kerby-util-1.0.1.jar:/maven/org/apache/kerby/kerb-common/1.0.1/kerb-common-1.0.1.jar:/maven/org/apache/kerby/kerb-crypto/1.0.1/kerb-crypto-1.0.1.jar:/maven/org/apache/kerby/kerb-util/1.0.1/kerb-util-1.0.1.jar:/maven/org/apache/kerby/token-provider/1.0.1/token-provider-1.0.1.jar:/maven/org/apache/kerby/kerb-admin/1.0.1/kerb-admin-1.0.1.jar:/maven/org/apache/kerby/kerb-server/1.0.1/kerb-server-1.0.1.jar:/maven/org/apache/kerby/kerb-identity/1.0.1/kerb-identity-1.0.1.jar:/maven/org/apache/kerby/kerby-xdr/1.0.1/kerby-xdr-1.0.1.jar:/maven/org/codehaus/woodstox/stax2-api/4.2.1/stax2-api-4.2.1.jar:/maven/com/fasterxml/woodstox/woodstox-core/5.3.0/woodstox-core-5.3.0.jar:/maven/dnsjava/dnsjava/2.1.7/dnsjava-2.1.7.jar:/build/source/hadoop-hdfs-project/hadoop-hdfs-client/target/hadoop-hdfs-client-3.2.4.jar:/maven/com/squareup/okhttp/okhttp/2.7.5/okhttp-2.7.5.jar:/maven/com/squareup/okio/okio/1.6.0/okio-1.6.0.jar:/maven/com/fasterxml/jackson/core/jackson-annotations/2.10.5/jackson-annotations-2.10.5.jar:/build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/target/hadoop-yarn-api-3.2.4.jar:/build/source/hadoop-common-project/hadoop-auth/target/hadoop-auth-3.2.4.jar:/maven/com/nimbusds/nimbus-jose-jwt/9.8.1/nimbus-jose-jwt-9.8.1.jar:/maven/com/github/stephenc/jcip/jcip-annotations/1.0-1/jcip-annotations-1.0-1.jar:/maven/net/minidev/json-smart/2.4.7/json-smart-2.4.7.jar:/maven/net/minidev/accessors-smart/2.4.7/accessors-smart-2.4.7.jar:/maven/org/ow2/asm/asm/5.0.4/asm-5.0.4.jar:/maven/org/apache/curator/curator-framework/2.13.0/curator-framework-2.13.0.jar:/maven/javax/xml/bind/jaxb-api/2.2.11/jaxb-api-2.2.11.jar:/maven/org/apache/commons/commons-compress/1.21/commons-compress-1.21.jar:/maven/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar:/maven/commons-codec/commons-codec/1.11/commons-codec-1.11.jar:/maven/org/eclipse/jetty/jetty-util/9.4.43.v20210629/jetty-util-9.4.43.v20210629.jar:/maven/com/sun/jersey/jersey-core/1.19/jersey-core-1.19.jar:/maven/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.jar:/maven/com/sun/jersey/jersey-client/1.19/jersey-client-1.19.jar:/maven/com/google/guava/guava/27.0-jre/guava-27.0-jre.jar:/maven/com/google/guava/failureaccess/1.0/failureaccess-1.0.jar:/maven/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar:/maven/org/checkerframework/checker-qual/2.5.2/checker-qual-2.5.2.jar:/maven/com/google/errorprone/error_prone_annotations/2.2.0/error_prone_annotations-2.2.0.jar:/maven/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.jar:/maven/org/codehaus/mojo/animal-sniffer-annotations/1.17/animal-sniffer-annotations-1.17.jar:/maven/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar:/maven/commons-cli/commons-cli/1.2/commons-cli-1.2.jar:/maven/org/slf4j/slf4j-api/1.7.35/slf4j-api-1.7.35.jar:/build/source/hadoop-common-project/hadoop-annotations/target/hadoop-annotations-3.2.4.jar:/usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar:/maven/com/google/inject/extensions/guice-servlet/4.0/guice-servlet-4.0.jar:/maven/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.jar:/maven/commons-io/commons-io/2.8.0/commons-io-2.8.0.jar:/maven/com/google/inject/guice/4.0/guice-4.0.jar:/maven/javax/inject/javax.inject/1/javax.inject-1.jar:/maven/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/maven/com/sun/jersey/jersey-server/1.19/jersey-server-1.19.jar:/maven/com/sun/jersey/jersey-json/1.19/jersey-json-1.19.jar:/maven/org/codehaus/jettison/jettison/1.1/jettison-1.1.jar:/maven/com/sun/xml/bind/jaxb-impl/2.2.3-1/jaxb-impl-2.2.3-1.jar:/maven/org/codehaus/jackson/jackson-core-asl/1.9.13/jackson-core-asl-1.9.13.jar:/maven/org/codehaus/jackson/jackson-mapper-asl/1.9.13/jackson-mapper-asl-1.9.13.jar:/maven/org/codehaus/jackson/jackson-jaxrs/1.9.13/jackson-jaxrs-1.9.13.jar:/maven/org/codehaus/jackson/jackson-xc/1.9.13/jackson-xc-1.9.13.jar:/maven/com/sun/jersey/contribs/jersey-guice/1.19/jersey-guice-1.19.jar:/maven/ch/qos/reload4j/reload4j/1.2.18.3/reload4j-1.2.18.3.jar:/maven/com/fasterxml/jackson/core/jackson-core/2.10.5/jackson-core-2.10.5.jar:/maven/com/fasterxml/jackson/core/jackson-databind/2.10.5.1/jackson-databind-2.10.5.1.jar:/maven/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.10.5/jackson-module-jaxb-annotations-2.10.5.jar:/maven/jakarta/xml/bind/jakarta.xml.bind-api/2.3.2/jakarta.xml.bind-api-2.3.2.jar:/maven/jakarta/activation/jakarta.activation-api/1.2.1/jakarta.activation-api-1.2.1.jar:/maven/com/fasterxml/jackson/jaxrs/jackson-jaxrs-json-provider/2.10.5/jackson-jaxrs-json-provider-2.10.5.jar:/maven/com/fasterxml/jackson/jaxrs/jackson-jaxrs-base/2.10.5/jackson-jaxrs-base-2.10.5.jar:/maven/xerces/xercesImpl/2.11.0/xercesImpl-2.11.0.jar:/maven/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar -sourcepath /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java -doclet org.apache.hadoop.classification.tools.IncludePublicAnnotationsJDiffDoclet -docletpath /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/target/hadoop-annotations.jar:/build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/target/jdiff.jar -apidir /build/source/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/target/site/jdiff/xml -apiname Apache Hadoop YARN Common 3.2.4 -->
  11. <package name="org.apache.hadoop.yarn">
  12. <!-- start class org.apache.hadoop.yarn.ContainerLogAppender -->
  13. <class name="ContainerLogAppender" extends="org.apache.log4j.FileAppender"
  14. abstract="false"
  15. static="false" final="false" visibility="public"
  16. deprecated="not deprecated">
  17. <implements name="java.io.Flushable"/>
  18. <constructor name="ContainerLogAppender"
  19. static="false" final="false" visibility="public"
  20. deprecated="not deprecated">
  21. </constructor>
  22. <method name="activateOptions"
  23. abstract="false" native="false" synchronized="true"
  24. static="false" final="false" visibility="public"
  25. deprecated="not deprecated">
  26. </method>
  27. <method name="append"
  28. abstract="false" native="false" synchronized="true"
  29. static="false" final="false" visibility="public"
  30. deprecated="not deprecated">
  31. <param name="event" type="org.apache.log4j.spi.LoggingEvent"/>
  32. </method>
  33. <method name="flush"
  34. abstract="false" native="false" synchronized="false"
  35. static="false" final="false" visibility="public"
  36. deprecated="not deprecated">
  37. </method>
  38. <method name="close"
  39. abstract="false" native="false" synchronized="true"
  40. static="false" final="false" visibility="public"
  41. deprecated="not deprecated">
  42. </method>
  43. <method name="getContainerLogDir" return="java.lang.String"
  44. abstract="false" native="false" synchronized="false"
  45. static="false" final="false" visibility="public"
  46. deprecated="not deprecated">
  47. <doc>
  48. <![CDATA[Getter/Setter methods for log4j.]]>
  49. </doc>
  50. </method>
  51. <method name="setContainerLogDir"
  52. abstract="false" native="false" synchronized="false"
  53. static="false" final="false" visibility="public"
  54. deprecated="not deprecated">
  55. <param name="containerLogDir" type="java.lang.String"/>
  56. </method>
  57. <method name="getContainerLogFile" return="java.lang.String"
  58. abstract="false" native="false" synchronized="false"
  59. static="false" final="false" visibility="public"
  60. deprecated="not deprecated">
  61. </method>
  62. <method name="setContainerLogFile"
  63. abstract="false" native="false" synchronized="false"
  64. static="false" final="false" visibility="public"
  65. deprecated="not deprecated">
  66. <param name="containerLogFile" type="java.lang.String"/>
  67. </method>
  68. <method name="getTotalLogFileSize" return="long"
  69. abstract="false" native="false" synchronized="false"
  70. static="false" final="false" visibility="public"
  71. deprecated="not deprecated">
  72. </method>
  73. <method name="setTotalLogFileSize"
  74. abstract="false" native="false" synchronized="false"
  75. static="false" final="false" visibility="public"
  76. deprecated="not deprecated">
  77. <param name="logSize" type="long"/>
  78. <doc>
  79. <![CDATA[Setter so that log4j can configure it from the
  80. configuration(log4j.properties).]]>
  81. </doc>
  82. </method>
  83. <doc>
  84. <![CDATA[A simple log4j-appender for container's logs.]]>
  85. </doc>
  86. </class>
  87. <!-- end class org.apache.hadoop.yarn.ContainerLogAppender -->
  88. <!-- start class org.apache.hadoop.yarn.ContainerRollingLogAppender -->
  89. <class name="ContainerRollingLogAppender" extends="org.apache.log4j.RollingFileAppender"
  90. abstract="false"
  91. static="false" final="false" visibility="public"
  92. deprecated="not deprecated">
  93. <implements name="java.io.Flushable"/>
  94. <constructor name="ContainerRollingLogAppender"
  95. static="false" final="false" visibility="public"
  96. deprecated="not deprecated">
  97. </constructor>
  98. <method name="activateOptions"
  99. abstract="false" native="false" synchronized="false"
  100. static="false" final="false" visibility="public"
  101. deprecated="not deprecated">
  102. </method>
  103. <method name="flush"
  104. abstract="false" native="false" synchronized="false"
  105. static="false" final="false" visibility="public"
  106. deprecated="not deprecated">
  107. </method>
  108. <method name="getContainerLogDir" return="java.lang.String"
  109. abstract="false" native="false" synchronized="false"
  110. static="false" final="false" visibility="public"
  111. deprecated="not deprecated">
  112. <doc>
  113. <![CDATA[Getter/Setter methods for log4j.]]>
  114. </doc>
  115. </method>
  116. <method name="setContainerLogDir"
  117. abstract="false" native="false" synchronized="false"
  118. static="false" final="false" visibility="public"
  119. deprecated="not deprecated">
  120. <param name="containerLogDir" type="java.lang.String"/>
  121. </method>
  122. <method name="getContainerLogFile" return="java.lang.String"
  123. abstract="false" native="false" synchronized="false"
  124. static="false" final="false" visibility="public"
  125. deprecated="not deprecated">
  126. </method>
  127. <method name="setContainerLogFile"
  128. abstract="false" native="false" synchronized="false"
  129. static="false" final="false" visibility="public"
  130. deprecated="not deprecated">
  131. <param name="containerLogFile" type="java.lang.String"/>
  132. </method>
  133. <doc>
  134. <![CDATA[A simple log4j-appender for container's logs.]]>
  135. </doc>
  136. </class>
  137. <!-- end class org.apache.hadoop.yarn.ContainerRollingLogAppender -->
  138. <!-- start class org.apache.hadoop.yarn.YarnUncaughtExceptionHandler -->
  139. <class name="YarnUncaughtExceptionHandler" extends="java.lang.Object"
  140. abstract="false"
  141. static="false" final="false" visibility="public"
  142. deprecated="not deprecated">
  143. <implements name="java.lang.Thread.UncaughtExceptionHandler"/>
  144. <constructor name="YarnUncaughtExceptionHandler"
  145. static="false" final="false" visibility="public"
  146. deprecated="not deprecated">
  147. </constructor>
  148. <method name="uncaughtException"
  149. abstract="false" native="false" synchronized="false"
  150. static="false" final="false" visibility="public"
  151. deprecated="not deprecated">
  152. <param name="t" type="java.lang.Thread"/>
  153. <param name="e" type="java.lang.Throwable"/>
  154. </method>
  155. <doc>
  156. <![CDATA[This class is intended to be installed by calling
  157. {@link Thread#setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler)}
  158. In the main entry point. It is intended to try and cleanly shut down
  159. programs using the YARN Event framework.
  160. Note: Right now it only will shut down the program if a Error is caught, but
  161. not any other exception. Anything else is just logged.]]>
  162. </doc>
  163. </class>
  164. <!-- end class org.apache.hadoop.yarn.YarnUncaughtExceptionHandler -->
  165. </package>
  166. <package name="org.apache.hadoop.yarn.api">
  167. </package>
  168. <package name="org.apache.hadoop.yarn.client">
  169. <!-- start class org.apache.hadoop.yarn.client.AHSProxy -->
  170. <class name="AHSProxy" extends="java.lang.Object"
  171. abstract="false"
  172. static="false" final="false" visibility="public"
  173. deprecated="not deprecated">
  174. <constructor name="AHSProxy"
  175. static="false" final="false" visibility="public"
  176. deprecated="not deprecated">
  177. </constructor>
  178. <method name="createAHSProxy" return="T"
  179. abstract="false" native="false" synchronized="false"
  180. static="true" final="false" visibility="public"
  181. deprecated="not deprecated">
  182. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  183. <param name="protocol" type="java.lang.Class"/>
  184. <param name="ahsAddress" type="java.net.InetSocketAddress"/>
  185. <exception name="IOException" type="java.io.IOException"/>
  186. </method>
  187. <method name="getProxy" return="T"
  188. abstract="false" native="false" synchronized="false"
  189. static="true" final="false" visibility="protected"
  190. deprecated="not deprecated">
  191. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  192. <param name="protocol" type="java.lang.Class"/>
  193. <param name="rmAddress" type="java.net.InetSocketAddress"/>
  194. <exception name="IOException" type="java.io.IOException"/>
  195. </method>
  196. </class>
  197. <!-- end class org.apache.hadoop.yarn.client.AHSProxy -->
  198. <!-- start class org.apache.hadoop.yarn.client.ClientRMProxy -->
  199. <class name="ClientRMProxy" extends="org.apache.hadoop.yarn.client.RMProxy"
  200. abstract="false"
  201. static="false" final="false" visibility="public"
  202. deprecated="not deprecated">
  203. <method name="createRMProxy" return="T"
  204. abstract="false" native="false" synchronized="false"
  205. static="true" final="false" visibility="public"
  206. deprecated="not deprecated">
  207. <param name="configuration" type="org.apache.hadoop.conf.Configuration"/>
  208. <param name="protocol" type="java.lang.Class"/>
  209. <exception name="IOException" type="java.io.IOException"/>
  210. <doc>
  211. <![CDATA[Create a proxy to the ResourceManager for the specified protocol.
  212. @param configuration Configuration with all the required information.
  213. @param protocol Client protocol for which proxy is being requested.
  214. @param <T> Type of proxy.
  215. @return Proxy to the ResourceManager for the specified client protocol.
  216. @throws IOException]]>
  217. </doc>
  218. </method>
  219. <method name="getRMDelegationTokenService" return="org.apache.hadoop.io.Text"
  220. abstract="false" native="false" synchronized="false"
  221. static="true" final="false" visibility="public"
  222. deprecated="not deprecated">
  223. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  224. <doc>
  225. <![CDATA[Get the token service name to be used for RMDelegationToken. Depending
  226. on whether HA is enabled or not, this method generates the appropriate
  227. service name as a comma-separated list of service addresses.
  228. @param conf Configuration corresponding to the cluster we need the
  229. RMDelegationToken for
  230. @return - Service name for RMDelegationToken]]>
  231. </doc>
  232. </method>
  233. <method name="getAMRMTokenService" return="org.apache.hadoop.io.Text"
  234. abstract="false" native="false" synchronized="false"
  235. static="true" final="false" visibility="public"
  236. deprecated="not deprecated">
  237. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  238. </method>
  239. <method name="getTokenService" return="org.apache.hadoop.io.Text"
  240. abstract="false" native="false" synchronized="false"
  241. static="true" final="false" visibility="public"
  242. deprecated="not deprecated">
  243. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  244. <param name="address" type="java.lang.String"/>
  245. <param name="defaultAddr" type="java.lang.String"/>
  246. <param name="defaultPort" type="int"/>
  247. </method>
  248. </class>
  249. <!-- end class org.apache.hadoop.yarn.client.ClientRMProxy -->
  250. <!-- start class org.apache.hadoop.yarn.client.NMProxy -->
  251. <class name="NMProxy" extends="org.apache.hadoop.yarn.client.ServerProxy"
  252. abstract="false"
  253. static="false" final="false" visibility="public"
  254. deprecated="not deprecated">
  255. <constructor name="NMProxy"
  256. static="false" final="false" visibility="public"
  257. deprecated="not deprecated">
  258. </constructor>
  259. <method name="createNMProxy" return="T"
  260. abstract="false" native="false" synchronized="false"
  261. static="true" final="false" visibility="public"
  262. deprecated="not deprecated">
  263. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  264. <param name="protocol" type="java.lang.Class"/>
  265. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  266. <param name="rpc" type="org.apache.hadoop.yarn.ipc.YarnRPC"/>
  267. <param name="serverAddress" type="java.net.InetSocketAddress"/>
  268. </method>
  269. </class>
  270. <!-- end class org.apache.hadoop.yarn.client.NMProxy -->
  271. <!-- start class org.apache.hadoop.yarn.client.RMProxy -->
  272. <class name="RMProxy" extends="java.lang.Object"
  273. abstract="false"
  274. static="false" final="false" visibility="public"
  275. deprecated="not deprecated">
  276. <constructor name="RMProxy"
  277. static="false" final="false" visibility="protected"
  278. deprecated="not deprecated">
  279. </constructor>
  280. <method name="createRetryPolicy" return="org.apache.hadoop.io.retry.RetryPolicy"
  281. abstract="false" native="false" synchronized="false"
  282. static="true" final="false" visibility="protected"
  283. deprecated="not deprecated">
  284. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  285. <param name="retryTime" type="long"/>
  286. <param name="retryInterval" type="long"/>
  287. <param name="isHAEnabled" type="boolean"/>
  288. <doc>
  289. <![CDATA[Fetch retry policy from Configuration and create the
  290. retry policy with specified retryTime and retry interval.]]>
  291. </doc>
  292. </method>
  293. </class>
  294. <!-- end class org.apache.hadoop.yarn.client.RMProxy -->
  295. <!-- start class org.apache.hadoop.yarn.client.ServerProxy -->
  296. <class name="ServerProxy" extends="java.lang.Object"
  297. abstract="false"
  298. static="false" final="false" visibility="public"
  299. deprecated="not deprecated">
  300. <constructor name="ServerProxy"
  301. static="false" final="false" visibility="public"
  302. deprecated="not deprecated">
  303. </constructor>
  304. <method name="createRetryPolicy" return="org.apache.hadoop.io.retry.RetryPolicy"
  305. abstract="false" native="false" synchronized="false"
  306. static="true" final="false" visibility="protected"
  307. deprecated="not deprecated">
  308. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  309. <param name="maxWaitTimeStr" type="java.lang.String"/>
  310. <param name="defMaxWaitTime" type="long"/>
  311. <param name="connectRetryIntervalStr" type="java.lang.String"/>
  312. <param name="defRetryInterval" type="long"/>
  313. </method>
  314. <method name="createRetriableProxy" return="T"
  315. abstract="false" native="false" synchronized="false"
  316. static="true" final="false" visibility="protected"
  317. deprecated="not deprecated">
  318. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  319. <param name="protocol" type="java.lang.Class"/>
  320. <param name="user" type="org.apache.hadoop.security.UserGroupInformation"/>
  321. <param name="rpc" type="org.apache.hadoop.yarn.ipc.YarnRPC"/>
  322. <param name="serverAddress" type="java.net.InetSocketAddress"/>
  323. <param name="retryPolicy" type="org.apache.hadoop.io.retry.RetryPolicy"/>
  324. </method>
  325. </class>
  326. <!-- end class org.apache.hadoop.yarn.client.ServerProxy -->
  327. </package>
  328. <package name="org.apache.hadoop.yarn.client.api">
  329. <!-- start class org.apache.hadoop.yarn.client.api.AppAdminClient -->
  330. <class name="AppAdminClient" extends="org.apache.hadoop.service.CompositeService"
  331. abstract="true"
  332. static="false" final="false" visibility="public"
  333. deprecated="not deprecated">
  334. <constructor name="AppAdminClient"
  335. static="false" final="false" visibility="protected"
  336. deprecated="not deprecated">
  337. </constructor>
  338. <method name="createAppAdminClient" return="org.apache.hadoop.yarn.client.api.AppAdminClient"
  339. abstract="false" native="false" synchronized="false"
  340. static="true" final="false" visibility="public"
  341. deprecated="not deprecated">
  342. <param name="appType" type="java.lang.String"/>
  343. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  344. <doc>
  345. <![CDATA[<p>
  346. Create a new instance of AppAdminClient.
  347. </p>
  348. @param appType application type
  349. @param conf configuration
  350. @return app admin client]]>
  351. </doc>
  352. </method>
  353. <method name="actionLaunch" return="int"
  354. abstract="true" native="false" synchronized="false"
  355. static="false" final="false" visibility="public"
  356. deprecated="not deprecated">
  357. <param name="fileName" type="java.lang.String"/>
  358. <param name="appName" type="java.lang.String"/>
  359. <param name="lifetime" type="java.lang.Long"/>
  360. <param name="queue" type="java.lang.String"/>
  361. <exception name="IOException" type="java.io.IOException"/>
  362. <exception name="YarnException" type="org.apache.hadoop.yarn.exceptions.YarnException"/>
  363. <doc>
  364. <![CDATA[<p>
  365. Launch a new YARN application.
  366. </p>
  367. @param fileName specification of application
  368. @param appName name of the application
  369. @param lifetime lifetime of the application
  370. @param queue queue of the application
  371. @return exit code
  372. @throws IOException IOException
  373. @throws YarnException exception in client or server]]>
  374. </doc>
  375. </method>
  376. <method name="actionStop" return="int"
  377. abstract="true" native="false" synchronized="false"
  378. static="false" final="false" visibility="public"
  379. deprecated="not deprecated">
  380. <param name="appName" type="java.lang.String"/>
  381. <exception name="IOException" type="java.io.IOException"/>
  382. <exception name="YarnException" type="org.apache.hadoop.yarn.exceptions.YarnException"/>
  383. <doc>
  384. <![CDATA[<p>
  385. Stop a YARN application (attempt to stop gracefully before killing the
  386. application). In the case of a long-running service, the service may be
  387. restarted later.
  388. </p>
  389. @param appName the name of the application
  390. @return exit code
  391. @throws IOException IOException
  392. @throws YarnException exception in client or server]]>
  393. </doc>
  394. </method>
  395. <method name="actionStart" return="int"
  396. abstract="true" native="false" synchronized="false"
  397. static="false" final="false" visibility="public"
  398. deprecated="not deprecated">
  399. <param name="appName" type="java.lang.String"/>
  400. <exception name="IOException" type="java.io.IOException"/>
  401. <exception name="YarnException" type="org.apache.hadoop.yarn.exceptions.YarnException"/>
  402. <doc>
  403. <![CDATA[<p>
  404. Start a YARN application from a previously saved specification. In the
  405. case of a long-running service, the service must have been previously
  406. launched/started and then stopped, or previously saved but not started.
  407. </p>
  408. @param appName the name of the application
  409. @return exit code
  410. @throws IOException IOException
  411. @throws YarnException exception in client or server]]>
  412. </doc>
  413. </method>
  414. <method name="actionSave" return="int"
  415. abstract="true" native="false" synchronized="false"
  416. static="false" final="false" visibility="public"
  417. deprecated="not deprecated">
  418. <param name="fileName" type="java.lang.String"/>
  419. <param name="appName" type="java.lang.String"/>
  420. <param name="lifetime" type="java.lang.Long"/>
  421. <param name="queue" type="java.lang.String"/>
  422. <exception name="IOException" type="java.io.IOException"/>
  423. <exception name="YarnException" type="org.apache.hadoop.yarn.exceptions.YarnException"/>
  424. <doc>
  425. <![CDATA[<p>
  426. Save the specification for a YARN application / long-running service.
  427. The application may be started later.
  428. </p>
  429. @param fileName specification of application to save
  430. @param appName name of the application
  431. @param lifetime lifetime of the application
  432. @param queue queue of the application
  433. @return exit code
  434. @throws IOException IOException
  435. @throws YarnException exception in client or server]]>
  436. </doc>
  437. </method>
  438. <method name="actionDestroy" return="int"
  439. abstract="true" native="false" synchronized="false"
  440. static="false" final="false" visibility="public"
  441. deprecated="not deprecated">
  442. <param name="appName" type="java.lang.String"/>
  443. <exception name="IOException" type="java.io.IOException"/>
  444. <exception name="YarnException" type="org.apache.hadoop.yarn.exceptions.YarnException"/>
  445. <doc>
  446. <![CDATA[<p>
  447. Remove the specification and all application data for a YARN application.
  448. The application cannot be running.
  449. </p>
  450. @param appName the name of the application
  451. @return exit code
  452. @throws IOException IOException
  453. @throws YarnException exception in client or server]]>
  454. </doc>
  455. </method>
  456. <method name="actionFlex" return="int"
  457. abstract="true" native="false" synchronized="false"
  458. static="false" final="false" visibility="public"
  459. deprecated="not deprecated">
  460. <param name="appName" type="java.lang.String"/>
  461. <param name="componentCounts" type="java.util.Map"/>
  462. <exception name="IOException" type="java.io.IOException"/>
  463. <exception name="YarnException" type="org.apache.hadoop.yarn.exceptions.YarnException"/>
  464. <doc>
  465. <![CDATA[<p>
  466. Change the number of running containers for a component of a YARN
  467. application / long-running service.
  468. </p>
  469. @param appName the name of the application
  470. @param componentCounts map of component name to new component count or
  471. amount to change existing component count (e.g.
  472. 5, +5, -5)
  473. @return exit code
  474. @throws IOException IOException
  475. @throws YarnException exception in client or server]]>
  476. </doc>
  477. </method>
  478. <method name="enableFastLaunch" return="int"
  479. abstract="true" native="false" synchronized="false"
  480. static="false" final="false" visibility="public"
  481. deprecated="not deprecated">
  482. <param name="destinationFolder" type="java.lang.String"/>
  483. <exception name="IOException" type="java.io.IOException"/>
  484. <exception name="YarnException" type="org.apache.hadoop.yarn.exceptions.YarnException"/>
  485. <doc>
  486. <![CDATA[<p>
  487. Upload AM dependencies to HDFS. This makes future application launches
  488. faster since the dependencies do not have to be uploaded on each launch.
  489. </p>
  490. @param destinationFolder
  491. an optional HDFS folder where dependency tarball will be uploaded
  492. @return exit code
  493. @throws IOException
  494. IOException
  495. @throws YarnException
  496. exception in client or server]]>
  497. </doc>
  498. </method>
  499. <method name="getStatusString" return="java.lang.String"
  500. abstract="true" native="false" synchronized="false"
  501. static="false" final="false" visibility="public"
  502. deprecated="not deprecated">
  503. <param name="appIdOrName" type="java.lang.String"/>
  504. <exception name="IOException" type="java.io.IOException"/>
  505. <exception name="YarnException" type="org.apache.hadoop.yarn.exceptions.YarnException"/>
  506. <doc>
  507. <![CDATA[<p>
  508. Get detailed app specific status string for a YARN application.
  509. </p>
  510. @param appIdOrName appId or appName
  511. @return status string
  512. @throws IOException IOException
  513. @throws YarnException exception in client or server]]>
  514. </doc>
  515. </method>
  516. <method name="initiateUpgrade" return="int"
  517. abstract="true" native="false" synchronized="false"
  518. static="false" final="false" visibility="public"
  519. deprecated="not deprecated">
  520. <param name="appName" type="java.lang.String"/>
  521. <param name="fileName" type="java.lang.String"/>
  522. <param name="autoFinalize" type="boolean"/>
  523. <exception name="IOException" type="java.io.IOException"/>
  524. <exception name="YarnException" type="org.apache.hadoop.yarn.exceptions.YarnException"/>
  525. <doc>
  526. <![CDATA[Initiate upgrade of a long running service.
  527. @param appName the name of the application.
  528. @param fileName specification of application upgrade to save.
  529. @param autoFinalize when true, finalization of upgrade will be done
  530. automatically.
  531. @return exit code
  532. @throws IOException IOException
  533. @throws YarnException exception in client or server]]>
  534. </doc>
  535. </method>
  536. <method name="actionUpgradeInstances" return="int"
  537. abstract="true" native="false" synchronized="false"
  538. static="false" final="false" visibility="public"
  539. deprecated="not deprecated">
  540. <param name="appName" type="java.lang.String"/>
  541. <param name="componentInstances" type="java.util.List"/>
  542. <exception name="IOException" type="java.io.IOException"/>
  543. <exception name="YarnException" type="org.apache.hadoop.yarn.exceptions.YarnException"/>
  544. <doc>
  545. <![CDATA[Upgrade component instances of a long running service.
  546. @param appName the name of the application.
  547. @param componentInstances the name of the component instances.]]>
  548. </doc>
  549. </method>
  550. <method name="actionUpgradeComponents" return="int"
  551. abstract="true" native="false" synchronized="false"
  552. static="false" final="false" visibility="public"
  553. deprecated="not deprecated">
  554. <param name="appName" type="java.lang.String"/>
  555. <param name="components" type="java.util.List"/>
  556. <exception name="IOException" type="java.io.IOException"/>
  557. <exception name="YarnException" type="org.apache.hadoop.yarn.exceptions.YarnException"/>
  558. <doc>
  559. <![CDATA[Upgrade components of a long running service.
  560. @param appName the name of the application.
  561. @param components the name of the components.]]>
  562. </doc>
  563. </method>
  564. <method name="actionCleanUp" return="int"
  565. abstract="true" native="false" synchronized="false"
  566. static="false" final="false" visibility="public"
  567. deprecated="not deprecated">
  568. <param name="appName" type="java.lang.String"/>
  569. <param name="userName" type="java.lang.String"/>
  570. <exception name="IOException" type="java.io.IOException"/>
  571. <exception name="YarnException" type="org.apache.hadoop.yarn.exceptions.YarnException"/>
  572. <doc>
  573. <![CDATA[Operation to be performed by the RM after an application has completed.
  574. @param appName the name of the application.
  575. @param userName the name of the user.
  576. @return exit code]]>
  577. </doc>
  578. </method>
  579. <method name="getInstances" return="java.lang.String"
  580. abstract="true" native="false" synchronized="false"
  581. static="false" final="false" visibility="public"
  582. deprecated="not deprecated">
  583. <param name="appName" type="java.lang.String"/>
  584. <param name="components" type="java.util.List"/>
  585. <param name="version" type="java.lang.String"/>
  586. <param name="containerStates" type="java.util.List"/>
  587. <exception name="IOException" type="java.io.IOException"/>
  588. <exception name="YarnException" type="org.apache.hadoop.yarn.exceptions.YarnException"/>
  589. </method>
  590. <method name="actionUpgradeExpress" return="int"
  591. abstract="true" native="false" synchronized="false"
  592. static="false" final="false" visibility="public"
  593. deprecated="not deprecated">
  594. <param name="appName" type="java.lang.String"/>
  595. <param name="fileName" type="java.io.File"/>
  596. <exception name="IOException" type="java.io.IOException"/>
  597. <exception name="YarnException" type="org.apache.hadoop.yarn.exceptions.YarnException"/>
  598. <doc>
  599. <![CDATA[Express upgrade a long running service.
  600. @param appName the name of the application
  601. @param fileName specification of application upgrade to save.
  602. @return exit code]]>
  603. </doc>
  604. </method>
  605. <method name="actionCancelUpgrade" return="int"
  606. abstract="true" native="false" synchronized="false"
  607. static="false" final="false" visibility="public"
  608. deprecated="not deprecated">
  609. <param name="appName" type="java.lang.String"/>
  610. <exception name="IOException" type="java.io.IOException"/>
  611. <exception name="YarnException" type="org.apache.hadoop.yarn.exceptions.YarnException"/>
  612. <doc>
  613. <![CDATA[Cancels the upgrade of the service.
  614. @param appName the name of the application
  615. @return exit code
  616. @throws IOException
  617. @throws YarnException]]>
  618. </doc>
  619. </method>
  620. <method name="actionDecommissionInstances" return="int"
  621. abstract="true" native="false" synchronized="false"
  622. static="false" final="false" visibility="public"
  623. deprecated="not deprecated">
  624. <param name="appName" type="java.lang.String"/>
  625. <param name="componentInstances" type="java.util.List"/>
  626. <exception name="IOException" type="java.io.IOException"/>
  627. <exception name="YarnException" type="org.apache.hadoop.yarn.exceptions.YarnException"/>
  628. <doc>
  629. <![CDATA[Decommission component instances of a long running service.
  630. @param appName the name of the application.
  631. @param componentInstances the name of the component instances.]]>
  632. </doc>
  633. </method>
  634. <field name="YARN_APP_ADMIN_CLIENT_PREFIX" type="java.lang.String"
  635. transient="false" volatile="false"
  636. static="true" final="true" visibility="public"
  637. deprecated="not deprecated">
  638. </field>
  639. <field name="DEFAULT_TYPE" type="java.lang.String"
  640. transient="false" volatile="false"
  641. static="true" final="true" visibility="public"
  642. deprecated="not deprecated">
  643. </field>
  644. <field name="DEFAULT_CLASS_NAME" type="java.lang.String"
  645. transient="false" volatile="false"
  646. static="true" final="true" visibility="public"
  647. deprecated="not deprecated">
  648. </field>
  649. <field name="UNIT_TEST_TYPE" type="java.lang.String"
  650. transient="false" volatile="false"
  651. static="true" final="true" visibility="public"
  652. deprecated="not deprecated">
  653. </field>
  654. <field name="UNIT_TEST_CLASS_NAME" type="java.lang.String"
  655. transient="false" volatile="false"
  656. static="true" final="true" visibility="public"
  657. deprecated="not deprecated">
  658. </field>
  659. <doc>
  660. <![CDATA[Client for managing applications.]]>
  661. </doc>
  662. </class>
  663. <!-- end class org.apache.hadoop.yarn.client.api.AppAdminClient -->
  664. <!-- start class org.apache.hadoop.yarn.client.api.TimelineClient -->
  665. <class name="TimelineClient" extends="org.apache.hadoop.service.CompositeService"
  666. abstract="true"
  667. static="false" final="false" visibility="public"
  668. deprecated="not deprecated">
  669. <implements name="java.io.Flushable"/>
  670. <constructor name="TimelineClient" type="java.lang.String"
  671. static="false" final="false" visibility="protected"
  672. deprecated="not deprecated">
  673. </constructor>
  674. <method name="createTimelineClient" return="org.apache.hadoop.yarn.client.api.TimelineClient"
  675. abstract="false" native="false" synchronized="false"
  676. static="true" final="false" visibility="public"
  677. deprecated="not deprecated">
  678. <doc>
  679. <![CDATA[Creates an instance of the timeline v.1.x client.
  680. The current UGI when the user initialize the client will be used to do the
  681. put and the delegation token operations. The current user may use
  682. {@link UserGroupInformation#doAs} another user to construct and initialize
  683. a timeline client if the following operations are supposed to be conducted
  684. by that user.
  685. @return the created timeline client instance]]>
  686. </doc>
  687. </method>
  688. <method name="putEntities" return="org.apache.hadoop.yarn.api.records.timeline.TimelinePutResponse"
  689. abstract="true" native="false" synchronized="false"
  690. static="false" final="false" visibility="public"
  691. deprecated="not deprecated">
  692. <param name="entities" type="org.apache.hadoop.yarn.api.records.timeline.TimelineEntity[]"/>
  693. <exception name="IOException" type="java.io.IOException"/>
  694. <exception name="YarnException" type="org.apache.hadoop.yarn.exceptions.YarnException"/>
  695. <doc>
  696. <![CDATA[<p>
  697. Send the information of a number of conceptual entities to the timeline
  698. server. It is a blocking API. The method will not return until it gets the
  699. response from the timeline server.
  700. </p>
  701. @param entities
  702. the collection of {@link TimelineEntity}
  703. @return the error information if the sent entities are not correctly stored
  704. @throws IOException if there are I/O errors
  705. @throws YarnException if entities are incomplete/invalid]]>
  706. </doc>
  707. </method>
  708. <method name="putEntities" return="org.apache.hadoop.yarn.api.records.timeline.TimelinePutResponse"
  709. abstract="true" native="false" synchronized="false"
  710. static="false" final="false" visibility="public"
  711. deprecated="not deprecated">
  712. <param name="appAttemptId" type="org.apache.hadoop.yarn.api.records.ApplicationAttemptId"/>
  713. <param name="groupId" type="org.apache.hadoop.yarn.api.records.timeline.TimelineEntityGroupId"/>
  714. <param name="entities" type="org.apache.hadoop.yarn.api.records.timeline.TimelineEntity[]"/>
  715. <exception name="IOException" type="java.io.IOException"/>
  716. <exception name="YarnException" type="org.apache.hadoop.yarn.exceptions.YarnException"/>
  717. <doc>
  718. <![CDATA[<p>
  719. Send the information of a number of conceptual entities to the timeline
  720. server. It is a blocking API. The method will not return until it gets the
  721. response from the timeline server.
  722. This API is only for timeline service v1.5
  723. </p>
  724. @param appAttemptId {@link ApplicationAttemptId}
  725. @param groupId {@link TimelineEntityGroupId}
  726. @param entities
  727. the collection of {@link TimelineEntity}
  728. @return the error information if the sent entities are not correctly stored
  729. @throws IOException if there are I/O errors
  730. @throws YarnException if entities are incomplete/invalid]]>
  731. </doc>
  732. </method>
  733. <method name="putDomain"
  734. abstract="true" native="false" synchronized="false"
  735. static="false" final="false" visibility="public"
  736. deprecated="not deprecated">
  737. <param name="domain" type="org.apache.hadoop.yarn.api.records.timeline.TimelineDomain"/>
  738. <exception name="IOException" type="java.io.IOException"/>
  739. <exception name="YarnException" type="org.apache.hadoop.yarn.exceptions.YarnException"/>
  740. <doc>
  741. <![CDATA[<p>
  742. Send the information of a domain to the timeline server. It is a
  743. blocking API. The method will not return until it gets the response from
  744. the timeline server.
  745. </p>
  746. @param domain
  747. an {@link TimelineDomain} object
  748. @throws IOException
  749. @throws YarnException]]>
  750. </doc>
  751. </method>
  752. <method name="putDomain"
  753. abstract="true" native="false" synchronized="false"
  754. static="false" final="false" visibility="public"
  755. deprecated="not deprecated">
  756. <param name="appAttemptId" type="org.apache.hadoop.yarn.api.records.ApplicationAttemptId"/>
  757. <param name="domain" type="org.apache.hadoop.yarn.api.records.timeline.TimelineDomain"/>
  758. <exception name="IOException" type="java.io.IOException"/>
  759. <exception name="YarnException" type="org.apache.hadoop.yarn.exceptions.YarnException"/>
  760. <doc>
  761. <![CDATA[<p>
  762. Send the information of a domain to the timeline server. It is a
  763. blocking API. The method will not return until it gets the response from
  764. the timeline server.
  765. This API is only for timeline service v1.5
  766. </p>
  767. @param domain
  768. an {@link TimelineDomain} object
  769. @param appAttemptId {@link ApplicationAttemptId}
  770. @throws IOException
  771. @throws YarnException]]>
  772. </doc>
  773. </method>
  774. <method name="getDelegationToken" return="org.apache.hadoop.security.token.Token"
  775. abstract="true" native="false" synchronized="false"
  776. static="false" final="false" visibility="public"
  777. deprecated="not deprecated">
  778. <param name="renewer" type="java.lang.String"/>
  779. <exception name="IOException" type="java.io.IOException"/>
  780. <exception name="YarnException" type="org.apache.hadoop.yarn.exceptions.YarnException"/>
  781. <doc>
  782. <![CDATA[<p>
  783. Get a delegation token so as to be able to talk to the timeline server in a
  784. secure way.
  785. </p>
  786. @param renewer
  787. Address of the renewer who can renew these tokens when needed by
  788. securely talking to the timeline server
  789. @return a delegation token ({@link Token}) that can be used to talk to the
  790. timeline server
  791. @throws IOException
  792. @throws YarnException]]>
  793. </doc>
  794. </method>
  795. <method name="renewDelegationToken" return="long"
  796. abstract="true" native="false" synchronized="false"
  797. static="false" final="false" visibility="public"
  798. deprecated="not deprecated">
  799. <param name="timelineDT" type="org.apache.hadoop.security.token.Token"/>
  800. <exception name="IOException" type="java.io.IOException"/>
  801. <exception name="YarnException" type="org.apache.hadoop.yarn.exceptions.YarnException"/>
  802. <doc>
  803. <![CDATA[<p>
  804. Renew a timeline delegation token.
  805. </p>
  806. @param timelineDT
  807. the delegation token to renew
  808. @return the new expiration time
  809. @throws IOException
  810. @throws YarnException]]>
  811. </doc>
  812. </method>
  813. <method name="cancelDelegationToken"
  814. abstract="true" native="false" synchronized="false"
  815. static="false" final="false" visibility="public"
  816. deprecated="not deprecated">
  817. <param name="timelineDT" type="org.apache.hadoop.security.token.Token"/>
  818. <exception name="IOException" type="java.io.IOException"/>
  819. <exception name="YarnException" type="org.apache.hadoop.yarn.exceptions.YarnException"/>
  820. <doc>
  821. <![CDATA[<p>
  822. Cancel a timeline delegation token.
  823. </p>
  824. @param timelineDT
  825. the delegation token to cancel
  826. @throws IOException
  827. @throws YarnException]]>
  828. </doc>
  829. </method>
  830. <doc>
  831. <![CDATA[A client library that can be used to post some information in terms of a
  832. number of conceptual entities. This client library needs to be used along
  833. with Timeline V.1.x server versions.
  834. Refer {@link TimelineV2Client} for ATS V2 interface.]]>
  835. </doc>
  836. </class>
  837. <!-- end class org.apache.hadoop.yarn.client.api.TimelineClient -->
  838. <!-- start class org.apache.hadoop.yarn.client.api.TimelineReaderClient -->
  839. <class name="TimelineReaderClient" extends="org.apache.hadoop.service.CompositeService"
  840. abstract="true"
  841. static="false" final="false" visibility="public"
  842. deprecated="not deprecated">
  843. <constructor name="TimelineReaderClient" type="java.lang.String"
  844. static="false" final="false" visibility="public"
  845. deprecated="not deprecated">
  846. </constructor>
  847. <method name="createTimelineReaderClient" return="org.apache.hadoop.yarn.client.api.TimelineReaderClient"
  848. abstract="false" native="false" synchronized="false"
  849. static="true" final="false" visibility="public"
  850. deprecated="not deprecated">
  851. <doc>
  852. <![CDATA[Create a new instance of Timeline Reader Client.]]>
  853. </doc>
  854. </method>
  855. <method name="getApplicationEntity" return="org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity"
  856. abstract="true" native="false" synchronized="false"
  857. static="false" final="false" visibility="public"
  858. deprecated="not deprecated">
  859. <param name="appId" type="org.apache.hadoop.yarn.api.records.ApplicationId"/>
  860. <param name="fields" type="java.lang.String"/>
  861. <param name="filters" type="java.util.Map"/>
  862. <exception name="IOException" type="java.io.IOException"/>
  863. <doc>
  864. <![CDATA[Gets application entity.
  865. @param appId application id
  866. @param fields Fields to be fetched. Defaults to INFO.
  867. @param filters Filters to be applied while fetching entities.
  868. @return entity of the application
  869. @throws IOException]]>
  870. </doc>
  871. </method>
  872. <method name="getApplicationAttemptEntity" return="org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity"
  873. abstract="true" native="false" synchronized="false"
  874. static="false" final="false" visibility="public"
  875. deprecated="not deprecated">
  876. <param name="appAttemptId" type="org.apache.hadoop.yarn.api.records.ApplicationAttemptId"/>
  877. <param name="fields" type="java.lang.String"/>
  878. <param name="filters" type="java.util.Map"/>
  879. <exception name="IOException" type="java.io.IOException"/>
  880. <doc>
  881. <![CDATA[Gets application attempt entity.
  882. @param appAttemptId application attempt id
  883. @param fields Fields to be fetched. Defaults to INFO.
  884. @param filters Filters to be applied while fetching entities.
  885. @return entity associated with application attempt
  886. @throws IOException]]>
  887. </doc>
  888. </method>
  889. <method name="getApplicationAttemptEntities" return="java.util.List"
  890. abstract="true" native="false" synchronized="false"
  891. static="false" final="false" visibility="public"
  892. deprecated="not deprecated">
  893. <param name="appId" type="org.apache.hadoop.yarn.api.records.ApplicationId"/>
  894. <param name="fields" type="java.lang.String"/>
  895. <param name="filters" type="java.util.Map"/>
  896. <param name="limit" type="long"/>
  897. <param name="fromId" type="java.lang.String"/>
  898. <exception name="IOException" type="java.io.IOException"/>
  899. <doc>
  900. <![CDATA[Gets application attempt entities.
  901. @param appId application id
  902. @param fields Fields to be fetched. Defaults to INFO.
  903. @param filters Filters to be applied while fetching entities.
  904. @param limit Number of entities to return.
  905. @param fromId Retrieve next set of generic ids from given fromId
  906. @return list of application attempt entities
  907. @throws IOException]]>
  908. </doc>
  909. </method>
  910. <method name="getContainerEntity" return="org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity"
  911. abstract="true" native="false" synchronized="false"
  912. static="false" final="false" visibility="public"
  913. deprecated="not deprecated">
  914. <param name="containerId" type="org.apache.hadoop.yarn.api.records.ContainerId"/>
  915. <param name="fields" type="java.lang.String"/>
  916. <param name="filters" type="java.util.Map"/>
  917. <exception name="IOException" type="java.io.IOException"/>
  918. <doc>
  919. <![CDATA[Gets Timeline entity for the container.
  920. @param containerId container id
  921. @param fields Fields to be fetched. Defaults to INFO.
  922. @param filters Filters to be applied while fetching entities.
  923. @return timeline entity for container
  924. @throws IOException]]>
  925. </doc>
  926. </method>
  927. <method name="getContainerEntities" return="java.util.List"
  928. abstract="true" native="false" synchronized="false"
  929. static="false" final="false" visibility="public"
  930. deprecated="not deprecated">
  931. <param name="appId" type="org.apache.hadoop.yarn.api.records.ApplicationId"/>
  932. <param name="fields" type="java.lang.String"/>
  933. <param name="filters" type="java.util.Map"/>
  934. <param name="limit" type="long"/>
  935. <param name="fromId" type="java.lang.String"/>
  936. <exception name="IOException" type="java.io.IOException"/>
  937. <doc>
  938. <![CDATA[Gets container entities for an application.
  939. @param appId application id
  940. @param fields Fields to be fetched. Defaults to INFO.
  941. @param filters Filters to be applied while fetching entities.
  942. @param limit Number of entities to return.
  943. @param fromId Retrieve next set of generic ids from given fromId
  944. @return list of entities
  945. @throws IOException]]>
  946. </doc>
  947. </method>
  948. <doc>
  949. <![CDATA[A client library that can be used to get Timeline Entities associated with
  950. application, application attempt or containers. This client library needs to
  951. be used along with time line v.2 server version.]]>
  952. </doc>
  953. </class>
  954. <!-- end class org.apache.hadoop.yarn.client.api.TimelineReaderClient -->
  955. </package>
  956. <package name="org.apache.hadoop.yarn.client.api.impl">
  957. <!-- start class org.apache.hadoop.yarn.client.api.impl.TimelineReaderClientImpl -->
  958. <class name="TimelineReaderClientImpl" extends="org.apache.hadoop.yarn.client.api.TimelineReaderClient"
  959. abstract="false"
  960. static="false" final="false" visibility="public"
  961. deprecated="not deprecated">
  962. <constructor name="TimelineReaderClientImpl"
  963. static="false" final="false" visibility="public"
  964. deprecated="not deprecated">
  965. </constructor>
  966. <method name="serviceInit"
  967. abstract="false" native="false" synchronized="false"
  968. static="false" final="false" visibility="protected"
  969. deprecated="not deprecated">
  970. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  971. <exception name="Exception" type="java.lang.Exception"/>
  972. </method>
  973. <method name="getApplicationEntity" return="org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity"
  974. abstract="false" native="false" synchronized="false"
  975. static="false" final="false" visibility="public"
  976. deprecated="not deprecated">
  977. <param name="appId" type="org.apache.hadoop.yarn.api.records.ApplicationId"/>
  978. <param name="fields" type="java.lang.String"/>
  979. <param name="filters" type="java.util.Map"/>
  980. <exception name="IOException" type="java.io.IOException"/>
  981. </method>
  982. <method name="getApplicationAttemptEntity" return="org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity"
  983. abstract="false" native="false" synchronized="false"
  984. static="false" final="false" visibility="public"
  985. deprecated="not deprecated">
  986. <param name="appAttemptId" type="org.apache.hadoop.yarn.api.records.ApplicationAttemptId"/>
  987. <param name="fields" type="java.lang.String"/>
  988. <param name="filters" type="java.util.Map"/>
  989. <exception name="IOException" type="java.io.IOException"/>
  990. </method>
  991. <method name="getApplicationAttemptEntities" return="java.util.List"
  992. abstract="false" native="false" synchronized="false"
  993. static="false" final="false" visibility="public"
  994. deprecated="not deprecated">
  995. <param name="appId" type="org.apache.hadoop.yarn.api.records.ApplicationId"/>
  996. <param name="fields" type="java.lang.String"/>
  997. <param name="filters" type="java.util.Map"/>
  998. <param name="limit" type="long"/>
  999. <param name="fromId" type="java.lang.String"/>
  1000. <exception name="IOException" type="java.io.IOException"/>
  1001. </method>
  1002. <method name="getContainerEntity" return="org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity"
  1003. abstract="false" native="false" synchronized="false"
  1004. static="false" final="false" visibility="public"
  1005. deprecated="not deprecated">
  1006. <param name="containerId" type="org.apache.hadoop.yarn.api.records.ContainerId"/>
  1007. <param name="fields" type="java.lang.String"/>
  1008. <param name="filters" type="java.util.Map"/>
  1009. <exception name="IOException" type="java.io.IOException"/>
  1010. </method>
  1011. <method name="getContainerEntities" return="java.util.List"
  1012. abstract="false" native="false" synchronized="false"
  1013. static="false" final="false" visibility="public"
  1014. deprecated="not deprecated">
  1015. <param name="appId" type="org.apache.hadoop.yarn.api.records.ApplicationId"/>
  1016. <param name="fields" type="java.lang.String"/>
  1017. <param name="filters" type="java.util.Map"/>
  1018. <param name="limit" type="long"/>
  1019. <param name="fromId" type="java.lang.String"/>
  1020. <exception name="IOException" type="java.io.IOException"/>
  1021. </method>
  1022. <method name="encodeValue" return="java.lang.String"
  1023. abstract="false" native="false" synchronized="false"
  1024. static="false" final="false" visibility="protected"
  1025. deprecated="not deprecated">
  1026. <param name="value" type="java.lang.String"/>
  1027. <exception name="UnsupportedEncodingException" type="java.io.UnsupportedEncodingException"/>
  1028. </method>
  1029. <method name="doGetUri" return="com.sun.jersey.api.client.ClientResponse"
  1030. abstract="false" native="false" synchronized="false"
  1031. static="false" final="false" visibility="protected"
  1032. deprecated="not deprecated">
  1033. <param name="base" type="java.net.URI"/>
  1034. <param name="path" type="java.lang.String"/>
  1035. <param name="params" type="javax.ws.rs.core.MultivaluedMap"/>
  1036. <exception name="IOException" type="java.io.IOException"/>
  1037. </method>
  1038. <doc>
  1039. <![CDATA[Implementation of TimelineReaderClient interface.]]>
  1040. </doc>
  1041. </class>
  1042. <!-- end class org.apache.hadoop.yarn.client.api.impl.TimelineReaderClientImpl -->
  1043. </package>
  1044. <package name="org.apache.hadoop.yarn.event">
  1045. <!-- start class org.apache.hadoop.yarn.event.AbstractEvent -->
  1046. <class name="AbstractEvent" extends="java.lang.Object"
  1047. abstract="true"
  1048. static="false" final="false" visibility="public"
  1049. deprecated="not deprecated">
  1050. <implements name="org.apache.hadoop.yarn.event.Event"/>
  1051. <constructor name="AbstractEvent" type="TYPE"
  1052. static="false" final="false" visibility="public"
  1053. deprecated="not deprecated">
  1054. </constructor>
  1055. <constructor name="AbstractEvent" type="TYPE, long"
  1056. static="false" final="false" visibility="public"
  1057. deprecated="not deprecated">
  1058. </constructor>
  1059. <method name="getTimestamp" return="long"
  1060. abstract="false" native="false" synchronized="false"
  1061. static="false" final="false" visibility="public"
  1062. deprecated="not deprecated">
  1063. </method>
  1064. <method name="getType" return="TYPE"
  1065. abstract="false" native="false" synchronized="false"
  1066. static="false" final="false" visibility="public"
  1067. deprecated="not deprecated">
  1068. </method>
  1069. <method name="toString" return="java.lang.String"
  1070. abstract="false" native="false" synchronized="false"
  1071. static="false" final="false" visibility="public"
  1072. deprecated="not deprecated">
  1073. </method>
  1074. <doc>
  1075. <![CDATA[Parent class of all the events. All events extend this class.]]>
  1076. </doc>
  1077. </class>
  1078. <!-- end class org.apache.hadoop.yarn.event.AbstractEvent -->
  1079. <!-- start class org.apache.hadoop.yarn.event.AsyncDispatcher -->
  1080. <class name="AsyncDispatcher" extends="org.apache.hadoop.service.AbstractService"
  1081. abstract="false"
  1082. static="false" final="false" visibility="public"
  1083. deprecated="not deprecated">
  1084. <implements name="org.apache.hadoop.yarn.event.Dispatcher"/>
  1085. <constructor name="AsyncDispatcher"
  1086. static="false" final="false" visibility="public"
  1087. deprecated="not deprecated">
  1088. </constructor>
  1089. <constructor name="AsyncDispatcher" type="java.util.concurrent.BlockingQueue"
  1090. static="false" final="false" visibility="public"
  1091. deprecated="not deprecated">
  1092. </constructor>
  1093. <constructor name="AsyncDispatcher" type="java.lang.String"
  1094. static="false" final="false" visibility="public"
  1095. deprecated="not deprecated">
  1096. <doc>
  1097. <![CDATA[Set a name for this dispatcher thread.
  1098. @param dispatcherName name of the dispatcher thread]]>
  1099. </doc>
  1100. </constructor>
  1101. <method name="disableExitOnDispatchException"
  1102. abstract="false" native="false" synchronized="false"
  1103. static="false" final="false" visibility="public"
  1104. deprecated="not deprecated">
  1105. </method>
  1106. <method name="serviceInit"
  1107. abstract="false" native="false" synchronized="false"
  1108. static="false" final="false" visibility="protected"
  1109. deprecated="not deprecated">
  1110. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  1111. <exception name="Exception" type="java.lang.Exception"/>
  1112. </method>
  1113. <method name="serviceStart"
  1114. abstract="false" native="false" synchronized="false"
  1115. static="false" final="false" visibility="protected"
  1116. deprecated="not deprecated">
  1117. <exception name="Exception" type="java.lang.Exception"/>
  1118. </method>
  1119. <method name="setDrainEventsOnStop"
  1120. abstract="false" native="false" synchronized="false"
  1121. static="false" final="false" visibility="public"
  1122. deprecated="not deprecated">
  1123. </method>
  1124. <method name="serviceStop"
  1125. abstract="false" native="false" synchronized="false"
  1126. static="false" final="false" visibility="protected"
  1127. deprecated="not deprecated">
  1128. <exception name="Exception" type="java.lang.Exception"/>
  1129. </method>
  1130. <method name="dispatch"
  1131. abstract="false" native="false" synchronized="false"
  1132. static="false" final="false" visibility="protected"
  1133. deprecated="not deprecated">
  1134. <param name="event" type="org.apache.hadoop.yarn.event.Event"/>
  1135. </method>
  1136. <method name="register"
  1137. abstract="false" native="false" synchronized="false"
  1138. static="false" final="false" visibility="public"
  1139. deprecated="not deprecated">
  1140. <param name="eventType" type="java.lang.Class"/>
  1141. <param name="handler" type="org.apache.hadoop.yarn.event.EventHandler"/>
  1142. </method>
  1143. <method name="getEventHandler" return="org.apache.hadoop.yarn.event.EventHandler"
  1144. abstract="false" native="false" synchronized="false"
  1145. static="false" final="false" visibility="public"
  1146. deprecated="not deprecated">
  1147. </method>
  1148. <method name="isEventThreadWaiting" return="boolean"
  1149. abstract="false" native="false" synchronized="false"
  1150. static="false" final="false" visibility="protected"
  1151. deprecated="not deprecated">
  1152. </method>
  1153. <method name="isDrained" return="boolean"
  1154. abstract="false" native="false" synchronized="false"
  1155. static="false" final="false" visibility="protected"
  1156. deprecated="not deprecated">
  1157. </method>
  1158. <method name="isStopped" return="boolean"
  1159. abstract="false" native="false" synchronized="false"
  1160. static="false" final="false" visibility="protected"
  1161. deprecated="not deprecated">
  1162. </method>
  1163. <field name="eventDispatchers" type="java.util.Map"
  1164. transient="false" volatile="false"
  1165. static="false" final="true" visibility="protected"
  1166. deprecated="not deprecated">
  1167. </field>
  1168. <doc>
  1169. <![CDATA[Dispatches {@link Event}s in a separate thread. Currently only single thread
  1170. does that. Potentially there could be multiple channels for each event type
  1171. class and a thread pool can be used to dispatch the events.]]>
  1172. </doc>
  1173. </class>
  1174. <!-- end class org.apache.hadoop.yarn.event.AsyncDispatcher -->
  1175. <!-- start interface org.apache.hadoop.yarn.event.Dispatcher -->
  1176. <interface name="Dispatcher" abstract="true"
  1177. static="false" final="false" visibility="public"
  1178. deprecated="not deprecated">
  1179. <method name="getEventHandler" return="org.apache.hadoop.yarn.event.EventHandler"
  1180. abstract="true" native="false" synchronized="false"
  1181. static="false" final="false" visibility="public"
  1182. deprecated="not deprecated">
  1183. </method>
  1184. <method name="register"
  1185. abstract="true" native="false" synchronized="false"
  1186. static="false" final="false" visibility="public"
  1187. deprecated="not deprecated">
  1188. <param name="eventType" type="java.lang.Class"/>
  1189. <param name="handler" type="org.apache.hadoop.yarn.event.EventHandler"/>
  1190. </method>
  1191. <doc>
  1192. <![CDATA[Event Dispatcher interface. It dispatches events to registered
  1193. event handlers based on event types.]]>
  1194. </doc>
  1195. </interface>
  1196. <!-- end interface org.apache.hadoop.yarn.event.Dispatcher -->
  1197. <!-- start interface org.apache.hadoop.yarn.event.Event -->
  1198. <interface name="Event" abstract="true"
  1199. static="false" final="false" visibility="public"
  1200. deprecated="not deprecated">
  1201. <method name="getType" return="TYPE"
  1202. abstract="true" native="false" synchronized="false"
  1203. static="false" final="false" visibility="public"
  1204. deprecated="not deprecated">
  1205. </method>
  1206. <method name="getTimestamp" return="long"
  1207. abstract="true" native="false" synchronized="false"
  1208. static="false" final="false" visibility="public"
  1209. deprecated="not deprecated">
  1210. </method>
  1211. <method name="toString" return="java.lang.String"
  1212. abstract="true" native="false" synchronized="false"
  1213. static="false" final="false" visibility="public"
  1214. deprecated="not deprecated">
  1215. </method>
  1216. <doc>
  1217. <![CDATA[Interface defining events api.]]>
  1218. </doc>
  1219. </interface>
  1220. <!-- end interface org.apache.hadoop.yarn.event.Event -->
  1221. <!-- start interface org.apache.hadoop.yarn.event.EventHandler -->
  1222. <interface name="EventHandler" abstract="true"
  1223. static="false" final="false" visibility="public"
  1224. deprecated="not deprecated">
  1225. <method name="handle"
  1226. abstract="true" native="false" synchronized="false"
  1227. static="false" final="false" visibility="public"
  1228. deprecated="not deprecated">
  1229. <param name="event" type="T"/>
  1230. </method>
  1231. <doc>
  1232. <![CDATA[Interface for handling events of type T
  1233. @param <T> parameterized event of type T]]>
  1234. </doc>
  1235. </interface>
  1236. <!-- end interface org.apache.hadoop.yarn.event.EventHandler -->
  1237. </package>
  1238. <package name="org.apache.hadoop.yarn.factories">
  1239. </package>
  1240. <package name="org.apache.hadoop.yarn.factory.providers">
  1241. </package>
  1242. <package name="org.apache.hadoop.yarn.logaggregation">
  1243. <!-- start class org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat -->
  1244. <class name="AggregatedLogFormat" extends="java.lang.Object"
  1245. abstract="false"
  1246. static="false" final="false" visibility="public"
  1247. deprecated="not deprecated">
  1248. <constructor name="AggregatedLogFormat"
  1249. static="false" final="false" visibility="public"
  1250. deprecated="not deprecated">
  1251. </constructor>
  1252. </class>
  1253. <!-- end class org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat -->
  1254. <!-- start class org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat.LogKey -->
  1255. <class name="AggregatedLogFormat.LogKey" extends="java.lang.Object"
  1256. abstract="false"
  1257. static="true" final="false" visibility="public"
  1258. deprecated="not deprecated">
  1259. <implements name="org.apache.hadoop.io.Writable"/>
  1260. <constructor name="LogKey"
  1261. static="false" final="false" visibility="public"
  1262. deprecated="not deprecated">
  1263. </constructor>
  1264. <constructor name="LogKey" type="org.apache.hadoop.yarn.api.records.ContainerId"
  1265. static="false" final="false" visibility="public"
  1266. deprecated="not deprecated">
  1267. </constructor>
  1268. <constructor name="LogKey" type="java.lang.String"
  1269. static="false" final="false" visibility="public"
  1270. deprecated="not deprecated">
  1271. </constructor>
  1272. <method name="hashCode" return="int"
  1273. abstract="false" native="false" synchronized="false"
  1274. static="false" final="false" visibility="public"
  1275. deprecated="not deprecated">
  1276. </method>
  1277. <method name="equals" return="boolean"
  1278. abstract="false" native="false" synchronized="false"
  1279. static="false" final="false" visibility="public"
  1280. deprecated="not deprecated">
  1281. <param name="obj" type="java.lang.Object"/>
  1282. </method>
  1283. <method name="toString" return="java.lang.String"
  1284. abstract="false" native="false" synchronized="false"
  1285. static="false" final="false" visibility="public"
  1286. deprecated="not deprecated">
  1287. </method>
  1288. </class>
  1289. <!-- end class org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat.LogKey -->
  1290. <!-- start class org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat.LogReader -->
  1291. <class name="AggregatedLogFormat.LogReader" extends="java.lang.Object"
  1292. abstract="false"
  1293. static="true" final="false" visibility="public"
  1294. deprecated="not deprecated">
  1295. <constructor name="LogReader" type="org.apache.hadoop.conf.Configuration, org.apache.hadoop.fs.Path"
  1296. static="false" final="false" visibility="public"
  1297. deprecated="not deprecated">
  1298. <exception name="IOException" type="java.io.IOException"/>
  1299. </constructor>
  1300. <method name="getApplicationOwner" return="java.lang.String"
  1301. abstract="false" native="false" synchronized="false"
  1302. static="false" final="false" visibility="public"
  1303. deprecated="not deprecated">
  1304. <exception name="IOException" type="java.io.IOException"/>
  1305. <doc>
  1306. <![CDATA[Returns the owner of the application.
  1307. @return the application owner.
  1308. @throws IOException if we can not get the application owner.]]>
  1309. </doc>
  1310. </method>
  1311. <method name="getApplicationAcls" return="java.util.Map"
  1312. abstract="false" native="false" synchronized="false"
  1313. static="false" final="false" visibility="public"
  1314. deprecated="not deprecated">
  1315. <exception name="IOException" type="java.io.IOException"/>
  1316. <doc>
  1317. <![CDATA[Returns ACLs for the application. An empty map is returned if no ACLs are
  1318. found.
  1319. @return a map of the Application ACLs.
  1320. @throws IOException if we can not get the application acls.]]>
  1321. </doc>
  1322. </method>
  1323. <method name="next" return="java.io.DataInputStream"
  1324. abstract="false" native="false" synchronized="false"
  1325. static="false" final="false" visibility="public"
  1326. deprecated="not deprecated">
  1327. <param name="key" type="org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat.LogKey"/>
  1328. <exception name="IOException" type="java.io.IOException"/>
  1329. <doc>
  1330. <![CDATA[Read the next key and return the value-stream.
  1331. @param key the log key
  1332. @return the valueStream if there are more keys or null otherwise
  1333. @throws IOException if we can not get the dataInputStream
  1334. for the next key]]>
  1335. </doc>
  1336. </method>
  1337. <method name="readAcontainerLogs"
  1338. abstract="false" native="false" synchronized="false"
  1339. static="true" final="false" visibility="public"
  1340. deprecated="not deprecated">
  1341. <param name="valueStream" type="java.io.DataInputStream"/>
  1342. <param name="writer" type="java.io.Writer"/>
  1343. <param name="logUploadedTime" type="long"/>
  1344. <exception name="IOException" type="java.io.IOException"/>
  1345. <doc>
  1346. <![CDATA[Writes all logs for a single container to the provided writer.
  1347. @param valueStream the valueStream
  1348. @param writer the log writer
  1349. @param logUploadedTime the time stamp
  1350. @throws IOException if we can not read the container logs.]]>
  1351. </doc>
  1352. </method>
  1353. <method name="readAcontainerLogs"
  1354. abstract="false" native="false" synchronized="false"
  1355. static="true" final="false" visibility="public"
  1356. deprecated="not deprecated">
  1357. <param name="valueStream" type="java.io.DataInputStream"/>
  1358. <param name="writer" type="java.io.Writer"/>
  1359. <exception name="IOException" type="java.io.IOException"/>
  1360. <doc>
  1361. <![CDATA[Writes all logs for a single container to the provided writer.
  1362. @param valueStream the value stream
  1363. @param writer the log writer
  1364. @throws IOException if we can not read the container logs.]]>
  1365. </doc>
  1366. </method>
  1367. <method name="readAContainerLogsForALogType"
  1368. abstract="false" native="false" synchronized="false"
  1369. static="true" final="false" visibility="public"
  1370. deprecated="not deprecated">
  1371. <param name="valueStream" type="java.io.DataInputStream"/>
  1372. <param name="out" type="java.io.PrintStream"/>
  1373. <param name="logUploadedTime" type="long"/>
  1374. <exception name="IOException" type="java.io.IOException"/>
  1375. <doc>
  1376. <![CDATA[Keep calling this till you get a {@link EOFException} for getting logs of
  1377. all types for a single container.
  1378. @param valueStream the value stream
  1379. @param out the print stream
  1380. @param logUploadedTime the time stamp
  1381. @throws IOException if we can not read the container log by specifying
  1382. the container log type.]]>
  1383. </doc>
  1384. </method>
  1385. <method name="readAContainerLogsForALogType"
  1386. abstract="false" native="false" synchronized="false"
  1387. static="true" final="false" visibility="public"
  1388. deprecated="not deprecated">
  1389. <param name="valueStream" type="java.io.DataInputStream"/>
  1390. <param name="out" type="java.io.PrintStream"/>
  1391. <param name="logUploadedTime" type="long"/>
  1392. <param name="bytes" type="long"/>
  1393. <exception name="IOException" type="java.io.IOException"/>
  1394. <doc>
  1395. <![CDATA[Keep calling this till you get a {@link EOFException} for getting logs of
  1396. all types for a single container for the specific bytes.
  1397. @param valueStream the value stream
  1398. @param out the output print stream
  1399. @param logUploadedTime the log upload time stamp
  1400. @param bytes the output size of the log
  1401. @throws IOException if we can not read the container log]]>
  1402. </doc>
  1403. </method>
  1404. <method name="readAContainerLogsForALogType"
  1405. abstract="false" native="false" synchronized="false"
  1406. static="true" final="false" visibility="public"
  1407. deprecated="not deprecated">
  1408. <param name="valueStream" type="java.io.DataInputStream"/>
  1409. <param name="out" type="java.io.PrintStream"/>
  1410. <exception name="IOException" type="java.io.IOException"/>
  1411. <doc>
  1412. <![CDATA[Keep calling this till you get a {@link EOFException} for getting logs of
  1413. all types for a single container.
  1414. @param valueStream the value stream
  1415. @param out the output print stream
  1416. @throws IOException if we can not read the container log]]>
  1417. </doc>
  1418. </method>
  1419. <method name="readContainerLogsForALogType" return="int"
  1420. abstract="false" native="false" synchronized="false"
  1421. static="true" final="false" visibility="public"
  1422. deprecated="not deprecated">
  1423. <param name="valueStream" type="java.io.DataInputStream"/>
  1424. <param name="out" type="java.io.PrintStream"/>
  1425. <param name="logUploadedTime" type="long"/>
  1426. <param name="logType" type="java.util.List"/>
  1427. <exception name="IOException" type="java.io.IOException"/>
  1428. <doc>
  1429. <![CDATA[Keep calling this till you get a {@link EOFException} for getting logs of
  1430. the specific types for a single container.
  1431. @param valueStream the value stream
  1432. @param out the output print stream
  1433. @param logUploadedTime the log uploaded time stamp
  1434. @param logType the given log type
  1435. @throws IOException if we can not read the container logs]]>
  1436. </doc>
  1437. </method>
  1438. <method name="readContainerLogsForALogType" return="int"
  1439. abstract="false" native="false" synchronized="false"
  1440. static="true" final="false" visibility="public"
  1441. deprecated="not deprecated">
  1442. <param name="valueStream" type="java.io.DataInputStream"/>
  1443. <param name="out" type="java.io.PrintStream"/>
  1444. <param name="logUploadedTime" type="long"/>
  1445. <param name="logType" type="java.util.List"/>
  1446. <param name="bytes" type="long"/>
  1447. <exception name="IOException" type="java.io.IOException"/>
  1448. <doc>
  1449. <![CDATA[Keep calling this till you get a {@link EOFException} for getting logs of
  1450. the specific types for a single container.
  1451. @param valueStream the value stream
  1452. @param out the output print stream
  1453. @param logUploadedTime the log uploaded time stamp
  1454. @param logType the given log type
  1455. @throws IOException if we can not read the container logs]]>
  1456. </doc>
  1457. </method>
  1458. <method name="close"
  1459. abstract="false" native="false" synchronized="false"
  1460. static="false" final="false" visibility="public"
  1461. deprecated="not deprecated">
  1462. </method>
  1463. </class>
  1464. <!-- end class org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat.LogReader -->
  1465. </package>
  1466. <package name="org.apache.hadoop.yarn.logaggregation.filecontroller">
  1467. <!-- start class org.apache.hadoop.yarn.logaggregation.filecontroller.LogAggregationFileController -->
  1468. <class name="LogAggregationFileController" extends="java.lang.Object"
  1469. abstract="true"
  1470. static="false" final="false" visibility="public"
  1471. deprecated="not deprecated">
  1472. <constructor name="LogAggregationFileController"
  1473. static="false" final="false" visibility="public"
  1474. deprecated="not deprecated">
  1475. </constructor>
  1476. <method name="initialize"
  1477. abstract="false" native="false" synchronized="false"
  1478. static="false" final="false" visibility="public"
  1479. deprecated="not deprecated">
  1480. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  1481. <param name="controllerName" type="java.lang.String"/>
  1482. <doc>
  1483. <![CDATA[Initialize the log file controller.
  1484. @param conf the Configuration
  1485. @param controllerName the log controller class name]]>
  1486. </doc>
  1487. </method>
  1488. <method name="initInternal"
  1489. abstract="true" native="false" synchronized="false"
  1490. static="false" final="false" visibility="protected"
  1491. deprecated="not deprecated">
  1492. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  1493. <doc>
  1494. <![CDATA[Derived classes initialize themselves using this method.
  1495. @param conf the Configuration]]>
  1496. </doc>
  1497. </method>
  1498. <method name="getRemoteRootLogDir" return="org.apache.hadoop.fs.Path"
  1499. abstract="false" native="false" synchronized="false"
  1500. static="false" final="false" visibility="public"
  1501. deprecated="not deprecated">
  1502. <doc>
  1503. <![CDATA[Get the remote root log directory.
  1504. @return the remote root log directory path]]>
  1505. </doc>
  1506. </method>
  1507. <method name="getRemoteRootLogDirSuffix" return="java.lang.String"
  1508. abstract="false" native="false" synchronized="false"
  1509. static="false" final="false" visibility="public"
  1510. deprecated="not deprecated">
  1511. <doc>
  1512. <![CDATA[Get the log aggregation directory suffix.
  1513. @return the log aggregation directory suffix]]>
  1514. </doc>
  1515. </method>
  1516. <method name="initializeWriter"
  1517. abstract="true" native="false" synchronized="false"
  1518. static="false" final="false" visibility="public"
  1519. deprecated="not deprecated">
  1520. <param name="context" type="org.apache.hadoop.yarn.logaggregation.filecontroller.LogAggregationFileControllerContext"/>
  1521. <exception name="IOException" type="java.io.IOException"/>
  1522. <doc>
  1523. <![CDATA[Initialize the writer.
  1524. @param context the {@link LogAggregationFileControllerContext}
  1525. @throws IOException if fails to initialize the writer]]>
  1526. </doc>
  1527. </method>
  1528. <method name="closeWriter"
  1529. abstract="true" native="false" synchronized="false"
  1530. static="false" final="false" visibility="public"
  1531. deprecated="not deprecated">
  1532. <exception name="LogAggregationDFSException" type="org.apache.hadoop.yarn.logaggregation.filecontroller.LogAggregationDFSException"/>
  1533. <doc>
  1534. <![CDATA[Close the writer.
  1535. @throws LogAggregationDFSException if the closing of the writer fails
  1536. (for example due to HDFS quota being exceeded)]]>
  1537. </doc>
  1538. </method>
  1539. <method name="write"
  1540. abstract="true" native="false" synchronized="false"
  1541. static="false" final="false" visibility="public"
  1542. deprecated="not deprecated">
  1543. <param name="logKey" type="org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat.LogKey"/>
  1544. <param name="logValue" type="org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat.LogValue"/>
  1545. <exception name="IOException" type="java.io.IOException"/>
  1546. <doc>
  1547. <![CDATA[Write the log content.
  1548. @param logKey the log key
  1549. @param logValue the log content
  1550. @throws IOException if fails to write the logs]]>
  1551. </doc>
  1552. </method>
  1553. <method name="postWrite"
  1554. abstract="true" native="false" synchronized="false"
  1555. static="false" final="false" visibility="public"
  1556. deprecated="not deprecated">
  1557. <param name="record" type="org.apache.hadoop.yarn.logaggregation.filecontroller.LogAggregationFileControllerContext"/>
  1558. <exception name="Exception" type="java.lang.Exception"/>
  1559. <doc>
  1560. <![CDATA[Operations needed after write the log content.
  1561. @param record the {@link LogAggregationFileControllerContext}
  1562. @throws Exception if anything fails]]>
  1563. </doc>
  1564. </method>
  1565. <method name="closePrintStream"
  1566. abstract="false" native="false" synchronized="false"
  1567. static="false" final="false" visibility="protected"
  1568. deprecated="not deprecated">
  1569. <param name="out" type="java.io.OutputStream"/>
  1570. </method>
  1571. <method name="readAggregatedLogs" return="boolean"
  1572. abstract="true" native="false" synchronized="false"
  1573. static="false" final="false" visibility="public"
  1574. deprecated="not deprecated">
  1575. <param name="logRequest" type="org.apache.hadoop.yarn.logaggregation.ContainerLogsRequest"/>
  1576. <param name="os" type="java.io.OutputStream"/>
  1577. <exception name="IOException" type="java.io.IOException"/>
  1578. <doc>
  1579. <![CDATA[Output container log.
  1580. @param logRequest {@link ContainerLogsRequest}
  1581. @param os the output stream
  1582. @return true if we can read the aggregated logs successfully
  1583. @throws IOException if we can not access the log file.]]>
  1584. </doc>
  1585. </method>
  1586. <method name="readAggregatedLogsMeta" return="java.util.List"
  1587. abstract="true" native="false" synchronized="false"
  1588. static="false" final="false" visibility="public"
  1589. deprecated="not deprecated">
  1590. <param name="logRequest" type="org.apache.hadoop.yarn.logaggregation.ContainerLogsRequest"/>
  1591. <exception name="IOException" type="java.io.IOException"/>
  1592. <doc>
  1593. <![CDATA[Return a list of {@link ContainerLogMeta} for an application
  1594. from Remote FileSystem.
  1595. @param logRequest {@link ContainerLogsRequest}
  1596. @return a list of {@link ContainerLogMeta}
  1597. @throws IOException if there is no available log file]]>
  1598. </doc>
  1599. </method>
  1600. <method name="renderAggregatedLogsBlock"
  1601. abstract="true" native="false" synchronized="false"
  1602. static="false" final="false" visibility="public"
  1603. deprecated="not deprecated">
  1604. <param name="html" type="org.apache.hadoop.yarn.webapp.view.HtmlBlock.Block"/>
  1605. <param name="context" type="org.apache.hadoop.yarn.webapp.View.ViewContext"/>
  1606. <doc>
  1607. <![CDATA[Render Aggregated Logs block.
  1608. @param html the html
  1609. @param context the ViewContext]]>
  1610. </doc>
  1611. </method>
  1612. <method name="getApplicationOwner" return="java.lang.String"
  1613. abstract="true" native="false" synchronized="false"
  1614. static="false" final="false" visibility="public"
  1615. deprecated="not deprecated">
  1616. <param name="aggregatedLogPath" type="org.apache.hadoop.fs.Path"/>
  1617. <param name="appId" type="org.apache.hadoop.yarn.api.records.ApplicationId"/>
  1618. <exception name="IOException" type="java.io.IOException"/>
  1619. <doc>
  1620. <![CDATA[Returns the owner of the application.
  1621. @param aggregatedLogPath the aggregatedLog path
  1622. @param appId the ApplicationId
  1623. @return the application owner
  1624. @throws IOException if we can not get the application owner]]>
  1625. </doc>
  1626. </method>
  1627. <method name="getApplicationAcls" return="java.util.Map"
  1628. abstract="true" native="false" synchronized="false"
  1629. static="false" final="false" visibility="public"
  1630. deprecated="not deprecated">
  1631. <param name="aggregatedLogPath" type="org.apache.hadoop.fs.Path"/>
  1632. <param name="appId" type="org.apache.hadoop.yarn.api.records.ApplicationId"/>
  1633. <exception name="IOException" type="java.io.IOException"/>
  1634. <doc>
  1635. <![CDATA[Returns ACLs for the application. An empty map is returned if no ACLs are
  1636. found.
  1637. @param aggregatedLogPath the aggregatedLog path.
  1638. @param appId the ApplicationId
  1639. @return a map of the Application ACLs.
  1640. @throws IOException if we can not get the application acls]]>
  1641. </doc>
  1642. </method>
  1643. <method name="verifyAndCreateRemoteLogDir"
  1644. abstract="false" native="false" synchronized="false"
  1645. static="false" final="false" visibility="public"
  1646. deprecated="not deprecated">
  1647. <doc>
  1648. <![CDATA[Verify and create the remote log directory.]]>
  1649. </doc>
  1650. </method>
  1651. <method name="createAppDir"
  1652. abstract="false" native="false" synchronized="false"
  1653. static="false" final="false" visibility="public"
  1654. deprecated="not deprecated">
  1655. <param name="user" type="java.lang.String"/>
  1656. <param name="appId" type="org.apache.hadoop.yarn.api.records.ApplicationId"/>
  1657. <param name="userUgi" type="org.apache.hadoop.security.UserGroupInformation"/>
  1658. <doc>
  1659. <![CDATA[Create remote Application directory for log aggregation.
  1660. @param user the user
  1661. @param appId the application ID
  1662. @param userUgi the UGI]]>
  1663. </doc>
  1664. </method>
  1665. <method name="getFileSystem" return="org.apache.hadoop.fs.FileSystem"
  1666. abstract="false" native="false" synchronized="false"
  1667. static="false" final="false" visibility="protected"
  1668. deprecated="not deprecated">
  1669. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  1670. <exception name="IOException" type="java.io.IOException"/>
  1671. </method>
  1672. <method name="createDir"
  1673. abstract="false" native="false" synchronized="false"
  1674. static="false" final="false" visibility="protected"
  1675. deprecated="not deprecated">
  1676. <param name="fs" type="org.apache.hadoop.fs.FileSystem"/>
  1677. <param name="path" type="org.apache.hadoop.fs.Path"/>
  1678. <param name="fsPerm" type="org.apache.hadoop.fs.permission.FsPermission"/>
  1679. <exception name="IOException" type="java.io.IOException"/>
  1680. </method>
  1681. <method name="checkExists" return="boolean"
  1682. abstract="false" native="false" synchronized="false"
  1683. static="false" final="false" visibility="protected"
  1684. deprecated="not deprecated">
  1685. <param name="fs" type="org.apache.hadoop.fs.FileSystem"/>
  1686. <param name="path" type="org.apache.hadoop.fs.Path"/>
  1687. <param name="fsPerm" type="org.apache.hadoop.fs.permission.FsPermission"/>
  1688. <exception name="IOException" type="java.io.IOException"/>
  1689. </method>
  1690. <method name="getRemoteNodeLogFileForApp" return="org.apache.hadoop.fs.Path"
  1691. abstract="false" native="false" synchronized="false"
  1692. static="false" final="false" visibility="public"
  1693. deprecated="not deprecated">
  1694. <param name="appId" type="org.apache.hadoop.yarn.api.records.ApplicationId"/>
  1695. <param name="user" type="java.lang.String"/>
  1696. <param name="nodeId" type="org.apache.hadoop.yarn.api.records.NodeId"/>
  1697. <doc>
  1698. <![CDATA[Get the remote aggregated log path.
  1699. @param appId the ApplicationId
  1700. @param user the Application Owner
  1701. @param nodeId the NodeManager Id
  1702. @return the remote aggregated log path]]>
  1703. </doc>
  1704. </method>
  1705. <method name="getRemoteAppLogDir" return="org.apache.hadoop.fs.Path"
  1706. abstract="false" native="false" synchronized="false"
  1707. static="false" final="false" visibility="public"
  1708. deprecated="not deprecated">
  1709. <param name="appId" type="org.apache.hadoop.yarn.api.records.ApplicationId"/>
  1710. <param name="appOwner" type="java.lang.String"/>
  1711. <exception name="IOException" type="java.io.IOException"/>
  1712. <doc>
  1713. <![CDATA[Get the remote application directory for log aggregation.
  1714. @param appId the Application ID
  1715. @param appOwner the Application Owner
  1716. @return the remote application directory
  1717. @throws IOException if can not find the remote application directory]]>
  1718. </doc>
  1719. </method>
  1720. <method name="cleanOldLogs"
  1721. abstract="false" native="false" synchronized="false"
  1722. static="false" final="false" visibility="protected"
  1723. deprecated="not deprecated">
  1724. <param name="remoteNodeLogFileForApp" type="org.apache.hadoop.fs.Path"/>
  1725. <param name="nodeId" type="org.apache.hadoop.yarn.api.records.NodeId"/>
  1726. <param name="userUgi" type="org.apache.hadoop.security.UserGroupInformation"/>
  1727. </method>
  1728. <method name="aggregatedLogSuffix" return="java.lang.String"
  1729. abstract="false" native="false" synchronized="false"
  1730. static="false" final="false" visibility="protected"
  1731. deprecated="not deprecated">
  1732. <param name="fileName" type="java.lang.String"/>
  1733. <doc>
  1734. <![CDATA[Create the aggregated log suffix. The LogAggregationFileController
  1735. should call this to get the suffix and append the suffix to the end
  1736. of each log. This would keep the aggregated log format consistent.
  1737. @param fileName the File Name
  1738. @return the aggregated log suffix String]]>
  1739. </doc>
  1740. </method>
  1741. <method name="isFsSupportsChmod" return="boolean"
  1742. abstract="false" native="false" synchronized="false"
  1743. static="false" final="false" visibility="public"
  1744. deprecated="not deprecated">
  1745. </method>
  1746. <method name="belongsToAppAttempt" return="boolean"
  1747. abstract="false" native="false" synchronized="false"
  1748. static="false" final="false" visibility="protected"
  1749. deprecated="not deprecated">
  1750. <param name="appAttemptId" type="org.apache.hadoop.yarn.api.records.ApplicationAttemptId"/>
  1751. <param name="containerIdStr" type="java.lang.String"/>
  1752. </method>
  1753. <field name="TLDIR_PERMISSIONS" type="org.apache.hadoop.fs.permission.FsPermission"
  1754. transient="false" volatile="false"
  1755. static="true" final="true" visibility="protected"
  1756. deprecated="not deprecated">
  1757. <doc>
  1758. <![CDATA[Permissions for the top level directory under which app directories will be
  1759. created.]]>
  1760. </doc>
  1761. </field>
  1762. <field name="APP_DIR_PERMISSIONS" type="org.apache.hadoop.fs.permission.FsPermission"
  1763. transient="false" volatile="false"
  1764. static="true" final="true" visibility="protected"
  1765. deprecated="not deprecated">
  1766. <doc>
  1767. <![CDATA[Permissions for the Application directory.]]>
  1768. </doc>
  1769. </field>
  1770. <field name="APP_LOG_FILE_UMASK" type="org.apache.hadoop.fs.permission.FsPermission"
  1771. transient="false" volatile="false"
  1772. static="true" final="true" visibility="protected"
  1773. deprecated="not deprecated">
  1774. <doc>
  1775. <![CDATA[Umask for the log file.]]>
  1776. </doc>
  1777. </field>
  1778. <field name="LOG_AGGREGATION_FS_SUPPORT_APPEND" type="java.lang.String"
  1779. transient="false" volatile="false"
  1780. static="true" final="true" visibility="public"
  1781. deprecated="not deprecated">
  1782. </field>
  1783. <field name="conf" type="org.apache.hadoop.conf.Configuration"
  1784. transient="false" volatile="false"
  1785. static="false" final="false" visibility="protected"
  1786. deprecated="not deprecated">
  1787. </field>
  1788. <field name="remoteRootLogDir" type="org.apache.hadoop.fs.Path"
  1789. transient="false" volatile="false"
  1790. static="false" final="false" visibility="protected"
  1791. deprecated="not deprecated">
  1792. </field>
  1793. <field name="remoteRootLogDirSuffix" type="java.lang.String"
  1794. transient="false" volatile="false"
  1795. static="false" final="false" visibility="protected"
  1796. deprecated="not deprecated">
  1797. </field>
  1798. <field name="retentionSize" type="int"
  1799. transient="false" volatile="false"
  1800. static="false" final="false" visibility="protected"
  1801. deprecated="not deprecated">
  1802. </field>
  1803. <field name="fileControllerName" type="java.lang.String"
  1804. transient="false" volatile="false"
  1805. static="false" final="false" visibility="protected"
  1806. deprecated="not deprecated">
  1807. </field>
  1808. <field name="fsSupportsChmod" type="boolean"
  1809. transient="false" volatile="false"
  1810. static="false" final="false" visibility="protected"
  1811. deprecated="not deprecated">
  1812. </field>
  1813. <doc>
  1814. <![CDATA[Base class to implement Log Aggregation File Controller.]]>
  1815. </doc>
  1816. </class>
  1817. <!-- end class org.apache.hadoop.yarn.logaggregation.filecontroller.LogAggregationFileController -->
  1818. </package>
  1819. <package name="org.apache.hadoop.yarn.logaggregation.filecontroller.ifile">
  1820. </package>
  1821. <package name="org.apache.hadoop.yarn.logaggregation.filecontroller.tfile">
  1822. </package>
  1823. <package name="org.apache.hadoop.yarn.nodelabels">
  1824. </package>
  1825. <package name="org.apache.hadoop.yarn.nodelabels.event">
  1826. </package>
  1827. <package name="org.apache.hadoop.yarn.security">
  1828. <!-- start class org.apache.hadoop.yarn.security.AccessRequest -->
  1829. <class name="AccessRequest" extends="java.lang.Object"
  1830. abstract="false"
  1831. static="false" final="false" visibility="public"
  1832. deprecated="not deprecated">
  1833. <constructor name="AccessRequest" type="org.apache.hadoop.yarn.security.PrivilegedEntity, org.apache.hadoop.security.UserGroupInformation, org.apache.hadoop.yarn.security.AccessType, java.lang.String, java.lang.String, java.lang.String, java.util.List"
  1834. static="false" final="false" visibility="public"
  1835. deprecated="not deprecated">
  1836. </constructor>
  1837. <method name="getUser" return="org.apache.hadoop.security.UserGroupInformation"
  1838. abstract="false" native="false" synchronized="false"
  1839. static="false" final="false" visibility="public"
  1840. deprecated="not deprecated">
  1841. </method>
  1842. <method name="getAccessType" return="org.apache.hadoop.yarn.security.AccessType"
  1843. abstract="false" native="false" synchronized="false"
  1844. static="false" final="false" visibility="public"
  1845. deprecated="not deprecated">
  1846. </method>
  1847. <method name="getAppId" return="java.lang.String"
  1848. abstract="false" native="false" synchronized="false"
  1849. static="false" final="false" visibility="public"
  1850. deprecated="not deprecated">
  1851. </method>
  1852. <method name="getAppName" return="java.lang.String"
  1853. abstract="false" native="false" synchronized="false"
  1854. static="false" final="false" visibility="public"
  1855. deprecated="not deprecated">
  1856. </method>
  1857. <method name="getEntity" return="org.apache.hadoop.yarn.security.PrivilegedEntity"
  1858. abstract="false" native="false" synchronized="false"
  1859. static="false" final="false" visibility="public"
  1860. deprecated="not deprecated">
  1861. </method>
  1862. <method name="getForwardedAddresses" return="java.util.List"
  1863. abstract="false" native="false" synchronized="false"
  1864. static="false" final="false" visibility="public"
  1865. deprecated="not deprecated">
  1866. </method>
  1867. <method name="getRemoteAddress" return="java.lang.String"
  1868. abstract="false" native="false" synchronized="false"
  1869. static="false" final="false" visibility="public"
  1870. deprecated="not deprecated">
  1871. </method>
  1872. <doc>
  1873. <![CDATA[This request object contains all the context information to determine whether
  1874. a user has permission to access the target entity.
  1875. user : the user who's currently accessing
  1876. accessType : the access type against the entity.
  1877. entity : the target object user is accessing.
  1878. appId : the associated app Id for current access. This could be null
  1879. if no app is associated.
  1880. appName : the associated app name for current access. This could be null if
  1881. no app is associated.
  1882. remoteAddress : The caller's remote ip address.
  1883. forwardedAddresses : In case this is an http request, this contains the
  1884. originating IP address of a client connecting to a web
  1885. server through an HTTP proxy or load balancer. This
  1886. parameter is null, if it's a RPC request.]]>
  1887. </doc>
  1888. </class>
  1889. <!-- end class org.apache.hadoop.yarn.security.AccessRequest -->
  1890. <!-- start class org.apache.hadoop.yarn.security.AMRMTokenIdentifier -->
  1891. <class name="AMRMTokenIdentifier" extends="org.apache.hadoop.security.token.TokenIdentifier"
  1892. abstract="false"
  1893. static="false" final="false" visibility="public"
  1894. deprecated="not deprecated">
  1895. <constructor name="AMRMTokenIdentifier"
  1896. static="false" final="false" visibility="public"
  1897. deprecated="not deprecated">
  1898. </constructor>
  1899. <constructor name="AMRMTokenIdentifier" type="org.apache.hadoop.yarn.api.records.ApplicationAttemptId, int"
  1900. static="false" final="false" visibility="public"
  1901. deprecated="not deprecated">
  1902. </constructor>
  1903. <method name="write"
  1904. abstract="false" native="false" synchronized="false"
  1905. static="false" final="false" visibility="public"
  1906. deprecated="not deprecated">
  1907. <param name="out" type="java.io.DataOutput"/>
  1908. <exception name="IOException" type="java.io.IOException"/>
  1909. </method>
  1910. <method name="readFields"
  1911. abstract="false" native="false" synchronized="false"
  1912. static="false" final="false" visibility="public"
  1913. deprecated="not deprecated">
  1914. <param name="in" type="java.io.DataInput"/>
  1915. <exception name="IOException" type="java.io.IOException"/>
  1916. </method>
  1917. <method name="getKind" return="org.apache.hadoop.io.Text"
  1918. abstract="false" native="false" synchronized="false"
  1919. static="false" final="false" visibility="public"
  1920. deprecated="not deprecated">
  1921. </method>
  1922. <method name="getUser" return="org.apache.hadoop.security.UserGroupInformation"
  1923. abstract="false" native="false" synchronized="false"
  1924. static="false" final="false" visibility="public"
  1925. deprecated="not deprecated">
  1926. </method>
  1927. <method name="getKeyId" return="int"
  1928. abstract="false" native="false" synchronized="false"
  1929. static="false" final="false" visibility="public"
  1930. deprecated="not deprecated">
  1931. </method>
  1932. <method name="getProto" return="org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.AMRMTokenIdentifierProto"
  1933. abstract="false" native="false" synchronized="false"
  1934. static="false" final="false" visibility="public"
  1935. deprecated="not deprecated">
  1936. </method>
  1937. <method name="hashCode" return="int"
  1938. abstract="false" native="false" synchronized="false"
  1939. static="false" final="false" visibility="public"
  1940. deprecated="not deprecated">
  1941. </method>
  1942. <method name="equals" return="boolean"
  1943. abstract="false" native="false" synchronized="false"
  1944. static="false" final="false" visibility="public"
  1945. deprecated="not deprecated">
  1946. <param name="other" type="java.lang.Object"/>
  1947. </method>
  1948. <method name="toString" return="java.lang.String"
  1949. abstract="false" native="false" synchronized="false"
  1950. static="false" final="false" visibility="public"
  1951. deprecated="not deprecated">
  1952. </method>
  1953. <field name="KIND_NAME" type="org.apache.hadoop.io.Text"
  1954. transient="false" volatile="false"
  1955. static="true" final="true" visibility="public"
  1956. deprecated="not deprecated">
  1957. </field>
  1958. <doc>
  1959. <![CDATA[AMRMTokenIdentifier is the TokenIdentifier to be used by
  1960. ApplicationMasters to authenticate to the ResourceManager.]]>
  1961. </doc>
  1962. </class>
  1963. <!-- end class org.apache.hadoop.yarn.security.AMRMTokenIdentifier -->
  1964. <!-- start class org.apache.hadoop.yarn.security.AMRMTokenSelector -->
  1965. <class name="AMRMTokenSelector" extends="java.lang.Object"
  1966. abstract="false"
  1967. static="false" final="false" visibility="public"
  1968. deprecated="not deprecated">
  1969. <implements name="org.apache.hadoop.security.token.TokenSelector"/>
  1970. <constructor name="AMRMTokenSelector"
  1971. static="false" final="false" visibility="public"
  1972. deprecated="not deprecated">
  1973. </constructor>
  1974. <method name="selectToken" return="org.apache.hadoop.security.token.Token"
  1975. abstract="false" native="false" synchronized="false"
  1976. static="false" final="false" visibility="public"
  1977. deprecated="not deprecated">
  1978. <param name="service" type="org.apache.hadoop.io.Text"/>
  1979. <param name="tokens" type="java.util.Collection"/>
  1980. </method>
  1981. </class>
  1982. <!-- end class org.apache.hadoop.yarn.security.AMRMTokenSelector -->
  1983. <!-- start class org.apache.hadoop.yarn.security.ContainerManagerSecurityInfo -->
  1984. <class name="ContainerManagerSecurityInfo" extends="org.apache.hadoop.security.SecurityInfo"
  1985. abstract="false"
  1986. static="false" final="false" visibility="public"
  1987. deprecated="not deprecated">
  1988. <constructor name="ContainerManagerSecurityInfo"
  1989. static="false" final="false" visibility="public"
  1990. deprecated="not deprecated">
  1991. </constructor>
  1992. <method name="getKerberosInfo" return="org.apache.hadoop.security.KerberosInfo"
  1993. abstract="false" native="false" synchronized="false"
  1994. static="false" final="false" visibility="public"
  1995. deprecated="not deprecated">
  1996. <param name="protocol" type="java.lang.Class"/>
  1997. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  1998. </method>
  1999. <method name="getTokenInfo" return="org.apache.hadoop.security.token.TokenInfo"
  2000. abstract="false" native="false" synchronized="false"
  2001. static="false" final="false" visibility="public"
  2002. deprecated="not deprecated">
  2003. <param name="protocol" type="java.lang.Class"/>
  2004. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  2005. </method>
  2006. </class>
  2007. <!-- end class org.apache.hadoop.yarn.security.ContainerManagerSecurityInfo -->
  2008. <!-- start class org.apache.hadoop.yarn.security.ContainerTokenIdentifier -->
  2009. <class name="ContainerTokenIdentifier" extends="org.apache.hadoop.security.token.TokenIdentifier"
  2010. abstract="false"
  2011. static="false" final="false" visibility="public"
  2012. deprecated="not deprecated">
  2013. <constructor name="ContainerTokenIdentifier" type="org.apache.hadoop.yarn.api.records.ContainerId, java.lang.String, java.lang.String, org.apache.hadoop.yarn.api.records.Resource, long, int, long, org.apache.hadoop.yarn.api.records.Priority, long"
  2014. static="false" final="false" visibility="public"
  2015. deprecated="not deprecated">
  2016. </constructor>
  2017. <constructor name="ContainerTokenIdentifier" type="org.apache.hadoop.yarn.api.records.ContainerId, java.lang.String, java.lang.String, org.apache.hadoop.yarn.api.records.Resource, long, int, long, org.apache.hadoop.yarn.api.records.Priority, long, org.apache.hadoop.yarn.api.records.LogAggregationContext"
  2018. static="false" final="false" visibility="public"
  2019. deprecated="Use one of the other constructors instead.">
  2020. <doc>
  2021. <![CDATA[Creates a instance.
  2022. @param appSubmitter appSubmitter
  2023. @param containerID container ID
  2024. @param creationTime creation time
  2025. @param expiryTimeStamp expiry timestamp
  2026. @param hostName hostname
  2027. @param logAggregationContext log aggregation context
  2028. @param masterKeyId master key ID
  2029. @param priority priority
  2030. @param r resource needed by the container
  2031. @param rmIdentifier ResourceManager identifier
  2032. @deprecated Use one of the other constructors instead.]]>
  2033. </doc>
  2034. </constructor>
  2035. <constructor name="ContainerTokenIdentifier" type="org.apache.hadoop.yarn.api.records.ContainerId, java.lang.String, java.lang.String, org.apache.hadoop.yarn.api.records.Resource, long, int, long, org.apache.hadoop.yarn.api.records.Priority, long, org.apache.hadoop.yarn.api.records.LogAggregationContext, java.lang.String"
  2036. static="false" final="false" visibility="public"
  2037. deprecated="not deprecated">
  2038. </constructor>
  2039. <constructor name="ContainerTokenIdentifier" type="org.apache.hadoop.yarn.api.records.ContainerId, java.lang.String, java.lang.String, org.apache.hadoop.yarn.api.records.Resource, long, int, long, org.apache.hadoop.yarn.api.records.Priority, long, org.apache.hadoop.yarn.api.records.LogAggregationContext, java.lang.String, org.apache.hadoop.yarn.server.api.ContainerType"
  2040. static="false" final="false" visibility="public"
  2041. deprecated="not deprecated">
  2042. </constructor>
  2043. <constructor name="ContainerTokenIdentifier" type="org.apache.hadoop.yarn.api.records.ContainerId, int, java.lang.String, java.lang.String, org.apache.hadoop.yarn.api.records.Resource, long, int, long, org.apache.hadoop.yarn.api.records.Priority, long, org.apache.hadoop.yarn.api.records.LogAggregationContext, java.lang.String, org.apache.hadoop.yarn.server.api.ContainerType, org.apache.hadoop.yarn.api.records.ExecutionType"
  2044. static="false" final="false" visibility="public"
  2045. deprecated="not deprecated">
  2046. </constructor>
  2047. <constructor name="ContainerTokenIdentifier" type="org.apache.hadoop.yarn.api.records.ContainerId, int, java.lang.String, java.lang.String, org.apache.hadoop.yarn.api.records.Resource, long, int, long, org.apache.hadoop.yarn.api.records.Priority, long, org.apache.hadoop.yarn.api.records.LogAggregationContext, java.lang.String, org.apache.hadoop.yarn.server.api.ContainerType, org.apache.hadoop.yarn.api.records.ExecutionType, long"
  2048. static="false" final="false" visibility="public"
  2049. deprecated="not deprecated">
  2050. <doc>
  2051. <![CDATA[Convenience Constructor for existing clients.
  2052. @param containerID containerID
  2053. @param containerVersion containerVersion
  2054. @param hostName hostName
  2055. @param appSubmitter appSubmitter
  2056. @param r resource
  2057. @param expiryTimeStamp expiryTimeStamp
  2058. @param masterKeyId masterKeyId
  2059. @param rmIdentifier rmIdentifier
  2060. @param priority priority
  2061. @param creationTime creationTime
  2062. @param logAggregationContext logAggregationContext
  2063. @param nodeLabelExpression nodeLabelExpression
  2064. @param containerType containerType
  2065. @param executionType executionType
  2066. @param allocationRequestId allocationRequestId]]>
  2067. </doc>
  2068. </constructor>
  2069. <constructor name="ContainerTokenIdentifier" type="org.apache.hadoop.yarn.api.records.ContainerId, int, java.lang.String, java.lang.String, org.apache.hadoop.yarn.api.records.Resource, long, int, long, org.apache.hadoop.yarn.api.records.Priority, long, org.apache.hadoop.yarn.api.records.LogAggregationContext, java.lang.String, org.apache.hadoop.yarn.server.api.ContainerType, org.apache.hadoop.yarn.api.records.ExecutionType, long, java.util.Set"
  2070. static="false" final="false" visibility="public"
  2071. deprecated="not deprecated">
  2072. <doc>
  2073. <![CDATA[Create a Container Token Identifier.
  2074. @param containerID containerID
  2075. @param containerVersion containerVersion
  2076. @param hostName hostName
  2077. @param appSubmitter appSubmitter
  2078. @param r resource
  2079. @param expiryTimeStamp expiryTimeStamp
  2080. @param masterKeyId masterKeyId
  2081. @param rmIdentifier rmIdentifier
  2082. @param priority priority
  2083. @param creationTime creationTime
  2084. @param logAggregationContext logAggregationContext
  2085. @param nodeLabelExpression nodeLabelExpression
  2086. @param containerType containerType
  2087. @param executionType executionType
  2088. @param allocationRequestId allocationRequestId
  2089. @param allocationTags Set of allocation Tags.]]>
  2090. </doc>
  2091. </constructor>
  2092. <constructor name="ContainerTokenIdentifier"
  2093. static="false" final="false" visibility="public"
  2094. deprecated="not deprecated">
  2095. <doc>
  2096. <![CDATA[Default constructor needed by RPC layer/SecretManager.]]>
  2097. </doc>
  2098. </constructor>
  2099. <method name="getContainerID" return="org.apache.hadoop.yarn.api.records.ContainerId"
  2100. abstract="false" native="false" synchronized="false"
  2101. static="false" final="false" visibility="public"
  2102. deprecated="not deprecated">
  2103. </method>
  2104. <method name="getApplicationSubmitter" return="java.lang.String"
  2105. abstract="false" native="false" synchronized="false"
  2106. static="false" final="false" visibility="public"
  2107. deprecated="not deprecated">
  2108. </method>
  2109. <method name="getNmHostAddress" return="java.lang.String"
  2110. abstract="false" native="false" synchronized="false"
  2111. static="false" final="false" visibility="public"
  2112. deprecated="not deprecated">
  2113. </method>
  2114. <method name="getResource" return="org.apache.hadoop.yarn.api.records.Resource"
  2115. abstract="false" native="false" synchronized="false"
  2116. static="false" final="false" visibility="public"
  2117. deprecated="not deprecated">
  2118. </method>
  2119. <method name="getExpiryTimeStamp" return="long"
  2120. abstract="false" native="false" synchronized="false"
  2121. static="false" final="false" visibility="public"
  2122. deprecated="not deprecated">
  2123. </method>
  2124. <method name="getMasterKeyId" return="int"
  2125. abstract="false" native="false" synchronized="false"
  2126. static="false" final="false" visibility="public"
  2127. deprecated="not deprecated">
  2128. </method>
  2129. <method name="getPriority" return="org.apache.hadoop.yarn.api.records.Priority"
  2130. abstract="false" native="false" synchronized="false"
  2131. static="false" final="false" visibility="public"
  2132. deprecated="not deprecated">
  2133. </method>
  2134. <method name="getCreationTime" return="long"
  2135. abstract="false" native="false" synchronized="false"
  2136. static="false" final="false" visibility="public"
  2137. deprecated="not deprecated">
  2138. </method>
  2139. <method name="getRMIdentifier" return="long"
  2140. abstract="false" native="false" synchronized="false"
  2141. static="false" final="false" visibility="public"
  2142. deprecated="not deprecated">
  2143. <doc>
  2144. <![CDATA[Get the RMIdentifier of RM in which containers are allocated.
  2145. @return RMIdentifier]]>
  2146. </doc>
  2147. </method>
  2148. <method name="getContainerType" return="org.apache.hadoop.yarn.server.api.ContainerType"
  2149. abstract="false" native="false" synchronized="false"
  2150. static="false" final="false" visibility="public"
  2151. deprecated="not deprecated">
  2152. <doc>
  2153. <![CDATA[Get the ContainerType of container to allocate.
  2154. @return ContainerType]]>
  2155. </doc>
  2156. </method>
  2157. <method name="getExecutionType" return="org.apache.hadoop.yarn.api.records.ExecutionType"
  2158. abstract="false" native="false" synchronized="false"
  2159. static="false" final="false" visibility="public"
  2160. deprecated="not deprecated">
  2161. <doc>
  2162. <![CDATA[Get the ExecutionType of container to allocate
  2163. @return ExecutionType]]>
  2164. </doc>
  2165. </method>
  2166. <method name="getProto" return="org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.ContainerTokenIdentifierProto"
  2167. abstract="false" native="false" synchronized="false"
  2168. static="false" final="false" visibility="public"
  2169. deprecated="not deprecated">
  2170. </method>
  2171. <method name="getLogAggregationContext" return="org.apache.hadoop.yarn.api.records.LogAggregationContext"
  2172. abstract="false" native="false" synchronized="false"
  2173. static="false" final="false" visibility="public"
  2174. deprecated="not deprecated">
  2175. </method>
  2176. <method name="getAllocationRequestId" return="long"
  2177. abstract="false" native="false" synchronized="false"
  2178. static="false" final="false" visibility="public"
  2179. deprecated="not deprecated">
  2180. </method>
  2181. <method name="write"
  2182. abstract="false" native="false" synchronized="false"
  2183. static="false" final="false" visibility="public"
  2184. deprecated="not deprecated">
  2185. <param name="out" type="java.io.DataOutput"/>
  2186. <exception name="IOException" type="java.io.IOException"/>
  2187. </method>
  2188. <method name="readFields"
  2189. abstract="false" native="false" synchronized="false"
  2190. static="false" final="false" visibility="public"
  2191. deprecated="not deprecated">
  2192. <param name="in" type="java.io.DataInput"/>
  2193. <exception name="IOException" type="java.io.IOException"/>
  2194. </method>
  2195. <method name="getKind" return="org.apache.hadoop.io.Text"
  2196. abstract="false" native="false" synchronized="false"
  2197. static="false" final="false" visibility="public"
  2198. deprecated="not deprecated">
  2199. </method>
  2200. <method name="getUser" return="org.apache.hadoop.security.UserGroupInformation"
  2201. abstract="false" native="false" synchronized="false"
  2202. static="false" final="false" visibility="public"
  2203. deprecated="not deprecated">
  2204. </method>
  2205. <method name="getVersion" return="int"
  2206. abstract="false" native="false" synchronized="false"
  2207. static="false" final="false" visibility="public"
  2208. deprecated="not deprecated">
  2209. <doc>
  2210. <![CDATA[Get the Container version
  2211. @return container version]]>
  2212. </doc>
  2213. </method>
  2214. <method name="getNodeLabelExpression" return="java.lang.String"
  2215. abstract="false" native="false" synchronized="false"
  2216. static="false" final="false" visibility="public"
  2217. deprecated="not deprecated">
  2218. <doc>
  2219. <![CDATA[Get the node-label-expression in the original ResourceRequest]]>
  2220. </doc>
  2221. </method>
  2222. <method name="getAllcationTags" return="java.util.Set"
  2223. abstract="false" native="false" synchronized="false"
  2224. static="false" final="false" visibility="public"
  2225. deprecated="not deprecated">
  2226. </method>
  2227. <method name="hashCode" return="int"
  2228. abstract="false" native="false" synchronized="false"
  2229. static="false" final="false" visibility="public"
  2230. deprecated="not deprecated">
  2231. </method>
  2232. <method name="equals" return="boolean"
  2233. abstract="false" native="false" synchronized="false"
  2234. static="false" final="false" visibility="public"
  2235. deprecated="not deprecated">
  2236. <param name="other" type="java.lang.Object"/>
  2237. </method>
  2238. <method name="toString" return="java.lang.String"
  2239. abstract="false" native="false" synchronized="false"
  2240. static="false" final="false" visibility="public"
  2241. deprecated="not deprecated">
  2242. </method>
  2243. <field name="KIND" type="org.apache.hadoop.io.Text"
  2244. transient="false" volatile="false"
  2245. static="true" final="true" visibility="public"
  2246. deprecated="not deprecated">
  2247. </field>
  2248. <doc>
  2249. <![CDATA[TokenIdentifier for a container. Encodes {@link ContainerId},
  2250. {@link Resource} needed by the container and the target NMs host-address.]]>
  2251. </doc>
  2252. </class>
  2253. <!-- end class org.apache.hadoop.yarn.security.ContainerTokenIdentifier -->
  2254. <!-- start class org.apache.hadoop.yarn.security.ContainerTokenSelector -->
  2255. <class name="ContainerTokenSelector" extends="java.lang.Object"
  2256. abstract="false"
  2257. static="false" final="false" visibility="public"
  2258. deprecated="not deprecated">
  2259. <implements name="org.apache.hadoop.security.token.TokenSelector"/>
  2260. <constructor name="ContainerTokenSelector"
  2261. static="false" final="false" visibility="public"
  2262. deprecated="not deprecated">
  2263. </constructor>
  2264. <method name="selectToken" return="org.apache.hadoop.security.token.Token"
  2265. abstract="false" native="false" synchronized="false"
  2266. static="false" final="false" visibility="public"
  2267. deprecated="not deprecated">
  2268. <param name="service" type="org.apache.hadoop.io.Text"/>
  2269. <param name="tokens" type="java.util.Collection"/>
  2270. </method>
  2271. </class>
  2272. <!-- end class org.apache.hadoop.yarn.security.ContainerTokenSelector -->
  2273. <!-- start class org.apache.hadoop.yarn.security.NMTokenIdentifier -->
  2274. <class name="NMTokenIdentifier" extends="org.apache.hadoop.security.token.TokenIdentifier"
  2275. abstract="false"
  2276. static="false" final="false" visibility="public"
  2277. deprecated="not deprecated">
  2278. <constructor name="NMTokenIdentifier" type="org.apache.hadoop.yarn.api.records.ApplicationAttemptId, org.apache.hadoop.yarn.api.records.NodeId, java.lang.String, int"
  2279. static="false" final="false" visibility="public"
  2280. deprecated="not deprecated">
  2281. </constructor>
  2282. <constructor name="NMTokenIdentifier"
  2283. static="false" final="false" visibility="public"
  2284. deprecated="not deprecated">
  2285. <doc>
  2286. <![CDATA[Default constructor needed by RPC/Secret manager]]>
  2287. </doc>
  2288. </constructor>
  2289. <method name="getApplicationAttemptId" return="org.apache.hadoop.yarn.api.records.ApplicationAttemptId"
  2290. abstract="false" native="false" synchronized="false"
  2291. static="false" final="false" visibility="public"
  2292. deprecated="not deprecated">
  2293. </method>
  2294. <method name="getNodeId" return="org.apache.hadoop.yarn.api.records.NodeId"
  2295. abstract="false" native="false" synchronized="false"
  2296. static="false" final="false" visibility="public"
  2297. deprecated="not deprecated">
  2298. </method>
  2299. <method name="getApplicationSubmitter" return="java.lang.String"
  2300. abstract="false" native="false" synchronized="false"
  2301. static="false" final="false" visibility="public"
  2302. deprecated="not deprecated">
  2303. </method>
  2304. <method name="getKeyId" return="int"
  2305. abstract="false" native="false" synchronized="false"
  2306. static="false" final="false" visibility="public"
  2307. deprecated="not deprecated">
  2308. </method>
  2309. <method name="write"
  2310. abstract="false" native="false" synchronized="false"
  2311. static="false" final="false" visibility="public"
  2312. deprecated="not deprecated">
  2313. <param name="out" type="java.io.DataOutput"/>
  2314. <exception name="IOException" type="java.io.IOException"/>
  2315. </method>
  2316. <method name="readFields"
  2317. abstract="false" native="false" synchronized="false"
  2318. static="false" final="false" visibility="public"
  2319. deprecated="not deprecated">
  2320. <param name="in" type="java.io.DataInput"/>
  2321. <exception name="IOException" type="java.io.IOException"/>
  2322. </method>
  2323. <method name="getKind" return="org.apache.hadoop.io.Text"
  2324. abstract="false" native="false" synchronized="false"
  2325. static="false" final="false" visibility="public"
  2326. deprecated="not deprecated">
  2327. </method>
  2328. <method name="getUser" return="org.apache.hadoop.security.UserGroupInformation"
  2329. abstract="false" native="false" synchronized="false"
  2330. static="false" final="false" visibility="public"
  2331. deprecated="not deprecated">
  2332. </method>
  2333. <method name="getProto" return="org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.NMTokenIdentifierProto"
  2334. abstract="false" native="false" synchronized="false"
  2335. static="false" final="false" visibility="public"
  2336. deprecated="not deprecated">
  2337. </method>
  2338. <method name="hashCode" return="int"
  2339. abstract="false" native="false" synchronized="false"
  2340. static="false" final="false" visibility="public"
  2341. deprecated="not deprecated">
  2342. </method>
  2343. <method name="equals" return="boolean"
  2344. abstract="false" native="false" synchronized="false"
  2345. static="false" final="false" visibility="public"
  2346. deprecated="not deprecated">
  2347. <param name="other" type="java.lang.Object"/>
  2348. </method>
  2349. <method name="toString" return="java.lang.String"
  2350. abstract="false" native="false" synchronized="false"
  2351. static="false" final="false" visibility="public"
  2352. deprecated="not deprecated">
  2353. </method>
  2354. <field name="KIND" type="org.apache.hadoop.io.Text"
  2355. transient="false" volatile="false"
  2356. static="true" final="true" visibility="public"
  2357. deprecated="not deprecated">
  2358. </field>
  2359. </class>
  2360. <!-- end class org.apache.hadoop.yarn.security.NMTokenIdentifier -->
  2361. <!-- start class org.apache.hadoop.yarn.security.SchedulerSecurityInfo -->
  2362. <class name="SchedulerSecurityInfo" extends="org.apache.hadoop.security.SecurityInfo"
  2363. abstract="false"
  2364. static="false" final="false" visibility="public"
  2365. deprecated="not deprecated">
  2366. <constructor name="SchedulerSecurityInfo"
  2367. static="false" final="false" visibility="public"
  2368. deprecated="not deprecated">
  2369. </constructor>
  2370. <method name="getKerberosInfo" return="org.apache.hadoop.security.KerberosInfo"
  2371. abstract="false" native="false" synchronized="false"
  2372. static="false" final="false" visibility="public"
  2373. deprecated="not deprecated">
  2374. <param name="protocol" type="java.lang.Class"/>
  2375. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  2376. </method>
  2377. <method name="getTokenInfo" return="org.apache.hadoop.security.token.TokenInfo"
  2378. abstract="false" native="false" synchronized="false"
  2379. static="false" final="false" visibility="public"
  2380. deprecated="not deprecated">
  2381. <param name="protocol" type="java.lang.Class"/>
  2382. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  2383. </method>
  2384. </class>
  2385. <!-- end class org.apache.hadoop.yarn.security.SchedulerSecurityInfo -->
  2386. </package>
  2387. <package name="org.apache.hadoop.yarn.security.admin">
  2388. <!-- start class org.apache.hadoop.yarn.security.admin.AdminSecurityInfo -->
  2389. <class name="AdminSecurityInfo" extends="org.apache.hadoop.security.SecurityInfo"
  2390. abstract="false"
  2391. static="false" final="false" visibility="public"
  2392. deprecated="not deprecated">
  2393. <constructor name="AdminSecurityInfo"
  2394. static="false" final="false" visibility="public"
  2395. deprecated="not deprecated">
  2396. </constructor>
  2397. <method name="getKerberosInfo" return="org.apache.hadoop.security.KerberosInfo"
  2398. abstract="false" native="false" synchronized="false"
  2399. static="false" final="false" visibility="public"
  2400. deprecated="not deprecated">
  2401. <param name="protocol" type="java.lang.Class"/>
  2402. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  2403. </method>
  2404. <method name="getTokenInfo" return="org.apache.hadoop.security.token.TokenInfo"
  2405. abstract="false" native="false" synchronized="false"
  2406. static="false" final="false" visibility="public"
  2407. deprecated="not deprecated">
  2408. <param name="protocol" type="java.lang.Class"/>
  2409. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  2410. </method>
  2411. </class>
  2412. <!-- end class org.apache.hadoop.yarn.security.admin.AdminSecurityInfo -->
  2413. </package>
  2414. <package name="org.apache.hadoop.yarn.security.client">
  2415. <!-- start class org.apache.hadoop.yarn.security.client.BaseClientToAMTokenSecretManager -->
  2416. <class name="BaseClientToAMTokenSecretManager" extends="org.apache.hadoop.security.token.SecretManager"
  2417. abstract="true"
  2418. static="false" final="false" visibility="public"
  2419. deprecated="not deprecated">
  2420. <constructor name="BaseClientToAMTokenSecretManager"
  2421. static="false" final="false" visibility="public"
  2422. deprecated="not deprecated">
  2423. </constructor>
  2424. <doc>
  2425. <![CDATA[A base {@link SecretManager} for AMs to extend and validate Client-RM tokens
  2426. issued to clients by the RM using the underlying master-key shared by RM to
  2427. the AMs on their launch. All the methods are called by either Hadoop RPC or
  2428. YARN, so this class is strictly for the purpose of inherit/extend and
  2429. register with Hadoop RPC.]]>
  2430. </doc>
  2431. </class>
  2432. <!-- end class org.apache.hadoop.yarn.security.client.BaseClientToAMTokenSecretManager -->
  2433. <!-- start class org.apache.hadoop.yarn.security.client.ClientRMSecurityInfo -->
  2434. <class name="ClientRMSecurityInfo" extends="org.apache.hadoop.security.SecurityInfo"
  2435. abstract="false"
  2436. static="false" final="false" visibility="public"
  2437. deprecated="not deprecated">
  2438. <constructor name="ClientRMSecurityInfo"
  2439. static="false" final="false" visibility="public"
  2440. deprecated="not deprecated">
  2441. </constructor>
  2442. <method name="getKerberosInfo" return="org.apache.hadoop.security.KerberosInfo"
  2443. abstract="false" native="false" synchronized="false"
  2444. static="false" final="false" visibility="public"
  2445. deprecated="not deprecated">
  2446. <param name="protocol" type="java.lang.Class"/>
  2447. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  2448. </method>
  2449. <method name="getTokenInfo" return="org.apache.hadoop.security.token.TokenInfo"
  2450. abstract="false" native="false" synchronized="false"
  2451. static="false" final="false" visibility="public"
  2452. deprecated="not deprecated">
  2453. <param name="protocol" type="java.lang.Class"/>
  2454. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  2455. </method>
  2456. </class>
  2457. <!-- end class org.apache.hadoop.yarn.security.client.ClientRMSecurityInfo -->
  2458. <!-- start class org.apache.hadoop.yarn.security.client.ClientTimelineSecurityInfo -->
  2459. <class name="ClientTimelineSecurityInfo" extends="org.apache.hadoop.security.SecurityInfo"
  2460. abstract="false"
  2461. static="false" final="false" visibility="public"
  2462. deprecated="not deprecated">
  2463. <constructor name="ClientTimelineSecurityInfo"
  2464. static="false" final="false" visibility="public"
  2465. deprecated="not deprecated">
  2466. </constructor>
  2467. <method name="getKerberosInfo" return="org.apache.hadoop.security.KerberosInfo"
  2468. abstract="false" native="false" synchronized="false"
  2469. static="false" final="false" visibility="public"
  2470. deprecated="not deprecated">
  2471. <param name="protocol" type="java.lang.Class"/>
  2472. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  2473. </method>
  2474. <method name="getTokenInfo" return="org.apache.hadoop.security.token.TokenInfo"
  2475. abstract="false" native="false" synchronized="false"
  2476. static="false" final="false" visibility="public"
  2477. deprecated="not deprecated">
  2478. <param name="protocol" type="java.lang.Class"/>
  2479. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  2480. </method>
  2481. </class>
  2482. <!-- end class org.apache.hadoop.yarn.security.client.ClientTimelineSecurityInfo -->
  2483. <!-- start class org.apache.hadoop.yarn.security.client.ClientToAMTokenIdentifier -->
  2484. <class name="ClientToAMTokenIdentifier" extends="org.apache.hadoop.security.token.TokenIdentifier"
  2485. abstract="false"
  2486. static="false" final="false" visibility="public"
  2487. deprecated="not deprecated">
  2488. <constructor name="ClientToAMTokenIdentifier"
  2489. static="false" final="false" visibility="public"
  2490. deprecated="not deprecated">
  2491. </constructor>
  2492. <constructor name="ClientToAMTokenIdentifier" type="org.apache.hadoop.yarn.api.records.ApplicationAttemptId, java.lang.String"
  2493. static="false" final="false" visibility="public"
  2494. deprecated="not deprecated">
  2495. </constructor>
  2496. <method name="getApplicationAttemptID" return="org.apache.hadoop.yarn.api.records.ApplicationAttemptId"
  2497. abstract="false" native="false" synchronized="false"
  2498. static="false" final="false" visibility="public"
  2499. deprecated="not deprecated">
  2500. </method>
  2501. <method name="getClientName" return="java.lang.String"
  2502. abstract="false" native="false" synchronized="false"
  2503. static="false" final="false" visibility="public"
  2504. deprecated="not deprecated">
  2505. </method>
  2506. <method name="getProto" return="org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.ClientToAMTokenIdentifierProto"
  2507. abstract="false" native="false" synchronized="false"
  2508. static="false" final="false" visibility="public"
  2509. deprecated="not deprecated">
  2510. </method>
  2511. <method name="write"
  2512. abstract="false" native="false" synchronized="false"
  2513. static="false" final="false" visibility="public"
  2514. deprecated="not deprecated">
  2515. <param name="out" type="java.io.DataOutput"/>
  2516. <exception name="IOException" type="java.io.IOException"/>
  2517. </method>
  2518. <method name="readFields"
  2519. abstract="false" native="false" synchronized="false"
  2520. static="false" final="false" visibility="public"
  2521. deprecated="not deprecated">
  2522. <param name="in" type="java.io.DataInput"/>
  2523. <exception name="IOException" type="java.io.IOException"/>
  2524. </method>
  2525. <method name="getKind" return="org.apache.hadoop.io.Text"
  2526. abstract="false" native="false" synchronized="false"
  2527. static="false" final="false" visibility="public"
  2528. deprecated="not deprecated">
  2529. </method>
  2530. <method name="getUser" return="org.apache.hadoop.security.UserGroupInformation"
  2531. abstract="false" native="false" synchronized="false"
  2532. static="false" final="false" visibility="public"
  2533. deprecated="not deprecated">
  2534. </method>
  2535. <method name="hashCode" return="int"
  2536. abstract="false" native="false" synchronized="false"
  2537. static="false" final="false" visibility="public"
  2538. deprecated="not deprecated">
  2539. </method>
  2540. <method name="equals" return="boolean"
  2541. abstract="false" native="false" synchronized="false"
  2542. static="false" final="false" visibility="public"
  2543. deprecated="not deprecated">
  2544. <param name="other" type="java.lang.Object"/>
  2545. </method>
  2546. <method name="toString" return="java.lang.String"
  2547. abstract="false" native="false" synchronized="false"
  2548. static="false" final="false" visibility="public"
  2549. deprecated="not deprecated">
  2550. </method>
  2551. <field name="KIND_NAME" type="org.apache.hadoop.io.Text"
  2552. transient="false" volatile="false"
  2553. static="true" final="true" visibility="public"
  2554. deprecated="not deprecated">
  2555. </field>
  2556. </class>
  2557. <!-- end class org.apache.hadoop.yarn.security.client.ClientToAMTokenIdentifier -->
  2558. <!-- start class org.apache.hadoop.yarn.security.client.ClientToAMTokenSecretManager -->
  2559. <class name="ClientToAMTokenSecretManager" extends="org.apache.hadoop.yarn.security.client.BaseClientToAMTokenSecretManager"
  2560. abstract="false"
  2561. static="false" final="false" visibility="public"
  2562. deprecated="not deprecated">
  2563. <constructor name="ClientToAMTokenSecretManager" type="org.apache.hadoop.yarn.api.records.ApplicationAttemptId, byte[]"
  2564. static="false" final="false" visibility="public"
  2565. deprecated="not deprecated">
  2566. </constructor>
  2567. <method name="retrievePassword" return="byte[]"
  2568. abstract="false" native="false" synchronized="false"
  2569. static="false" final="false" visibility="public"
  2570. deprecated="not deprecated">
  2571. <param name="identifier" type="org.apache.hadoop.yarn.security.client.ClientToAMTokenIdentifier"/>
  2572. <exception name="SecretManager.InvalidToken" type="org.apache.hadoop.security.token.SecretManager.InvalidToken"/>
  2573. </method>
  2574. <method name="getMasterKey" return="javax.crypto.SecretKey"
  2575. abstract="false" native="false" synchronized="false"
  2576. static="false" final="false" visibility="public"
  2577. deprecated="not deprecated">
  2578. <param name="applicationAttemptID" type="org.apache.hadoop.yarn.api.records.ApplicationAttemptId"/>
  2579. </method>
  2580. <method name="setMasterKey"
  2581. abstract="false" native="false" synchronized="false"
  2582. static="false" final="false" visibility="public"
  2583. deprecated="not deprecated">
  2584. <param name="key" type="byte[]"/>
  2585. </method>
  2586. <doc>
  2587. <![CDATA[A simple {@link SecretManager} for AMs to validate Client-RM tokens issued to
  2588. clients by the RM using the underlying master-key shared by RM to the AMs on
  2589. their launch. All the methods are called by either Hadoop RPC or YARN, so
  2590. this class is strictly for the purpose of inherit/extend and register with
  2591. Hadoop RPC.]]>
  2592. </doc>
  2593. </class>
  2594. <!-- end class org.apache.hadoop.yarn.security.client.ClientToAMTokenSecretManager -->
  2595. <!-- start class org.apache.hadoop.yarn.security.client.RMDelegationTokenIdentifier -->
  2596. <class name="RMDelegationTokenIdentifier" extends="org.apache.hadoop.yarn.security.client.YARNDelegationTokenIdentifier"
  2597. abstract="false"
  2598. static="false" final="false" visibility="public"
  2599. deprecated="not deprecated">
  2600. <constructor name="RMDelegationTokenIdentifier"
  2601. static="false" final="false" visibility="public"
  2602. deprecated="not deprecated">
  2603. </constructor>
  2604. <constructor name="RMDelegationTokenIdentifier" type="org.apache.hadoop.io.Text, org.apache.hadoop.io.Text, org.apache.hadoop.io.Text"
  2605. static="false" final="false" visibility="public"
  2606. deprecated="not deprecated">
  2607. <doc>
  2608. <![CDATA[Create a new delegation token identifier
  2609. @param owner the effective username of the token owner
  2610. @param renewer the username of the renewer
  2611. @param realUser the real username of the token owner]]>
  2612. </doc>
  2613. </constructor>
  2614. <method name="getKind" return="org.apache.hadoop.io.Text"
  2615. abstract="false" native="false" synchronized="false"
  2616. static="false" final="false" visibility="public"
  2617. deprecated="not deprecated">
  2618. </method>
  2619. <field name="KIND_NAME" type="org.apache.hadoop.io.Text"
  2620. transient="false" volatile="false"
  2621. static="true" final="true" visibility="public"
  2622. deprecated="not deprecated">
  2623. </field>
  2624. <doc>
  2625. <![CDATA[Delegation Token Identifier that identifies the delegation tokens from the
  2626. Resource Manager.]]>
  2627. </doc>
  2628. </class>
  2629. <!-- end class org.apache.hadoop.yarn.security.client.RMDelegationTokenIdentifier -->
  2630. <!-- start class org.apache.hadoop.yarn.security.client.RMDelegationTokenSelector -->
  2631. <class name="RMDelegationTokenSelector" extends="java.lang.Object"
  2632. abstract="false"
  2633. static="false" final="false" visibility="public"
  2634. deprecated="not deprecated">
  2635. <implements name="org.apache.hadoop.security.token.TokenSelector"/>
  2636. <constructor name="RMDelegationTokenSelector"
  2637. static="false" final="false" visibility="public"
  2638. deprecated="not deprecated">
  2639. </constructor>
  2640. <method name="selectToken" return="org.apache.hadoop.security.token.Token"
  2641. abstract="false" native="false" synchronized="false"
  2642. static="false" final="false" visibility="public"
  2643. deprecated="not deprecated">
  2644. <param name="service" type="org.apache.hadoop.io.Text"/>
  2645. <param name="tokens" type="java.util.Collection"/>
  2646. </method>
  2647. </class>
  2648. <!-- end class org.apache.hadoop.yarn.security.client.RMDelegationTokenSelector -->
  2649. <!-- start class org.apache.hadoop.yarn.security.client.TimelineDelegationTokenIdentifier -->
  2650. <class name="TimelineDelegationTokenIdentifier" extends="org.apache.hadoop.yarn.security.client.YARNDelegationTokenIdentifier"
  2651. abstract="false"
  2652. static="false" final="false" visibility="public"
  2653. deprecated="not deprecated">
  2654. <constructor name="TimelineDelegationTokenIdentifier"
  2655. static="false" final="false" visibility="public"
  2656. deprecated="not deprecated">
  2657. </constructor>
  2658. <constructor name="TimelineDelegationTokenIdentifier" type="org.apache.hadoop.io.Text, org.apache.hadoop.io.Text, org.apache.hadoop.io.Text"
  2659. static="false" final="false" visibility="public"
  2660. deprecated="not deprecated">
  2661. <doc>
  2662. <![CDATA[Create a new timeline delegation token identifier
  2663. @param owner the effective username of the token owner
  2664. @param renewer the username of the renewer
  2665. @param realUser the real username of the token owner]]>
  2666. </doc>
  2667. </constructor>
  2668. <method name="getKind" return="org.apache.hadoop.io.Text"
  2669. abstract="false" native="false" synchronized="false"
  2670. static="false" final="false" visibility="public"
  2671. deprecated="not deprecated">
  2672. </method>
  2673. <field name="KIND_NAME" type="org.apache.hadoop.io.Text"
  2674. transient="false" volatile="false"
  2675. static="true" final="true" visibility="public"
  2676. deprecated="not deprecated">
  2677. </field>
  2678. </class>
  2679. <!-- end class org.apache.hadoop.yarn.security.client.TimelineDelegationTokenIdentifier -->
  2680. <!-- start class org.apache.hadoop.yarn.security.client.TimelineDelegationTokenSelector -->
  2681. <class name="TimelineDelegationTokenSelector" extends="java.lang.Object"
  2682. abstract="false"
  2683. static="false" final="false" visibility="public"
  2684. deprecated="not deprecated">
  2685. <implements name="org.apache.hadoop.security.token.TokenSelector"/>
  2686. <constructor name="TimelineDelegationTokenSelector"
  2687. static="false" final="false" visibility="public"
  2688. deprecated="not deprecated">
  2689. </constructor>
  2690. <method name="selectToken" return="org.apache.hadoop.security.token.Token"
  2691. abstract="false" native="false" synchronized="false"
  2692. static="false" final="false" visibility="public"
  2693. deprecated="not deprecated">
  2694. <param name="service" type="org.apache.hadoop.io.Text"/>
  2695. <param name="tokens" type="java.util.Collection"/>
  2696. </method>
  2697. </class>
  2698. <!-- end class org.apache.hadoop.yarn.security.client.TimelineDelegationTokenSelector -->
  2699. </package>
  2700. <package name="org.apache.hadoop.yarn.server.api">
  2701. </package>
  2702. <package name="org.apache.hadoop.yarn.server.api.impl.pb.client">
  2703. </package>
  2704. <package name="org.apache.hadoop.yarn.server.api.impl.pb.service">
  2705. </package>
  2706. <package name="org.apache.hadoop.yarn.sharedcache">
  2707. <!-- start interface org.apache.hadoop.yarn.sharedcache.SharedCacheChecksum -->
  2708. <interface name="SharedCacheChecksum" abstract="true"
  2709. static="false" final="false" visibility="public"
  2710. deprecated="not deprecated">
  2711. <method name="computeChecksum" return="java.lang.String"
  2712. abstract="true" native="false" synchronized="false"
  2713. static="false" final="false" visibility="public"
  2714. deprecated="not deprecated">
  2715. <param name="in" type="java.io.InputStream"/>
  2716. <exception name="IOException" type="java.io.IOException"/>
  2717. <doc>
  2718. <![CDATA[Calculate the checksum of the passed input stream.
  2719. @param in <code>InputStream</code> to be checksumed
  2720. @return the message digest of the input stream
  2721. @throws IOException]]>
  2722. </doc>
  2723. </method>
  2724. </interface>
  2725. <!-- end interface org.apache.hadoop.yarn.sharedcache.SharedCacheChecksum -->
  2726. <!-- start class org.apache.hadoop.yarn.sharedcache.SharedCacheChecksumFactory -->
  2727. <class name="SharedCacheChecksumFactory" extends="java.lang.Object"
  2728. abstract="false"
  2729. static="false" final="false" visibility="public"
  2730. deprecated="not deprecated">
  2731. <constructor name="SharedCacheChecksumFactory"
  2732. static="false" final="false" visibility="public"
  2733. deprecated="not deprecated">
  2734. </constructor>
  2735. <method name="getChecksum" return="org.apache.hadoop.yarn.sharedcache.SharedCacheChecksum"
  2736. abstract="false" native="false" synchronized="false"
  2737. static="true" final="false" visibility="public"
  2738. deprecated="not deprecated">
  2739. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  2740. <doc>
  2741. <![CDATA[Get a new <code>SharedCacheChecksum</code> object based on the configurable
  2742. algorithm implementation
  2743. (see <code>yarn.sharedcache.checksum.algo.impl</code>)
  2744. @return <code>SharedCacheChecksum</code> object]]>
  2745. </doc>
  2746. </method>
  2747. </class>
  2748. <!-- end class org.apache.hadoop.yarn.sharedcache.SharedCacheChecksumFactory -->
  2749. </package>
  2750. <package name="org.apache.hadoop.yarn.state">
  2751. <!-- start class org.apache.hadoop.yarn.state.InvalidStateTransitionException -->
  2752. <class name="InvalidStateTransitionException" extends="org.apache.hadoop.yarn.state.InvalidStateTransitonException"
  2753. abstract="false"
  2754. static="false" final="false" visibility="public"
  2755. deprecated="not deprecated">
  2756. <constructor name="InvalidStateTransitionException" type="java.lang.Enum, java.lang.Enum"
  2757. static="false" final="false" visibility="public"
  2758. deprecated="not deprecated">
  2759. </constructor>
  2760. <doc>
  2761. <![CDATA[The exception that happens when you call invalid state transition.]]>
  2762. </doc>
  2763. </class>
  2764. <!-- end class org.apache.hadoop.yarn.state.InvalidStateTransitionException -->
  2765. <!-- start class org.apache.hadoop.yarn.state.InvalidStateTransitonException -->
  2766. <class name="InvalidStateTransitonException" extends="org.apache.hadoop.yarn.exceptions.YarnRuntimeException"
  2767. abstract="false"
  2768. static="false" final="false" visibility="public"
  2769. deprecated="Use {@link InvalidStateTransitionException} instead.">
  2770. <constructor name="InvalidStateTransitonException" type="java.lang.Enum, java.lang.Enum"
  2771. static="false" final="false" visibility="public"
  2772. deprecated="not deprecated">
  2773. </constructor>
  2774. <method name="getCurrentState" return="java.lang.Enum"
  2775. abstract="false" native="false" synchronized="false"
  2776. static="false" final="false" visibility="public"
  2777. deprecated="not deprecated">
  2778. </method>
  2779. <method name="getEvent" return="java.lang.Enum"
  2780. abstract="false" native="false" synchronized="false"
  2781. static="false" final="false" visibility="public"
  2782. deprecated="not deprecated">
  2783. </method>
  2784. <doc>
  2785. <![CDATA[@deprecated Use {@link InvalidStateTransitionException} instead.]]>
  2786. </doc>
  2787. </class>
  2788. <!-- end class org.apache.hadoop.yarn.state.InvalidStateTransitonException -->
  2789. <!-- start interface org.apache.hadoop.yarn.state.MultipleArcTransition -->
  2790. <interface name="MultipleArcTransition" abstract="true"
  2791. static="false" final="false" visibility="public"
  2792. deprecated="not deprecated">
  2793. <method name="transition" return="STATE"
  2794. abstract="true" native="false" synchronized="false"
  2795. static="false" final="false" visibility="public"
  2796. deprecated="not deprecated">
  2797. <param name="operand" type="OPERAND"/>
  2798. <param name="event" type="EVENT"/>
  2799. <doc>
  2800. <![CDATA[Transition hook.
  2801. @return the postState. Post state must be one of the
  2802. valid post states registered in StateMachine.
  2803. @param operand the entity attached to the FSM, whose internal
  2804. state may change.
  2805. @param event causal event]]>
  2806. </doc>
  2807. </method>
  2808. <doc>
  2809. <![CDATA[Hook for Transition.
  2810. Post state is decided by Transition hook. Post state must be one of the
  2811. valid post states registered in StateMachine.]]>
  2812. </doc>
  2813. </interface>
  2814. <!-- end interface org.apache.hadoop.yarn.state.MultipleArcTransition -->
  2815. <!-- start interface org.apache.hadoop.yarn.state.SingleArcTransition -->
  2816. <interface name="SingleArcTransition" abstract="true"
  2817. static="false" final="false" visibility="public"
  2818. deprecated="not deprecated">
  2819. <method name="transition"
  2820. abstract="true" native="false" synchronized="false"
  2821. static="false" final="false" visibility="public"
  2822. deprecated="not deprecated">
  2823. <param name="operand" type="OPERAND"/>
  2824. <param name="event" type="EVENT"/>
  2825. <doc>
  2826. <![CDATA[Transition hook.
  2827. @param operand the entity attached to the FSM, whose internal
  2828. state may change.
  2829. @param event causal event]]>
  2830. </doc>
  2831. </method>
  2832. <doc>
  2833. <![CDATA[Hook for Transition. This lead to state machine to move to
  2834. the post state as registered in the state machine.]]>
  2835. </doc>
  2836. </interface>
  2837. <!-- end interface org.apache.hadoop.yarn.state.SingleArcTransition -->
  2838. <!-- start interface org.apache.hadoop.yarn.state.StateMachine -->
  2839. <interface name="StateMachine" abstract="true"
  2840. static="false" final="false" visibility="public"
  2841. deprecated="not deprecated">
  2842. <method name="getCurrentState" return="STATE"
  2843. abstract="true" native="false" synchronized="false"
  2844. static="false" final="false" visibility="public"
  2845. deprecated="not deprecated">
  2846. </method>
  2847. <method name="doTransition" return="STATE"
  2848. abstract="true" native="false" synchronized="false"
  2849. static="false" final="false" visibility="public"
  2850. deprecated="not deprecated">
  2851. <param name="eventType" type="EVENTTYPE"/>
  2852. <param name="event" type="EVENT"/>
  2853. <exception name="InvalidStateTransitionException" type="org.apache.hadoop.yarn.state.InvalidStateTransitionException"/>
  2854. </method>
  2855. </interface>
  2856. <!-- end interface org.apache.hadoop.yarn.state.StateMachine -->
  2857. <!-- start class org.apache.hadoop.yarn.state.StateMachineFactory -->
  2858. <class name="StateMachineFactory" extends="java.lang.Object"
  2859. abstract="false"
  2860. static="false" final="true" visibility="public"
  2861. deprecated="not deprecated">
  2862. <constructor name="StateMachineFactory" type="STATE"
  2863. static="false" final="false" visibility="public"
  2864. deprecated="not deprecated">
  2865. <doc>
  2866. <![CDATA[Constructor
  2867. This is the only constructor in the API.]]>
  2868. </doc>
  2869. </constructor>
  2870. <method name="addTransition" return="org.apache.hadoop.yarn.state.StateMachineFactory"
  2871. abstract="false" native="false" synchronized="false"
  2872. static="false" final="false" visibility="public"
  2873. deprecated="not deprecated">
  2874. <param name="preState" type="STATE"/>
  2875. <param name="postState" type="STATE"/>
  2876. <param name="eventType" type="EVENTTYPE"/>
  2877. <doc>
  2878. <![CDATA[@return a NEW StateMachineFactory just like {@code this} with the current
  2879. transition added as a new legal transition. This overload
  2880. has no hook object.
  2881. Note that the returned StateMachineFactory is a distinct
  2882. object.
  2883. This method is part of the API.
  2884. @param preState pre-transition state
  2885. @param postState post-transition state
  2886. @param eventType stimulus for the transition]]>
  2887. </doc>
  2888. </method>
  2889. <method name="addTransition" return="org.apache.hadoop.yarn.state.StateMachineFactory"
  2890. abstract="false" native="false" synchronized="false"
  2891. static="false" final="false" visibility="public"
  2892. deprecated="not deprecated">
  2893. <param name="preState" type="STATE"/>
  2894. <param name="postState" type="STATE"/>
  2895. <param name="eventTypes" type="java.util.Set"/>
  2896. <doc>
  2897. <![CDATA[@return a NEW StateMachineFactory just like {@code this} with the current
  2898. transition added as a new legal transition. This overload
  2899. has no hook object.
  2900. Note that the returned StateMachineFactory is a distinct
  2901. object.
  2902. This method is part of the API.
  2903. @param preState pre-transition state
  2904. @param postState post-transition state
  2905. @param eventTypes List of stimuli for the transitions]]>
  2906. </doc>
  2907. </method>
  2908. <method name="addTransition" return="org.apache.hadoop.yarn.state.StateMachineFactory"
  2909. abstract="false" native="false" synchronized="false"
  2910. static="false" final="false" visibility="public"
  2911. deprecated="not deprecated">
  2912. <param name="preState" type="STATE"/>
  2913. <param name="postState" type="STATE"/>
  2914. <param name="eventTypes" type="java.util.Set"/>
  2915. <param name="hook" type="org.apache.hadoop.yarn.state.SingleArcTransition"/>
  2916. <doc>
  2917. <![CDATA[@return a NEW StateMachineFactory just like {@code this} with the current
  2918. transition added as a new legal transition
  2919. Note that the returned StateMachineFactory is a distinct
  2920. object.
  2921. This method is part of the API.
  2922. @param preState pre-transition state
  2923. @param postState post-transition state
  2924. @param eventTypes List of stimuli for the transitions
  2925. @param hook transition hook]]>
  2926. </doc>
  2927. </method>
  2928. <method name="addTransition" return="org.apache.hadoop.yarn.state.StateMachineFactory"
  2929. abstract="false" native="false" synchronized="false"
  2930. static="false" final="false" visibility="public"
  2931. deprecated="not deprecated">
  2932. <param name="preState" type="STATE"/>
  2933. <param name="postState" type="STATE"/>
  2934. <param name="eventType" type="EVENTTYPE"/>
  2935. <param name="hook" type="org.apache.hadoop.yarn.state.SingleArcTransition"/>
  2936. <doc>
  2937. <![CDATA[@return a NEW StateMachineFactory just like {@code this} with the current
  2938. transition added as a new legal transition
  2939. Note that the returned StateMachineFactory is a distinct object.
  2940. This method is part of the API.
  2941. @param preState pre-transition state
  2942. @param postState post-transition state
  2943. @param eventType stimulus for the transition
  2944. @param hook transition hook]]>
  2945. </doc>
  2946. </method>
  2947. <method name="addTransition" return="org.apache.hadoop.yarn.state.StateMachineFactory"
  2948. abstract="false" native="false" synchronized="false"
  2949. static="false" final="false" visibility="public"
  2950. deprecated="not deprecated">
  2951. <param name="preState" type="STATE"/>
  2952. <param name="postStates" type="java.util.Set"/>
  2953. <param name="eventType" type="EVENTTYPE"/>
  2954. <param name="hook" type="org.apache.hadoop.yarn.state.MultipleArcTransition"/>
  2955. <doc>
  2956. <![CDATA[@return a NEW StateMachineFactory just like {@code this} with the current
  2957. transition added as a new legal transition
  2958. Note that the returned StateMachineFactory is a distinct object.
  2959. This method is part of the API.
  2960. @param preState pre-transition state
  2961. @param postStates valid post-transition states
  2962. @param eventType stimulus for the transition
  2963. @param hook transition hook]]>
  2964. </doc>
  2965. </method>
  2966. <method name="installTopology" return="org.apache.hadoop.yarn.state.StateMachineFactory"
  2967. abstract="false" native="false" synchronized="false"
  2968. static="false" final="false" visibility="public"
  2969. deprecated="not deprecated">
  2970. <doc>
  2971. <![CDATA[@return a StateMachineFactory just like {@code this}, except that if
  2972. you won't need any synchronization to build a state machine
  2973. Note that the returned StateMachineFactory is a distinct object.
  2974. This method is part of the API.
  2975. The only way you could distinguish the returned
  2976. StateMachineFactory from {@code this} would be by
  2977. measuring the performance of the derived
  2978. {@code StateMachine} you can get from it.
  2979. Calling this is optional. It doesn't change the semantics of the factory,
  2980. if you call it then when you use the factory there is no synchronization.]]>
  2981. </doc>
  2982. </method>
  2983. <method name="make" return="org.apache.hadoop.yarn.state.StateMachine"
  2984. abstract="false" native="false" synchronized="false"
  2985. static="false" final="false" visibility="public"
  2986. deprecated="not deprecated">
  2987. <param name="operand" type="OPERAND"/>
  2988. <param name="initialState" type="STATE"/>
  2989. <param name="listener" type="org.apache.hadoop.yarn.state.StateTransitionListener"/>
  2990. <doc>
  2991. <![CDATA[A StateMachine that accepts a transition listener.
  2992. @param operand the object upon which the returned
  2993. {@link StateMachine} will operate.
  2994. @param initialState the state in which the returned
  2995. {@link StateMachine} will start.
  2996. @param listener An implementation of a {@link StateTransitionListener}.
  2997. @return A (@link StateMachine}.]]>
  2998. </doc>
  2999. </method>
  3000. <method name="make" return="org.apache.hadoop.yarn.state.StateMachine"
  3001. abstract="false" native="false" synchronized="false"
  3002. static="false" final="false" visibility="public"
  3003. deprecated="not deprecated">
  3004. <param name="operand" type="OPERAND"/>
  3005. <param name="initialState" type="STATE"/>
  3006. </method>
  3007. <method name="make" return="org.apache.hadoop.yarn.state.StateMachine"
  3008. abstract="false" native="false" synchronized="false"
  3009. static="false" final="false" visibility="public"
  3010. deprecated="not deprecated">
  3011. <param name="operand" type="OPERAND"/>
  3012. </method>
  3013. <method name="generateStateGraph" return="org.apache.hadoop.yarn.state.Graph"
  3014. abstract="false" native="false" synchronized="false"
  3015. static="false" final="false" visibility="public"
  3016. deprecated="not deprecated">
  3017. <param name="name" type="java.lang.String"/>
  3018. <doc>
  3019. <![CDATA[Generate a graph represents the state graph of this StateMachine
  3020. @param name graph name
  3021. @return Graph object generated]]>
  3022. </doc>
  3023. </method>
  3024. <doc>
  3025. <![CDATA[State machine topology.
  3026. This object is semantically immutable. If you have a
  3027. StateMachineFactory there's no operation in the API that changes
  3028. its semantic properties.
  3029. @param <OPERAND> The object type on which this state machine operates.
  3030. @param <STATE> The state of the entity.
  3031. @param <EVENTTYPE> The external eventType to be handled.
  3032. @param <EVENT> The event object.]]>
  3033. </doc>
  3034. </class>
  3035. <!-- end class org.apache.hadoop.yarn.state.StateMachineFactory -->
  3036. <!-- start interface org.apache.hadoop.yarn.state.StateTransitionListener -->
  3037. <interface name="StateTransitionListener" abstract="true"
  3038. static="false" final="false" visibility="public"
  3039. deprecated="not deprecated">
  3040. <method name="preTransition"
  3041. abstract="true" native="false" synchronized="false"
  3042. static="false" final="false" visibility="public"
  3043. deprecated="not deprecated">
  3044. <param name="op" type="OPERAND"/>
  3045. <param name="beforeState" type="STATE"/>
  3046. <param name="eventToBeProcessed" type="EVENT"/>
  3047. <doc>
  3048. <![CDATA[Pre Transition Hook. This will be called before transition.
  3049. @param op Operand.
  3050. @param beforeState State before transition.
  3051. @param eventToBeProcessed Incoming Event.]]>
  3052. </doc>
  3053. </method>
  3054. <method name="postTransition"
  3055. abstract="true" native="false" synchronized="false"
  3056. static="false" final="false" visibility="public"
  3057. deprecated="not deprecated">
  3058. <param name="op" type="OPERAND"/>
  3059. <param name="beforeState" type="STATE"/>
  3060. <param name="afterState" type="STATE"/>
  3061. <param name="processedEvent" type="EVENT"/>
  3062. <doc>
  3063. <![CDATA[Post Transition Hook. This will be called after the transition.
  3064. @param op Operand.
  3065. @param beforeState State before transition.
  3066. @param afterState State after transition.
  3067. @param processedEvent Processed Event.]]>
  3068. </doc>
  3069. </method>
  3070. <doc>
  3071. <![CDATA[A State Transition Listener.
  3072. It exposes a pre and post transition hook called before and
  3073. after the transition.]]>
  3074. </doc>
  3075. </interface>
  3076. <!-- end interface org.apache.hadoop.yarn.state.StateTransitionListener -->
  3077. </package>
  3078. <package name="org.apache.hadoop.yarn.util">
  3079. <!-- start class org.apache.hadoop.yarn.util.AbstractLivelinessMonitor -->
  3080. <class name="AbstractLivelinessMonitor" extends="org.apache.hadoop.service.AbstractService"
  3081. abstract="true"
  3082. static="false" final="false" visibility="public"
  3083. deprecated="not deprecated">
  3084. <constructor name="AbstractLivelinessMonitor" type="java.lang.String, org.apache.hadoop.yarn.util.Clock"
  3085. static="false" final="false" visibility="public"
  3086. deprecated="not deprecated">
  3087. </constructor>
  3088. <constructor name="AbstractLivelinessMonitor" type="java.lang.String"
  3089. static="false" final="false" visibility="public"
  3090. deprecated="not deprecated">
  3091. </constructor>
  3092. <method name="serviceStart"
  3093. abstract="false" native="false" synchronized="false"
  3094. static="false" final="false" visibility="protected"
  3095. deprecated="not deprecated">
  3096. <exception name="Exception" type="java.lang.Exception"/>
  3097. </method>
  3098. <method name="serviceStop"
  3099. abstract="false" native="false" synchronized="false"
  3100. static="false" final="false" visibility="protected"
  3101. deprecated="not deprecated">
  3102. <exception name="Exception" type="java.lang.Exception"/>
  3103. </method>
  3104. <method name="expire"
  3105. abstract="true" native="false" synchronized="false"
  3106. static="false" final="false" visibility="protected"
  3107. deprecated="not deprecated">
  3108. <param name="ob" type="O"/>
  3109. </method>
  3110. <method name="setExpireInterval"
  3111. abstract="false" native="false" synchronized="false"
  3112. static="false" final="false" visibility="protected"
  3113. deprecated="not deprecated">
  3114. <param name="expireInterval" type="int"/>
  3115. </method>
  3116. <method name="getExpireInterval" return="long"
  3117. abstract="false" native="false" synchronized="false"
  3118. static="false" final="false" visibility="protected"
  3119. deprecated="not deprecated">
  3120. <param name="o" type="O"/>
  3121. </method>
  3122. <method name="setMonitorInterval"
  3123. abstract="false" native="false" synchronized="false"
  3124. static="false" final="false" visibility="protected"
  3125. deprecated="not deprecated">
  3126. <param name="monitorInterval" type="long"/>
  3127. </method>
  3128. <method name="receivedPing"
  3129. abstract="false" native="false" synchronized="true"
  3130. static="false" final="false" visibility="public"
  3131. deprecated="not deprecated">
  3132. <param name="ob" type="O"/>
  3133. </method>
  3134. <method name="register"
  3135. abstract="false" native="false" synchronized="true"
  3136. static="false" final="false" visibility="public"
  3137. deprecated="not deprecated">
  3138. <param name="ob" type="O"/>
  3139. </method>
  3140. <method name="register"
  3141. abstract="false" native="false" synchronized="true"
  3142. static="false" final="false" visibility="public"
  3143. deprecated="not deprecated">
  3144. <param name="ob" type="O"/>
  3145. <param name="expireTime" type="long"/>
  3146. </method>
  3147. <method name="unregister"
  3148. abstract="false" native="false" synchronized="true"
  3149. static="false" final="false" visibility="public"
  3150. deprecated="not deprecated">
  3151. <param name="ob" type="O"/>
  3152. </method>
  3153. <method name="resetTimer"
  3154. abstract="false" native="false" synchronized="true"
  3155. static="false" final="false" visibility="public"
  3156. deprecated="not deprecated">
  3157. </method>
  3158. <method name="setResetTimeOnStart"
  3159. abstract="false" native="false" synchronized="false"
  3160. static="false" final="false" visibility="protected"
  3161. deprecated="not deprecated">
  3162. <param name="resetTimeOnStart" type="boolean"/>
  3163. </method>
  3164. <field name="DEFAULT_EXPIRE" type="int"
  3165. transient="false" volatile="false"
  3166. static="true" final="true" visibility="public"
  3167. deprecated="not deprecated">
  3168. </field>
  3169. <doc>
  3170. <![CDATA[A simple liveliness monitor with which clients can register, trust the
  3171. component to monitor liveliness, get a call-back on expiry and then finally
  3172. unregister.]]>
  3173. </doc>
  3174. </class>
  3175. <!-- end class org.apache.hadoop.yarn.util.AbstractLivelinessMonitor -->
  3176. <!-- start class org.apache.hadoop.yarn.util.ApplicationClassLoader -->
  3177. <class name="ApplicationClassLoader" extends="org.apache.hadoop.util.ApplicationClassLoader"
  3178. abstract="false"
  3179. static="false" final="false" visibility="public"
  3180. deprecated="not deprecated">
  3181. <constructor name="ApplicationClassLoader" type="java.net.URL[], java.lang.ClassLoader, java.util.List"
  3182. static="false" final="false" visibility="public"
  3183. deprecated="not deprecated">
  3184. </constructor>
  3185. <constructor name="ApplicationClassLoader" type="java.lang.String, java.lang.ClassLoader, java.util.List"
  3186. static="false" final="false" visibility="public"
  3187. deprecated="not deprecated">
  3188. <exception name="MalformedURLException" type="java.net.MalformedURLException"/>
  3189. </constructor>
  3190. <doc>
  3191. <![CDATA[This type has been deprecated in favor of
  3192. {@link org.apache.hadoop.util.ApplicationClassLoader}. All new uses of
  3193. ApplicationClassLoader should use that type instead.]]>
  3194. </doc>
  3195. </class>
  3196. <!-- end class org.apache.hadoop.yarn.util.ApplicationClassLoader -->
  3197. <!-- start class org.apache.hadoop.yarn.util.BoundedAppender -->
  3198. <class name="BoundedAppender" extends="java.lang.Object"
  3199. abstract="false"
  3200. static="false" final="false" visibility="public"
  3201. deprecated="not deprecated">
  3202. <constructor name="BoundedAppender" type="int"
  3203. static="false" final="false" visibility="public"
  3204. deprecated="not deprecated">
  3205. </constructor>
  3206. <method name="append" return="org.apache.hadoop.yarn.util.BoundedAppender"
  3207. abstract="false" native="false" synchronized="false"
  3208. static="false" final="false" visibility="public"
  3209. deprecated="not deprecated">
  3210. <param name="csq" type="java.lang.CharSequence"/>
  3211. <doc>
  3212. <![CDATA[Append a {@link CharSequence} considering {@link #limit}, truncating
  3213. from the head of {@code csq} or {@link #messages} when necessary.
  3214. @param csq the {@link CharSequence} to append
  3215. @return this]]>
  3216. </doc>
  3217. </method>
  3218. <method name="length" return="int"
  3219. abstract="false" native="false" synchronized="false"
  3220. static="false" final="false" visibility="public"
  3221. deprecated="not deprecated">
  3222. <doc>
  3223. <![CDATA[Get current length of messages considering truncates
  3224. without header and ellipses.
  3225. @return current length]]>
  3226. </doc>
  3227. </method>
  3228. <method name="getLimit" return="int"
  3229. abstract="false" native="false" synchronized="false"
  3230. static="false" final="false" visibility="public"
  3231. deprecated="not deprecated">
  3232. </method>
  3233. <method name="toString" return="java.lang.String"
  3234. abstract="false" native="false" synchronized="false"
  3235. static="false" final="false" visibility="public"
  3236. deprecated="not deprecated">
  3237. <doc>
  3238. <![CDATA[Get a string representation of the actual contents, displaying also a
  3239. header and ellipses when there was a truncate.
  3240. @return String representation of the {@link #messages}]]>
  3241. </doc>
  3242. </method>
  3243. <field name="TRUNCATED_MESSAGES_TEMPLATE" type="java.lang.String"
  3244. transient="false" volatile="false"
  3245. static="true" final="true" visibility="public"
  3246. deprecated="not deprecated">
  3247. </field>
  3248. <doc>
  3249. <![CDATA[A {@link CharSequence} appender that considers its {@link #limit} as upper
  3250. bound.
  3251. <p>
  3252. When {@link #limit} would be reached on append, past messages will be
  3253. truncated from head, and a header telling the user about truncation will be
  3254. prepended, with ellipses in between header and messages.
  3255. <p>
  3256. Note that header and ellipses are not counted against {@link #limit}.
  3257. <p>
  3258. An example:
  3259. <pre>
  3260. {@code
  3261. // At the beginning it's an empty string
  3262. final Appendable shortAppender = new BoundedAppender(80);
  3263. // The whole message fits into limit
  3264. shortAppender.append(
  3265. "message1 this is a very long message but fitting into limit\n");
  3266. // The first message is truncated, the second not
  3267. shortAppender.append("message2 this is shorter than the previous one\n");
  3268. // The first message is deleted, the second truncated, the third
  3269. // preserved
  3270. shortAppender.append("message3 this is even shorter message, maybe.\n");
  3271. // The first two are deleted, the third one truncated, the last preserved
  3272. shortAppender.append("message4 the shortest one, yet the greatest :)");
  3273. // Current contents are like this:
  3274. // Diagnostic messages truncated, showing last 80 chars out of 199:
  3275. // ...s is even shorter message, maybe.
  3276. // message4 the shortest one, yet the greatest :)
  3277. }
  3278. </pre>
  3279. <p>
  3280. Note that <tt>null</tt> values are {@link #append(CharSequence) append}ed
  3281. just like in {@link StringBuilder#append(CharSequence) original
  3282. implementation}.
  3283. <p>
  3284. Note that this class is not thread safe.]]>
  3285. </doc>
  3286. </class>
  3287. <!-- end class org.apache.hadoop.yarn.util.BoundedAppender -->
  3288. <!-- start interface org.apache.hadoop.yarn.util.Clock -->
  3289. <interface name="Clock" abstract="true"
  3290. static="false" final="false" visibility="public"
  3291. deprecated="not deprecated">
  3292. <method name="getTime" return="long"
  3293. abstract="true" native="false" synchronized="false"
  3294. static="false" final="false" visibility="public"
  3295. deprecated="not deprecated">
  3296. </method>
  3297. <doc>
  3298. <![CDATA[A simple clock interface that gives you time.]]>
  3299. </doc>
  3300. </interface>
  3301. <!-- end interface org.apache.hadoop.yarn.util.Clock -->
  3302. <!-- start class org.apache.hadoop.yarn.util.ConverterUtils -->
  3303. <class name="ConverterUtils" extends="java.lang.Object"
  3304. abstract="false"
  3305. static="false" final="false" visibility="public"
  3306. deprecated="not deprecated">
  3307. <constructor name="ConverterUtils"
  3308. static="false" final="false" visibility="public"
  3309. deprecated="not deprecated">
  3310. </constructor>
  3311. <method name="getPathFromYarnURL" return="org.apache.hadoop.fs.Path"
  3312. abstract="false" native="false" synchronized="false"
  3313. static="true" final="false" visibility="public"
  3314. deprecated="not deprecated">
  3315. <param name="url" type="org.apache.hadoop.yarn.api.records.URL"/>
  3316. <exception name="URISyntaxException" type="java.net.URISyntaxException"/>
  3317. <doc>
  3318. <![CDATA[return a hadoop path from a given url
  3319. This method is deprecated, use {@link URL#toPath()} instead.
  3320. @param url
  3321. url to convert
  3322. @return path from {@link URL}
  3323. @throws URISyntaxException]]>
  3324. </doc>
  3325. </method>
  3326. <method name="getYarnUrlFromPath" return="org.apache.hadoop.yarn.api.records.URL"
  3327. abstract="false" native="false" synchronized="false"
  3328. static="true" final="false" visibility="public"
  3329. deprecated="not deprecated">
  3330. <param name="path" type="org.apache.hadoop.fs.Path"/>
  3331. </method>
  3332. <method name="getYarnUrlFromURI" return="org.apache.hadoop.yarn.api.records.URL"
  3333. abstract="false" native="false" synchronized="false"
  3334. static="true" final="false" visibility="public"
  3335. deprecated="not deprecated">
  3336. <param name="uri" type="java.net.URI"/>
  3337. </method>
  3338. <method name="toString" return="java.lang.String"
  3339. abstract="false" native="false" synchronized="false"
  3340. static="true" final="false" visibility="public"
  3341. deprecated="not deprecated">
  3342. <param name="appId" type="org.apache.hadoop.yarn.api.records.ApplicationId"/>
  3343. </method>
  3344. <method name="toApplicationId" return="org.apache.hadoop.yarn.api.records.ApplicationId"
  3345. abstract="false" native="false" synchronized="false"
  3346. static="true" final="false" visibility="public"
  3347. deprecated="not deprecated">
  3348. <param name="recordFactory" type="org.apache.hadoop.yarn.factories.RecordFactory"/>
  3349. <param name="applicationIdStr" type="java.lang.String"/>
  3350. </method>
  3351. <method name="toString" return="java.lang.String"
  3352. abstract="false" native="false" synchronized="false"
  3353. static="true" final="false" visibility="public"
  3354. deprecated="not deprecated">
  3355. <param name="cId" type="org.apache.hadoop.yarn.api.records.ContainerId"/>
  3356. </method>
  3357. <method name="toNodeId" return="org.apache.hadoop.yarn.api.records.NodeId"
  3358. abstract="false" native="false" synchronized="false"
  3359. static="true" final="false" visibility="public"
  3360. deprecated="not deprecated">
  3361. <param name="nodeIdStr" type="java.lang.String"/>
  3362. </method>
  3363. <method name="toContainerId" return="org.apache.hadoop.yarn.api.records.ContainerId"
  3364. abstract="false" native="false" synchronized="false"
  3365. static="true" final="false" visibility="public"
  3366. deprecated="not deprecated">
  3367. <param name="containerIdStr" type="java.lang.String"/>
  3368. </method>
  3369. <method name="toApplicationAttemptId" return="org.apache.hadoop.yarn.api.records.ApplicationAttemptId"
  3370. abstract="false" native="false" synchronized="false"
  3371. static="true" final="false" visibility="public"
  3372. deprecated="not deprecated">
  3373. <param name="applicationAttemptIdStr" type="java.lang.String"/>
  3374. </method>
  3375. <method name="toApplicationId" return="org.apache.hadoop.yarn.api.records.ApplicationId"
  3376. abstract="false" native="false" synchronized="false"
  3377. static="true" final="false" visibility="public"
  3378. deprecated="not deprecated">
  3379. <param name="appIdStr" type="java.lang.String"/>
  3380. </method>
  3381. <method name="convertFromYarn" return="org.apache.hadoop.security.token.Token"
  3382. abstract="false" native="false" synchronized="false"
  3383. static="true" final="false" visibility="public"
  3384. deprecated="not deprecated">
  3385. <param name="protoToken" type="org.apache.hadoop.yarn.api.records.Token"/>
  3386. <param name="serviceAddr" type="java.net.InetSocketAddress"/>
  3387. <doc>
  3388. <![CDATA[Convert a protobuf token into a rpc token and set its service. Supposed
  3389. to be used for tokens other than RMDelegationToken. For
  3390. RMDelegationToken, use
  3391. {@link #convertFromYarn(org.apache.hadoop.yarn.api.records.Token,
  3392. org.apache.hadoop.io.Text)} instead.
  3393. @param protoToken the yarn token
  3394. @param serviceAddr the connect address for the service
  3395. @return rpc token]]>
  3396. </doc>
  3397. </method>
  3398. <method name="convertFromYarn" return="org.apache.hadoop.security.token.Token"
  3399. abstract="false" native="false" synchronized="false"
  3400. static="true" final="false" visibility="public"
  3401. deprecated="not deprecated">
  3402. <param name="protoToken" type="org.apache.hadoop.yarn.api.records.Token"/>
  3403. <param name="service" type="org.apache.hadoop.io.Text"/>
  3404. <doc>
  3405. <![CDATA[Convert a protobuf token into a rpc token and set its service.
  3406. @param protoToken the yarn token
  3407. @param service the service for the token]]>
  3408. </doc>
  3409. </method>
  3410. <field name="APPLICATION_PREFIX" type="java.lang.String"
  3411. transient="false" volatile="false"
  3412. static="true" final="true" visibility="public"
  3413. deprecated="not deprecated">
  3414. </field>
  3415. <field name="CONTAINER_PREFIX" type="java.lang.String"
  3416. transient="false" volatile="false"
  3417. static="true" final="true" visibility="public"
  3418. deprecated="not deprecated">
  3419. </field>
  3420. <field name="APPLICATION_ATTEMPT_PREFIX" type="java.lang.String"
  3421. transient="false" volatile="false"
  3422. static="true" final="true" visibility="public"
  3423. deprecated="not deprecated">
  3424. </field>
  3425. <doc>
  3426. <![CDATA[This class contains a set of utilities which help converting data structures
  3427. from/to 'serializableFormat' to/from hadoop/nativejava data structures.]]>
  3428. </doc>
  3429. </class>
  3430. <!-- end class org.apache.hadoop.yarn.util.ConverterUtils -->
  3431. <!-- start class org.apache.hadoop.yarn.util.MonotonicClock -->
  3432. <class name="MonotonicClock" extends="java.lang.Object"
  3433. abstract="false"
  3434. static="false" final="false" visibility="public"
  3435. deprecated="not deprecated">
  3436. <implements name="org.apache.hadoop.yarn.util.Clock"/>
  3437. <constructor name="MonotonicClock"
  3438. static="false" final="false" visibility="public"
  3439. deprecated="not deprecated">
  3440. </constructor>
  3441. <method name="getTime" return="long"
  3442. abstract="false" native="false" synchronized="false"
  3443. static="false" final="false" visibility="public"
  3444. deprecated="not deprecated">
  3445. <doc>
  3446. <![CDATA[Get current time from some arbitrary time base in the past, counting in
  3447. milliseconds, and not affected by settimeofday or similar system clock
  3448. changes.
  3449. @return a monotonic clock that counts in milliseconds.]]>
  3450. </doc>
  3451. </method>
  3452. <doc>
  3453. <![CDATA[A monotonic clock from some arbitrary time base in the past, counting in
  3454. milliseconds, and not affected by settimeofday or similar system clock
  3455. changes.
  3456. This is appropriate to use when computing how much longer to wait for an
  3457. interval to expire.
  3458. This function can return a negative value and it must be handled correctly
  3459. by callers. See the documentation of System#nanoTime for caveats.]]>
  3460. </doc>
  3461. </class>
  3462. <!-- end class org.apache.hadoop.yarn.util.MonotonicClock -->
  3463. <!-- start class org.apache.hadoop.yarn.util.ResourceCalculatorProcessTree -->
  3464. <class name="ResourceCalculatorProcessTree" extends="org.apache.hadoop.conf.Configured"
  3465. abstract="true"
  3466. static="false" final="false" visibility="public"
  3467. deprecated="not deprecated">
  3468. <constructor name="ResourceCalculatorProcessTree" type="java.lang.String"
  3469. static="false" final="false" visibility="public"
  3470. deprecated="not deprecated">
  3471. <doc>
  3472. <![CDATA[Create process-tree instance with specified root process.
  3473. Subclass must override this.
  3474. @param root process-tree root-process]]>
  3475. </doc>
  3476. </constructor>
  3477. <method name="initialize"
  3478. abstract="false" native="false" synchronized="false"
  3479. static="false" final="false" visibility="public"
  3480. deprecated="not deprecated">
  3481. <exception name="YarnException" type="org.apache.hadoop.yarn.exceptions.YarnException"/>
  3482. <doc>
  3483. <![CDATA[Initialize the object.
  3484. @throws YarnException Throws an exception on error.]]>
  3485. </doc>
  3486. </method>
  3487. <method name="updateProcessTree"
  3488. abstract="true" native="false" synchronized="false"
  3489. static="false" final="false" visibility="public"
  3490. deprecated="not deprecated">
  3491. <doc>
  3492. <![CDATA[Update the process-tree with latest state.
  3493. Each call to this function should increment the age of the running
  3494. processes that already exist in the process tree. Age is used other API's
  3495. of the interface.]]>
  3496. </doc>
  3497. </method>
  3498. <method name="getProcessTreeDump" return="java.lang.String"
  3499. abstract="true" native="false" synchronized="false"
  3500. static="false" final="false" visibility="public"
  3501. deprecated="not deprecated">
  3502. <doc>
  3503. <![CDATA[Get a dump of the process-tree.
  3504. @return a string concatenating the dump of information of all the processes
  3505. in the process-tree]]>
  3506. </doc>
  3507. </method>
  3508. <method name="getVirtualMemorySize" return="long"
  3509. abstract="false" native="false" synchronized="false"
  3510. static="false" final="false" visibility="public"
  3511. deprecated="not deprecated">
  3512. <doc>
  3513. <![CDATA[Get the virtual memory used by all the processes in the
  3514. process-tree.
  3515. @return virtual memory used by the process-tree in bytes,
  3516. {@link #UNAVAILABLE} if it cannot be calculated.]]>
  3517. </doc>
  3518. </method>
  3519. <method name="getRssMemorySize" return="long"
  3520. abstract="false" native="false" synchronized="false"
  3521. static="false" final="false" visibility="public"
  3522. deprecated="not deprecated">
  3523. <doc>
  3524. <![CDATA[Get the resident set size (rss) memory used by all the processes
  3525. in the process-tree.
  3526. @return rss memory used by the process-tree in bytes,
  3527. {@link #UNAVAILABLE} if it cannot be calculated.]]>
  3528. </doc>
  3529. </method>
  3530. <method name="getVirtualMemorySize" return="long"
  3531. abstract="false" native="false" synchronized="false"
  3532. static="false" final="false" visibility="public"
  3533. deprecated="not deprecated">
  3534. <param name="olderThanAge" type="int"/>
  3535. <doc>
  3536. <![CDATA[Get the virtual memory used by all the processes in the
  3537. process-tree that are older than the passed in age.
  3538. @param olderThanAge processes above this age are included in the
  3539. memory addition
  3540. @return virtual memory used by the process-tree in bytes for
  3541. processes older than the specified age, {@link #UNAVAILABLE} if it
  3542. cannot be calculated.]]>
  3543. </doc>
  3544. </method>
  3545. <method name="getRssMemorySize" return="long"
  3546. abstract="false" native="false" synchronized="false"
  3547. static="false" final="false" visibility="public"
  3548. deprecated="not deprecated">
  3549. <param name="olderThanAge" type="int"/>
  3550. <doc>
  3551. <![CDATA[Get the resident set size (rss) memory used by all the processes
  3552. in the process-tree that are older than the passed in age.
  3553. @param olderThanAge processes above this age are included in the
  3554. memory addition
  3555. @return rss memory used by the process-tree in bytes for
  3556. processes older than specified age, {@link #UNAVAILABLE} if it cannot be
  3557. calculated.]]>
  3558. </doc>
  3559. </method>
  3560. <method name="getCumulativeCpuTime" return="long"
  3561. abstract="false" native="false" synchronized="false"
  3562. static="false" final="false" visibility="public"
  3563. deprecated="not deprecated">
  3564. <doc>
  3565. <![CDATA[Get the CPU time in millisecond used by all the processes in the
  3566. process-tree since the process-tree was created
  3567. @return cumulative CPU time in millisecond since the process-tree
  3568. created, {@link #UNAVAILABLE} if it cannot be calculated.]]>
  3569. </doc>
  3570. </method>
  3571. <method name="getCpuUsagePercent" return="float"
  3572. abstract="false" native="false" synchronized="false"
  3573. static="false" final="false" visibility="public"
  3574. deprecated="not deprecated">
  3575. <doc>
  3576. <![CDATA[Get the CPU usage by all the processes in the process-tree based on
  3577. average between samples as a ratio of overall CPU cycles similar to top.
  3578. Thus, if 2 out of 4 cores are used this should return 200.0.
  3579. Note: UNAVAILABLE will be returned in case when CPU usage is not
  3580. available. It is NOT advised to return any other error code.
  3581. @return percentage CPU usage since the process-tree was created,
  3582. {@link #UNAVAILABLE} if CPU usage cannot be calculated or not available.]]>
  3583. </doc>
  3584. </method>
  3585. <method name="checkPidPgrpidForMatch" return="boolean"
  3586. abstract="true" native="false" synchronized="false"
  3587. static="false" final="false" visibility="public"
  3588. deprecated="not deprecated">
  3589. <doc>
  3590. <![CDATA[Verify that the tree process id is same as its process group id.
  3591. @return true if the process id matches else return false.]]>
  3592. </doc>
  3593. </method>
  3594. <method name="getResourceCalculatorProcessTree" return="org.apache.hadoop.yarn.util.ResourceCalculatorProcessTree"
  3595. abstract="false" native="false" synchronized="false"
  3596. static="true" final="false" visibility="public"
  3597. deprecated="not deprecated">
  3598. <param name="pid" type="java.lang.String"/>
  3599. <param name="clazz" type="java.lang.Class"/>
  3600. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  3601. <doc>
  3602. <![CDATA[Create the ResourceCalculatorProcessTree rooted to specified process
  3603. from the class name and configure it. If class name is null, this method
  3604. will try and return a process tree plugin available for this system.
  3605. @param pid process pid of the root of the process tree
  3606. @param clazz class-name
  3607. @param conf configure the plugin with this.
  3608. @return ResourceCalculatorProcessTree or null if ResourceCalculatorPluginTree
  3609. is not available for this system.]]>
  3610. </doc>
  3611. </method>
  3612. <field name="UNAVAILABLE" type="int"
  3613. transient="false" volatile="false"
  3614. static="true" final="true" visibility="public"
  3615. deprecated="not deprecated">
  3616. </field>
  3617. <doc>
  3618. <![CDATA[Interface class to obtain process resource usage
  3619. NOTE: This class should not be used by external users, but only by external
  3620. developers to extend and include their own process-tree implementation,
  3621. especially for platforms other than Linux and Windows.]]>
  3622. </doc>
  3623. </class>
  3624. <!-- end class org.apache.hadoop.yarn.util.ResourceCalculatorProcessTree -->
  3625. <!-- start class org.apache.hadoop.yarn.util.SystemClock -->
  3626. <class name="SystemClock" extends="java.lang.Object"
  3627. abstract="false"
  3628. static="false" final="true" visibility="public"
  3629. deprecated="not deprecated">
  3630. <implements name="org.apache.hadoop.yarn.util.Clock"/>
  3631. <constructor name="SystemClock"
  3632. static="false" final="false" visibility="public"
  3633. deprecated="not deprecated">
  3634. </constructor>
  3635. <method name="getInstance" return="org.apache.hadoop.yarn.util.SystemClock"
  3636. abstract="false" native="false" synchronized="false"
  3637. static="true" final="false" visibility="public"
  3638. deprecated="not deprecated">
  3639. </method>
  3640. <method name="getTime" return="long"
  3641. abstract="false" native="false" synchronized="false"
  3642. static="false" final="false" visibility="public"
  3643. deprecated="not deprecated">
  3644. </method>
  3645. <doc>
  3646. <![CDATA[Implementation of {@link Clock} that gives the current time from the system
  3647. clock in milliseconds.
  3648. NOTE: Do not use this to calculate a duration of expire or interval to sleep,
  3649. because it will be broken by settimeofday. Please use {@link MonotonicClock}
  3650. instead.]]>
  3651. </doc>
  3652. </class>
  3653. <!-- end class org.apache.hadoop.yarn.util.SystemClock -->
  3654. <!-- start class org.apache.hadoop.yarn.util.UTCClock -->
  3655. <class name="UTCClock" extends="java.lang.Object"
  3656. abstract="false"
  3657. static="false" final="false" visibility="public"
  3658. deprecated="not deprecated">
  3659. <implements name="org.apache.hadoop.yarn.util.Clock"/>
  3660. <constructor name="UTCClock"
  3661. static="false" final="false" visibility="public"
  3662. deprecated="not deprecated">
  3663. </constructor>
  3664. <method name="getTime" return="long"
  3665. abstract="false" native="false" synchronized="false"
  3666. static="false" final="false" visibility="public"
  3667. deprecated="not deprecated">
  3668. </method>
  3669. <doc>
  3670. <![CDATA[Implementation of {@link Clock} that gives the current UTC time in
  3671. milliseconds.]]>
  3672. </doc>
  3673. </class>
  3674. <!-- end class org.apache.hadoop.yarn.util.UTCClock -->
  3675. </package>
  3676. <package name="org.apache.hadoop.yarn.util.resource">
  3677. </package>
  3678. <package name="org.apache.hadoop.yarn.util.timeline">
  3679. <!-- start class org.apache.hadoop.yarn.util.timeline.TimelineUtils -->
  3680. <class name="TimelineUtils" extends="java.lang.Object"
  3681. abstract="false"
  3682. static="false" final="false" visibility="public"
  3683. deprecated="not deprecated">
  3684. <constructor name="TimelineUtils"
  3685. static="false" final="false" visibility="public"
  3686. deprecated="not deprecated">
  3687. </constructor>
  3688. <method name="dumpTimelineRecordtoJSON" return="java.lang.String"
  3689. abstract="false" native="false" synchronized="false"
  3690. static="true" final="false" visibility="public"
  3691. deprecated="not deprecated">
  3692. <param name="o" type="java.lang.Object"/>
  3693. <exception name="JsonGenerationException" type="com.fasterxml.jackson.core.JsonGenerationException"/>
  3694. <exception name="JsonMappingException" type="com.fasterxml.jackson.databind.JsonMappingException"/>
  3695. <exception name="IOException" type="java.io.IOException"/>
  3696. <doc>
  3697. <![CDATA[Serialize a POJO object into a JSON string not in a pretty format
  3698. @param o
  3699. an object to serialize
  3700. @return a JSON string
  3701. @throws IOException
  3702. @throws JsonMappingException
  3703. @throws JsonGenerationException]]>
  3704. </doc>
  3705. </method>
  3706. <method name="dumpTimelineRecordtoJSON" return="java.lang.String"
  3707. abstract="false" native="false" synchronized="false"
  3708. static="true" final="false" visibility="public"
  3709. deprecated="not deprecated">
  3710. <param name="o" type="java.lang.Object"/>
  3711. <param name="pretty" type="boolean"/>
  3712. <exception name="JsonGenerationException" type="com.fasterxml.jackson.core.JsonGenerationException"/>
  3713. <exception name="JsonMappingException" type="com.fasterxml.jackson.databind.JsonMappingException"/>
  3714. <exception name="IOException" type="java.io.IOException"/>
  3715. <doc>
  3716. <![CDATA[Serialize a POJO object into a JSON string
  3717. @param o
  3718. an object to serialize
  3719. @param pretty
  3720. whether in a pretty format or not
  3721. @return a JSON string
  3722. @throws IOException
  3723. @throws JsonMappingException
  3724. @throws JsonGenerationException]]>
  3725. </doc>
  3726. </method>
  3727. <method name="timelineServiceEnabled" return="boolean"
  3728. abstract="false" native="false" synchronized="false"
  3729. static="true" final="false" visibility="public"
  3730. deprecated="not deprecated">
  3731. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  3732. <doc>
  3733. <![CDATA[Returns whether the timeline service is enabled via configuration.
  3734. @param conf the configuration
  3735. @return whether the timeline service is enabled.]]>
  3736. </doc>
  3737. </method>
  3738. <method name="getTimelineServiceVersion" return="float"
  3739. abstract="false" native="false" synchronized="false"
  3740. static="true" final="false" visibility="public"
  3741. deprecated="not deprecated">
  3742. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  3743. <doc>
  3744. <![CDATA[Returns the timeline service version. It does not check whether the
  3745. timeline service itself is enabled.
  3746. @param conf the configuration
  3747. @return the timeline service version as a float.]]>
  3748. </doc>
  3749. </method>
  3750. <method name="timelineServiceV1_5Enabled" return="boolean"
  3751. abstract="false" native="false" synchronized="false"
  3752. static="true" final="false" visibility="public"
  3753. deprecated="not deprecated">
  3754. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  3755. <doc>
  3756. <![CDATA[Returns whether the timeline service v.1.5 is enabled by default via
  3757. configuration.
  3758. @param conf the configuration
  3759. @return whether the timeline service v.1.5 is enabled. V.1.5 refers to a
  3760. version equal to 1.5.]]>
  3761. </doc>
  3762. </method>
  3763. <method name="createTimelineAbout" return="org.apache.hadoop.yarn.api.records.timeline.TimelineAbout"
  3764. abstract="false" native="false" synchronized="false"
  3765. static="true" final="false" visibility="public"
  3766. deprecated="not deprecated">
  3767. <param name="about" type="java.lang.String"/>
  3768. </method>
  3769. <method name="getTimelineTokenServiceAddress" return="java.net.InetSocketAddress"
  3770. abstract="false" native="false" synchronized="false"
  3771. static="true" final="false" visibility="public"
  3772. deprecated="not deprecated">
  3773. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  3774. </method>
  3775. <method name="buildTimelineTokenService" return="org.apache.hadoop.io.Text"
  3776. abstract="false" native="false" synchronized="false"
  3777. static="true" final="false" visibility="public"
  3778. deprecated="not deprecated">
  3779. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  3780. </method>
  3781. <method name="generateDefaultFlowName" return="java.lang.String"
  3782. abstract="false" native="false" synchronized="false"
  3783. static="true" final="false" visibility="public"
  3784. deprecated="not deprecated">
  3785. <param name="appName" type="java.lang.String"/>
  3786. <param name="appId" type="org.apache.hadoop.yarn.api.records.ApplicationId"/>
  3787. </method>
  3788. <method name="generateFlowNameTag" return="java.lang.String"
  3789. abstract="false" native="false" synchronized="false"
  3790. static="true" final="false" visibility="public"
  3791. deprecated="not deprecated">
  3792. <param name="flowName" type="java.lang.String"/>
  3793. <doc>
  3794. <![CDATA[Generate flow name tag.
  3795. @param flowName flow name that identifies a distinct flow application which
  3796. can be run repeatedly over time
  3797. @return flow name tag.]]>
  3798. </doc>
  3799. </method>
  3800. <method name="shortenFlowName" return="java.lang.String"
  3801. abstract="false" native="false" synchronized="false"
  3802. static="true" final="false" visibility="public"
  3803. deprecated="not deprecated">
  3804. <param name="flowName" type="java.lang.String"/>
  3805. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  3806. <doc>
  3807. <![CDATA[Shortens the flow name for the configured size by removing UUID if present.
  3808. @param flowName which has to be shortened
  3809. @param conf to resize the flow name
  3810. @return shortened flowName]]>
  3811. </doc>
  3812. </method>
  3813. <method name="generateFlowVersionTag" return="java.lang.String"
  3814. abstract="false" native="false" synchronized="false"
  3815. static="true" final="false" visibility="public"
  3816. deprecated="not deprecated">
  3817. <param name="flowVersion" type="java.lang.String"/>
  3818. <doc>
  3819. <![CDATA[Generate flow version tag.
  3820. @param flowVersion flow version that keeps track of the changes made to the
  3821. flow
  3822. @return flow version tag.]]>
  3823. </doc>
  3824. </method>
  3825. <method name="generateFlowRunIdTag" return="java.lang.String"
  3826. abstract="false" native="false" synchronized="false"
  3827. static="true" final="false" visibility="public"
  3828. deprecated="not deprecated">
  3829. <param name="flowRunId" type="long"/>
  3830. <doc>
  3831. <![CDATA[Generate flow run ID tag.
  3832. @param flowRunId flow run ID that identifies one instance (or specific
  3833. execution) of that flow
  3834. @return flow run id tag.]]>
  3835. </doc>
  3836. </method>
  3837. <field name="FLOW_NAME_TAG_PREFIX" type="java.lang.String"
  3838. transient="false" volatile="false"
  3839. static="true" final="true" visibility="public"
  3840. deprecated="not deprecated">
  3841. </field>
  3842. <field name="FLOW_VERSION_TAG_PREFIX" type="java.lang.String"
  3843. transient="false" volatile="false"
  3844. static="true" final="true" visibility="public"
  3845. deprecated="not deprecated">
  3846. </field>
  3847. <field name="FLOW_RUN_ID_TAG_PREFIX" type="java.lang.String"
  3848. transient="false" volatile="false"
  3849. static="true" final="true" visibility="public"
  3850. deprecated="not deprecated">
  3851. </field>
  3852. <field name="DEFAULT_FLOW_VERSION" type="java.lang.String"
  3853. transient="false" volatile="false"
  3854. static="true" final="true" visibility="public"
  3855. deprecated="not deprecated">
  3856. </field>
  3857. <doc>
  3858. <![CDATA[The helper class for the timeline module.]]>
  3859. </doc>
  3860. </class>
  3861. <!-- end class org.apache.hadoop.yarn.util.timeline.TimelineUtils -->
  3862. </package>
  3863. <package name="org.apache.hadoop.yarn.webapp.util">
  3864. </package>
  3865. </api>