找不到请求操作的编解码器:[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 驱动程序?我只下载 link 中提到的 tlp-stress,但我可以使用此工具 运行 进行其他基本测试。
此错误意味着他们正在尝试将文本数据保存或读取到 class 的对象中,但在 Java 驱动程序中没有相应的映射。因为其他测试有效,所以所有驱动程序等都已正确设置。我认为这是代码中的简单错误,您可以打开 issue on Github.
我正在 运行使用 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 驱动程序?我只下载 link 中提到的 tlp-stress,但我可以使用此工具 运行 进行其他基本测试。
此错误意味着他们正在尝试将文本数据保存或读取到 class 的对象中,但在 Java 驱动程序中没有相应的映射。因为其他测试有效,所以所有驱动程序等都已正确设置。我认为这是代码中的简单错误,您可以打开 issue on Github.