Shuts down a datanode.
@param forUpgrade If true, data node does extra prep work before shuttingdown. The work includes advising clients to wait and saving certain states for quick restart. This should only be used when the stored data will remain the same during upgrade/restart.
@throws IOException
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.