[
https://issues.apache.org/jira/browse/NIFI-2435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15407854#comment-15407854
]
ASF GitHub Bot commented on NIFI-2435:
--------------------------------------
GitHub user brosander opened a pull request:
https://github.com/apache/nifi/pull/787
NIFI-2435 - Wrapping reader call in doAs if necessary
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/brosander/nifi NIFI-2435-0.x
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/787.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #787
----
commit d2e17e6874098c11d6724cf66ab94ed7203ef8c7
Author: Bryan Rosander <[email protected]>
Date: 2016-08-03T18:02:52Z
NIFI-2435 - Wrapping reader call in doAs if necessary
----
> GetHDFSSequenceFile sequence reader throwing away authenticated filesystem
> and creating its own
> -----------------------------------------------------------------------------------------------
>
> Key: NIFI-2435
> URL: https://issues.apache.org/jira/browse/NIFI-2435
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 0.6.1
> Environment: Kerberos HDFS
> Reporter: Juan Sequeiros
> Assignee: Bryan Rosander
> Labels: hdfs, kerberos
>
> Hadoop Kerberos has a way of accessing things as an authenticated user
> UserGroupInformation.doAs
> NIFI is doing that to get access to the filesystem in order to basically
> tell hadoop to use the correct credentials so our processor does that
> correctly and then passes the results into the sequence reader unfortunately,
> the sequence reader then throws away our authenticated filesystem and creates
> its own without wrapping in a UGI.doAs
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)