Member since
08-08-2017
1652
Posts
30
Kudos Received
11
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2062 | 06-15-2020 05:23 AM | |
| 17081 | 01-30-2020 08:04 PM | |
| 2225 | 07-07-2019 09:06 PM | |
| 8565 | 01-27-2018 10:17 PM | |
| 4839 | 12-31-2017 10:12 PM |
07-01-2019
08:57 AM
@Dear Jay you said - "Kafka and Zookeepers are two services that are sensitive to disk I/O. Keeping them on same node will not be a good idea. " I agree but lets say that: assume we install the zookeeper on kafka machine but zookeeper will write the logs to the disk of the OS and not the disk of the kafka and we disable the swap on the kafka machine is this change the picture ? I mean in that case zookeeper not use the disk of kafka and use the disk of the OS of the kafka + disable swap in that case you agree ?
... View more
07-01-2019
08:24 AM
what you mean about - "also check the offline partitions metric to confirm this " ?
... View more
07-01-2019
08:18 AM
@Geoffrey Shelton Okot all brokers are up always and replication factor is 3
... View more
07-01-2019
06:29 AM
@Dear Jay now its more clear - but why? what is the reason that we shouldn't install zoo on kafka ? second can we install zoo on data node machine ? ( when zoo is dedicated and serve only to kafka )
... View more
07-01-2019
05:40 AM
@Dear Jay - Just want to clear this we want to installed 3 zookeepers servers that serve only kafka ( and not other application ) in that case can we install the 3 zookeepers servers on 3 kafka hosts ? or we need to dedicated a new hosts ( without kafka ) for the new zookeepers servers? if we cant installed the zookeeper servers ( that are only server the kafka ) on kafka hosts can you please explain why?
... View more
07-01-2019
05:05 AM
we have 5 kafka brokers in our kafka cluster the state for now is on all topics names and all topics are with negative number and Isr without brokers id Topic: test1 Partition: 1 Leader: -1 Replicas: 1,2,3 Isr:
Topic: test2 Partition: 1 Leader: -1 Replicas: 2,3,1 Isr:
Topic: test3 Partition: 1 Leader: -1 Replicas: 3,2,1 Isr:
Topic: test4 Partition: 1 Leader: -1 Replicas: 1,3,2 Isr:
Topic: test5 Partition: 1 Leader: -1 Replicas: 2,1,3 Isr:
any common reason for this behavior ?
... View more
Labels:
- Labels:
-
Apache Kafka
07-01-2019
04:32 AM
@Dear Jay - Apache Kafka 2.0.0 , is it the same version of confluent 2.0.0 ?
... View more
06-28-2019
03:22 PM
Hi all We have strange behavior in our Kafka cluster When we run the described info as /usr/hdp/current/kafka-broker/bin/kafka-topics.sh –zookeeperzookeper_server:2181 –describe We get for example ( this is the scenario on all topics ) We get on all topic (-1) and Isr is empty not as should be Topic:__consumer_offsets PartitionCount:50 ReplicationFactor:3 Configs:segment.bytes=1138822,cleanup.policy=compact,compression.type=producer
Topic: __consumer_offsets Partition: 0 Leader: -1 Replicas: 1000,1002,1001 Isr:
Topic: __consumer_offsets Partition: 1 Leader: -1 Replicas: 1000,1002,1001 Isr:
Topic: __consumer_offsets Partition: 2 Leader: -1 Replicas: 1000,1002,1001 Isr:
Topic: __consumer_offsets Partition: 3 Leader: -1 Replicas: 1000,1002,1001 Isr:
Topic: __consumer_offsets Partition: 4 Leader: -1 Replicas: 1000,1002,1001 Isr:
Topic:gen_topic_totCount:100 ReplicationFactor:3 Configs:
Topic: gen_topic_tot: 0 Leader: -1 Replicas: 1002,1000,1001 Isr:
Topic: gen_topic_tot: 1 Leader: -1 Replicas: 1000,1001,1002 Isr:
Topic: gen_topic_tot: 2 Leader: -1 Replicas: 1001,1002,1000 Isr:
This happens after 2 days after we restart the zookeeper and kafka we also try to re-balanced the topics but again after ~20 hours topics return to be not balanced with (-1) as this situation First all topics was balanced and Isr was with correctly brokers ids But after more than 24 hours we get this state From zookeeper logs we not saw something wrong and the same from server.log from kafka , and kafka brokers are up ) 1000 , 1001 , 1002 - are the brokers ids
... View more
Labels:
06-28-2019
06:30 AM
@dear jay - about - Make sure you allocate sufficient JVM memory. A good starting point is 4GB. , which parameter in ambari need to find in order to set the value to 4G?
... View more
06-28-2019
05:01 AM
@dear Geoffrey Shelton Okot · what you think about the link from stackoverflow ?
... View more