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

Phabricator commented on HIVE-2764:
-----------------------------------

enis has commented on the revision "HIVE-2764 [jira] Obtain delegation tokens 
for MR jobs in secure hbase setup".

  Some comments about the patch:
  Changing the StorageHandler.configureJobProperties() to be called with the 
actual job is kind of intrusive, so I have given up on that approach, and go 
with the plan of obtaining the delegation tokens from the IF.getSplits() and 
OF.checkOutputSpecs() time. However, one problem with this approach is that 
although on the input side it works fine, on the output side, Hive does not use 
OF's properly.

  So, this patch adds a HiveOutputFormatImpl class, and changes the HOF to 
extend OF. The actual usage of OFs are not changed as a part of this patch, 
since it is out of the scope of this issue. However, not the HOFImpl class 
delgates the checkOutputSpecs() call to the underlying OutputFormat, so that if 
the OF wants to do any initialization, it can.

REVISION DETAIL
  https://reviews.facebook.net/D2205

                
> Obtain delegation tokens for MR jobs in secure hbase setup  
> ------------------------------------------------------------
>
>                 Key: HIVE-2764
>                 URL: https://issues.apache.org/jira/browse/HIVE-2764
>             Project: Hive
>          Issue Type: Improvement
>          Components: HBase Handler, Security
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>         Attachments: HIVE-2764.D2205.1.patch, HIVE-2764_v0.patch
>
>
> As discussed in HCATALOG-244, in a secure hbase setup with 0.92, we need to 
> obtain delegation tokens for hbase and save it in jobconf, so that tasks can 
> access region servers. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to