incubator-hugegraph icon indicating copy to clipboard operation
incubator-hugegraph copied to clipboard

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

Open fisherinbox opened this issue 8 years ago • 3 comments

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}

fisherinbox avatar Sep 20 '18 08:09 fisherinbox

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 avatar Sep 26 '18 02:09 javeme

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"}

fisherinbox avatar Sep 26 '18 02:09 fisherinbox

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

github-actions[bot] avatar Mar 29 '22 21:03 github-actions[bot]