Move maxXceiverCount check to before starting the thread in dataXceiver -----------------------------------------------------------------------
Key: HDFS-2454 URL: https://issues.apache.org/jira/browse/HDFS-2454 Project: Hadoop HDFS Issue Type: Bug Components: data-node Reporter: Uma Maheswara Rao G Assignee: Uma Maheswara Rao G Priority: Minor // Make sure the xceiver count is not exceeded int curXceiverCount = datanode.getXceiverCount(); if (curXceiverCount > dataXceiverServer.maxXceiverCount) { throw new IOException("xceiverCount " + curXceiverCount + " exceeds the limit of concurrent xcievers " + dataXceiverServer.maxXceiverCount); } -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira