[ 
https://issues.apache.org/jira/browse/CASSANDRA-12609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15462832#comment-15462832
 ] 

Hannu Kröger commented on CASSANDRA-12609:
------------------------------------------

This happens in multiple versions AFAIK. The fix is for the 3.9. It happens in 
3.7 as well and probably many others.

> 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
>            Assignee: Hannu Kröger
>            Priority: Minor
>         Attachments: 12609-3.9.txt
>
>
> 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)

Reply via email to