nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NIFI-1488) Add Kerberos Support to HBase processors
Date Wed, 02 Mar 2016 21:42:18 GMT

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

ASF GitHub Bot commented on NIFI-1488:
--------------------------------------

Github user rickysaltzer commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/253#discussion_r54796523
  
    --- Diff: 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
---
    @@ -171,6 +188,15 @@ protected Connection createConnection(final ConfigurationContext
context) throws
                 }
             }
     
    +        UserGroupInformation.setConfiguration(hbaseConfig);
    +
    +        if (UserGroupInformation.isSecurityEnabled()) {
    +            LOG.info("SECURITY IS ENABLED");
    +            UserGroupInformation.loginUserFromKeytab(context.getProperty(KERBEROS_PRINCIPAL).getValue(),
    --- End diff --
    
    After the initial login, you'll need to periodically renew your ticket. See [AbstractHadoopProcessor.java](https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-hadoop-bundle/nifi-hdfs-processors/src/main/java/org/apache/nifi/processors/hadoop/AbstractHadoopProcessor.java#L425-L439)
for an example.


> 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
>            Priority: Minor
>
> 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)

Mime
View raw message