问题
I have bunch of SSTables
with me that I got from somebody within my team. Now I was trying to push those SSTABLES
into Cassandra database
.
I created corresponding keyspace and column family successfully.
Now as soon as I execute SSTableLoader
command, I always get below exception?
S:\Apache Cassandra\apache-cassandra-1.2.3\bin>sstableloader
C:\CassandraClient-LnP\201304050000\profileks\PROFILECF 'sstableloader' is
not recognized as an internal or external command, operable program or
batch file.
Can anyone tell me what wrong I am doing here? I am running Cassandra 1.2.3. And this is my first time working with SSTableLoader
. I am working in windows environment.
回答1:
SSTableLoader
is a Unix executable and cant be run under windows (as far as I know).
You could try exporting your tables as json
and re-import them (using json2sstable) but to use the sstableloader you need linux/mac/solaris etc.
来源:https://stackoverflow.com/questions/16161390/sstableloader-is-not-recognized-as-an-internal-or-external-command