[ 
https://issues.apache.org/jira/browse/TEZ-1596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14181161#comment-14181161
 ] 

Rajesh Balamohan commented on TEZ-1596:
---------------------------------------

For every connection response, tez carries out a validate() and it internally 
uses generateByteHash as well.  So the fix would help both setupConnection() 
and validate().
{code}
SecureShuffleUtils.verifyReply(replyHash, encHash, jobTokenSecret);
{code}

> Secure Shuffle utils is extremely expensive for fast queries
> ------------------------------------------------------------
>
>                 Key: TEZ-1596
>                 URL: https://issues.apache.org/jira/browse/TEZ-1596
>             Project: Apache Tez
>          Issue Type: Bug
>    Affects Versions: 0.6.0
>            Reporter: Gopal V
>         Attachments: TEZ-1596.hack.patch, shuffle-secure-drilldown.png, 
> shuffle-secure.png
>
>
> Generating the hash for YARN's secure shuffle is more expensive than the 
> actual HTTP call once keep-alive is turned on.
> !shuffle-secure.png!



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

Reply via email to