Yesha Vora created HDFS-6456:
--------------------------------

             Summary: NFS: NFS server should throw error for invalid entry in 
dfs.nfs.exports.allowed.hosts
                 Key: HDFS-6456
                 URL: https://issues.apache.org/jira/browse/HDFS-6456
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: nfs
    Affects Versions: 2.2.0
            Reporter: Yesha Vora


Pass invalid entry in dfs.nfs.exports.allowed.hosts. Use - as separator between 
hostname and access permission 

{noformat}
<property><name>dfs.nfs.exports.allowed.hosts</name><value>host1-rw</value></property>
{noformat}

This misconfiguration is not detected by NFS server. It does not print any 
error message. The host passed in this configuration is also not able to mount 
nfs. In conclusion, no node can mount the nfs with this value. A format check 
is required for this property. If the value of this property does not follow 
the format, an error should be thrown.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to