Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6456

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.6.0
    • nfs
    • None
    • 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.

      Attachments

        1. HDFS-6456.patch
          3 kB
          Abhiraj Butala

        Issue Links

          Activity

            People

              abutala Abhiraj Butala
              yeshavora Yesha Vora
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: