You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by bigdatagroup <bi...@itecons.it> on 2014/07/10 12:09:13 UTC

NFS Gateway readonly issue

Hello,
we are experiencing a strange issue with our Hadoop cluster implementing NFS Gateway.

We exported our distributed filesystem with the following configuration (Managed by Cloudera Manager over CDH 5.0.1):

 <property>
    <name>dfs.nfs.exports.allowed.hosts</name>
    <value>192.168.0.153 ro</value>
  </property>

As you can see, we expect the exported FS to be read-only, but in fact we are able to delete files and folders stored on it (where the user has the correct permissions), from  the client machine that mounted the FS.
Other writing operations are correctly blocked.

Hadoop Version in use: 2.3.0+cdh5.0.1+567

Bye.
--
Omar
[cid:part1.01000801.05050301@itecons.it]

Re: NFS Gateway readonly issue

Posted by Abhiraj Butala <ab...@gmail.com>.
Hello,

I was able to reproduce the issue on latest hadoop trunk. Though for me, I
could only delete files, deleting directories were correctly blocked. I
have opened https://issues.apache.org/jira/browse/HDFS-6703 to further
track the issue. Thanks for reporting!

Regards,
Abhiraj
On Thu, Jul 10, 2014 at 3:09 AM, bigdatagroup <bi...@itecons.it>
wrote:

>  Hello,
> we are experiencing a strange issue with our Hadoop cluster implementing
> NFS Gateway.
>
> We exported our distributed filesystem with the following configuration
> (Managed by Cloudera Manager over CDH 5.0.1):
>
>  <property>
>     <name>dfs.nfs.exports.allowed.hosts</name>
>     <value>192.168.0.153 ro</value>
>   </property>
>
> As you can see, we expect the exported FS to be read-only, but in fact we
> are able to delete files and folders stored on it (where the user has the
> correct permissions), from  the client machine that mounted the FS.
> Other writing operations are correctly blocked.
>
> Hadoop Version in use: 2.3.0+cdh5.0.1+567
>
> Bye.
> --
> *Omar*
>

Re: NFS Gateway readonly issue

Posted by Abhiraj Butala <ab...@gmail.com>.
Hello,

I was able to reproduce the issue on latest hadoop trunk. Though for me, I
could only delete files, deleting directories were correctly blocked. I
have opened https://issues.apache.org/jira/browse/HDFS-6703 to further
track the issue. Thanks for reporting!

Regards,
Abhiraj
On Thu, Jul 10, 2014 at 3:09 AM, bigdatagroup <bi...@itecons.it>
wrote:

>  Hello,
> we are experiencing a strange issue with our Hadoop cluster implementing
> NFS Gateway.
>
> We exported our distributed filesystem with the following configuration
> (Managed by Cloudera Manager over CDH 5.0.1):
>
>  <property>
>     <name>dfs.nfs.exports.allowed.hosts</name>
>     <value>192.168.0.153 ro</value>
>   </property>
>
> As you can see, we expect the exported FS to be read-only, but in fact we
> are able to delete files and folders stored on it (where the user has the
> correct permissions), from  the client machine that mounted the FS.
> Other writing operations are correctly blocked.
>
> Hadoop Version in use: 2.3.0+cdh5.0.1+567
>
> Bye.
> --
> *Omar*
>

Re: NFS Gateway readonly issue

Posted by Abhiraj Butala <ab...@gmail.com>.
Hello,

I was able to reproduce the issue on latest hadoop trunk. Though for me, I
could only delete files, deleting directories were correctly blocked. I
have opened https://issues.apache.org/jira/browse/HDFS-6703 to further
track the issue. Thanks for reporting!

Regards,
Abhiraj
On Thu, Jul 10, 2014 at 3:09 AM, bigdatagroup <bi...@itecons.it>
wrote:

>  Hello,
> we are experiencing a strange issue with our Hadoop cluster implementing
> NFS Gateway.
>
> We exported our distributed filesystem with the following configuration
> (Managed by Cloudera Manager over CDH 5.0.1):
>
>  <property>
>     <name>dfs.nfs.exports.allowed.hosts</name>
>     <value>192.168.0.153 ro</value>
>   </property>
>
> As you can see, we expect the exported FS to be read-only, but in fact we
> are able to delete files and folders stored on it (where the user has the
> correct permissions), from  the client machine that mounted the FS.
> Other writing operations are correctly blocked.
>
> Hadoop Version in use: 2.3.0+cdh5.0.1+567
>
> Bye.
> --
> *Omar*
>

Re: NFS Gateway readonly issue

Posted by Abhiraj Butala <ab...@gmail.com>.
Hello,

I was able to reproduce the issue on latest hadoop trunk. Though for me, I
could only delete files, deleting directories were correctly blocked. I
have opened https://issues.apache.org/jira/browse/HDFS-6703 to further
track the issue. Thanks for reporting!

Regards,
Abhiraj
On Thu, Jul 10, 2014 at 3:09 AM, bigdatagroup <bi...@itecons.it>
wrote:

>  Hello,
> we are experiencing a strange issue with our Hadoop cluster implementing
> NFS Gateway.
>
> We exported our distributed filesystem with the following configuration
> (Managed by Cloudera Manager over CDH 5.0.1):
>
>  <property>
>     <name>dfs.nfs.exports.allowed.hosts</name>
>     <value>192.168.0.153 ro</value>
>   </property>
>
> As you can see, we expect the exported FS to be read-only, but in fact we
> are able to delete files and folders stored on it (where the user has the
> correct permissions), from  the client machine that mounted the FS.
> Other writing operations are correctly blocked.
>
> Hadoop Version in use: 2.3.0+cdh5.0.1+567
>
> Bye.
> --
> *Omar*
>