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.
-
ClassDescriptionManage byte array creation and release.Configuration for ByteArrayManager.OutputStream that writes into a
ByteBuffer.Reader support for JSON-based datanode configuration, an alternative format to the exclude/include files configuration.Writer support for JSON-based datanode configuration, an alternative format to the exclude/include files configuration.A EC policy loading tool that loads user defined EC policies from XML file.Bit format in a long.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.Given 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.Struct holding the read statistics.A utility to manage ByteBuffer slices for a reader.Used to indicate the buffered data's range in the block group.Cell is the unit of encoding used inDFSStripedOutputStream.Indicates the coverage of anStripedBlockUtil.AlignedStripeon an internal block, and the state of the chunk in the context of the read request.This class represents result from a striped read request.A simple utility class representing an arbitrary vertical inclusive range starting atStripedBlockUtil.VerticalRange.offsetInBlockand lasting forStripedBlockUtil.VerticalRange.spanInBlockbytes in an internal block.