eucuepo / vagrant-kafka

Vagrant config to setup a partitioned Apache Kafka installation with clustered Apache Zookeeper
103 stars 89 forks source link

Error during jdk install #10

Closed addmeaning closed 7 years ago

addmeaning commented 7 years ago

Dear Eugenio, first of all, thank you for this vagrant configuration.

Following issue occurred during installation on each broker:

Example broker:

==> broker2: iptables: Unloading modules:
==> broker2: [  OK  ]
==> broker2: installing jdk and kafka ...
==> broker2: error:
==> broker2: not an rpm package
==> broker2: error:
==> broker2: /vagrant/rpm/jdk-8u73-linux-x64.rpm: not an rpm package (or package manifest):
==> broker2: kafka_2.10-0.9.0.1/

Due to error in jdk installation new Kafka topic can't be created:

[vagrant@broker1 scripts]$ ./create_topic.sh test
/home/vagrant/kafka_2.10-0.9.0.1/bin/kafka-run-class.sh: line 167: exec: java: not found

Vagrant Version: 1.9.5 Windows 8.1 Oracle VirtualBox 5.1.22

addmeaning commented 7 years ago

Something happened during downloading rpm, it was corrupted file with size 0 KB. After manually installing jdk and restarting vms issue resolved