Skip to content
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

部署 tiflash 缺少 numactl 出现 log 目录为空 #642

Closed
zhouyueyue1115 opened this issue Jul 29, 2020 · 1 comment · Fixed by #984
Closed

部署 tiflash 缺少 numactl 出现 log 目录为空 #642

zhouyueyue1115 opened this issue Jul 29, 2020 · 1 comment · Fixed by #984
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. type/bug Categorizes issue as related to a bug.
Milestone

Comments

@zhouyueyue1115
Copy link

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
  1. What did you expect to see?

  2. What did you see instead?

  3. What version of TiUP are you using (tiup --version)?

@zhouyueyue1115 zhouyueyue1115 added the type/bug Categorizes issue as related to a bug. label Jul 29, 2020
@lucklove lucklove added the help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. label Jul 29, 2020
@lucklove
Copy link
Member

Cause:

#!/bin/bash
set -e

# WARNING: This file was auto-generated. Do not edit!
#          All your edit might be overwritten!
cd "{{.DeployDir}}" || exit 1

export RUST_BACKTRACE=1

export TZ=${TZ:-/etc/localtime}
export LD_LIBRARY_PATH={{.DeployDir}}/bin/tiflash:$LD_LIBRARY_PATH

echo -n 'sync ... '
stat=$(time sync)
echo ok
echo $stat

{{- if .NumaNode}}
exec numactl --cpunodebind={{.NumaNode}} --membind={{.NumaNode}}  \
{{- else}}
exec \
{{- end}}
    bin/tiflash/tiflash server --config-file conf/tiflash.toml

We should append something like:

2>> "{{.LogDir}}/tiflash_stderr.log"

@lucklove lucklove added this to the v1.2.2 milestone Oct 12, 2020
@lonng lonng modified the milestones: v1.2.2, v1.3.0 Nov 4, 2020
lucklove added a commit to lucklove/tiup that referenced this issue Dec 11, 2020
lucklove added a commit that referenced this issue Dec 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. type/bug Categorizes issue as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants