-
Notifications
You must be signed in to change notification settings - Fork 527
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
获取顶点 Shard信息接口报异常,提示”The length of array should be equal“ #1299
Comments
@tmljob |
详见附件。 说明:这套hbase上,我们分别用0.10.4(graph-name:hugegrah)&0.11.2(graph-name:daas)建了两个图库,0.10.4版本的shard api可以正常请求,而0.11.2版本的shard api请求报如上错误。附件是我执行所述命令后,过滤出daas图库的相关信息。 |
@tmljob 在提供的信息中有如下一行
我用hbase shell转为byte[]时,发现一个奇怪的现象:
也就是startkey大于endkey! 这是HugeGraph在计算hbase的region分区时报错的原因 |
这个是怎么产生的呢?这个daas库里面的数据,是两种方式产生的: 我又试了下边的shard api,可以查询,但结果有点奇怪,有的分片的起始&结束标识是空的。 1、split_size=67108864
结果如下:
2、split_size=4294967295
结果如下:
|
这个是预期的,当region的startkey或者endkey本身为空时,对应的shard的start或者end就会为空字符串 |
Expected behavior 期望表现
通过” 获取顶点 Shard信息“restful接口获取分片信息,正常返回结果。
Actual behavior 实际表现
接口报错,提示如下异常:
Steps to reproduce the problem 复现步骤
Specifications of environment 环境信息
server0.11.2+hubble1.5.0+backend-hbase
The text was updated successfully, but these errors were encountered: