org.apache.hadoop.hdfs.util (Apache Hadoop Main 3.5.0 API)
Description: declaration: package: org.apache.hadoop.hdfs.util

# Package org.apache.hadoop.hdfs.util

package org.apache.hadoop.hdfs.util
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

- Related Packages
  Package
  Description
  org.apache.hadoop.hdfs
  A distributed implementation of `FileSystem`.
- Class
  Description
  org.apache.hadoop.hdfs.util.AsyncRFAAppender
  Until we migrate to log4j2, use this appender for namenode audit logger as well as datanode and namenode metric loggers with log4j properties, if async logging is required with RFA.
  org.apache.hadoop.hdfs.util.AtomicFileOutputStream
  A FileOutputStream that has the property that it will only show up at its destination once it has been entirely written and flushed to disk.
  org.apache.hadoop.hdfs.util.BestEffortLongFile
  Class that represents a file on disk which stores a single `long` value, but does not make any effort to make it truly durable.
  org.apache.hadoop.hdfs.util.ByteArray
  Wrapper for byte[] to use byte[] as key in HashMap
  org.apache.hadoop.hdfs.util.ByteArrayManager
  Manage byte array creation and release.
  org.apache.hadoop.hdfs.util.ByteArrayManager.Conf
  Configuration for ByteArrayManager.
  org.apache.hadoop.hdfs.util.ByteBufferOutputStream
  OutputStream that writes into a `ByteBuffer`.
  org.apache.hadoop.hdfs.util.Canceler
  Provides a simple interface where one thread can mark an operation for cancellation, and another thread can poll for whether the cancellation has occurred.
  org.apache.hadoop.hdfs.util.CombinedHostsFileReader
  Reader support for JSON-based datanode configuration, an alternative format to the exclude/include files configuration.
  org.apache.hadoop.hdfs.util.CombinedHostsFileWriter
  Writer support for JSON-based datanode configuration, an alternative format to the exclude/include files configuration.
  org.apache.hadoop.hdfs.util.ConstEnumCounters<E extends Enum<E>>
  Const Counters for an enum type.
  org.apache.hadoop.hdfs.util.ConstEnumCounters.ConstEnumException
  An exception class for modification on ConstEnumCounters.
  org.apache.hadoop.hdfs.util.CyclicIteration<K,V>
  Provide an cyclic `Iterator` for a `NavigableMap`.
  org.apache.hadoop.hdfs.util.DataTransferThrottler
  a class to throttle the data transfers.
  org.apache.hadoop.hdfs.util.Diff<K,E extends org.apache.hadoop.hdfs.util.Diff.Element<K>>
  The difference between the current state and a previous state of a list.
  org.apache.hadoop.hdfs.util.Diff.Container<E>
  Containing exactly one element.
  org.apache.hadoop.hdfs.util.Diff.Element<K>
  An interface for the elements in a `Diff`.
  org.apache.hadoop.hdfs.util.Diff.Processor<E>
  An interface for passing a method in order to process elements.
  org.apache.hadoop.hdfs.util.Diff.UndoInfo<E>
  Undo information for some operations such as delete(E) and `Diff.modify(Element, Element)`.
  org.apache.hadoop.hdfs.util.ECPolicyLoader
  A EC policy loading tool that loads user defined EC policies from XML file.
  org.apache.hadoop.hdfs.util.EnumCounters<E extends Enum<E>>
  Counters for an enum type.
  org.apache.hadoop.hdfs.util.EnumDoubles<E extends Enum<E>>
  Similar to `EnumCounters` except that the value type is double.
  org.apache.hadoop.hdfs.util.Holder<T>
  A Holder is simply a wrapper around some other object.
  org.apache.hadoop.hdfs.util.IOUtilsClient
  org.apache.hadoop.hdfs.util.LightWeightHashSet<T>
  A low memory linked hash set implementation, which uses an array for storing the elements and linked lists for collision resolution.
  org.apache.hadoop.hdfs.util.LightWeightLinkedSet<T>
  A low memory linked hash set implementation, which uses an array for storing the elements and linked lists for collision resolution.
  org.apache.hadoop.hdfs.util.LongBitFormat
  Bit format in a long.
  org.apache.hadoop.hdfs.util.LongBitFormat.Enum
  org.apache.hadoop.hdfs.util.MD5FileUtils
  Static functions for dealing with files of the same format that the Unix "md5sum" utility writes.
  org.apache.hadoop.hdfs.util.PersistentLongFile
  Class that represents a file on disk which persistently stores a single `long` value.
  org.apache.hadoop.hdfs.util.ReadOnlyList<E>
  A `ReadOnlyList` is a unmodifiable list, which supports read-only operations.
  org.apache.hadoop.hdfs.util.ReadOnlyList.Util
  Utilities for `ReadOnlyList`
  org.apache.hadoop.hdfs.util.ReferenceCountMap<E extends org.apache.hadoop.hdfs.util.ReferenceCountMap.ReferenceCounter>
  Class for de-duplication of instances.
  org.apache.hadoop.hdfs.util.ReferenceCountMap.ReferenceCounter
  Interface for the reference count holder
  org.apache.hadoop.hdfs.util.RwLock
  Read-write lock interface for FSNamesystem.
  RwLockMode
  This lock mode is used for FGL.
  org.apache.hadoop.hdfs.util.StripedBlockUtil
  When accessing a file in striped layout, operations on logical byte ranges in the file need to be mapped to physical byte ranges on block files stored on DataNodes.
  org.apache.hadoop.hdfs.util.StripedBlockUtil.AlignedStripe
  Given a requested byte range on a striped block group, an AlignedStripe represents an inclusive `StripedBlockUtil.VerticalRange` that is aligned with both the byte range and boundaries of all internal blocks.
  org.apache.hadoop.hdfs.util.StripedBlockUtil.BlockReadStats
  Struct holding the read statistics.
  org.apache.hadoop.hdfs.util.StripedBlockUtil.ChunkByteBuffer
  A utility to manage ByteBuffer slices for a reader.
  org.apache.hadoop.hdfs.util.StripedBlockUtil.StripeRange
  Used to indicate the buffered data's range in the block group.
  org.apache.hadoop.hdfs.util.StripedBlockUtil.StripingCell
  Cell is the unit of encoding used in `DFSStripedOutputStream`.
  org.apache.hadoop.hdfs.util.StripedBlockUtil.StripingChunk
  Indicates the coverage of an `StripedBlockUtil.AlignedStripe` on an internal block, and the state of the chunk in the context of the read request.
  org.apache.hadoop.hdfs.util.StripedBlockUtil.StripingChunkReadResult
  This class represents result from a striped read request.
  org.apache.hadoop.hdfs.util.StripedBlockUtil.VerticalRange
  A simple utility class representing an arbitrary vertical inclusive range starting at `StripedBlockUtil.VerticalRange.offsetInBlock` and lasting for `StripedBlockUtil.VerticalRange.spanInBlock` bytes in an internal block.
  org.apache.hadoop.hdfs.util.XMLUtils
  General xml utilities.
  org.apache.hadoop.hdfs.util.XMLUtils.InvalidXmlException
  Exception that reflects an invalid XML document.
  org.apache.hadoop.hdfs.util.XMLUtils.Stanza
  Represents a bag of key-value pairs encountered during parsing an XML file.
  org.apache.hadoop.hdfs.util.XMLUtils.UnmanglingError
  Exception that reflects a string that cannot be unmangled.