Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E199C10074 for ; Tue, 1 Apr 2014 13:22:23 +0000 (UTC) Received: (qmail 17656 invoked by uid 500); 1 Apr 2014 13:22:21 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 17530 invoked by uid 500); 1 Apr 2014 13:22:19 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 17510 invoked by uid 99); 1 Apr 2014 13:22:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2014 13:22:16 +0000 Date: Tue, 1 Apr 2014 13:22:15 +0000 (UTC) From: "Brandon Williams (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CASSANDRA-6965) sstableloader fails to stream data MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-6965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brandon Williams reassigned CASSANDRA-6965: ------------------------------------------- Assignee: Yuki Morishita > sstableloader fails to stream data > ---------------------------------- > > Key: CASSANDRA-6965 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6965 > Project: Cassandra > Issue Type: Bug > Reporter: Ryan McGuire > Assignee: Yuki Morishita > > When loading a snapshot via sstableloader I get this NullPointerException: > {code} > 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 [/127.0.0.1] > Streaming session ID: 276a9d20-b944-11e3-9f60-4191ec2d6f66 > Exception in thread "STREAM-OUT-/127.0.0.1" java.lang.NullPointerException > at org.apache.cassandra.streaming.ConnectionHandler$MessageHandler.signalCloseDone(ConnectionHandler.java:249) > at org.apache.cassandra.streaming.ConnectionHandler$OutgoingMessageHandler.run(ConnectionHandler.java:375) > at java.lang.Thread.run(Thread.java:744) > {code} > Which at first I thought meant it was unable to connect, but I do see this in system.log, indicating the connection was successful: > {code} > INFO [STREAM-INIT-/127.0.0.1:55820] 2014-03-31 22:20:12,265 StreamResultFuture.java:121 - [Stream #276a9d20-b944-11e3-9f60-4191ec2d6f66] Received streaming plan for Bulk Load > INFO [STREAM-IN-/10.13.37.130] 2014-03-31 22:20:12,272 StreamResultFuture.java:173 - [Stream #276a9d20-b944-11e3-9f60-4191ec2d6f66] Prepare completed. Receiving 1 files(1726 bytes), sending 0 files(0 bytes) > INFO [STREAM-IN-/10.13.37.130] 2014-03-31 22:20:12,280 CompressedStreamReader.java:65 - reading file from /10.13.37.130, repairedAt = 0 > {code} > To reproduce this behaviour, run the [snapshot_test.py:TestSnapshot.test_basic_snapshot dtest|https://github.com/riptano/cassandra-dtest/blob/85692be39cb6b1b5ebc96905834ff7bb174de0bc/snapshot_test.py#L40] on 2.1 HEAD. -- This message was sent by Atlassian JIRA (v6.2#6252)