[
https://issues.apache.org/jira/browse/NIFI-2956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15612072#comment-15612072
]
ASF GitHub Bot commented on NIFI-2956:
--------------------------------------
GitHub user pvillard31 opened a pull request:
https://github.com/apache/nifi/pull/1163
NIFI-2956 - GetHDFS - fixed directory path evaluation
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/pvillard31/nifi NIFI-2956
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/1163.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 #1163
----
commit 549ff4b97678b6e7952a6ca10c04a773486156f7
Author: Pierre Villard <[email protected]>
Date: 2016-10-27T14:37:29Z
NIFI-2956 - GetHDFS - fixed directly path evaluation
----
> GetHDFS - directory path is evaluated once
> ------------------------------------------
>
> Key: NIFI-2956
> URL: https://issues.apache.org/jira/browse/NIFI-2956
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 1.0.0
> Reporter: Pierre Villard
> Assignee: Pierre Villard
>
> The directory path in GetHDFS processor accepts expression language but the
> path is only evaluated once. Consequently, it is not possible to set a path
> like:
> {code}
> /my/path/${now():format('yyyy/MM/dd')}
> {code}
> Workaround: use ListHDFS processor in combination with FetchHDFS processor.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)