scylla-tools-java icon indicating copy to clipboard operation
scylla-tools-java copied to clipboard

sstableloader non descriptive error when it can not find the path to file

Open tzach opened this issue 7 years ago • 2 comments

$ sudo docker exec -it some-scylla.2.0.1 sstableloader -d 172.17.0.3 counts-a4aba980d2b011e794d4091830ac5256
java.lang.NullPointerException
    at com.scylladb.tools.BulkLoader.main(BulkLoader.java:895)

in this case the path should have been

sudo docker exec -it some-scylla.2.0.1 sstableloader -d 172.17.0.3 \counts-a4aba980d2b011e794d4091830ac5256

tzach avatar Nov 26 '17 15:11 tzach

Few customers hitting this issue lately, when wrong path provided (human error). @tzach, do we have an ETA for a fix?

tomer-sandler avatar Dec 19 '18 08:12 tomer-sandler

@tomer-sandler do think anything is wrong with the tool - just needs better help documentation. Also, the tool generally should be more verbose and print the details of the error clearly. It fails silently for a lot of cases...

mailmahee avatar Dec 20 '18 06:12 mailmahee