cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rahul Singh <rahul.xavier.si...@gmail.com>
Subject Re: SSTableLoader Question
Date Sun, 18 Feb 2018 13:58:15 GMT
Check permissions maybe? Who owns the files vs. who is running sstableloader.

--
Rahul Singh
rahul.singh@anant.us

Anant Corporation

On Feb 18, 2018, 4:26 AM -0500, shalom sagges <shalomsagges@gmail.com>, wrote:
> Hi All,
>
> C* version 2.0.14.
>
> I was loading some data to another cluster using SSTableLoader. The streaming failed
with the following error:
>
>
> Streaming error occurred
> java.lang.RuntimeException: java.io.FileNotFoundException: /data1/keyspace1/table1/keyspace1-table1-jb-65174-Data.db
(No such file or directory)
>         at org.apache.cassandra.io.compress.CompressedRandomAccessReader.open(CompressedRandomAccessReader.java:59)
>         at org.apache.cassandra.io.sstable.SSTableReader.openDataReader(SSTableReader.java:1409)
>         at org.apache.cassandra.streaming.compress.CompressedStreamWriter.write(CompressedStreamWriter.java:55)
>         at org.apache.cassandra.streaming.messages.OutgoingFileMessage$1.serialize(OutgoingFileMessage.java:59)
>         at org.apache.cassandra.streaming.messages.OutgoingFileMessage$1.serialize(OutgoingFileMessage.java:42)
>         at org.apache.cassandra.streaming.messages.StreamMessage.serialize(StreamMessage.java:45)
>         at org.apache.cassandra.streaming.ConnectionHandler$OutgoingMessageHandler.sendMessage(ConnectionHandler.java:339)
>         at org.apache.cassandra.streaming.ConnectionHandler$OutgoingMessageHandler.run(ConnectionHandler.java:311)
>         at java.lang.Thread.run(Thread.java:722)
> Caused by: java.io.FileNotFoundException: /data1/keyspace1/table1/keyspace1-table1-jb-65174-Data.db
(No such file or directory)
>         at java.io.RandomAccessFile.open(Native Method)
>         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
>         at org.apache.cassandra.io.util.RandomAccessReader.<init>(RandomAccessReader.java:58)
>         at org.apache.cassandra.io.compress.CompressedRandomAccessReader.<init>(CompressedRandomAccessReader.java:76)
>         at org.apache.cassandra.io.compress.CompressedRandomAccessReader.open(CompressedRandomAccessReader.java:55)
>         ... 8 more
>  WARN 18:31:35,938 [Stream #7243efb0-1262-11e8-8562-d19d5fe7829c] Stream failed
>
>
>
> Did I miss something when running the load? Was the file suddenly missing due to compaction?
> If so, did I need to disable auto compaction or stop the service beforehand? (didn't
find any reference to compaction in the docs)
>
> I know it's an old version, but I didn't find any related bugs on "File not found" exceptions.
>
> Thanks!
>
>

Mime
View raw message