hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kartashov, Andy" <Andy.Kartas...@mpac.ca>
Subject RE: Datanode: "Cannot start secure cluster without privileged resources"
Date Mon, 26 Nov 2012 14:36:00 GMT
You could also run $sudo service --status-all

-----Original Message-----
From: ac@hsk.hk [mailto:ac@hsk.hk]
Sent: Monday, November 26, 2012 8:41 AM
To: user@hadoop.apache.org
Cc: ac@hsk.hk
Subject: Re: Datanode: "Cannot start secure cluster without privileged resources"


A question:
I started Secure DN then ran JPS as root, I could not find any running DN:
16195 Jps

However, when I tried to start the secure DN again, I got:
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?


On 26 Nov 2012, at 9:03 PM, ac@hsk.hk wrote:

> Hi Harsh,
> Thank you very much for your reply, got it!
> Thanks
> ac
> On 26 Nov 2012, at 8:32 PM, Harsh J wrote:
>> 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)?
>> On Mon, Nov 26, 2012 at 5:21 PM, ac@hsk.hk <ac@hsk.hk> wrote:
>>> Hi,
>>> I am setting up HDFS security with Kerberos:
>>> When I manually started the first datanode, I got the following messages (the
namenode is started):
>>> 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.
>>> OS: Ubuntu 12.04
>>> Hadoop: 1.0.4
>>> It seems that it could login successfully but something is missing
>>> Please help!
>>> Thanks
>> --
>> Harsh J

NOTICE: This e-mail message and any attachments are confidential, subject to copyright and
may be privileged. Any unauthorized use, copying or disclosure is prohibited. If you are not
the intended recipient, please delete and contact the sender immediately. Please consider
the environment before printing this e-mail. AVIS : le présent courriel et toute pièce jointe
qui l'accompagne sont confidentiels, protégés par le droit d'auteur et peuvent être couverts
par le secret professionnel. Toute utilisation, copie ou divulgation non autorisée est interdite.
Si vous n'êtes pas le destinataire prévu de ce courriel, supprimez-le et contactez immédiatement
l'expéditeur. Veuillez penser à l'environnement avant d'imprimer le présent courriel
View raw message