Class StorageReport
java.lang.Object
org.apache.hadoop.hdfs.server.protocol.StorageReport
Utilization report for a Datanode storage
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStorageReport(DatanodeStorage storage, boolean failed, long capacity, long dfsUsed, long remaining, long bpUsed, long nonDfsUsed) StorageReport(DatanodeStorage storage, boolean failed, long capacity, long dfsUsed, long remaining, long bpUsed, long nonDfsUsed, String mount) -
Method Summary
-
Field Details
-
EMPTY_ARRAY
-
-
Constructor Details
-
StorageReport
public StorageReport(DatanodeStorage storage, boolean failed, long capacity, long dfsUsed, long remaining, long bpUsed, long nonDfsUsed) -
StorageReport
public StorageReport(DatanodeStorage storage, boolean failed, long capacity, long dfsUsed, long remaining, long bpUsed, long nonDfsUsed, String mount)
-
-
Method Details
-
getStorage
-
isFailed
public boolean isFailed() -
getCapacity
public long getCapacity() -
getDfsUsed
public long getDfsUsed() -
getNonDfsUsed
public long getNonDfsUsed() -
getRemaining
public long getRemaining() -
getBlockPoolUsed
public long getBlockPoolUsed() -
getMount
-
getBlockPoolUsagePercent
public float getBlockPoolUsagePercent()
-