Hadoop Common
  1. Hadoop Common
  2. HADOOP-6715

AccessControlList.toString() returns empty string when we set acl to "*"

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.22.0
    • Component/s: security, util
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      AccessControlList.toString() returns empty string when we set the acl to "*" and also when we set it to empty(i.e. " "). This is causing wrong values for ACLs shown on jobdetails.jsp and jobdetailshistory.jsp web pages when acls are set to "*".

      I think AccessControlList.toString() needs to be changed to return "*" when we set the acl to "*".

      1. 6715.20S.6.patch
        11 kB
        Ravi Gummadi
      2. 6715.patch
        8 kB
        Ravi Gummadi
      3. 6715.v1.patch
        10 kB
        Ravi Gummadi

        Issue Links

          Activity

          Konstantin Shvachko made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Amareshwari Sriramadasu made changes -
          Fix Version/s 0.22.0 [ 12314296 ]
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Vinod Kumar Vavilapalli made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Hadoop Flags [Reviewed]
          Ravi Gummadi made changes -
          Attachment 6715.v1.patch [ 12451652 ]
          Ravi Gummadi made changes -
          Attachment 6715.patch [ 12451645 ]
          Ravi Gummadi made changes -
          Link This issue blocks MAPREDUCE-1780 [ MAPREDUCE-1780 ]
          Ravi Gummadi made changes -
          Attachment 6715.20S.6.patch [ 12443982 ]
          Vinod Kumar Vavilapalli made changes -
          Component/s security [ 12312526 ]
          Component/s util [ 12310740 ]
          Ravi Gummadi made changes -
          Field Original Value New Value
          Description AccessControlList.toString() returns empty string when we set the acl to "*" and also when we set it to empty(i.e. " "). This is causing wrong values for ACLs shown on jobdetails.jsp and jobdetailshistory.jsp web pages when acls are set to "*".

          I think AccessControlList.toString() needs to be changed to return "*" when we set the acl to "*".
          AccessControlList.toString() returns empty string when we set the acl to "\*" and also when we set it to empty(i.e. " "). This is causing wrong values for ACLs shown on jobdetails.jsp and jobdetailshistory.jsp web pages when acls are set to "\*".

          I think AccessControlList.toString() needs to be changed to return "\*" when we set the acl to "\*".
          Ravi Gummadi created issue -

            People

            • Assignee:
              Ravi Gummadi
              Reporter:
              Ravi Gummadi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development