NiFi MergeContent generating 2 output files instead of 1 file
I'm using
- GetDateandServer processor to fetch file names ,
- decompress the files ,
- remove header using executestreamcommand Process
Command arguments- 1d
Command path- sed
IgnoreSTDIN_ False
- MergeContent Processor to merge files
Merge strategy: Bin-Packing algorithm
Merge format: Bin concatenation
Merge data strategy: Do not merge uncommon metadata
Min no of entries: 180
Max no of entries: 1000
Minimum Group Size: 60GB
Max Bin age: 5 min
Max no of bins: 1
- UpdateAttribute to Create a files name Compress files
- putHDFS-To put data into HDFSMy problem is after ExecuteStreamcommand Processor is triggered in the queue I could see two positions with same value

For every half hour I should get 1 output file but I could see 2 files as output. NIFi is running on 3 nodes, and list queue on 2 nodes. Files running on node1 is merged as 1 file and files running on node 2 is fetched as 2nd file so I'm getting 2 files. Could you please let me know how to get one file Thank you in advance for your help
Note: I have posted the same question previously but I couldn't see it again so I posted again @Nifi

