[
https://issues.apache.org/jira/browse/HDFS-6456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14063364#comment-14063364
]
Hudson commented on HDFS-6456:
------------------------------
FAILURE: Integrated in Hadoop-Yarn-trunk #614 (See
[https://builds.apache.org/job/Hadoop-Yarn-trunk/614/])
HDFS-6456. NFS should throw error for invalid entry in
dfs.nfs.exports.allowed.hosts. Contributed by Abhiraj Butala (brandonli:
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1610840)
*
/hadoop/common/trunk/hadoop-common-project/hadoop-nfs/src/main/java/org/apache/hadoop/nfs/NfsExports.java
*
/hadoop/common/trunk/hadoop-common-project/hadoop-nfs/src/test/java/org/apache/hadoop/nfs/TestNfsExports.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
> NFS 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
> Assignee: Abhiraj Butala
> Fix For: 2.6.0
>
> Attachments: HDFS-6456.patch
>
>
> 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)