Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> Datanode: "Cannot start secure cluster without privileged resources"

Copy link to this message
RE: Datanode: "Cannot start secure cluster without privileged resources"
You could also run $sudo service --status-all
-----Original Message-----
Sent: Monday, November 26, 2012 8:41 AM
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, [EMAIL PROTECTED] 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, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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