-
Notifications
You must be signed in to change notification settings - Fork 49
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
scql执行run命令 timeout参数设置不起作用 #365
Comments
你好,可以贴一下执行命令和日志的信息 |
命令如下: 2024-09-27 02:54:49.555 [warning] [session_manager.cc:GetSession:156] [scqlengine] session(bad8437a-7c7b-11ef-a9b6-0242ac170002) not exists. default return nullptr. |
您的数据量是多大的?方便提供下两台机器的mem,另外两台机器之间的带宽延迟有没有做限制? |
两边数据量很小,都不到100条。机器的内存是64G。scql有设置带宽延迟的参数嘛?我没有在其它的地方限制这个。 |
那有可能是mysql和engine连接的问题,可以贴下你的gflags.conf和docker-compose配置文件信息; |
gflags.conf 文件配置如下: docker-compose.yaml文件配置信息如下: |
可以尝试下在connection_str中添加mysql port信息,重启服务监控下 docker logs engine-name 日志信息 |
engine 信息如下: |
还是执行以前的run命令,仍旧执行不到500秒,报错。 engine的日志: 2024-09-27 10:47:00.92710 ERROR executor.go:98 |RequestID:|SessionID:b0abbc6f-7cbd-11ef-ad09-0242ac180003|ActionName:EngineStub@RunExecutionPlan|CostTime:56.08233881s|Reason:InvalidResponse|ErrorMsg:Error: code=320, msg="RunExecutionPlan create session(b0abbc6f-7cbd-11ef-ad09-0242ac180003) failed, catch std::exception=[external/yacl/yacl/link/transport/channel.cc:427] Get data timeout, key=b0abbc6f-7cbd-11ef-ad09-0242ac180003:2:ALLGATHER "|Request: |
尝试将 link_recv_timeout_ms 调大些试下; |
好的,我试一下。我看官方文档里说,这个默认值是30000,单位是毫秒嘛? |
是的,默认30s |
查看下你创建数据表的命令,是否有指定使用这张表; |
贴下 create table for bob 的命令看看 |
哦,我查了,是我的问题。谢谢。超时哪个设置,我测试完了再回复,看设置link_recv_timeout_ms 是否能起作用。谢谢! |
Stale issue message. Please comment to remove stale tag. Otherwise this issue will be closed soon. |
Issue Type
Running
Have you searched for existing issues?
Yes
OS Platform and Distribution
linux v10
SCQL Version
0.8.1b
What happend and What you expected to happen.
Configuration used to run SCQL.
SCQL log output.
The text was updated successfully, but these errors were encountered: