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

Eugene Koifman commented on HIVE-5627:
--------------------------------------

I believe the string that Pig understands is '-useHCatalog' , i.e. that what 
can be placed in 'arg' parameter.  The webhcat doc has it in all lower case

> Document 'usehcatalog' parameter on WebHCat calls
> -------------------------------------------------
>
>                 Key: HIVE-5627
>                 URL: https://issues.apache.org/jira/browse/HIVE-5627
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Documentation, WebHCat
>    Affects Versions: 0.12.0
>            Reporter: Eugene Koifman
>            Assignee: Lefty Leverenz
>             Fix For: 0.13.0
>
>
> The following REST calls in WebHCat:
> 1. mapreduce/jar
> 2. pig
> now support an additional parameter 'usehcatalog'.  This is a mechanism for 
> the caller to tell WebHCat that the submitted job uses HCat, and thus needs 
> to access the metastore, which requires additional steps for WebHCat to 
> perform in a secure cluster.  
> The JavaDoc on corresponding methods in  
> org.apache.hive.hcatalog.templeton.Server describe this parameter.  
> Additionally, if templeton.hive.archive, templeton.hive.home and 
> templeton.hcat.home are defined in webhcat-site.xml (documented in 
> webhcat-default.xml) then WebHCat will ship the Hive tar to the target node 
> where the job actually runs.  This means that Hive doesn't need to be 
> installed on every node in the Hadoop cluster.  (This part was added in 
> HIVE-5547).  This is independent of security, but improves manageability.
> This should be added to the sections in 
> https://cwiki.apache.org/confluence/display/Hive/WebHCat+Reference that 
> correspond to these methods.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to