java.io.IOException

tip

When you iterate over the lines of a scala.io.Source with source.getLines, make sure you do not close the source until you processed the iterator.


rprp

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Debugging MiniAccumuloTest
    via by John Vines,
  • GitHub comment 67#19312280
    via GitHub by nicegraham
    ,
  • GitHub comment 67#19299776
    via GitHub by sassda
    ,
    • java.io.IOException: Bad file descriptor at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInputStream.read(FileInputStream.java:220) at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264) at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158) at java.io.InputStreamReader.read(InputStreamReader.java:167) at java.io.BufferedReader.fill(BufferedReader.java:136) at java.io.BufferedReader.readLine(BufferedReader.java:299) at java.io.BufferedReader.readLine(BufferedReader.java:362) at org.apache.accumulo.test.MiniAccumuloCluster$LogWriter.run(MiniAccumuloCluster.java:89)

    Users with the same issue

    harshgharshg
    1 times, last one,
    rprp
    1 times, last one,
    zbalintzbalint
    1 times, last one,
    gamebusterzgamebusterz
    22 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    29 more bugmates