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

NFS: Different error messages for appending/writing data from read only mount

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.2.0
    • None
    • nfs
    • None

    Description

      steps:
      1) set dfs.nfs.exports.allowed.hosts = <nfs_client> ro
      2) Restart nfs server
      3) Append data on file present on hdfs from read only mount point
      Append data

      bash$ cat /tmp/tmp_10MB.txt >> /tmp/tmp_mnt/expected_data_stream
      cat: write error: Input/output error
      

      4) Write data from read only mount point
      Copy data

      bash$ cp /tmp/tmp_10MB.txt /tmp/tmp_mnt/tmp/
      cp: cannot create regular file `/tmp/tmp_mnt/tmp/tmp_10MB.txt': Permission denied
      

      Both operations are treated differently. Copying data returns valid error message: 'Permission denied' . Though append data does not return valid error message

      Attachments

        Issue Links

          Activity

            People

              brandonli Brandon Li
              yeshavora Yesha Vora
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: