I have a few hundreds of GB in my hdfs for userA (single node configuration). I would like to transfer all that data to userB wich will be more appropriate for the multi-node configuration I'm setting up.
I tried the following without success:
hadoop fs -chown -R userB:hadoop PATH
, when logged as userB I can't see the data, fine with userA although userB is set as hdfs owner.- tried
start-all.sh
as userB, needed to change a few access controls to that. Same thing I see nothing. - tried to force
<name>hadoop.tmp.dir</name>
on userA - tried to rename
hadoop-userA
dir intohadoop-userB
When listing the directory I have the following
drwxr-xr-x - userB hadoop 0 2011-05-29 18:17 /user/userA/tmp
Looks like the data is still owned by userA. Any idea how to fix that?
ADDITION userB is in the group hadoop (of course).