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

ipc.Client.setupIOstreams() needs to check for ClientCache.stopClient requested shutdowns

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0, 2.6.0
    • 2.10.0, 3.2.0, 2.9.2, 3.0.4, 3.1.2
    • ipc
    • None

    Description

      When ClientCache.stopClient() is called to stop the IPC client, if the client
      is blocked spinning due to a connectivity problem, it does not exit until the policy has timed out -so the stopClient() operation can hang for an extended period of time.

      This can surface in the shutdown hook of FileSystem.cache.closeAll()

      Also, Client.stop() is for used in NN switch from Standby to Active, and can therefore have very bad consequences and cause downtime.

      Attachments

        1. HADOOP-10219-branch-2.000.patch
          5 kB
          Lukas Majercak
        2. HADOOP-10219.v4.patch
          5 kB
          Lukas Majercak
        3. HADOOP-10219.v3.patch
          5 kB
          Lukas Majercak
        4. HADOOP-10219.v2.patch
          4 kB
          Lukas Majercak
        5. HADOOP-10219.v1.patch
          2 kB
          Kihwal Lee
        6. HADOOP-10219.patch
          3 kB
          Kihwal Lee

        Issue Links

        Activity

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

          People

            kihwal Kihwal Lee
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment