Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue while running cassandra through this project #946

Open
rahulsrivastava71 opened this issue Jul 13, 2016 · 3 comments
Open

Issue while running cassandra through this project #946

rahulsrivastava71 opened this issue Jul 13, 2016 · 3 comments

Comments

@rahulsrivastava71
Copy link

Hi team i cloned your code and tried to run it but found that the steps written to run the code was not correct as the step mvn cassandra:run while running this step its giving error that JVM_Bind address is already in use . when i tried to modified the port using cammand line arguments then also it gived exception.
i used mvn cassandra:run -Dcassandra.rpcPort=19160 -Dcassandra.jmxPort=17199 -Dcassandra.storagePort=17000 -Dcassandra.stopPort=18081
following cammand.
my window is getting hanged on following part:
[WARN] 13:14:04,446 MemoryMeter uninitialized (jamm not specified as java agent); KeyCache size in JVM Heap will not be calculated accurately. Usually this means cassandra-env.sh disabled jamm because you are using a buggy JRE; upgrade to the Sun JRE instead

@hegek87
Copy link
Contributor

hegek87 commented Jul 13, 2016

Hey @rahulsrivastava71 this warning happens for me, but it doesn't hang here. I end up seeing

[INFO] Waiting for Cassandra to start...
[INFO] [WARN] 09:59:38,722 MemoryMeter uninitialized (jamm not specified as java agent); KeyCache size in JVM Heap will not be calculated accurately. Usually this means cassandra-env.sh disabled jamm because you are using a buggy JRE; upgrade to the Sun JRE instead
[INFO] [WARN] 09:59:39,308 No host ID found, created ca6edac9-3478-4073-8121-0e5000fde8d9 (Note: This should happen exactly once per node).
[INFO] [WARN] 09:59:39,507 Generated random token [3641459904717092018]. Random tokens will result in an unbalanced ring; see http://wiki.apache.org/cassandra/Operations
[INFO] Cassandra cluster "Test Cluster" started.
[INFO] Cassandra started in 3.2s
[INFO] Hit ENTER on the console to stop Cassandra and continue the build.

and then it waits, if this happens, you are good to go.

If you look here: http://www.mojohaus.org/cassandra-maven-plugin/run-mojo.html you can see the default ports that the cassandra plugin uses, it might also be worthwhile to see what is using those ports (so that you don't need to specify all of the command line arguments), and potentially kill the application that is using them.

Finally, not much work is being done on the master branch currently, we are making some minor changes to allow us to finish up the mobile app. The master branch is complete, and works, but if you are interested, we are rewriting much of the application using JHipster on the story-transitionToJhipster branch

@rahulsrivastava71
Copy link
Author

Thanks hegek87 actually i was planing to use your social networking platform and build some toll on it , so kindly can you advice me any other java spring based social networking site

@hegek87
Copy link
Contributor

hegek87 commented Jul 13, 2016

I do not @rahulsrivastava71 the master branch is something that works and is in use, but some procedures for deploying will change in the near future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants