[
https://issues.apache.org/jira/browse/NIFI-1929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Burgess updated NIFI-1929:
-------------------------------
Fix Version/s: 0.7.0
1.0.0
> Improvements for PutHDFS attribute handling
> -------------------------------------------
>
> Key: NIFI-1929
> URL: https://issues.apache.org/jira/browse/NIFI-1929
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Matt Burgess
> Fix For: 1.0.0, 0.7.0
>
>
> The following is a list of improvements/fixes to attribute handling in
> PutHDFS for consideration:
> 1) The documentation says that PutHDFS writes the "filename" attribute with
> the description: "The name of the file written to HDFS comes from the value
> of this attribute." PutHDFS should add a @ReadsAttribute annotation with the
> above description.
> 2) The @WritesAttribute description above should read something like: The
> name of the file written to HDFS is stored in this attribute." Also it
> doesn't appear by the code that this is accurate; the filename could've
> changed depending on the compression option, but it appears the original
> filename attribute value is retained
> 3) PutHDFS should write an attribute (such as absolute.path like GetFile)
> that contains the value of the Directory property after any Expression
> Language has been evaluated. This would be documented via @WritesAttribute.
> #2 and #3 are being done for the Transit URI in the reported provenance
> event(s), this should be extended to the flow file attributes as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)