[
https://issues.apache.org/jira/browse/NIFI-1488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15193666#comment-15193666
]
Bryan Bende commented on NIFI-1488:
-----------------------------------
[~rickysaltzer] That plan sounds correct. I am actually pretty far along on a
patch that I'd like to submit later this afternoon... As an overview of what
I've done:
1) Created a central utility class for HDFS processors and HBaseClient to get
synchronized access to UserGroupInformation:
https://github.com/bbende/nifi/blob/NIFI-1488/nifi-commons/nifi-hadoop-utils/src/main/java/org/apache/nifi/hadoop/SecurityUtil.java
Although it is an unlikely scenario, if we don't do this then a PutHDFS
processor could potentially interfere with HBaseClientService instances.
2) Add the doAs to HBaseClientService which only ends up being required on the
connection:
https://github.com/bbende/nifi/blob/NIFI-1488/nifi-nar-bundles/nifi-standard-services/nifi-hbase_1_1_2-client-service-bundle/nifi-hbase_1_1_2-client-service/src/main/java/org/apache/nifi/hbase/HBase_1_1_2_ClientService.java#L209
3) Created the central class for properties and validation:
https://github.com/bbende/nifi/blob/NIFI-1488/nifi-commons/nifi-hadoop-utils/src/main/java/org/apache/nifi/hadoop/KerberosProperties.java
The last part I'm working on is to try and separate the dependency on
NiFiProperties from KerberosProperties, and then clean up unit testing.
Are you comfortable with these changes?
> Add Kerberos Support to HBase processors
> ----------------------------------------
>
> Key: NIFI-1488
> URL: https://issues.apache.org/jira/browse/NIFI-1488
> Project: Apache NiFi
> Issue Type: Improvement
> Affects Versions: 0.4.0, 0.4.1
> Reporter: Bryan Bende
> Assignee: Ricky Saltzer
> Fix For: 0.6.0
>
> Attachments:
> 0001-NIFI-1488-Adjusting-unused-imports-and-adding-licens.patch
>
>
> Our current HBase integration does not support communicating with a
> Kerberized HBase install. We should support this just like we do for the HDFS
> processors.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)