You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2019/04/18 19:36:16 UTC

[GitHub] [nifi] patricker commented on issue #3433: NIFI-6049: Updated MoveHDFS to support FF Attribute for Output Directory

patricker commented on issue #3433: NIFI-6049: Updated MoveHDFS to support FF Attribute for Output Directory
URL: https://github.com/apache/nifi/pull/3433#issuecomment-484657982
 
 
   Unfortunately, it's not quite that easy of a fix :)
   
   Line 512: `final String outputDirValue = context.getProperty(OUTPUT_DIRECTORY).evaluateAttributeExpressions().getValue();`
   
   Because it used to be at the variable registry level, this is being evaluated and stored in a final variable without referencing the FlowFile... You'll need to update this section too, like the processor does for the source filename:
   
   Line 244: `final String filenameValue = context.getProperty(INPUT_DIRECTORY_OR_FILE).evaluateAttributeExpressions(flowFile).getValue();`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services