Member since
07-30-2019
3399
Posts
1621
Kudos Received
1001
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 492 | 11-05-2025 11:01 AM | |
| 377 | 11-05-2025 08:01 AM | |
| 614 | 11-04-2025 10:16 AM | |
| 750 | 10-20-2025 06:29 AM | |
| 890 | 10-10-2025 08:03 AM |
03-13-2017
12:23 PM
@mel mendoza May I suggest that you open an Apache Jira against NiFi for this. Thanks, Matt
... View more
03-13-2017
12:05 PM
@Christophe Vico Exactly, so only <name> as you saw would have been passed to ranger for authorization. It is working correctly based upon your current configuration.
Can you access the UI of all of the other nodes without issue? Do there DNs match the same patterns on those nodes. If my above answer addressed your question, please accept that answer. Thank you, Matt
... View more
03-13-2017
12:00 PM
@vikash kumar Did you see the addition I made to my answer above that provided you with a working Expression Language statement to handle your routing? If this solution addressed you question, please accept teh answer. Thank you, Matt
... View more
03-10-2017
08:38 PM
@vikash kumar The RouteOnAttribute processor expects that a NiFi expression Language statement is used. If the the evaluation of that EL statement results in a true, then the FlowFile will be routed to the corresponding property name's relationship. Here is an example that will route FlowFile where the value associated to "file.lastModifiedTime" on the incoming FlowFile falls within the last 24 hours to the
"last24hours" relationship: Here is the full EL statement so you can copy it: ${file.lastModifiedTime:toDate("yyyy-MM-dd'T'HH:mm:ssZ"):toNumber():ge(${now():minus(86400000)})} Thank you, Matt
... View more
03-10-2017
07:40 PM
@vikash kumar
Are you looking for files where the "file.lastModifiedTime" is exactly 2017-03-08'T'11:00:00Z? Or are you looking for all files created at that time and newer?
... View more
03-10-2017
06:43 PM
@vikash kumar Can you share the NiFi expression language routing rule you created in your RouteOnAttribute processor? The rule must evaluate to "true" before a FlowFile will be routed to that relationship.
... View more
03-10-2017
03:36 PM
@vikash kumar You can use the ListSFTP processor to list all files on your SFTP server. The ListSFTP processor will create a 0 byte file with the following additional attributes written to it: Take the success relationship of the ListSFTP and send it to a routeOnAttribute processor. Use the routeOnAttribute processor to route on those FlowFiles where the attribute "file.lastModifiedTime" date falls within your desired range to a FetchSFTP processor. All other listed files could just be auto-terminated. Thanks, Matt
... View more
03-10-2017
01:34 PM
@Mehul Shah No problem. At the bottom of every answer is a line that says:
Simply click on "Accept" under the answer that helped resolve your issue.
As a future note, avoid adding new answers as responses to other answers. Responses should be made as comments so that it is one continuous thread for other users searching for answers to the same issue. Thanks again, Matt
... View more
03-10-2017
01:18 PM
@Mehul Shah Glad to hear you are up and running If the provided answer solved your issue, please accept the answer. Thanks, Matt
... View more
03-10-2017
01:08 PM
3 Kudos
@Mehul Shah You NiFi is failing to start because your Java cannot decrypt your keystore: Caused by: java.io.IOException: exception decrypting data - java.security.InvalidKeyException: Illegal key size at org.bouncycastle.jcajce.provider.keystore.pkcs12.PKCS12KeyStoreSpi.cryptData Java supports only 128-bit encryption by default.
128bits == 16Bytes == 16 Chars. So the cryptKey used by your keystore cannot exceed 16 characters.
If you want to exceed more than 16 character you have to install Java Cryptography Extension (JCE) Unlimited Strength. You will either need to obtain new keystore which uses a simpler password or install the JCE to your Java install. Thanks, Matt
... View more