You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Eugene Koifman (JIRA)" <ji...@apache.org> on 2016/07/06 19:50:10 UTC

[jira] [Commented] (HIVE-14114) Ensure RecordWriter in streaming API is using the same UserGroupInformation as StreamingConnection

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

Eugene Koifman commented on HIVE-14114:
---------------------------------------

The patch modifies the API such that Writer c'tor takes StreamingConnection as a parameter and it will use the UGI (if any) from the connection to perform metastore operations.  This way everything is consistent in that all operations/objects use the same UserGroupInformation which was supplied by API's caller.

> Ensure RecordWriter in streaming API is using the same UserGroupInformation as StreamingConnection
> --------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-14114
>                 URL: https://issues.apache.org/jira/browse/HIVE-14114
>             Project: Hive
>          Issue Type: Bug
>          Components: Transactions
>    Affects Versions: 1.0.0
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>         Attachments: HIVE-14114.2.patch, HIVE-14114.patch
>
>
> currently both DelimitedInputWriter and StrictJsonWriter perform some Metastore access operations but without using UGI created by the caller for Metastore operations made by matching StreamingConnection & TransactionBatch



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