Resolution: Won't Fix
Affects Version/s: None
Fix Version/s: None
Currently data node does not distinguish between critical and non critical exceptions.
Any exception is treated as a signal to sleep and then try again. See
This is happening because RPC always throws the same RemoteException.
In some cases (like UnregisteredDatanodeException, IncorrectVersionException) the data
node should shutdown rather than retry.
This logic naturally belongs to the
but can be reasonably implemented (without examining the RemoteException.className
HADOOP-266 (2) is fixed.