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

http server should die if the Datanode fails.

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.5.0
    • 0.9.0
    • None
    • None

    Description

      HADOOP-375 changed the order in which a data node registers and starts its http server.
      Current version first starts the http server, then registers. As a result if the registration fails,
      which can happen e.g. if the datanode has illegal storage id (=does not belong to the cluster),
      the http server keeps running, which makes the data node seem running too.
      I think 2 things need to be done.
      1) Datanode registration should precede the http server startup.
      2) The http server should shutdown when the datanode fails (in general).
      I am attaching a patch for the first item.
      Does anybody know how the latter can be done in the version of jetty we are on now?

      Attachments

        1. hadoop-430.patch
          0.7 kB
          Wendy Chien

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            wchien Wendy Chien
            shv Konstantin Shvachko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment