[
https://issues.apache.org/jira/browse/AMBARI-21286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16056023#comment-16056023
]
Hudson commented on AMBARI-21286:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #7657 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/7657/])
AMBARI-21286. WebHDF request doesn't require user.name argument on (aonishuk:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=d693273dd2ddaa0532dccbf5b709d377122a209d])
* (edit)
ambari-common/src/main/python/resource_management/libraries/providers/hdfs_resource.py
> WebHDF request doesn't require user.name argument on secured clusters
> ---------------------------------------------------------------------
>
> Key: AMBARI-21286
> URL: https://issues.apache.org/jira/browse/AMBARI-21286
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 2.5.2
>
> Attachments: AMBARI-21286.patch
>
>
>
> 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>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)