- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Kafka multi broker setup through ambari
- Labels:
-
Apache Kafka
Created ‎12-19-2016 05:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i configure multibroker kafka through ambari but failed to startup the kafka broker. however, it was successful when tried doing it through command line (with diff protocol,diff portnos, diff nodes)
and now i'm very much confused about the listeners property because by default amabri bound to 6667 port, what should be used for other listeners if im configuring multibroker.
all most i tried all the combinations but non of them helped me while starting it from ambari and it gives me unable to connect to zookeeoer.
example :
1. ( diff protocol, diff portnos, diff nodes) - this worked from command line but not through ambari
2.(diff protocol, diff portnos,same node) - this worked from command line but not through ambari
3. its not working neither command line nor ambari if this has been set to 'same protocol' or 'same port' -
please help me
sathish
Created ‎12-20-2016 12:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@sathish jeganathan I will suggest you don't Install or configure kafka manually, Install using Ambari it will take care all the settings for you, after installation once broker come online then only you can try changing configuration.
Created ‎12-21-2016 05:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@sathish jeganathan I did not get the question properly, well you can consume a topic which has messages in it and do whatever you want to do with this.
there is another utility with kafka which can dump a log file and in there you can see the content of it like this
bin/kafka-run-class.sh kafka.tools.DumpLogSegments --deep-iteration --files /kafka-logs/kafkatopic-0/00000000000000000000.log
Created ‎12-21-2016 06:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Rajkumar Singh i just wanna see the content of a topic(it may be a message,file,log or anything). how do i do it ? is there any webui or command line available to do so? please let me know..
thanks,
sathish
Created ‎12-21-2016 06:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@sathish jeganathanI am not sure if there is any webui available but with console-consumer you can fetch the all message of topic using --from-beginning switch
Created ‎12-21-2016 06:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
okay.. thanks for your help @Rajkumar Singh
Created ‎12-21-2016 06:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
np.. dont forget to accept an answer
Created ‎12-30-2016 06:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Rajkumar Singh i started receiving below error messages now... while initiating producer...
1.no config changes done,
2.keytab looks fine and kinit successful.
3. ive created new topic thinking that the old one's corrupt but its giving me same error.
ERROR fetching topic metadata for topics [Set(newtest)] from broker [ArrayBuffer(BrokerEndPoint(0,localhost,6667))] failed (kafka.utils.CoreUtils$)
kafka.common.KafkaException: fetching topic metadata for topics [Set(newtest)] from broker [ArrayBuffer(BrokerEndPoint(0,localhost,6667))] failed
caused : java.nio.channels.ClosedChannelException:
thanks,
sathish
Created ‎03-10-2017 03:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@sathish jeganathan- Did you get the solution for your last issue? I am getting the same issue.

- « Previous
- Next »