Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10419

BufferedFSInputStream NPEs on getPos() on a closed stream

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.5.0
    • fs
    • None

    Description

      if you call getPos on a ChecksumFileSystem after a close() you get an NPE.

      While throwing an exception in this states is legitimate (HDFS does, RawLocal does not), it should be an IOException

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            stevel@apache.org Steve Loughran
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.25h
                0.25h
                Remaining:
                Remaining Estimate - 0.25h
                0.25h
                Logged:
                Time Spent - Not Specified
                Not Specified

                Slack

                  Issue deployment