Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-25382

Issues with Views in ambari when User Logs In from KNOX/LDAP and the username has spaces and Camel Case Letters

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • trunk, 2.7.3
    • 2.8.0, 2.7.5
    • None

    Description

      Problem Statement : Ambari Views Doesnt work properly When User Logs In from KNOX and the username has spaces and Camel Case Letters

      Affected Views :

      Filesview : login as Akhil S Naik, filesview will consider the user as akhil s naik only due to which user home directory wont be correct shown

      Yarn Capacity Scheduler : Even though user has permission , Yarn Capacity Scheduler will complain there is no permission

      Issue reproduction :

      configure Knox in ambari and LDAP authentication in KNOX

      Create a user 'Akhil S Naik'

      Login as 'Akhil S Naik' in knox, ambari will treat the username as akhil s naik (all lower case)

      and due to this even if home directory exists in /user folder in HDFS the home directory icon wont be displayed

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            asnaik Akhil Naik
            asnaik Akhil Naik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 50m
                2h 50m

                Slack

                  Issue deployment