Im new in hadoop and apache environment. Now I'm trying to learn about kafka I've installed hadoop via ambari. And i can see that there are some services installed. Including zookeeper . When i click on that service it shows zookeeper server started with green dot. I assume that zookeeper installed correctly. Now i added kafka services. Assuming that kafka and zookeeper installed i try to create some topics according to this source kafka docs.
I try this code
bin/kafka-topics.sh --create --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1 --topic test
it returns
-bash: bin/kafka-topics.sh: No such file or directory
it makes me wonder if kafka really installed via ambari? i checked ambari services and kafka has been added and the broker is running with started status with green dot.
same thing also happened to zookeeper
bin/zookeeper-server-start.sh config/zookeeper.properties
it returns
-bash: bin/zookeeper-server-start.sh: No such file or directory
Questions
How do i know if any services installed correctly via ambari? I just try this with kafka, but what if i have to add any other source. Are there any other configuration needed after added ther service via ambari?
Thank you.
bin/...
. This is not the full path. So the user or application is now in the parent directory of thatbin/
. – Schnorkle