Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ccmlib/node: capture the output of sstable2json command in logging file
After recent changes to scylla, we fount that: * this call was failing silently * was printing to stdout, and not into logging exmple of such failure, that some test failed to notice: ``` [2023-07-26T06:42:39.223Z] Exception in thread "main" java.lang.NumberFormatException: For input string: "3g7z_0in1_5tmap2bezca73ozy4m" [2023-07-26T06:42:39.224Z] at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) [2023-07-26T06:42:39.224Z] at java.base/java.lang.Integer.parseInt(Integer.java:652) [2023-07-26T06:42:39.224Z] at java.base/java.lang.Integer.parseInt(Integer.java:770) [2023-07-26T06:42:39.224Z] at org.apache.cassandra.io.sstable.Descriptor.fromFilename(Descriptor.java:280) [2023-07-26T06:42:39.224Z] at org.apache.cassandra.io.sstable.Descriptor.fromFilename(Descriptor.java:228) [2023-07-26T06:42:39.224Z] at org.apache.cassandra.io.sstable.Descriptor.fromFilename(Descriptor.java:217) [2023-07-26T06:42:39.224Z] at org.apache.cassandra.tools.SSTableExport.run(SSTableExport.java:188) [2023-07-26T06:42:39.224Z] at com.scylladb.tools.SSTableExport.main(SSTableExport.java:44) ```
- Loading branch information