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 "Colin Patrick McCabe (Created) (JIRA)" <ji...@apache.org> on 2012/04/05 20:08:22 UTC

[jira] [Created] (HDFS-3206) oev: correctly serialize SetOwner operations in which the user is not changed

oev: correctly serialize SetOwner operations in which the user is not changed
-----------------------------------------------------------------------------

                 Key: HDFS-3206
                 URL: https://issues.apache.org/jira/browse/HDFS-3206
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Colin Patrick McCabe
            Assignee: Colin Patrick McCabe
            Priority: Minor


SetOwner operations can change both the user and group which a file or directory belongs to, or just one of those.  Currently, in the XML serialization/deserialization code, we don't handle the case where just the group is set, not the user.  We should handle this case.

--
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-3206) Miscellaneous xml cleanups for OEV

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

Hudson commented on HDFS-3206:
------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #2118 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2118/])
    HDFS-3206. Miscellaneous xml cleanups for OEV. Contributed by Colin Patrick McCabe (Revision 1327768)

     Result = ABORTED
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1327768
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/server/namenode/FSEditLogOp.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/editsStored
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/editsStored.xml

                
> Miscellaneous xml cleanups for OEV
> ----------------------------------
>
>                 Key: HDFS-3206
>                 URL: https://issues.apache.org/jira/browse/HDFS-3206
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: tools
>    Affects Versions: 2.0.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-3206.001.patch, HDFS-3206.002.patch, HDFS-3206.003.patch, HDFS-3206.004.patch
>
>
> * SetOwner operations can change both the user and group which a file or directory belongs to, or just one of those.  Currently, in the XML serialization/deserialization code, we don't handle the case where just the group is set, not the user.  We should handle this case.
> * consistently serialize generation stamp as GENSTAMP.

--
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-3206) oev: correctly serialize SetOwner operations in which the user is not changed

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

Colin Patrick McCabe commented on HDFS-3206:
--------------------------------------------

also, formerly we had some operations serializing generation stamp as GENSTAMP, and some as GENERATION_STAMP.  The patch I posted makes it consistent.
                
> oev: correctly serialize SetOwner operations in which the user is not changed
> -----------------------------------------------------------------------------
>
>                 Key: HDFS-3206
>                 URL: https://issues.apache.org/jira/browse/HDFS-3206
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-3206.001.patch
>
>
> SetOwner operations can change both the user and group which a file or directory belongs to, or just one of those.  Currently, in the XML serialization/deserialization code, we don't handle the case where just the group is set, not the user.  We should handle this case.

--
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-3206) oev: miscellaneous xml cleanups

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

Colin Patrick McCabe updated HDFS-3206:
---------------------------------------

    Attachment: HDFS-3206.004.patch

* here's a patch with the binary part included.  Hopefully jenkins won't choke on it...
                
> oev: miscellaneous xml cleanups
> -------------------------------
>
>                 Key: HDFS-3206
>                 URL: https://issues.apache.org/jira/browse/HDFS-3206
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-3206.001.patch, HDFS-3206.002.patch, HDFS-3206.003.patch, HDFS-3206.004.patch
>
>
> * SetOwner operations can change both the user and group which a file or directory belongs to, or just one of those.  Currently, in the XML serialization/deserialization code, we don't handle the case where just the group is set, not the user.  We should handle this case.
> * consistently serialize generation stamp as GENSTAMP.

--
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-3206) oev: correctly serialize SetOwner operations in which the user is not changed

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

Colin Patrick McCabe updated HDFS-3206:
---------------------------------------

    Attachment: HDFS-3206.001.patch

* fix
                
> oev: correctly serialize SetOwner operations in which the user is not changed
> -----------------------------------------------------------------------------
>
>                 Key: HDFS-3206
>                 URL: https://issues.apache.org/jira/browse/HDFS-3206
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-3206.001.patch
>
>
> SetOwner operations can change both the user and group which a file or directory belongs to, or just one of those.  Currently, in the XML serialization/deserialization code, we don't handle the case where just the group is set, not the user.  We should handle this case.

--
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-3206) oev: miscellaneous xml cleanups

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

Colin Patrick McCabe commented on HDFS-3206:
--------------------------------------------

I just want to comment here that the test failure is the result of Jenkins not applying my binary diff.  I filed https://issues.apache.org/jira/browse/HADOOP-8291 in hopes the Jenkins will someday support binary diffs.
                
> oev: miscellaneous xml cleanups
> -------------------------------
>
>                 Key: HDFS-3206
>                 URL: https://issues.apache.org/jira/browse/HDFS-3206
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-3206.001.patch, HDFS-3206.002.patch, HDFS-3206.003.patch, HDFS-3206.004.patch
>
>
> * SetOwner operations can change both the user and group which a file or directory belongs to, or just one of those.  Currently, in the XML serialization/deserialization code, we don't handle the case where just the group is set, not the user.  We should handle this case.
> * consistently serialize generation stamp as GENSTAMP.

--
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-3206) oev: miscellaneous xml cleanups

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

Colin Patrick McCabe commented on HDFS-3206:
--------------------------------------------

Hi Bikras,

The edit log reflects changes to the image, not the contents of the image themselves.  It's a series of deltas.  So it is quite possible to have an OP_SET_OWNER that contains no user name, despite the fact that all files have an owning user associated with them.  It just means that at some point, someone changed the group in which the file resides, without changing the owner at the same time.
                
> oev: miscellaneous xml cleanups
> -------------------------------
>
>                 Key: HDFS-3206
>                 URL: https://issues.apache.org/jira/browse/HDFS-3206
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-3206.001.patch
>
>
> * SetOwner operations can change both the user and group which a file or directory belongs to, or just one of those.  Currently, in the XML serialization/deserialization code, we don't handle the case where just the group is set, not the user.  We should handle this case.
> * consistently serialize generation stamp as GENSTAMP.

--
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-3206) Miscellaneous xml cleanups for OEV

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

Eli Collins commented on HDFS-3206:
-----------------------------------

I've committed this and merged to branch-2.  Thanks Colin.
                
> Miscellaneous xml cleanups for OEV
> ----------------------------------
>
>                 Key: HDFS-3206
>                 URL: https://issues.apache.org/jira/browse/HDFS-3206
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: tools
>    Affects Versions: 2.0.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-3206.001.patch, HDFS-3206.002.patch, HDFS-3206.003.patch, HDFS-3206.004.patch
>
>
> * SetOwner operations can change both the user and group which a file or directory belongs to, or just one of those.  Currently, in the XML serialization/deserialization code, we don't handle the case where just the group is set, not the user.  We should handle this case.
> * consistently serialize generation stamp as GENSTAMP.

--
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-3206) oev: miscellaneous xml cleanups

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

Hadoop QA commented on HDFS-3206:
---------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12523033/HDFS-3206.003.patch
  against trunk revision .

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

    +1 tests included.  The patch appears to include 1 new or modified test files.

    +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 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +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.tools.offlineEditsViewer.TestOfflineEditsViewer

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

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

This message is automatically generated.
                
> oev: miscellaneous xml cleanups
> -------------------------------
>
>                 Key: HDFS-3206
>                 URL: https://issues.apache.org/jira/browse/HDFS-3206
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-3206.001.patch, HDFS-3206.002.patch, HDFS-3206.003.patch
>
>
> * SetOwner operations can change both the user and group which a file or directory belongs to, or just one of those.  Currently, in the XML serialization/deserialization code, we don't handle the case where just the group is set, not the user.  We should handle this case.
> * consistently serialize generation stamp as GENSTAMP.

--
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-3206) Miscellaneous xml cleanups for OEV

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

Eli Collins updated HDFS-3206:
------------------------------

          Component/s: tools
     Target Version/s: 2.0.0
    Affects Version/s: 2.0.0
           Issue Type: Improvement  (was: Bug)
         Hadoop Flags: Reviewed
              Summary: Miscellaneous xml cleanups for OEV  (was: oev: miscellaneous xml cleanups)

+1 looks good. The binary patch didn't apply for me so I generated the new editsStored via:

{code}
./bin/hdfs oev -i ~/src/hadoop-trunk1/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/editsStored.xml -o editsStored -p binary
{code}

and ran TestOfflineEditsViewer for sanity.
                
> Miscellaneous xml cleanups for OEV
> ----------------------------------
>
>                 Key: HDFS-3206
>                 URL: https://issues.apache.org/jira/browse/HDFS-3206
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: tools
>    Affects Versions: 2.0.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-3206.001.patch, HDFS-3206.002.patch, HDFS-3206.003.patch, HDFS-3206.004.patch
>
>
> * SetOwner operations can change both the user and group which a file or directory belongs to, or just one of those.  Currently, in the XML serialization/deserialization code, we don't handle the case where just the group is set, not the user.  We should handle this case.
> * consistently serialize generation stamp as GENSTAMP.

--
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-3206) oev: miscellaneous xml cleanups

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

Colin Patrick McCabe updated HDFS-3206:
---------------------------------------

    Description: 
* SetOwner operations can change both the user and group which a file or directory belongs to, or just one of those.  Currently, in the XML serialization/deserialization code, we don't handle the case where just the group is set, not the user.  We should handle this case.

* consistently serialize generation stamp as GENSTAMP.

  was:SetOwner operations can change both the user and group which a file or directory belongs to, or just one of those.  Currently, in the XML serialization/deserialization code, we don't handle the case where just the group is set, not the user.  We should handle this case.

        Summary: oev: miscellaneous xml cleanups  (was: oev: correctly serialize SetOwner operations in which the user is not changed)
    
> oev: miscellaneous xml cleanups
> -------------------------------
>
>                 Key: HDFS-3206
>                 URL: https://issues.apache.org/jira/browse/HDFS-3206
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-3206.001.patch
>
>
> * SetOwner operations can change both the user and group which a file or directory belongs to, or just one of those.  Currently, in the XML serialization/deserialization code, we don't handle the case where just the group is set, not the user.  We should handle this case.
> * consistently serialize generation stamp as GENSTAMP.

--
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-3206) oev: miscellaneous xml cleanups

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

Hadoop QA commented on HDFS-3206:
---------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12521538/HDFS-3206.001.patch
  against trunk revision .

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

    +1 tests included.  The patch appears to include 1 new or modified test files.

    +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 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +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.tools.offlineEditsViewer.TestOfflineEditsViewer
                  org.apache.hadoop.hdfs.server.namenode.ha.TestPipelinesFailover

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

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

This message is automatically generated.
                
> oev: miscellaneous xml cleanups
> -------------------------------
>
>                 Key: HDFS-3206
>                 URL: https://issues.apache.org/jira/browse/HDFS-3206
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-3206.001.patch
>
>
> * SetOwner operations can change both the user and group which a file or directory belongs to, or just one of those.  Currently, in the XML serialization/deserialization code, we don't handle the case where just the group is set, not the user.  We should handle this case.
> * consistently serialize generation stamp as GENSTAMP.

--
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-3206) oev: miscellaneous xml cleanups

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

Colin Patrick McCabe updated HDFS-3206:
---------------------------------------

    Attachment: HDFS-3206.003.patch
    
> oev: miscellaneous xml cleanups
> -------------------------------
>
>                 Key: HDFS-3206
>                 URL: https://issues.apache.org/jira/browse/HDFS-3206
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-3206.001.patch, HDFS-3206.002.patch, HDFS-3206.003.patch
>
>
> * SetOwner operations can change both the user and group which a file or directory belongs to, or just one of those.  Currently, in the XML serialization/deserialization code, we don't handle the case where just the group is set, not the user.  We should handle this case.
> * consistently serialize generation stamp as GENSTAMP.

--
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-3206) oev: miscellaneous xml cleanups

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

Hadoop QA commented on HDFS-3206:
---------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12523258/HDFS-3206.004.patch
  against trunk revision .

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

    +1 tests included.  The patch appears to include 1 new or modified test files.

    +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 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +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.tools.offlineEditsViewer.TestOfflineEditsViewer

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

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

This message is automatically generated.
                
> oev: miscellaneous xml cleanups
> -------------------------------
>
>                 Key: HDFS-3206
>                 URL: https://issues.apache.org/jira/browse/HDFS-3206
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-3206.001.patch, HDFS-3206.002.patch, HDFS-3206.003.patch, HDFS-3206.004.patch
>
>
> * SetOwner operations can change both the user and group which a file or directory belongs to, or just one of those.  Currently, in the XML serialization/deserialization code, we don't handle the case where just the group is set, not the user.  We should handle this case.
> * consistently serialize generation stamp as GENSTAMP.

--
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-3206) oev: miscellaneous xml cleanups

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

Hadoop QA commented on HDFS-3206:
---------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12521618/HDFS-3206.002.patch
  against trunk revision .

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

    +1 tests included.  The patch appears to include 1 new or modified test files.

    +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 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +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.tools.offlineEditsViewer.TestOfflineEditsViewer

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

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

This message is automatically generated.
                
> oev: miscellaneous xml cleanups
> -------------------------------
>
>                 Key: HDFS-3206
>                 URL: https://issues.apache.org/jira/browse/HDFS-3206
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-3206.001.patch, HDFS-3206.002.patch
>
>
> * SetOwner operations can change both the user and group which a file or directory belongs to, or just one of those.  Currently, in the XML serialization/deserialization code, we don't handle the case where just the group is set, not the user.  We should handle this case.
> * consistently serialize generation stamp as GENSTAMP.

--
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-3206) oev: miscellaneous xml cleanups

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

Bikas Saha commented on HDFS-3206:
----------------------------------

At a higher level, is it ok for no user owner to exist and only have a group owner?
The current XML code seems to imply that a user will always be there. If that is true, and this bug showed up then it implies some namenode code is broken because it allows ownership to be group only.

Aside from that, the XML serde code should not reflect namenode behavior. So the fix looks good.

                
> oev: miscellaneous xml cleanups
> -------------------------------
>
>                 Key: HDFS-3206
>                 URL: https://issues.apache.org/jira/browse/HDFS-3206
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-3206.001.patch
>
>
> * SetOwner operations can change both the user and group which a file or directory belongs to, or just one of those.  Currently, in the XML serialization/deserialization code, we don't handle the case where just the group is set, not the user.  We should handle this case.
> * consistently serialize generation stamp as GENSTAMP.

--
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-3206) Miscellaneous xml cleanups for OEV

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

Eli Collins updated HDFS-3206:
------------------------------

          Resolution: Fixed
       Fix Version/s: 2.0.0
    Target Version/s:   (was: 2.0.0)
              Status: Resolved  (was: Patch Available)
    
> Miscellaneous xml cleanups for OEV
> ----------------------------------
>
>                 Key: HDFS-3206
>                 URL: https://issues.apache.org/jira/browse/HDFS-3206
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: tools
>    Affects Versions: 2.0.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HDFS-3206.001.patch, HDFS-3206.002.patch, HDFS-3206.003.patch, HDFS-3206.004.patch
>
>
> * SetOwner operations can change both the user and group which a file or directory belongs to, or just one of those.  Currently, in the XML serialization/deserialization code, we don't handle the case where just the group is set, not the user.  We should handle this case.
> * consistently serialize generation stamp as GENSTAMP.

--
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-3206) oev: miscellaneous xml cleanups

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

Colin Patrick McCabe commented on HDFS-3206:
--------------------------------------------

I just want to comment here that the test failure is the result of Jenkins not applying my binary diff.  I filed https://issues.apache.org/jira/browse/HADOOP-8291 in hopes the Jenkins will someday support binary diffs.
                
> oev: miscellaneous xml cleanups
> -------------------------------
>
>                 Key: HDFS-3206
>                 URL: https://issues.apache.org/jira/browse/HDFS-3206
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-3206.001.patch, HDFS-3206.002.patch, HDFS-3206.003.patch, HDFS-3206.004.patch
>
>
> * SetOwner operations can change both the user and group which a file or directory belongs to, or just one of those.  Currently, in the XML serialization/deserialization code, we don't handle the case where just the group is set, not the user.  We should handle this case.
> * consistently serialize generation stamp as GENSTAMP.

--
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-3206) Miscellaneous xml cleanups for OEV

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

Hudson commented on HDFS-3206:
------------------------------

Integrated in Hadoop-Hdfs-trunk #1019 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1019/])
    HDFS-3206. Miscellaneous xml cleanups for OEV. Contributed by Colin Patrick McCabe (Revision 1327768)

     Result = FAILURE
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1327768
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/server/namenode/FSEditLogOp.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/editsStored
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/editsStored.xml

                
> Miscellaneous xml cleanups for OEV
> ----------------------------------
>
>                 Key: HDFS-3206
>                 URL: https://issues.apache.org/jira/browse/HDFS-3206
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: tools
>    Affects Versions: 2.0.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-3206.001.patch, HDFS-3206.002.patch, HDFS-3206.003.patch, HDFS-3206.004.patch
>
>
> * SetOwner operations can change both the user and group which a file or directory belongs to, or just one of those.  Currently, in the XML serialization/deserialization code, we don't handle the case where just the group is set, not the user.  We should handle this case.
> * consistently serialize generation stamp as GENSTAMP.

--
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-3206) oev: miscellaneous xml cleanups

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

Colin Patrick McCabe updated HDFS-3206:
---------------------------------------

    Attachment: HDFS-3206.002.patch

* put OP_END_LOG_SEGMENT at the end of the edit log, which it would be in a real edit log.
                
> oev: miscellaneous xml cleanups
> -------------------------------
>
>                 Key: HDFS-3206
>                 URL: https://issues.apache.org/jira/browse/HDFS-3206
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-3206.001.patch, HDFS-3206.002.patch
>
>
> * SetOwner operations can change both the user and group which a file or directory belongs to, or just one of those.  Currently, in the XML serialization/deserialization code, we don't handle the case where just the group is set, not the user.  We should handle this case.
> * consistently serialize generation stamp as GENSTAMP.

--
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-3206) Miscellaneous xml cleanups for OEV

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

Hudson commented on HDFS-3206:
------------------------------

Integrated in Hadoop-Mapreduce-trunk #1054 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1054/])
    HDFS-3206. Miscellaneous xml cleanups for OEV. Contributed by Colin Patrick McCabe (Revision 1327768)

     Result = SUCCESS
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1327768
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/server/namenode/FSEditLogOp.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/editsStored
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/editsStored.xml

                
> Miscellaneous xml cleanups for OEV
> ----------------------------------
>
>                 Key: HDFS-3206
>                 URL: https://issues.apache.org/jira/browse/HDFS-3206
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: tools
>    Affects Versions: 2.0.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-3206.001.patch, HDFS-3206.002.patch, HDFS-3206.003.patch, HDFS-3206.004.patch
>
>
> * SetOwner operations can change both the user and group which a file or directory belongs to, or just one of those.  Currently, in the XML serialization/deserialization code, we don't handle the case where just the group is set, not the user.  We should handle this case.
> * consistently serialize generation stamp as GENSTAMP.

--
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-3206) Miscellaneous xml cleanups for OEV

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

Hudson commented on HDFS-3206:
------------------------------

Integrated in Hadoop-Common-trunk-Commit #2101 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2101/])
    HDFS-3206. Miscellaneous xml cleanups for OEV. Contributed by Colin Patrick McCabe (Revision 1327768)

     Result = SUCCESS
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1327768
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/server/namenode/FSEditLogOp.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/editsStored
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/editsStored.xml

                
> Miscellaneous xml cleanups for OEV
> ----------------------------------
>
>                 Key: HDFS-3206
>                 URL: https://issues.apache.org/jira/browse/HDFS-3206
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: tools
>    Affects Versions: 2.0.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-3206.001.patch, HDFS-3206.002.patch, HDFS-3206.003.patch, HDFS-3206.004.patch
>
>
> * SetOwner operations can change both the user and group which a file or directory belongs to, or just one of those.  Currently, in the XML serialization/deserialization code, we don't handle the case where just the group is set, not the user.  We should handle this case.
> * consistently serialize generation stamp as GENSTAMP.

--
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-3206) oev: miscellaneous xml cleanups

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

Colin Patrick McCabe updated HDFS-3206:
---------------------------------------

    Status: Patch Available  (was: Open)
    
> oev: miscellaneous xml cleanups
> -------------------------------
>
>                 Key: HDFS-3206
>                 URL: https://issues.apache.org/jira/browse/HDFS-3206
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-3206.001.patch
>
>
> * SetOwner operations can change both the user and group which a file or directory belongs to, or just one of those.  Currently, in the XML serialization/deserialization code, we don't handle the case where just the group is set, not the user.  We should handle this case.
> * consistently serialize generation stamp as GENSTAMP.

--
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-3206) Miscellaneous xml cleanups for OEV

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

Hudson commented on HDFS-3206:
------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #2174 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2174/])
    HDFS-3206. Miscellaneous xml cleanups for OEV. Contributed by Colin Patrick McCabe (Revision 1327768)

     Result = SUCCESS
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1327768
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/server/namenode/FSEditLogOp.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/editsStored
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/editsStored.xml

                
> Miscellaneous xml cleanups for OEV
> ----------------------------------
>
>                 Key: HDFS-3206
>                 URL: https://issues.apache.org/jira/browse/HDFS-3206
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: tools
>    Affects Versions: 2.0.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-3206.001.patch, HDFS-3206.002.patch, HDFS-3206.003.patch, HDFS-3206.004.patch
>
>
> * SetOwner operations can change both the user and group which a file or directory belongs to, or just one of those.  Currently, in the XML serialization/deserialization code, we don't handle the case where just the group is set, not the user.  We should handle this case.
> * consistently serialize generation stamp as GENSTAMP.

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