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

Cassandra 2.2.4 doesnot start when priam-cass-extensions jar is in the lib folder #674

Open
haroonniazi opened this issue Apr 24, 2018 · 0 comments

Comments

@haroonniazi
Copy link

I am trying to setup Priam with Cassandra 2.2.4. I am facing two issues at the moment and currently running out of ideas to resolve. When I placed the priam-cass-exetensions.jar to the cassandra lib folder and add the it to the JVM_OPTS, my cassandra server process does not start. There are no logs files generated but I can see the process if I grep it.

Secondly, my priam logs shows the following error: 1) Error injecting constructor, java.lang.RuntimeException: java.lang.RuntimeException: Unable to get data for URL http://169.254.169.254/latest/meta-data/public-hostname
at com.netflix.priam.identity.InstanceIdentity.(InstanceIdentity.java:90)
at com.netflix.priam.identity.InstanceIdentity.class(InstanceIdentity.java:48)
while locating com.netflix.priam.identity.InstanceIdentity
for the 3rd parameter of com.netflix.priam.PriamServer.(PriamServer.java:59)
at com.netflix.priam.PriamServer.class(PriamServer.java:56)
while locating com.netflix.priam.PriamServer

1 error
com.google.inject.ProvisionException: Unable to provision, see the following errors:

  1. Error injecting constructor, java.lang.RuntimeException: java.lang.RuntimeException: Unable to get data for URL http://169.254.169.254/latest/meta-data/public-hostname
    at com.netflix.priam.identity.InstanceIdentity.(InstanceIdentity.java:90)
    at com.netflix.priam.identity.InstanceIdentity.class(InstanceIdentity.java:48)
    while locating com.netflix.priam.identity.InstanceIdentity
    for the 3rd parameter of com.netflix.priam.PriamServer.(PriamServer.java:59)
    at com.netflix.priam.PriamServer.class(PriamServer.java:56)
    while locating com.netflix.priam.PriamServer

1 error

my cluster in the private subnet and don't really have a public DNS name. is it possible that Priam only works on the nodes that are in the public subnet of AWS?. Any response would be appreciated.

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

1 participant