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

View: Files support for optional username view parameter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.6.0
    • ambari-server
    • None

    Description

      Currently, the Files view always uses the viewContext.getUsername() for the user.

      Provide an optional view parameter for username. If set, use that. If not set, revert to current experience (use viewContext.getUsername()).

      Pseudo below for params. Also note the slight cleanup in parameter descriptions.

          <parameter>
              <name>dataworker.defaultFs</name>
              <description>The FileSystem URI (hdfs://yourNameNodeHost:port)</description>
              <required>true</required>
          </parameter>
          <parameter>
              <name>dataworker.username</name>
              <description>The username (defaults to ViewContext username)</description>
              <required>false</required>
          </parameter>
       

      Attachments

        1. AMBARI-5742.patch
          3 kB
          Jaimin Jetly

        Issue Links

          Activity

            People

              jaimin Jaimin Jetly
              jaimin Jaimin Jetly
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: