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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

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
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$Listener.(Server.java:318)
at org.apache.hadoop.ipc.Server.(Server.java:1501)
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:421)
at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:512)
at org.apache.hadoop.hdfs.server.datanode.DataNode.(DataNode.java:282)
at org.apache.hadoop.hdfs.server.datanode.DataNode.(DataNode.java:264)
at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:1575)
at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:1518)
at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:1485)
at org.apache.hadoop.hdfs.MiniDFSCluster.startDataNodes(MiniDFSCluster.java:678)
at org.apache.hadoop.hdfs.MiniDFSCluster.initMiniDFSCluster(MiniDFSCluster.java:483)
at org.apache.hadoop.hdfs.MiniDFSCluster.(MiniDFSCluster.java:203)
at org.apache.hadoop.hdfs.MiniDFSCluster.(MiniDFSCluster.java:78)
at org.apache.hadoop.hdfs.MiniDFSCluster$Builder.build(MiniDFSCluster.java:195)
at org.apache.hadoop.hdfs.TestFileConcurrentReader.init(TestFileConcurrentReader.java:88)
at org.apache.hadoop.hdfs.TestFileConcurrentReader.runTestUnfinishedBlockCRCError(TestFileConcurrentReader.java:315)
at org.apache.hadoop.hdfs.TestFileConcurrentReader.runTestUnfinishedBlockCRCError(TestFileConcurrentReader.java:302)
at org.apache.hadoop.hdfs.TestFileConcurrentReader.__CLR3_0_2u5mf5trj2(TestFileConcurrentReader.java:275)

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

Write tip

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