hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-7008) xlator should be closed upon exit from DFSAdmin#genericRefresh()
Date Fri, 05 Sep 2014 23:44:29 GMT
Ted Yu created HDFS-7008:
----------------------------

             Summary: xlator should be closed upon exit from DFSAdmin#genericRefresh()
                 Key: HDFS-7008
                 URL: https://issues.apache.org/jira/browse/HDFS-7008
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


{code}
    GenericRefreshProtocol xlator =
      new GenericRefreshProtocolClientSideTranslatorPB(proxy);

    // Refresh
    Collection<RefreshResponse> responses = xlator.refresh(identifier, args);
{code}
GenericRefreshProtocolClientSideTranslatorPB#close() should be called on xlator before return.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message