I have the latest version of cassandra installed on my computer running Windows 7 in the following directory:
/cygdrive/c/Development/Cassandra/apache-cassandra-1.1.4
All necessary directories are created for data_file_directories, saved_caches_direcory and commitlog_directory in / var / lib / cassandra, but when I try to run it using:
bin/cassandra -f
I get the following error:
$ bin / cassandra -f xss = -ea -javaagent: bin /../ lib / jamm-0.2.5.jar -XX: + UseThreadPriorities -XX: ThreadPriorityPolicy = 42 -Xms1024M -Xmx1024M -Xmn200M -XX: + HeapDumpOnOutOfMemoryr / cassandra: line 149: getopt: command not found Argument parsing error!
This is not the first time I have seen this error, but I do not have this problem when writing cassandra on Mac (in the same version). I missed some configuration step somewhere on Windows as I follow the βGetting Started wikiβ and I don't see anything obvious. My system has 4 GB of RAM, so it should be able to handle just fine, and I did not change the HEAP_SIZE values ββand just left them commented out so that the cassandra could choose how much it needed.
Any thoughts on what causes this error at startup?
thanks
source share