Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-6456

NFS should throw error for invalid entry in dfs.nfs.exports.allowed.hosts

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.6.0
    • Component/s: nfs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

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

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

      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.

      1. HDFS-6456.patch
        3 kB
        Abhiraj Butala

        Issue Links

          Activity

            People

            • Assignee:
              Abhiraj Butala
              Reporter:
              Yesha Vora
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development