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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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.

        Attachments

        1. HDFS-6456.patch
          3 kB
          Abhiraj Butala

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: