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

Lefty Leverenz commented on HIVE-5627:
--------------------------------------

Good catch.  Got it right in 'arg' description but wrong in 'usehcatalog' 
description.  Fixed now:  
[https://cwiki.apache.org/confluence/display/Hive/WebHCat+Reference+Pig].

bq. *arg*  Set a program argument. If -useHCatalog is included, then 
*usehcatalog* is interpreted as "true" (Hive 0.13.0 and later).

bq. *usehcatalog*  Specify that the submitted job uses HCatalog and therefore 
needs to access the metastore, which requires additional steps for WebHCat to 
perform in a secure cluster. (See HIVE-5133.) This parameter will be introduced 
in Hive 0.13.0. It can also be set to "true" by including -useHCatalog in the 
*arg* parameter.  ...

(When Hive 0.13.0 is released, I intend to change "will be introduced" to "is 
introduced" for the pig and mapreduce/jar calls -- it's on the TODO list.)

> 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