Return-Path: Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: (qmail 57132 invoked from network); 1 Dec 2009 14:38:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Dec 2009 14:38:15 -0000 Received: (qmail 73984 invoked by uid 500); 1 Dec 2009 14:38:12 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 73904 invoked by uid 500); 1 Dec 2009 14:38:12 -0000 Mailing-List: contact common-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-user@hadoop.apache.org Delivered-To: mailing list common-user@hadoop.apache.org Received: (qmail 73894 invoked by uid 99); 1 Dec 2009 14:38:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 14:38:11 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,DATE_IN_FUTURE_03_06 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pavelkolodinhadoop@gmail.com designates 209.85.219.214 as permitted sender) Received: from [209.85.219.214] (HELO mail-ew0-f214.google.com) (209.85.219.214) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 14:38:09 +0000 Received: by ewy6 with SMTP id 6so4164562ewy.29 for ; Tue, 01 Dec 2009 06:37:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:to:subject:from :organization:content-type:mime-version:references :content-transfer-encoding:message-id:in-reply-to:user-agent; bh=4u8b8WlHjRDOItwpZLj97/f5FdcBTZdlzD8a5UEkRfM=; b=D0PC+XkNsFZdmIAG14uRDTGkaQU5IeqVIUg1dckouKs4N9cwg6wt0hqNC4Oe6W2mMN v860g+TcPRD8ImVzzlzwNHpEI5pZFgwu99LC/Djc6BWgNYaf+dvgw00r5IX2GN+pubpp d1ZxJI94ngncZW0zhVRQ/e+HxLXJmW7BfvWyE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:subject:from:organization:content-type:mime-version :references:content-transfer-encoding:message-id:in-reply-to :user-agent; b=BNrnre4aiLmajVMsfXnss2eea5jegZ4y3iSW0a7MRT5wV79gXpgHTf2FM19HpOZiy5 KPlDHh20hENHky1cn3hk2Ass3odACqpsVFwdXXf0g/41qO2kPri67rhvwAYNP9xLdpNE 8PymmTlH+aJuhYrExJBUPn4ibH7MWGfLQzrzo= Received: by 10.213.102.129 with SMTP id g1mr6053805ebo.41.1259678267806; Tue, 01 Dec 2009 06:37:47 -0800 (PST) Received: from master1 (ppp91-122-16-28.pppoe.avangarddsl.ru [91.122.16.28]) by mx.google.com with ESMTPS id 23sm883884eya.19.2009.12.01.06.37.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 01 Dec 2009 06:37:47 -0800 (PST) Date: Tue, 01 Dec 2009 18:34:20 -0000 To: common-user@hadoop.apache.org Subject: Re: "dfsadmin -report" says that i need "Superuser privilege". What? :) From: "pavel kolodin" Organization: 1 Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <7AF93FDB-7308-463D-BBBD-B2B15E3D55BA@cse.unl.edu> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <7AF93FDB-7308-463D-BBBD-B2B15E3D55BA@cse.unl.edu> User-Agent: Opera Mail/9.63 (Linux) On Tue, 01 Dec 2009 12:46:44 -0000, Brian Bockelman wrote: > Hey Pavel, > > The "admin" / superuser for hadoop is the username who launched the > daemons. > > So, if you do "ps faux | grep hadoop", you should see some Java > processes; the first column of the output tells you what user they are > running as. That user is the super user. > > Since you are already trying this as user "hadoop", I'm guessing that > you need to run the command as root. > I am scared to start hadoop as root. Never tried this before (-; Don't understand logic that should make me do that... ) I had experience of launching Hadoop on other 2 couples of machines. I always started all processes as "hadoop". When i was writing this message, my hadoop distro was compiled by user "root". Now i recompuled it as user "hadoop" and result is the same. Also i tried start that report request as root - result the same. hadoopmaster hadoop # hadoop-0.20.1/bin/hadoop dfsadmin -report report: org.apache.hadoop.security.AccessControlException: Superuser privilege is required hadoopmaster hadoop # I had beed using hadoop-0.20.1 on other couple of machines, result was another, this "-report" command was working. Also, now i am experimenting with 2 VPS hosts, 64 bit, gentoo. Previous machines (i was successful with) was 32 bit, not VPS ) Thank you for answer.