@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
IOExceptionpublic VolumeId[] getVolumeIds()
VolumeId corresponding to the block's replicas.Copyright © 2014 Apache Software Foundation. All Rights Reserved.