on 10-29-2020 7:50 AM
Hi All,
Did you try graph terminator with HANA Client operator? I am having an issue in terminating the graph after the load is completed. My graph is as below:
Constant Generator -->> SAP HANA Client -->> Python Operator -->> SAP HANA Client -->> Graph Terminator
When I use graph terminator, it simply terminates the graph as soon as first set of records are loaded to hana table. Ideally, I would want all data to be loaded before graph is terminated.
Any inputs on how to achieve this?
Hello achinank,
As a troubleshooting, can you try to remove the last step of the graph - Graph Terminator? Then you can test it and if the Python code is executed successfully and all of the data sets are transferred, then you can try the steps, that Thorsten has proposed. If not, then you can check your code for any termination after the first record set. You can always stop the test graph from the Modeler, and then you can delete it (after it is completed). If you have issues, you can delete it using kubectl, first by finding it using
kubectl -n <NAMESPACE> get pods
and then
kubectl -n <NAMESPACE> delete pod <POD_NAME>
Kind regards,
MS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi mihail.sevdiev
My graph is working perfectly fine without graph terminator. But the only issue is I don't want to manually kill the graph every time especially it's not possible when the graphs are to be scheduled. I am looking to automate the complete process and thus need to find a way to terminate the graph automatically only after all the records are loaded to HANA table.
Regards
Achin Kimtee
User | Count |
---|---|
72 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.