Class StorageReport

java.lang.Object
org.apache.hadoop.hdfs.server.protocol.StorageReport

public class StorageReport extends Object
Utilization report for a Datanode storage
  • Field Details

  • 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

      public DatanodeStorage 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

      public String getMount()
    • getBlockPoolUsagePercent

      public float getBlockPoolUsagePercent()