2213
Posts
231
Kudos Received
82
Solutions
About
My expertise is not in hadoop but rather online communities, support and social media. Interests include: photography, travel, movies and watching sports.
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 781 | 05-07-2025 11:41 AM | |
| 1642 | 02-27-2025 12:49 PM | |
| 3454 | 06-29-2023 05:42 AM | |
| 3008 | 05-22-2023 07:03 AM | |
| 2118 | 05-22-2023 05:42 AM |
06-09-2023
10:24 AM
@naveenb Your query will get better visibility by starting a new question in the community rather then asking on an already solved question. NiFi's ListSFTP and GetSFTP (deprecated in favor of listSFTP and FetchSFTP) processor only lists/gets files. When it generates a NiFi FlowFile from a file it finds recursively within the source SFTP server configured base directory, it adds a "path" attribute to that FlowFile. That "path" attribute has the absolute path to the file. So based on your configuration, the results you are seeing are expected since you configured your putSFTP with "/home/ubuntu/samplenifi/${path}" Were "path" attribute on your FlowFiles resolves to "/home/nifiuser/nifitest/sample" for files found in that source subdirectory. You can use NiFi expression language (NEL) to modify that "path" attribute string to get rid of the "/home/nifiuser" portion /home/ubuntu/samplenifi/${path:substringAfter('/home/nifiuser')} If you found that the provided solution(s) assisted you with your query, please take a moment to login and click Accept as Solution below each response that helped. Thank you, Matt
... View more
05-26-2023
12:29 PM
@Gutao When interacting with the NiFi rest-api, I'd recommend creating a client certificate to use in your automation. A secured NiFi will always WANT a client certificate and will only try another configured auth method if a client certificate is not provide in the TLS exchange. Using a certificate for your rest-api automation removes the need for obtaining a token completely. You simply pass your client certificate with every rest-api call. Another advantage here over auth is token expiration. With no token involved with certificate based auth, your certificate will continuously work until it expires (typical default is 1 or 2 years). You'll need to setup authorization policies for your certificate user (Certificate DN used as user identity) for the various endpoints you are trying to interact with through the rest-api. If you found that the provided solution(s) assisted you with your query, please take a moment to login and click Accept as Solution below each response that helped. Thank you, Matt
... View more
05-24-2023
07:31 AM
Hi @ChuckE, yes i had seen that note before and imagine that they fixed a similar issue but didnt catch this specific case, i am posting an issue in Jira to hopefully find a fix.
... View more
05-23-2023
07:13 PM
Thanks for the reply. In my case the question is: I build a model and then I train the model again; How do I create a new build of the model with the same id of the model already created before? I have to have the same access key of the model. I use cmlapi. Can I do cmlapi.CreateModelBuildRequest with exiting model id? Do you understand what I mean?
... View more
05-23-2023
05:39 AM
@suhaa I've sent you a private message to discuss
... View more
05-23-2023
05:37 AM
@suhaa Just sent you a private message to discuss
... View more
05-23-2023
05:28 AM
Happy to see you got the issue resolved. Thanks for marking the solution and best of luck moving forward. 😊
... View more
05-22-2023
09:07 AM
What you are doing is mostly correct. I see a couple of items that may be creating some issues, e.g. mis-assigned values. For example, you are assigning accel.x to all three attributes values ax, ay, az. But it seems like you probably meant to assign ax = $.accel.x , ay =$.accel.y , az =$.accel.z It seems you've mixed up "random" and "rand". The field name in your JSON is "random" so your attribute assignment should be rand = $.random Where is "btn" in your JSON?
... View more
05-22-2023
06:50 AM
1 Kudo
Congratulations on resolving the issue @cdsw_user_23432. Please use the "Accept as Solution" button to mark the reply that resolved the issue for you. It helps others in a similar situation find assistance in the future.
... View more
05-22-2023
06:40 AM
Congratulations on solving your issue @SandyClouds and thank you for posting the solution in case it can assist others.
... View more