Member since
07-30-2019
3406
Posts
1623
Kudos Received
1008
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 319 | 12-17-2025 05:55 AM | |
| 380 | 12-15-2025 01:29 PM | |
| 366 | 12-15-2025 06:50 AM | |
| 358 | 12-05-2025 08:25 AM | |
| 599 | 12-03-2025 10:21 AM |
10-30-2019
04:47 AM
@Aban The response is telling you that the data passed to the endpoint is not "Content-Type: text/plain". By default curl will use "text/plain" if you do not specify a different type via a header. try adding the below to your curl command to set your content type to "application/json" -H "Content-Type: application/json" Thanks, Matt
... View more
10-29-2019
04:21 AM
@MattWho Thank you for your input. It works and It was invaluable.
... View more
10-28-2019
02:06 AM
Thankyou MattWho I added Executestreamcommand processer before fetching data.
... View more
10-22-2019
01:19 PM
@jspuri I suggest making the following configuration changes: 1. The zoo.cfg files on both your ZK nodes should be the same tickTime=2000
initLimit=5
syncLimit=2
dataDir=/home/ec2-user/zookeeper
clientPort=2181
server.1=ec2-server-1.compute-1.amazonaws.com:2888:3888
server.2=ec2-server-2.compute-1.amazonaws.com:2888:3888 Note: For proper Quorum zookeeper cluster should also have an odd number of servers (3 or 5) 2. In NiFi state-management.xml <property name="Connect String">ec2-server-1.compute-1.amazonaws.com:2888:3888,ec2-server-2.compute-1.amazonaws.com:2888:3888</property> 3. in nifi.properties file nifi.zookeeper.connect.string=ec2-server-1.compute-1.amazonaws.com:2888:3888,ec2-server-2.compute-1.amazonaws.com:2888:3888 Hope this helps, Matt
... View more
10-22-2019
05:57 AM
@Kit2020 You will want to use the MergeContent or MergeRecord processor to merge you incoming data from Kafka. NiFi FlowFiles consists of two parts: 1. FlowFile attributes/metadata --> This information is held in heap memory 2. FlowFile content . --> held in NiFi's content repository on disk. The merge based processor above will hold the FlowFile attributes of every FlowFile being merged (allocated to a merge bin) in heap memory. Considering you are talking about merging 10 million FlowFiles, you will not be able to merge all of these using a single merge processor without likely encountering an out of memory condition. A better approach is to have two merge processor in series with the first merging batches of min 10000 to 20000 and the second merging those into another batch resulting in the merging of all FlowFiles. A merge processor bin is eligible to be merged when the minimum set values are met. Meaning if you set min entires/records to 1 and max to 10000, the bin can merge with only one FlowFile. At time of execution the thread grabs what is in inbound connection at that moment in time and allocates it to a bin. Then checks if that bin met mins and if so merges it. So makes sure your minimums on your multiple merge processors are set high enough (for example 10000 on first and 1000 on merge processor number 2, result 10,000,000 merged FlowFiles) Now if you do not know the exact number of records you need to merge, set the second merge processor mins to a higher value than you expect to receive. Then set your "Max bin age" to a value you can accept for data latency. The max bin age is your force merge setting. So even if min vales are not reached, a bin that has existed for this length of time will be forced to merge. Setting bin age on both processor is important. With high value on second then first. This allows time for a bin from merge one (typically last created) that may not meet 10000 min to get merged while second is still waiting. Hope this helps, Matt
... View more
10-21-2019
04:22 AM
Hi, Did adding Nifi hostnames to the load balancer certificate's SAN help?
... View more
10-18-2019
06:22 AM
@koshay This error is telling you that the user running the NiFi process is unable to see that file. ...java.nio.file.NoSuchFileException If the file really does exist at "/cygdrive/Windows/System32/LogFiles/Firewall/pfirewall.log", then the issue is more likely permissions on one of the directories in that path preventing the NiFi java process user from being able traverse that directory tree to the log file. If the NiFi Java process user was able to traverse that entire directory tree, we would expect a different error related to permissions on the log file. Hope this helps, Matt
... View more
10-11-2019
12:15 PM
Thank you Matt. Will take this direction and explore custom processor in subsequent iterations. Ram
... View more
10-11-2019
07:38 AM
Hello @shrujana The ListenHTTP processor setups an internal Jetty server that listens for inbound http connections on the configured port. It is not used to establish connections to external services. It may e helpful if you provide more detail about your use case(s) along with your current dataflow design specifics. How do you interface with your micro-services when not using NIFi?
... View more
10-10-2019
10:15 AM
Hello @girish6 Your first EL statement would work as well once you correct the single quote marks around the Z. Many outside text editors end up messing up the single quotes, so the NiFi EL ends up being incorrect when you copy/paste. NiFi's EL editor built in to the processor property text blocks can help identify when the EL format is wrong. In above you can see your NiFi EL statement as copied and pasted on line 3. You'll notice the color coding indicates an issue with the function's input parameters. Line 1 has the properly formatted version of that same NiFi EL statement. Be careful when using copy paste from some external editors. Thank you, Matt
... View more