You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by xeon <ps...@gmail.com> on 2013/12/16 15:14:01 UTC

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,