通过TimelineStore的prepareTables方法创建表的时候,报这个错误。控制台查看表是创建成功的。麻烦看看是什么问题
tablestore版本是5.0.0
Caused by: com.alicloud.openservices.tablestore.timeline.TimelineException: OTSParameterInvalid at com.alicloud.openservices.tablestore.timeline.utils.Utils.convertException(Utils.java:158) at com.alicloud.openservices.tablestore.timeline.core.TimelineStoreImpl.prepareTables(TimelineStoreImpl.java:157) at com.huizhi.im.tablestore.impl.TimeLineServiceImpl.generateTimelineStore(TimeLineServiceImpl.java:113) at com.huizhi.im.tablestore.impl.TimeLineServiceImpl.init(TimeLineServiceImpl.java:51) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:363) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:307) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136) ... 18 common frames omitted Caused by: com.alicloud.openservices.tablestore.TableStoreException: Operation is denied as table TTL exists. at com.alicloud.openservices.tablestore.core.CallbackImpledFuture.getResultWithoutLock(CallbackImpledFuture.java:107) at com.alicloud.openservices.tablestore.core.CallbackImpledFuture.get(CallbackImpledFuture.java:89) at com.alicloud.openservices.tablestore.SyncClient.waitForFuture(SyncClient.java:428) at com.alicloud.openservices.tablestore.SyncClient.createSearchIndex(SyncClient.java:351) at com.alicloud.openservices.tablestore.timeline.core.TimelineStoreImpl.prepareTables(TimelineStoreImpl.java:155) ... 27 common frames omitted
本问题来自阿里云开发者社区的【11大垂直技术领域开发者社群】。https://developer.aliyun.com/article/706511 点击链接欢迎加入感兴趣的技术领域群。
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。