You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by unmesha sreeveni <un...@gmail.com> on 2013/12/03 10:09:14 UTC
Write Access Denied in hdfs
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
Posted by Azuryy Yu <az...@gmail.com>.
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 <un...@gmail.com>wrote:
> 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
Posted by Azuryy Yu <az...@gmail.com>.
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 <un...@gmail.com>wrote:
> 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
Posted by Azuryy Yu <az...@gmail.com>.
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 <un...@gmail.com>wrote:
> 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
Posted by Azuryy Yu <az...@gmail.com>.
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 <un...@gmail.com>wrote:
> 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*
>
>
>