Package com.mapr.fs
Class MapRBlockLocation
java.lang.Object
org.apache.hadoop.fs.BlockLocation
com.mapr.fs.MapRBlockLocation
- All Implemented Interfaces:
Serializable
public class MapRBlockLocation
extends org.apache.hadoop.fs.BlockLocation
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetCid()intgetCinum()static MapRBlockLocationgetLocation(com.mapr.fs.jni.JNIBlockLocation l) static MapRBlockLocation[]getLocation(com.mapr.fs.jni.JNIBlockLocation[] locations) longintgetUniq()booleanvoidsetCorrupt(boolean corrupt) Methods inherited from class org.apache.hadoop.fs.BlockLocation
getCachedHosts, getHosts, getLength, getNames, getOffset, getStorageIds, getStorageTypes, getTopologyPaths, isStriped, setCachedHosts, setHosts, setLength, setNames, setOffset, setStorageIds, setStorageTypes, setTopologyPaths, toString
-
Constructor Details
-
MapRBlockLocation
public MapRBlockLocation(com.mapr.fs.jni.JNIBlockLocation l)
-
-
Method Details
-
getCid
public int getCid() -
getCinum
public int getCinum() -
getUniq
public int getUniq() -
getMaster
-
getNumDiskBlocks
public long getNumDiskBlocks() -
getLocation
-
getLocation
-
isCorrupt
public boolean isCorrupt()- Overrides:
isCorruptin classorg.apache.hadoop.fs.BlockLocation
-
setCorrupt
public void setCorrupt(boolean corrupt) - Overrides:
setCorruptin classorg.apache.hadoop.fs.BlockLocation
-