Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS >> mail # user >> org.apache.hadoop.security.UserGroupInformation: PriviledgedActionException


Copy link to this message
-
org.apache.hadoop.security.UserGroupInformation: PriviledgedActionException
 I am trying to run an example, but I get a PriviledgedActionException.
How should I configure the hdfs-site.xml?

2013-12-16 13:43:22,892 ERROR
org.apache.hadoop.security.UserGroupInformation:
PriviledgedActionException as:ec2-user (auth:SIMPLE)
cause:java.io.IOException: File /tmp/l
ogs/ec2-user/logs/application_1387201160673_0001/ip-172-31-43-189_52043.tmp
could only be replicated to 0 nodes instead of minReplication (=1).
There are 1 datanode(s) running and 1 node(s) are excluded in this
operation.
hdfs-site.xml

<configuration>
         <property> <name>dfs.replication</name> <value>2</value>
</property>
         <property> <name>dfs.permissions</name> <value>false</value>
</property>
         <property> <name>dfs.name.dir</name>
<value>/tmp/data/dfs/name/</value> </property>
         <property> <name>dfs.data.dir</name>
<value>/tmp/data/dfs/data/</value> </property>
</configuration>

--
Thanks,
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB