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

1.restapi 有没有返回超时时长的设置2.restapi访问时产生的日志记录在哪 #68

Closed
fisherinbox opened this issue Sep 20, 2018 · 3 comments
Labels
inactive question Further information is requested

Comments

@fisherinbox
Copy link

Expected behavior 期望表现

{type something here...}

Actual behavior 实际表现

{type something here...}

Steps to reproduce the problem 复现步骤

  1. {step 1}
  2. {step 2}
  3. {step 3}

Status of loaded data 数据状态

Vertex/Edge summary 数据量

  • loaded vertices amount: {like 10 million}
  • loaded edges amount: {like 20 million}
  • loaded time: {like 200s}

Vertex/Edge example 数据示例

{type something here...}

Schema(VertexLabel, EdgeLabel, IndexLabel) 元数据结构

{type something here...}

Specifications of environment 环境信息

  • hugegraph version: {like v0.7.4}
  • operating system: {like centos 7.4, 32 CPUs, 64G RAM}
  • hugegraph backend: {like cassandra 3.10, cluster with 20 nodes, 3 x 1TB HDD disk each node}
@javeme
Copy link
Contributor

javeme commented Sep 26, 2018

1.restapi 有没有返回超时时长的设置

有的,可以使用HugeClient(String url, String graph, int timeout)或者HugeClient(String url, String graph, String username, String password, int timeout)

2.restapi访问时产生的日志记录在哪

java client没有记录访问日志,如果确实有需要记录日志可调用client各方法前打印日志。server端有打debug级别的访问日志,若需要请修改log4j配置文件conf/log4j2.xml中的level配置项。

@javeme javeme added the question Further information is requested label Sep 26, 2018
@fisherinbox
Copy link
Author

1.restapi 有没有返回超时时长的设置

有的,可以使用HugeClient(String url, String graph, int timeout)或者HugeClient(String url, String graph, String username, String password, int timeout)

2.restapi访问时产生的日志记录在哪

java client没有记录访问日志,如果确实有需要记录日志可调用client各方法前打印日志。server端有打debug级别的访问日志,若需要请修改log4j配置文件conf/log4j2.xml中的level配置项。

感谢,那如何查询当前的超时时间呢,除了hugeclient方式有没有修改配置文件的方式.这里说的超时是不是
与下文的timeout=60000ms 是一个东西
{"exception":"class java.io.UncheckedIOException","message":"java.io.IOException: Failed to get result within timeout, timeout=60000ms","cause":"java.io.IOException: Failed to get result within timeout, timeout=60000ms"}

@github-actions
Copy link

Due to the lack of activity, the current issue is marked as stale and will be closed after 20 days, any update will remove the stale label

imbajin pushed a commit that referenced this issue Oct 19, 2022
Change-Id: Id4fc070268d8957ef2764bffbb3c762d9c034a0d
imbajin pushed a commit that referenced this issue Nov 2, 2022
Change-Id: Id4fc070268d8957ef2764bffbb3c762d9c034a0d
imbajin pushed a commit that referenced this issue Nov 7, 2022
Change-Id: Id4fc070268d8957ef2764bffbb3c762d9c034a0d
imbajin pushed a commit that referenced this issue Nov 9, 2022
Change-Id: Id4fc070268d8957ef2764bffbb3c762d9c034a0d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inactive question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants