hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Weise <...@yahoo-inc.com>
Subject Starting datanode in secure mode
Date Wed, 31 Aug 2011 01:08:11 GMT
I'm configuring a local hadoop cluster in secure mode for development/experimental purposes
on Ubuntu 11.04 with the hadoop- distribution from apache mirror.

I have the basic Kerberos setup working, can start namenode in secure mode and connect to
it with hadoop fs -ls 

I'm not able to get the datanode start in secure mode - what do I have to do to make that

The error I get:

11/08/30 18:01:57 INFO security.UserGroupInformation: Login successful for user hduser/hdev-vm@HADOOP.LOCALDOMAIN
using keytab file /opt/hadoop/conf/nn.keytab
11/08/30 18:01:57 ERROR datanode.DataNode: java.lang.RuntimeException: Cannot start secure
cluster without privileged resources.
	at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:293)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(DataNode.java:268)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:1480)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:1419)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:1437)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.secureMain(DataNode.java:1563)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:1573)

11/08/30 18:01:57 INFO datanode.DataNode: SHUTDOWN_MSG: 
SHUTDOWN_MSG: Shutting down DataNode at hdev-vm/

I have not configured the system to use port numbers that require root (yet). All I want is
the datanode to run in secure mode with kerberos authentication.

Any pointers would be greatly appreciated!


View raw message