DatanodeStorageReport (Apache Hadoop HDFS Client 3.5.0 API)
Description: declaration: package: org.apache.hadoop.hdfs.server.protocol, class: DatanodeStorageReport

Package org.apache.hadoop.hdfs.server.protocol

# Class DatanodeStorageReport

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

public class DatanodeStorageReport extends Object
Class captures information of a datanode and its storages.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DatanodeStorageReport(DatanodeInfo datanodeInfo, StorageReport[] storageReports)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DatanodeInfo`
  `getDatanodeInfo()`
  `StorageReport[]`
  `getStorageReports()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### DatanodeStorageReport

    public DatanodeStorageReport(DatanodeInfo datanodeInfo, StorageReport[] storageReports)

- ## Method Details

  - ### getDatanodeInfo

    public DatanodeInfo getDatanodeInfo()

  - ### getStorageReports

    public StorageReport[] getStorageReports()