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

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

Open
lianmeng0 opened this issue Apr 25, 2024 · 6 comments
Open

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

lianmeng0 opened this issue Apr 25, 2024 · 6 comments

Comments

@lianmeng0
Copy link

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
Copy link

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

@lianmeng0
Copy link
Author

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

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

@lianmeng0
Copy link
Author

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

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

@lianmeng0
Copy link
Author

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
Copy link

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

@lianmeng0
Copy link
Author

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}

@medcl 能够将8.x版本的迁移功能也提供出来吗?

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

2 participants