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

Refactor RPC call implementations out of NameNode class

    Details

    • Hadoop Flags:
      Reviewed

      Description

      For HA, the NameNode will gain a bit of a state machine, to be able to transition between standby and active states. This would be cleaner in the code if the NameNode class were just a container for various services, as discussed in HDFS-1974. It's also nice for testing, where it would become easier to construct just the RPC handlers around a mock NameSystem, with no HTTP server, for example.

      This JIRA is to move all of the protocol implementations out of NameNode into a separate NameNodeRPCServer class.

        Attachments

        1. hdfs-2197.txt
          146 kB
          Todd Lipcon
        2. hdfs-2197-2.txt
          153 kB
          Todd Lipcon
        3. hdfs-2197-3.txt
          154 kB
          Todd Lipcon
        4. hdfs-2197-4.txt
          154 kB
          Todd Lipcon
        5. hdfs-2197-trunk-final.txt
          154 kB
          Todd Lipcon

          Issue Links

            Activity

              People

              • Assignee:
                tlipcon Todd Lipcon
                Reporter:
                tlipcon Todd Lipcon
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: