You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by "M.Z." <mo...@gmail.com> on 2016/11/08 19:39:26 UTC

kafka topics failed UnknownHostException

Hi, Guys. Any idea about this error?

I installed and add Kafka service through Cloudera Manager, which looks
fine.

But when I try to test it with list topics, it gave error like:

./kafka-topics.sh --list --zookeeper localhost:2181



java.net.UnknownHostException: opt

at java.net.AbstractPlainSocketImpl.connect(AbstractP
lainSocketImpl.java:178)



I dont where the host 'opt' come from?