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 som shekha <ko...@wipro.com> on 2011/02/09 14:10:43 UTC

Multiuser access to hdfs instance

Hi,
i have two node hadoop cluster up and running, but now i am trying to see
how the user authentication is weak, that means i want to check whether
other user can delete the files on the HDFS created by another user.

I have the user "hud" which currently runs the hadoop. i have created
another user "fraud" and put this user int the "hud" group.
useradd fraud
usermod -G hud fraud

After this i change the permission of "hud" directory (previoulsy 700)  to
770, so that other users belonging to user groups can see...

I searched blogs and literature but then i was unable to give the user
"fraud" access to the HDFS...
in the blogs they mentioned to change the fs.group.supergroup and
fs.permission parameter and then format the namenode, but i have already put
lot of data on the HDFS so if i cant  format it ..

Any suggestions how should i go ahead.

Thanks for the inputs.

Regards,
Shekhar
-- 
View this message in context: http://hadoop-common.472056.n3.nabble.com/Multiuser-access-to-hdfs-instance-tp2458319p2458319.html
Sent from the Users mailing list archive at Nabble.com.

Re: Multiuser access to hdfs instance

Posted by li ping <li...@gmail.com>.
I don't think reformat is needed.


On Wed, Feb 9, 2011 at 9:10 PM, som shekha <ko...@wipro.com> wrote:

>
> Hi,
> i have two node hadoop cluster up and running, but now i am trying to see
> how the user authentication is weak, that means i want to check whether
> other user can delete the files on the HDFS created by another user.
>
> I have the user "hud" which currently runs the hadoop. i have created
> another user "fraud" and put this user int the "hud" group.
> useradd fraud
> usermod -G hud fraud
>
> After this i change the permission of "hud" directory (previoulsy 700)  to
> 770, so that other users belonging to user groups can see...
>
> I searched blogs and literature but then i was unable to give the user
> "fraud" access to the HDFS...
> in the blogs they mentioned to change the fs.group.supergroup and
> fs.permission parameter and then format the namenode, but i have already
> put
> lot of data on the HDFS so if i cant  format it ..
>
> Any suggestions how should i go ahead.
>
> Thanks for the inputs.
>
> Regards,
> Shekhar
> --
> View this message in context:
> http://hadoop-common.472056.n3.nabble.com/Multiuser-access-to-hdfs-instance-tp2458319p2458319.html
> Sent from the Users mailing list archive at Nabble.com.
>



-- 
-----李平