I can get the file path/permissions but unable to change permissions. Below
is the snippet of code & error. What is the correct way of doing this?
Thanks.
FileSystem fileSystem = FileSystem.get(new Configuration());
FileStatus fileStatus = fileSystem.getFileStatus(new Path(
"/tmp/hbase/bulk_out")
It as failing when I tried it on namenode/datanode too, so it was not the
version issue.
Could be unrelated, but came across
https://issues.apache.org/jira/browse/HADOOP-7629 ... and tried without
FsPermission.createImmutable but rather new FsPermission(511) and that
works.
We are using script based mapping and got the order wrong for a couple of
nodes, will look into custom mapping class moving fwd. Thanks
On Tue, Jan 31, 2012 at 12:42 AM, Harsh J wrote:
> Sateesh,
>
> On Tue, Jan 31, 2012 at 12:24 AM, Sateesh Lakkarsu
> wrote:
> > A c