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

Bad error message for fs -put/copyFromLocal if user doesn't have permissions to read the source

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.3-alpha, 3.0.0-alpha1
    • 3.0.0-alpha1
    • None
    • "Permission denied" error message when unable to read local file for -put/copyFromLocal

    Description

      fs -put/copyFromLocal shows a "No such file or directory" error when the user doesn't have permissions to read the source file/directory. Saying "Permission Denied" is more useful to the user.

      Attachments

        1. HDFS-5033.001.patch
          50 kB
          Darrell Taylor

        Activity

          People

            d4rr3ll Darrell Taylor
            kasha Karthik Kambatla
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: