hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3628) The dfsadmin -setBalancerBandwidth command on branch-1 does not check for superuser privileges
Date Tue, 10 Jul 2012 20:14:35 GMT

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

Harsh J commented on HDFS-3628:
-------------------------------

(Change in the patch is akin to refreshNodes in FSNameSystem. Functions in the same way, so
no tests are required. Patch compiles branch-1 build locally, but let me know if test-patch
is still required…)
                
> The dfsadmin -setBalancerBandwidth command on branch-1 does not check for superuser privileges
> ----------------------------------------------------------------------------------------------
>
>                 Key: HDFS-3628
>                 URL: https://issues.apache.org/jira/browse/HDFS-3628
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node, name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Harsh J
>            Assignee: Harsh J
>            Priority: Blocker
>         Attachments: HDFS-3628.patch
>
>
> The changes from HDFS-2202 failed to add in a checkSuperuserPrivilege();, and hence any
user (not admins alone) can reset the balancer bandwidth across the cluster if they wished
to.

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

       

Mime
View raw message