[ 
https://issues.apache.org/jira/browse/HIVE-6576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14584482#comment-14584482
 ] 

Lefty Leverenz commented on HIVE-6576:
--------------------------------------

Doc note:  [~ekoifman] documented this for all of the POST request docs, so I'm 
removing the TODOC13 label.  (See doc jira HIVE-6577.)

* [WebHCat Reference -- POST ddl -- Curl Command | 
https://cwiki.apache.org/confluence/display/Hive/WebHCat+Reference+DDL#WebHCatReferenceDDL-CurlCommand]
* [WebHCat Reference -- POST table -- Curl Command | 
https://cwiki.apache.org/confluence/display/Hive/WebHCat+Reference+PostTable#WebHCatReferencePostTable-CurlCommand]
* [WebHCat Reference -- POST mapreduce/streaming -- Curl Command | 
https://cwiki.apache.org/confluence/display/Hive/WebHCat+Reference+MapReduceStream#WebHCatReferenceMapReduceStream-CurlCommand]
* [WebHCat Reference -- POST mapreduce/jar -- Curl Command | 
https://cwiki.apache.org/confluence/display/Hive/WebHCat+Reference+MapReduceJar#WebHCatReferenceMapReduceJar-CurlCommand]
* [WebHCat Reference -- POST pig -- Curl Command | 
https://cwiki.apache.org/confluence/display/Hive/WebHCat+Reference+Pig#WebHCatReferencePig-CurlCommand]
* [WebHCat Reference -- POST hive -- Curl Command | 
https://cwiki.apache.org/confluence/display/Hive/WebHCat+Reference+Hive#WebHCatReferenceHive-CurlCommand]

> sending user.name as a form parameter in POST doesn't work post HADOOP-10193
> ----------------------------------------------------------------------------
>
>                 Key: HIVE-6576
>                 URL: https://issues.apache.org/jira/browse/HIVE-6576
>             Project: Hive
>          Issue Type: Bug
>          Components: WebHCat
>    Affects Versions: 0.13.0
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>            Priority: Blocker
>              Labels: TODOC13
>             Fix For: 0.13.0
>
>         Attachments: HIVE-6576.patch
>
>
> WebHCat uses AuthFilter to handle authentication.  In simple mode that means 
> using PseudoAuthenticationHandler.  Prior to HADOOP-10193, the latter handled 
> user.name as form parameter in a POST request.  Now it only handles it as a 
> query parameter.  
> to maintain webhcat backwards compat, we need to make WebHCat still extract 
> it from form param.  This will be deprecated immediately and removed in 0.15
> Also, all examples in WebHCat reference manual should be updated to use 
> user.name in query string from current form param (curl -d user.name=foo)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to