Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CCCC1C42E for ; Tue, 10 Jul 2012 20:06:36 +0000 (UTC) Received: (qmail 28795 invoked by uid 500); 10 Jul 2012 20:06:36 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 28703 invoked by uid 500); 10 Jul 2012 20:06:36 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 28661 invoked by uid 99); 10 Jul 2012 20:06:36 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jul 2012 20:06:36 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id B83BA14052D for ; Tue, 10 Jul 2012 20:06:35 +0000 (UTC) Date: Tue, 10 Jul 2012 20:06:33 +0000 (UTC) From: "Harsh J (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1817163717.30665.1341950795758.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1739505390.30592.1341950195186.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (HDFS-3628) The dfsadmin -setBalancerBandwidth command does not check for superuser privileges MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-3628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Harsh J updated HDFS-3628: -------------------------- Target Version/s: 1.2.0 (was: 1.2.0, 2.0.1-alpha) Affects Version/s: (was: 0.23.0) Upon further research, this affects only the branch-1 code. Not an issue for trunk. > The dfsadmin -setBalancerBandwidth command 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 > > 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