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

Give better error message when relative path is given to sstableloader #275

Open
asias opened this issue Sep 16, 2021 · 0 comments
Open

Comments

@asias
Copy link
Contributor

asias commented Sep 16, 2021

Relative path does not work. The error message is confusing.

sstableloader -d 127.0.0.1 1631753839123
java.lang.NullPointerException
        at com.scylladb.tools.BulkLoader.main(BulkLoader.java:1341)

Full path worsk:

 sstableloader -v -d 127.0.0.1 `pwd`/1631753839123
===== Using optimized driver!!! =====
Adding sstable /home/asias/src/cloudius-systems/scylla/mycluster/tmp/1/data/keyspace1/standard1-17b27b0015cb11ec860b9c2b16e96e04/md-7-big
Adding sstable /home/asias/src/cloudius-systems/scylla/mycluster/tmp/1/data/keyspace1/standard1-17b27b0015cb11ec860b9c2b16e96e04/md-6-big
ERROR 09:00:41,673 LEAK DETECTED: a reference (org.apache.cassandra.utils.concurrent.Ref$State@4a9ed687) to class org.apache.cassandra.io.sstable.format.SSTableReader$InstanceTidier@2000064150:/home/asias/src/cloudius-systems/scylla/mycluster/tmp/1/data/keyspace1/standard1-17b27b0015cb11ec860b9c2b16e96e04/md-7-big was not released before the reference was garbage collected
 99% done.  1577240 statements sent (in   788661 batches,        0 failed).
 1577248 statements generated.
 1577248 cql rows processed in   788624 partitions.
       0 cql rows and        0 partitions deleted.
       0 local and        0 remote counter shards where skipped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant