Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ccmlib/node: capture the output of sstable2json command in logging file #482

Merged
merged 1 commit into from
Jul 31, 2023

Commits on Jul 31, 2023

  1. 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)
    ```
    fruch committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    20fcada View commit details
    Browse the repository at this point in the history