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

Move http server from FSNamesystem into NameNode.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.1.0
    • 0.20.0
    • None
    • None
    • Incompatible change, Reviewed
    • Hide
      Moved HTTP server from FSNameSystem to NameNode. Removed FSNamesystem.getNameNodeInfoPort(). Replaced FSNamesystem.getDFSNameNodeMachine() and FSNamesystem.getDFSNameNodePort() with new method FSNamesystem.getDFSNameNodeAddress(). Removed constructor NameNode(bindAddress, conf).
      Show
      Moved HTTP server from FSNameSystem to NameNode. Removed FSNamesystem.getNameNodeInfoPort(). Replaced FSNamesystem.getDFSNameNodeMachine() and FSNamesystem.getDFSNameNodePort() with new method FSNamesystem.getDFSNameNodeAddress(). Removed constructor NameNode(bindAddress, conf).

    Description

      NameNode is responsible now for starting its RPC server. The (web UI) http server is started inside FSNamesystem class.
      I think it should be the NameNode's responsibility to deal with all issues intended for exposing information it holds to the outside world. This should include the RCP server as well as the http server.
      And FSNamesystem class should be a logical container of internal namespace data-structures and in general should not be accessed directly from the outside.

      Attachments

        1. MoveHttpServer.patch
          24 kB
          Konstantin Shvachko
        2. MoveHttpServer.patch
          24 kB
          Konstantin Shvachko
        3. MoveHttpServer.patch
          24 kB
          Konstantin Shvachko

        Activity

          People

            shv Konstantin Shvachko
            shv Konstantin Shvachko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: