[
https://issues.apache.org/jira/browse/CASSANDRA-7347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14017654#comment-14017654
]
Alexei Pastuchov commented on CASSANDRA-7347:
---------------------------------------------
Many thanks for your reply. But the dot in the path doesn't seem to be causal
for the problem. After moving sstables into other directory named according
your suggestion I've got the same exception.
Exception in thread "main" java.lang.RuntimeException:
java.lang.IllegalArgumentException: Invalid directory
/home/palik/workspace/datastax-analytics-example/datastax_bulkload_demo/transactions
at
org.apache.cassandra.service.StorageService.bulkLoad(StorageService.java:3747)
The problem occurs by using cassandra installed via debian package as described
here:
http://www.datastax.com/documentation/cassandra/2.0/cassandra/install/installDeb_t.html
In next step I've removed installed cassandra and switched to cassandra git
repository. So bulkload to via ant built cassandra (git tag cassandra-2.0.7)
work well.
Now I'll start look for any differences in debian installation and git stand.
> 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)