'sstableloader' is not recognized as an internal or external command,

自古美人都是妖i 提交于 2019-12-24 07:46:36

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!