Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-3531

EditLogFileOutputStream#preallocate should check for incomplete writes

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.2-alpha
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      We need to check for short writes when using WritableByteChannel#write and related methods in EditLogFileOutputStream#preallocate so we ensure we've preallocated sufficient space.

      1. HADOOP-8491.001.patch
        5 kB
        Colin Patrick McCabe
      2. HADOOP-8491.002.patch
        5 kB
        Colin Patrick McCabe
      3. hadoop-8491.txt
        5 kB
        Eli Collins
      4. hadoop-8491.txt
        5 kB
        Eli Collins

        Issue Links

          Activity

            People

            • Assignee:
              Colin Patrick McCabe
              Reporter:
              Colin Patrick McCabe
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development