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

Once RPC.stopClient has been called, RPC can not be used again

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

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.13.0
    • ipc
    • None

    Description

      Calls to RPC.stopClient render RPC subsequently unusable – at least until a reload of RPC class so static initializer has a chance to run again.

      I am trying to write unit tests for a little cluster built atop hadoop RPC class. Intent is to spin up the little cluster before each test is run. Post unit test, the cluster is torn down. Part of the takedown includes invocation of RPC.stopClient to clean up any outstanding connections, etc.

      I've found that when the second unit test runs, RPC Client is horked. The 'running' flag is false so Connections can't work and 'Connection Culler' is not running.

      Attachments

        1. hadoop1299.patch
          0.5 kB
          Michael Stack

        Activity

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

          People

            stack Michael Stack
            stack Michael Stack
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment