Australian Apache NiFi Experts

2019-07-19 Thread Simon Sigre
Looking for an Australian based Apache NiFi resource for a small project to POC some aspects of the product . Posted on the Slack community and was advised to post here . -- Simon Sigré simon.si...@gmail.com https://simonsigre.com | @simonsigre

Re: Bug/Issue with ReplaceTextWithMapping

2019-07-19 Thread Ameer Mawia
Correcting Typo. On Fri, Jul 19, 2019 at 2:03 PM Ameer Mawia wrote: > Guys, > > It seems that NIFI ReplaceTextWithMapping Processors has a BUG with > Refreshing its Mapped file. We are using its functionality in PROD and > getting odd behaviour. > > Our USAGE Scenario: > >- We use NIFI

Bug/Issue with ReplaceTextWithMapping

2019-07-19 Thread Ameer Mawia
Guys, It seems that NIFI ReplaceTextWithMapping Processors has a BUG with Refreshing its Mapped file. We are using its functionality in PROD and getting odd behaviour. Our USAGE Scenario: - We use NIFI primarily as a TRANSFORMATION Tool. - Our flow involves: 1. Getting a raw csv

Re: Continuing my LDAP auth adventures

2019-07-19 Thread Nicolas Delsaux
Oh god nifi-runner_1  | Caused by: org.springframework.ldap.UncategorizedLdapException: Uncategorized exception occured during LDAP processing; nested exception is javax.naming.NamingException: LDAP response read timed out, timeout used:1ms. nifi-runner_1  |    at

FW: ExecuteScript to list HDFS

2019-07-19 Thread Rui Pedro Ferreira (DSI)
Hello, I'm trying to build a groovy excuteScript to make some actions on hadoop hdfs. I follow this answer, from Matt Burgess to a similar question (https://community.hortonworks.com/questions/47493/nifi-executescript-using-external-libarries-with-g.html), but with no success. I test

Re: Continuing my LDAP auth adventures

2019-07-19 Thread Bryan Bende
The FileAccessPolicyProvider is making a call to the user group provider using the value you entered for initial admin: final User initialAdmin = userGroupProvider.getUserByIdentity(initialAdminIdentity); It has something to do with the value you entered for the initial admin not lining up with

Re: Continuing my LDAP auth adventures

2019-07-19 Thread Edward Armes
So when you use the LDAP provider the initial admin identity still needs to be set. However as your using the LDAP plugin, it does need to be the full DN of the user who is going to connect to cluster the first time to setup all the user permissions for all the other users. This site gives a good

Re: Continuing my LDAP auth adventures

2019-07-19 Thread Edward Armes
Hi Nicolas, In your actual configuration, is this the actual entry and not sanitized version? This attribute doesn't exist to make sure no grouping is done If so I think this is the problem. As I what I think is happening Nifi is trying to interpret this value as a DN and failing, if you only

Re: Continuing my LDAP auth adventures

2019-07-19 Thread Nicolas Delsaux
Here is the full version (with obvious replacements for manager dn, manager password, ldap server url, and other "sensitive" informations ldap-user-group-provider org.apache.nifi.ldap.tenants.LdapUserGroupProvider LDAPS a_dn a_password /opt/certs/cacerts.jks changeit JKS TLSv1

Re: Continuing my LDAP auth adventures

2019-07-19 Thread Pierre Villard
Hi Nicolas, Could you share the full content of your authorizers.xml file? Sometimes it's just a matter of references not being in the right "order". Le ven. 19 juil. 2019 à 11:59, Edward Armes a écrit : > I wasn't able to find any single good way, I don't know if switching the > logs down to

Re: Continuing my LDAP auth adventures

2019-07-19 Thread Edward Armes
I wasn't able to find any single good way, I don't know if switching the logs down to debug or trace might give you a bit more info though . In the end I just went through a worked it out by hand using a combination of manual checking against an alternative tool (i.e. an LDAP browser), file format

Re: Continuing my LDAP auth adventures

2019-07-19 Thread Nicolas Delsaux
Is there any way to get a better error ? Le 19/07/2019 à 11:36, Edward Armes a écrit : Hi Nicolas, This one is a bit of a Spring special. The actual cause here is that the Spring Bean that is being created from this file has silently failed, and thus the auto-wiring has failed as well. The

Re: Continuing my LDAP auth adventures

2019-07-19 Thread Edward Armes
Hi Nicolas, This one is a bit of a Spring special. The actual cause here is that the Spring Bean that is being created from this file has silently failed, and thus the auto-wiring has failed as well. The result is you get this lovely misleading error. The normal reason for the bean not being

Re: ldap auth : error code 12 - Unavailable Critical Extension

2019-07-19 Thread Pierre Villard
Great, thanks for letting us know! Pierre Le jeu. 18 juil. 2019 à 17:15, Nicolas Delsaux a écrit : > Yes Pierre, I have made sure the organization was correct using another > LDAP browser. > > Let me make sure by replaying the involved part of code. > > From that stack trace, the deeeper nifi

Continuing my LDAP auth adventures

2019-07-19 Thread Nicolas Delsaux
Hi all Now I know how to connect to my LDAP directory, i now have a strange error nifi-runner_1  | org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration':