cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6529) sstableloader shows no progress or errors when pointed at a bad directory
Date Thu, 26 Dec 2013 18:43:50 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-6529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13856992#comment-13856992
] 

Tyler Hobbs commented on CASSANDRA-6529:
----------------------------------------

Server side, you'll see something like this in the logs:

{noformat}
ERROR 12:28:28,053 Exception in thread Thread[Thrift:1,5,main]
java.lang.AssertionError: Unknown keyspace foo
	at org.apache.cassandra.db.Keyspace.<init>(Keyspace.java:262)
	at org.apache.cassandra.db.Keyspace.open(Keyspace.java:110)
	at org.apache.cassandra.db.Keyspace.open(Keyspace.java:88)
	at org.apache.cassandra.service.StorageService.describeRing(StorageService.java:1181)
	at org.apache.cassandra.service.StorageService.describeRing(StorageService.java:1168)
	at org.apache.cassandra.thrift.CassandraServer.describe_ring(CassandraServer.java:1389)
	at org.apache.cassandra.thrift.Cassandra$Processor$describe_ring.getResult(Cassandra.java:4094)
	at org.apache.cassandra.thrift.Cassandra$Processor$describe_ring.getResult(Cassandra.java:4078)
	at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
	at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
	at org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:194)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:724)
{noformat}

> sstableloader shows no progress or errors when pointed at a bad directory
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-6529
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6529
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Tyler Hobbs
>            Priority: Minor
>
> With sstableloader, the source directory is supposed to be in the format {{<keyspace_name>/<table_name>/}}.
 If you incorrectly just put the sstables in a {{<keyspace_name>/}} directory, the sstableloader
process will not show any progress, errors, or other output, it will simply hang.
> This was initially reported on the user ML here: http://www.mail-archive.com/user@cassandra.apache.org/msg33916.html



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message