[ 
https://issues.apache.org/jira/browse/HDFS-6456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14053985#comment-14053985
 ] 

Brandon Li commented on HDFS-6456:
----------------------------------

Both comments from [~abutala] and [~yeshavora] make sense.

So, basically, the actually problem is "NFS should print error when there is no 
valid export" regardless the cause (e.g., invalid hostname string, empty value, 
...). 

> 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