我正在尝试为我的公共Github存储库设置Codeship Basic。 Codeship vm上的Apache Cassandra无法正常工作。我遵循以下步骤。 https://documentation.codeship.com/basic/databases/cassandra/
命令设置:-
jdk_switcher home oraclejdk8
jdk_switcher use oraclejdk8
echo $JAVA_HOME
echo $JRE_HOME
sudo /etc/init.d/cassandra start
pip install cqlsh
cqlsh
管道:-
mvn clean verify
请参考以下错误:-
对于 sudo /etc/init.d/cassandra start
/etc/init.d/cassandra: 84: ulimit: error setting limit (Operation not permitted)
/etc/init.d/cassandra: 85: ulimit: error setting limit (Operation not permitted)
对于 cqlsh
Connection error: ('Unable to connect to any servers', {'127.0.0.1': error(111, "Tried connecting to [('127.0.0.1', 9042)]. Last error: Connection refused")})
也没有像这里提到的https://github.com/codeship/documentation/issues/276
尝试过