nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickysaltzer <>
Subject [GitHub] nifi pull request: NIFI-1488 Added hbase kerb auth with ugi
Date Wed, 02 Mar 2016 20:41:12 GMT
Github user rickysaltzer commented on a diff in the pull request:
    --- 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/
    @@ -171,6 +188,15 @@ protected Connection createConnection(final ConfigurationContext
context) throws
    +        UserGroupInformation.setConfiguration(hbaseConfig);
    +        if (UserGroupInformation.isSecurityEnabled()) {
    +            UserGroupInformation.loginUserFromKeytab(context.getProperty(KERBEROS_PRINCIPAL).getValue(),
    --- End diff --
    Can we try/catch IOException when logging in the user in case of an exception. It can
be as simple as logging the error being with the keytab and then bubble up the exception.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message