Andrew Onischuk created AMBARI-21286:
----------------------------------------

             Summary: 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



    
     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)

Reply via email to