python gremlin connection timeout issue

守給你的承諾、 提交于 2020-08-25 05:16:17

问题


Getting gremlin driver timeout issue as below. We have increased the throughput and tried but still in vein.

[12/05/2019 06:50:33 > 1376bf: ERR ] Traceback (most recent call last):
[12/05/2019 06:50:33 > 1376bf: ERR ]   File "Integrated_Algorithm_PD_MChart_V0.2.py", line 120, in <module>
[12/05/2019 06:50:33 > 1376bf: ERR ]     productDevelopment_cs_response = execute_traversals(client)
[12/05/2019 06:50:33 > 1376bf: ERR ]   File "Integrated_Algorithm_PD_MChart_V0.2.py", line 77, in execute_traversals
[12/05/2019 06:50:33 > 1376bf: ERR ]     for result in callback.result():
[12/05/2019 06:50:33 > 1376bf: ERR ]   File "D:\home\python364x86\python364x86\lib\site-packages\gremlin_python\driver\resultset.py", line 61, in __next__
[12/05/2019 06:50:33 > 1376bf: ERR ]     result = self.one()
[12/05/2019 06:50:33 > 1376bf: ERR ]   File "D:\home\python364x86\python364x86\lib\site-packages\gremlin_python\driver\resultset.py", line 83, in one
[12/05/2019 06:50:33 > 1376bf: ERR ]     return self.done.result()
[12/05/2019 06:50:33 > 1376bf: ERR ]   File "E:\A\_work\79\b\source_packages\pythonx86.3.6.4\tools\Lib\concurrent\futures\_base.py", line 425, in result
[12/05/2019 06:50:33 > 1376bf: ERR ]   File "E:\A\_work\79\b\source_packages\pythonx86.3.6.4\tools\Lib\concurrent\futures\_base.py", line 384, in __get_result
[12/05/2019 06:50:33 > 1376bf: ERR ]   File "E:\A\_work\79\b\source_packages\pythonx86.3.6.4\tools\Lib\concurrent\futures\thread.py", line 56, in run
[12/05/2019 06:50:33 > 1376bf: ERR ]   File "D:\home\python364x86\python364x86\lib\site-packages\gremlin_python\driver\connection.py", line 83, in _receive
[12/05/2019 06:50:33 > 1376bf: ERR ]     status_code = self._protocol.data_received(data, self._results)
[12/05/2019 06:50:33 > 1376bf: ERR ]   File "D:\home\python364x86\python364x86\lib\site-packages\gremlin_python\driver\protocol.py", line 81, in data_received
[12/05/2019 06:50:33 > 1376bf: ERR ]     'message': 'Server disconnected - please try to reconnect', 'attributes': {}})
[12/05/2019 06:50:33 > 1376bf: ERR ] gremlin_python.driver.protocol.GremlinServerError: 500: Server disconnected - please try to reconnect
[12/05/2019 06:50:34 > 1376bf: SYS INFO] Status changed to Failed
[12/05/2019 06:50:34 > 1376bf: SYS ERR ] Job failed due to exit code 1

来源:https://stackoverflow.com/questions/59191457/python-gremlin-connection-timeout-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!