Class ProvidedStorageLocation

java.lang.Object
org.apache.hadoop.hdfs.protocol.ProvidedStorageLocation

@Private @Evolving public class ProvidedStorageLocation extends Object
ProvidedStorageLocation is a location in an external storage system containing the data for a block (~Replica).
  • Constructor Details

    • ProvidedStorageLocation

      public ProvidedStorageLocation(org.apache.hadoop.fs.Path path, long offset, long length, byte[] nonce)
  • Method Details

    • getPath

      @Nonnull public org.apache.hadoop.fs.Path getPath()
    • getOffset

      public long getOffset()
    • getLength

      public long getLength()
    • getNonce

      @Nonnull public byte[] getNonce()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object