Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Invalid
-
None
-
Ubuntu 13.10 x86_64
-
Normal
Description
My attempt to load sstables via JMX StorageService throws exception:
Caused by: java.lang.IllegalArgumentException: Invalid directory /home/palik/workspace/datastax-analytics-example/datastax_analytics_demo/datastax_analytics_demo.transactions
at org.apache.cassandra.service.StorageService.bulkLoadInternal(StorageService.java:3761)
at org.apache.cassandra.service.StorageService.bulkLoad(StorageService.java:3743)
but the directory definitely exists.
so loading by using sstableloader works well.
sstableloader -d localhost /home/palik/workspace/datastax-analytics-example/datastax_analytics_demo/datastax_analytics_demo.transactions
here is example I've used:
https://github.com/PatrickCallaghan/datastax-analytics-example/blob/master/src/main/java/com/datastax/jmxloader/JmxBulkLoader.java#L60
Is it a known issue? I've been unable to find any hint.
So for any help many thanks in advance.