medcl / esm

An simple Elasticsearch migration tool.
850 stars 258 forks source link

什么时候可以更新到可以迁移8.x版本 #87

Open lianmeng0 opened 4 months ago

lianmeng0 commented 4 months ago

Linux系统使用最新版的去迁移es集群数据,欲从8.7.1迁移到8.12.2版本,执行后报错: [04-25 11:03:03] [INF] [ migrator.go:115 ,ParseEsApi] source es version: 8.7.1 [04-25 11:03:03] [ERR] [ v0.go:372 ,NewScroll] server error: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"No search type for [scan]"}],"type":"illegal_argument_exception","reason":"No search type for [scan]"},"status":400} [04-25 11:03:03] [ERR] [ main.go:144 ,main] server error: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"No search type for [scan]"}],"type":"illegal_argument_exception","reason":"No search type for [scan]"},"status":400}

CharellKing commented 1 month ago

maybe you can try https://github.com/CharellKing/ela; which has support es8.

lianmeng0 commented 1 month ago

maybe you can try https://github.com/CharellKing/ela; which has support es8.

请问这个是需要自己编译吗?没看见可执行文件

lianmeng0 commented 1 month ago

maybe you can try https://github.com/CharellKing/ela; which has support es8.

由于我这边的网络受限问题,无法对其进行编译,您可提供编译后的可执行文件吗?非常感谢!

lianmeng0 commented 1 month ago

maybe you can try https://github.com/CharellKing/ela; which has support es8.

总是在此处断开连接 go: downloading github.com/spf13/viper v1.19.0 go: downloading github.com/alitto/pond v1.9.1 go: downloading github.com/google/uuid v1.6.0 go: downloading github.com/jinzhu/copier v0.4.0 go: downloading github.com/pkg/errors v0.9.1 go: downloading github.com/samber/lo v1.44.0 go: downloading github.com/spf13/cast v1.6.0 go: downloading github.com/sirupsen/logrus v1.9.3 go: downloading github.com/elastic/go-elasticsearch/v5 v5.6.1 go: downloading github.com/elastic/go-elasticsearch/v6 v6.8.10 go: downloading github.com/elastic/go-elasticsearch/v7 v7.17.10 go: downloading github.com/elastic/go-elasticsearch/v8 v8.14.0 go: downloading github.com/mitchellh/mapstructure v1.5.0 go: downloading github.com/segment-boneyard/go-map-path v1.0.0 service/bulkmigrator.go:9:2: github.com/alitto/pond@v1.9.1: Get "https://proxy.golang.org/github.com/alitto/pond/@v/v1.9.1.zip": dial tcp 142.251.33.81:443: connect: connection refused pkg/es/es5.go:17:2: github.com/elastic/go-elasticsearch/v5@v5.6.1: Get "https://proxy.golang.org/github.com/elastic/go-elasticsearch/v5/@v/v5.6.1.zip": dial tcp 142.251.33.113:443: connect: connection refused pkg/es/es5.go:18:2: github.com/elastic/go-elasticsearch/v5@v5.6.1: Get "https://proxy.golang.org/github.com/elastic/go-elasticsearch/v5/@v/v5.6.1.zip": dial tcp 142.251.33.113:443: connect: connection refused pkg/es/es6.go:17:2: github.com/elastic/go-elasticsearch/v6@v6.8.10: Get "https://proxy.golang.org/github.com/elastic/go-elasticsearch/v6/@v/v6.8.10.zip": dial tcp 142.251.33.113:443: connect: connection refused pkg/es/es6.go:18:2: github.com/elastic/go-elasticsearch/v6@v6.8.10: Get "https://proxy.golang.org/github.com/elastic/go-elasticsearch/v6/@v/v6.8.10.zip": dial tcp 142.251.33.113:443: connect: connection refused pkg/es/es7.go:17:2: github.com/elastic/go-elasticsearch/v7@v7.17.10: Get "https://proxy.golang.org/github.com/elastic/go-elasticsearch/v7/@v/v7.17.10.zip": dial tcp 142.251.33.113:443: connect: connection refused pkg/es/es7.go:18:2: github.com/elastic/go-elasticsearch/v7@v7.17.10: Get "https://proxy.golang.org/github.com/elastic/go-elasticsearch/v7/@v/v7.17.10.zip": dial tcp 142.251.33.113:443: connect: connection refused pkg/es/es8.go:17:2: github.com/elastic/go-elasticsearch/v8@v8.14.0: Get "https://proxy.golang.org/github.com/elastic/go-elasticsearch/v8/@v/v8.14.0.zip": dial tcp 142.251.33.81:443: connect: connection refused pkg/es/es8.go:18:2: github.com/elastic/go-elasticsearch/v8@v8.14.0: Get "https://proxy.golang.org/github.com/elastic/go-elasticsearch/v8/@v/v8.14.0.zip": dial tcp 142.251.33.81:443: connect: connection refused service/task.go:9:2: github.com/google/uuid@v1.6.0: Get "https://proxy.golang.org/github.com/google/uuid/@v/v1.6.0.zip": dial tcp 142.251.33.113:443: connect: connection refused pkg/es/es5settings.go:5:2: github.com/jinzhu/copier@v0.4.0: Get "https://proxy.golang.org/github.com/jinzhu/copier/@v/v0.4.0.zip": dial tcp 142.251.33.113:443: connect: connection refused pkg/es/es5.go:11:2: github.com/mitchellh/mapstructure@v1.5.0: Get "https://proxy.golang.org/github.com/mitchellh/mapstructure/@v/v1.5.0.zip": dial tcp 142.251.33.113:443: connect: connection refused pkg/es/es0.go:12:2: github.com/pkg/errors@v0.9.1: Get "https://proxy.golang.org/github.com/pkg/errors/@v/v0.9.1.zip": dial tcp 142.251.33.113:443: connect: connection refused utils/logger.go:5:2: github.com/samber/lo@v1.44.0: Get "https://proxy.golang.org/github.com/samber/lo/@v/v1.44.0.zip": dial tcp 142.251.33.113:443: connect: connection refused pkg/es/es5settings.go:6:2: github.com/segment-boneyard/go-map-path@v1.0.0: Get "https://proxy.golang.org/github.com/segment-boneyard/go-map-path/@v/v1.0.0.zip": dial tcp 142.251.33.81:443: connect: connection refused utils/logger.go:6:2: github.com/sirupsen/logrus@v1.9.3: Get "https://proxy.golang.org/github.com/sirupsen/logrus/@v/v1.9.3.zip": dial tcp 142.251.33.81:443: connect: connection refused utils/ctx.go:5:2: github.com/spf13/cast@v1.6.0: Get "https://proxy.golang.org/github.com/spf13/cast/@v/v1.6.0.zip": dial tcp 142.251.33.113:443: connect: connection refused main.go:9:2: github.com/spf13/viper@v1.19.0: Get "https://proxy.golang.org/github.com/spf13/viper/@v/v1.19.0.zip": dial tcp 142.251.33.113:443: connect: connection refused

CharellKing commented 1 month ago

我这边提供二进制,我上传一下。