Write Access Denied in hdfs

2013-12-03 Thread unmesha sreeveni
Every thing works fine except the creation of file and writing into file in
hdfs.
Not showing any warning.

So i tried doing
http://stackoverflow.com/questions/15941108/hdfs-access-from-remote-host-through-java-api-user-authentication

Now it works.
But is there an option to permanently allow to write files and read from
file in hdfs.

Should i edit anything of the *.xml configuration files?


-- 
*Thanks  Regards*

Unmesha Sreeveni U.B

*Junior Developer*


Re: Write Access Denied in hdfs

2013-12-03 Thread Azuryy Yu
I cannot open you shared URL.

but if you write or create file by user A under a HDFS path , which is not
created by user A, then it's permission failed.
one solution is 'hdfs fs -chown -R A:A  your_path' , another is 'hdfs fs
-chmod -R 777 your_path'


On Tue, Dec 3, 2013 at 5:09 PM, unmesha sreeveni unmeshab...@gmail.comwrote:

 Every thing works fine except the creation of file and writing into file
 in hdfs.
 Not showing any warning.

 So i tried doing

 http://stackoverflow.com/questions/15941108/hdfs-access-from-remote-host-through-java-api-user-authentication

 Now it works.
 But is there an option to permanently allow to write files and read from
 file in hdfs.

 Should i edit anything of the *.xml configuration files?


 --
 *Thanks  Regards*

 Unmesha Sreeveni U.B

 *Junior Developer*