Member since
07-30-2019
3391
Posts
1618
Kudos Received
1000
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 251 | 11-05-2025 11:01 AM | |
| 157 | 11-05-2025 08:01 AM | |
| 488 | 10-20-2025 06:29 AM | |
| 628 | 10-10-2025 08:03 AM | |
| 402 | 10-08-2025 10:52 AM |
05-24-2017
12:10 PM
@Tinkle Mahendru By default the MergeContent processor is configured with "Minimum Number of Entries" set to 1. When the processor run it looks at the current incoming queue and bins FlowFiles based on its configuration. if the incoming queue only has 1 FlowFile in it at the time it runs it will merge because it met the min value above (basically file passed through with no merging). So you will need to play around wit the configs for this processor to get your desired results based on your dataflow needs/volume. Matt
... View more
05-24-2017
12:06 PM
@regie canada The extractText processor creates FlowFile attributes from the extracted text. NiFi has an AttributesToJSON processor you can use to generate JSON form these created attributes. For new questions, please open a new question. It makes it easier for community users to search for answers. Thanks, Matt
... View more
05-24-2017
12:02 PM
@Bhushan Babar When NiFi compares a users authenticated DN against the file based authorizer, the entries must match exactly (case sensitive and spaces count) . Can you share your nifi-user.log entries you see when you try to log in with the new user? Matt
... View more
05-23-2017
05:25 PM
@regie canada I agree. My answer was only intended to show how to split you multi-record file in to single records to be processed similar to @Eyad Garelnabi suggested approach. Matt
... View more
05-23-2017
04:31 PM
@Alvin Jin NiFi uses locally mounted storage for all four of its repositories. There is no support for external repositories unless you can mount them as a local addressable disk. Thanks, Matt
... View more
05-23-2017
11:59 AM
3 Kudos
@Bhushan Babar In order to access the UI of a secured NiFi instance/cluster two things must be successful: 1. A user must be successfully authenticated. By default NiFi will always look for a user's certificate being presented in the connection to use for authentication. If a user certificate is not present, the connection will be closed unless and alternative authentication strategy has been configured in your NiFi. NiFi can be configured to also use LDAP or Kerberos for user authentication. 2. A user must be authorized to access the NiFi resource they are requesting. Only after a user has been successfully authenticated, then the user will be looked up in the configured authorizer to see what NiFi resource that user has been granted access to. In you case, you have a user (cn=neha+ou=business,dc=example,dc=com) that authenticates successfully. I am going to assume this is via user certificate. The full DN from the user certificate is then being passed to the NiFi file based authorizer to determine what resources that authenticated user has been granted. The user added to the authorizer must match this DN exactly. When you changed the DN of the user in the authorizer, it no longer matched what was being presented in the user's certificate and authorized access was being denied. You can always tail the nifi-user.log to see exactly what value is being passed to the authorizer after successful authentication. There will be two entries in this log when a user connects. First you will see a line that says user X successfully authenticated. The next line will say access denied if user was not authorized for the resource. If you want to change the DN in NiFi's authorizer, you must also issue your user a new certificate with a matching DN. Thanks, Matt
... View more
05-23-2017
11:39 AM
3 Kudos
@regie canada Does each request in the file always start with ####################################################################### START of Request ####################################################################### and end with: ####################################################################### END of Request ####################################################################### If so, you could use the SplitContent processor to split your incoming FlowFile in multiple FlowFiles (each with a single request). Then you could parse each of those requests for the lines/values you want. The SplitContent processor would be configured as follows in this scenario: Do the 4 lines you want to extract the values from have a specific format? For example do they actually start with "Line" or is that property name always dynamic in nature? Thanks, Matt
... View more
05-17-2017
05:40 PM
2 Kudos
@Toky Raobelina The caused by line in the stack trace you provided points at a truststore issue most likely. Causedby: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Try running the following command from the command line on the serevr running NiFi: <JAVA_HOME>/bin/java -Djavax.net.ssl.trustStore=/<path to NiFi truststore>/truststore SSLPoke hostname:663 If it fails, use keytool to get a verbose output of both the keystore being used on your LDAPS server and Truststore being used by your NiFi. keytool -v --list -keystore /<path>/<truststore or keystore> Is the issuer of the PrivateKeyEntry in the LDAPS keystore found in NiFi's truststore as a trustedCertEntry? Thanks, Matt
... View more
05-17-2017
05:19 PM
1 Kudo
@Huahua Wei
1. Yes, HDF is free (Official Hortonworks support for HDF is what you pay for) https://hortonworks.com/products/data-center/hdf/ 2. As of the most recent official release, HDF and HDP require their own separate Ambari servers. A release coming in the not so distant future will allow you to install one Ambari that can manage both HDP and HDF services. Thanks, Matt
... View more
05-17-2017
03:16 PM
@Muhammad Umar Did changing to absolute paths resolve your issue here? If so, please mark answer as accepted. Thank you, Matt
... View more