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

James Clampffer commented on HDFS-9738:
---------------------------------------

Code looks good, any idea what's causing those maven dependency ordering 
warnings?

I think now could be a good time to add a comment to PrepateHandshakePacket 
describing the rpc wire protocol since it looks like authentication will 
eventually need to modify the header.  Comment text stolen from Client.java

{code}
    /**
     * Write the connection header - this is sent when connection is established
     * +----------------------------------+
     * |  "hrpc" 4 bytes                  |      
     * +----------------------------------+
     * |  Version (1 byte)                |
     * +----------------------------------+
     * |  Service Class (1 byte)          |
     * +----------------------------------+
     * |  AuthProtocol (1 byte)           |      
     * +----------------------------------+
     */
{code}

> libhdfs++: Implement simple authentication
> ------------------------------------------
>
>                 Key: HDFS-9738
>                 URL: https://issues.apache.org/jira/browse/HDFS-9738
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client
>            Reporter: Bob Hansen
>            Assignee: Bob Hansen
>         Attachments: HDFS-9738.HDFS-8707.000.patch, 
> HDFS-9738.HDFS-8707.001.patch
>
>
> Support public APIs to pass in a username and accept authN and authZ 
> responses from the server.



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

Reply via email to