Apache_Hadoop_HDFS_2.7.2.xml 94 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113
  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 Wed Aug 24 13:54:04 PDT 2016 -->
  5. <api
  6. xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
  7. xsi:noNamespaceSchemaLocation='api.xsd'
  8. name="Apache Hadoop HDFS 2.7.2"
  9. jdversion="1.0.9">
  10. <!-- Command line arguments = -doclet org.apache.hadoop.classification.tools.IncludePublicAnnotationsJDiffDoclet -docletpath /Users/vinodkv/Workspace/eclipse-workspace/apache-git/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/hadoop-annotations.jar:/Users/vinodkv/Workspace/eclipse-workspace/apache-git/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/jdiff.jar -verbose -classpath /Users/vinodkv/Workspace/eclipse-workspace/apache-git/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/classes:/Users/vinodkv/Workspace/eclipse-workspace/apache-git/hadoop/hadoop-common-project/hadoop-annotations/target/hadoop-annotations-2.7.2.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/lib/tools.jar:/Users/vinodkv/Workspace/eclipse-workspace/apache-git/hadoop/hadoop-common-project/hadoop-auth/target/hadoop-auth-2.7.2.jar:/Users/vinodkv/.m2/repository/org/slf4j/slf4j-api/1.7.10/slf4j-api-1.7.10.jar:/Users/vinodkv/.m2/repository/org/apache/httpcomponents/httpclient/4.2.5/httpclient-4.2.5.jar:/Users/vinodkv/.m2/repository/org/apache/httpcomponents/httpcore/4.2.5/httpcore-4.2.5.jar:/Users/vinodkv/.m2/repository/org/apache/directory/server/apacheds-kerberos-codec/2.0.0-M15/apacheds-kerberos-codec-2.0.0-M15.jar:/Users/vinodkv/.m2/repository/org/apache/directory/server/apacheds-i18n/2.0.0-M15/apacheds-i18n-2.0.0-M15.jar:/Users/vinodkv/.m2/repository/org/apache/directory/api/api-asn1-api/1.0.0-M20/api-asn1-api-1.0.0-M20.jar:/Users/vinodkv/.m2/repository/org/apache/directory/api/api-util/1.0.0-M20/api-util-1.0.0-M20.jar:/Users/vinodkv/.m2/repository/org/apache/zookeeper/zookeeper/3.4.6/zookeeper-3.4.6.jar:/Users/vinodkv/.m2/repository/jline/jline/0.9.94/jline-0.9.94.jar:/Users/vinodkv/.m2/repository/org/apache/curator/curator-framework/2.7.1/curator-framework-2.7.1.jar:/Users/vinodkv/Workspace/eclipse-workspace/apache-git/hadoop/hadoop-common-project/hadoop-common/target/hadoop-common-2.7.2.jar:/Users/vinodkv/.m2/repository/org/apache/commons/commons-math3/3.1.1/commons-math3-3.1.1.jar:/Users/vinodkv/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar:/Users/vinodkv/.m2/repository/commons-net/commons-net/3.1/commons-net-3.1.jar:/Users/vinodkv/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar:/Users/vinodkv/.m2/repository/javax/servlet/jsp/jsp-api/2.1/jsp-api-2.1.jar:/Users/vinodkv/.m2/repository/com/sun/jersey/jersey-json/1.9/jersey-json-1.9.jar:/Users/vinodkv/.m2/repository/org/codehaus/jettison/jettison/1.1/jettison-1.1.jar:/Users/vinodkv/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.3-1/jaxb-impl-2.2.3-1.jar:/Users/vinodkv/.m2/repository/javax/xml/bind/jaxb-api/2.2.2/jaxb-api-2.2.2.jar:/Users/vinodkv/.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar:/Users/vinodkv/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar:/Users/vinodkv/.m2/repository/org/codehaus/jackson/jackson-jaxrs/1.9.13/jackson-jaxrs-1.9.13.jar:/Users/vinodkv/.m2/repository/org/codehaus/jackson/jackson-xc/1.9.13/jackson-xc-1.9.13.jar:/Users/vinodkv/.m2/repository/net/java/dev/jets3t/jets3t/0.9.0/jets3t-0.9.0.jar:/Users/vinodkv/.m2/repository/com/jamesmurty/utils/java-xmlbuilder/0.4/java-xmlbuilder-0.4.jar:/Users/vinodkv/.m2/repository/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar:/Users/vinodkv/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar:/Users/vinodkv/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar:/Users/vinodkv/.m2/repository/commons-beanutils/commons-beanutils-core/1.8.0/commons-beanutils-core-1.8.0.jar:/Users/vinodkv/.m2/repository/org/apache/avro/avro/1.7.4/avro-1.7.4.jar:/Users/vinodkv/.m2/repository/com/thoughtworks/paranamer/paranamer/2.3/paranamer-2.3.jar:/Users/vinodkv/.m2/repository/org/xerial/snappy/snappy-java/1.0.4.1/snappy-java-1.0.4.1.jar:/Users/vinodkv/.m2/repository/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar:/Users/vinodkv/.m2/repository/com/jcraft/jsch/0.1.42/jsch-0.1.42.jar:/Users/vinodkv/.m2/repository/org/apache/curator/curator-client/2.7.1/curator-client-2.7.1.jar:/Users/vinodkv/.m2/repository/org/apache/curator/curator-recipes/2.7.1/curator-recipes-2.7.1.jar:/Users/vinodkv/.m2/repository/com/google/code/findbugs/jsr305/3.0.0/jsr305-3.0.0.jar:/Users/vinodkv/.m2/repository/org/apache/commons/commons-compress/1.4.1/commons-compress-1.4.1.jar:/Users/vinodkv/.m2/repository/org/tukaani/xz/1.0/xz-1.0.jar:/Users/vinodkv/.m2/repository/com/google/guava/guava/11.0.2/guava-11.0.2.jar:/Users/vinodkv/.m2/repository/org/mortbay/jetty/jetty/6.1.26/jetty-6.1.26.jar:/Users/vinodkv/.m2/repository/org/mortbay/jetty/jetty-util/6.1.26/jetty-util-6.1.26.jar:/Users/vinodkv/.m2/repository/com/sun/jersey/jersey-core/1.9/jersey-core-1.9.jar:/Users/vinodkv/.m2/repository/com/sun/jersey/jersey-server/1.9/jersey-server-1.9.jar:/Users/vinodkv/.m2/repository/asm/asm/3.2/asm-3.2.jar:/Users/vinodkv/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar:/Users/vinodkv/.m2/repository/commons-codec/commons-codec/1.4/commons-codec-1.4.jar:/Users/vinodkv/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar:/Users/vinodkv/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/Users/vinodkv/.m2/repository/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar:/Users/vinodkv/.m2/repository/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13.jar:/Users/vinodkv/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar:/Users/vinodkv/.m2/repository/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.jar:/Users/vinodkv/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar:/Users/vinodkv/.m2/repository/org/slf4j/slf4j-log4j12/1.7.10/slf4j-log4j12-1.7.10.jar:/Users/vinodkv/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.13/jackson-core-asl-1.9.13.jar:/Users/vinodkv/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.13/jackson-mapper-asl-1.9.13.jar:/Users/vinodkv/.m2/repository/xmlenc/xmlenc/0.52/xmlenc-0.52.jar:/Users/vinodkv/.m2/repository/io/netty/netty/3.6.2.Final/netty-3.6.2.Final.jar:/Users/vinodkv/.m2/repository/io/netty/netty-all/4.0.23.Final/netty-all-4.0.23.Final.jar:/Users/vinodkv/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar:/Users/vinodkv/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar:/Users/vinodkv/.m2/repository/org/apache/htrace/htrace-core/3.1.0-incubating/htrace-core-3.1.0-incubating.jar:/Users/vinodkv/.m2/repository/org/fusesource/leveldbjni/leveldbjni-all/1.8/leveldbjni-all-1.8.jar -sourcepath /Users/vinodkv/Workspace/eclipse-workspace/apache-git/hadoop/hadoop-hdfs-project/hadoop-hdfs/src/main/java -doclet org.apache.hadoop.classification.tools.IncludePublicAnnotationsJDiffDoclet -docletpath /Users/vinodkv/Workspace/eclipse-workspace/apache-git/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/hadoop-annotations.jar:/Users/vinodkv/Workspace/eclipse-workspace/apache-git/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/jdiff.jar -apidir /Users/vinodkv/Workspace/eclipse-workspace/apache-git/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/site/jdiff/xml -apiname Apache Hadoop HDFS 2.7.2 -->
  11. <package name="org.apache.hadoop.fs">
  12. <!-- start class org.apache.hadoop.fs.BlockStorageLocation -->
  13. <class name="BlockStorageLocation" extends="org.apache.hadoop.fs.BlockLocation"
  14. abstract="false"
  15. static="false" final="false" visibility="public"
  16. deprecated="not deprecated">
  17. <constructor name="BlockStorageLocation" type="org.apache.hadoop.fs.BlockLocation, org.apache.hadoop.fs.VolumeId[]"
  18. static="false" final="false" visibility="public"
  19. deprecated="not deprecated">
  20. <exception name="IOException" type="java.io.IOException"/>
  21. </constructor>
  22. <method name="getVolumeIds" return="org.apache.hadoop.fs.VolumeId[]"
  23. abstract="false" native="false" synchronized="false"
  24. static="false" final="false" visibility="public"
  25. deprecated="not deprecated">
  26. <doc>
  27. <![CDATA[Gets the list of {@link VolumeId} corresponding to the block's replicas.
  28. @return volumeIds list of VolumeId for the block's replicas]]>
  29. </doc>
  30. </method>
  31. <doc>
  32. <![CDATA[Wrapper for {@link BlockLocation} that also adds {@link VolumeId} volume
  33. location information for each replica.]]>
  34. </doc>
  35. </class>
  36. <!-- end class org.apache.hadoop.fs.BlockStorageLocation -->
  37. <!-- start class org.apache.hadoop.fs.CacheFlag -->
  38. <class name="CacheFlag" extends="java.lang.Enum"
  39. abstract="false"
  40. static="false" final="true" visibility="public"
  41. deprecated="not deprecated">
  42. <method name="values" return="org.apache.hadoop.fs.CacheFlag[]"
  43. abstract="false" native="false" synchronized="false"
  44. static="true" final="false" visibility="public"
  45. deprecated="not deprecated">
  46. </method>
  47. <method name="valueOf" return="org.apache.hadoop.fs.CacheFlag"
  48. abstract="false" native="false" synchronized="false"
  49. static="true" final="false" visibility="public"
  50. deprecated="not deprecated">
  51. <param name="name" type="java.lang.String"/>
  52. </method>
  53. <doc>
  54. <![CDATA[Specifies semantics for CacheDirective operations. Multiple flags can
  55. be combined in an EnumSet.]]>
  56. </doc>
  57. </class>
  58. <!-- end class org.apache.hadoop.fs.CacheFlag -->
  59. <!-- start class org.apache.hadoop.fs.HdfsVolumeId -->
  60. <class name="HdfsVolumeId" extends="java.lang.Object"
  61. abstract="false"
  62. static="false" final="false" visibility="public"
  63. deprecated="not deprecated">
  64. <implements name="org.apache.hadoop.fs.VolumeId"/>
  65. <constructor name="HdfsVolumeId" type="byte[]"
  66. static="false" final="false" visibility="public"
  67. deprecated="not deprecated">
  68. </constructor>
  69. <method name="compareTo" return="int"
  70. abstract="false" native="false" synchronized="false"
  71. static="false" final="false" visibility="public"
  72. deprecated="not deprecated">
  73. <param name="arg0" type="org.apache.hadoop.fs.VolumeId"/>
  74. </method>
  75. <method name="hashCode" return="int"
  76. abstract="false" native="false" synchronized="false"
  77. static="false" final="false" visibility="public"
  78. deprecated="not deprecated">
  79. </method>
  80. <method name="equals" return="boolean"
  81. abstract="false" native="false" synchronized="false"
  82. static="false" final="false" visibility="public"
  83. deprecated="not deprecated">
  84. <param name="obj" type="java.lang.Object"/>
  85. </method>
  86. <method name="toString" return="java.lang.String"
  87. abstract="false" native="false" synchronized="false"
  88. static="false" final="false" visibility="public"
  89. deprecated="not deprecated">
  90. </method>
  91. <doc>
  92. <![CDATA[HDFS-specific volume identifier which implements {@link VolumeId}. Can be
  93. used to differentiate between the data directories on a single datanode. This
  94. identifier is only unique on a per-datanode basis.]]>
  95. </doc>
  96. </class>
  97. <!-- end class org.apache.hadoop.fs.HdfsVolumeId -->
  98. <!-- start interface org.apache.hadoop.fs.VolumeId -->
  99. <interface name="VolumeId" abstract="true"
  100. static="false" final="false" visibility="public"
  101. deprecated="not deprecated">
  102. <implements name="java.lang.Comparable"/>
  103. <method name="compareTo" return="int"
  104. abstract="true" native="false" synchronized="false"
  105. static="false" final="false" visibility="public"
  106. deprecated="not deprecated">
  107. <param name="arg0" type="org.apache.hadoop.fs.VolumeId"/>
  108. </method>
  109. <method name="hashCode" return="int"
  110. abstract="true" native="false" synchronized="false"
  111. static="false" final="false" visibility="public"
  112. deprecated="not deprecated">
  113. </method>
  114. <method name="equals" return="boolean"
  115. abstract="true" native="false" synchronized="false"
  116. static="false" final="false" visibility="public"
  117. deprecated="not deprecated">
  118. <param name="obj" type="java.lang.Object"/>
  119. </method>
  120. <doc>
  121. <![CDATA[Opaque interface that identifies a disk location. Subclasses
  122. should implement {@link Comparable} and override both equals and hashCode.]]>
  123. </doc>
  124. </interface>
  125. <!-- end interface org.apache.hadoop.fs.VolumeId -->
  126. </package>
  127. <package name="org.apache.hadoop.hdfs">
  128. <!-- start class org.apache.hadoop.hdfs.DFSInotifyEventInputStream -->
  129. <class name="DFSInotifyEventInputStream" extends="java.lang.Object"
  130. abstract="false"
  131. static="false" final="false" visibility="public"
  132. deprecated="not deprecated">
  133. <method name="poll" return="org.apache.hadoop.hdfs.inotify.EventBatch"
  134. abstract="false" native="false" synchronized="false"
  135. static="false" final="false" visibility="public"
  136. deprecated="not deprecated">
  137. <exception name="IOException" type="java.io.IOException"/>
  138. <exception name="MissingEventsException" type="org.apache.hadoop.hdfs.inotify.MissingEventsException"/>
  139. <doc>
  140. <![CDATA[Returns the next batch of events in the stream or null if no new
  141. batches are currently available.
  142. @throws IOException because of network error or edit log
  143. corruption. Also possible if JournalNodes are unresponsive in the
  144. QJM setting (even one unresponsive JournalNode is enough in rare cases),
  145. so catching this exception and retrying at least a few times is
  146. recommended.
  147. @throws MissingEventsException if we cannot return the next batch in the
  148. stream because the data for the events (and possibly some subsequent
  149. events) has been deleted (generally because this stream is a very large
  150. number of transactions behind the current state of the NameNode). It is
  151. safe to continue reading from the stream after this exception is thrown
  152. The next available batch of events will be returned.]]>
  153. </doc>
  154. </method>
  155. <method name="getTxidsBehindEstimate" return="long"
  156. abstract="false" native="false" synchronized="false"
  157. static="false" final="false" visibility="public"
  158. deprecated="not deprecated">
  159. <doc>
  160. <![CDATA[Return a estimate of how many transaction IDs behind the NameNode's
  161. current state this stream is. Clients should periodically call this method
  162. and check if its result is steadily increasing, which indicates that they
  163. are falling behind (i.e. transaction are being generated faster than the
  164. client is reading them). If a client falls too far behind events may be
  165. deleted before the client can read them.
  166. <p/>
  167. A return value of -1 indicates that an estimate could not be produced, and
  168. should be ignored. The value returned by this method is really only useful
  169. when compared to previous or subsequent returned values.]]>
  170. </doc>
  171. </method>
  172. <method name="poll" return="org.apache.hadoop.hdfs.inotify.EventBatch"
  173. abstract="false" native="false" synchronized="false"
  174. static="false" final="false" visibility="public"
  175. deprecated="not deprecated">
  176. <param name="time" type="long"/>
  177. <param name="tu" type="java.util.concurrent.TimeUnit"/>
  178. <exception name="IOException" type="java.io.IOException"/>
  179. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  180. <exception name="MissingEventsException" type="org.apache.hadoop.hdfs.inotify.MissingEventsException"/>
  181. <doc>
  182. <![CDATA[Returns the next event batch in the stream, waiting up to the specified
  183. amount of time for a new batch. Returns null if one is not available at the
  184. end of the specified amount of time. The time before the method returns may
  185. exceed the specified amount of time by up to the time required for an RPC
  186. to the NameNode.
  187. @param time number of units of the given TimeUnit to wait
  188. @param tu the desired TimeUnit
  189. @throws IOException see {@link DFSInotifyEventInputStream#poll()}
  190. @throws MissingEventsException
  191. see {@link DFSInotifyEventInputStream#poll()}
  192. @throws InterruptedException if the calling thread is interrupted]]>
  193. </doc>
  194. </method>
  195. <method name="take" return="org.apache.hadoop.hdfs.inotify.EventBatch"
  196. abstract="false" native="false" synchronized="false"
  197. static="false" final="false" visibility="public"
  198. deprecated="not deprecated">
  199. <exception name="IOException" type="java.io.IOException"/>
  200. <exception name="InterruptedException" type="java.lang.InterruptedException"/>
  201. <exception name="MissingEventsException" type="org.apache.hadoop.hdfs.inotify.MissingEventsException"/>
  202. <doc>
  203. <![CDATA[Returns the next batch of events in the stream, waiting indefinitely if
  204. a new batch is not immediately available.
  205. @throws IOException see {@link DFSInotifyEventInputStream#poll()}
  206. @throws MissingEventsException see
  207. {@link DFSInotifyEventInputStream#poll()}
  208. @throws InterruptedException if the calling thread is interrupted]]>
  209. </doc>
  210. </method>
  211. <field name="LOG" type="org.slf4j.Logger"
  212. transient="false" volatile="false"
  213. static="true" final="false" visibility="public"
  214. deprecated="not deprecated">
  215. </field>
  216. <doc>
  217. <![CDATA[Stream for reading inotify events. DFSInotifyEventInputStreams should not
  218. be shared among multiple threads.]]>
  219. </doc>
  220. </class>
  221. <!-- end class org.apache.hadoop.hdfs.DFSInotifyEventInputStream -->
  222. <!-- start class org.apache.hadoop.hdfs.UnknownCipherSuiteException -->
  223. <class name="UnknownCipherSuiteException" extends="java.io.IOException"
  224. abstract="false"
  225. static="false" final="false" visibility="public"
  226. deprecated="not deprecated">
  227. <constructor name="UnknownCipherSuiteException" type="java.lang.String"
  228. static="false" final="false" visibility="public"
  229. deprecated="not deprecated">
  230. </constructor>
  231. <doc>
  232. <![CDATA[Thrown when an unknown cipher suite is encountered.]]>
  233. </doc>
  234. </class>
  235. <!-- end class org.apache.hadoop.hdfs.UnknownCipherSuiteException -->
  236. <!-- start class org.apache.hadoop.hdfs.UnknownCryptoProtocolVersionException -->
  237. <class name="UnknownCryptoProtocolVersionException" extends="java.io.IOException"
  238. abstract="false"
  239. static="false" final="false" visibility="public"
  240. deprecated="not deprecated">
  241. <constructor name="UnknownCryptoProtocolVersionException"
  242. static="false" final="false" visibility="public"
  243. deprecated="not deprecated">
  244. </constructor>
  245. <constructor name="UnknownCryptoProtocolVersionException" type="java.lang.String"
  246. static="false" final="false" visibility="public"
  247. deprecated="not deprecated">
  248. </constructor>
  249. </class>
  250. <!-- end class org.apache.hadoop.hdfs.UnknownCryptoProtocolVersionException -->
  251. <doc>
  252. <![CDATA[<p>A distributed implementation of {@link
  253. org.apache.hadoop.fs.FileSystem}. This is loosely modelled after
  254. Google's <a href="http://research.google.com/archive/gfs.html">GFS</a>.</p>
  255. <p>The most important difference is that unlike GFS, Hadoop DFS files
  256. have strictly one writer at any one time. Bytes are always appended
  257. to the end of the writer's stream. There is no notion of "record appends"
  258. or "mutations" that are then checked or reordered. Writers simply emit
  259. a byte stream. That byte stream is guaranteed to be stored in the
  260. order written.</p>]]>
  261. </doc>
  262. </package>
  263. <package name="org.apache.hadoop.hdfs.client">
  264. <!-- start class org.apache.hadoop.hdfs.client.BlockReportOptions -->
  265. <class name="BlockReportOptions" extends="java.lang.Object"
  266. abstract="false"
  267. static="false" final="true" visibility="public"
  268. deprecated="not deprecated">
  269. <method name="isIncremental" return="boolean"
  270. abstract="false" native="false" synchronized="false"
  271. static="false" final="false" visibility="public"
  272. deprecated="not deprecated">
  273. </method>
  274. <method name="toString" return="java.lang.String"
  275. abstract="false" native="false" synchronized="false"
  276. static="false" final="false" visibility="public"
  277. deprecated="not deprecated">
  278. </method>
  279. <doc>
  280. <![CDATA[Options that can be specified when manually triggering a block report.]]>
  281. </doc>
  282. </class>
  283. <!-- end class org.apache.hadoop.hdfs.client.BlockReportOptions -->
  284. <!-- start class org.apache.hadoop.hdfs.client.HdfsAdmin -->
  285. <class name="HdfsAdmin" extends="java.lang.Object"
  286. abstract="false"
  287. static="false" final="false" visibility="public"
  288. deprecated="not deprecated">
  289. <constructor name="HdfsAdmin" type="java.net.URI, org.apache.hadoop.conf.Configuration"
  290. static="false" final="false" visibility="public"
  291. deprecated="not deprecated">
  292. <exception name="IOException" type="java.io.IOException"/>
  293. <doc>
  294. <![CDATA[Create a new HdfsAdmin client.
  295. @param uri the unique URI of the HDFS file system to administer
  296. @param conf configuration
  297. @throws IOException in the event the file system could not be created]]>
  298. </doc>
  299. </constructor>
  300. <method name="setQuota"
  301. abstract="false" native="false" synchronized="false"
  302. static="false" final="false" visibility="public"
  303. deprecated="not deprecated">
  304. <param name="src" type="org.apache.hadoop.fs.Path"/>
  305. <param name="quota" type="long"/>
  306. <exception name="IOException" type="java.io.IOException"/>
  307. <doc>
  308. <![CDATA[Set the namespace quota (count of files, directories, and sym links) for a
  309. directory.
  310. @param src the path to set the quota for
  311. @param quota the value to set for the quota
  312. @throws IOException in the event of error]]>
  313. </doc>
  314. </method>
  315. <method name="clearQuota"
  316. abstract="false" native="false" synchronized="false"
  317. static="false" final="false" visibility="public"
  318. deprecated="not deprecated">
  319. <param name="src" type="org.apache.hadoop.fs.Path"/>
  320. <exception name="IOException" type="java.io.IOException"/>
  321. <doc>
  322. <![CDATA[Clear the namespace quota (count of files, directories and sym links) for a
  323. directory.
  324. @param src the path to clear the quota of
  325. @throws IOException in the event of error]]>
  326. </doc>
  327. </method>
  328. <method name="setSpaceQuota"
  329. abstract="false" native="false" synchronized="false"
  330. static="false" final="false" visibility="public"
  331. deprecated="not deprecated">
  332. <param name="src" type="org.apache.hadoop.fs.Path"/>
  333. <param name="spaceQuota" type="long"/>
  334. <exception name="IOException" type="java.io.IOException"/>
  335. <doc>
  336. <![CDATA[Set the storage space quota (size of files) for a directory. Note that
  337. directories and sym links do not occupy storage space.
  338. @param src the path to set the space quota of
  339. @param spaceQuota the value to set for the space quota
  340. @throws IOException in the event of error]]>
  341. </doc>
  342. </method>
  343. <method name="clearSpaceQuota"
  344. abstract="false" native="false" synchronized="false"
  345. static="false" final="false" visibility="public"
  346. deprecated="not deprecated">
  347. <param name="src" type="org.apache.hadoop.fs.Path"/>
  348. <exception name="IOException" type="java.io.IOException"/>
  349. <doc>
  350. <![CDATA[Clear the storage space quota (size of files) for a directory. Note that
  351. directories and sym links do not occupy storage space.
  352. @param src the path to clear the space quota of
  353. @throws IOException in the event of error]]>
  354. </doc>
  355. </method>
  356. <method name="setQuotaByStorageType"
  357. abstract="false" native="false" synchronized="false"
  358. static="false" final="false" visibility="public"
  359. deprecated="not deprecated">
  360. <param name="src" type="org.apache.hadoop.fs.Path"/>
  361. <param name="type" type="org.apache.hadoop.fs.StorageType"/>
  362. <param name="quota" type="long"/>
  363. <exception name="IOException" type="java.io.IOException"/>
  364. <doc>
  365. <![CDATA[Set the quota by storage type for a directory. Note that
  366. directories and sym links do not occupy storage type quota.
  367. @param src the target directory to set the quota by storage type
  368. @param type the storage type to set for quota by storage type
  369. @param quota the value to set for quota by storage type
  370. @throws IOException in the event of error]]>
  371. </doc>
  372. </method>
  373. <method name="clearQuotaByStorageType"
  374. abstract="false" native="false" synchronized="false"
  375. static="false" final="false" visibility="public"
  376. deprecated="not deprecated">
  377. <param name="src" type="org.apache.hadoop.fs.Path"/>
  378. <param name="type" type="org.apache.hadoop.fs.StorageType"/>
  379. <exception name="IOException" type="java.io.IOException"/>
  380. <doc>
  381. <![CDATA[Clear the space quota by storage type for a directory. Note that
  382. directories and sym links do not occupy storage type quota.
  383. @param src the target directory to clear the quota by storage type
  384. @param type the storage type to clear for quota by storage type
  385. @throws IOException in the event of error]]>
  386. </doc>
  387. </method>
  388. <method name="allowSnapshot"
  389. abstract="false" native="false" synchronized="false"
  390. static="false" final="false" visibility="public"
  391. deprecated="not deprecated">
  392. <param name="path" type="org.apache.hadoop.fs.Path"/>
  393. <exception name="IOException" type="java.io.IOException"/>
  394. <doc>
  395. <![CDATA[Allow snapshot on a directory.
  396. @param path The path of the directory where snapshots will be taken.]]>
  397. </doc>
  398. </method>
  399. <method name="disallowSnapshot"
  400. abstract="false" native="false" synchronized="false"
  401. static="false" final="false" visibility="public"
  402. deprecated="not deprecated">
  403. <param name="path" type="org.apache.hadoop.fs.Path"/>
  404. <exception name="IOException" type="java.io.IOException"/>
  405. <doc>
  406. <![CDATA[Disallow snapshot on a directory.
  407. @param path The path of the snapshottable directory.]]>
  408. </doc>
  409. </method>
  410. <method name="addCacheDirective" return="long"
  411. abstract="false" native="false" synchronized="false"
  412. static="false" final="false" visibility="public"
  413. deprecated="not deprecated">
  414. <param name="info" type="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo"/>
  415. <param name="flags" type="java.util.EnumSet"/>
  416. <exception name="IOException" type="java.io.IOException"/>
  417. <doc>
  418. <![CDATA[Add a new CacheDirectiveInfo.
  419. @param info Information about a directive to add.
  420. @param flags {@link CacheFlag}s to use for this operation.
  421. @return the ID of the directive that was created.
  422. @throws IOException if the directive could not be added]]>
  423. </doc>
  424. </method>
  425. <method name="modifyCacheDirective"
  426. abstract="false" native="false" synchronized="false"
  427. static="false" final="false" visibility="public"
  428. deprecated="not deprecated">
  429. <param name="info" type="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo"/>
  430. <param name="flags" type="java.util.EnumSet"/>
  431. <exception name="IOException" type="java.io.IOException"/>
  432. <doc>
  433. <![CDATA[Modify a CacheDirective.
  434. @param info Information about the directive to modify. You must set the ID
  435. to indicate which CacheDirective you want to modify.
  436. @param flags {@link CacheFlag}s to use for this operation.
  437. @throws IOException if the directive could not be modified]]>
  438. </doc>
  439. </method>
  440. <method name="removeCacheDirective"
  441. abstract="false" native="false" synchronized="false"
  442. static="false" final="false" visibility="public"
  443. deprecated="not deprecated">
  444. <param name="id" type="long"/>
  445. <exception name="IOException" type="java.io.IOException"/>
  446. <doc>
  447. <![CDATA[Remove a CacheDirective.
  448. @param id identifier of the CacheDirectiveInfo to remove
  449. @throws IOException if the directive could not be removed]]>
  450. </doc>
  451. </method>
  452. <method name="listCacheDirectives" return="org.apache.hadoop.fs.RemoteIterator"
  453. abstract="false" native="false" synchronized="false"
  454. static="false" final="false" visibility="public"
  455. deprecated="not deprecated">
  456. <param name="filter" type="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo"/>
  457. <exception name="IOException" type="java.io.IOException"/>
  458. <doc>
  459. <![CDATA[List cache directives. Incrementally fetches results from the server.
  460. @param filter Filter parameters to use when listing the directives, null to
  461. list all directives visible to us.
  462. @return A RemoteIterator which returns CacheDirectiveInfo objects.]]>
  463. </doc>
  464. </method>
  465. <method name="addCachePool"
  466. abstract="false" native="false" synchronized="false"
  467. static="false" final="false" visibility="public"
  468. deprecated="not deprecated">
  469. <param name="info" type="org.apache.hadoop.hdfs.protocol.CachePoolInfo"/>
  470. <exception name="IOException" type="java.io.IOException"/>
  471. <doc>
  472. <![CDATA[Add a cache pool.
  473. @param info
  474. The request to add a cache pool.
  475. @throws IOException
  476. If the request could not be completed.]]>
  477. </doc>
  478. </method>
  479. <method name="modifyCachePool"
  480. abstract="false" native="false" synchronized="false"
  481. static="false" final="false" visibility="public"
  482. deprecated="not deprecated">
  483. <param name="info" type="org.apache.hadoop.hdfs.protocol.CachePoolInfo"/>
  484. <exception name="IOException" type="java.io.IOException"/>
  485. <doc>
  486. <![CDATA[Modify an existing cache pool.
  487. @param info
  488. The request to modify a cache pool.
  489. @throws IOException
  490. If the request could not be completed.]]>
  491. </doc>
  492. </method>
  493. <method name="removeCachePool"
  494. abstract="false" native="false" synchronized="false"
  495. static="false" final="false" visibility="public"
  496. deprecated="not deprecated">
  497. <param name="poolName" type="java.lang.String"/>
  498. <exception name="IOException" type="java.io.IOException"/>
  499. <doc>
  500. <![CDATA[Remove a cache pool.
  501. @param poolName
  502. Name of the cache pool to remove.
  503. @throws IOException
  504. if the cache pool did not exist, or could not be removed.]]>
  505. </doc>
  506. </method>
  507. <method name="listCachePools" return="org.apache.hadoop.fs.RemoteIterator"
  508. abstract="false" native="false" synchronized="false"
  509. static="false" final="false" visibility="public"
  510. deprecated="not deprecated">
  511. <exception name="IOException" type="java.io.IOException"/>
  512. <doc>
  513. <![CDATA[List all cache pools.
  514. @return A remote iterator from which you can get CachePoolEntry objects.
  515. Requests will be made as needed.
  516. @throws IOException
  517. If there was an error listing cache pools.]]>
  518. </doc>
  519. </method>
  520. <method name="createEncryptionZone"
  521. abstract="false" native="false" synchronized="false"
  522. static="false" final="false" visibility="public"
  523. deprecated="not deprecated">
  524. <param name="path" type="org.apache.hadoop.fs.Path"/>
  525. <param name="keyName" type="java.lang.String"/>
  526. <exception name="IOException" type="java.io.IOException"/>
  527. <exception name="AccessControlException" type="org.apache.hadoop.security.AccessControlException"/>
  528. <exception name="FileNotFoundException" type="java.io.FileNotFoundException"/>
  529. <doc>
  530. <![CDATA[Create an encryption zone rooted at an empty existing directory, using the
  531. specified encryption key. An encryption zone has an associated encryption
  532. key used when reading and writing files within the zone.
  533. @param path The path of the root of the encryption zone. Must refer to
  534. an empty, existing directory.
  535. @param keyName Name of key available at the KeyProvider.
  536. @throws IOException if there was a general IO exception
  537. @throws AccessControlException if the caller does not have access to path
  538. @throws FileNotFoundException if the path does not exist]]>
  539. </doc>
  540. </method>
  541. <method name="getEncryptionZoneForPath" return="org.apache.hadoop.hdfs.protocol.EncryptionZone"
  542. abstract="false" native="false" synchronized="false"
  543. static="false" final="false" visibility="public"
  544. deprecated="not deprecated">
  545. <param name="path" type="org.apache.hadoop.fs.Path"/>
  546. <exception name="IOException" type="java.io.IOException"/>
  547. <exception name="AccessControlException" type="org.apache.hadoop.security.AccessControlException"/>
  548. <exception name="FileNotFoundException" type="java.io.FileNotFoundException"/>
  549. <doc>
  550. <![CDATA[Get the path of the encryption zone for a given file or directory.
  551. @param path The path to get the ez for.
  552. @return The EncryptionZone of the ez, or null if path is not in an ez.
  553. @throws IOException if there was a general IO exception
  554. @throws AccessControlException if the caller does not have access to path
  555. @throws FileNotFoundException if the path does not exist]]>
  556. </doc>
  557. </method>
  558. <method name="listEncryptionZones" return="org.apache.hadoop.fs.RemoteIterator"
  559. abstract="false" native="false" synchronized="false"
  560. static="false" final="false" visibility="public"
  561. deprecated="not deprecated">
  562. <exception name="IOException" type="java.io.IOException"/>
  563. <doc>
  564. <![CDATA[Returns a RemoteIterator which can be used to list the encryption zones
  565. in HDFS. For large numbers of encryption zones, the iterator will fetch
  566. the list of zones in a number of small batches.
  567. <p/>
  568. Since the list is fetched in batches, it does not represent a
  569. consistent snapshot of the entire list of encryption zones.
  570. <p/>
  571. This method can only be called by HDFS superusers.]]>
  572. </doc>
  573. </method>
  574. <method name="getInotifyEventStream" return="org.apache.hadoop.hdfs.DFSInotifyEventInputStream"
  575. abstract="false" native="false" synchronized="false"
  576. static="false" final="false" visibility="public"
  577. deprecated="not deprecated">
  578. <exception name="IOException" type="java.io.IOException"/>
  579. <doc>
  580. <![CDATA[Exposes a stream of namesystem events. Only events occurring after the
  581. stream is created are available.
  582. See {@link org.apache.hadoop.hdfs.DFSInotifyEventInputStream}
  583. for information on stream usage.
  584. See {@link org.apache.hadoop.hdfs.inotify.Event}
  585. for information on the available events.
  586. <p/>
  587. Inotify users may want to tune the following HDFS parameters to
  588. ensure that enough extra HDFS edits are saved to support inotify clients
  589. that fall behind the current state of the namespace while reading events.
  590. The default parameter values should generally be reasonable. If edits are
  591. deleted before their corresponding events can be read, clients will see a
  592. {@link org.apache.hadoop.hdfs.inotify.MissingEventsException} on
  593. {@link org.apache.hadoop.hdfs.DFSInotifyEventInputStream} method calls.
  594. It should generally be sufficient to tune these parameters:
  595. dfs.namenode.num.extra.edits.retained
  596. dfs.namenode.max.extra.edits.segments.retained
  597. Parameters that affect the number of created segments and the number of
  598. edits that are considered necessary, i.e. do not count towards the
  599. dfs.namenode.num.extra.edits.retained quota):
  600. dfs.namenode.checkpoint.period
  601. dfs.namenode.checkpoint.txns
  602. dfs.namenode.num.checkpoints.retained
  603. dfs.ha.log-roll.period
  604. <p/>
  605. It is recommended that local journaling be configured
  606. (dfs.namenode.edits.dir) for inotify (in addition to a shared journal)
  607. so that edit transfers from the shared journal can be avoided.
  608. @throws IOException If there was an error obtaining the stream.]]>
  609. </doc>
  610. </method>
  611. <method name="getInotifyEventStream" return="org.apache.hadoop.hdfs.DFSInotifyEventInputStream"
  612. abstract="false" native="false" synchronized="false"
  613. static="false" final="false" visibility="public"
  614. deprecated="not deprecated">
  615. <param name="lastReadTxid" type="long"/>
  616. <exception name="IOException" type="java.io.IOException"/>
  617. <doc>
  618. <![CDATA[A version of {@link HdfsAdmin#getInotifyEventStream()} meant for advanced
  619. users who are aware of HDFS edits up to lastReadTxid (e.g. because they
  620. have access to an FSImage inclusive of lastReadTxid) and only want to read
  621. events after this point.]]>
  622. </doc>
  623. </method>
  624. <method name="setStoragePolicy"
  625. abstract="false" native="false" synchronized="false"
  626. static="false" final="false" visibility="public"
  627. deprecated="not deprecated">
  628. <param name="src" type="org.apache.hadoop.fs.Path"/>
  629. <param name="policyName" type="java.lang.String"/>
  630. <exception name="IOException" type="java.io.IOException"/>
  631. <doc>
  632. <![CDATA[Set the source path to the specified storage policy.
  633. @param src The source path referring to either a directory or a file.
  634. @param policyName The name of the storage policy.]]>
  635. </doc>
  636. </method>
  637. <doc>
  638. <![CDATA[The public API for performing administrative functions on HDFS. Those writing
  639. applications against HDFS should prefer this interface to directly accessing
  640. functionality in DistributedFileSystem or DFSClient.
  641. Note that this is distinct from the similarly-named {@link DFSAdmin}, which
  642. is a class that provides the functionality for the CLI `hdfs dfsadmin ...'
  643. commands.]]>
  644. </doc>
  645. </class>
  646. <!-- end class org.apache.hadoop.hdfs.client.HdfsAdmin -->
  647. <!-- start class org.apache.hadoop.hdfs.client.HdfsDataInputStream -->
  648. <class name="HdfsDataInputStream" extends="org.apache.hadoop.fs.FSDataInputStream"
  649. abstract="false"
  650. static="false" final="false" visibility="public"
  651. deprecated="not deprecated">
  652. <constructor name="HdfsDataInputStream" type="org.apache.hadoop.hdfs.DFSInputStream"
  653. static="false" final="false" visibility="public"
  654. deprecated="not deprecated">
  655. <exception name="IOException" type="java.io.IOException"/>
  656. </constructor>
  657. <constructor name="HdfsDataInputStream" type="org.apache.hadoop.crypto.CryptoInputStream"
  658. static="false" final="false" visibility="public"
  659. deprecated="not deprecated">
  660. <exception name="IOException" type="java.io.IOException"/>
  661. </constructor>
  662. <method name="getWrappedStream" return="java.io.InputStream"
  663. abstract="false" native="false" synchronized="false"
  664. static="false" final="false" visibility="public"
  665. deprecated="not deprecated">
  666. <doc>
  667. <![CDATA[Get a reference to the wrapped output stream. We always want to return the
  668. actual underlying InputStream, even when we're using a CryptoStream. e.g.
  669. in the delegated methods below.
  670. @return the underlying output stream]]>
  671. </doc>
  672. </method>
  673. <method name="getCurrentDatanode" return="org.apache.hadoop.hdfs.protocol.DatanodeInfo"
  674. abstract="false" native="false" synchronized="false"
  675. static="false" final="false" visibility="public"
  676. deprecated="not deprecated">
  677. <doc>
  678. <![CDATA[Get the datanode from which the stream is currently reading.]]>
  679. </doc>
  680. </method>
  681. <method name="getCurrentBlock" return="org.apache.hadoop.hdfs.protocol.ExtendedBlock"
  682. abstract="false" native="false" synchronized="false"
  683. static="false" final="false" visibility="public"
  684. deprecated="not deprecated">
  685. <doc>
  686. <![CDATA[Get the block containing the target position.]]>
  687. </doc>
  688. </method>
  689. <method name="getAllBlocks" return="java.util.List"
  690. abstract="false" native="false" synchronized="false"
  691. static="false" final="false" visibility="public"
  692. deprecated="not deprecated">
  693. <exception name="IOException" type="java.io.IOException"/>
  694. <doc>
  695. <![CDATA[Get the collection of blocks that has already been located.]]>
  696. </doc>
  697. </method>
  698. <method name="getVisibleLength" return="long"
  699. abstract="false" native="false" synchronized="false"
  700. static="false" final="false" visibility="public"
  701. deprecated="not deprecated">
  702. <exception name="IOException" type="java.io.IOException"/>
  703. <doc>
  704. <![CDATA[Get the visible length of the file. It will include the length of the last
  705. block even if that is in UnderConstruction state.
  706. @return The visible length of the file.]]>
  707. </doc>
  708. </method>
  709. <method name="getReadStatistics" return="org.apache.hadoop.hdfs.DFSInputStream.ReadStatistics"
  710. abstract="false" native="false" synchronized="false"
  711. static="false" final="false" visibility="public"
  712. deprecated="not deprecated">
  713. <doc>
  714. <![CDATA[Get statistics about the reads which this DFSInputStream has done.
  715. Note that because HdfsDataInputStream is buffered, these stats may
  716. be higher than you would expect just by adding up the number of
  717. bytes read through HdfsDataInputStream.]]>
  718. </doc>
  719. </method>
  720. <method name="clearReadStatistics"
  721. abstract="false" native="false" synchronized="false"
  722. static="false" final="false" visibility="public"
  723. deprecated="not deprecated">
  724. </method>
  725. <doc>
  726. <![CDATA[The Hdfs implementation of {@link FSDataInputStream}.]]>
  727. </doc>
  728. </class>
  729. <!-- end class org.apache.hadoop.hdfs.client.HdfsDataInputStream -->
  730. <!-- start class org.apache.hadoop.hdfs.client.HdfsDataOutputStream -->
  731. <class name="HdfsDataOutputStream" extends="org.apache.hadoop.fs.FSDataOutputStream"
  732. abstract="false"
  733. static="false" final="false" visibility="public"
  734. deprecated="not deprecated">
  735. <constructor name="HdfsDataOutputStream" type="org.apache.hadoop.hdfs.DFSOutputStream, org.apache.hadoop.fs.FileSystem.Statistics, long"
  736. static="false" final="false" visibility="public"
  737. deprecated="not deprecated">
  738. <exception name="IOException" type="java.io.IOException"/>
  739. </constructor>
  740. <constructor name="HdfsDataOutputStream" type="org.apache.hadoop.hdfs.DFSOutputStream, org.apache.hadoop.fs.FileSystem.Statistics"
  741. static="false" final="false" visibility="public"
  742. deprecated="not deprecated">
  743. <exception name="IOException" type="java.io.IOException"/>
  744. </constructor>
  745. <constructor name="HdfsDataOutputStream" type="org.apache.hadoop.crypto.CryptoOutputStream, org.apache.hadoop.fs.FileSystem.Statistics, long"
  746. static="false" final="false" visibility="public"
  747. deprecated="not deprecated">
  748. <exception name="IOException" type="java.io.IOException"/>
  749. </constructor>
  750. <constructor name="HdfsDataOutputStream" type="org.apache.hadoop.crypto.CryptoOutputStream, org.apache.hadoop.fs.FileSystem.Statistics"
  751. static="false" final="false" visibility="public"
  752. deprecated="not deprecated">
  753. <exception name="IOException" type="java.io.IOException"/>
  754. </constructor>
  755. <method name="getCurrentBlockReplication" return="int"
  756. abstract="false" native="false" synchronized="true"
  757. static="false" final="false" visibility="public"
  758. deprecated="not deprecated">
  759. <exception name="IOException" type="java.io.IOException"/>
  760. <doc>
  761. <![CDATA[Get the actual number of replicas of the current block.
  762. This can be different from the designated replication factor of the file
  763. because the namenode does not maintain replication for the blocks which are
  764. currently being written to. Depending on the configuration, the client may
  765. continue to write to a block even if a few datanodes in the write pipeline
  766. have failed, or the client may add a new datanodes once a datanode has
  767. failed.
  768. @return the number of valid replicas of the current block]]>
  769. </doc>
  770. </method>
  771. <method name="hsync"
  772. abstract="false" native="false" synchronized="false"
  773. static="false" final="false" visibility="public"
  774. deprecated="not deprecated">
  775. <param name="syncFlags" type="java.util.EnumSet"/>
  776. <exception name="IOException" type="java.io.IOException"/>
  777. <doc>
  778. <![CDATA[Sync buffered data to DataNodes (flush to disk devices).
  779. @param syncFlags
  780. Indicate the detailed semantic and actions of the hsync.
  781. @throws IOException
  782. @see FSDataOutputStream#hsync()]]>
  783. </doc>
  784. </method>
  785. <doc>
  786. <![CDATA[The Hdfs implementation of {@link FSDataOutputStream}.]]>
  787. </doc>
  788. </class>
  789. <!-- end class org.apache.hadoop.hdfs.client.HdfsDataOutputStream -->
  790. <!-- start class org.apache.hadoop.hdfs.client.HdfsUtils -->
  791. <class name="HdfsUtils" extends="java.lang.Object"
  792. abstract="false"
  793. static="false" final="false" visibility="public"
  794. deprecated="not deprecated">
  795. <constructor name="HdfsUtils"
  796. static="false" final="false" visibility="public"
  797. deprecated="not deprecated">
  798. </constructor>
  799. <method name="isHealthy" return="boolean"
  800. abstract="false" native="false" synchronized="false"
  801. static="true" final="false" visibility="public"
  802. deprecated="not deprecated">
  803. <param name="uri" type="java.net.URI"/>
  804. <doc>
  805. <![CDATA[Is the HDFS healthy?
  806. HDFS is considered as healthy if it is up and not in safemode.
  807. @param uri the HDFS URI. Note that the URI path is ignored.
  808. @return true if HDFS is healthy; false, otherwise.]]>
  809. </doc>
  810. </method>
  811. <doc>
  812. <![CDATA[The public utility API for HDFS.]]>
  813. </doc>
  814. </class>
  815. <!-- end class org.apache.hadoop.hdfs.client.HdfsUtils -->
  816. </package>
  817. <package name="org.apache.hadoop.hdfs.inotify">
  818. <!-- start class org.apache.hadoop.hdfs.inotify.Event -->
  819. <class name="Event" extends="java.lang.Object"
  820. abstract="true"
  821. static="false" final="false" visibility="public"
  822. deprecated="not deprecated">
  823. <constructor name="Event" type="org.apache.hadoop.hdfs.inotify.Event.EventType"
  824. static="false" final="false" visibility="public"
  825. deprecated="not deprecated">
  826. </constructor>
  827. <method name="getEventType" return="org.apache.hadoop.hdfs.inotify.Event.EventType"
  828. abstract="false" native="false" synchronized="false"
  829. static="false" final="false" visibility="public"
  830. deprecated="not deprecated">
  831. </method>
  832. <doc>
  833. <![CDATA[Events sent by the inotify system. Note that no events are necessarily sent
  834. when a file is opened for read (although a MetadataUpdateEvent will be sent
  835. if the atime is updated).]]>
  836. </doc>
  837. </class>
  838. <!-- end class org.apache.hadoop.hdfs.inotify.Event -->
  839. <!-- start class org.apache.hadoop.hdfs.inotify.EventBatch -->
  840. <class name="EventBatch" extends="java.lang.Object"
  841. abstract="false"
  842. static="false" final="false" visibility="public"
  843. deprecated="not deprecated">
  844. <constructor name="EventBatch" type="long, org.apache.hadoop.hdfs.inotify.Event[]"
  845. static="false" final="false" visibility="public"
  846. deprecated="not deprecated">
  847. </constructor>
  848. <method name="getTxid" return="long"
  849. abstract="false" native="false" synchronized="false"
  850. static="false" final="false" visibility="public"
  851. deprecated="not deprecated">
  852. </method>
  853. <method name="getEvents" return="org.apache.hadoop.hdfs.inotify.Event[]"
  854. abstract="false" native="false" synchronized="false"
  855. static="false" final="false" visibility="public"
  856. deprecated="not deprecated">
  857. </method>
  858. <doc>
  859. <![CDATA[A batch of events that all happened on the same transaction ID.]]>
  860. </doc>
  861. </class>
  862. <!-- end class org.apache.hadoop.hdfs.inotify.EventBatch -->
  863. <!-- start class org.apache.hadoop.hdfs.inotify.MissingEventsException -->
  864. <class name="MissingEventsException" extends="java.lang.Exception"
  865. abstract="false"
  866. static="false" final="false" visibility="public"
  867. deprecated="not deprecated">
  868. <constructor name="MissingEventsException"
  869. static="false" final="false" visibility="public"
  870. deprecated="not deprecated">
  871. </constructor>
  872. <constructor name="MissingEventsException" type="long, long"
  873. static="false" final="false" visibility="public"
  874. deprecated="not deprecated">
  875. </constructor>
  876. <method name="getExpectedTxid" return="long"
  877. abstract="false" native="false" synchronized="false"
  878. static="false" final="false" visibility="public"
  879. deprecated="not deprecated">
  880. </method>
  881. <method name="getActualTxid" return="long"
  882. abstract="false" native="false" synchronized="false"
  883. static="false" final="false" visibility="public"
  884. deprecated="not deprecated">
  885. </method>
  886. <method name="toString" return="java.lang.String"
  887. abstract="false" native="false" synchronized="false"
  888. static="false" final="false" visibility="public"
  889. deprecated="not deprecated">
  890. </method>
  891. </class>
  892. <!-- end class org.apache.hadoop.hdfs.inotify.MissingEventsException -->
  893. </package>
  894. <package name="org.apache.hadoop.hdfs.net">
  895. </package>
  896. <package name="org.apache.hadoop.hdfs.protocol">
  897. <!-- start class org.apache.hadoop.hdfs.protocol.CacheDirectiveEntry -->
  898. <class name="CacheDirectiveEntry" extends="java.lang.Object"
  899. abstract="false"
  900. static="false" final="false" visibility="public"
  901. deprecated="not deprecated">
  902. <constructor name="CacheDirectiveEntry" type="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo, org.apache.hadoop.hdfs.protocol.CacheDirectiveStats"
  903. static="false" final="false" visibility="public"
  904. deprecated="not deprecated">
  905. </constructor>
  906. <method name="getInfo" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo"
  907. abstract="false" native="false" synchronized="false"
  908. static="false" final="false" visibility="public"
  909. deprecated="not deprecated">
  910. </method>
  911. <method name="getStats" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveStats"
  912. abstract="false" native="false" synchronized="false"
  913. static="false" final="false" visibility="public"
  914. deprecated="not deprecated">
  915. </method>
  916. <doc>
  917. <![CDATA[Describes a path-based cache directive entry.]]>
  918. </doc>
  919. </class>
  920. <!-- end class org.apache.hadoop.hdfs.protocol.CacheDirectiveEntry -->
  921. <!-- start class org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo -->
  922. <class name="CacheDirectiveInfo" extends="java.lang.Object"
  923. abstract="false"
  924. static="false" final="false" visibility="public"
  925. deprecated="not deprecated">
  926. <method name="getId" return="java.lang.Long"
  927. abstract="false" native="false" synchronized="false"
  928. static="false" final="false" visibility="public"
  929. deprecated="not deprecated">
  930. <doc>
  931. <![CDATA[@return The ID of this directive.]]>
  932. </doc>
  933. </method>
  934. <method name="getPath" return="org.apache.hadoop.fs.Path"
  935. abstract="false" native="false" synchronized="false"
  936. static="false" final="false" visibility="public"
  937. deprecated="not deprecated">
  938. <doc>
  939. <![CDATA[@return The path used in this request.]]>
  940. </doc>
  941. </method>
  942. <method name="getReplication" return="java.lang.Short"
  943. abstract="false" native="false" synchronized="false"
  944. static="false" final="false" visibility="public"
  945. deprecated="not deprecated">
  946. <doc>
  947. <![CDATA[@return The number of times the block should be cached.]]>
  948. </doc>
  949. </method>
  950. <method name="getPool" return="java.lang.String"
  951. abstract="false" native="false" synchronized="false"
  952. static="false" final="false" visibility="public"
  953. deprecated="not deprecated">
  954. <doc>
  955. <![CDATA[@return The pool used in this request.]]>
  956. </doc>
  957. </method>
  958. <method name="getExpiration" return="org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Expiration"
  959. abstract="false" native="false" synchronized="false"
  960. static="false" final="false" visibility="public"
  961. deprecated="not deprecated">
  962. <doc>
  963. <![CDATA[@return When this directive expires.]]>
  964. </doc>
  965. </method>
  966. <method name="equals" return="boolean"
  967. abstract="false" native="false" synchronized="false"
  968. static="false" final="false" visibility="public"
  969. deprecated="not deprecated">
  970. <param name="o" type="java.lang.Object"/>
  971. </method>
  972. <method name="hashCode" return="int"
  973. abstract="false" native="false" synchronized="false"
  974. static="false" final="false" visibility="public"
  975. deprecated="not deprecated">
  976. </method>
  977. <method name="toString" return="java.lang.String"
  978. abstract="false" native="false" synchronized="false"
  979. static="false" final="false" visibility="public"
  980. deprecated="not deprecated">
  981. </method>
  982. <doc>
  983. <![CDATA[Describes a path-based cache directive.]]>
  984. </doc>
  985. </class>
  986. <!-- end class org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo -->
  987. <!-- start class org.apache.hadoop.hdfs.protocol.CacheDirectiveStats -->
  988. <class name="CacheDirectiveStats" extends="java.lang.Object"
  989. abstract="false"
  990. static="false" final="false" visibility="public"
  991. deprecated="not deprecated">
  992. <method name="getBytesNeeded" return="long"
  993. abstract="false" native="false" synchronized="false"
  994. static="false" final="false" visibility="public"
  995. deprecated="not deprecated">
  996. <doc>
  997. <![CDATA[@return The bytes needed.]]>
  998. </doc>
  999. </method>
  1000. <method name="getBytesCached" return="long"
  1001. abstract="false" native="false" synchronized="false"
  1002. static="false" final="false" visibility="public"
  1003. deprecated="not deprecated">
  1004. <doc>
  1005. <![CDATA[@return The bytes cached.]]>
  1006. </doc>
  1007. </method>
  1008. <method name="getFilesNeeded" return="long"
  1009. abstract="false" native="false" synchronized="false"
  1010. static="false" final="false" visibility="public"
  1011. deprecated="not deprecated">
  1012. <doc>
  1013. <![CDATA[@return The number of files needed.]]>
  1014. </doc>
  1015. </method>
  1016. <method name="getFilesCached" return="long"
  1017. abstract="false" native="false" synchronized="false"
  1018. static="false" final="false" visibility="public"
  1019. deprecated="not deprecated">
  1020. <doc>
  1021. <![CDATA[@return The number of files cached.]]>
  1022. </doc>
  1023. </method>
  1024. <method name="hasExpired" return="boolean"
  1025. abstract="false" native="false" synchronized="false"
  1026. static="false" final="false" visibility="public"
  1027. deprecated="not deprecated">
  1028. <doc>
  1029. <![CDATA[@return Whether this directive has expired.]]>
  1030. </doc>
  1031. </method>
  1032. <method name="toString" return="java.lang.String"
  1033. abstract="false" native="false" synchronized="false"
  1034. static="false" final="false" visibility="public"
  1035. deprecated="not deprecated">
  1036. </method>
  1037. <doc>
  1038. <![CDATA[Describes a path-based cache directive.]]>
  1039. </doc>
  1040. </class>
  1041. <!-- end class org.apache.hadoop.hdfs.protocol.CacheDirectiveStats -->
  1042. <!-- start class org.apache.hadoop.hdfs.protocol.CachePoolEntry -->
  1043. <class name="CachePoolEntry" extends="java.lang.Object"
  1044. abstract="false"
  1045. static="false" final="false" visibility="public"
  1046. deprecated="not deprecated">
  1047. <constructor name="CachePoolEntry" type="org.apache.hadoop.hdfs.protocol.CachePoolInfo, org.apache.hadoop.hdfs.protocol.CachePoolStats"
  1048. static="false" final="false" visibility="public"
  1049. deprecated="not deprecated">
  1050. </constructor>
  1051. <method name="getInfo" return="org.apache.hadoop.hdfs.protocol.CachePoolInfo"
  1052. abstract="false" native="false" synchronized="false"
  1053. static="false" final="false" visibility="public"
  1054. deprecated="not deprecated">
  1055. </method>
  1056. <method name="getStats" return="org.apache.hadoop.hdfs.protocol.CachePoolStats"
  1057. abstract="false" native="false" synchronized="false"
  1058. static="false" final="false" visibility="public"
  1059. deprecated="not deprecated">
  1060. </method>
  1061. <doc>
  1062. <![CDATA[Describes a Cache Pool entry.]]>
  1063. </doc>
  1064. </class>
  1065. <!-- end class org.apache.hadoop.hdfs.protocol.CachePoolEntry -->
  1066. <!-- start class org.apache.hadoop.hdfs.protocol.CachePoolInfo -->
  1067. <class name="CachePoolInfo" extends="java.lang.Object"
  1068. abstract="false"
  1069. static="false" final="false" visibility="public"
  1070. deprecated="not deprecated">
  1071. <constructor name="CachePoolInfo" type="java.lang.String"
  1072. static="false" final="false" visibility="public"
  1073. deprecated="not deprecated">
  1074. </constructor>
  1075. <method name="getPoolName" return="java.lang.String"
  1076. abstract="false" native="false" synchronized="false"
  1077. static="false" final="false" visibility="public"
  1078. deprecated="not deprecated">
  1079. <doc>
  1080. <![CDATA[@return Name of the pool.]]>
  1081. </doc>
  1082. </method>
  1083. <method name="getOwnerName" return="java.lang.String"
  1084. abstract="false" native="false" synchronized="false"
  1085. static="false" final="false" visibility="public"
  1086. deprecated="not deprecated">
  1087. <doc>
  1088. <![CDATA[@return The owner of the pool. Along with the group and mode, determines
  1089. who has access to view and modify the pool.]]>
  1090. </doc>
  1091. </method>
  1092. <method name="setOwnerName" return="org.apache.hadoop.hdfs.protocol.CachePoolInfo"
  1093. abstract="false" native="false" synchronized="false"
  1094. static="false" final="false" visibility="public"
  1095. deprecated="not deprecated">
  1096. <param name="ownerName" type="java.lang.String"/>
  1097. </method>
  1098. <method name="getGroupName" return="java.lang.String"
  1099. abstract="false" native="false" synchronized="false"
  1100. static="false" final="false" visibility="public"
  1101. deprecated="not deprecated">
  1102. <doc>
  1103. <![CDATA[@return The group of the pool. Along with the owner and mode, determines
  1104. who has access to view and modify the pool.]]>
  1105. </doc>
  1106. </method>
  1107. <method name="setGroupName" return="org.apache.hadoop.hdfs.protocol.CachePoolInfo"
  1108. abstract="false" native="false" synchronized="false"
  1109. static="false" final="false" visibility="public"
  1110. deprecated="not deprecated">
  1111. <param name="groupName" type="java.lang.String"/>
  1112. </method>
  1113. <method name="getMode" return="org.apache.hadoop.fs.permission.FsPermission"
  1114. abstract="false" native="false" synchronized="false"
  1115. static="false" final="false" visibility="public"
  1116. deprecated="not deprecated">
  1117. <doc>
  1118. <![CDATA[@return Unix-style permissions of the pool. Along with the owner and group,
  1119. determines who has access to view and modify the pool.]]>
  1120. </doc>
  1121. </method>
  1122. <method name="setMode" return="org.apache.hadoop.hdfs.protocol.CachePoolInfo"
  1123. abstract="false" native="false" synchronized="false"
  1124. static="false" final="false" visibility="public"
  1125. deprecated="not deprecated">
  1126. <param name="mode" type="org.apache.hadoop.fs.permission.FsPermission"/>
  1127. </method>
  1128. <method name="getLimit" return="java.lang.Long"
  1129. abstract="false" native="false" synchronized="false"
  1130. static="false" final="false" visibility="public"
  1131. deprecated="not deprecated">
  1132. <doc>
  1133. <![CDATA[@return The maximum aggregate number of bytes that can be cached by
  1134. directives in this pool.]]>
  1135. </doc>
  1136. </method>
  1137. <method name="setLimit" return="org.apache.hadoop.hdfs.protocol.CachePoolInfo"
  1138. abstract="false" native="false" synchronized="false"
  1139. static="false" final="false" visibility="public"
  1140. deprecated="not deprecated">
  1141. <param name="bytes" type="java.lang.Long"/>
  1142. </method>
  1143. <method name="getMaxRelativeExpiryMs" return="java.lang.Long"
  1144. abstract="false" native="false" synchronized="false"
  1145. static="false" final="false" visibility="public"
  1146. deprecated="not deprecated">
  1147. <doc>
  1148. <![CDATA[@return The maximum relative expiration of directives of this pool in
  1149. milliseconds]]>
  1150. </doc>
  1151. </method>
  1152. <method name="setMaxRelativeExpiryMs" return="org.apache.hadoop.hdfs.protocol.CachePoolInfo"
  1153. abstract="false" native="false" synchronized="false"
  1154. static="false" final="false" visibility="public"
  1155. deprecated="not deprecated">
  1156. <param name="ms" type="java.lang.Long"/>
  1157. <doc>
  1158. <![CDATA[Set the maximum relative expiration of directives of this pool in
  1159. milliseconds.
  1160. @param ms in milliseconds
  1161. @return This builder, for call chaining.]]>
  1162. </doc>
  1163. </method>
  1164. <method name="toString" return="java.lang.String"
  1165. abstract="false" native="false" synchronized="false"
  1166. static="false" final="false" visibility="public"
  1167. deprecated="not deprecated">
  1168. </method>
  1169. <method name="equals" return="boolean"
  1170. abstract="false" native="false" synchronized="false"
  1171. static="false" final="false" visibility="public"
  1172. deprecated="not deprecated">
  1173. <param name="o" type="java.lang.Object"/>
  1174. </method>
  1175. <method name="hashCode" return="int"
  1176. abstract="false" native="false" synchronized="false"
  1177. static="false" final="false" visibility="public"
  1178. deprecated="not deprecated">
  1179. </method>
  1180. <method name="validate"
  1181. abstract="false" native="false" synchronized="false"
  1182. static="true" final="false" visibility="public"
  1183. deprecated="not deprecated">
  1184. <param name="info" type="org.apache.hadoop.hdfs.protocol.CachePoolInfo"/>
  1185. <exception name="IOException" type="java.io.IOException"/>
  1186. </method>
  1187. <method name="validateName"
  1188. abstract="false" native="false" synchronized="false"
  1189. static="true" final="false" visibility="public"
  1190. deprecated="not deprecated">
  1191. <param name="poolName" type="java.lang.String"/>
  1192. <exception name="IOException" type="java.io.IOException"/>
  1193. </method>
  1194. <field name="LOG" type="org.apache.commons.logging.Log"
  1195. transient="false" volatile="false"
  1196. static="true" final="true" visibility="public"
  1197. deprecated="not deprecated">
  1198. </field>
  1199. <field name="RELATIVE_EXPIRY_NEVER" type="long"
  1200. transient="false" volatile="false"
  1201. static="true" final="true" visibility="public"
  1202. deprecated="not deprecated">
  1203. <doc>
  1204. <![CDATA[Indicates that the pool does not have a maximum relative expiry.]]>
  1205. </doc>
  1206. </field>
  1207. <field name="DEFAULT_MAX_RELATIVE_EXPIRY" type="long"
  1208. transient="false" volatile="false"
  1209. static="true" final="true" visibility="public"
  1210. deprecated="not deprecated">
  1211. <doc>
  1212. <![CDATA[Default max relative expiry for cache pools.]]>
  1213. </doc>
  1214. </field>
  1215. <field name="LIMIT_UNLIMITED" type="long"
  1216. transient="false" volatile="false"
  1217. static="true" final="true" visibility="public"
  1218. deprecated="not deprecated">
  1219. </field>
  1220. <field name="DEFAULT_LIMIT" type="long"
  1221. transient="false" volatile="false"
  1222. static="true" final="true" visibility="public"
  1223. deprecated="not deprecated">
  1224. </field>
  1225. <doc>
  1226. <![CDATA[CachePoolInfo describes a cache pool.
  1227. This class is used in RPCs to create and modify cache pools.
  1228. It is serializable and can be stored in the edit log.]]>
  1229. </doc>
  1230. </class>
  1231. <!-- end class org.apache.hadoop.hdfs.protocol.CachePoolInfo -->
  1232. <!-- start class org.apache.hadoop.hdfs.protocol.CachePoolStats -->
  1233. <class name="CachePoolStats" extends="java.lang.Object"
  1234. abstract="false"
  1235. static="false" final="false" visibility="public"
  1236. deprecated="not deprecated">
  1237. <method name="getBytesNeeded" return="long"
  1238. abstract="false" native="false" synchronized="false"
  1239. static="false" final="false" visibility="public"
  1240. deprecated="not deprecated">
  1241. </method>
  1242. <method name="getBytesCached" return="long"
  1243. abstract="false" native="false" synchronized="false"
  1244. static="false" final="false" visibility="public"
  1245. deprecated="not deprecated">
  1246. </method>
  1247. <method name="getBytesOverlimit" return="long"
  1248. abstract="false" native="false" synchronized="false"
  1249. static="false" final="false" visibility="public"
  1250. deprecated="not deprecated">
  1251. </method>
  1252. <method name="getFilesNeeded" return="long"
  1253. abstract="false" native="false" synchronized="false"
  1254. static="false" final="false" visibility="public"
  1255. deprecated="not deprecated">
  1256. </method>
  1257. <method name="getFilesCached" return="long"
  1258. abstract="false" native="false" synchronized="false"
  1259. static="false" final="false" visibility="public"
  1260. deprecated="not deprecated">
  1261. </method>
  1262. <method name="toString" return="java.lang.String"
  1263. abstract="false" native="false" synchronized="false"
  1264. static="false" final="false" visibility="public"
  1265. deprecated="not deprecated">
  1266. </method>
  1267. <doc>
  1268. <![CDATA[CachePoolStats describes cache pool statistics.]]>
  1269. </doc>
  1270. </class>
  1271. <!-- end class org.apache.hadoop.hdfs.protocol.CachePoolStats -->
  1272. <!-- start class org.apache.hadoop.hdfs.protocol.EncryptionZone -->
  1273. <class name="EncryptionZone" extends="java.lang.Object"
  1274. abstract="false"
  1275. static="false" final="false" visibility="public"
  1276. deprecated="not deprecated">
  1277. <constructor name="EncryptionZone" type="long, java.lang.String, org.apache.hadoop.crypto.CipherSuite, org.apache.hadoop.crypto.CryptoProtocolVersion, java.lang.String"
  1278. static="false" final="false" visibility="public"
  1279. deprecated="not deprecated">
  1280. </constructor>
  1281. <method name="getId" return="long"
  1282. abstract="false" native="false" synchronized="false"
  1283. static="false" final="false" visibility="public"
  1284. deprecated="not deprecated">
  1285. </method>
  1286. <method name="getPath" return="java.lang.String"
  1287. abstract="false" native="false" synchronized="false"
  1288. static="false" final="false" visibility="public"
  1289. deprecated="not deprecated">
  1290. </method>
  1291. <method name="getSuite" return="org.apache.hadoop.crypto.CipherSuite"
  1292. abstract="false" native="false" synchronized="false"
  1293. static="false" final="false" visibility="public"
  1294. deprecated="not deprecated">
  1295. </method>
  1296. <method name="getVersion" return="org.apache.hadoop.crypto.CryptoProtocolVersion"
  1297. abstract="false" native="false" synchronized="false"
  1298. static="false" final="false" visibility="public"
  1299. deprecated="not deprecated">
  1300. </method>
  1301. <method name="getKeyName" return="java.lang.String"
  1302. abstract="false" native="false" synchronized="false"
  1303. static="false" final="false" visibility="public"
  1304. deprecated="not deprecated">
  1305. </method>
  1306. <method name="hashCode" return="int"
  1307. abstract="false" native="false" synchronized="false"
  1308. static="false" final="false" visibility="public"
  1309. deprecated="not deprecated">
  1310. </method>
  1311. <method name="equals" return="boolean"
  1312. abstract="false" native="false" synchronized="false"
  1313. static="false" final="false" visibility="public"
  1314. deprecated="not deprecated">
  1315. <param name="obj" type="java.lang.Object"/>
  1316. </method>
  1317. <method name="toString" return="java.lang.String"
  1318. abstract="false" native="false" synchronized="false"
  1319. static="false" final="false" visibility="public"
  1320. deprecated="not deprecated">
  1321. </method>
  1322. <doc>
  1323. <![CDATA[A simple class for representing an encryption zone. Presently an encryption
  1324. zone only has a path (the root of the encryption zone), a key name, and a
  1325. unique id. The id is used to implement batched listing of encryption zones.]]>
  1326. </doc>
  1327. </class>
  1328. <!-- end class org.apache.hadoop.hdfs.protocol.EncryptionZone -->
  1329. </package>
  1330. <package name="org.apache.hadoop.hdfs.protocol.datatransfer">
  1331. </package>
  1332. <package name="org.apache.hadoop.hdfs.protocol.datatransfer.sasl">
  1333. </package>
  1334. <package name="org.apache.hadoop.hdfs.protocolPB">
  1335. </package>
  1336. <package name="org.apache.hadoop.hdfs.qjournal.client">
  1337. </package>
  1338. <package name="org.apache.hadoop.hdfs.qjournal.protocol">
  1339. </package>
  1340. <package name="org.apache.hadoop.hdfs.qjournal.protocolPB">
  1341. </package>
  1342. <package name="org.apache.hadoop.hdfs.qjournal.server">
  1343. <!-- start interface org.apache.hadoop.hdfs.qjournal.server.JournalNodeMXBean -->
  1344. <interface name="JournalNodeMXBean" abstract="true"
  1345. static="false" final="false" visibility="public"
  1346. deprecated="not deprecated">
  1347. <method name="getJournalsStatus" return="java.lang.String"
  1348. abstract="true" native="false" synchronized="false"
  1349. static="false" final="false" visibility="public"
  1350. deprecated="not deprecated">
  1351. <doc>
  1352. <![CDATA[Get status information (e.g., whether formatted) of JournalNode's journals.
  1353. @return A string presenting status for each journal]]>
  1354. </doc>
  1355. </method>
  1356. <doc>
  1357. <![CDATA[This is the JMX management interface for JournalNode information]]>
  1358. </doc>
  1359. </interface>
  1360. <!-- end interface org.apache.hadoop.hdfs.qjournal.server.JournalNodeMXBean -->
  1361. </package>
  1362. <package name="org.apache.hadoop.hdfs.security.token.block">
  1363. </package>
  1364. <package name="org.apache.hadoop.hdfs.security.token.delegation">
  1365. </package>
  1366. <package name="org.apache.hadoop.hdfs.server.balancer">
  1367. </package>
  1368. <package name="org.apache.hadoop.hdfs.server.blockmanagement">
  1369. </package>
  1370. <package name="org.apache.hadoop.hdfs.server.common">
  1371. </package>
  1372. <package name="org.apache.hadoop.hdfs.server.datanode">
  1373. <!-- start interface org.apache.hadoop.hdfs.server.datanode.DataNodeMXBean -->
  1374. <interface name="DataNodeMXBean" abstract="true"
  1375. static="false" final="false" visibility="public"
  1376. deprecated="not deprecated">
  1377. <method name="getVersion" return="java.lang.String"
  1378. abstract="true" native="false" synchronized="false"
  1379. static="false" final="false" visibility="public"
  1380. deprecated="not deprecated">
  1381. <doc>
  1382. <![CDATA[Gets the version of Hadoop.
  1383. @return the version of Hadoop]]>
  1384. </doc>
  1385. </method>
  1386. <method name="getRpcPort" return="java.lang.String"
  1387. abstract="true" native="false" synchronized="false"
  1388. static="false" final="false" visibility="public"
  1389. deprecated="not deprecated">
  1390. <doc>
  1391. <![CDATA[Gets the rpc port.
  1392. @return the rpc port]]>
  1393. </doc>
  1394. </method>
  1395. <method name="getHttpPort" return="java.lang.String"
  1396. abstract="true" native="false" synchronized="false"
  1397. static="false" final="false" visibility="public"
  1398. deprecated="not deprecated">
  1399. <doc>
  1400. <![CDATA[Gets the http port.
  1401. @return the http port]]>
  1402. </doc>
  1403. </method>
  1404. <method name="getNamenodeAddresses" return="java.lang.String"
  1405. abstract="true" native="false" synchronized="false"
  1406. static="false" final="false" visibility="public"
  1407. deprecated="not deprecated">
  1408. <doc>
  1409. <![CDATA[Gets the namenode IP addresses
  1410. @return the namenode IP addresses that the datanode is talking to]]>
  1411. </doc>
  1412. </method>
  1413. <method name="getVolumeInfo" return="java.lang.String"
  1414. abstract="true" native="false" synchronized="false"
  1415. static="false" final="false" visibility="public"
  1416. deprecated="not deprecated">
  1417. <doc>
  1418. <![CDATA[Gets the information of each volume on the Datanode. Please
  1419. see the implementation for the format of returned information.
  1420. @return the volume info]]>
  1421. </doc>
  1422. </method>
  1423. <method name="getClusterId" return="java.lang.String"
  1424. abstract="true" native="false" synchronized="false"
  1425. static="false" final="false" visibility="public"
  1426. deprecated="not deprecated">
  1427. <doc>
  1428. <![CDATA[Gets the cluster id.
  1429. @return the cluster id]]>
  1430. </doc>
  1431. </method>
  1432. <method name="getXceiverCount" return="int"
  1433. abstract="true" native="false" synchronized="false"
  1434. static="false" final="false" visibility="public"
  1435. deprecated="not deprecated">
  1436. <doc>
  1437. <![CDATA[Returns an estimate of the number of Datanode threads
  1438. actively transferring blocks.]]>
  1439. </doc>
  1440. </method>
  1441. <method name="getDatanodeNetworkCounts" return="java.util.Map"
  1442. abstract="true" native="false" synchronized="false"
  1443. static="false" final="false" visibility="public"
  1444. deprecated="not deprecated">
  1445. <doc>
  1446. <![CDATA[Gets the network error counts on a per-Datanode basis.]]>
  1447. </doc>
  1448. </method>
  1449. <doc>
  1450. <![CDATA[This is the JMX management interface for data node information]]>
  1451. </doc>
  1452. </interface>
  1453. <!-- end interface org.apache.hadoop.hdfs.server.datanode.DataNodeMXBean -->
  1454. </package>
  1455. <package name="org.apache.hadoop.hdfs.server.datanode.fsdataset">
  1456. </package>
  1457. <package name="org.apache.hadoop.hdfs.server.datanode.fsdataset.impl">
  1458. </package>
  1459. <package name="org.apache.hadoop.hdfs.server.datanode.metrics">
  1460. </package>
  1461. <package name="org.apache.hadoop.hdfs.server.datanode.web">
  1462. </package>
  1463. <package name="org.apache.hadoop.hdfs.server.datanode.web.webhdfs">
  1464. </package>
  1465. <package name="org.apache.hadoop.hdfs.server.mover">
  1466. </package>
  1467. <package name="org.apache.hadoop.hdfs.server.namenode">
  1468. <!-- start interface org.apache.hadoop.hdfs.server.namenode.AuditLogger -->
  1469. <interface name="AuditLogger" abstract="true"
  1470. static="false" final="false" visibility="public"
  1471. deprecated="not deprecated">
  1472. <method name="initialize"
  1473. abstract="true" native="false" synchronized="false"
  1474. static="false" final="false" visibility="public"
  1475. deprecated="not deprecated">
  1476. <param name="conf" type="org.apache.hadoop.conf.Configuration"/>
  1477. <doc>
  1478. <![CDATA[Called during initialization of the logger.
  1479. @param conf The configuration object.]]>
  1480. </doc>
  1481. </method>
  1482. <method name="logAuditEvent"
  1483. abstract="true" native="false" synchronized="false"
  1484. static="false" final="false" visibility="public"
  1485. deprecated="not deprecated">
  1486. <param name="succeeded" type="boolean"/>
  1487. <param name="userName" type="java.lang.String"/>
  1488. <param name="addr" type="java.net.InetAddress"/>
  1489. <param name="cmd" type="java.lang.String"/>
  1490. <param name="src" type="java.lang.String"/>
  1491. <param name="dst" type="java.lang.String"/>
  1492. <param name="stat" type="org.apache.hadoop.fs.FileStatus"/>
  1493. <doc>
  1494. <![CDATA[Called to log an audit event.
  1495. <p>
  1496. This method must return as quickly as possible, since it's called
  1497. in a critical section of the NameNode's operation.
  1498. @param succeeded Whether authorization succeeded.
  1499. @param userName Name of the user executing the request.
  1500. @param addr Remote address of the request.
  1501. @param cmd The requested command.
  1502. @param src Path of affected source file.
  1503. @param dst Path of affected destination file (if any).
  1504. @param stat File information for operations that change the file's
  1505. metadata (permissions, owner, times, etc).]]>
  1506. </doc>
  1507. </method>
  1508. <doc>
  1509. <![CDATA[Interface defining an audit logger.]]>
  1510. </doc>
  1511. </interface>
  1512. <!-- end interface org.apache.hadoop.hdfs.server.namenode.AuditLogger -->
  1513. <!-- start class org.apache.hadoop.hdfs.server.namenode.HdfsAuditLogger -->
  1514. <class name="HdfsAuditLogger" extends="java.lang.Object"
  1515. abstract="true"
  1516. static="false" final="false" visibility="public"
  1517. deprecated="not deprecated">
  1518. <implements name="org.apache.hadoop.hdfs.server.namenode.AuditLogger"/>
  1519. <constructor name="HdfsAuditLogger"
  1520. static="false" final="false" visibility="public"
  1521. deprecated="not deprecated">
  1522. </constructor>
  1523. <method name="logAuditEvent"
  1524. abstract="false" native="false" synchronized="false"
  1525. static="false" final="false" visibility="public"
  1526. deprecated="not deprecated">
  1527. <param name="succeeded" type="boolean"/>
  1528. <param name="userName" type="java.lang.String"/>
  1529. <param name="addr" type="java.net.InetAddress"/>
  1530. <param name="cmd" type="java.lang.String"/>
  1531. <param name="src" type="java.lang.String"/>
  1532. <param name="dst" type="java.lang.String"/>
  1533. <param name="status" type="org.apache.hadoop.fs.FileStatus"/>
  1534. </method>
  1535. <method name="logAuditEvent"
  1536. abstract="true" native="false" synchronized="false"
  1537. static="false" final="false" visibility="public"
  1538. deprecated="not deprecated">
  1539. <param name="succeeded" type="boolean"/>
  1540. <param name="userName" type="java.lang.String"/>
  1541. <param name="addr" type="java.net.InetAddress"/>
  1542. <param name="cmd" type="java.lang.String"/>
  1543. <param name="src" type="java.lang.String"/>
  1544. <param name="dst" type="java.lang.String"/>
  1545. <param name="stat" type="org.apache.hadoop.fs.FileStatus"/>
  1546. <param name="ugi" type="org.apache.hadoop.security.UserGroupInformation"/>
  1547. <param name="dtSecretManager" type="org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager"/>
  1548. <doc>
  1549. <![CDATA[Same as
  1550. {@link #logAuditEvent(boolean, String, InetAddress, String, String, String, FileStatus)}
  1551. with additional parameters related to logging delegation token tracking
  1552. IDs.
  1553. @param succeeded Whether authorization succeeded.
  1554. @param userName Name of the user executing the request.
  1555. @param addr Remote address of the request.
  1556. @param cmd The requested command.
  1557. @param src Path of affected source file.
  1558. @param dst Path of affected destination file (if any).
  1559. @param stat File information for operations that change the file's metadata
  1560. (permissions, owner, times, etc).
  1561. @param ugi UserGroupInformation of the current user, or null if not logging
  1562. token tracking information
  1563. @param dtSecretManager The token secret manager, or null if not logging
  1564. token tracking information]]>
  1565. </doc>
  1566. </method>
  1567. <doc>
  1568. <![CDATA[Extension of {@link AuditLogger}.]]>
  1569. </doc>
  1570. </class>
  1571. <!-- end class org.apache.hadoop.hdfs.server.namenode.HdfsAuditLogger -->
  1572. <!-- start class org.apache.hadoop.hdfs.server.namenode.INodeAttributeProvider -->
  1573. <class name="INodeAttributeProvider" extends="java.lang.Object"
  1574. abstract="true"
  1575. static="false" final="false" visibility="public"
  1576. deprecated="not deprecated">
  1577. <constructor name="INodeAttributeProvider"
  1578. static="false" final="false" visibility="public"
  1579. deprecated="not deprecated">
  1580. </constructor>
  1581. <method name="start"
  1582. abstract="true" native="false" synchronized="false"
  1583. static="false" final="false" visibility="public"
  1584. deprecated="not deprecated">
  1585. <doc>
  1586. <![CDATA[Initialize the provider. This method is called at NameNode startup
  1587. time.]]>
  1588. </doc>
  1589. </method>
  1590. <method name="stop"
  1591. abstract="true" native="false" synchronized="false"
  1592. static="false" final="false" visibility="public"
  1593. deprecated="not deprecated">
  1594. <doc>
  1595. <![CDATA[Shutdown the provider. This method is called at NameNode shutdown time.]]>
  1596. </doc>
  1597. </method>
  1598. <method name="getAttributes" return="org.apache.hadoop.hdfs.server.namenode.INodeAttributes"
  1599. abstract="false" native="false" synchronized="false"
  1600. static="false" final="false" visibility="public"
  1601. deprecated="not deprecated">
  1602. <param name="fullPath" type="java.lang.String"/>
  1603. <param name="inode" type="org.apache.hadoop.hdfs.server.namenode.INodeAttributes"/>
  1604. </method>
  1605. <method name="getAttributes" return="org.apache.hadoop.hdfs.server.namenode.INodeAttributes"
  1606. abstract="true" native="false" synchronized="false"
  1607. static="false" final="false" visibility="public"
  1608. deprecated="not deprecated">
  1609. <param name="pathElements" type="java.lang.String[]"/>
  1610. <param name="inode" type="org.apache.hadoop.hdfs.server.namenode.INodeAttributes"/>
  1611. </method>
  1612. <method name="getExternalAccessControlEnforcer" return="org.apache.hadoop.hdfs.server.namenode.INodeAttributeProvider.AccessControlEnforcer"
  1613. abstract="false" native="false" synchronized="false"
  1614. static="false" final="false" visibility="public"
  1615. deprecated="not deprecated">
  1616. <param name="defaultEnforcer" type="org.apache.hadoop.hdfs.server.namenode.INodeAttributeProvider.AccessControlEnforcer"/>
  1617. <doc>
  1618. <![CDATA[Can be over-ridden by implementations to provide a custom Access Control
  1619. Enforcer that can provide an alternate implementation of the
  1620. default permission checking logic.
  1621. @param defaultEnforcer The Default AccessControlEnforcer
  1622. @return The AccessControlEnforcer to use]]>
  1623. </doc>
  1624. </method>
  1625. </class>
  1626. <!-- end class org.apache.hadoop.hdfs.server.namenode.INodeAttributeProvider -->
  1627. <!-- start interface org.apache.hadoop.hdfs.server.namenode.NameNodeMXBean -->
  1628. <interface name="NameNodeMXBean" abstract="true"
  1629. static="false" final="false" visibility="public"
  1630. deprecated="not deprecated">
  1631. <method name="getVersion" return="java.lang.String"
  1632. abstract="true" native="false" synchronized="false"
  1633. static="false" final="false" visibility="public"
  1634. deprecated="not deprecated">
  1635. <doc>
  1636. <![CDATA[Gets the version of Hadoop.
  1637. @return the version]]>
  1638. </doc>
  1639. </method>
  1640. <method name="getSoftwareVersion" return="java.lang.String"
  1641. abstract="true" native="false" synchronized="false"
  1642. static="false" final="false" visibility="public"
  1643. deprecated="not deprecated">
  1644. <doc>
  1645. <![CDATA[Get the version of software running on the Namenode
  1646. @return a string representing the version]]>
  1647. </doc>
  1648. </method>
  1649. <method name="getUsed" return="long"
  1650. abstract="true" native="false" synchronized="false"
  1651. static="false" final="false" visibility="public"
  1652. deprecated="not deprecated">
  1653. <doc>
  1654. <![CDATA[Gets the used space by data nodes.
  1655. @return the used space by data nodes]]>
  1656. </doc>
  1657. </method>
  1658. <method name="getFree" return="long"
  1659. abstract="true" native="false" synchronized="false"
  1660. static="false" final="false" visibility="public"
  1661. deprecated="not deprecated">
  1662. <doc>
  1663. <![CDATA[Gets total non-used raw bytes.
  1664. @return total non-used raw bytes]]>
  1665. </doc>
  1666. </method>
  1667. <method name="getTotal" return="long"
  1668. abstract="true" native="false" synchronized="false"
  1669. static="false" final="false" visibility="public"
  1670. deprecated="not deprecated">
  1671. <doc>
  1672. <![CDATA[Gets total raw bytes including non-dfs used space.
  1673. @return the total raw bytes including non-dfs used space]]>
  1674. </doc>
  1675. </method>
  1676. <method name="getSafemode" return="java.lang.String"
  1677. abstract="true" native="false" synchronized="false"
  1678. static="false" final="false" visibility="public"
  1679. deprecated="not deprecated">
  1680. <doc>
  1681. <![CDATA[Gets the safemode status
  1682. @return the safemode status]]>
  1683. </doc>
  1684. </method>
  1685. <method name="isUpgradeFinalized" return="boolean"
  1686. abstract="true" native="false" synchronized="false"
  1687. static="false" final="false" visibility="public"
  1688. deprecated="not deprecated">
  1689. <doc>
  1690. <![CDATA[Checks if upgrade is finalized.
  1691. @return true, if upgrade is finalized]]>
  1692. </doc>
  1693. </method>
  1694. <method name="getRollingUpgradeStatus" return="org.apache.hadoop.hdfs.protocol.RollingUpgradeInfo.Bean"
  1695. abstract="true" native="false" synchronized="false"
  1696. static="false" final="false" visibility="public"
  1697. deprecated="not deprecated">
  1698. <doc>
  1699. <![CDATA[Gets the RollingUpgrade information.
  1700. @return Rolling upgrade information if an upgrade is in progress. Else
  1701. (e.g. if there is no upgrade or the upgrade is finalized), returns null.]]>
  1702. </doc>
  1703. </method>
  1704. <method name="getNonDfsUsedSpace" return="long"
  1705. abstract="true" native="false" synchronized="false"
  1706. static="false" final="false" visibility="public"
  1707. deprecated="not deprecated">
  1708. <doc>
  1709. <![CDATA[Gets total used space by data nodes for non DFS purposes such as storing
  1710. temporary files on the local file system
  1711. @return the non dfs space of the cluster]]>
  1712. </doc>
  1713. </method>
  1714. <method name="getPercentUsed" return="float"
  1715. abstract="true" native="false" synchronized="false"
  1716. static="false" final="false" visibility="public"
  1717. deprecated="not deprecated">
  1718. <doc>
  1719. <![CDATA[Gets the total used space by data nodes as percentage of total capacity
  1720. @return the percentage of used space on the cluster.]]>
  1721. </doc>
  1722. </method>
  1723. <method name="getPercentRemaining" return="float"
  1724. abstract="true" native="false" synchronized="false"
  1725. static="false" final="false" visibility="public"
  1726. deprecated="not deprecated">
  1727. <doc>
  1728. <![CDATA[Gets the total remaining space by data nodes as percentage of total
  1729. capacity
  1730. @return the percentage of the remaining space on the cluster]]>
  1731. </doc>
  1732. </method>
  1733. <method name="getCacheUsed" return="long"
  1734. abstract="true" native="false" synchronized="false"
  1735. static="false" final="false" visibility="public"
  1736. deprecated="not deprecated">
  1737. <doc>
  1738. <![CDATA[Returns the amount of cache used by the datanode (in bytes).]]>
  1739. </doc>
  1740. </method>
  1741. <method name="getCacheCapacity" return="long"
  1742. abstract="true" native="false" synchronized="false"
  1743. static="false" final="false" visibility="public"
  1744. deprecated="not deprecated">
  1745. <doc>
  1746. <![CDATA[Returns the total cache capacity of the datanode (in bytes).]]>
  1747. </doc>
  1748. </method>
  1749. <method name="getBlockPoolUsedSpace" return="long"
  1750. abstract="true" native="false" synchronized="false"
  1751. static="false" final="false" visibility="public"
  1752. deprecated="not deprecated">
  1753. <doc>
  1754. <![CDATA[Get the total space used by the block pools of this namenode]]>
  1755. </doc>
  1756. </method>
  1757. <method name="getPercentBlockPoolUsed" return="float"
  1758. abstract="true" native="false" synchronized="false"
  1759. static="false" final="false" visibility="public"
  1760. deprecated="not deprecated">
  1761. <doc>
  1762. <![CDATA[Get the total space used by the block pool as percentage of total capacity]]>
  1763. </doc>
  1764. </method>
  1765. <method name="getTotalBlocks" return="long"
  1766. abstract="true" native="false" synchronized="false"
  1767. static="false" final="false" visibility="public"
  1768. deprecated="not deprecated">
  1769. <doc>
  1770. <![CDATA[Gets the total numbers of blocks on the cluster.
  1771. @return the total number of blocks of the cluster]]>
  1772. </doc>
  1773. </method>
  1774. <method name="getTotalFiles" return="long"
  1775. abstract="true" native="false" synchronized="false"
  1776. static="false" final="false" visibility="public"
  1777. deprecated="not deprecated">
  1778. <doc>
  1779. <![CDATA[Gets the total number of files on the cluster
  1780. @return the total number of files on the cluster]]>
  1781. </doc>
  1782. </method>
  1783. <method name="getNumberOfMissingBlocks" return="long"
  1784. abstract="true" native="false" synchronized="false"
  1785. static="false" final="false" visibility="public"
  1786. deprecated="not deprecated">
  1787. <doc>
  1788. <![CDATA[Gets the total number of missing blocks on the cluster
  1789. @return the total number of missing blocks on the cluster]]>
  1790. </doc>
  1791. </method>
  1792. <method name="getNumberOfMissingBlocksWithReplicationFactorOne" return="long"
  1793. abstract="true" native="false" synchronized="false"
  1794. static="false" final="false" visibility="public"
  1795. deprecated="not deprecated">
  1796. <doc>
  1797. <![CDATA[Gets the total number of missing blocks on the cluster with
  1798. replication factor 1
  1799. @return the total number of missing blocks on the cluster with
  1800. replication factor 1]]>
  1801. </doc>
  1802. </method>
  1803. <method name="getThreads" return="int"
  1804. abstract="true" native="false" synchronized="false"
  1805. static="false" final="false" visibility="public"
  1806. deprecated="not deprecated">
  1807. <doc>
  1808. <![CDATA[Gets the number of threads.
  1809. @return the number of threads]]>
  1810. </doc>
  1811. </method>
  1812. <method name="getLiveNodes" return="java.lang.String"
  1813. abstract="true" native="false" synchronized="false"
  1814. static="false" final="false" visibility="public"
  1815. deprecated="not deprecated">
  1816. <doc>
  1817. <![CDATA[Gets the live node information of the cluster.
  1818. @return the live node information]]>
  1819. </doc>
  1820. </method>
  1821. <method name="getDeadNodes" return="java.lang.String"
  1822. abstract="true" native="false" synchronized="false"
  1823. static="false" final="false" visibility="public"
  1824. deprecated="not deprecated">
  1825. <doc>
  1826. <![CDATA[Gets the dead node information of the cluster.
  1827. @return the dead node information]]>
  1828. </doc>
  1829. </method>
  1830. <method name="getDecomNodes" return="java.lang.String"
  1831. abstract="true" native="false" synchronized="false"
  1832. static="false" final="false" visibility="public"
  1833. deprecated="not deprecated">
  1834. <doc>
  1835. <![CDATA[Gets the decommissioning node information of the cluster.
  1836. @return the decommissioning node information]]>
  1837. </doc>
  1838. </method>
  1839. <method name="getClusterId" return="java.lang.String"
  1840. abstract="true" native="false" synchronized="false"
  1841. static="false" final="false" visibility="public"
  1842. deprecated="not deprecated">
  1843. <doc>
  1844. <![CDATA[Gets the cluster id.
  1845. @return the cluster id]]>
  1846. </doc>
  1847. </method>
  1848. <method name="getBlockPoolId" return="java.lang.String"
  1849. abstract="true" native="false" synchronized="false"
  1850. static="false" final="false" visibility="public"
  1851. deprecated="not deprecated">
  1852. <doc>
  1853. <![CDATA[Gets the block pool id.
  1854. @return the block pool id]]>
  1855. </doc>
  1856. </method>
  1857. <method name="getNameDirStatuses" return="java.lang.String"
  1858. abstract="true" native="false" synchronized="false"
  1859. static="false" final="false" visibility="public"
  1860. deprecated="not deprecated">
  1861. <doc>
  1862. <![CDATA[Get status information about the directories storing image and edits logs
  1863. of the NN.
  1864. @return the name dir status information, as a JSON string.]]>
  1865. </doc>
  1866. </method>
  1867. <method name="getNodeUsage" return="java.lang.String"
  1868. abstract="true" native="false" synchronized="false"
  1869. static="false" final="false" visibility="public"
  1870. deprecated="not deprecated">
  1871. <doc>
  1872. <![CDATA[Get Max, Median, Min and Standard Deviation of DataNodes usage.
  1873. @return the DataNode usage information, as a JSON string.]]>
  1874. </doc>
  1875. </method>
  1876. <method name="getNameJournalStatus" return="java.lang.String"
  1877. abstract="true" native="false" synchronized="false"
  1878. static="false" final="false" visibility="public"
  1879. deprecated="not deprecated">
  1880. <doc>
  1881. <![CDATA[Get status information about the journals of the NN.
  1882. @return the name journal status information, as a JSON string.]]>
  1883. </doc>
  1884. </method>
  1885. <method name="getJournalTransactionInfo" return="java.lang.String"
  1886. abstract="true" native="false" synchronized="false"
  1887. static="false" final="false" visibility="public"
  1888. deprecated="not deprecated">
  1889. <doc>
  1890. <![CDATA[Get information about the transaction ID, including the last applied
  1891. transaction ID and the most recent checkpoint's transaction ID]]>
  1892. </doc>
  1893. </method>
  1894. <method name="getNNStarted" return="java.lang.String"
  1895. abstract="true" native="false" synchronized="false"
  1896. static="false" final="false" visibility="public"
  1897. deprecated="not deprecated">
  1898. <doc>
  1899. <![CDATA[Gets the NN start time
  1900. @return the NN start time]]>
  1901. </doc>
  1902. </method>
  1903. <method name="getCompileInfo" return="java.lang.String"
  1904. abstract="true" native="false" synchronized="false"
  1905. static="false" final="false" visibility="public"
  1906. deprecated="not deprecated">
  1907. <doc>
  1908. <![CDATA[Get the compilation information which contains date, user and branch
  1909. @return the compilation information, as a JSON string.]]>
  1910. </doc>
  1911. </method>
  1912. <method name="getCorruptFiles" return="java.lang.String"
  1913. abstract="true" native="false" synchronized="false"
  1914. static="false" final="false" visibility="public"
  1915. deprecated="not deprecated">
  1916. <doc>
  1917. <![CDATA[Get the list of corrupt files
  1918. @return the list of corrupt files, as a JSON string.]]>
  1919. </doc>
  1920. </method>
  1921. <method name="getDistinctVersionCount" return="int"
  1922. abstract="true" native="false" synchronized="false"
  1923. static="false" final="false" visibility="public"
  1924. deprecated="not deprecated">
  1925. <doc>
  1926. <![CDATA[Get the number of distinct versions of live datanodes
  1927. @return the number of distinct versions of live datanodes]]>
  1928. </doc>
  1929. </method>
  1930. <method name="getDistinctVersions" return="java.util.Map"
  1931. abstract="true" native="false" synchronized="false"
  1932. static="false" final="false" visibility="public"
  1933. deprecated="not deprecated">
  1934. <doc>
  1935. <![CDATA[Get the number of live datanodes for each distinct versions
  1936. @return the number of live datanodes for each distinct versions]]>
  1937. </doc>
  1938. </method>
  1939. <doc>
  1940. <![CDATA[This is the JMX management interface for namenode information]]>
  1941. </doc>
  1942. </interface>
  1943. <!-- end interface org.apache.hadoop.hdfs.server.namenode.NameNodeMXBean -->
  1944. <!-- start interface org.apache.hadoop.hdfs.server.namenode.NameNodeStatusMXBean -->
  1945. <interface name="NameNodeStatusMXBean" abstract="true"
  1946. static="false" final="false" visibility="public"
  1947. deprecated="not deprecated">
  1948. <method name="getNNRole" return="java.lang.String"
  1949. abstract="true" native="false" synchronized="false"
  1950. static="false" final="false" visibility="public"
  1951. deprecated="not deprecated">
  1952. <doc>
  1953. <![CDATA[Gets the NameNode role.
  1954. @return the NameNode role.]]>
  1955. </doc>
  1956. </method>
  1957. <method name="getState" return="java.lang.String"
  1958. abstract="true" native="false" synchronized="false"
  1959. static="false" final="false" visibility="public"
  1960. deprecated="not deprecated">
  1961. <doc>
  1962. <![CDATA[Gets the NameNode state.
  1963. @return the NameNode state.]]>
  1964. </doc>
  1965. </method>
  1966. <method name="getHostAndPort" return="java.lang.String"
  1967. abstract="true" native="false" synchronized="false"
  1968. static="false" final="false" visibility="public"
  1969. deprecated="not deprecated">
  1970. <doc>
  1971. <![CDATA[Gets the host and port colon separated.
  1972. @return host and port colon separated.]]>
  1973. </doc>
  1974. </method>
  1975. <method name="isSecurityEnabled" return="boolean"
  1976. abstract="true" native="false" synchronized="false"
  1977. static="false" final="false" visibility="public"
  1978. deprecated="not deprecated">
  1979. <doc>
  1980. <![CDATA[Gets if security is enabled.
  1981. @return true, if security is enabled.]]>
  1982. </doc>
  1983. </method>
  1984. <method name="getLastHATransitionTime" return="long"
  1985. abstract="true" native="false" synchronized="false"
  1986. static="false" final="false" visibility="public"
  1987. deprecated="not deprecated">
  1988. <doc>
  1989. <![CDATA[Gets the most recent HA transition time in milliseconds from the epoch.
  1990. @return the most recent HA transition time in milliseconds from the epoch.]]>
  1991. </doc>
  1992. </method>
  1993. <doc>
  1994. <![CDATA[This is the JMX management interface for NameNode status information]]>
  1995. </doc>
  1996. </interface>
  1997. <!-- end interface org.apache.hadoop.hdfs.server.namenode.NameNodeStatusMXBean -->
  1998. </package>
  1999. <package name="org.apache.hadoop.hdfs.server.namenode.ha">
  2000. </package>
  2001. <package name="org.apache.hadoop.hdfs.server.namenode.metrics">
  2002. </package>
  2003. <package name="org.apache.hadoop.hdfs.server.namenode.snapshot">
  2004. </package>
  2005. <package name="org.apache.hadoop.hdfs.server.namenode.top">
  2006. </package>
  2007. <package name="org.apache.hadoop.hdfs.server.namenode.top.metrics">
  2008. </package>
  2009. <package name="org.apache.hadoop.hdfs.server.namenode.top.window">
  2010. </package>
  2011. <package name="org.apache.hadoop.hdfs.server.namenode.web.resources">
  2012. </package>
  2013. <package name="org.apache.hadoop.hdfs.server.protocol">
  2014. </package>
  2015. <package name="org.apache.hadoop.hdfs.shortcircuit">
  2016. </package>
  2017. <package name="org.apache.hadoop.hdfs.tools">
  2018. </package>
  2019. <package name="org.apache.hadoop.hdfs.tools.offlineEditsViewer">
  2020. </package>
  2021. <package name="org.apache.hadoop.hdfs.tools.offlineImageViewer">
  2022. </package>
  2023. <package name="org.apache.hadoop.hdfs.tools.snapshot">
  2024. </package>
  2025. <package name="org.apache.hadoop.hdfs.util">
  2026. </package>
  2027. <package name="org.apache.hadoop.hdfs.web">
  2028. </package>
  2029. <package name="org.apache.hadoop.hdfs.web.resources">
  2030. </package>
  2031. </api>