Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-12609

sstableloader NPE when partial directory path is given

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 3.10
    • Legacy/Tools
    • 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)
      

      Attachments

        1. 12609-3.9.txt
          1 kB
          Hannu Kröger

        Activity

          People

            hkroger Hannu Kröger
            hkroger Hannu Kröger
            Hannu Kröger
            Dave Brosius
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: