[ https://issues.apache.org/jira/browse/CASSANDRA-7347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14016952#comment-14016952 ]
Yuki Morishita commented on CASSANDRA-7347: ------------------------------------------- I tried StorageService#bulkload on 2.0 head and worked fine. Is the path supposed to be "/home/palik/workspace/datastax-analytics-example/datastax_analytics_demo/datastax_analytics_demo/transactions"? There should be no "."(dot) in the path to columnfamily directory. > JMX StorageService bulkload > --------------------------- > > Key: CASSANDRA-7347 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7347 > Project: Cassandra > Issue Type: Bug > Components: API > Environment: Ubuntu 13.10 x86_64 > Reporter: Alexei Pastuchov > Fix For: 2.0.7 > > > 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. -- This message was sent by Atlassian JIRA (v6.2#6252)