Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1623 High Availability Framework for HDFS NN
  3. HDFS-2616

Change DatanodeProtocol#sendHeartbeat to return HeartbeatResponse

    XMLWordPrintableJSON

    Details

    • Hadoop Flags:
      Reviewed

      Description

      DatanodeProtocol#sendHeartbeat() returns DatanodeCommand[]. This jira proposes changing it to to return HeartbeatResponse that has DatanodeCommand[]. This allows adding other information that can be returned by the namenode to the datanode, instead of having to only return DatanodeCommand[]. For relevant discussion see HDFS-1972.

        Attachments

        1. HDFS-2616.txt
          24 kB
          Suresh Srinivas
        2. HDFS-2616.txt
          19 kB
          Suresh Srinivas
        3. HDFS-2616.txt
          25 kB
          Suresh Srinivas
        4. HDFS-2616.txt
          24 kB
          Suresh Srinivas
        5. HDFS-2616.txt
          12 kB
          Suresh Srinivas
        6. HDFS-2616.txt
          11 kB
          Suresh Srinivas
        7. hdfs-2616-addendum.txt
          2 kB
          Todd Lipcon

          Activity

            People

            • Assignee:
              sureshms Suresh Srinivas
              Reporter:
              sureshms Suresh Srinivas
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: