Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hadoop >> mail # user >> Re: Thanks!!


Copy link to this message
-
Re: Thanks!!
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
<[EMAIL PROTECTED]> 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 [[EMAIL PROTECTED]]
> 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