Hello  ,
I want to add a     "\n "    at the end of my flow ( it's a record  ....in 
fact)  before sending the record to a Put HDFS processor in append mode
I tried to put the ReplaceText Processor   in the flow  with the following 
config

Search Value     (?s)(^.*$)
Replacement Value   \\n
Character Set   UTF-8
Maximum Buffer Size  1 MB
Replacement Strategy  Append
Evaluation Mode   Line-by-Line

following  some instructions  found here :
https://community.hortonworks.com/questions/48820/apache-nifi-adding-attributes-as-newlines-flowfilw.html

But without any good  results  it just append "\n" at the end of each record 
and  I just got one big line of appended records ...separated with //n


My SW  Env Nifi  1.1.1 Linux  Ubuntu Box

Phil
Best regards

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

Reply via email to