This repository has been archived by the owner on Apr 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install cassnadra 3.4 and riak 2.1.3
- Loading branch information
1 parent
c623c6c
commit 346ad5b
Showing
4 changed files
with
63 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
echo "describe cluster;" > /tmp/dc | ||
for i in 1 2 3 4 5; do | ||
echo Attempt $i | ||
if nodetool status | grep "^UN"; then | ||
exit 0 | ||
else | ||
sleep 10 | ||
fi | ||
done | ||
|
||
echo "" | ||
echo "Cassandra failed to start!!" | ||
echo "" | ||
echo "------ Cassandra info -------" | ||
bash -x -c "ps ax | grep -i cassandra" | ||
bash -x -c "sudo lsof -i4TCP:9042" | ||
echo "" | ||
exit 1 |