You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Sanjay Radia (Created) (JIRA)" <ji...@apache.org> on 2011/10/20 18:59:10 UTC

[jira] [Created] (HDFS-2479) HDFS Client Data Types in Protocol Buffers

HDFS Client Data Types in Protocol Buffers
------------------------------------------

                 Key: HDFS-2479
                 URL: https://issues.apache.org/jira/browse/HDFS-2479
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Sanjay Radia
            Assignee: Sanjay Radia




--
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] (HDFS-2479) HDFS Client Data Types in Protocol Buffers

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

Sanjay Radia commented on HDFS-2479:
------------------------------------

Tests runs fine for me
Running org.apache.hadoop.hdfs.TestFSInputChecker
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.542 sec
Running org.apache.hadoop.tools.TestJMXGet
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.941 sec
Running org.apache.hadoop.hdfs.TestSmallBlock
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.209 sec
Running org.apache.hadoop.hdfs.TestListPathServlet
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.34 sec
Running org.apache.hadoop.cli.TestHDFSCLI
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 66.918 sec
Running org.apache.hadoop.security.TestRefreshUserMappings
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.788 sec
Running org.apache.hadoop.hdfs.TestFileCreationClient
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.487 sec
Running org.apache.hadoop.security.TestPermission
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.289 sec
Running org.apache.hadoop.hdfs.TestSetrepDecreasing
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.13 sec

TestHftpFileSystem a failure due to locking

                
> HDFS Client Data Types in Protocol Buffers
> ------------------------------------------
>
>                 Key: HDFS-2479
>                 URL: https://issues.apache.org/jira/browse/HDFS-2479
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>         Attachments: hdfs.proto, hdfs.proto, hdfs.proto, pbClientTypes1.patch, pbClientTypes2.patch, pbClientTypes3.patch, pbClientTypes4.patch, pbClientTypes5.patch
>
>


--
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] (HDFS-2479) HDFS Client Data Types in Protocol Buffers

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

Hudson commented on HDFS-2479:
------------------------------

Integrated in Hadoop-Mapreduce-trunk #875 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/875/])
    HDFS-2479 HDFS Client Data Types in Protocol Buffers (sanjay)

sradia : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190127
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/HdfsProtoUtil.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/proto/HdfsProtos.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/proto/hdfs.proto

                
> HDFS Client Data Types in Protocol Buffers
> ------------------------------------------
>
>                 Key: HDFS-2479
>                 URL: https://issues.apache.org/jira/browse/HDFS-2479
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>         Attachments: hdfs.proto, hdfs.proto, hdfs.proto, pbClientTypes1.patch, pbClientTypes2.patch, pbClientTypes3.patch, pbClientTypes4.patch, pbClientTypes5.patch
>
>


--
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] (HDFS-2479) HDFS Client Data Types in Protocol Buffers

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

Tsz Wo (Nicholas), SZE updated HDFS-2479:
-----------------------------------------

    Fix Version/s: 0.24.0
    
> HDFS Client Data Types in Protocol Buffers
> ------------------------------------------
>
>                 Key: HDFS-2479
>                 URL: https://issues.apache.org/jira/browse/HDFS-2479
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>             Fix For: 0.24.0, 0.23.3
>
>         Attachments: hdfs.proto, hdfs.proto, hdfs.proto, pbClientTypes1.patch, pbClientTypes2.patch, pbClientTypes3.patch, pbClientTypes4.patch, pbClientTypes5.patch
>
>


--
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] (HDFS-2479) HDFS Client Data Types in Protocol Buffers

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

Hudson commented on HDFS-2479:
------------------------------

Integrated in Hadoop-Hdfs-trunk #846 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/846/])
    HDFS-2479 HDFS Client Data Types in Protocol Buffers (sanjay)

sradia : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190127
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/HdfsProtoUtil.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/proto/HdfsProtos.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/proto/hdfs.proto

                
> HDFS Client Data Types in Protocol Buffers
> ------------------------------------------
>
>                 Key: HDFS-2479
>                 URL: https://issues.apache.org/jira/browse/HDFS-2479
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>         Attachments: hdfs.proto, hdfs.proto, hdfs.proto, pbClientTypes1.patch, pbClientTypes2.patch, pbClientTypes3.patch, pbClientTypes4.patch, pbClientTypes5.patch
>
>


--
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] (HDFS-2479) HDFS Client Data Types in Protocol Buffers

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

Sanjay Radia commented on HDFS-2479:
------------------------------------

The failures are unrelated to the patch.
                
> HDFS Client Data Types in Protocol Buffers
> ------------------------------------------
>
>                 Key: HDFS-2479
>                 URL: https://issues.apache.org/jira/browse/HDFS-2479
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>         Attachments: hdfs.proto, hdfs.proto, hdfs.proto, pbClientTypes1.patch, pbClientTypes2.patch, pbClientTypes3.patch, pbClientTypes4.patch, pbClientTypes5.patch
>
>


--
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] (HDFS-2479) HDFS Client Data Types in Protocol Buffers

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

Sanjay Radia updated HDFS-2479:
-------------------------------

    Status: Open  (was: Patch Available)
    
> HDFS Client Data Types in Protocol Buffers
> ------------------------------------------
>
>                 Key: HDFS-2479
>                 URL: https://issues.apache.org/jira/browse/HDFS-2479
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>         Attachments: hdfs.proto, hdfs.proto, hdfs.proto, pbClientTypes1.patch, pbClientTypes2.patch, pbClientTypes3.patch, pbClientTypes4.patch, pbClientTypes5.patch
>
>


--
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] (HDFS-2479) HDFS Client Data Types in Protocol Buffers

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

Sanjay Radia updated HDFS-2479:
-------------------------------

    Attachment: hdfs.proto

For convenience here is the .proto file (note this is not a new file, i have simply added some new types).
                
> HDFS Client Data Types in Protocol Buffers
> ------------------------------------------
>
>                 Key: HDFS-2479
>                 URL: https://issues.apache.org/jira/browse/HDFS-2479
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>         Attachments: hdfs.proto, pbClientTypes1.patch
>
>


--
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] (HDFS-2479) HDFS Client Data Types in Protocol Buffers

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

Hudson commented on HDFS-2479:
------------------------------

Integrated in Hadoop-Common-trunk-Commit #1182 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1182/])
    HDFS-2479 HDFS Client Data Types in Protocol Buffers (sanjay)

sradia : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190127
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/HdfsProtoUtil.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/proto/HdfsProtos.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/proto/hdfs.proto

                
> HDFS Client Data Types in Protocol Buffers
> ------------------------------------------
>
>                 Key: HDFS-2479
>                 URL: https://issues.apache.org/jira/browse/HDFS-2479
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>         Attachments: hdfs.proto, hdfs.proto, hdfs.proto, pbClientTypes1.patch, pbClientTypes2.patch, pbClientTypes3.patch, pbClientTypes4.patch, pbClientTypes5.patch
>
>


--
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] (HDFS-2479) HDFS Client Data Types in Protocol Buffers

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

Sanjay Radia updated HDFS-2479:
-------------------------------

    Attachment: hdfs.proto
                pbClientTypes3.patch
    
> HDFS Client Data Types in Protocol Buffers
> ------------------------------------------
>
>                 Key: HDFS-2479
>                 URL: https://issues.apache.org/jira/browse/HDFS-2479
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>         Attachments: hdfs.proto, hdfs.proto, hdfs.proto, pbClientTypes1.patch, pbClientTypes2.patch, pbClientTypes3.patch
>
>


--
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] (HDFS-2479) HDFS Client Data Types in Protocol Buffers

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

Sanjay Radia updated HDFS-2479:
-------------------------------

    Attachment: pbClientTypes4.patch
    
> HDFS Client Data Types in Protocol Buffers
> ------------------------------------------
>
>                 Key: HDFS-2479
>                 URL: https://issues.apache.org/jira/browse/HDFS-2479
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>         Attachments: hdfs.proto, hdfs.proto, hdfs.proto, pbClientTypes1.patch, pbClientTypes2.patch, pbClientTypes3.patch, pbClientTypes4.patch
>
>


--
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] (HDFS-2479) HDFS Client Data Types in Protocol Buffers

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

Sanjay Radia updated HDFS-2479:
-------------------------------

    Status: Open  (was: Patch Available)
    
> HDFS Client Data Types in Protocol Buffers
> ------------------------------------------
>
>                 Key: HDFS-2479
>                 URL: https://issues.apache.org/jira/browse/HDFS-2479
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>         Attachments: hdfs.proto, hdfs.proto, hdfs.proto, pbClientTypes1.patch, pbClientTypes2.patch, pbClientTypes3.patch, pbClientTypes4.patch, pbClientTypes5.patch
>
>


--
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] (HDFS-2479) HDFS Client Data Types in Protocol Buffers

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

Hudson commented on HDFS-2479:
------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #1259 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1259/])
    HDFS-2479 HDFS Client Data Types in Protocol Buffers (sanjay)

sradia : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190127
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/HdfsProtoUtil.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/proto/HdfsProtos.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/proto/hdfs.proto

                
> HDFS Client Data Types in Protocol Buffers
> ------------------------------------------
>
>                 Key: HDFS-2479
>                 URL: https://issues.apache.org/jira/browse/HDFS-2479
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>         Attachments: hdfs.proto, hdfs.proto, hdfs.proto, pbClientTypes1.patch, pbClientTypes2.patch, pbClientTypes3.patch, pbClientTypes4.patch, pbClientTypes5.patch
>
>


--
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] (HDFS-2479) HDFS Client Data Types in Protocol Buffers

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

Suresh Srinivas commented on HDFS-2479:
---------------------------------------

+1 for the patch.

Minor comments:
# There are some tab files, some extra spaces. It would also be good to have all the members of message ordered numerically.
# UpgradeStatusReportProto is missing documentation
# I am not sure what this comment means {{  required uint64 numBytes = 3; // for historical reasons - doesn't belong here}}
                
> HDFS Client Data Types in Protocol Buffers
> ------------------------------------------
>
>                 Key: HDFS-2479
>                 URL: https://issues.apache.org/jira/browse/HDFS-2479
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>         Attachments: hdfs.proto, hdfs.proto, hdfs.proto, pbClientTypes1.patch, pbClientTypes2.patch, pbClientTypes3.patch, pbClientTypes4.patch
>
>


--
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] (HDFS-2479) HDFS Client Data Types in Protocol Buffers

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

Tsz Wo (Nicholas), SZE updated HDFS-2479:
-----------------------------------------

    Fix Version/s: 0.23.3

I have merged this to 0.23.
                
> HDFS Client Data Types in Protocol Buffers
> ------------------------------------------
>
>                 Key: HDFS-2479
>                 URL: https://issues.apache.org/jira/browse/HDFS-2479
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>             Fix For: 0.24.0, 0.23.3
>
>         Attachments: hdfs.proto, hdfs.proto, hdfs.proto, pbClientTypes1.patch, pbClientTypes2.patch, pbClientTypes3.patch, pbClientTypes4.patch, pbClientTypes5.patch
>
>


--
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] (HDFS-2479) HDFS Client Data Types in Protocol Buffers

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

Sanjay Radia updated HDFS-2479:
-------------------------------

    Status: Patch Available  (was: Open)
    
> HDFS Client Data Types in Protocol Buffers
> ------------------------------------------
>
>                 Key: HDFS-2479
>                 URL: https://issues.apache.org/jira/browse/HDFS-2479
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>         Attachments: hdfs.proto, hdfs.proto, hdfs.proto, pbClientTypes1.patch, pbClientTypes2.patch, pbClientTypes3.patch, pbClientTypes4.patch
>
>


--
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] (HDFS-2479) HDFS Client Data Types in Protocol Buffers

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

Sanjay Radia updated HDFS-2479:
-------------------------------

    Attachment: pbClientTypes1.patch

Early patch of pb types. Note:
* I have made some of the fields of HdfsFileStatus to be optional since they only apply to a file. Thoughts?
* Rather than define a new HdfsLocatedFileStatus (as done with writables), I made locations  optional. Thoughts?
                
> HDFS Client Data Types in Protocol Buffers
> ------------------------------------------
>
>                 Key: HDFS-2479
>                 URL: https://issues.apache.org/jira/browse/HDFS-2479
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>         Attachments: pbClientTypes1.patch
>
>


--
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] (HDFS-2479) HDFS Client Data Types in Protocol Buffers

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

Sanjay Radia updated HDFS-2479:
-------------------------------

    Status: Patch Available  (was: Open)
    
> HDFS Client Data Types in Protocol Buffers
> ------------------------------------------
>
>                 Key: HDFS-2479
>                 URL: https://issues.apache.org/jira/browse/HDFS-2479
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>         Attachments: hdfs.proto, hdfs.proto, hdfs.proto, pbClientTypes1.patch, pbClientTypes2.patch, pbClientTypes3.patch, pbClientTypes4.patch, pbClientTypes5.patch
>
>


--
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] (HDFS-2479) HDFS Client Data Types in Protocol Buffers

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

Sanjay Radia updated HDFS-2479:
-------------------------------

    Status: Patch Available  (was: Open)
    
> HDFS Client Data Types in Protocol Buffers
> ------------------------------------------
>
>                 Key: HDFS-2479
>                 URL: https://issues.apache.org/jira/browse/HDFS-2479
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>         Attachments: hdfs.proto, hdfs.proto, hdfs.proto, pbClientTypes1.patch, pbClientTypes2.patch, pbClientTypes3.patch, pbClientTypes4.patch, pbClientTypes5.patch
>
>


--
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] (HDFS-2479) HDFS Client Data Types in Protocol Buffers

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

Hadoop QA commented on HDFS-2479:
---------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12500782/pbClientTypes4.patch
  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 did not generate any 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 failed these unit tests:
                  org.apache.hadoop.hdfs.TestFSInputChecker
                  org.apache.hadoop.tools.TestJMXGet
                  org.apache.hadoop.hdfs.TestHDFSTrash
                  org.apache.hadoop.hdfs.TestSmallBlock
                  org.apache.hadoop.hdfs.TestListPathServlet
                  org.apache.hadoop.cli.TestHDFSCLI
                  org.apache.hadoop.security.TestRefreshUserMappings
                  org.apache.hadoop.hdfs.TestFileCreationClient
                  org.apache.hadoop.security.TestPermission
                  org.apache.hadoop.hdfs.TestHftpFileSystem
                  org.apache.hadoop.hdfs.TestSetrepIncreasing

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

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

This message is automatically generated.
                
> HDFS Client Data Types in Protocol Buffers
> ------------------------------------------
>
>                 Key: HDFS-2479
>                 URL: https://issues.apache.org/jira/browse/HDFS-2479
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>         Attachments: hdfs.proto, hdfs.proto, hdfs.proto, pbClientTypes1.patch, pbClientTypes2.patch, pbClientTypes3.patch, pbClientTypes4.patch
>
>


--
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] (HDFS-2479) HDFS Client Data Types in Protocol Buffers

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

Sanjay Radia updated HDFS-2479:
-------------------------------

    Attachment: hdfs.proto
                pbClientTypes2.patch
    
> HDFS Client Data Types in Protocol Buffers
> ------------------------------------------
>
>                 Key: HDFS-2479
>                 URL: https://issues.apache.org/jira/browse/HDFS-2479
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>         Attachments: hdfs.proto, hdfs.proto, pbClientTypes1.patch, pbClientTypes2.patch
>
>


--
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] (HDFS-2479) HDFS Client Data Types in Protocol Buffers

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

Sanjay Radia updated HDFS-2479:
-------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)
    
> HDFS Client Data Types in Protocol Buffers
> ------------------------------------------
>
>                 Key: HDFS-2479
>                 URL: https://issues.apache.org/jira/browse/HDFS-2479
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>         Attachments: hdfs.proto, hdfs.proto, hdfs.proto, pbClientTypes1.patch, pbClientTypes2.patch, pbClientTypes3.patch, pbClientTypes4.patch, pbClientTypes5.patch
>
>


--
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] (HDFS-2479) HDFS Client Data Types in Protocol Buffers

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

Hudson commented on HDFS-2479:
------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #1200 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1200/])
    HDFS-2479 HDFS Client Data Types in Protocol Buffers (sanjay)

sradia : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190127
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/HdfsProtoUtil.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/proto/HdfsProtos.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/proto/hdfs.proto

                
> HDFS Client Data Types in Protocol Buffers
> ------------------------------------------
>
>                 Key: HDFS-2479
>                 URL: https://issues.apache.org/jira/browse/HDFS-2479
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>         Attachments: hdfs.proto, hdfs.proto, hdfs.proto, pbClientTypes1.patch, pbClientTypes2.patch, pbClientTypes3.patch, pbClientTypes4.patch, pbClientTypes5.patch
>
>


--
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] (HDFS-2479) HDFS Client Data Types in Protocol Buffers

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

Sanjay Radia updated HDFS-2479:
-------------------------------

    Attachment: pbClientTypes5.patch

Update patch that addresses Suresh's feedback.
                
> HDFS Client Data Types in Protocol Buffers
> ------------------------------------------
>
>                 Key: HDFS-2479
>                 URL: https://issues.apache.org/jira/browse/HDFS-2479
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>         Attachments: hdfs.proto, hdfs.proto, hdfs.proto, pbClientTypes1.patch, pbClientTypes2.patch, pbClientTypes3.patch, pbClientTypes4.patch, pbClientTypes5.patch
>
>


--
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] (HDFS-2479) HDFS Client Data Types in Protocol Buffers

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

Sanjay Radia commented on HDFS-2479:
------------------------------------

Another option is to create a new type for HdfsLocatedFileStatus as
{code}
HdfsLocatedFileStatusProto {
  HdfsFileStatusProto fs = 1;
  LocatedBlocksProto locations = 2;
}
{code}
  
                
> HDFS Client Data Types in Protocol Buffers
> ------------------------------------------
>
>                 Key: HDFS-2479
>                 URL: https://issues.apache.org/jira/browse/HDFS-2479
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>         Attachments: hdfs.proto, pbClientTypes1.patch
>
>


--
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