cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuki Morishita (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-8007) sstableloader throws exceptions when used with '-cph'
Date Tue, 24 Nov 2015 16:28:11 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-8007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yuki Morishita updated CASSANDRA-8007:
--------------------------------------
    Component/s: Streaming and Messaging

> sstableloader throws exceptions when used with '-cph'
> -----------------------------------------------------
>
>                 Key: CASSANDRA-8007
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8007
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Streaming and Messaging, Tools
>            Reporter: Yuki Morishita
>            Assignee: Yuki Morishita
>            Priority: Minor
>              Labels: streaming
>             Fix For: 2.1.1
>
>         Attachments: 8007-2.1.txt
>
>
> When I use {{sstableloader}} with {{-cph}}(connections per host) option greater than
1, I get the following exceptions.
> {code}
> java.lang.NullPointerException: null
>         at org.apache.cassandra.io.sstable.SSTableReader$6.run(SSTableReader.java:637)
~[main/:na]
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[na:1.7.0_51]
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262) ~[na:1.7.0_51]
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
~[na:1.7.0_51]
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
~[na:1.7.0_51]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
~[na:1.7.0_51]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[na:1.7.0_51]
>         at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51]
> {code}
> also,
> {code}
> ERROR 14:33:52 [Stream #218f2470-458a-11e4-a929-cb31cb113424] Streaming error occurred
> java.lang.AssertionError: Reference counter -1 for /home/yuki/Keyspace1/Standard1-cb5e6f30458811e49349511b628b066f/Keyspace1-Standard1-ka-6-Data.db
>         at org.apache.cassandra.io.sstable.SSTableReader.releaseReference(SSTableReader.java:1597)
~[main/:na]
>         at org.apache.cassandra.streaming.StreamTransferTask.complete(StreamTransferTask.java:68)
~[main/:na]
>         at org.apache.cassandra.streaming.StreamSession.received(StreamSession.java:522)
~[main/:na]
>         at org.apache.cassandra.streaming.StreamSession.messageReceived(StreamSession.java:404)
~[main/:na]
>         at org.apache.cassandra.streaming.ConnectionHandler$IncomingMessageHandler.run(ConnectionHandler.java:295)
~[main/:na]
>         at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51]
> {code}
> Looks like there are conflict in grabbing SSTables to stream.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message