sorry that was an old notetool status output (old cluster with a few configuration changes). new configuration is
-- Address Load Tokens Owns (effective) Host ID Rack UN 10.128.1.2 270.75 GiB 256 52.6% e4427611-c247-42ee-9404-371e177f5f17 rack1 UN 10.128.1.10 388.52 KiB 256 47.4% 7059e622-7861-495b-a69f-5a68876364dd rack1 10.128.1.2 is seed node, and no other C* node is running on the network. data_file_directories on seed node is not in default location, it's on another disk. if that helps On Thu, Jun 1, 2017 at 4:49 AM, Akhil Mehra <akhilme...@gmail.com> wrote: > Hi Junaid, > > I noticed in the log files that data is being streamed from/to 10.128.1.2 > but the address of your original node is 10.128.0.7. > > Are there any other Cassandra nodes on your local network the same cluster > name. > > Regards, > Akhil > > > 10.128.1.2 > > On 31/05/2017, at 10:15 PM, Junaid Nasir <jna...@an10.io> wrote: > > > > after nodetool repair on new node following log appears in cassandra log > > > > INFO [StreamConnectionEstablisher:1] 2017-05-31 10:07:23,496 > StreamSession.java:266 - [Stream #f0eb9670-45e8-11e7-a17b-81e9a18c6eac] > Starting streaming to /10.128.1.2 > > INFO [StreamConnectionEstablisher:1] 2017-05-31 10:07:23,501 > StreamCoordinator.java:264 - [Stream #f0eb9670-45e8-11e7-a17b-81e9a18c6eac, > ID#0] Beginning stream session with /10.128.1.2 > > INFO [STREAM-IN-/10.128.1.2:7000] 2017-05-31 10:07:23,545 > StreamResultFuture.java:173 - [Stream #f0eb9670-45e8-11e7-a17b-81e9a18c6eac > ID#0] Prepare completed. Receiving 2 files(131.594KiB), sending 0 > files(0.000KiB) > > INFO [StreamReceiveTask:1] 2017-05-31 10:07:23,705 > StreamResultFuture.java:187 - [Stream #f0eb9670-45e8-11e7-a17b-81e9a18c6eac] > Session with /10.128.1.2 is complete > > INFO [StreamReceiveTask:1] 2017-05-31 10:07:23,707 > StreamResultFuture.java:219 - [Stream #f0eb9670-45e8-11e7-a17b-81e9a18c6eac] > All sessions completed > > > > > > > > On Wed, May 31, 2017 at 2:50 PM, Junaid Nasir <jna...@an10.io> wrote: > > Cassandra version is 3.10, and yes its not a production server. i have > seen some warnings in logs saying token exist on both servers. other than > that nothing. if you need any more settings/details please ask. thank you > for your time > > > > > > On Wed, May 31, 2017 at 2:04 PM, Oleksandr Shulgin < > oleksandr.shul...@zalando.de> wrote: > > On Wed, May 31, 2017 at 9:55 AM, Junaid Nasir <jna...@an10.io> wrote: > > Cassandra ensure that adding or removing nodes are very easy and that > load is balanced between nodes when a change is made. but it's not working > in my case. > > I have a single node C* deployment (with 270 GB of data) and want to > load balance the data on multiple nodes, > > > > I guess it's fair to assume this is not a production "cluster"? > > > > I followed this guide > > `nodetool status` shows 2 nodes but load is not balanced between them > > Datacenter: dc1 > > =============== > > Status=Up/Down > > |/ State=Normal/Leaving/Joining/M > > oving > > -- Address Load Tokens Owns (effective) Host ID > Rack > > UN 10.128.0.7 270.75 GiB 256 48.6% > 1a3f6faa-4376-45a8-9c20-11480a > > e5664c rack1 > > UN 10.128.0.14 414.36 KiB 256 51.4% > 66a89fbf-08ba-4b5d-9f10-55d52a > > 199b41 rack1 > > I can imagine you are referring to Load column here, which shows only > 400 KB for the new node. Did the newly added node actually bootstrap? Are > there any error/warning messages in the Cassandra log? > > > > I also ran 'nodetool repair' on new node but result is same. any > pointers would be appreciated :) > > > > Hm, this is not expected. Even if the node didn't bootstrap, repair > should have streamed the data it is responsible for. > > > > conf file of new node > > cluster_name: 'cluster1' > > - seeds: "10.128.0.7" > > > > num_tokens: 256 > > endpoint_snitch: GossipingPropertyFileSnitch > > > > I see that you've tried to add the new node as a normal (non-seed) node, > which supposed to work and it should have bootstrapped itself. Which > version of Cassandra is it exactly? > > > > -- > > Oleksandr "Alex" Shulgin | Database Engineer | Zalando SE | Tel: +49 176 > 127-59-707 > > > > > > > >