You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Ravi Phulari (JIRA)" <ji...@apache.org> on 2009/05/29 21:30:46 UTC

[jira] Created: (HADOOP-5942) Chown , chgrp , chmod operations allowed when namenode is in safemode .

Chown , chgrp , chmod operations allowed when namenode is in safemode .
-----------------------------------------------------------------------

                 Key: HADOOP-5942
                 URL: https://issues.apache.org/jira/browse/HADOOP-5942
             Project: Hadoop Core
          Issue Type: Bug
          Components: dfs
    Affects Versions: 0.20.0, 0.19.1, 0.19.0, 0.18.3, 0.18.2, 0.18.1, 0.18.0, 0.17.2, 0.17.1, 0.17.0, 0.16.4, 0.16.3, 0.16.2, 0.16.1, 0.16.0, 0.15.3, 0.15.2, 0.15.1, 0.15.0
            Reporter: Ravi Phulari
             Fix For: 0.20.0, 0.19.1, 0.19.0, 0.18.3


Chown , chgrp , chmod operations allowed when namenode is in safemode .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5942) Chown , chgrp , chmod operations allowed when namenode is in safemode .

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

Ravi Phulari updated HADOOP-5942:
---------------------------------

    Status: Patch Available  (was: Open)

> Chown , chgrp , chmod operations allowed when namenode is in safemode .
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5942
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.20.0, 0.19.1, 0.19.0, 0.18.3, 0.18.2, 0.18.1, 0.18.0, 0.17.2, 0.17.1, 0.17.0, 0.16.4, 0.16.3, 0.16.2, 0.16.1, 0.16.0, 0.15.3, 0.15.2, 0.15.1, 0.15.0
>            Reporter: Ravi Phulari
>            Assignee: Ravi Phulari
>             Fix For: 0.20.0, 0.19.1, 0.19.0, 0.18.3
>
>         Attachments: HADOOP-5942v2.patch
>
>
> Chown , chgrp , chmod operations allowed when namenode is in safemode .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5942) Chown , chgrp , chmod operations allowed when namenode is in safemode .

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

Ravi Phulari updated HADOOP-5942:
---------------------------------

    Attachment:     (was: HADOOP-5942.patch)

> Chown , chgrp , chmod operations allowed when namenode is in safemode .
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5942
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.16.4, 0.17.0, 0.17.1, 0.17.2, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.19.0, 0.19.1, 0.20.0
>            Reporter: Ravi Phulari
>            Assignee: Ravi Phulari
>             Fix For: 0.18.3, 0.19.0, 0.19.1, 0.20.0
>
>         Attachments: HADOOP-5942v2.patch
>
>
> Chown , chgrp , chmod operations allowed when namenode is in safemode .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5942) Chown , chgrp , chmod operations allowed when namenode is in safemode .

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

Ravi Phulari updated HADOOP-5942:
---------------------------------

    Attachment: HADOOP20-5942.patch

Attaching patch created for  Hadoop 20 branch .

> Chown , chgrp , chmod operations allowed when namenode is in safemode .
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5942
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.16.4, 0.17.0, 0.17.1, 0.17.2, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.19.0, 0.19.1, 0.20.0
>            Reporter: Ravi Phulari
>            Assignee: Ravi Phulari
>             Fix For: 0.20.1, 0.21.0
>
>         Attachments: HADOOP-5942v2.patch
>
>
> Chown , chgrp , chmod operations allowed when namenode is in safemode .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5942) Chown , chgrp , chmod operations allowed when namenode is in safemode .

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

Ravi Phulari updated HADOOP-5942:
---------------------------------

    Attachment: HADOOPv20-5942.patch

Attaching patch created for Hadoop 20 branch. 

> Chown , chgrp , chmod operations allowed when namenode is in safemode .
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5942
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.16.4, 0.17.0, 0.17.1, 0.17.2, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.19.0, 0.19.1, 0.20.0
>            Reporter: Ravi Phulari
>            Assignee: Ravi Phulari
>             Fix For: 0.20.1, 0.21.0
>
>         Attachments: HADOOP-5942v2.patch, HADOOPv20-5942.patch
>
>
> Chown , chgrp , chmod operations allowed when namenode is in safemode .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5942) Chown , chgrp , chmod operations allowed when namenode is in safemode .

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

Ravi Phulari updated HADOOP-5942:
---------------------------------

    Attachment: HADOOP-5942v2.patch

> Chown , chgrp , chmod operations allowed when namenode is in safemode .
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5942
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.16.4, 0.17.0, 0.17.1, 0.17.2, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.19.0, 0.19.1, 0.20.0
>            Reporter: Ravi Phulari
>            Assignee: Ravi Phulari
>             Fix For: 0.18.3, 0.19.0, 0.19.1, 0.20.0
>
>         Attachments: HADOOP-5942.patch, HADOOP-5942new.patch, HADOOP-5942v2.patch
>
>
> Chown , chgrp , chmod operations allowed when namenode is in safemode .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5942) Chown , chgrp , chmod operations allowed when namenode is in safemode .

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

Ravi Phulari updated HADOOP-5942:
---------------------------------

    Attachment:     (was: HADOOP-5942v2.patch)

> Chown , chgrp , chmod operations allowed when namenode is in safemode .
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5942
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.16.4, 0.17.0, 0.17.1, 0.17.2, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.19.0, 0.19.1, 0.20.0
>            Reporter: Ravi Phulari
>            Assignee: Ravi Phulari
>             Fix For: 0.18.3, 0.19.0, 0.19.1, 0.20.0
>
>         Attachments: HADOOP-5942v2.patch
>
>
> Chown , chgrp , chmod operations allowed when namenode is in safemode .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-5942) Chown , chgrp , chmod operations allowed when namenode is in safemode .

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

Ravi Phulari commented on HADOOP-5942:
--------------------------------------

-setQuota and -setSpaceQuota is also allowed .

> Chown , chgrp , chmod operations allowed when namenode is in safemode .
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5942
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.16.4, 0.17.0, 0.17.1, 0.17.2, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.19.0, 0.19.1, 0.20.0
>            Reporter: Ravi Phulari
>             Fix For: 0.18.3, 0.19.0, 0.19.1, 0.20.0
>
>
> Chown , chgrp , chmod operations allowed when namenode is in safemode .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-5942) Chown , chgrp , chmod operations allowed when namenode is in safemode .

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

Hadoop QA commented on HADOOP-5942:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12410266/HADOOP-5942v2.patch
  against trunk revision 783982.

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

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

    +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 warnings.

    +1 Eclipse classpath. The patch retains Eclipse classpath integrity.

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

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

    -1 contrib tests.  The patch failed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/493/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/493/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/493/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/493/console

This message is automatically generated.

> Chown , chgrp , chmod operations allowed when namenode is in safemode .
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5942
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.16.4, 0.17.0, 0.17.1, 0.17.2, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.19.0, 0.19.1, 0.20.0
>            Reporter: Ravi Phulari
>            Assignee: Ravi Phulari
>             Fix For: 0.18.3, 0.19.0, 0.19.1, 0.20.0
>
>         Attachments: HADOOP-5942v2.patch
>
>
> Chown , chgrp , chmod operations allowed when namenode is in safemode .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-5942) Chown , chgrp , chmod operations allowed when namenode is in safemode .

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-5942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716351#action_12716351 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-5942:
------------------------------------------------

I think safemode checking should be done before permission checking since safemode checking is much simpler than permission.

> Chown , chgrp , chmod operations allowed when namenode is in safemode .
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5942
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.16.4, 0.17.0, 0.17.1, 0.17.2, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.19.0, 0.19.1, 0.20.0
>            Reporter: Ravi Phulari
>            Assignee: Ravi Phulari
>             Fix For: 0.18.3, 0.19.0, 0.19.1, 0.20.0
>
>         Attachments: HADOOP-5942.patch
>
>
> Chown , chgrp , chmod operations allowed when namenode is in safemode .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5942) Chown , chgrp , chmod operations allowed when namenode is in safemode .

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

Ravi Phulari updated HADOOP-5942:
---------------------------------

    Status: Open  (was: Patch Available)

> Chown , chgrp , chmod operations allowed when namenode is in safemode .
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5942
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.20.0, 0.19.1, 0.19.0, 0.18.3, 0.18.2, 0.18.1, 0.18.0, 0.17.2, 0.17.1, 0.17.0, 0.16.4, 0.16.3, 0.16.2, 0.16.1, 0.16.0, 0.15.3, 0.15.2, 0.15.1, 0.15.0
>            Reporter: Ravi Phulari
>            Assignee: Ravi Phulari
>             Fix For: 0.20.0, 0.19.1, 0.19.0, 0.18.3
>
>         Attachments: HADOOP-5942.patch, HADOOP-5942new.patch, HADOOP-5942v2.patch
>
>
> Chown , chgrp , chmod operations allowed when namenode is in safemode .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HADOOP-5942) Chown , chgrp , chmod operations allowed when namenode is in safemode .

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

Ravi Phulari reassigned HADOOP-5942:
------------------------------------

    Assignee: Ravi Phulari

> Chown , chgrp , chmod operations allowed when namenode is in safemode .
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5942
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.16.4, 0.17.0, 0.17.1, 0.17.2, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.19.0, 0.19.1, 0.20.0
>            Reporter: Ravi Phulari
>            Assignee: Ravi Phulari
>             Fix For: 0.18.3, 0.19.0, 0.19.1, 0.20.0
>
>
> Chown , chgrp , chmod operations allowed when namenode is in safemode .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5942) Chown , chgrp , chmod operations allowed when namenode is in safemode .

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

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

    Fix Version/s:     (was: 0.18.3)
                       (was: 0.19.1)
                       (was: 0.20.0)
                       (was: 0.19.0)
                   0.21.0
                   0.20.1
     Hadoop Flags: [Reviewed]

+1

> Chown , chgrp , chmod operations allowed when namenode is in safemode .
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5942
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.16.4, 0.17.0, 0.17.1, 0.17.2, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.19.0, 0.19.1, 0.20.0
>            Reporter: Ravi Phulari
>            Assignee: Ravi Phulari
>             Fix For: 0.20.1, 0.21.0
>
>         Attachments: HADOOP-5942v2.patch
>
>
> Chown , chgrp , chmod operations allowed when namenode is in safemode .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5942) Chown , chgrp , chmod operations allowed when namenode is in safemode .

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

Ravi Phulari updated HADOOP-5942:
---------------------------------

    Status: Patch Available  (was: Open)

> Chown , chgrp , chmod operations allowed when namenode is in safemode .
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5942
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.20.0, 0.19.1, 0.19.0, 0.18.3, 0.18.2, 0.18.1, 0.18.0, 0.17.2, 0.17.1, 0.17.0, 0.16.4, 0.16.3, 0.16.2, 0.16.1, 0.16.0, 0.15.3, 0.15.2, 0.15.1, 0.15.0
>            Reporter: Ravi Phulari
>            Assignee: Ravi Phulari
>             Fix For: 0.20.0, 0.19.1, 0.19.0, 0.18.3
>
>         Attachments: HADOOP-5942.patch, HADOOP-5942new.patch, HADOOP-5942v2.patch
>
>
> Chown , chgrp , chmod operations allowed when namenode is in safemode .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5942) Chown , chgrp , chmod operations allowed when namenode is in safemode .

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

Ravi Phulari updated HADOOP-5942:
---------------------------------

    Status: Open  (was: Patch Available)

> Chown , chgrp , chmod operations allowed when namenode is in safemode .
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5942
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.20.0, 0.19.1, 0.19.0, 0.18.3, 0.18.2, 0.18.1, 0.18.0, 0.17.2, 0.17.1, 0.17.0, 0.16.4, 0.16.3, 0.16.2, 0.16.1, 0.16.0, 0.15.3, 0.15.2, 0.15.1, 0.15.0
>            Reporter: Ravi Phulari
>            Assignee: Ravi Phulari
>             Fix For: 0.20.0, 0.19.1, 0.19.0, 0.18.3
>
>         Attachments: HADOOP-5942.patch
>
>
> Chown , chgrp , chmod operations allowed when namenode is in safemode .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-5942) Chown , chgrp , chmod operations allowed when namenode is in safemode .

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

Ravi Phulari commented on HADOOP-5942:
--------------------------------------

Deleted discarded patches and attached corrected updated patch fixing errors in TestDFSConf.xml  .  

> Chown , chgrp , chmod operations allowed when namenode is in safemode .
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5942
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.16.4, 0.17.0, 0.17.1, 0.17.2, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.19.0, 0.19.1, 0.20.0
>            Reporter: Ravi Phulari
>            Assignee: Ravi Phulari
>             Fix For: 0.18.3, 0.19.0, 0.19.1, 0.20.0
>
>         Attachments: HADOOP-5942v2.patch
>
>
> Chown , chgrp , chmod operations allowed when namenode is in safemode .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5942) Chown , chgrp , chmod operations allowed when namenode is in safemode .

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

Ravi Phulari updated HADOOP-5942:
---------------------------------

    Status: Patch Available  (was: Open)

Thanks for comments Nicholas . Uploading new patch to as per Nicholas's comments .

> Chown , chgrp , chmod operations allowed when namenode is in safemode .
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5942
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.20.0, 0.19.1, 0.19.0, 0.18.3, 0.18.2, 0.18.1, 0.18.0, 0.17.2, 0.17.1, 0.17.0, 0.16.4, 0.16.3, 0.16.2, 0.16.1, 0.16.0, 0.15.3, 0.15.2, 0.15.1, 0.15.0
>            Reporter: Ravi Phulari
>            Assignee: Ravi Phulari
>             Fix For: 0.20.0, 0.19.1, 0.19.0, 0.18.3
>
>         Attachments: HADOOP-5942.patch, HADOOP-5942new.patch
>
>
> Chown , chgrp , chmod operations allowed when namenode is in safemode .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5942) Chown , chgrp , chmod operations allowed when namenode is in safemode .

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

Ravi Phulari updated HADOOP-5942:
---------------------------------

    Attachment:     (was: HADOOP-5942new.patch)

> Chown , chgrp , chmod operations allowed when namenode is in safemode .
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5942
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.16.4, 0.17.0, 0.17.1, 0.17.2, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.19.0, 0.19.1, 0.20.0
>            Reporter: Ravi Phulari
>            Assignee: Ravi Phulari
>             Fix For: 0.18.3, 0.19.0, 0.19.1, 0.20.0
>
>         Attachments: HADOOP-5942v2.patch
>
>
> Chown , chgrp , chmod operations allowed when namenode is in safemode .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-5942) Chown , chgrp , chmod operations allowed when namenode is in safemode .

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

Hadoop QA commented on HADOOP-5942:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12410018/HADOOP-5942v2.patch
  against trunk revision 782083.

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

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

    +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 warnings.

    +1 Eclipse classpath. The patch retains Eclipse classpath integrity.

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

    -1 core tests.  The patch failed core unit tests.

    -1 contrib tests.  The patch failed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/477/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/477/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/477/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/477/console

This message is automatically generated.

> Chown , chgrp , chmod operations allowed when namenode is in safemode .
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5942
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.16.4, 0.17.0, 0.17.1, 0.17.2, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.19.0, 0.19.1, 0.20.0
>            Reporter: Ravi Phulari
>            Assignee: Ravi Phulari
>             Fix For: 0.18.3, 0.19.0, 0.19.1, 0.20.0
>
>         Attachments: HADOOP-5942.patch, HADOOP-5942new.patch, HADOOP-5942v2.patch
>
>
> Chown , chgrp , chmod operations allowed when namenode is in safemode .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-5942) Chown , chgrp , chmod operations allowed when namenode is in safemode .

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

Ravi Phulari commented on HADOOP-5942:
--------------------------------------

Contrib. test  failures are not related to changes made in this patch . 

> Chown , chgrp , chmod operations allowed when namenode is in safemode .
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5942
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.16.4, 0.17.0, 0.17.1, 0.17.2, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.19.0, 0.19.1, 0.20.0
>            Reporter: Ravi Phulari
>            Assignee: Ravi Phulari
>             Fix For: 0.18.3, 0.19.0, 0.19.1, 0.20.0
>
>         Attachments: HADOOP-5942v2.patch
>
>
> Chown , chgrp , chmod operations allowed when namenode is in safemode .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5942) Chown , chgrp , chmod operations allowed when namenode is in safemode .

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

Ravi Phulari updated HADOOP-5942:
---------------------------------

    Attachment: HADOOP-5942.patch

> Chown , chgrp , chmod operations allowed when namenode is in safemode .
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5942
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.16.4, 0.17.0, 0.17.1, 0.17.2, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.19.0, 0.19.1, 0.20.0
>            Reporter: Ravi Phulari
>            Assignee: Ravi Phulari
>             Fix For: 0.18.3, 0.19.0, 0.19.1, 0.20.0
>
>         Attachments: HADOOP-5942.patch
>
>
> Chown , chgrp , chmod operations allowed when namenode is in safemode .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5942) Chown , chgrp , chmod operations allowed when namenode is in safemode .

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

Ravi Phulari updated HADOOP-5942:
---------------------------------

    Status: Patch Available  (was: Open)

This patch prevents execution of chown  , chmod , chgrp , and quota commands when namenode is in safemode .  

> Chown , chgrp , chmod operations allowed when namenode is in safemode .
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5942
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.20.0, 0.19.1, 0.19.0, 0.18.3, 0.18.2, 0.18.1, 0.18.0, 0.17.2, 0.17.1, 0.17.0, 0.16.4, 0.16.3, 0.16.2, 0.16.1, 0.16.0, 0.15.3, 0.15.2, 0.15.1, 0.15.0
>            Reporter: Ravi Phulari
>            Assignee: Ravi Phulari
>             Fix For: 0.20.0, 0.19.1, 0.19.0, 0.18.3
>
>         Attachments: HADOOP-5942.patch
>
>
> Chown , chgrp , chmod operations allowed when namenode is in safemode .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-5942) Chown , chgrp , chmod operations allowed when namenode is in safemode .

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

Ravi Phulari commented on HADOOP-5942:
--------------------------------------

Safe mode is a Namenode state in which it does not accept changes to the name space (read-only) .
http://hadoop.apache.org/core/docs/r0.20.0/commands_manual.html#dfsadmin

But when namenode is entered in safemode manually  , Chown ,chgrp , chmod operations are allowed which makes changes in namespace and edit logs .


> Chown , chgrp , chmod operations allowed when namenode is in safemode .
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5942
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.16.4, 0.17.0, 0.17.1, 0.17.2, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.19.0, 0.19.1, 0.20.0
>            Reporter: Ravi Phulari
>             Fix For: 0.18.3, 0.19.0, 0.19.1, 0.20.0
>
>
> Chown , chgrp , chmod operations allowed when namenode is in safemode .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5942) Chown , chgrp , chmod operations allowed when namenode is in safemode .

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

Ravi Phulari updated HADOOP-5942:
---------------------------------

    Attachment:     (was: HADOOP20-5942.patch)

> Chown , chgrp , chmod operations allowed when namenode is in safemode .
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5942
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.16.4, 0.17.0, 0.17.1, 0.17.2, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.19.0, 0.19.1, 0.20.0
>            Reporter: Ravi Phulari
>            Assignee: Ravi Phulari
>             Fix For: 0.20.1, 0.21.0
>
>         Attachments: HADOOP-5942v2.patch
>
>
> Chown , chgrp , chmod operations allowed when namenode is in safemode .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (HADOOP-5942) Chown , chgrp , chmod operations allowed when namenode is in safemode .

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

Ravi Phulari edited comment on HADOOP-5942 at 6/4/09 3:16 AM:
--------------------------------------------------------------

This patch prevents execution of chown  , chmod , chgrp , and quota commands when namenode is in safemode .  
{code}
  [exec] 
     [exec] There appear to be 492 release audit warnings before the patch and 492 release audit warnings after applying the patch.
     [exec] 
     [exec] 
     [exec] 
     [exec] 
     [exec] +1 overall.  
     [exec] 
     [exec]     +1 @author.  The patch does not contain any @author tags.
     [exec] 
     [exec]     +1 tests included.  The patch appears to include 50 new or modified tests.
     [exec] 
     [exec]     +1 javadoc.  The javadoc tool did not generate any warning messages.
     [exec] 
     [exec]     +1 javac.  The applied patch does not increase the total number of javac compiler warnings.
     [exec] 
     [exec]     +1 findbugs.  The patch does not introduce any new Findbugs warnings.
     [exec] 
     [exec]     +1 Eclipse classpath. The patch retains Eclipse classpath integrity.
     [exec] 
     [exec]     +1 release audit.  The applied patch does not increase the total number of release audit warnings.
     [exec] 
     [exec] 
     [exec] 
     [exec] 
     [exec] ======================================================================
     [exec] ======================================================================
     [exec]     Finished build.
     [exec] ======================================================================
     [exec] ======================================================================
     [exec] 
     [exec] 

BUILD SUCCESSFUL
Total time: 26 minutes 19 seconds


{code}

      was (Author: raviphulari):
    This patch prevents execution of chown  , chmod , chgrp , and quota commands when namenode is in safemode .  
  
> Chown , chgrp , chmod operations allowed when namenode is in safemode .
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5942
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.16.4, 0.17.0, 0.17.1, 0.17.2, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.19.0, 0.19.1, 0.20.0
>            Reporter: Ravi Phulari
>            Assignee: Ravi Phulari
>             Fix For: 0.18.3, 0.19.0, 0.19.1, 0.20.0
>
>         Attachments: HADOOP-5942.patch
>
>
> Chown , chgrp , chmod operations allowed when namenode is in safemode .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5942) Chown , chgrp , chmod operations allowed when namenode is in safemode .

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

Ravi Phulari updated HADOOP-5942:
---------------------------------

    Attachment: HADOOP-5942new.patch

> Chown , chgrp , chmod operations allowed when namenode is in safemode .
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5942
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.16.4, 0.17.0, 0.17.1, 0.17.2, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.19.0, 0.19.1, 0.20.0
>            Reporter: Ravi Phulari
>            Assignee: Ravi Phulari
>             Fix For: 0.18.3, 0.19.0, 0.19.1, 0.20.0
>
>         Attachments: HADOOP-5942.patch, HADOOP-5942new.patch
>
>
> Chown , chgrp , chmod operations allowed when namenode is in safemode .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5942) Chown , chgrp , chmod operations allowed when namenode is in safemode .

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

Ravi Phulari updated HADOOP-5942:
---------------------------------

    Attachment: HADOOP-5942v2.patch

> Chown , chgrp , chmod operations allowed when namenode is in safemode .
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5942
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.16.4, 0.17.0, 0.17.1, 0.17.2, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.19.0, 0.19.1, 0.20.0
>            Reporter: Ravi Phulari
>            Assignee: Ravi Phulari
>             Fix For: 0.18.3, 0.19.0, 0.19.1, 0.20.0
>
>         Attachments: HADOOP-5942v2.patch
>
>
> Chown , chgrp , chmod operations allowed when namenode is in safemode .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5942) Chown , chgrp , chmod operations allowed when namenode is in safemode .

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

Ravi Phulari updated HADOOP-5942:
---------------------------------

    Status: Open  (was: Patch Available)

> Chown , chgrp , chmod operations allowed when namenode is in safemode .
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5942
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.20.0, 0.19.1, 0.19.0, 0.18.3, 0.18.2, 0.18.1, 0.18.0, 0.17.2, 0.17.1, 0.17.0, 0.16.4, 0.16.3, 0.16.2, 0.16.1, 0.16.0, 0.15.3, 0.15.2, 0.15.1, 0.15.0
>            Reporter: Ravi Phulari
>            Assignee: Ravi Phulari
>             Fix For: 0.20.0, 0.19.1, 0.19.0, 0.18.3
>
>         Attachments: HADOOP-5942v2.patch
>
>
> Chown , chgrp , chmod operations allowed when namenode is in safemode .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.