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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: