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

Explorer使用异常模板文件导入 服务挂掉 #286

Closed
liangliangc opened this issue Sep 5, 2023 · 2 comments
Closed

Explorer使用异常模板文件导入 服务挂掉 #286

liangliangc opened this issue Sep 5, 2023 · 2 comments
Assignees
Labels
affects/master PR/issue: this bug affects master version. process/done Process of bug severity/major Severity of bug type/bug Type: something is unexpected

Comments

@liangliangc
Copy link

Explorer环境

192.168.8.48:7222

登录的host:192.168.8.131:9669 usename:root 密码:nebula

复现路径

image
image

文件内容

{
  "client": {
    "version": "v3",
    "address": "192.168.8.131:9669",
    "user": "root",
    "password": "nebula",
    "concurrencyPerAddress": 10,
    "retry": 3
  },
  "manager": {
    "spaceName": "importer_test",
    "batch": 128,
    "readerConcurrency": 50,
    "importerConcurrency": 512
  },
  "sources": [
    {
      "hdfs": {
        "address": "192.168.8.161:9000",
        "user": "root",
        "path": "/user/000KJB/bdhbkgkjb/db/bd_bkgdb/tbl_bdbkg_tigergraph_trans_flow/hp_settle_dt=20230705/edge_*.csv",
        "csv": {
          "delimiter": ",",
          "withHeader": true
        },
        "tags": [
          {
            "name": "hdfs",
            "id": {
              "type": "string",
              "index": 0,
              "function": null
            }
          }
        ]
      }
    }
  ]
}

导致Explorer服务挂掉

Explorer抛出的报错信息

[vesoft@192 nebula-explorer]$ tail -f explorer.log 
github.com/vesoft-inc/nebula-importer/v4/pkg/config/base.(*Source).BuildSourceAndReader(0xc00063cdc0, {0xc00063cdb0, 0x2, 0x2})
	github.com/vesoft-inc/nebula-importer/v4@v4.0.0/pkg/config/base/source.go:33 +0x1a5
github.com/vesoft-inc/nebula-importer/v4/pkg/config/v3.(*Manager).BuildManager(0xc000d184e0, {0x2249e50?, 0xc0008c81c0}, {0x22446a0?, 0xc000cc31a0}, {0xc00044fb90, 0x1, 0x3b35dc679f8ef273?}, {0xc00063ced0, 0x1, ...})
	github.com/vesoft-inc/nebula-importer/v4@v4.0.0/pkg/config/v3/manager.go:41 +0x645
github.com/vesoft-inc/nebula-importer/v4/pkg/config/v3.(*Config).Build(0xc000d18480)
	github.com/vesoft-inc/nebula-importer/v4@v4.0.0/pkg/config/v3/config.go:77 +0x376
github.com/vesoft-inc/nebula-studio/server/api/studio/internal/service/importer.StartImport.func3()
	github.com/vesoft-inc/nebula-studio/server@v0.0.0/api/studio/internal/service/importer/importer.go:47 +0x68
created by github.com/vesoft-inc/nebula-studio/server/api/studio/internal/service/importer.StartImport
	github.com/vesoft-inc/nebula-studio/server@v0.0.0/api/studio/internal/service/importer/importer.go:45 +0x218
@liangliangc liangliangc added type/bug Type: something is unexpected severity/major Severity of bug affects/master PR/issue: this bug affects master version. labels Sep 5, 2023
@veezhang
Copy link
Contributor

veezhang commented Sep 7, 2023

Explorer does not support hdfs for the time being, resulting in no configuration of data source information.

@liangliangc
Copy link
Author

Explorer中已验证通过

@github-actions github-actions bot added the process/fixed Process of bug label Sep 14, 2023
@liangliangc liangliangc added process/done Process of bug and removed process/fixed Process of bug labels Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects/master PR/issue: this bug affects master version. process/done Process of bug severity/major Severity of bug type/bug Type: something is unexpected
Projects
None yet
Development

No branches or pull requests

3 participants