Hi,
I am having problem running bulk-loading using SSTableSimpleUnsortedWriter class in DataStax AMI (with default configurations). I tried bulk-loading example at http://www.datastax.com/dev/blog/bulk-loading.
Here is what I did:
- Created 3 nodes cluster by following instructions at http://www.datastax.com/docs/datastax_enterprise3.0/install/install_dse_ami (DataStax AMI).
- Created keyspace and column families as mentioned in the example and was able to write/read data using CLI.
- Created a Java class using example code at http://www.datastax.com/wp-content/uploads/2011/08/DataImportExample.java.
- While compiling the class, I got an error. The code listed in the example doesn't have partitioner argument in SSTableSimpleUnsortedWriter constructor. So, passing RandomPartitioner the constructor fixed the error.
- While running the code, I got following error:
Error instantiating snitch class 'com.datastax.bdp.snitch.DseDelegateSnitch'.
Fatal configuration error; unable to start server.
However, the same code in Apache Cassandra (non-DataStax distribution) runs perfectly without any issue or any additional configuration.
Is there any additional configuration needed to make it working in DataStax Cassandra or it is a bug? Has anybody tried sstableloader in DSE?
Thanks in advance,
Uddhab