This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Common Issues with Ambari Installation | |
While running, kafka producer, | |
bin/kafka-console-producer.sh --broker-list localhost:9092 --topic test | |
I received this error : | |
WARN [Producer clientId=console-producer] Connection to node -1 could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient) | |
This error comes because there is a misconfigurtion between your system hostname and ambari installation. | |
Make sure that the hostname used everywhere in kafka, zookeeper, /ect/hosts should be the same. | |
Here is the hostname configuration in all files for me : |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get Bash into a Docker | |
docker exec -it (container name) /bin/bash | |
Check Logs: | |
go to log folder in each container | |
Execute a command in docker | |
docker exec -it (container name) | |
Pause all containers |