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

xlator should be closed upon exit from DFSAdmin#genericRefresh()

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

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.7.0
    • None
    • None
    • Reviewed

    Description

          GenericRefreshProtocol xlator =
            new GenericRefreshProtocolClientSideTranslatorPB(proxy);
      
          // Refresh
          Collection<RefreshResponse> responses = xlator.refresh(identifier, args);
      

      GenericRefreshProtocolClientSideTranslatorPB#close() should be called on xlator before return.

      Attachments

        1. HDFS-7008.1.patch
          2 kB
          Tsuyoshi Ozawa
        2. HDFS-7008.2.patch
          2 kB
          Tsuyoshi Ozawa

        Issue Links

        Activity

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

          People

            ozawa Tsuyoshi Ozawa
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment