@InterfaceStability.Unstable @InterfaceAudience.Public public class BlockStorageLocation extends org.apache.hadoop.fs.BlockLocation
BlockLocation
that also adds VolumeId
volume
location information for each replica.Constructor and Description |
---|
BlockStorageLocation(org.apache.hadoop.fs.BlockLocation loc,
VolumeId[] volumeIds) |
Modifier and Type | Method and Description |
---|---|
VolumeId[] |
getVolumeIds()
Gets the list of
VolumeId corresponding to the block's replicas. |
public BlockStorageLocation(org.apache.hadoop.fs.BlockLocation loc, VolumeId[] volumeIds) throws IOException
IOException
public VolumeId[] getVolumeIds()
VolumeId
corresponding to the block's replicas.Copyright © 2018 Apache Software Foundation. All Rights Reserved.