Member since
06-26-2015
515
Posts
139
Kudos Received
114
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2345 | 09-20-2022 03:33 PM | |
| 6278 | 09-19-2022 04:47 PM | |
| 3364 | 09-11-2022 05:01 PM | |
| 3885 | 09-06-2022 02:23 PM | |
| 5994 | 09-06-2022 04:30 AM |
03-24-2022
11:35 AM
1 Kudo
Fingers crossed it can push the reported bug up the review list a bit then! 🙂 Thanks for the excellent help and attention..
... View more
03-24-2022
05:54 AM
1 Kudo
Replaced authorizers file with one from System Admin Guide <authorizers>
<userGroupProvider>
<identifier>file-user-group-provider</identifier>
<class>org.apache.nifi.authorization.FileUserGroupProvider</class>
<property name="Users File">./conf/users.xml</property>
<property name="Legacy Authorized Users File"></property>
<property name="Initial User Identity 1">johnsmith@NIFI.APACHE.ORG</property>
<property name="Initial User Identity 2">cn=nifi-1,ou=people,dc=example,dc=com</property>
<property name="Initial User Identity 3">cn=nifi-2,ou=people,dc=example,dc=com</property>
</userGroupProvider>
<accessPolicyProvider>
<identifier>file-access-policy-provider</identifier>
<class>org.apache.nifi.authorization.FileAccessPolicyProvider</class>
<property name="User Group Provider">file-user-group-provider</property>
<property name="Authorizations File">./conf/authorizations.xml</property>
<property name="Initial Admin Identity">johnsmith@NIFI.APACHE.ORG</property>
<property name="Legacy Authorized Users File"></property>
<property name="Node Identity 1">cn=nifi-1,ou=people,dc=example,dc=com</property>
<property name="Node Identity 2">cn=nifi-2,ou=people,dc=example,dc=com</property>
</accessPolicyProvider>
<authorizer>
<identifier>managed-authorizer</identifier>
<class>org.apache.nifi.authorization.StandardManagedAuthorizer</class>
<property name="Access Policy Provider">file-access-policy-provider</property>
</authorizer>
</authorizers>
... View more
03-24-2022
03:28 AM
Hi @krishna123, I have the same problem. Thank you for helping me
... View more
03-24-2022
03:05 AM
1 Kudo
@Nifi_Al , Here's a way to do that: The RouteOnAttribute processor checks the file name and if it's a ZIP file it sends it for unpacking. Otherwise sends the non-zip file downstream. Cheers, André -- Was your question answered? Please take some time to click on "Accept as Solution" below this post. If you find a reply useful, say thanks by clicking on the thumbs up button.
... View more
03-23-2022
04:39 AM
1 Kudo
HI, thank you for your reply. I have found the solution. The problem was related to one of the known issues of Cloudera manager 7.4.4: OPSAPS-61523 Failure when installing Cloudera Manager AgentsWhen installing the Cloudera Manager Agent package on new hosts through either the Add Hosts wizard or Add Cluster wizard, if you select Cloudera Repository during the Select Repository step, the Agent Installation fails with message "Failed to Copy Installation Files".Select Custom Repository instead and enter the URL and your license credentials in the following format: https://[username]:[password]@archive.cloudera.com/p/cm7/7.4.4
... View more
03-22-2022
03:43 AM
Thanks for the explanation, @dmorvant .
From what you described, it seems to me that the ideal solution for this would be to use NiFi Parameters.
You could have 3 different Parameter Contexts, each of them with a different value for database.name.
Each one of the 3 Process Groups would use one of the Parameter Contexts. Then, when you create your DBCPConnectionPool controller service, you can specifyy the Database Connection URL parameter as, for example:
jdbc:postgresql://cdp.100.20.115.239.nip.io:5432/#{database.name}
With this, the controller service of each Process Group would connect to the database defined in the Parameter Context of that group. You don't even need a DBCPConnectionPoolLookup in this case.
Would that address you need?
What the NiFi version that you are using?
André
-- Was your question answered? Please take some time to click on "Accept as Solution" below this post. If you find a reply useful, say thanks by clicking on the thumbs up button.
... View more
03-22-2022
02:19 AM
Hi @HanzalaShaikh, I'm not having problem with only CAST, as you can see from the second query I wrote, second and third query from my original post works fine. Only combination of CAST and WITH is giving me this error. I'm new with Impala and I haven't use Beeline before (I'll google it though, tnx).
... View more
03-22-2022
01:36 AM
1 Kudo
Hi André! Thanks for your answer! That was the problem!
... View more
03-21-2022
03:12 PM
1 Kudo
@RobinRo , Yes, it does support other names. "cdsw" is just an example, but you can replace it with your preferred string. Cheers, André -- Was your question answered? Please take some time to click on "Accept as Solution" below this post. If you find a reply useful, say thanks by clicking on the thumbs up button.
... View more