cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hannu Kröger (JIRA) <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-12609) sstableloader NPE when partial directory path is given
Date Sun, 04 Sep 2016 11:03:20 GMT
Hannu Kröger created CASSANDRA-12609:
----------------------------------------

             Summary: sstableloader NPE when partial directory path is given
                 Key: CASSANDRA-12609
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12609
             Project: Cassandra
          Issue Type: Bug
          Components: Tools
            Reporter: Hannu Kröger
            Priority: Minor


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:

{code}
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)
{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message