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

          Yesha Vora created issue -
          Brandon Li made changes -
          Field Original Value New Value
          Link This issue relates to HDFS-6459 [ HDFS-6459 ]
          Brandon Li made changes -
          Assignee Abhiraj Butala [ abutala ]
          Abhiraj Butala made changes -
          Attachment HDFS-6456.patch [ 12655441 ]
          Abhiraj Butala made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Brandon Li made changes -
          Link This issue is related to HDFS-6455 [ HDFS-6455 ]
          Brandon Li made changes -
          Summary NFS: NFS server should throw error for invalid entry in dfs.nfs.exports.allowed.hosts NFS should throw error for invalid entry in dfs.nfs.exports.allowed.hosts
          Brandon Li made changes -
          Fix Version/s 2.6.0 [ 12327181 ]
          Brandon Li made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Resolution Fixed [ 1 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development