Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7330

Unclosed RandomAccessFile warnings in FSDatasetIml.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.5.1
    • 2.7.0
    • datanode

    Description

      RandomAccessFile is opened as an underline file for FileInputStream. It should be closed when the stream is closed. So to fix these 2 warning (in getBlockInputStream() and getTmpInputStreams()) we just need suppress them.

      Attachments

        Issue Links

          Activity

            People

              boky01 Andras Bokor
              shv Konstantin Shvachko
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: