hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xeon <xeonmailingl...@gmail.com>
Subject UserGroupInformation: PriviledgedActionException as:root (auth:SIMPLE)
Date Sat, 12 Apr 2014 16:52:51 GMT

I want to copy data between hdfs in different hosts using webhdfs in 
hadoop MRv2. The destination host has the user and group as root and 

WorkGroup0010:~/# hdfs dfs -ls /
14/04/12 16:42:18 WARN util.NativeCodeLoader: Unable to load 
native-hadoop library for your platform... using builtin-java classes 
where applicable
Found 3 items
drwxrwx---   - root supergroup          0 2014-04-12 16:25 /root
drwxr-xr-x   - root supergroup          0 2014-04-12 16:25 /tmp
drwxrwxrwx   - root supergroup          0 2014-04-12 16:39 /wiki

I defined in the core-site.xml these params for the user and the group.

WorkGroup0010:~/# cat ../hadoop/etc/hadoop/core-site.xml
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

<!-- Put site-specific property overrides in this file. -->
   <property> <name>fs.default.name</name> 
<value>hdfs://</value> </property>
   <property> <name>hadoop.tmp.dir</name> 
<value>/tmp/hadoop-temp</value> </property>

<-- I am trying to use with thisgroup definition

--> <-- or with this group

When I copy data

WorkGroup0000:~/# /root/Programs/hadoop/bin/hadoop distcp 
webhdfs://WorkGroup0000:50070/wiki webhdfs://WorkGroup0010:50070/wiki

I get the error on the destination as:
2014-04-12 16:37:06,720 ERROR 
PriviledgedActionException as:root (auth:SIMPLE) 
cause:java.io.FileNotFoundException: File does not exist: 

1 - I don't understand why this is happening. I should have been able to 
copy data. Why I can't copy data between hdfs?
2 - Is it possible to turn off the privilege rules?


View raw message