Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5FA83200B33 for ; Wed, 29 Jun 2016 15:54:42 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5D87D160A57; Wed, 29 Jun 2016 13:54:42 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 35796160A3C for ; Wed, 29 Jun 2016 15:54:41 +0200 (CEST) Received: (qmail 44982 invoked by uid 500); 29 Jun 2016 13:54:39 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 44972 invoked by uid 99); 29 Jun 2016 13:54:39 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jun 2016 13:54:39 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 15B7A1A0645 for ; Wed, 29 Jun 2016 13:54:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.274 X-Spam-Level: *** X-Spam-Status: No, score=3.274 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, KAM_HUGEIMGSRC=0.2, KAM_LAZY_DOMAIN_SECURITY=1, T_KAM_HTML_FONT_INVALID=0.01, URI_TRY_3LD=0.064] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id llv_tJh_Iqiw for ; Wed, 29 Jun 2016 13:54:36 +0000 (UTC) Received: from v1354.managedvps.de (v1354.managedvps.de [195.225.104.114]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTP id BE3735FE5E for ; Wed, 29 Jun 2016 13:54:35 +0000 (UTC) Received: from [192.168.2.104] (p5DCDF118.dip0.t-ipconnect.de [93.205.241.24]) by v1354.managedvps.de (Postfix) with ESMTPA id 31FFF12002658 for ; Wed, 29 Jun 2016 15:54:34 +0200 (CEST) From: Ralf Meier Content-Type: multipart/alternative; boundary="Apple-Mail=_F4EF5505-690C-4B4A-AF9D-3DC826301DCB" Message-Id: <488F8069-E4F6-4003-B1C4-41DC831BDD19@cht3.com> Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Problems with nodetool Date: Wed, 29 Jun 2016 15:54:33 +0200 References: <8B096021-31D7-440E-9C1B-7EACEFF6D8DA@cht3.com> To: user@cassandra.apache.org In-Reply-To: X-Mailer: Apple Mail (2.3124) archived-at: Wed, 29 Jun 2016 13:54:42 -0000 --Apple-Mail=_F4EF5505-690C-4B4A-AF9D-3DC826301DCB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Yes.=20 > Am 29.06.2016 um 15:48 schrieb Sebastian Estevez = : >=20 > Did you mean `nodetool status` not `node-tool status` ? >=20 > All the best, >=20 > > Sebasti=C3=A1n Est=C3=A9vez > Solutions Architect | 954 905 8615 | sebastian.estevez@datastax.com = > = = = > >=20 > >=20 > DataStax is the fastest, most scalable distributed database = technology, delivering Apache Cassandra to the world=E2=80=99s most = innovative enterprises. Datastax is built to be agile, always-on, and = predictably scalable to any size. With more than 500 customers in 45 = countries, DataStax is the database technology and transactional = backbone of choice for the worlds most innovative companies such as = Netflix, Adobe, Intuit, and eBay.=20 >=20 > On Wed, Jun 29, 2016 at 6:42 AM, Ralf Meier > wrote: > Hi everybody, >=20 > I tried to install a cassandra cluster using docker (official image) = on 6 different machines. (Each physical machine will host one docker = container). > Each physical node has two network cards. One for an =E2=80=9Einternal = network=E2=80=9C where the cassandra cluster should use for = communication. (IP: 10.20.39.1 to x.x.x.6) > Through one port conflict on the host machine I had to change the port = 7000 in cassandra,yaml to 7002 for the communication between the nodes. >=20 > The docker containers spined up with out any issues. On each node. >=20 > Now I tried to check if all nodes could communicate to each other by = using the "node-tool status=E2=80=9C command. But always when I entered = the command I > got as output only the help information how to use the node-tool. = (Even if I add -p 7002 it does not help) > I did not get any status about the cluster. >=20 > So from now, I did not find anything in the logs, but I could also not = check the status of the cluster. >=20 > Did somebody from have an idea how to change the configuration or what = I have to change that the cluster is working? >=20 > Thanks for your help > BR > Ralf >=20 >=20 >=20 > Attached find the configuration which where set in cassandra.yaml = (from node 1 which should also act as seed node) > cluster_name: 'TestCluster' > num_tokens: 256 > max_hint_window_in_ms: 10800000 # 3 hours > hinted_handoff_throttle_in_kb: 1024 > max_hints_delivery_threads: 2 > hints_flush_period_in_ms: 10000 > max_hints_file_size_in_mb: 128 > batchlog_replay_throttle_in_kb: 1024 > authenticator: AllowAllAuthenticator > authorizer: AllowAllAuthorizer > role_manager: CassandraRoleManager > roles_validity_in_ms: 2000 > permissions_validity_in_ms: 2000 > credentials_validity_in_ms: 2000 > partitioner: org.apache.cassandra.dht.Murmur3Partitioner > data_file_directories: > - /var/lib/cassandra/data > commitlog_directory: /var/lib/cassandra/commitlog > disk_failure_policy: stop > commit_failure_policy: stop > prepared_statements_cache_size_mb: > thrift_prepared_statements_cache_size_mb: > key_cache_size_in_mb: > key_cache_save_period: 14400 > row_cache_size_in_mb: 0 > row_cache_save_period: 0 > counter_cache_size_in_mb: > counter_cache_save_period: 7200 > saved_caches_directory: /var/lib/cassandra/saved_caches > commitlog_sync: periodi > commitlog_sync_period_in_ms: 10000 > commitlog_segment_size_in_mb: 32 > seed_provider: > - class_name: org.apache.cassandra.locator.SimpleSeedProvider > parameters: > - seeds: "10.20.39.1" > concurrent_reads: 32 > concurrent_writes: 32 > concurrent_counter_writes: 32 > concurrent_materialized_view_writes: 32 > memtable_allocation_type: heap_buffers > index_summary_capacity_in_mb: > index_summary_resize_interval_in_minutes: 60 > trickle_fsync: false > trickle_fsync_interval_in_kb: 10240 > storage_port: 7002 > ssl_storage_port: 7001 > listen_address: 10.20.39.1 > broadcast_address: 10.20.39.1 > start_rpc: false > rpc_address: 0.0.0.0 > rpc_port: 9160 > broadcast_rpc_address: 10.20.39.1 > rpc_keepalive: true > rpc_server_type: sync > thrift_framed_transport_size_in_mb: 15 > incremental_backups: false > snapshot_before_compaction: false > auto_snapshot: true > column_index_size_in_kb: 64 > column_index_cache_size_in_kb: 2 > compaction_throughput_mb_per_sec: 16 > sstable_preemptive_open_interval_in_mb: 50 > read_request_timeout_in_ms: 5000 > range_request_timeout_in_ms: 10000 > write_request_timeout_in_ms: 2000 > counter_write_request_timeout_in_ms: 5000 > cas_contention_timeout_in_ms: 1000 > truncate_request_timeout_in_ms: 60000 > request_timeout_in_ms: 10000 > cross_node_timeout: false > endpoint_snitch: SimpleSnitch > 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 > server_encryption_options: > internode_encryption: none > keystore: conf/.keystore > keystore_password: cassandra > truststore: conf/.truststore > truststore_password: cassandra > client_encryption_options: > enabled: false > optional: false > keystore: conf/.keystore > keystore_password: cassandra > internode_compression: dc > inter_dc_tcp_nodelay: false > tracetype_query_ttl: 86400 > tracetype_repair_ttl: 604800 > enable_user_defined_functions: false > enable_scripted_user_defined_functions: false > windows_timer_interval: 1 > transparent_data_encryption_options: > enabled: false > chunk_length_kb: 64 > cipher: AES/CBC/PKCS5Padding > key_alias: testing:1 > # CBC IV length for AES needs to be 16 bytes (which is also the = default size) > # iv_length: 16 > key_provider: > - class_name: org.apache.cassandra.security.JKSKeyProvider > parameters: > - keystore: conf/.keystore > keystore_password: cassandra > store_type: JCEKS > key_password: cassandra > tombstone_warn_threshold: 1000 > tombstone_failure_threshold: 100000 > batch_size_warn_threshold_in_kb: 5 > batch_size_fail_threshold_in_kb: 50 > unlogged_batch_across_partitions_warn_threshold: 10 > compaction_large_partition_warning_threshold_mb: 100 > gc_warn_threshold_in_ms: 1000 > =20 >=20 --Apple-Mail=_F4EF5505-690C-4B4A-AF9D-3DC826301DCB Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Yes. 


Am = 29.06.2016 um 15:48 schrieb Sebastian Estevez <sebastian.estevez@datastax.com>:

Did you mean `nodetool status` not `node-tool status` ?

All the best,

3D"datastax_logo.png"
Sebasti=C3=A1n = Est=C3=A9vez
Solutions Architect = | 954 905 8615 | sebastian.estevez@datastax.com
3D"linkedin.png" = 3D"facebook.png" 3D"twitter.png" 3D"g+.png"

3D""

DataStax is the fastest, most scalable distributed database = technology, delivering Apache Cassandra to the world=E2=80=99s most = innovative enterprises. Datastax is built to be agile, always-on, and = predictably scalable to any size. With more than 500 customers in 45 = countries, DataStax is the database technology and = transactional backbone of choice for the worlds most innovative = companies such as Netflix, Adobe, Intuit, and eBay. =

On Wed, Jun 29, 2016 at 6:42 = AM, Ralf Meier <news@cht3.com> wrote:
Hi everybody,

I tried to install a cassandra cluster using docker (official image) on = 6 different machines. (Each physical machine will host one docker = container).
Each physical node has two network cards. One for an =E2=80=9Einternal = network=E2=80=9C where the cassandra cluster should use for = communication. (IP: 10.20.39.1 to x.x.x.6)
Through one port conflict on the host machine I had to change the port = 7000 in cassandra,yaml to 7002 for the communication between the = nodes.

The docker containers spined up with out any issues. On each node.

Now I tried to check if all nodes could communicate to each other by = using the "node-tool status=E2=80=9C command. But always when I entered = the command I
got as output only the help information how to use the node-tool.  = (Even if I add -p 7002 it does not help)
I did not get any status about the cluster.

So from now, I did not find anything in the logs, but I could also not = check the status of the cluster.

Did somebody from have an idea how to change the configuration or what I = have to change that the cluster is working?

Thanks for your help
BR
Ralf



Attached find the configuration which where set in cassandra.yaml (from = node 1 which should also act as seed node)
cluster_name: 'TestCluster'
num_tokens: 256
max_hint_window_in_ms: 10800000 # 3 hours
hinted_handoff_throttle_in_kb: 1024
max_hints_delivery_threads: 2
hints_flush_period_in_ms: 10000
max_hints_file_size_in_mb: 128
batchlog_replay_throttle_in_kb: 1024
authenticator: AllowAllAuthenticator
authorizer: AllowAllAuthorizer
role_manager: CassandraRoleManager
roles_validity_in_ms: 2000
permissions_validity_in_ms: 2000
credentials_validity_in_ms: 2000
partitioner: org.apache.cassandra.dht.Murmur3Partitioner
data_file_directories:
    - /var/lib/cassandra/data
commitlog_directory: /var/lib/cassandra/commitlog
disk_failure_policy: stop
commit_failure_policy: stop
prepared_statements_cache_size_mb:
thrift_prepared_statements_cache_size_mb:
key_cache_size_in_mb:
key_cache_save_period: 14400
row_cache_size_in_mb: 0
row_cache_save_period: 0
counter_cache_size_in_mb:
counter_cache_save_period: 7200
saved_caches_directory: /var/lib/cassandra/saved_caches
commitlog_sync: periodi
commitlog_sync_period_in_ms: 10000
commitlog_segment_size_in_mb: 32
seed_provider:
    - class_name: = org.apache.cassandra.locator.SimpleSeedProvider
      parameters:
          - seeds: "10.20.39.1"
concurrent_reads: 32
concurrent_writes: 32
concurrent_counter_writes: 32
concurrent_materialized_view_writes: 32
memtable_allocation_type: heap_buffers
index_summary_capacity_in_mb:
index_summary_resize_interval_in_minutes: 60
trickle_fsync: false
trickle_fsync_interval_in_kb: 10240
storage_port: 7002
ssl_storage_port: 7001
listen_address: 10.20.39.1
broadcast_address: 10.20.39.1
start_rpc: false
rpc_address: 0.0.0.0
rpc_port: 9160
broadcast_rpc_address: 10.20.39.1
rpc_keepalive: true
rpc_server_type: sync
thrift_framed_transport_size_in_mb: 15
incremental_backups: false
snapshot_before_compaction: false
auto_snapshot: true
column_index_size_in_kb: 64
column_index_cache_size_in_kb: 2
compaction_throughput_mb_per_sec: 16
sstable_preemptive_open_interval_in_mb: 50
read_request_timeout_in_ms: 5000
range_request_timeout_in_ms: 10000
write_request_timeout_in_ms: 2000
counter_write_request_timeout_in_ms: 5000
cas_contention_timeout_in_ms: 1000
truncate_request_timeout_in_ms: 60000
request_timeout_in_ms: 10000
cross_node_timeout: false
endpoint_snitch: SimpleSnitch
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
server_encryption_options:
    internode_encryption: none
    keystore: conf/.keystore
    keystore_password: cassandra
    truststore: conf/.truststore
    truststore_password: cassandra
client_encryption_options:
    enabled: false
    optional: false
    keystore: conf/.keystore
    keystore_password: cassandra
internode_compression: dc
inter_dc_tcp_nodelay: false
tracetype_query_ttl: 86400
tracetype_repair_ttl: 604800
enable_user_defined_functions: false
enable_scripted_user_defined_functions: false
windows_timer_interval: 1
transparent_data_encryption_options:
    enabled: false
    chunk_length_kb: 64
    cipher: AES/CBC/PKCS5Padding
    key_alias: testing:1
    # CBC IV length for AES needs to be 16 bytes (which is = also the default size)
    # iv_length: 16
    key_provider:
      - class_name: = org.apache.cassandra.security.JKSKeyProvider
        parameters:
          - keystore: conf/.keystore
            keystore_password: = cassandra
            store_type: JCEKS
=             key_password: cassandra
tombstone_warn_threshold: 1000
tombstone_failure_threshold: 100000
batch_size_warn_threshold_in_kb: 5
batch_size_fail_threshold_in_kb: 50
unlogged_batch_across_partitions_warn_threshold: 10
compaction_large_partition_warning_threshold_mb: 100
gc_warn_threshold_in_ms: 1000
 


= --Apple-Mail=_F4EF5505-690C-4B4A-AF9D-3DC826301DCB--