Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-7347

JMX StorageService bulkload

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Invalid
    • 2.0.7
    • Legacy/CQL
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            palik Alexei Pastuchov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: