hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: Thanks!!
Date Tue, 19 Mar 2013 00:21:10 GMT
Just curious, why are we recommending one disables permissions rather
than trying to make them understand it?

On Mon, Mar 18, 2013 at 2:03 PM, Brahma Reddy Battula
<brahmareddy.battula@huawei.com> wrote:
> you need to disable following property..
>
>
> <property>
>   <name>dfs.permissions.enabled</name>
>   <value>true</value>
>   <description>
>     If "true", enable permission checking in HDFS.
>     If "false", permission checking is turned off,
>     but all other behavior is unchanged.
>     Switching from one parameter value to the other does not change the
> mode,
>     owner or group of files or directories.
>   </description>
> </property>
>
> Hope this helps.
>
> FYR..
>
>
> http://www.javawhat.com/showWebsiteContent.do?id=529433
>
> http://gbif.blogspot.in/2011/01/setting-up-hadoop-cluster-part-1-manual.html
>
>
> ________________________________
> From: 小学园PHP [xxy-php@qq.com]
> Sent: Monday, March 18, 2013 2:03 PM
> To: user
> Subject: Thanks!!
>
> Really thanks, Brahma!! It works.
> But i get a another problem:
> HTTP/1.1 403 Forbidden
> {"RemoteException":{"exception":"AccessControlException","javaClassName":"org.apache.hadoop.security.AccessControlException","message":"Permission
> denied: user=webuser, access=WRITE, inode=\"\":levi:supergroup:rwxr-xr-x"}}
>
> And this is my curl command:
> curl -i -X PUT "http://localhost:50070/webhdfs/v1/levi1?op=MKDIRS"



--
Harsh J

Mime
View raw message