Codec not found for requested operation: [varchar com.thelastpickle.tlpstress.PartitionKey]












0















I am running a stress test of LWTs in Cassandra using tlp-stress (http://thelastpickle.com/blog/2018/10/31/tlp-stress-intro.html). When I run the below command it errors out.



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]


I am not a developer and does not know java, need help to figure out what's wrong here and what should be done to make it run? does it need any java drivers to be installed? I only download the tlp-stress as mentioned in the link, I am able to run other basic tests with this tool though.










share|improve this question



























    0















    I am running a stress test of LWTs in Cassandra using tlp-stress (http://thelastpickle.com/blog/2018/10/31/tlp-stress-intro.html). When I run the below command it errors out.



    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]


    I am not a developer and does not know java, need help to figure out what's wrong here and what should be done to make it run? does it need any java drivers to be installed? I only download the tlp-stress as mentioned in the link, I am able to run other basic tests with this tool though.










    share|improve this question

























      0












      0








      0








      I am running a stress test of LWTs in Cassandra using tlp-stress (http://thelastpickle.com/blog/2018/10/31/tlp-stress-intro.html). When I run the below command it errors out.



      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]


      I am not a developer and does not know java, need help to figure out what's wrong here and what should be done to make it run? does it need any java drivers to be installed? I only download the tlp-stress as mentioned in the link, I am able to run other basic tests with this tool though.










      share|improve this question














      I am running a stress test of LWTs in Cassandra using tlp-stress (http://thelastpickle.com/blog/2018/10/31/tlp-stress-intro.html). When I run the below command it errors out.



      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]


      I am not a developer and does not know java, need help to figure out what's wrong here and what should be done to make it run? does it need any java drivers to be installed? I only download the tlp-stress as mentioned in the link, I am able to run other basic tests with this tool though.







      java cassandra codec






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 31 '18 at 8:28









      nmakbnmakb

      474




      474
























          1 Answer
          1






          active

          oldest

          votes


















          0














          This error means that they are trying to save or read text data into object of class that doesn't have corresponding mapping in Java driver. Because the other tests work, then all drivers, etc. are setup correctly. I think that this is simple error in the code, and you can open the issue on Github.






          share|improve this answer
























          • Thanks Alex, will do.

            – nmakb
            Dec 31 '18 at 14:19











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53985233%2fcodec-not-found-for-requested-operation-varchar-com-thelastpickle-tlpstres%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          This error means that they are trying to save or read text data into object of class that doesn't have corresponding mapping in Java driver. Because the other tests work, then all drivers, etc. are setup correctly. I think that this is simple error in the code, and you can open the issue on Github.






          share|improve this answer
























          • Thanks Alex, will do.

            – nmakb
            Dec 31 '18 at 14:19
















          0














          This error means that they are trying to save or read text data into object of class that doesn't have corresponding mapping in Java driver. Because the other tests work, then all drivers, etc. are setup correctly. I think that this is simple error in the code, and you can open the issue on Github.






          share|improve this answer
























          • Thanks Alex, will do.

            – nmakb
            Dec 31 '18 at 14:19














          0












          0








          0







          This error means that they are trying to save or read text data into object of class that doesn't have corresponding mapping in Java driver. Because the other tests work, then all drivers, etc. are setup correctly. I think that this is simple error in the code, and you can open the issue on Github.






          share|improve this answer













          This error means that they are trying to save or read text data into object of class that doesn't have corresponding mapping in Java driver. Because the other tests work, then all drivers, etc. are setup correctly. I think that this is simple error in the code, and you can open the issue on Github.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 31 '18 at 11:00









          Alex OttAlex Ott

          28.1k35273




          28.1k35273













          • Thanks Alex, will do.

            – nmakb
            Dec 31 '18 at 14:19



















          • Thanks Alex, will do.

            – nmakb
            Dec 31 '18 at 14:19

















          Thanks Alex, will do.

          – nmakb
          Dec 31 '18 at 14:19





          Thanks Alex, will do.

          – nmakb
          Dec 31 '18 at 14:19


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53985233%2fcodec-not-found-for-requested-operation-varchar-com-thelastpickle-tlpstres%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Monofisismo

          Angular Downloading a file using contenturl with Basic Authentication

          Olmecas