cassandra - sstableloader does not transmit the data, and refer to the weirf ports -
i want bulkload cassandra data node node b.
when set 'listen_address' of each cassandra.yaml file localhost, not show error on console data never transmitted.
when set each node's listen address own local network[eth1 ipv4]address (192.168....), following error.
i can read error log the application trying access port 1..4 , not have no idea on earth going on.
each node on virtual machine on virtual box hypervisor. both os centos.
[vagrant@localhost conf]$ ../bin/sstableloader -v -d 192.168.33.12 -p 9160 /db/data/m oomin/hoahoa2/ streaming revelant part of /db/data/moomin/hoahoa2/moomin-hoahoa2-hf-69-data.db [/192.168.33.12] progress: [/192.168.33.12 0/1 (0)] [total: 0 - 0mb/s (avg: 0mb/s)] warn 16:55:42,655 failed attempt 1 connect /192.168.33.12 stream /db/data/moomin/hoahoa2/moomin-hoahoa2-h f-69-data.db sections=1 progress=0/378000000 - 0%. retrying in 4000 ms. (java.net.socketexception: invalid argument or cannot assign requested address) progress: [/192.168.33.12 0/1 (0)] [total: 0 - 0mb/s (avg: 0mb/s)] warn 16:55:46,658 failed attempt 2 connect /192.168.33.12 stream /db/data/moomin/hoahoa2/moomin-hoahoa2-h f-69-data.db sections=1 progress=0/378000000 - 0%. retrying in 8000 ms. (java.net.socketexception: invalid argument or cannot assign requested address) progress: [/192.168.33.12 0/1 (0)] [total: 0 - 0mb/s (avg: 0mb/s)] warn 16:55:54,666 failed attempt 3 connect /192.168.33.12 stream /db/data/moomin/hoahoa2/moomin-hoahoa2-h f-69-data.db sections=1 progress=0/378000000 - 0%. retrying in 16000 ms. (java.net.socketexception: invalid argument or cannot assign requested address) progress: [/192.168.33.12 0/1 (0)] [total: 0 - 0mb/s (avg: 0mb/s)]
here cassandra.yaml (the cassandra.yaml of target file configured same way)
# communicate! # # leaving blank leaves inetaddress.getlocalhost(). # right thing *if* node configured # (hostname, name resolution, etc), , right thing use # address associated hostname (it might not be). # # setting 0.0.0.0 wrong. listen_address: 192.168.33.12 #listen_address: localhost rpc_address: 0.0.0.0 # port thrift listen clients on rpc_port: 9160 # enable or disable keepalive on rpc connections rpc_keepalive: true rpc_server_type: sync thrift_framed_transport_size_in_mb: 15
thrift_max_message_length_in_mb: 16
incremental_backups: false snapshot_before_compaction: false auto_snapshot: true column_index_size_in_kb: 64 in_memory_compaction_limit_in_mb: 64 multithreaded_compaction: false compaction_throughput_mb_per_sec: 16 compaction_preheat_key_cache: true rpc_timeout_in_ms: 10000 endpoint_snitch: org.apache.cassandra.locator.propertyfilesnitch dynamic_snitch_update_interval_in_ms: 100 dynamic_snitch_reset_interval_in_ms: 600000 dynamic_snitch_badness_threshold: 0.1 request_scheduler: org.apache.cassandra.scheduler.noscheduler emory usage without impact on performance. index_interval: 128
can give me advice? suffering hell.
Comments
Post a Comment