cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McGuire (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-6965) sstableloader fails to stream data
Date Tue, 01 Apr 2014 02:28:14 GMT
Ryan McGuire created CASSANDRA-6965:

             Summary: sstableloader fails to stream data
                 Key: CASSANDRA-6965
             Project: Cassandra
          Issue Type: Bug
            Reporter: Ryan McGuire

When loading a snapshot via sstableloader I get this NullPointerException:

Established connection to initial hosts
Opening sstables and calculating sections to stream
Streaming relevant part of /tmp/tmpmusajE/ks/cf/ks-cf-ka-1-Data.db to [/]
Streaming session ID: 276a9d20-b944-11e3-9f60-4191ec2d6f66
Exception in thread "STREAM-OUT-/" java.lang.NullPointerException
	at org.apache.cassandra.streaming.ConnectionHandler$MessageHandler.signalCloseDone(
	at org.apache.cassandra.streaming.ConnectionHandler$

Which at first I thought meant it was unable to connect, but I do see this in system.log,
indicating the connection was successful:

INFO  [STREAM-INIT-/] 2014-03-31 22:20:12,265 -
[Stream #276a9d20-b944-11e3-9f60-4191ec2d6f66] Received streaming plan for Bulk Load
INFO  [STREAM-IN-/] 2014-03-31 22:20:12,272 - [Stream
#276a9d20-b944-11e3-9f60-4191ec2d6f66] Prepare completed. Receiving 1 files(1726 bytes), sending
0 files(0 bytes)
INFO  [STREAM-IN-/] 2014-03-31 22:20:12,280 - reading
file from /, repairedAt = 0

To reproduce this behaviour, run the [ dtest|]
on 2.1 HEAD.

This message was sent by Atlassian JIRA

View raw message