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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: