Member since
02-01-2022
281
Posts
103
Kudos Received
60
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 1120 | 05-15-2025 05:45 AM | |
| 4949 | 06-12-2024 06:43 AM | |
| 7921 | 04-12-2024 06:05 AM | |
| 5831 | 12-07-2023 04:50 AM | |
| 3203 | 12-05-2023 06:22 AM |
06-30-2023
06:25 AM
@wallacei That is correct. NiFi is not part of CDP Base. You need a trial for CFM.
... View more
06-30-2023
05:19 AM
@madhs Have you resolved your issue. If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.
... View more
06-26-2023
09:18 AM
@Ghilani You should know these 3 articles intimately if you want to use Execute Script https://community.cloudera.com/t5/Community-Articles/ExecuteScript-Cookbook-part-1/ta-p/248922 https://community.cloudera.com/t5/Community-Articles/ExecuteScript-Cookbook-part-2/ta-p/249018 https://community.cloudera.com/t5/Community-Articles/ExecuteScript-Cookbook-part-3/ta-p/249148 That said, it's sometimes helpful for me to see a working example and modify from there. As such, here is a github with a sample flow definition file (01_Fraud_Detection_Demo_Params_ExecuteScript.json) and script file(Fraud Demo ExecuteScript.py) that should work out of the box: https://github.com/cldr-steven-matison/Fraud-Prevention-With-Cloudera-SSB/tree/main/Templates Pay attention to imports and, then line 160 is what you want to get the flowfile. My flow ignores the content, but you should be able to find references in the Part 1 cookbook for anything you want to do w/ flowfile content.
... View more
06-23-2023
11:14 AM
@steven-matison thank you! I thought that I needed to somehow inject this jar into NiFi, in addition to providing it.
... View more
06-23-2023
06:02 AM
@bhadraka Check out this flow definition example for how to prepare and test JSON ahead of an invokeHttp post. Flow Def File: https://raw.githubusercontent.com/cldr-steven-matison/NiFi-Templates/main/InvokeHttp_Demo_2.json As far as the post itself goes. I highly recommend that you test API calls with something like Postman so that you can clearly test what headers and such are required so that the API call works. Only then try to make it work with InvokeHttp duplicating all headers. Figuring out how to get the call to work and how to configure InvokeHTTP at same time is not fun. TIP: in Invoke HTTP click the + to add key value pairs corresponding to your headers or values you need to pass.
... View more
06-22-2023
02:32 PM
@Juanes I believe you just need to resolve the missing dependency. Check out this solution: > pip3 install python-setuptools
> yum install impala-shell https://community.cloudera.com/t5/Support-Questions/How-to-install-impala-shell-on-RHEL-8-3-to-communicate-with/m-p/313665
... View more
06-21-2023
07:46 AM
@drewski7, in this case, have a look at @steven-matison 's answer because that is your solution to your problem.
... View more
06-21-2023
06:40 AM
@DTM In that case you would need to use the DatabaseConnectionPool and jdbc to aws postgres. This will require permissions to allow nifi network to speak to RDS endpoint. If you cant use DBCP, you will have to put something between the RDS and nifi. For example nifi could use invokeHTTP to send/post data to an ec2 instance with some kind of API that can do the connectivity.
... View more
06-16-2023
11:26 AM
You have to create a separate case statement for each column you are trying to update similar to what is done for the shipment number.
... View more