Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D6962D27A for ; Mon, 26 Nov 2012 13:41:47 +0000 (UTC) Received: (qmail 5845 invoked by uid 500); 26 Nov 2012 13:41:43 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 5764 invoked by uid 500); 26 Nov 2012 13:41:43 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 5742 invoked by uid 99); 26 Nov 2012 13:41:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2012 13:41:42 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [125.215.199.158] (HELO mail.mediator.com.hk) (125.215.199.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2012 13:41:36 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.mediator.com.hk (Postfix) with ESMTP id C029AA20431 for ; Mon, 26 Nov 2012 21:55:07 +0800 (HKT) X-Virus-Scanned: amavisd-new at mediator.com.hk Received: from mail.mediator.com.hk ([127.0.0.1]) by localhost (mail.mediator.com.hk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ymFHZxkzFdRK; Mon, 26 Nov 2012 21:55:07 +0800 (HKT) Received: from [192.168.0.103] (unknown [192.168.16.10]) by mail.mediator.com.hk (Postfix) with ESMTPSA id DEDC6A20428; Mon, 26 Nov 2012 21:55:06 +0800 (HKT) Subject: Re: Datanode: "Cannot start secure cluster without privileged resources" Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: "ac@hsk.hk" In-Reply-To: <57F21702-4E04-43C4-8896-0996630791C2@hsk.hk> Date: Mon, 26 Nov 2012 21:41:11 +0800 Cc: "ac@hsk.hk" Content-Transfer-Encoding: quoted-printable Message-Id: References: <3E0C3F7B-50C9-44BC-9FDF-CED0F0A7DB91@hsk.hk> <57F21702-4E04-43C4-8896-0996630791C2@hsk.hk> To: user@hadoop.apache.org X-Mailer: Apple Mail (2.1085) X-Virus-Checked: Checked by ClamAV on apache.org Hi, A question: I started Secure DN then ran JPS as root, I could not find any running = DN: 16152=20 16195 Jps However, when I tried to start the secure DN again, I got:=20 Warning: $HADOOP_HOME is deprecated. datanode running as process 16117. Stop it first. Does it mean JPS is no longer a tool to check DN in secure mode? Thanks On 26 Nov 2012, at 9:03 PM, ac@hsk.hk wrote: > Hi Harsh, >=20 > Thank you very much for your reply, got it! >=20 > Thanks > ac >=20 > On 26 Nov 2012, at 8:32 PM, Harsh J wrote: >=20 >> Secure DN needs to be started as root (it runs as proper user, but >> needs to be started as root to grab reserved ports), and needs a >> proper jsvc binary (for your arch/OS) available. Are you using >> tarballs or packages (and if packages, are they from Bigtop)? >>=20 >> On Mon, Nov 26, 2012 at 5:21 PM, ac@hsk.hk wrote: >>> Hi, >>>=20 >>> I am setting up HDFS security with Kerberos: >>> When I manually started the first datanode, I got the following = messages (the namenode is started): >>>=20 >>> 1) INFO org.apache.hadoop.security.UserGroupInformation: Login = successful for user .... >>> 2) ERROR org.apache.hadoop.hdfs.server.datanode.DataNode: = java.lang.RuntimeException: Cannot start secure cluster without = privileged resources. >>>=20 >>> OS: Ubuntu 12.04 >>> Hadoop: 1.0.4 >>>=20 >>> It seems that it could login successfully but something is missing >>> Please help! >>>=20 >>> Thanks >>>=20 >>>=20 >>>=20 >>>=20 >>=20 >>=20 >>=20 >> --=20 >> Harsh J >=20