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

清空数据出错

Open big1white opened this issue 6 years ago • 3 comments

Expected behavior 期望表现

{type something here...} java下使用该命令删除数据 hugeClient.graphs().clear("hugegraph", "I'm sure to delete all data");

Actual behavior 实际表现

{type something here...}

QQ截图20201116173857 数据量不大,只有两条数据 客户端,数据库都在本地

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} 最新版本

big1white avatar Nov 16 '20 10:11 big1white

@big1white 看报错是超时了,是否使用的hbase后端,一般hbase的clear耗时较长。可以重试或者调大超时时间。

javeme avatar Nov 16 '20 11:11 javeme

@big1white 看报错是超时了,是否使用的hbase后端,一般hbase的clear耗时较长。可以重试或者调大超时时间。

后端是hbase,调长了hbase.rpc.timeout,hbase.client.operation.timeout,hbase.client.scanner.timeout.period没有效果,想问HugeClient的超时时间如何设置

big1white avatar Nov 17 '20 06:11 big1white

@big1white 看报错是超时了,是否使用的hbase后端,一般hbase的clear耗时较长。可以重试或者调大超时时间。

设置了HugeGraph Client的超时时间后正常了

big1white avatar Nov 17 '20 06:11 big1white