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

Daryn Sharp commented on HADOOP-9421:
-------------------------------------

I think I may be able to make everyone happy, by actually reducing the current 
message exchange for tokens.

Current flow:
{noformat}
1: C -> S connectionHeader
2: C -> S TOKEN sasl:null
3: C <- S TOKEN sasl:token-challenge
4: C -> S TOKEN sasl:token-response
...
{noformat}

Patch flow:
{noformat}
1  : C -> S connectionHeader
1.1: C <- S [TOKEN, KERBEROS] sasl:null
2  : C -> S TOKEN sasl:null
3  : C <- S TOKEN sasl:token-challenge
4  : C -> S TOKEN sasl:token-response
...
{noformat}

How about:
{noformat}
1  : C -> S connectionHeader
1.1: C <- S [TOKEN, KERBEROS] sasl:token-challenge
4  : C -> S TOKEN sasl:token-response
...
{noformat}

I'm testing to see if this will work.
                
> Convert SASL to use ProtoBuf and add lengths for non-blocking processing
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-9421
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9421
>             Project: Hadoop Common
>          Issue Type: Sub-task
>    Affects Versions: 2.0.3-alpha
>            Reporter: Sanjay Radia
>            Assignee: Daryn Sharp
>            Priority: Blocker
>         Attachments: HADOOP-9421.patch, HADOOP-9421.patch, HADOOP-9421.patch, 
> HADOOP-9421.patch, HADOOP-9421-v2-demo.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to