You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Oleg Zhurakousky (JIRA)" <ji...@apache.org> on 2015/12/18 23:39:46 UTC

[jira] [Commented] (NIFI-1304) The run.as property doesn't work as expected

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

Oleg Zhurakousky commented on NIFI-1304:
----------------------------------------

Did some testing on it and will mark it as no issue since it works as expected, so perhaps some misconfiguration in the environment where this error was observed.
Here are the tests that were run.
1. Created user 'foo' and has user 'root'

Test 1:
'root' doesn't have Kerberos ticket, 'foo' does
Started NiFi as 'root' and _run.as=foo_
PASSED
removed Kerberos ticket form 'foo'
FAILED

Test 2:
'root' does have Kerberos ticket, 'foo' doesn't
Started NiFi as 'foo' and _run.as=root_
PASSED
removed Kerberos ticket form 'root'
FAILED

Test 3:
'foo' does have Kerberos ticket
Started NiFi as 'foo' and _run.as=foo_
PASSED
removed Kerberos ticket form 'foo'
FAILED

> The run.as property doesn't work as expected
> --------------------------------------------
>
>                 Key: NIFI-1304
>                 URL: https://issues.apache.org/jira/browse/NIFI-1304
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 0.3.0
>         Environment: Linux OS, Nifi 0.3.0, Java 8, update 51
>            Reporter: David A. Wynne
>            Assignee: Oleg Zhurakousky
>            Priority: Critical
>
> When the run.as property is set, in the bootstrap.conf file,  then NiFi is started as the same user, the PutKafka processor returns the error javax.security.auth.login.LoginException: No password provided
> If the property is left blank and then NiFi is started with the same user, the PutKafka processor works as expected.



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