org.apache.hadoop.hdfs.protocol
Class UnregisteredNodeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.apache.hadoop.hdfs.protocol.UnregisteredNodeException
All Implemented Interfaces:
Serializable

@InterfaceAudience.Private
@InterfaceStability.Evolving
public class UnregisteredNodeException
extends IOException

This exception is thrown when a node that has not previously registered is trying to access the name node.

See Also:
Serialized Form

Constructor Summary
UnregisteredNodeException(DatanodeID nodeID, DatanodeInfo storedNode)
          The exception is thrown if a different data-node claims the same storage id as the existing one.
UnregisteredNodeException(NodeRegistration nodeReg)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnregisteredNodeException

public UnregisteredNodeException(NodeRegistration nodeReg)

UnregisteredNodeException

public UnregisteredNodeException(DatanodeID nodeID,
                                 DatanodeInfo storedNode)
The exception is thrown if a different data-node claims the same storage id as the existing one.

Parameters:
nodeID - unregistered data-node
storedNode - data-node stored in the system with this storage id


Copyright © 2009 The Apache Software Foundation