编解码器:[varchar< ->com.thelastpickle.tlpstress.partitionkey]

798qvoo8  于 2021-06-14  发布在  Cassandra
关注(0)|答案(1)|浏览(299)

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

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压力,我可以用这个工具运行其他基本测试。

xnifntxz

xnifntxz1#

这个错误意味着他们试图将文本数据保存或读取到java驱动程序中没有相应Map的类的对象中。因为其他测试工作正常,所以所有驱动程序等都设置正确。我认为这是代码中的一个简单错误,您可以在github上打开这个问题。

相关问题