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

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

# Class DisallowedDatanodeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hadoop.hdfs.server.protocol.DisallowedDatanodeException

All Implemented Interfaces:
  `Serializable`

@Private @Evolving public class DisallowedDatanodeException extends IOException
This exception is thrown when a datanode tries to register or communicate with the namenode when it does not appear on the list of included nodes, or has been specifically excluded.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DisallowedDatanodeException(org.apache.hadoop.hdfs.protocol.DatanodeID nodeID)`
  `DisallowedDatanodeException(org.apache.hadoop.hdfs.protocol.DatanodeID nodeID, String reason)`

- ## Method Summary

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

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

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

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

- ## Constructor Details

  - ### DisallowedDatanodeException

    public DisallowedDatanodeException(org.apache.hadoop.hdfs.protocol.DatanodeID nodeID, String reason)

  - ### DisallowedDatanodeException

    public DisallowedDatanodeException(org.apache.hadoop.hdfs.protocol.DatanodeID nodeID)