datavane/datasophon

[Bug] Doris] DDP1.2.2,使用doris官方包安装be失败

hawk9821 opened this issue · 0 comments

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

DORIS的service_ddl.json中 DorisBE resourceStrategies 对官方启动脚本做了替换,将 /bin/limit3 替换为 /usr/bin/ulimit , 导致启动be失败
{
"type": "replace",
"source": "be/bin/start_be.sh",
"regex":"/bin/limit3",
"replacement": "/usr/bin/ulimit"
}

What you expected to happen

将 /bin/limit3 替换为 /usr/bin/ulimit , start_be.sh 脚本中的 LIMIT 变量值为 /usr/bin/ulimit -c 0 -n 65536 ,
启动命令前会增加 /usr/bin/ulimit -c 0 -n 65536 导致 be启动失败

How to reproduce

修复方案:
删除service_ddl.json DorisBE resourceStrategies 替换官方脚本的操作 或者 制作新的 Doris2.0.7包,新包中修改start_be.sh

Anything else

No response

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct