hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xeon <psdc1...@gmail.com>
Subject org.apache.hadoop.security.UserGroupInformation: PriviledgedActionException
Date Mon, 16 Dec 2013 14:14:01 GMT
  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,


Mime
View raw message