Netflix/Priam

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

haroonniazi opened this issue · 0 comments

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.