Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-13811

Unable to find table <keyspace name>.<tablename> at maybeLoadschemainfo (StressProfile.java)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Low
    • Resolution: Unresolved
    • 3.11.x
    • Tool/stress
    • None
    • Low

    Description

      • Please find attached my .yaml and .sh file.
      • Now the problem is if I run stress-script.sh the first time, just after firing up cassandra, it is working fine on the cluster, but when I again run stress-script.sh, it is giving the following error:-

      Unable to find prutorStress3node.code
      at org.apache.cassandra.stress.StressProfile.maybeLoadSchemaInfo(StressProfile.java:306)
      at org.apache.cassandra.stress.StressProfile.maybeCreateSchema(StressProfile.java:273)
      at org.apache.cassandra.stress.StressProfile.newGenerator(StressProfile.java:676)
      at org.apache.cassandra.stress.StressProfile.printSettings(StressProfile.java:129)
      at org.apache.cassandra.stress.settings.StressSettings.printSettings(StressSettings.java:383)
      at org.apache.cassandra.stress.Stress.run(Stress.java:95)
      at org.apache.cassandra.stress.Stress.main(Stress.java:62)

      In the file https://insight.io/github.com/apache/cassandra/blob/trunk/tools/stress/src/org/apache/cassandra/stress/StressProfile.java?line=289 ,I saw that table metadata is being populated to NULL. I tried to make sense of the stack trace, but was not able to make anything of it. Please give me some directions as to what might have gone wrong?

      Attachments

        1. code.yaml
          2 kB
          Akshay Jindal
        2. stress-script.sh
          0.5 kB
          Akshay Jindal

        Activity

          People

            Unassigned Unassigned
            akshayaj Akshay Jindal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: