[
https://issues.apache.org/jira/browse/FLUME-2433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15240665#comment-15240665
]
li xiang commented on FLUME-2433:
---------------------------------
Hi Roshan,
Yes, as I tried and debug, it is a must that hive-site.xml be included into the
Flume classpath. At least, Flume hive sink needs to read
hive.metastore.kerberos.principal, to identity the hive metastore service to
request the access.
My cluster is provisioned by Ambari, in which,
hive.metastore.kerberos.principal is set to hive/_HOST@{realm}, which is
different from the default value in Hive, like hive-metastore/_HOST@{realm}.
So hive-site.xml must be provided when trying to connect to hive meta store, so
that the correct service principal of hive metastore can be included in the
service ticket, rather than the default one.
> Add kerberos support for Hive sink
> ----------------------------------
>
> Key: FLUME-2433
> URL: https://issues.apache.org/jira/browse/FLUME-2433
> Project: Flume
> Issue Type: Bug
> Components: Sinks+Sources
> Affects Versions: v1.5.0.1
> Reporter: Roshan Naik
> Assignee: Roshan Naik
> Labels: HiveSink, Kerberos,
> Attachments: FLUME-2433.patch, FLUME-2433.v2.patch
>
>
> Add kerberos authentication support for Hive sink
> FYI: The HCatalog API support for Kerberos is not available in hive 0.13.1
> this should be available in the next hive release.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)