Closed Lorak-mmk closed 2 years ago
Drivers behavior is correct as Scylla used here doesn't have shard aware port enabled in config (https://github.com/scylladb/scylla-code-samples/blob/master/mms/scylla/scylla.yaml - no native_shard_aware_transport_port
field). Whether that's intended is another question - I'd guess that maybe this config was created for old versions of Scylla and never updated, so shard awareness was never enabled?
To fix this it should be enough to native_shard_aware_transport_port: 19042
to configs - mms/scylla/scylla.yaml
and mms/scylla/scylla-replace-node.yaml
thanks
@tzach please merge
@guy9 Please note that after this change the relevant pages on Scylla University must also be updated - as .jar filenames changed. Here's the list of affected pages: https://university.scylladb.com/courses/the-mutant-monitoring-system-training-course/lessons/coding-with-java-part-1/ https://university.scylladb.com/courses/the-mutant-monitoring-system-training-course/lessons/coding-with-java-part-2/ https://university.scylladb.com/courses/the-mutant-monitoring-system-training-course/lessons/coding-with-java-part-3/
Thanks @Lorak-mmk , I already updated them :-)
Converted mms/java to use Maven instead of Ant. Updated READMEs to reflect the changes - and fixed previosly existing errors.