Я пытаюсь запустить виртуальный кластер Apache Hadoop на моем ноутбуке с помощью Vagrant и Cloudera менеджер, следуя этим инструкциям:Virtual Cluster с Vagrant за корпоративный прокси
Я использую Dell Precision M4800 Ноутбук рабочей станции с 16 ГБ оперативной памяти, в котором работает ОС Ubuntu 16.04 LTS (Xenial Xerus).
Я успешно удалось установить VirtualBox и Vagrant, но я не могу подключиться к узлам кластера мой, что я сделал:
настроить параметры прокси для инструментов CLI:
$export http_proxy="http://user:[email protected]_server:port" $export https_proxy="https://user:[email protected]_server:port""
перейти в каталог проекта
обновления хостов файл на каждой активной машине:
$vagrant hostmanager
создавать и конфигурировать гостевые машины в соответствии с Vagrantfile
$vagrant up
- Попробуйте серфингу в http://vm-cluster-node1:7180 но получил ошибку «сервер не найден»
Поскольку я за корпоративным прокси-I установлен плагин vagrant proxyconf, как предлагается здесь: How to use vagrant in a proxy environment?
и чем я изменил мои Vagrantfile добавив следующие строки:
if Vagrant.has_plugin?("vagrant-proxyconf")
config.proxy.http = "http://user:[email protected]_server:port"
config.proxy.https = "https://user:[email protected]_server:port"
config.proxy.no_proxy = "localhost,127.0.0.1"
end
сейчас проблема в том, что после того, как бродяг до команд я получаю следующее сообщение об ошибке:
==> master: Failed to fetch http://archive.cloudera.com/cm5/ubuntu/precise/amd64/cm/pool/contrib/e/enterprise/cloudera-manager-daemons_5.8.2-1.cm582.p0.17~precise-cm5_all.deb Connection failed
==> master: Failed to fetch http://archive.cloudera.com/cm5/ubuntu/precise/amd64/cm/pool/contrib/o/oracle-j2sdk1.7/oracle-j2sdk1.7_1.7.0+update67-1_amd64.deb Connection failed
==> master: E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
==> master: cloudera-scm-server-db: unrecognized service
==> master: cloudera-scm-server-db: unrecognized service
==> master: cloudera-scm-server: unrecognized service
The SSH command responded with a non-zero exit status. Vagrant assumes
that this means the command failed. The output for this command should be
in the log above. Please read the output to determine what went wrong.
Что я делаю неправильно?
Я немного изменил конфигурацию прокси в * Vagrantfile * и теперь после * vargant up * Я не получаю сообщение об ошибке, но я до сих пор не могу подключиться к http: // vm-cluster-node1: 7180 – Cecilia
cupple этого вы может проверить: он работает и работает на ВМ?после запуска vagrant host manager файл/etc/hosts обновлен правильно? –
@ FrédéricHenri Да, после запуска vargant hostmanager файл/etc/host обновлен правильно, и я проверил, что виртуальная машина запущена и работает с использованием VirtualBox GUI. – Cecilia