You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Sherwood Zheng (JIRA)" <ji...@apache.org> on 2019/05/02 23:04:00 UTC

[jira] [Created] (HADOOP-16292) Refactor checkTrustAndSend in SaslDataTransferClient to make it cleaner

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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org