Member since
10-27-2016
81
Posts
10
Kudos Received
0
Solutions
08-24-2017
03:10 PM
Attached are the logs that are related to my getKafka processor. Can someone please go through the same and let me know what might be going wrong!getkafka-processor-log.txt
... View more
08-24-2017
02:12 PM
I did the changes as specified in the above link(https://community.hortonworks.com/articles/28180/how-to-configure-hdf-12-to-send-to-and-get-data-fr.html) and configured getkafka processor. But I am getting below error when I start the getKafka processor. ********************Error Log********* 2017-08-24 10:10:19,964 INFO [test-consumer-group_storagev4-1c-1503583093158-c73a2251-leader-finder-thread] kafka.consumer.ConsumerFetcherManager [ConsumerFetcherManager-1503583093205] Added fetcher for partitions ArrayBuffer()
2017-08-24 10:10:20,169 WARN [test-consumer-group_storagev4-1c-1503583093158-c73a2251-leader-finder-thread] k.c.ConsumerFetcherManager$LeaderFinderThread [test-consumer-group_storagev4-1c-1503583093158-c73a2251-leader-finder-thread], Failed to find leader for Set([indexing,0])
java.lang.NullPointerException: null ************************
... View more
08-17-2017
02:38 PM
Nope. issue is not resolved!
... View more
07-20-2017
08:45 AM
We have that flow running fine with out Nifi in our current setup. We are trying to migrate to Nifi, hence build the flow in Nifi using Consume Kafka.
... View more
07-19-2017
03:27 PM
I tried get some help from blogs. But I am unable to find the relevant information to resolve the issue. It would be helpful if any one have configured Consumer Kafka processor in Nifi successfully to process thousands of records per minutes can share the way the processor is ocnfigured! Thanks, Anil.
... View more
07-18-2017
01:32 PM
Hi, I am getting an exception at the Kafka consumer as shown in the attached screenshot. and once the exception occurs at kafka consumer the flow files are becoming very slow at publishKafka and consumerKafka. can I get help to understand the reason for causing the issue in Nifi consume kafka. I am not getting these kind of issues when I run kafka consumers standalone from terminal. I wonder if I am missing some configuration in Nifi. I am also attaching my configuration properties for consume kafka. consume-kafka-configuration.jpgkafka-consumer-error-message.jpg
... View more
Labels:
- Labels:
-
Apache Kafka
-
Apache NiFi
05-29-2017
08:45 AM
@Pierre Leroy when you are referring to download content from the URL, in general GET method is supported to get content from the webservice. I am not sure if you are configuring the POST request wrongly. "HTTP error 405 method not allowed" means URL exists with webservice but you are not authorized to access/perform that action. Please check if you need to specify any authorization headers to perform the action. I would suggest to get more details about the URL like uri, http method, is it ssl encrypted, any authorization fields required to access the URL etc and configure the Nifi processor to fulfill the same!
... View more
05-25-2017
06:06 PM
Your are right. I am just accepting the HTTP request and sending the response. Queue is not filling up, it is HandleHttpRequest not processing the requests fast enough. I was under an impression that HandleHttpRequest should be able to process upto the performance of Jetty server . But unable to see such performance.
Yes, I do have enough resources to process 100 concurrent tasks. I haven't increased overall timer driven thread pool. I am new to this settings. I try to get context about these settings timer driven and event driven. Yes, I am using load balancer Nginx to request across nodes in the Nifi cluster.
I am not sure if I get your last question correctly. I am just sending status 200 as Http response. My bench mark sample results with 1000 concurrent results and total count of 10000 records are: Load on standalone single: took about two minutes, no http timeouts Load on all the node individually (i.e 10000 * 3 nodes): took about 45 mins. No http timeouts Load on Nginx load balancer to use all Nifi nodes (just 1000 concurrent and 10000 records): took about 5 mins to process. I see timeout errors(504 status) as well from with Nginx. I feel these results does not makes sense as apache and jetty kind of servers can process thousands of records in seconds. Please let me know your views. Thank you for your prompt response and sharing your knowledge.
Awaiting for your reply.
... View more
05-25-2017
05:55 AM
I am facing difficulty in processing huge number of records at a time. For example, using apache bench I am testing -c 1000 and -n 10000 which means 1000 users sending http requests to HandleHTTPRequest at same time. With just 1000 requests at a moment is giving me 504 erros/time our errors for requests. I tried just sending response as 200 as soon as I receive the request from HandleHTTPRequest but still I see the same issues. I wonder if Nifi supports deploying webservice that handles huge number of records. My Nifi configurations are as below I would like to know if Nifi supports handling such kind of request as webserver. If so what would be the best configuration to handle huge number of records. It would be great if anyone have benchmark results on HandleHTTPRequest processor configuration.
... View more
Labels:
- Labels:
-
Apache NiFi
05-11-2017
08:27 PM
Matt Clarke thanks for the latest response. Its informative and gives more understanding about regular expressions!
... View more