Quantcast
Channel: DataStax Support Forums » Recent Topics
Viewing all articles
Browse latest Browse all 387

mjafri on "Sstableloader not working for me - NullPointerException"

$
0
0

Hi

I've been trying to use the sstableloader in the latest version of DataStax (cassandra 1.2.6.5), with no success.

I have two virtual machines with DataStax installed on them - these are both instances with Linux Mint 13 on them.

I'm using one of those machines to run sstableloader from, whilst using the other as the cassandra server.

When I attempt to use sstableloader I get an error after a few seconds of inactivity:

---------------------------------------------------------------------------------------------------------
mjafri2-VirtualBox dse # sstableloader --debug -d 192.168.56.102 -p 9160 jafri
null
java.lang.NullPointerException
at org.apache.cassandra.io.sstable.SSTableLoader.<init>(SSTableLoader.java:58)
at org.apache.cassandra.tools.BulkLoader.main(BulkLoader.java:64)
---------------------------------------------------------------------------------------------------------

When this happens, I see no log of interest on either the server or client folders under /var/log/cassandra.

If I attempt to connect using the cassandra-cli between the same two machines, this works! Presumably, this means we can rule out any network connectivity isssues.

---------------------------------------------------------------------------------------------------------
mjafri2-VirtualBox dse # cassandra-cli --host 192.168.56.102 -port 9160
Connected to: "Test Cluster" on 192.168.56.102/9160
Welcome to Cassandra CLI version 1.2.6.5
---------------------------------------------------------------------------------------------------------

Any ideas on where this NullPointerException comes from and/or how to get rid of it?

Thanks


Viewing all articles
Browse latest Browse all 387

Trending Articles