Member since
02-01-2022
281
Posts
103
Kudos Received
60
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 1123 | 05-15-2025 05:45 AM | |
| 4961 | 06-12-2024 06:43 AM | |
| 7930 | 04-12-2024 06:05 AM | |
| 5853 | 12-07-2023 04:50 AM | |
| 3207 | 12-05-2023 06:22 AM |
12-09-2022
05:33 AM
@KPG1 Here is a good post i found that describes the required steps to move postgres to mysql including a php to do the postgres to mysql conversion. https://cloudera.ericlin.me/2016/10/hive-metastore-migration-from-embedded-postgres-to-mysql/ You may need to find a more modern tool for that conversion, but the process to dump, convert, and move metastores should be very similar.
... View more
10-28-2022
06:15 AM
@Vickey You will need to investigate the differences in execution from nifi vs hue. You should be able to see some differences in tez between both queries. The return code 1 is often due to tez resource availability. Also, i would suggest that you NOT do anything with retry logic in nifi until you are sure the processor works as expected the first time. Bringing in the retry logic only hides the issue if it is intermittent. Sounds like it is consistently not working, so retry is not helpful. Another suggestion is to turn the process logging level to DEBUG. Last but not least, in future, try to screen shot your flow, and processor configs so all of us can see more details
... View more
10-28-2022
05:31 AM
@Griggsy I would have to have working sample to test and provide better solution, that said i think you need to use function inside of the value, not the property. There you could also use ifElse making the NiFi Expression language operate for both scenarios. Chaining expressions together can be a challenge but should get you where you need to go.
... View more
10-28-2022
05:20 AM
If you are able to get the token and communicate with the api from postman, thats a great start. The PUT request must have some other issue. Are you passing the token correctly? Have you made sure that you are able to get the token, and make the put request from nifi node with command line? You always want to make sure you have working samples for any api system before you try to convert them to postman.
... View more
10-28-2022
05:16 AM
Are you sure the code is the same? Sounds like the clustered version is kicking off job and its never finishing (endless loop?) or the task is creating some performance or connectivity issue.. Depending on your processor, it may need to be flagged as Primary Only.
... View more
10-26-2022
05:41 AM
I believe so. Were you able to get a token using that user?
... View more
10-25-2022
01:42 PM
share the relationship error? I believe you need to complete the flowFIle transfer and committ first, then do the other stateFlowFile transfer and commit
... View more
10-25-2022
01:28 PM
You will need to complete the session.commit() call with right details to fit your scenario.
... View more
10-25-2022
09:30 AM
@D5ha I have had a recent similar need and I learned that you use session.commit() after a session.transfer to send a flowfile in an inner loop. In a custom script, without the commit specifically, nifi will assume and do the commit sending all the data in a single end execution flowfile. session.transfer(flowFile, REL_SUCCESS) session.commit()
... View more
10-24-2022
08:50 AM
@MaarufB Using nifi-cli outside of curl on a nifi node is definitely a challenge. There are a lot of things you need to check. Most of them are addressed in a similar post here: https://community.cloudera.com/t5/Support-Questions/Calling-nifi-Api-using-Postman/td-p/343993 Hopefully you can find the solution within that post.
... View more