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.
-
ClassDescriptionorg.apache.hadoop.hdfs.util.AsyncRFAAppenderUntil 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.AtomicFileOutputStreamA 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.BestEffortLongFileClass that represents a file on disk which stores a single
longvalue, but does not make any effort to make it truly durable.org.apache.hadoop.hdfs.util.ByteArrayWrapper for byte[] to use byte[] as key in HashMaporg.apache.hadoop.hdfs.util.ByteArrayManagerManage byte array creation and release.org.apache.hadoop.hdfs.util.ByteArrayManager.ConfConfiguration for ByteArrayManager.org.apache.hadoop.hdfs.util.ByteBufferOutputStreamOutputStream that writes into aByteBuffer.org.apache.hadoop.hdfs.util.CancelerProvides 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.CombinedHostsFileReaderReader support for JSON-based datanode configuration, an alternative format to the exclude/include files configuration.org.apache.hadoop.hdfs.util.CombinedHostsFileWriterWriter 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.ConstEnumExceptionAn exception class for modification on ConstEnumCounters.org.apache.hadoop.hdfs.util.CyclicIteration<K,V> Provide an cyclicIteratorfor aNavigableMap.org.apache.hadoop.hdfs.util.DataTransferThrottlera 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 aDiff.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) andDiff.modify(Element, Element).org.apache.hadoop.hdfs.util.ECPolicyLoaderA 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 toEnumCountersexcept 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.IOUtilsClientorg.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.LongBitFormatBit format in a long.org.apache.hadoop.hdfs.util.LongBitFormat.Enumorg.apache.hadoop.hdfs.util.MD5FileUtilsStatic functions for dealing with files of the same format that the Unix "md5sum" utility writes.org.apache.hadoop.hdfs.util.PersistentLongFileClass that represents a file on disk which persistently stores a singlelongvalue.org.apache.hadoop.hdfs.util.ReadOnlyList<E>AReadOnlyListis a unmodifiable list, which supports read-only operations.org.apache.hadoop.hdfs.util.ReadOnlyList.UtilUtilities forReadOnlyListorg.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.ReferenceCounterInterface for the reference count holderorg.apache.hadoop.hdfs.util.RwLockRead-write lock interface for FSNamesystem.This lock mode is used for FGL.org.apache.hadoop.hdfs.util.StripedBlockUtilWhen 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.AlignedStripeGiven a requested byte range on a striped block group, an AlignedStripe represents an inclusiveStripedBlockUtil.VerticalRangethat is aligned with both the byte range and boundaries of all internal blocks.org.apache.hadoop.hdfs.util.StripedBlockUtil.BlockReadStatsStruct holding the read statistics.org.apache.hadoop.hdfs.util.StripedBlockUtil.ChunkByteBufferA utility to manage ByteBuffer slices for a reader.org.apache.hadoop.hdfs.util.StripedBlockUtil.StripeRangeUsed to indicate the buffered data's range in the block group.org.apache.hadoop.hdfs.util.StripedBlockUtil.StripingCellCell is the unit of encoding used inDFSStripedOutputStream.org.apache.hadoop.hdfs.util.StripedBlockUtil.StripingChunkIndicates the coverage of anStripedBlockUtil.AlignedStripeon an internal block, and the state of the chunk in the context of the read request.org.apache.hadoop.hdfs.util.StripedBlockUtil.StripingChunkReadResultThis class represents result from a striped read request.org.apache.hadoop.hdfs.util.StripedBlockUtil.VerticalRangeA simple utility class representing an arbitrary vertical inclusive range starting atStripedBlockUtil.VerticalRange.offsetInBlockand lasting forStripedBlockUtil.VerticalRange.spanInBlockbytes in an internal block.org.apache.hadoop.hdfs.util.XMLUtilsGeneral xml utilities.org.apache.hadoop.hdfs.util.XMLUtils.InvalidXmlExceptionException that reflects an invalid XML document.org.apache.hadoop.hdfs.util.XMLUtils.StanzaRepresents a bag of key-value pairs encountered during parsing an XML file.org.apache.hadoop.hdfs.util.XMLUtils.UnmanglingErrorException that reflects a string that cannot be unmangled.