This topic describes how to troubleshoot the issue that the number of Xceiver threads on a DataNode is limited.
java.io.IOException: Xceiver count xxxx exceeds the limit of concurrent xcievers: xxxx
The dfs.datanode.max.transfer.threads parameter is used to specify the size of the thread pool for a DataNode to process read and write data streams. Default value: 4096. If the value of this parameter is small, the number of Xceiver threads on a DataNode is limited in specific scenarios.
- Log on to the EMR on ECS console.
- In the top navigation bar, select the region where your cluster resides and select a resource group based on your business requirements.
- Go to the Configure tab of the Hadoop Distributed File System (HDFS) service.
- On the EMR on ECS page, find the cluster that you want to manage and click Services in the Actions column.
- On the page that appears, click the Services tab. Find the HDFS service and click Configure.
- On the Configure tab, search for the dfs.datanode.max.transfer.threads parameter and increase the value of the parameter appropriately. In most cases, we recommend that you double the value, such as 8192 or 16384. Note The dfs.datanode.max.transfer.threads parameter specifies the size of the thread pool for a DataNode to process read and write data streams. Default value: 4096.