1973
Posts
1225
Kudos Received
124
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2453 | 04-03-2024 06:39 AM | |
| 3802 | 01-12-2024 08:19 AM | |
| 2049 | 12-07-2023 01:49 PM | |
| 3032 | 08-02-2023 07:30 AM | |
| 4153 | 03-29-2023 01:22 PM |
06-01-2021
10:12 AM
1 Kudo
it's only for new saves. you probably need to export those with NiFi Cli and reimport after adding git and restart
... View more
06-01-2021
10:07 AM
1 Kudo
if it's csv, use QueryRecordProcessor with csv reader then just do SELECT COUNT(*) FROM FLOWFILE
... View more
06-01-2021
10:05 AM
This is azure error for storage https://social.msdn.microsoft.com/Forums/en-US/a9225a04-7a7c-46f6-ae7b-45168119c0a4/not-able-to-listen-on-azure-eventhostprocessor?forum=servbus
... View more
05-24-2021
11:58 AM
1 Kudo
Use JDK 8 or JDK 11, JDK 9 is not supported JDK 9 issues https://github.com/graphhopper/graphhopper/issues/1391
... View more
05-24-2021
11:56 AM
Some examples https://community.cloudera.com/t5/Support-Questions/How-Extract-text-from-a-multiline-flow-and-create-only-one/td-p/104706 https://nathanlabadie.com/recombining-multiline-logs-with/ https://github.com/tspannhw/EverythingApacheNiFi/blob/main/README.md
... View more
05-10-2021
09:42 AM
2 Kudos
https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-prometheus-nar/1.11.1/org.apache.nifi.reporting.prometheus.PrometheusReportingTask/ You will need to open a JIRA. You should not run 3 nifis on the same machine unless it's in K8. NiFi needs a lot of RAM and cores.
... View more
04-30-2021
12:05 PM
what version of NiFi? you can tweak the log level of each processor in the properties. You can also query the stats with reporting tasks you can also access stats via the rest api https://github.com/tspannhw/EverythingApacheNiFi
... View more
04-12-2021
04:34 PM
use Stateless NiFi https://medium.com/@tspann_38871/exploring-apache-nifi-1-10-parameters-and-stateless-engine-b0815e924938
... View more
03-15-2021
04:48 PM
NiFi for XML / RSS / REST Feed Ingest I want to retrieve the status from various Cloud providers and services, including Cloudera, AWS, Azure, and Google. I have found many of the available status APIs will return XML/RSS. We love that format for Apache NiFi, so let's do that. Note: If you are doing development in a non-production environment, try the new NiFi 1.13.1. If you need to run your flows in production on-premise, private cloud, or in the public cloud, then use Cloudera Flow Management. I have separated the processing module "Status" from the input, so I can pass in the input anyway I want. When I move this to a K8 environment, this will become a parameter that I pass in. Stay tuned to Cloudera releases. The flow is pretty simple to process RSS status data. We call the status URL and in the next step easily convert RSS into JSON for easier processing. I split these records and grab just the fields I like. I can easily add additional fields from my metadata for unique id, timestamp, company name, and service name. PutKudu will store my JSON records as Kudu fields at high speed. If something goes wrong, we will try again. Sometimes, the internet is down! But, without this app, how will we know??? We can run a QueryRecord processor to query live fields from the status messages and I will send Spark-related ones to my Slack channel. I can add as many ANSI SQL92 Calcite queries as I wish. It's easy. We were easily able to insert all the status messages to our 'cloudstatus' table. Now, we can query it and use it in reports, dashboards, and visual applications. I don't want to have to go to external sites to get the status alerts, so I will post key ones to a Slack channel. I want to store my status reads in a table for fast analytics and permanent storage. So, I will store it in a Kudu table with Impala on top for fast queries. CREATE TABLE cloudstatus ( `uuid` STRING, `ts` TIMESTAMP, `companyname` STRING, `servicename` STRING, `title` STRING, `description` STRING, `pubdate` STRING, `link` STRING, `guid` STRING, PRIMARY KEY (`uuid`,`ts` ) ) PARTITION BY HASH PARTITIONS 4 STORED AS KUDU TBLPROPERTIES ('kudu.num_tablet_replicas' = '1'); My source code is available here. In the next step, I can write some real-time dashboard with Cloudera Visual Apps, add fast queries on Kafka with Flink SQL, or write some machine learning in Cloudera Machine Learning to finish the application. Join my next live video broadcast to suggest what we do with this data next. Thanks for reading!
... View more
Labels:
02-23-2021
07:12 AM
1 Kudo
I have downloaded 10,000 processor flows. It could be your local workstation or firewall. Also for future notice, templates will be removed. Please use NiFi registry. https://www.datainmotion.dev/2019/11/nifi-toolkit-cli-for-nifi-110.html https://www.datainmotion.dev/2020/10/automating-building-migration-backup.html
... View more