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

使用HBase做后端存储,graph名称无法使用大写字母

Open tangxin1121 opened this issue 4 years ago • 4 comments

Expected behavior 期望表现

{type something here...} 在HBase中,可以按照配置文件的实际内容创建NameSpace作为Graph的名称。

Actual behavior 实际表现

{type something here...} 执行init-store.sh脚本,即使配置文件中的graph是大写,也会被转换成小写。

Steps to reproduce the problem 复现步骤

在源码中可以看到 hugegraph-master model:hugegraph-hbase package:com.baidu.hugegraph.backend.store.hbase HbaseStoreProvider.java 第29行,使用了toLowerCase()函数,把graph转为小写了。

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}

tangxin1121 avatar Aug 18 '20 08:08 tangxin1121

是的,遇到同样的问题,而大数据平台的Hbase又有明确的NameSpace规范(有一个固定的后缀包含大写字母)

jihuicheng avatar Aug 28 '20 02:08 jihuicheng

@tangxin1121 @jihuicheng 收到反馈,后续会考虑到该场景。

javeme avatar Sep 14 '20 13:09 javeme

@tangxin1121 @jihuicheng 收到反馈,后续会考虑到该场景。 @javeme 楼主说的问题,同样遇到了,请问下现在支持吗

daoerz avatar Aug 25 '21 11:08 daoerz

@daoerz 目前还没有, 如果需要的话, 可以自行修改一下源码去掉小写转换, 然后编译一下自行使用先

imbajin avatar Aug 25 '21 11:08 imbajin