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

[BUG] Some test failures both in FLEX coordinator and Interactve side #3470

Open
18 of 22 tasks
lidongze0629 opened this issue Jan 4, 2024 · 1 comment
Open
18 of 22 tasks
Assignees
Labels
flex GraphScope FLEX Architecture stale

Comments

@lidongze0629
Copy link
Collaborator

lidongze0629 commented Jan 4, 2024

Describe the bug

1. POST /v1/graph/{graph_name}/dataloading

  • 接口 由于 indices 目录的存在,无法重复数据导入
  • 输入一个错误的 location 引擎会挂掉
  • 某次数据导入如果出错,会遗留 .lock 文件,导致无法执行其他图的操作
    截屏2024-01-04 上午11 27 31

2. DELETE /v1/graph/{graph_name}

  • 删除某个不存在的图时,接口中返回的信息多个 “/” Fail to delete graph: Graph not exists: /dd

3. POST /v1/graph/{graph_name}/procedure

  • 不同图上可以创建相同名字的 procedure 嘛?(@zhanglei1949 )
  • 创建 procedure 会失败,报错信息如下 IR compiler properties = /tmp/interactive_workspace//conf/engine_config.yaml not exists.
  • 目前创建 procedure 后需要重启引擎才能生效,是否可以省略该过程,目前显示的重启服务来支持新创建的 procedure
  • 当前,创建 procedure 的时候会触发编译过程,是否对用户来说等待时候过长?(@zhanglei1949 )

4. PUT v1/graph/{graph_name}/procedure/{procedure_name}

  • 更新某个 procedure 失败,报错信息如下:
    截屏2024-01-12 下午8 35 15

5. DELETE v1/graph/{graph_name}/procedure/{procedure_name}

  • 当图不存在是,报错信息写的 create graph
    截屏2024-01-12 下午8 54 03

6. POST /v1/service/start body {graph_name: xxxxx}

  • Interactive 背后只能有一张图对外提供服务,因此在切图时,compiler 目前好像不支持多张图 @zhanglei1949 (double check)

7. GET /v1/graph/{graph_name}/schema

  • 该接口返回空

8. POST /v1/job/dataloading

  • 是否针对 bulkLoader(GraphAr +Spark) 对外提供 job 接口,包含
    • 提交任务, 返回 jobid
    • 根据 jobid 查询任务状态,包括日志信息,或日志 logview 链接
    • 支持 cancel 任务

9 GET /v1/node/status

  • cpu_usage 和 memory usage 返回 1000 和 200 (代表1核,以及200M) 由 coordinator 提供该功能

10、服务接口

  • GET /v1/service/status 需返回 bolt_port 和 hqps_port,以支持可视化查询 {"status": running, "graph_name": "modern_graph", "bolt_port": xxxxx, "hqps_port": xxxxxx}
  • POST /v1/service/stop HTTP response body: {"message": "std::runtime_error (Stopping service not supported.)", "code": 500}
  1. 日志
  • 日志信息的存储、与订阅
  1. 其他:
  • Http 错误返回的 status code 都是 500
  • 关于 procedure 这一块,Interactive 提供两种方式查询, 1) 通过 frontend 暴露的端口服务,即 bolt 协议,可以查询 stored procedure 和正常的 cypher 语句; 2) 通过 admin port 暴露 http 服务,这个仅可以查询 stored procedured,当前的产品原型是否能统一这两种查询方式?(double check @pomelo-nwu @zhanglei1949 )
@lidongze0629 lidongze0629 added the flex GraphScope FLEX Architecture label Jan 4, 2024
@lidongze0629 lidongze0629 changed the title [BUG] Some test failures both FLEX coordinator and Interactve [BUG] Some test failures both in FLEX coordinator and Interactve Jan 4, 2024
@lidongze0629 lidongze0629 changed the title [BUG] Some test failures both in FLEX coordinator and Interactve [BUG] Some test failures both in FLEX coordinator and Interactve side Jan 4, 2024
@zhanglei1949
Copy link
Collaborator

Regarding the first question, we plan to implement it in the new version of the BulkLoader, which means completing the graph loading through GraphAr +Spark.

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

No branches or pull requests

3 participants