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

WebHDF request doesn't require user.name argument on secured clusters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.5.2
    • None
    • None

    Description

      url = format("

      {address}

      /webhdfs/v1

      {target}

      ?op=

      {operation}

      &user.name=

      {run_user}

      ", address=self.address, run_user=self.run_user)

      According to
      <https://hadoop.apache.org/docs/r1.0.4/webhdfs.html#Authentication>,
      `user.name` request argument is not used on security enhanced clusters

      Code: <https://github.com/apache/ambari/blob/trunk/ambari-common/src/main/pyth
      on/resource_management/libraries/providers/hdfs_resource.py#L164>

      ----------not to cut ---------
      came from: <https://stackoverflow.com/questions/44622945/ambarierror-while-
      enabling-kerbros>

      Attachments

        1. AMBARI-21286.patch
          1 kB
          Andrew Onischuk

        Issue Links

          Activity

            People

              aonishuk Andrew Onischuk
              aonishuk Andrew Onischuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: