Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14843

Improve FsPermission symbolic parsing unit test coverage

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.7.4, 2.8.1
    • 2.9.0, 3.0.0-beta1
    • fs
    • None
    • Reviewed

    Description

      A user misunderstood the syntax format for the FsPermission symbolic constructor and passed the argument "-rwr" instead of "u=rw,g=r". In 2.7 and earlier this was silently misinterpreted as mode 0777 and in 2.8 it oddly became mode 0000. In either case FsPermission should have flagged "-rwr" as an invalid argument rather than silently misinterpreting it.

      Attachments

        1. HADOOP-14843.patch
          2 kB
          Bharat Viswanadham
        2. HADOOP-14843.04.patch
          3 kB
          Bharat Viswanadham
        3. HADOOP-14843.03.patch
          3 kB
          Bharat Viswanadham
        4. HADOOP-14843.02.patch
          3 kB
          Bharat Viswanadham
        5. HADOOP-14843.01.patch
          3 kB
          Bharat Viswanadham

        Activity

          People

            bharat Bharat Viswanadham
            jlowe Jason Darrell Lowe
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: