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 "Suresh Srinivas (Created) (JIRA)" <ji...@apache.org> on 2011/12/01 10:05:40 UTC

[jira] [Created] (HADOOP-7876) Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf

Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf
------------------------------------------------------------------------

                 Key: HADOOP-7876
                 URL: https://issues.apache.org/jira/browse/HADOOP-7876
             Project: Hadoop Common
          Issue Type: New Feature
          Components: ipc
            Reporter: Suresh Srinivas
            Assignee: Suresh Srinivas
             Fix For: 0.24.0


In order to support RPC over protobuf, the BlockKey needs to provide access to encoded key. The byte[] encoded key will be transported over protobuf as byte[], instead of SecretKey.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-7876) Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13162780#comment-13162780 ] 

Hudson commented on HADOOP-7876:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk #918 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/918/])
    HADOOP-7876. Provided access to encoded key in DelegationKey for use in protobuf based RPCs. Contributed by Suresh Srinivas.

suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1210320
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/DelegationKey.java

                
> Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-7876
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7876
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: ipc
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7876.txt, HADOOP-7876.txt, HADOOP-7876.txt, HADOOP-7876.txt
>
>
> In order to support RPC over protobuf, the BlockKey needs to provide access to encoded key. The byte[] encoded key will be transported over protobuf as byte[], instead of SecretKey.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-7876) Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf

Posted by "Suresh Srinivas (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas updated HADOOP-7876:
------------------------------------

    Attachment: HADOOP-7876.txt

Attached patch provides access to encoded key from DelegationKey.
                
> Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-7876
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7876
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: ipc
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7876.txt
>
>
> In order to support RPC over protobuf, the BlockKey needs to provide access to encoded key. The byte[] encoded key will be transported over protobuf as byte[], instead of SecretKey.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-7876) Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13162586#comment-13162586 ] 

Hudson commented on HADOOP-7876:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #1364 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1364/])
    HADOOP-7876. Provided access to encoded key in DelegationKey for use in protobuf based RPCs. Contributed by Suresh Srinivas.

suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1210320
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/DelegationKey.java

                
> Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-7876
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7876
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: ipc
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7876.txt, HADOOP-7876.txt, HADOOP-7876.txt, HADOOP-7876.txt
>
>
> In order to support RPC over protobuf, the BlockKey needs to provide access to encoded key. The byte[] encoded key will be transported over protobuf as byte[], instead of SecretKey.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-7876) Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf

Posted by "Suresh Srinivas (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas updated HADOOP-7876:
------------------------------------

    Attachment: HADOOP-7876.txt

Fixed getEncodeKey to getEncodedKey
                
> Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-7876
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7876
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: ipc
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7876.txt, HADOOP-7876.txt
>
>
> In order to support RPC over protobuf, the BlockKey needs to provide access to encoded key. The byte[] encoded key will be transported over protobuf as byte[], instead of SecretKey.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-7876) Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf

Posted by "Suresh Srinivas (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas updated HADOOP-7876:
------------------------------------

    Attachment: HADOOP-7876.txt

Updated patch.
                
> Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-7876
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7876
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: ipc
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7876.txt, HADOOP-7876.txt, HADOOP-7876.txt, HADOOP-7876.txt
>
>
> In order to support RPC over protobuf, the BlockKey needs to provide access to encoded key. The byte[] encoded key will be transported over protobuf as byte[], instead of SecretKey.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-7876) Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13160765#comment-13160765 ] 

Hadoop QA commented on HADOOP-7876:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12505742/HADOOP-7876.txt
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    -1 javadoc.  The javadoc tool appears to have generated 15 warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed unit tests in .

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/423//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/423//console

This message is automatically generated.
                
> Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-7876
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7876
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: ipc
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7876.txt
>
>
> In order to support RPC over protobuf, the BlockKey needs to provide access to encoded key. The byte[] encoded key will be transported over protobuf as byte[], instead of SecretKey.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-7876) Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf

Posted by "Suresh Srinivas (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas updated HADOOP-7876:
------------------------------------

      Resolution: Fixed
    Hadoop Flags: Reviewed
          Status: Resolved  (was: Patch Available)

Javadoc warning is unrelated. Test not added because, the patch adds just accessor. Committed the patch.
                
> Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-7876
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7876
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: ipc
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7876.txt, HADOOP-7876.txt, HADOOP-7876.txt, HADOOP-7876.txt
>
>
> In order to support RPC over protobuf, the BlockKey needs to provide access to encoded key. The byte[] encoded key will be transported over protobuf as byte[], instead of SecretKey.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-7876) Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13161345#comment-13161345 ] 

Hadoop QA commented on HADOOP-7876:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12505838/HADOOP-7876.txt
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    -1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/425//console

This message is automatically generated.
                
> Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-7876
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7876
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: ipc
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7876.txt, HADOOP-7876.txt, HADOOP-7876.txt
>
>
> In order to support RPC over protobuf, the BlockKey needs to provide access to encoded key. The byte[] encoded key will be transported over protobuf as byte[], instead of SecretKey.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-7876) Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf

Posted by "Tsz Wo (Nicholas), SZE (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-7876:
-------------------------------------------

    Fix Version/s: 0.23.3

I have merged this to 0.23.
                
> Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-7876
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7876
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: ipc
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.24.0, 0.23.3
>
>         Attachments: HADOOP-7876.txt, HADOOP-7876.txt, HADOOP-7876.txt, HADOOP-7876.txt
>
>
> In order to support RPC over protobuf, the BlockKey needs to provide access to encoded key. The byte[] encoded key will be transported over protobuf as byte[], instead of SecretKey.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-7876) Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13162758#comment-13162758 ] 

Hudson commented on HADOOP-7876:
--------------------------------

Integrated in Hadoop-Hdfs-trunk #885 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/885/])
    HADOOP-7876. Provided access to encoded key in DelegationKey for use in protobuf based RPCs. Contributed by Suresh Srinivas.

suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1210320
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/DelegationKey.java

                
> Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-7876
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7876
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: ipc
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7876.txt, HADOOP-7876.txt, HADOOP-7876.txt, HADOOP-7876.txt
>
>
> In order to support RPC over protobuf, the BlockKey needs to provide access to encoded key. The byte[] encoded key will be transported over protobuf as byte[], instead of SecretKey.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-7876) Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13162585#comment-13162585 ] 

Hudson commented on HADOOP-7876:
--------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #1438 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1438/])
    HADOOP-7876. Provided access to encoded key in DelegationKey for use in protobuf based RPCs. Contributed by Suresh Srinivas.

suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1210320
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/DelegationKey.java

                
> Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-7876
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7876
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: ipc
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7876.txt, HADOOP-7876.txt, HADOOP-7876.txt, HADOOP-7876.txt
>
>
> In order to support RPC over protobuf, the BlockKey needs to provide access to encoded key. The byte[] encoded key will be transported over protobuf as byte[], instead of SecretKey.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-7876) Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13161359#comment-13161359 ] 

Hadoop QA commented on HADOOP-7876:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12505841/HADOOP-7876.txt
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    -1 javadoc.  The javadoc tool appears to have generated 15 warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed unit tests in .

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/426//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/426//console

This message is automatically generated.
                
> Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-7876
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7876
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: ipc
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7876.txt, HADOOP-7876.txt, HADOOP-7876.txt, HADOOP-7876.txt
>
>
> In order to support RPC over protobuf, the BlockKey needs to provide access to encoded key. The byte[] encoded key will be transported over protobuf as byte[], instead of SecretKey.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-7876) Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf

Posted by "Suresh Srinivas (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas updated HADOOP-7876:
------------------------------------

    Attachment: HADOOP-7876.txt

Updated patch.
                
> Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-7876
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7876
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: ipc
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7876.txt, HADOOP-7876.txt, HADOOP-7876.txt
>
>
> In order to support RPC over protobuf, the BlockKey needs to provide access to encoded key. The byte[] encoded key will be transported over protobuf as byte[], instead of SecretKey.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-7876) Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13160779#comment-13160779 ] 

Hadoop QA commented on HADOOP-7876:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12505745/HADOOP-7876.txt
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    -1 javadoc.  The javadoc tool appears to have generated 15 warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed unit tests in .

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/424//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/424//console

This message is automatically generated.
                
> Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-7876
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7876
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: ipc
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7876.txt, HADOOP-7876.txt
>
>
> In order to support RPC over protobuf, the BlockKey needs to provide access to encoded key. The byte[] encoded key will be transported over protobuf as byte[], instead of SecretKey.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-7876) Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf

Posted by "Suresh Srinivas (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas updated HADOOP-7876:
------------------------------------

    Status: Patch Available  (was: Open)
    
> Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-7876
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7876
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: ipc
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7876.txt
>
>
> In order to support RPC over protobuf, the BlockKey needs to provide access to encoded key. The byte[] encoded key will be transported over protobuf as byte[], instead of SecretKey.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-7876) Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf

Posted by "Jitendra Nath Pandey (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13161350#comment-13161350 ] 

Jitendra Nath Pandey commented on HADOOP-7876:
----------------------------------------------

+1
                
> Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-7876
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7876
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: ipc
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7876.txt, HADOOP-7876.txt, HADOOP-7876.txt, HADOOP-7876.txt
>
>
> In order to support RPC over protobuf, the BlockKey needs to provide access to encoded key. The byte[] encoded key will be transported over protobuf as byte[], instead of SecretKey.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-7876) Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13162599#comment-13162599 ] 

Hudson commented on HADOOP-7876:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #1389 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1389/])
    HADOOP-7876. Provided access to encoded key in DelegationKey for use in protobuf based RPCs. Contributed by Suresh Srinivas.

suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1210320
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/DelegationKey.java

                
> Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-7876
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7876
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: ipc
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7876.txt, HADOOP-7876.txt, HADOOP-7876.txt, HADOOP-7876.txt
>
>
> In order to support RPC over protobuf, the BlockKey needs to provide access to encoded key. The byte[] encoded key will be transported over protobuf as byte[], instead of SecretKey.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-7876) Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf

Posted by "Jitendra Nath Pandey (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13161150#comment-13161150 ] 

Jitendra Nath Pandey commented on HADOOP-7876:
----------------------------------------------

# Please change the existing constructor to use the new constructor.
# Javadoc for public methods.
                
> Allow access to BlockKey/DelegationKey endoded key for RPC over protobuf
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-7876
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7876
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: ipc
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7876.txt, HADOOP-7876.txt
>
>
> In order to support RPC over protobuf, the BlockKey needs to provide access to encoded key. The byte[] encoded key will be transported over protobuf as byte[], instead of SecretKey.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira