cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Shuler (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-7224) GossipingPropertyFileSnitch fails to read cassandra-rackdc.properties
Date Tue, 13 May 2014 21:43:15 GMT
Michael Shuler created CASSANDRA-7224:
-----------------------------------------

             Summary: GossipingPropertyFileSnitch fails to read cassandra-rackdc.properties
                 Key: CASSANDRA-7224
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7224
             Project: Cassandra
          Issue Type: Bug
            Reporter: Michael Shuler
            Priority: Blocker
             Fix For: 2.1 rc1


stock cassandra.yaml with {{endpoint_snitch: GossipingPropertyFileSnitch}} results in (DEBUG
logging only gave one additional unrelated line)

{noformat}
mshuler@hana:/tmp/apache-cassandra-2.1.0-beta2$ ./bin/cassandra -f
INFO  21:24:48 Hostname: hana.12.am
INFO  21:24:48 Loading settings from file:/tmp/apache-cassandra-2.1.0-beta2/conf/cassandra.yaml
INFO  21:24:48 Node configuration:[authenticator=AllowAllAuthenticator; authorizer=AllowAllAuthorizer;
auto_snapshot=true; batch_size_warn_threshold_in_kb=5; batchlog_replay_throttle_in_kb=1024;
cas_contention_timeout_in_ms=1000; client_encryption_options=<REDACTED>; cluster_name=Test
Cluster; column_index_size_in_kb=64; commitlog_directory=/var/lib/cassandra/commitlog; commitlog_segment_size_in_mb=32;
commitlog_sync=periodic; commitlog_sync_period_in_ms=10000; compaction_throughput_mb_per_sec=16;
concurrent_counter_writes=32; concurrent_reads=32; concurrent_writes=32; counter_cache_save_period=7200;
counter_cache_size_in_mb=null; counter_write_request_timeout_in_ms=5000; cross_node_timeout=false;
data_file_directories=[/var/lib/cassandra/data]; disk_failure_policy=stop; dynamic_snitch_badness_threshold=0.1;
dynamic_snitch_reset_interval_in_ms=600000; dynamic_snitch_update_interval_in_ms=100; endpoint_snitch=GossipingPropertyFileSnitch;
hinted_handoff_enabled=true; hinted_handoff_throttle_in_kb=1024; in_memory_compaction_limit_in_mb=64;
incremental_backups=false; index_summary_capacity_in_mb=null; index_summary_resize_interval_in_minutes=60;
inter_dc_tcp_nodelay=false; internode_compression=all; key_cache_save_period=14400; key_cache_size_in_mb=null;
listen_address=localhost; max_hint_window_in_ms=10800000; max_hints_delivery_threads=2; memtable_allocation_type=heap_buffers;
memtable_cleanup_threshold=0.4; native_transport_port=9042; num_tokens=256; partitioner=org.apache.cassandra.dht.Murmur3Partitioner;
permissions_validity_in_ms=2000; range_request_timeout_in_ms=10000; read_request_timeout_in_ms=5000;
request_scheduler=org.apache.cassandra.scheduler.NoScheduler; request_timeout_in_ms=10000;
row_cache_save_period=0; row_cache_size_in_mb=0; rpc_address=localhost; rpc_keepalive=true;
rpc_port=9160; rpc_server_type=sync; saved_caches_directory=/var/lib/cassandra/saved_caches;
seed_provider=[{class_name=org.apache.cassandra.locator.SimpleSeedProvider, parameters=[{seeds=127.0.0.1}]}];
server_encryption_options=<REDACTED>; snapshot_before_compaction=false; ssl_storage_port=7001;
sstable_preemptive_open_interval_in_mb=50; start_native_transport=true; start_rpc=true; storage_port=7000;
thrift_framed_transport_size_in_mb=15; tombstone_failure_threshold=100000; tombstone_warn_threshold=1000;
trickle_fsync=false; trickle_fsync_interval_in_kb=10240; truncate_request_timeout_in_ms=60000;
write_request_timeout_in_ms=2000]
INFO  21:24:48 DiskAccessMode 'auto' determined to be mmap, indexAccessMode is mmap
INFO  21:24:48 Global memtable on-heap threshold is enabled at 976MB
INFO  21:24:48 Global memtable off-heap threshold is enabled at 976MB
WARN  21:24:48 Unable to read cassandra-rackdc.properties
ERROR 21:24:48 Fatal configuration error
org.apache.cassandra.exceptions.ConfigurationException: Error instantiating snitch class 'org.apache.cassandra.locator.GossipingPropertyFileSnitch'.
        at org.apache.cassandra.utils.FBUtilities.construct(FBUtilities.java:501) ~[apache-cassandra-2.1.0-beta2.jar:2.1.0-beta2]
        at org.apache.cassandra.config.DatabaseDescriptor.createEndpointSnitch(DatabaseDescriptor.java:576)
~[apache-cassandra-2.1.0-beta2.jar:2.1.0-beta2]
        at org.apache.cassandra.config.DatabaseDescriptor.applyConfig(DatabaseDescriptor.java:395)
~[apache-cassandra-2.1.0-beta2.jar:2.1.0-beta2]
        at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:129)
~[apache-cassandra-2.1.0-beta2.jar:2.1.0-beta2]
        at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:109) [apache-cassandra-2.1.0-beta2.jar:2.1.0-beta2]
        at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:454)
[apache-cassandra-2.1.0-beta2.jar:2.1.0-beta2]
        at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:543) [apache-cassandra-2.1.0-beta2.jar:2.1.0-beta2]
Caused by: org.apache.cassandra.exceptions.ConfigurationException: DC or rack not found in
snitch properties, check your configuration in: cassandra-rackdc.properties
        at org.apache.cassandra.locator.GossipingPropertyFileSnitch.reloadConfiguration(GossipingPropertyFileSnitch.java:171)
~[apache-cassandra-2.1.0-beta2.jar:2.1.0-beta2]
        at org.apache.cassandra.locator.GossipingPropertyFileSnitch.<init>(GossipingPropertyFileSnitch.java:66)
~[apache-cassandra-2.1.0-beta2.jar:2.1.0-beta2]
        at org.apache.cassandra.locator.GossipingPropertyFileSnitch.<init>(GossipingPropertyFileSnitch.java:59)
~[apache-cassandra-2.1.0-beta2.jar:2.1.0-beta2]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_55]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
~[na:1.7.0_55]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
~[na:1.7.0_55]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_55]
        at java.lang.Class.newInstance(Class.java:374) ~[na:1.7.0_55]
        at org.apache.cassandra.utils.FBUtilities.construct(FBUtilities.java:486) ~[apache-cassandra-2.1.0-beta2.jar:2.1.0-beta2]
        ... 6 common frames omitted
Error instantiating snitch class 'org.apache.cassandra.locator.GossipingPropertyFileSnitch'.
Fatal configuration error; unable to start. See log for stacktrace.
{noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message