-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
came across error from kafka console #2
Comments
any clues? |
i just tried on an openshift 3.6 cluster and it worked.
check to make sure the apache-kafka pod is running...
$ oc get po
NAME READY STATUS RESTARTS AGE
apache-kafka-1-cwcb8 2/2 Running 0 3m
$ oc logs --tail=10 apache-kafka-1-cwcb8 -c apache-kafka
[2017-11-06 17:36:46,783] INFO [Group Metadata Manager on Broker 0]:
Finished loading offsets from [__consumer_offsets,42] in 1 milliseconds.
(kafka.coordinator.GroupMetadataManager)
[2017-11-06 17:36:46,783] INFO [Group Metadata Manager on Broker 0]:
Loading offsets and group metadata from [__consumer_offsets,45]
(kafka.coordinator.GroupMetadataManager)
[2017-11-06 17:36:46,784] INFO [Group Metadata Manager on Broker 0]:
Finished loading offsets from [__consumer_offsets,45] in 1 milliseconds.
(kafka.coordinator.GroupMetadataManager)
[2017-11-06 17:36:46,785] INFO [Group Metadata Manager on Broker 0]:
Loading offsets and group metadata from [__consumer_offsets,48]
(kafka.coordinator.GroupMetadataManager)
[2017-11-06 17:36:46,785] INFO [Group Metadata Manager on Broker 0]:
Finished loading offsets from [__consumer_offsets,48] in 0 milliseconds.
(kafka.coordinator.GroupMetadataManager)
[2017-11-06 17:36:46,788] INFO [GroupCoordinator 0]: Preparing to
restabilize group console-consumer-14855 with old generation 0
(kafka.coordinator.GroupCoordinator)
[2017-11-06 17:36:46,792] INFO [GroupCoordinator 0]: Stabilized group
console-consumer-14855 generation 1 (kafka.coordinator.GroupCoordinator)
[2017-11-06 17:36:46,799] INFO [GroupCoordinator 0]: Assignment received
from leader for group console-consumer-14855 for generation 1
(kafka.coordinator.GroupCoordinator)
[2017-11-06 17:37:11,307] INFO [GroupCoordinator 0]: Preparing to
restabilize group console-consumer-14855 with old generation 1
(kafka.coordinator.GroupCoordinator)
[2017-11-06 17:37:11,308] INFO [GroupCoordinator 0]: Group
console-consumer-14855 with generation 2 is now empty
(kafka.coordinator.GroupCoordinator)
$ oc logs --tail=10 apache-kafka-1-cwcb8 -c apache-zookeeper
[2017-11-06 17:36:46,397] INFO Got user-level KeeperException when
processing sessionid:0x15f926634080000 type:create cxid:0x108 zxid:0xa6
txntype:-1 reqpath:n/a Error
Path:/brokers/topics/__consumer_offsets/partitions/48 Error:KeeperErrorCode
= NoNode for /brokers/topics/__consumer_offsets/partitions/48
(org.apache.zookeeper.server.PrepRequestProcessor)
[2017-11-06 17:36:46,399] INFO Got user-level KeeperException when
processing sessionid:0x15f926634080000 type:create cxid:0x10b zxid:0xa9
txntype:-1 reqpath:n/a Error
Path:/brokers/topics/__consumer_offsets/partitions/31 Error:KeeperErrorCode
= NoNode for /brokers/topics/__consumer_offsets/partitions/31
(org.apache.zookeeper.server.PrepRequestProcessor)
[2017-11-06 17:36:46,401] INFO Got user-level KeeperException when
processing sessionid:0x15f926634080000 type:create cxid:0x10e zxid:0xac
txntype:-1 reqpath:n/a Error
Path:/brokers/topics/__consumer_offsets/partitions/18 Error:KeeperErrorCode
= NoNode for /brokers/topics/__consumer_offsets/partitions/18
(org.apache.zookeeper.server.PrepRequestProcessor)
[2017-11-06 17:36:46,402] INFO Got user-level KeeperException when
processing sessionid:0x15f926634080000 type:create cxid:0x111 zxid:0xaf
txntype:-1 reqpath:n/a Error
Path:/brokers/topics/__consumer_offsets/partitions/19 Error:KeeperErrorCode
= NoNode for /brokers/topics/__consumer_offsets/partitions/19
(org.apache.zookeeper.server.PrepRequestProcessor)
[2017-11-06 17:36:46,404] INFO Got user-level KeeperException when
processing sessionid:0x15f926634080000 type:create cxid:0x114 zxid:0xb2
txntype:-1 reqpath:n/a Error
Path:/brokers/topics/__consumer_offsets/partitions/12 Error:KeeperErrorCode
= NoNode for /brokers/topics/__consumer_offsets/partitions/12
(org.apache.zookeeper.server.PrepRequestProcessor)
[2017-11-06 17:36:46,405] INFO Got user-level KeeperException when
processing sessionid:0x15f926634080000 type:create cxid:0x117 zxid:0xb5
txntype:-1 reqpath:n/a Error
Path:/brokers/topics/__consumer_offsets/partitions/46 Error:KeeperErrorCode
= NoNode for /brokers/topics/__consumer_offsets/partitions/46
(org.apache.zookeeper.server.PrepRequestProcessor)
[2017-11-06 17:36:46,407] INFO Got user-level KeeperException when
processing sessionid:0x15f926634080000 type:create cxid:0x11a zxid:0xb8
txntype:-1 reqpath:n/a Error
Path:/brokers/topics/__consumer_offsets/partitions/43 Error:KeeperErrorCode
= NoNode for /brokers/topics/__consumer_offsets/partitions/43
(org.apache.zookeeper.server.PrepRequestProcessor)
[2017-11-06 17:36:46,409] INFO Got user-level KeeperException when
processing sessionid:0x15f926634080000 type:create cxid:0x11d zxid:0xbb
txntype:-1 reqpath:n/a Error
Path:/brokers/topics/__consumer_offsets/partitions/1 Error:KeeperErrorCode
= NoNode for /brokers/topics/__consumer_offsets/partitions/1
(org.apache.zookeeper.server.PrepRequestProcessor)
[2017-11-06 17:36:46,410] INFO Got user-level KeeperException when
processing sessionid:0x15f926634080000 type:create cxid:0x120 zxid:0xbe
txntype:-1 reqpath:n/a Error
Path:/brokers/topics/__consumer_offsets/partitions/26 Error:KeeperErrorCode
= NoNode for /brokers/topics/__consumer_offsets/partitions/26
(org.apache.zookeeper.server.PrepRequestProcessor)
[2017-11-06 17:36:46,412] INFO Got user-level KeeperException when
processing sessionid:0x15f926634080000 type:create cxid:0x123 zxid:0xc1
txntype:-1 reqpath:n/a Error
Path:/brokers/topics/__consumer_offsets/partitions/30 Error:KeeperErrorCode
= NoNode for /brokers/topics/__consumer_offsets/partitions/30
(org.apache.zookeeper.server.PrepRequestProcessor)
…On Mon, Nov 6, 2017 at 12:03 PM, Deshi Xiao ***@***.***> wrote:
any clues?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAG4DZlJYe6VOD38IAsYFXQFVWndCZWWks5szzvsgaJpZM4QTjzV>
.
|
I see the same issue on 3.6. I can create and retrieve a topic, but |
how did you create your cluster? |
oc cluster up, but I'll try also w/ minishift tomorrow oc get all
NAME REVISION DESIRED CURRENT TRIGGERED BY
dc/apache-kafka 1 1 1 config
dc/kafka-debug 1 1 1 config
NAME DESIRED CURRENT READY AGE
rc/apache-kafka-1 1 1 1 21m
rc/kafka-debug-1 1 1 1 21m
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
svc/apache-kafka 172.30.82.94 <none> 9092/TCP,2181/TCP 21m
NAME READY STATUS RESTARTS AGE
po/apache-kafka-1-9l2mh 2/2 Running 0 21m
po/kafka-debug-1-fsrsq 1/1 Running 0 21m kafka log: zookeeper log: btw. this https://github.com/debianmaster/openshift-kafka worked for me. Couldn't this be the difference? |
he also overrides the |
The problem is that advertised.host.name is not the same as the pod IP To fix this, one option is to set the service as headless.
|
i follow your use case to testing the kafka on openshift,
when i create topic on this testing kafka, it report error:
The text was updated successfully, but these errors were encountered: