incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vck <veesee...@gmail.com>
Subject cassandra-cli on cygwin
Date Mon, 04 Mar 2013 07:00:34 GMT
just playing around with cassandra code after setting it up.
but on running cassandra-cli on cygwin, it gives me a couple of issues.

1) dos2unix has to be run on cassandra-cli and cassandra.in.sh

2) cassandra-cli gave following exception
    * Exception in thread "main" org.yaml.snakeyaml.error.YAMLException:
java.io.IOException: Stream closed
    * Fixed it by pasting CliHelp.yaml from
src/resources/org/apache/cassandra/cli to src/java/org/...

3) cygpath needs to be used to convert the dos CLASSPATH, added the
following to cassandra-cli.

#case "`uname`" in
#    CYGWIN*)
#        CLASSPATH=`cygpath -p -w "$CLASSPATH"`
#    ;;
#esac


Probably this needs some  documenting or correction in the script. could i
raise a jira request?

thanks
~vk

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message