[ 
https://issues.apache.org/jira/browse/NIFI-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bryan Bende updated NIFI-1174:
------------------------------
    Attachment: NIFI-1174-Complex-Field-Improvements.patch

[~markap14] thanks for taking a look at this. 

Based on your comments I improved the error handling so that the message that 
gets logged will indicate why the flow file was "invalid" and in the case of 
missing the id field it will log the field name it was looking for and the 
fields names it processed so it will be clear why it didn't find it.

I also added a new property called Complex Field Strategy which can be set to 
Fail, Warn, Ignore, and Text. It works as your described and I added the Text 
option if someone wants to store the string value of the complex element. You 
can see how it works in the unit tests.

The new patch is meant to be applied on top of the other one.

> Create a Put HBase processor that can put multiple cells
> --------------------------------------------------------
>
>                 Key: NIFI-1174
>                 URL: https://issues.apache.org/jira/browse/NIFI-1174
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Bryan Bende
>            Assignee: Bryan Bende
>            Priority: Minor
>         Attachments: NIFI-1174-Complex-Field-Improvements.patch, 
> NIFI-1174.patch
>
>
> We recently added a PutHBaseCell processor which works great for writing one 
> individual cell at a time, but it can require a significant amount of work in 
> a flow to create a row with multiple cells. 
> We should support a variation of this processor that can accept a flow file 
> with key/value pairs in the content of the flow file (possibly json). The 
> key/value pairs then turned into the cells for the given row and get added in 
> one put operation. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to