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

LocalFS/FSOutputSummer NPEs in constructor if bytes per checksum set to 0

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

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.8.0
    • 2.8.0, 3.0.0-alpha1
    • fs
    • None
    • Reviewed

    Description

      If you set the number of bytes per checksum to zero,

          conf.setInt(LocalFileSystemConfigKeys.LOCAL_FS_BYTES_PER_CHECKSUM_KEY, 0)
      

      then create a "file://" instance, you get to see a stack trace

      Attachments

        1. HADOOP-12831.000.patch
          3 kB
          Mingliang Liu
        2. HADOOP-12831.001.patch
          2 kB
          Mingliang Liu
        3. HADOOP-12831.002.patch
          3 kB
          Mingliang Liu

        Activity

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

          People

            liuml07 Mingliang Liu
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment