Sherwood Zheng created HADOOP-16292:
---------------------------------------

             Summary: Refactor checkTrustAndSend in SaslDataTransferClient to 
make it cleaner  
                 Key: HADOOP-16292
                 URL: https://issues.apache.org/jira/browse/HADOOP-16292
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: Sherwood Zheng
            Assignee: Sherwood Zheng


Right now

private IOStreamPair checkTrustAndSend(InetAddress addr,
 OutputStream underlyingOut, InputStream underlyingIn,
 DataEncryptionKeyFactory encryptionKeyFactory,
 Token<BlockTokenIdentifier> accessToken, DatanodeID datanodeId)

only provide an API without secretKey paramter for 

checkTrustAndSend(
 InetAddress addr, OutputStream underlyingOut, InputStream underlyingIn,
 DataEncryptionKeyFactory encryptionKeyFactory,
 Token<BlockTokenIdentifier> accessToken, DatanodeID datanodeId,
 SecretKey secretKey)

Remove the former API to make it cleaner



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to