Package org.apache.hadoop.ozone.container.common.impl
package org.apache.hadoop.ozone.container.common.impl
This package is contains Ozone container implementation.
-
ClassDescriptionA per-datanode container block deleting service takes in charge of deleting staled ozone blocks.Pair of container data and the number of blocks to delete.ContainerData is the in-memory representation of container metadata and is represented on disk by the .container file.Block byte used, block count and pending deletion count.Read/write/block statistics of a container.Orders containers: 1. containers not yet scanned first, 2. then least recently scanned first, 3. ties are broken by containerID.Class for creating and reading .container files.Defines layout versions for the Chunks.Class that manages Containers created on the datanode.Ozone Container dispatcher takes a call from the netty server and routes it to the right handler function.Map: containerId -> (localId ->
BlockData).Randomly choosing containers for block deletion.Storage location stats of datanodes that provide back store for containers.Builder class for building StorageLocationReport.TopN Ordered choosing policy that choosing containers based on pending deletion blocks' number.