Hi All,

We have cassandra 4.x version,

I have enabled FQL as per the documentation-

https://cassandra.apache.org/doc/latest/cassandra/operating/fqllogging.html

nodetool enablefullquerylog --path /tmp/cassandrafullquerylog


Files generated.

-rw-r--r--   1    131072 Aug  8 16:22 metadata.cq4t
-rw-r--r--   1 83886080 Aug  8 16:22 20230808-16.cq4

Its generated in binary .

As per the doc Im running dump command to convert human readable format.

fqltool dump /tmp/cassandrafullquerylog

But Im getting below error.

Error: Could not find or load main class 
org.apache.cassandra.fqltool.FullQueryLogTool
Caused by: java.lang.ClassNotFoundException: 
org.apache.cassandra.fqltool.FullQueryLogTool

Do we need to install anything to generate  the output ?


Gently appreciate the answers.


thanks







Reply via email to