java.io.IOException: Too many open files

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via hadoop-hdfs-dev by Apache Hudson Server, 1 year ago
via hadoop-hdfs-dev by Apache Hudson Server, 1 year ago
via hadoop-hdfs-dev by Apache Hudson Server, 1 year ago
via hadoop-hdfs-dev by Apache Hudson Server, 1 year ago
java.io.IOException: Too many open files
at sun.nio.ch.IOUtil.initPipe(Native Method)
at sun.nio.ch.EPollSelectorImpl.(EPollSelectorImpl.java:49)
at sun.nio.ch.EPollSelectorProvider.openSelector(EPollSelectorProvider.java:18)
at java.nio.channels.Selector.open(Selector.java:209)
at org.apache.hadoop.ipc.Server$Responder.(Server.java:602)
at org.apache.hadoop.ipc.Server.(Server.java:1511)
at org.apache.hadoop.ipc.RPC$Server.(RPC.java:408)
at org.apache.hadoop.ipc.WritableRpcEngine$Server.(WritableRpcEngine.java:332)
at org.apache.hadoop.ipc.WritableRpcEngine.getServer(WritableRpcEngine.java:292)
at org.apache.hadoop.ipc.WritableRpcEngine.getServer(WritableRpcEngine.java:47)
at org.apache.hadoop.hdfs.server.datanode.DataNode.initIpcServer(DataNode.java:416)
at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:507)
at org.apache.hadoop.hdfs.server.datanode.DataNode.(DataNode.java:281)
at org.apache.hadoop.hdfs.server.datanode.DataNode.(DataNode.java:263)
at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:1561)
at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:1504)
at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:1471)
at org.apache.hadoop.hdfs.MiniDFSCluster.startDataNodes(MiniDFSCluster.java:630)
at org.apache.hadoop.hdfs.MiniDFSCluster.initMiniDFSCluster(MiniDFSCluster.java:464)
at org.apache.hadoop.hdfs.MiniDFSCluster.(MiniDFSCluster.java:186)
at org.apache.hadoop.hdfs.MiniDFSCluster.(MiniDFSCluster.java:71)
at org.apache.hadoop.hdfs.MiniDFSCluster$Builder.build(MiniDFSCluster.java:178)
at org.apache.hadoop.hdfs.TestFileConcurrentReader.init(TestFileConcurrentReader.java:88)
at org.apache.hadoop.hdfs.TestFileConcurrentReader.setUp(TestFileConcurrentReader.java:73)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 3 years ago
Samebug visitor profile picture
Unknown user
Once, 3 years ago
4 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.