Member since
02-01-2022
224
Posts
72
Kudos Received
48
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
168 | 08-17-2023 06:07 AM | |
227 | 08-14-2023 05:54 AM | |
290 | 08-07-2023 06:51 AM | |
218 | 07-17-2023 08:43 AM | |
383 | 07-17-2023 08:38 AM |
10-03-2023
08:27 AM
1 Kudo
@MWM Before sendEmail you need to add a DetectDuplicate processor. https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.12.1/org.apache.nifi.processors.standard.DetectDuplicate/ You can find a sample template here: https://github.com/steven-matison/NiFi-Templates/blob/master/DetectDuplicate_DistributedMapCache_Demo.xml
... View more
09-06-2023
08:04 AM
@Kiranq Why are you using ExecuteScript? You can setup a DBCP (DataBaseConnectionPool) controller service with your sql connection and driver file. Make sure that jdbc driver is found on all nifi hosts. Then, you are able to use any processors that reference a DBCP Controller Service. For example: ExecuteSql.
... View more
09-06-2023
08:00 AM
@manishg You should only copy individual nars that you know you need, not ALL 1.10 nars. You error suggest a conflict with 1 or more. That being said, be super careful with the expectation that things from 1.10 will work in 1.22. Each of them would to be tested individually for compatibility in 1.22.x.
... View more
08-28-2023
05:29 AM
@JohnnyRocks ReplaceText more than once is something you want to avoid entirely. You need to look at how to solve the schema concerns within the record based processors. It should be possible to avoid ReplaceText all together. If your upstream data is that different (3 different formats) within the same pipeline, consider how to address that upstream or in separate nifi flows. Alternatively multiple pipelines can be built with separate top branch that pipes into the same record based processor. This would be something like 3 single routes through a ReplaceText then all going to ConvertRecord. However i would still try to optimize without ReplaceText in the manner described here.
... View more
08-25-2023
09:48 AM
1 Kudo
@gbrfilipe You should be able to very easily install 1.21 on a new machine with ssl enabled. When you do the first startup, nifi will report out the user and password required in the app log: Generated Username [75db8691-953c-4b96-b488-da2d3abf1b9d] Generated Password [GHl/n4A7RUBKsM48TO0sLxjElR9HJPsR] org.apache.nifi.web.server.JettyServer https://127.0.0.1:8443/nifi You would swap in your EC2 instance host. If nifi is running, and you are still unable to access it via the EC2 host, this is most definitely aws firewall configs. I would not use an old version or non https nifi to evaluate.
... View more
08-23-2023
05:55 AM
@tqiu No, there is no more HDP. That product is end of life. Please check out how to upgrade HDP to CDP. https://docs.cloudera.com/upgrade-companion/cdp_upgrade.html
... View more
08-21-2023
08:37 AM
Let's take this a different direction... open up a code box in your reply. Choose Preformatted: Insert Lines 0 - 11 here Remove anything sensitive of course.
... View more
08-21-2023
07:16 AM
@bhadraka It does not appear like this can be achieved with our CSVReader. See this JIRA looking for a feature to set the skip rows: https://issues.apache.org/jira/browse/NIFI-8932 If your data's "10 rows" is always known and the same you could use a ReplaceText to get only 11+ rows. You would match that text, and not replace it, just take the rest. If the first 10 rows are just ignored and of the same structure as all rows, ie not some prepending lines with headers, etc; you could also use a CSV Reader and program your flow to simply ignore the first 10 flow files.
... View more
08-21-2023
07:09 AM
@john0123 There are several ways to include values with the InvokeHttp call. Custom values in the host/url is not preferred as they may not be noticed there. Try to add productId as a user-defined property. Click the (+) on properties and create it there. Then test again.
... View more
08-21-2023
07:00 AM
@kothari here is a very good match with several comments w/ things you should check. https://community.cloudera.com/t5/Support-Questions/Ranger-group-policy-not-being-applied-to-the-users-with-in/td-p/95972 To summarize: Make sure user is in the AD group. Make sure users and groups synced. Check case sensitivity Confirm ranger policies are correct.
... View more