Open dungnt081191 opened 4 years ago
restart the last worker can resolve the problem. the best order to start cluster : start controllers first, then workers。the controllers have the ability to setup the cluster info
and using worker-3.0 is recommended
HI @Technoboy- , Worker through another exception about :
shed-0) (kafka.mirrormaker.CompactConsumerFetcherManager$LeaderFinderThread:72)
kafka.common.BrokerEndPointNotAvailableException: End point with security protocol PLAINTEXT not found for broker 1
at kafka.client.ClientUtils$$anonfun$getPlaintextBrokerEndPoints$1$$anonfun$apply$5.apply(ClientUtils.scala:149)
at kafka.client.ClientUtils$$anonfun$getPlaintextBrokerEndPoints$1$$anonfun$apply$5.apply(ClientUtils.scala:149)
at scala.Option.getOrElse(Option.scala:121)
at kafka.client.ClientUtils$$anonfun$getPlaintextBrokerEndPoints$1.apply(ClientUtils.scala:149)
at kafka.client.ClientUtils$$anonfun$getPlaintextBrokerEndPoints$1.apply(ClientUtils.scala:145)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
at scala.collection.AbstractTraversable.map(Traversable.scala:104)
at kafka.client.ClientUtils$.getPlaintextBrokerEndPoints(ClientUtils.scala:145)
at kafka.mirrormaker.CompactConsumerFetcherManager$LeaderFinderThread.doWork(CompactConsumerFetcherManager.scala:345)
at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:82)
[2019-11-06 09:22:09,000] INFO [CompactConsumerFetcherManager-1573031922798] Added fetcher for partitions ArrayBuffer() (kafka.mirrormaker.CompactConsumerFetcherManager:66)
And it's using Worker-3.0. Another thing is : Kafka use version 1.1, how can we upgrade Kafka to latest version from Apache Kafka
did you config the SSL part in consumer/producer? reference to : http://kafka.apache.org/documentation.html#security_configclients
yes i did @Technoboy-
and I delete that pod - the pod which through this exception and when the new pod is UP , no exception about this anymore. It's seem happen when Controller is not ready but Worker is UP earlier than Controller this exception will be happen
yes, maybe
@Technoboy- anyidea about the log when starting starting helix mirror maker manager Starting ZkClient event thread Opening socket connection to server Waiting for keeper state SyncConnected
[2019-11-08 08:19:47,527] INFO zookeeper state changed (SyncConnected) (org.I0Itec.zkclient.ZkClient:713)
[2019-11-08 08:19:47,533] INFO Waiting for keeper state SyncConnected (org.I0Itec.zkclient.ZkClient:936)
[2019-11-08 08:19:47,745] INFO Invalid cluster setup, missing znode path: /cluster/IDEALSTATES
Invalid cluster setup, missing znode path: /cluster/CONFIGS/CLUSTER/cluster
Invalid cluster setup, missing znode path: /cluster/CONFIGS/PARTICIPANT
Invalid cluster setup, missing znode path: /cluster/CONFIGS/RESOURCE
Invalid cluster setup, missing znode path: /cluster/PROPERTYSTORE
Invalid cluster setup, missing znode path: /cluster/LIVEINSTANCES
Invalid cluster setup, missing znode path: /cluster/INSTANCES
Invalid cluster setup, missing znode path: /cluster/EXTERNALVIEW
Invalid cluster setup, missing znode path: /cluster/CONTROLLER
Invalid cluster setup, missing znode path: /cluster/STATEMODELDEFS
Invalid cluster setup, missing znode path: /cluster/CONTROLLER/MESSAGES
Invalid cluster setup, missing znode path: /cluster/CONTROLLER/ERRORS
Invalid cluster setup, missing znode path: /cluster/CONTROLLER/STATUSUPDATES
Invalid cluster setup, missing znode path: /cluster/CONTROLLER/HISTORY
(org.apache.helix.manager.zk.ZKUtil:88)
[2019-11-08 08:19:47,778] INFO Invalid cluster setup, missing znode path: /controller/IDEALSTATES
Invalid cluster setup, missing znode path: /controller/CONFIGS/CLUSTER/controller
Invalid cluster setup, missing znode path: /controller/CONFIGS/PARTICIPANT
Invalid cluster setup, missing znode path: /controller/CONFIGS/RESOURCE
Invalid cluster setup, missing znode path: /controller/PROPERTYSTORE
......
.....
.....
log look like invalid setting Cluster , but where, can you show me more detail about this ?
What zk path do you have?
looks like a small issue that occurs by configured wrong cluster name. such as mismatch between manager/controller/worker/
@xhl1988 What zk path do you have?
sorry , zk path ? , do you know this zkpath in which config ?
@Technoboy- i set only 1 Helix Cluster name : uReplicatorDev - for example
paste some controller log in the same time as worker above
hi @Technoboy- te @xhl1988 @yangy0000 how can i switch from worker2.0 currently to worker3.0 . i meet the exception about :
hed-0) (kafka.mirrormaker.CompactConsumerFetcherManager$LeaderFinderThread:72) kafka.common.BrokerEndPointNotAvailableException: End point with security protocol PLAINTEXT not found for broker 1 at kafka.client.ClientUtils$$anonfun$getPlaintextBrokerEndPoints$1$$anonfun$apply$5.apply(ClientUtils.scala:149) at kafka.client.ClientUtils$$anonfun$getPlaintextBrokerEndPoints$1$$anonfun$apply$5.apply(ClientUtils.scala:149) at scala.Option.getOrElse(Option.scala:121) at kafka.client.ClientUtils$$anonfun$getPlaintextBrokerEndPoints$1.apply(ClientUtils.scala:149) at kafka.client.ClientUtils$$anonfun$getPlaintextBrokerEndPoints$1.apply(ClientUtils.scala:145) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234) at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59) at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48) at scala.collection.TraversableLike$class.map(TraversableLike.scala:234) at scala.collection.AbstractTraversable.map(Traversable.scala:104) at kafka.client.ClientUtils$.getPlaintextBrokerEndPoints(ClientUtils.scala:145) at kafka.mirrormaker.CompactConsumerFetcherManager$LeaderFinderThread.doWork(CompactConsumerFetcherManager.scala:345) at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:82) [2019-11-06 09:22:09,000] INFO [CompactConsumerFetcherManager-1573031922798] Added fetcher for partitions ArrayBuffer() (kafka.mirrormaker.CompactConsumerFetcherManager:66)
In my case , i consumer from Source Kafka with SSL config, produce to Destination Kafka with PLAINTEXT .
@Technoboy- any idea about this bro
HI everyone, I'm using code from commit hash 70ac340 master branch. Now i setting
1 Controller & 3 Worker is good now, but the last Worker through this exception : Anyone explain clear for me?. @Technoboy- @yangy0000 do you know this ?