trisberg / hadoop-install

Easy Hadoop Installation
7 stars 4 forks source link

Hadoop VM creation issue using Vagrant #2

Open addictedanshul opened 6 years ago

addictedanshul commented 6 years ago

While creation of Hadoop/Spring VM using Vagrant (SpringOne-2016-Edition) It fails with below error. Hence not able to run: https://github.com/trisberg/hadoop-examples


default: Generating public/private dsa key pair. default: Your identification has been saved in /home/vagrant/.ssh/id_dsa. default: Your public key has been saved in /home/vagrant/.ssh/id_dsa.pub. default: The key fingerprint is: default: 3d:23:a9:2b:43:8f:f6:0b:5a:06:4b:05:6c:f6:70:0c vagrant@borneo default: The key's randomart image is: default: +--[ DSA 1024]----+ default: | .Eo | default: | =.o | default: | o +. | default: | .. o | default: | o S + | default: | . o. . . o | default: | ..+o. | default: | +=... | default: | .. ++. | default: +-----------------+ default: Warning: Permanently added 'localhost' (RSA) to the list of known hosts. default: Warning: Permanently added '0.0.0.0' (RSA) to the list of known hosts. default: Warning: Permanently added 'borneo' (RSA) to the list of known hosts. ==> default: Running provisioner: shell... default: Running: C:/Users/an023gu/AppData/Local/Temp/1/vagrant-shell20171128-8100-17ndplz.sh default: Downloading Hadoop ... default: Installing Hadoop ... default: tar (child): default: hadoop-2.7.1.tar.gz: Cannot open default: : No such file or directory default: default: tar (child): Error is not recoverable: exiting now default: tar: Child returned status 2 default: tar: Error is not recoverable: exiting now default: cp: default: target `hadoop/etc/hadoop/.' is not a directory default: sed: can't read hadoop/etc/hadoop/hadoop-env.sh: No such file or directory default: /tmp/vagrant-shell: line 9: ./hadoop/bin/hdfs: No such file or directory 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.

trisberg commented 6 years ago

These examples are getting old and things change. Looks like the download links/mirrors have changed, I updated the SpringOne-2016-Edition branch, so if you could refresh that branch and try again.