繁体   English   中英

找不到请求的操作的编解码器:[varchar <-> com.thelastpickle.tlpstress.PartitionKey]

[英]Codec not found for requested operation: [varchar <-> com.thelastpickle.tlpstress.PartitionKey]

我正在使用tlp-stress( http://thelastpickle.com/blog/2018/10/31/tlp-stress-intro.html )在Cassandra中对LWT进行压力测试。 当我运行以下命令时,它会出错。

bin/tlp-stress run LWT -d "2m" --replication "{'class': 'NetworkTopologyStrategy', 'us-east': '3', 'us-west-2': '3'}" -t 10 --host 10.xxx.xxx.xxx

Codec not found for requested operation: [varchar <-> com.thelastpickle.tlpstress.PartitionKey]
com.datastax.driver.core.exceptions.CodecNotFoundException: Codec not found for requested operation: [varchar <-> com.thelastpickle.tlpstress.PartitionKey]

我不是开发人员,也不了解Java,需要帮助来弄清楚这里出了什么问题以及应该怎么做才能使其运行? 是否需要安装任何Java驱动程序? 我只下载链接中提到的tlp-stress,但是我可以使用此工具运行其他基本测试。

此错误意味着他们正在尝试将文本数据保存或读取到Java驱动程序中没有对应映射的类的对象中。 因为其他测试有效,所以所有驱动程序等均已正确设置。 我认为这是代码中的简单错误,您可以在Github上打开此问题

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM