Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
Low
Description
If a user is running sstableloader for example in the directory where the sstables are the parameter given is not the full <keyspace>/<table> directory. That causes a NPE:
hkroger@home:~/data/temperatures/clients-f3ae39a0854411e5927a9f25d4de7071
$ ~/work/cassandra/bin/sstableloader -d 127.0.0.1 .
Exception in thread "main" java.lang.NullPointerException
at org.apache.cassandra.io.sstable.SSTableLoader.<init>(SSTableLoader.java:65)
at org.apache.cassandra.tools.BulkLoader.load(BulkLoader.java:65)
at org.apache.cassandra.tools.BulkLoader.main(BulkLoader.java:49)