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

Wrong description of Block-Compressed SequenceFile Format in SequenceFile's javadoc

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.21.0
    • Fix Version/s: 0.23.0
    • Component/s: io
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Here is the following description for Block-Compressed SequenceFile Format in SequenceFile's javadoc:

      • <li>
      • Record <i>Block</i>
      • <ul>
      • <li>Compressed key-lengths block-size</li>
      • <li>Compressed key-lengths block</li>
      • <li>Compressed keys block-size</li>
      • <li>Compressed keys block</li>
      • <li>Compressed value-lengths block-size</li>
      • <li>Compressed value-lengths block</li>
      • <li>Compressed values block-size</li>
      • <li>Compressed values block</li>
      • </ul>
      • </li>
      • <li>
      • A sync-marker every few <code>100</code> bytes or so.
      • </li>

      This description misses "Uncompressed record number in the block". And "A sync-marker every few <code>100</code> bytes or so" is not the case for Block-Compressed SequenceFile Format. Correct description should be:

      • <li>
      • Record <i>Block</i>
      • <ul>
      • <li>Uncompressed record number in the block</li>
      • <li>Compressed key-lengths block-size</li>
      • <li>Compressed key-lengths block</li>
      • <li>Compressed keys block-size</li>
      • <li>Compressed keys block</li>
      • <li>Compressed value-lengths block-size</li>
      • <li>Compressed value-lengths block</li>
      • <li>Compressed values block-size</li>
      • <li>Compressed values block</li>
      • </ul>
      • </li>
      • <li>
      • A sync-marker every block.
      • </li>

        Attachments

          Activity

            People

            • Assignee:
              yaojingguo Jingguo Yao
              Reporter:
              yaojingguo Jingguo Yao
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 10m
                10m
                Remaining:
                Remaining Estimate - 10m
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified