You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Hannu Kröger (JIRA)" <ji...@apache.org> on 2016/09/04 11:08:21 UTC
[jira] [Updated] (CASSANDRA-12609) sstableloader NPE when partial
directory path is given
[ https://issues.apache.org/jira/browse/CASSANDRA-12609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hannu Kröger updated CASSANDRA-12609:
-------------------------------------
Attachment: 12609-3.9.txt
Attached a very simple fix for the issue.
> 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
> 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)