Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1123

Need HDFS Protocol Specification

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • documentation
    • None

    Description

      It'd be great to document (in a spec, not in the code) the HDFS wire protocol:

      • The layout of the different request and reply messages.
      • The semantics of the various calls.
      • The semantics of the various fields.

      For example, I stumbled upon the goldmine of comments around DataNode.java:1150. It looks correct, but the version number of 9 doesn't inspire confidence that it's up-to-date. (It's also a random place to put such an important comment.)

      Having a formal spec is a big step forward for compatibility. It also highlights design decisions and helps with protocol evolution.

      Attachments

        1. datanode-reads.txt
          4 kB
          Jay Booth

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bcwalrus bc Wong
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated: