-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NiPyAPI upsert_parameter_to_context timeout issue #327
Comments
A couple of questions:
If you can share those results here, we can investigate further. |
In regards to question number 2, I contact the admin about the logging. As for the wait_to_complete it makes sense it does not help in this case. Thanks. As for question number 1. It's a mixed bag scenario. There is a combination of existing parameters to update and new parameters. These are coming from another/existing parameter context. It starting to make some sense now. I will try using the prepare_parameter and let you know the results Thanks |
Hi Chaffelson. I did some additional testing using the prepare_parameter API call but still ran into issues. So, I simplified the scenario down to a single case. Adding a new parameter to the Parameter Context. Here is the code:
As before it seems to (partially) work as I do see the new parameter in the Parameter Context but I'm still getting the error message: Timed Out waiting for _update_complete to complete. |
Hi. Any comments or updates on this issue? |
Sorry, maintaining this library is a side project for the community and I can't always respond as quickly as I'd like. It sounds like it is applying the Parameter to the Context, which is good. It also sounds like it's taking a long time for the Canvas to finish updating with the new Parameter and return. Two things to look at:
|
Nipyapi version: 0.19.1
NiFi version: 1.16.0
NiFi-Registry version:
Python version: 3.7
Operating System: Windows/Linux
I am attempting to automate the update/modification of several Parameter Context parameters using the supplied NiPyAPI calls.
I setup a list of ParameterEntity (parameter) then do the following:
When I execute the code I get the following exception on the initial call of the loop: Timed Out waiting for _update_complete to complete
It seems to (partially) work as it does update the first parameter. I searched for alternatives and documentation but thus far haven't found anything.
At this point I'm blocked. Any suggestion or alternatives?
Note: I've also looked into using the
nipyapi.utils.wait_to_complete
api call but it made no difference.The text was updated successfully, but these errors were encountered: