uber / uReplicator

Improvement of Apache Kafka Mirrormaker
Apache License 2.0
917 stars 199 forks source link

Fail to start docker with controller #345

Closed vuxuanlai closed 3 years ago

vuxuanlai commented 3 years ago

The command I ran:

docker run -d --link devenv:devenv -p 9000:9000 --name controller --expose=9000 ureplicator "controller" -mode customized \
-enableAutoWhitelist true \
-port 9000 \
-refreshTimeInSeconds 10 \
-srcKafkaZkPath devenv:2181/cluster1 \
-zookeeper devenv:2181 \
-destKafkaZkPath devenv:2181/cluster2 \
-helixClusterName testMirrorMaker

The container was no started and I got the error as below:

Error: Could not find or load main class com.uber.stream.kafka.mirrormaker.controller.ControllerStarter
vuxuanlai commented 3 years ago

Issue is resolved, Please update UREP_VERSION in entrypoint

export UREP_VERSION="2.0.1-SNAPSHOT"

It should be export UREP_VERSION="2.0.2-SNAPSHOT"