sch = ControlHub(API_CREDENTIAL_ID, API_TOKEN)sdc=DataCollector(server_url='http://023aee033abf:18630',control_hub=sch)
sdc instance creation is taking lot of time to execute, when I force stop run, it shows the following err,
-------------------------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\mihir_kale\PycharmProjects\Informatica_to_SS\sdc_instance.py", line 15, in <module>
sdc=DataCollector(server_url='http://023aee033abf:18630',control_hub=sch)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mihir_kale\PycharmProjects\Informatica_to_SS\venv\Lib\site-packages\streamsets\sdk\sdc.py", line 90, in __init__
self.api_client = sdc_api.ApiClient(server_url=current_server_url,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mihir_kale\PycharmProjects\Informatica_to_SS\venv\Lib\site-packages\streamsets\sdk\sdc_api.py", line 97, in __init__
result = self._fetch_tunneling_instance_id()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mihir_kale\PycharmProjects\Informatica_to_SS\venv\Lib\site-packages\streamsets\sdk\sdc_api.py", line 140, in _fetch_tunneling_instance_id
wait_for_condition(_get_tunneling_instance_id, iself], timeout=300000)
File "C:\Users\mihir_kale\PycharmProjects\Informatica_to_SS\venv\Lib\site-packages\streamsets\sdk\utils.py", line 366, in wait_for_condition
outcome = condition(*condition_args or t], **condition_kwargs or {})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mihir_kale\PycharmProjects\Informatica_to_SS\venv\Lib\site-packages\streamsets\sdk\sdc_api.py", line 124, in _get_tunneling_instance_id
response = api_client._get(end_point, absolute_endpoint=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mihir_kale\PycharmProjects\Informatica_to_SS\venv\Lib\site-packages\streamsets\sdk\sdc_api.py", line 1268, in _get
response = self.session.get(url, params=params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mihir_kale\PycharmProjects\Informatica_to_SS\venv\Lib\site-packages\requests\sessions.py", line 600, in get
return self.request("GET", url, **kwargs)
What I want to do is I want to validate multiple pipelines at the same time. For that, I have to create multiple sdc instances for multiple engines, validate pipelines belonging to those sdc engines simultaneously using validate method.
I tried using sch instance but found that there is no engine configuration attribute linked to sch obj,i.e I can’t select a particular authoring engine for a particular pipeline using any sch instance method.
Is there a way to solve this?