Member since
10-12-2017
8
Posts
0
Kudos Received
0
Solutions
11-20-2017
08:16 PM
Can this list of URLs be run concurrently by selecting Concurrent tasks to > 1? If yes, how should the response and downstream processors are handled (they need to be current as well)?
... View more
11-02-2017
08:01 PM
I am using touch to modify the timestamp of the files (stat <filename> shows new modified timestamp) but still the files are not picked up by ListFile processor
... View more
10-16-2017
10:03 PM
@Shu, I am close to resolving this with method1 you suggested, except that number of DATA elements is variable (could be thousands) and COLUMNS is a single xml node with 200+ fields, and output should be
Column1Column2Column3Column4Column5 value11 value12 value13 value14 value15 value21 value22 value23 value24 value25
... View more
10-13-2017
06:36 PM
error message: 18:26:39 UTC
ERROR
16fb46ea-015f-1000-0000-00007c5fd65b
172.31.192.18:8080 EvaluateXPath[id=16fb46ea-015f-1000-0000-00007c5fd65b] Routing StandardFlowFileRecord[uuid=b941988f-f925-4ec2-a3e5-2830e47cbe8b,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1507917338870-99, container=default, section=99], offset=204551, length=204551],offset=0,name=listings.xml,size=204551] to 'failure' because the XPath evaluated to 257 XML nodes
... View more
10-13-2017
03:41 PM
I am trying to parse an xml to extract the header row (exactly one row at the top of the tsv file) and data rows and write it as single text file in tsv format. But i was unable to extract 2 different NODE types(COLUMNS and DATA) and also multiple DATA elements can be present in the xml). sample xml file. If Destination is "flowfile-content" i can't add two different node types (COLUMNS and DATA) and also can't get multiple <DATA> nodes. Please suggest how i can grab the Columns and DATA and write to a Tab Separated Value file. <?xml version="1.0" encoding="UTF-8" ?> <COMPS ReplyCode="0" ReplyText="Operation Successful"> <COUNT Records="258"/> <DELIMITER value="09"/> <COLUMNS>Column1Column2Column3Column4Column5 </COLUMNS> <DATA>value11 value12 value13 value14 value15</DATA> <DATA>value21 value22 value23 value24 value25</DATA> </COMPS> screen-shot-2017-10-12-at-51939-pm.png
... View more
Labels:
- Labels:
-
Apache NiFi