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

[ERROR] read dir failed: dataDir=/data/dtle/var/lib/nomad #1065

Open
gdzw opened this issue Sep 18, 2023 · 0 comments
Open

[ERROR] read dir failed: dataDir=/data/dtle/var/lib/nomad #1065

gdzw opened this issue Sep 18, 2023 · 0 comments

Comments

@gdzw
Copy link

gdzw commented Sep 18, 2023

dtle版本:dtle-ce-4.23.04.0
os版本:CentOS Linux release 7.9.2009
mysql版本:mysql 8.0.28

每隔12小时,就报如下错误:

2023-09-16T03:13:34.762+0800 [ERROR] read dir failed: dataDir=/data/dtle/var/lib/nomad err="open /data/dtle/var/lib/nomad/binlog: no such file or directory"
2023-09-16T15:13:34.764+0800 [ERROR] read dir failed: dataDir=/data/dtle/var/lib/nomad err="open /data/dtle/var/lib/nomad/binlog: no such file or directory"
2023-09-17T03:13:34.765+0800 [ERROR] read dir failed: dataDir=/data/dtle/var/lib/nomad err="open /data/dtle/var/lib/nomad/binlog: no such file or directory"
2023-09-17T15:13:34.766+0800 [ERROR] read dir failed: dataDir=/data/dtle/var/lib/nomad err="open /data/dtle/var/lib/nomad/binlog: no such file or directory"

dtle配置信息如下:

  "Job": {
    "ID": "job_test",
    "Datacenters": ["dc1"],
    "TaskGroups": [{
        "Name": "src",
        "Tasks": [{
          "Name": "src",
          "Driver": "dtle",
          "Config": {
            "AutoGtid": "true",
            "SkipCreateDbTable": "false",
            "ReplicateDoDb": [{
              "TableSchema": "abc_brand",
	          "TableSchemaRename": "abc",
              "Tables": [{
                "TableName": "brand_only_code"
              }]
            },{
              "TableSchema": "abc_settle",
	          "TableSchemaRename": "abc",
              "Tables": [{
                "TableName": "settle_condition_conf"
              }]
	        }]

BinlogRelay 默认值为false,当前是需要如何配置才能保证不报错?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant