org.apache.cassandra.exceptions.ConfigurationException: Error instantiating snitch class 'org.apache.cassandra.locator.Ec2MultiRegionSnitch'.

Stack Overflow | Cmag | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    DataStax卡桑德拉无法使用ec2multiregionsnitch问题,怎么解决 - 91® 编程问答

    91r.net | 1 year ago
    org.apache.cassandra.exceptions.ConfigurationException: Error instantiating snitch class 'org.apache.cassandra.locator.Ec2MultiRegionSnitch'.
  2. 0

    datastax cassandra unable to use Ec2MultiRegionSnitch

    Stack Overflow | 1 year ago | Cmag
    org.apache.cassandra.exceptions.ConfigurationException: Error instantiating snitch class 'org.apache.cassandra.locator.Ec2MultiRegionSnitch'.

    2 unregistered visitors

    Root Cause Analysis

    1. org.apache.cassandra.exceptions.ConfigurationException

      Ec2Snitch was unable to execute the API call. Not an ec2 node?

      at org.apache.cassandra.locator.Ec2Snitch.awsApiCall()
    2. org.apache.cassandra
      Ec2MultiRegionSnitch.<init>
      1. org.apache.cassandra.locator.Ec2Snitch.awsApiCall(Ec2Snitch.java:79)[cassandra-all-2.1.12.1046.jar:2.1.12.1046]
      2. org.apache.cassandra.locator.Ec2MultiRegionSnitch.<init>(Ec2MultiRegionSnitch.java:50)[cassandra-all-2.1.12.1046.jar:2.1.12.1046]
      2 frames
    3. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[na:1.7.0_95]
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)[na:1.7.0_95]
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[na:1.7.0_95]
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)[na:1.7.0_95]
      5. java.lang.Class.newInstance(Class.java:383)[na:1.7.0_95]
      5 frames
    4. Apache Cassandra
      FBUtilities.construct
      1. org.apache.cassandra.utils.FBUtilities.construct(FBUtilities.java:451)[cassandra-all-2.1.12.1046.jar:2.1.12.1046]
      1 frame
    5. com.datastax.bdp
      DseDelegateSnitch.<init>
      1. com.datastax.bdp.config.DseConfig$EndpointSnitchParamResolver.convert(DseConfig.java:1067)[dse-core-4.8.4.jar:4.8.4]
      2. com.datastax.bdp.config.ConfigUtil$ParamResolver.initialize(ConfigUtil.java:71)[dse-core-4.8.4.jar:4.8.4]
      3. com.datastax.bdp.config.ConfigUtil$ParamResolver.get(ConfigUtil.java:138)[dse-core-4.8.4.jar:4.8.4]
      4. com.datastax.bdp.config.DseConfig.getDelegatedSnitch(DseConfig.java:332)[dse-core-4.8.4.jar:4.8.4]
      5. com.datastax.bdp.snitch.DseDelegateSnitch.<init>(DseDelegateSnitch.java:43)[dse-core-4.8.4.jar:4.8.4]
      5 frames
    6. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[na:1.7.0_95]
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)[na:1.7.0_95]
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[na:1.7.0_95]
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)[na:1.7.0_95]
      5. java.lang.Class.newInstance(Class.java:383)[na:1.7.0_95]
      5 frames
    7. Apache Cassandra
      FBUtilities.construct
      1. org.apache.cassandra.utils.FBUtilities.construct(FBUtilities.java:451)[cassandra-all-2.1.12.1046.jar:2.1.12.1046]
      1 frame
    8. org.apache.cassandra
      DatabaseDescriptor.<clinit>
      1. org.apache.cassandra.config.DatabaseDescriptor.createEndpointSnitch(DatabaseDescriptor.java:667)[cassandra-all-2.1.12.1046.jar:2.1.12.1046]
      2. org.apache.cassandra.config.DatabaseDescriptor.applyConfig(DatabaseDescriptor.java:464)[cassandra-all-2.1.12.1046.jar:2.1.12.1046]
      3. org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:136)[cassandra-all-2.1.12.1046.jar:2.1.12.1046]
      3 frames
    9. com.datastax.bdp
      DseModule.configure
      1. com.datastax.bdp.config.DseConfig.init(DseConfig.java:311)[dse-core-4.8.4.jar:4.8.4]
      2. com.datastax.bdp.DseCoreModule.<init>(DseCoreModule.java:43)[dse-core-4.8.4.jar:4.8.4]
      3. com.datastax.bdp.DseModule.getRequiredModules(DseModule.java:97)[dse-core-4.8.4.jar:4.8.4]
      4. com.datastax.bdp.server.AbstractDseModule.configure(AbstractDseModule.java:26)[dse-core-4.8.4.jar:4.8.4]
      5. com.datastax.bdp.DseModule.configure(DseModule.java:36)[dse-core-4.8.4.jar:4.8.4]
      5 frames
    10. Google Guice - Core Library
      Guice.createInjector
      1. com.google.inject.AbstractModule.configure(AbstractModule.java:59)[guice-3.0.jar:na]
      2. com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)[guice-3.0.jar:na]
      3. com.google.inject.spi.Elements.getElements(Elements.java:101)[guice-3.0.jar:na]
      4. com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:133)[guice-3.0.jar:na]
      5. com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:103)[guice-3.0.jar:na]
      6. com.google.inject.Guice.createInjector(Guice.java:95)[guice-3.0.jar:na]
      7. com.google.inject.Guice.createInjector(Guice.java:72)[guice-3.0.jar:na]
      8. com.google.inject.Guice.createInjector(Guice.java:62)[guice-3.0.jar:na]
      8 frames
    11. com.datastax.bdp
      DseModule.main
      1. com.datastax.bdp.ioc.DseInjector.get(DseInjector.java:28)[dse-core-4.8.4.jar:4.8.4]
      2. com.datastax.bdp.DseModule.main(DseModule.java:72)[dse-core-4.8.4.jar:4.8.4]
      2 frames