开发者社区> 问答> 正文

table store提示“ Validate PK size fail”

使用javasdk,确认配置的是2个主键,rid和admads,不知道为啥会报一个5···3···的错误。

Caused by: com.alicloud.openservices.tablestore.TableStoreException: Validate PK size fail. Input: 5, Meta: 3.
	at com.alicloud.openservices.tablestore.core.http.ErrorResponseHandler.handle(ErrorResponseHandler.java:56)
	at com.alicloud.openservices.tablestore.core.http.ResponseConsumer.getResponseContentWithMeta(ResponseConsumer.java:95)
	at com.alicloud.openservices.tablestore.core.http.GetRangeResponseConsumer.parseResult(GetRangeResponseConsumer.java:21)
	at com.alicloud.openservices.tablestore.core.http.GetRangeResponseConsumer.parseResult(GetRangeResponseConsumer.java:11)
	at com.alicloud.openservices.tablestore.core.http.ResponseConsumer.buildResult(ResponseConsumer.java:74)
	at com.aliyun.ots.thirdparty.org.apache.nio.protocol.AbstractAsyncResponseConsumer.responseCompleted(AbstractAsyncResponseConsumer.java:150)
	at com.aliyun.ots.thirdparty.org.apache.impl.nio.client.MainClientExec.responseCompleted(MainClientExec.java:418)
	at com.aliyun.ots.thirdparty.org.apache.impl.nio.client.DefaultClientExchangeHandlerImpl.responseCompleted(DefaultClientExchangeHandlerImpl.java:164)
	at com.aliyun.ots.thirdparty.org.apache.nio.protocol.HttpAsyncRequestExecutor.processResponse(HttpAsyncRequestExecutor.java:355)
	at com.aliyun.ots.thirdparty.org.apache.nio.protocol.HttpAsyncRequestExecutor.inputReady(HttpAsyncRequestExecutor.java:242)
	at com.aliyun.ots.thirdparty.org.apache.impl.nio.client.LoggingAsyncRequestExecutor.inputReady(LoggingAsyncRequestExecutor.java:87)
	at com.aliyun.ots.thirdparty.org.apache.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:264)
	at com.aliyun.ots.thirdparty.org.apache.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:73)
	at com.aliyun.ots.thirdparty.org.apache.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:37)
	at com.aliyun.ots.thirdparty.org.apache.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:113)
	at com.aliyun.ots.thirdparty.org.apache.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:159)
	at com.aliyun.ots.thirdparty.org.apache.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:338)
	at com.aliyun.ots.thirdparty.org.apache.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:316)
	at com.aliyun.ots.thirdparty.org.apache.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:277)
	at com.aliyun.ots.thirdparty.org.apache.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:105)
	at com.aliyun.ots.thirdparty.org.apache.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:584)

展开
收起
小尘哥 2022-03-02 17:40:22 5167 0
2 条回答
写回答
取消 提交回答
  • 2

    2022-05-11 09:09:44
    赞同 展开评论 打赏
  • 1

    2022-03-02 19:40:23
    赞同 展开评论 打赏
问答分类:
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
TableStore在社交类场景下的应用 立即下载
表格存储实时数据流Steam的技术揭秘和应用场景 立即下载
表格存储(TableStore) 立即下载