martinprobson / vagrant-hadoop-hive-spark

Vagrant project to spin up a single node VM running current versions of Hadoop, Hive and Spark
Apache License 2.0
67 stars 59 forks source link

Error in Vagrant Init #7

Closed bnortman closed 6 years ago

bnortman commented 6 years ago

D:\dev\hadoop\vagrant-hadoop-hive-spark>vagrant up Bringing machine 'node1' up with 'virtualbox' provider... ==> node1: Box 'ubuntu/xenial64' could not be found. Attempting to find and install... node1: Box Provider: virtualbox node1: Box Version: >= 0 ==> node1: Loading metadata for box 'ubuntu/xenial64' node1: URL: https://vagrantcloud.com/ubuntu/xenial64 ==> node1: Adding box 'ubuntu/xenial64' (v20180126.0.0) for provider: virtualbox node1: Downloading: https://vagrantcloud.com/ubuntu/boxes/xenial64/versions/20180126.0.0/providers/virtualbox.box node1: ==> node1: Successfully added box 'ubuntu/xenial64' (v20180126.0.0) for 'virtualbox'! ==> node1: Importing base box 'ubuntu/xenial64'... ==> node1: Matching MAC address for NAT networking... ==> node1: Checking if box 'ubuntu/xenial64' is up to date... ==> node1: Setting the name of the VM: node1 ==> node1: Clearing any previously set network interfaces... ==> node1: Preparing network interfaces based on configuration... node1: Adapter 1: nat node1: Adapter 2: hostonly ==> node1: Forwarding ports... node1: 8080 (guest) => 8080 (host) (adapter 1) node1: 9083 (guest) => 9083 (host) (adapter 1) node1: 22 (guest) => 2222 (host) (adapter 1) ==> node1: Running 'pre-boot' VM customizations... ==> node1: Booting VM... ==> node1: Waiting for machine to boot. This may take a few minutes... node1: SSH address: 127.0.0.1:2222 node1: SSH username: vagrant node1: SSH auth method: private key node1: node1: Vagrant insecure key detected. Vagrant will automatically replace node1: this with a newly generated keypair for better security. node1: node1: Inserting generated public key within guest... node1: Removing insecure key from the guest if it's present... node1: Key inserted! Disconnecting and reconnecting using new SSH key... ==> node1: Machine booted and ready! ==> node1: Checking for guest additions in VM... node1: The guest additions on this VM do not match the installed version of node1: VirtualBox! In most cases this is fine, but in rare cases it can node1: prevent things such as shared folders from working properly. If you see node1: shared folder errors, please make sure the guest additions within the node1: virtual machine match the version of VirtualBox you have installed on node1: your host and reload your VM. node1: node1: Guest Additions Version: 5.0.40 node1: VirtualBox Version: 5.2 ==> node1: Setting hostname... ==> node1: Configuring and enabling network interfaces... ==> node1: Mounting shared folders... node1: /vagrant => D:/dev/hadoop/vagrant-hadoop-hive-spark ==> node1: Running provisioner: shell... node1: Running: C:/Users/CAP10B~1/AppData/Local/Temp/vagrant-shell20180206-7252-3uqvvh.sh node1: /vagrant/scripts/common.sh: line 2: $'\r': command not found node1: /vagrant/scripts/common.sh: line 5: $'\r': command not found node1: /vagrant/scripts/common.sh: line 11: $'\r': command not found node1: /vagrant/scripts/common.sh: line 19: $'\r': command not found node1: /vagrant/scripts/common.sh: line 22: $'\r': command not found node1: /vagrant/scripts/common.sh: line 31: $'\r': command not found node1: /vagrant/scripts/common.sh: line 38: $'\r': command not found node1: /vagrant/scripts/common.sh: line 44: $'\r': command not found node1: /vagrant/scripts/common.sh: line 47: $'\r': command not found node1: /vagrant/scripts/common.sh: line 50: $'\r': command not found node1: /vagrant/scripts/common.sh: line 56: $'\r': command not found node1: /vagrant/scripts/common.sh: line 63: $'\r': command not found node1: /vagrant/scripts/common.sh: line 70: $'\r': command not found node1: /vagrant/scripts/common.sh: line 78: $'\r': command not found node1: /vagrant/scripts/common.sh: line 86: $'\r': command not found node1: /vagrant/scripts/common.sh: line 87: $'\r': command not found node1: /vagrant/scripts/common.sh: line 89: syntax error near unexpected token $'{\r'' ' node1: /vagrant/scripts/common.sh: line 89:function resourceExists { node1: setup ubuntu node1: setup hosts file node1: modifying /etc/hosts file node1: setup ssh node1: Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB] node1: Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease node1: Get:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB] node1: Get:4 http://security.ubuntu.com/ubuntu xenial-security/main Sources [107 kB] node1: Get:5 http://security.ubuntu.com/ubuntu xenial-security/restricted Sources [2,116 B] node1: Get:6 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [50.0 kB] node1: Get:7 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB] node1: Get:8 http://security.ubuntu.com/ubuntu xenial-security/multiverse Sources [1,516 B] node1: Get:9 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [435 kB] node1: Get:10 http://archive.ubuntu.com/ubuntu xenial/main Sources [868 kB] node1: Get:11 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [201 kB] node1: Get:12 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [102 kB] node1: Get:13 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [3,208 B] node1: Get:14 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en [1,408 B] node1: Get:15 http://archive.ubuntu.com/ubuntu xenial/restricted Sources [4,808 B] node1: Get:16 http://archive.ubuntu.com/ubuntu xenial/universe Sources [7,728 kB] node1: Get:17 http://archive.ubuntu.com/ubuntu xenial/multiverse Sources [179 kB] node1: Get:18 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7,532 kB] node1: Get:19 http://archive.ubuntu.com/ubuntu xenial/universe Translation-en [4,354 kB] node1: Get:20 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [144 kB] node1: Get:21 http://archive.ubuntu.com/ubuntu xenial/multiverse Translation-en [106 kB] node1: Get:22 http://archive.ubuntu.com/ubuntu xenial-updates/main Sources [292 kB] node1: Get:23 http://archive.ubuntu.com/ubuntu xenial-updates/restricted Sources [2,524 B] node1: Get:24 http://archive.ubuntu.com/ubuntu xenial-updates/universe Sources [191 kB] node1: Get:25 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse Sources [7,968 B] node1: Get:26 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [713 kB] node1: Get:27 http://archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [296 kB] node1: Get:28 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [581 kB] node1: Get:29 http://archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [234 kB] node1: Get:30 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [16.2 kB] node1: Get:31 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en [8,052 B] node1: Get:32 http://archive.ubuntu.com/ubuntu xenial-backports/main Sources [3,436 B] node1: Get:33 http://archive.ubuntu.com/ubuntu xenial-backports/universe Sources [4,904 B] node1: Get:34 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [4,840 B] node1: Get:35 http://archive.ubuntu.com/ubuntu xenial-backports/main Translation-en [3,220 B] node1: Get:36 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [6,628 B] node1: Get:37 http://archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [3,768 B] node1: Fetched 24.5 MB in 57s (429 kB/s) node1: Reading package lists... node1: Reading package lists... node1: Building dependency tree... node1: node1: Reading state information... node1: The following NEW packages will be installed: node1: sshpass node1: 0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded. node1: Need to get 10.5 kB of archives. node1: After this operation, 56.3 kB of additional disk space will be used. node1: Get:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 sshpass amd64 1.05-1 [10.5 kB] node1: dpkg-preconfigure: unable to re-open stdin: No such file or directory node1: Fetched 10.5 kB in 0s (33.1 kB/s) node1: Selecting previously unselected package sshpass. node1: (Reading database ... (Reading database ... 60%ase ... 5% node1: (Reading database ... 65% node1: (Reading database ... 70% node1: (Reading database ... 75% node1: (Reading database ... 80% node1: (Reading database ... 85% node1: (Reading database ... 90% node1: (Reading database ... 95% (Reading database ... 53985 files and directories currently installed.) node1: Preparing to unpack .../sshpass_1.05-1_amd64.deb ... node1: Unpacking sshpass (1.05-1) ... node1: Processing triggers for man-db (2.7.5-1) ... node1: Setting up sshpass (1.05-1) ... node1: generating ssh key node1: Generating public/private rsa key pair. node1: Your identification has been saved in /root/.ssh/id_rsa. node1: Your public key has been saved in /root/.ssh/id_rsa.pub. node1: The key fingerprint is: node1: SHA256:xo8I6/hYO2B/665OSz6jbD5BtuTEL1UNAov1NPADxK4 root@node1 node1: The key's randomart image is: node1: +---[RSA 2048]----+ node1: | oo+ .o | node1: | o. o. . | node1: |.o. +. | node1: | B .. . | node1: | B +. S | node1: |E B .o o o | node1: | . == . . . | node1: | .oO=o. | node1: | o*=OO+. | node1: +----[SHA256]-----+ node1: cp: cannot stat '/vagrant/resources/ssh'$'\r''/config'$'\r' node1: : No such file or directory node1: cp: cannot stat '/vagrant/resources/ssh'$'\r''/ssh-copy-id.modified'$'\r' node1: : No such file or directory node1: setup utilities node1: Reading package lists... node1: Building dependency tree... node1: node1: Reading state information... node1: mlocate is already the newest version (0.26-1ubuntu2). node1: 0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded. node1: Reading package lists... node1: Building dependency tree... node1: node1: Reading state information... node1: The following additional packages will be installed: node1: ant-optional ca-certificates-java default-jre-headless fontconfig-config node1: fonts-dejavu-core java-common libavahi-client3 libavahi-common-data node1: libavahi-common3 libcups2 libfontconfig1 libjpeg-turbo8 libjpeg8 liblcms2-2 node1: libnspr4 libnss3 libnss3-nssdb libpcsclite1 libxi6 libxrender1 libxtst6 node1: openjdk-8-jre-headless x11-common node1: Suggested packages: node1: ant-doc ant-gcj default-jdk | java-compiler | java-sdk ant-optional-gcj node1: antlr javacc junit jython libbcel-java libbsf-java libcommons-logging-java node1: libcommons-net-java libgnumail-java libjaxp1.3-java libjdepend-java node1: libjsch-java liblog4j1.2-java liboro-java libregexp-java libxalan2-java node1: libxml-commons-resolver1.1-java default-jre cups-common liblcms2-utils pcscd node1: libnss-mdns fonts-dejavu-extra fonts-ipafont-gothic fonts-ipafont-mincho node1: fonts-wqy-microhei fonts-wqy-zenhei fonts-indic node1: The following NEW packages will be installed: node1: ant ant-optional ca-certificates-java default-jre-headless fontconfig-config node1: fonts-dejavu-core java-common libavahi-client3 libavahi-common-data node1: libavahi-common3 libcups2 libfontconfig1 libjpeg-turbo8 libjpeg8 liblcms2-2 node1: libnspr4 libnss3 libnss3-nssdb libpcsclite1 libxi6 libxrender1 libxtst6 node1: openjdk-8-jre-headless x11-common node1: 0 upgraded, 24 newly installed, 0 to remove and 10 not upgraded. node1: Need to get 32.3 MB of archives. node1: After this operation, 113 MB of additional disk space will be used. node1: Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libjpeg-turbo8 amd64 1.4.2-0ubuntu3 [111 kB] node1: Get:2 http://archive.ubuntu.com/ubuntu xenial/main amd64 liblcms2-2 amd64 2.6-3ubuntu2 [137 kB] node1: Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 x11-common all 1:7.7+13ubuntu3 [22.4 kB] node1: Get:4 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxtst6 amd64 2:1.2.2-1 [14.1 kB] node1: Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnspr4 amd64 2:4.13.1-0ubuntu0.16.04.1 [112 kB] node1: Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnss3-nssdb all 2:3.28.4-0ubuntu0.16.04.3 [10.6 kB] node1: Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnss3 amd64 2:3.28.4-0ubuntu0.16.04.3 [1,148 kB] node1: Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ca-certificates-java all 20160321ubuntu1 [12.5 kB] node1: Get:9 http://archive.ubuntu.com/ubuntu xenial/main amd64 java-common all 0.56ubuntu2 [7,742 B] node1: Get:10 http://archive.ubuntu.com/ubuntu xenial/main amd64 libavahi-common-data amd64 0.6.32~rc+dfsg-1ubuntu2 [21.7 kB] node1: Get:11 http://archive.ubuntu.com/ubuntu xenial/main amd64 libavahi-common3 amd64 0.6.32~rc+dfsg-1ubuntu2 [21.6 kB] node1: Get:12 http://archive.ubuntu.com/ubuntu xenial/main amd64 libavahi-client3 amd64 0.6.32~rc+dfsg-1ubuntu2 [25.1 kB] node1: Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libcups2 amd64 2.1.3-4ubuntu0.3 [197 kB] node1: Get:14 http://archive.ubuntu.com/ubuntu xenial/main amd64 libjpeg8 amd64 8c-2ubuntu8 [2,194 B] node1: Get:15 http://archive.ubuntu.com/ubuntu xenial/main amd64 fonts-dejavu-core all 2.35-1 [1,039 kB] node1: Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 fontconfig-config all 2.11.94-0ubuntu1.1 [49.9 kB] node1: Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libfontconfig1 amd64 2.11.94-0ubuntu1.1 [131 kB] node1: Get:18 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpcsclite1 amd64 1.8.14-1ubuntu1.16.04.1 [21.4 kB] node1: Get:19 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxi6 amd64 2:1.7.6-1 [28.6 kB] node1: Get:20 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxrender1 amd64 1:0.9.9-0ubuntu1 [18.5 kB] node1: Get:21 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 openjdk-8-jre-headless amd64 8u151-b12-0ubuntu0.16.04.2 [27.0 MB] node1: Get:22 http://archive.ubuntu.com/ubuntu xenial/main amd64 default-jre-headless amd64 2:1.8-56ubuntu2 [4,380 B] node1: Get:23 http://archive.ubuntu.com/ubuntu xenial/universe amd64 ant all 1.9.6-1ubuntu1 [1,892 kB] node1: Get:24 http://archive.ubuntu.com/ubuntu xenial/universe amd64 ant-optional all 1.9.6-1ubuntu1 [313 kB] node1: dpkg-preconfigure: unable to re-open stdin: No such file or directory node1: Fetched 32.3 MB in 1min 18s (414 kB/s) node1: Selecting previously unselected package libjpeg-turbo8:amd64. node1: (Reading database ... (Reading database ... 60%ase ... 5% node1: (Reading database ... 65% node1: (Reading database ... 70% node1: (Reading database ... 75% node1: (Reading database ... 80% node1: (Reading database ... 85% node1: (Reading database ... 90% node1: (Reading database ... 95% (Reading database ... 53990 files and directories currently installed.) node1: Preparing to unpack .../libjpeg-turbo8_1.4.2-0ubuntu3_amd64.deb ... node1: Unpacking libjpeg-turbo8:amd64 (1.4.2-0ubuntu3) ... node1: Selecting previously unselected package liblcms2-2:amd64. node1: Preparing to unpack .../liblcms2-2_2.6-3ubuntu2_amd64.deb ... node1: Unpacking liblcms2-2:amd64 (2.6-3ubuntu2) ... node1: Selecting previously unselected package x11-common. node1: Preparing to unpack .../x11-common_1%3a7.7+13ubuntu3_all.deb ... node1: Unpacking x11-common (1:7.7+13ubuntu3) ... node1: Selecting previously unselected package libxtst6:amd64. node1: Preparing to unpack .../libxtst6_2%3a1.2.2-1_amd64.deb ... node1: Unpacking libxtst6:amd64 (2:1.2.2-1) ... node1: Selecting previously unselected package libnspr4:amd64. node1: Preparing to unpack .../libnspr4_2%3a4.13.1-0ubuntu0.16.04.1_amd64.deb ... node1: Unpacking libnspr4:amd64 (2:4.13.1-0ubuntu0.16.04.1) ... node1: Selecting previously unselected package libnss3-nssdb. node1: Preparing to unpack .../libnss3-nssdb_2%3a3.28.4-0ubuntu0.16.04.3_all.deb ... node1: Unpacking libnss3-nssdb (2:3.28.4-0ubuntu0.16.04.3) ... node1: Selecting previously unselected package libnss3:amd64. node1: Preparing to unpack .../libnss3_2%3a3.28.4-0ubuntu0.16.04.3_amd64.deb ... node1: Unpacking libnss3:amd64 (2:3.28.4-0ubuntu0.16.04.3) ... node1: Selecting previously unselected package ca-certificates-java. node1: Preparing to unpack .../ca-certificates-java_20160321ubuntu1_all.deb ... node1: Unpacking ca-certificates-java (20160321ubuntu1) ... node1: Selecting previously unselected package java-common. node1: Preparing to unpack .../java-common_0.56ubuntu2_all.deb ... node1: Unpacking java-common (0.56ubuntu2) ... node1: Selecting previously unselected package libavahi-common-data:amd64. node1: Preparing to unpack .../libavahi-common-data_0.6.32~rc+dfsg-1ubuntu2_amd64.deb ... node1: Unpacking libavahi-common-data:amd64 (0.6.32~rc+dfsg-1ubuntu2) ... node1: Selecting previously unselected package libavahi-common3:amd64. node1: Preparing to unpack .../libavahi-common3_0.6.32~rc+dfsg-1ubuntu2_amd64.deb ... node1: Unpacking libavahi-common3:amd64 (0.6.32~rc+dfsg-1ubuntu2) ... node1: Selecting previously unselected package libavahi-client3:amd64. node1: Preparing to unpack .../libavahi-client3_0.6.32~rc+dfsg-1ubuntu2_amd64.deb ... node1: Unpacking libavahi-client3:amd64 (0.6.32~rc+dfsg-1ubuntu2) ... node1: Selecting previously unselected package libcups2:amd64. node1: Preparing to unpack .../libcups2_2.1.3-4ubuntu0.3_amd64.deb ... node1: Unpacking libcups2:amd64 (2.1.3-4ubuntu0.3) ... node1: Selecting previously unselected package libjpeg8:amd64. node1: Preparing to unpack .../libjpeg8_8c-2ubuntu8_amd64.deb ... node1: Unpacking libjpeg8:amd64 (8c-2ubuntu8) ... node1: Selecting previously unselected package fonts-dejavu-core. node1: Preparing to unpack .../fonts-dejavu-core_2.35-1_all.deb ... node1: Unpacking fonts-dejavu-core (2.35-1) ... node1: Selecting previously unselected package fontconfig-config. node1: Preparing to unpack .../fontconfig-config_2.11.94-0ubuntu1.1_all.deb ... node1: Unpacking fontconfig-config (2.11.94-0ubuntu1.1) ... node1: Selecting previously unselected package libfontconfig1:amd64. node1: Preparing to unpack .../libfontconfig1_2.11.94-0ubuntu1.1_amd64.deb ... node1: Unpacking libfontconfig1:amd64 (2.11.94-0ubuntu1.1) ... node1: Selecting previously unselected package libpcsclite1:amd64. node1: Preparing to unpack .../libpcsclite1_1.8.14-1ubuntu1.16.04.1_amd64.deb ... node1: Unpacking libpcsclite1:amd64 (1.8.14-1ubuntu1.16.04.1) ... node1: Selecting previously unselected package libxi6:amd64. node1: Preparing to unpack .../libxi6_2%3a1.7.6-1_amd64.deb ... node1: Unpacking libxi6:amd64 (2:1.7.6-1) ... node1: Selecting previously unselected package libxrender1:amd64. node1: Preparing to unpack .../libxrender1_1%3a0.9.9-0ubuntu1_amd64.deb ... node1: Unpacking libxrender1:amd64 (1:0.9.9-0ubuntu1) ... node1: Selecting previously unselected package openjdk-8-jre-headless:amd64. node1: Preparing to unpack .../openjdk-8-jre-headless_8u151-b12-0ubuntu0.16.04.2_amd64.deb ... node1: Unpacking openjdk-8-jre-headless:amd64 (8u151-b12-0ubuntu0.16.04.2) ... node1: Selecting previously unselected package default-jre-headless. node1: Preparing to unpack .../default-jre-headless_2%3a1.8-56ubuntu2_amd64.deb ... node1: Unpacking default-jre-headless (2:1.8-56ubuntu2) ... node1: Selecting previously unselected package ant. node1: Preparing to unpack .../ant_1.9.6-1ubuntu1_all.deb ... node1: Unpacking ant (1.9.6-1ubuntu1) ... node1: Selecting previously unselected package ant-optional. node1: Preparing to unpack .../ant-optional_1.9.6-1ubuntu1_all.deb ... node1: Unpacking ant-optional (1.9.6-1ubuntu1) ... node1: Processing triggers for libc-bin (2.23-0ubuntu10) ... node1: Processing triggers for systemd (229-4ubuntu21) ... node1: Processing triggers for ureadahead (0.100.0-19) ... node1: Processing triggers for man-db (2.7.5-1) ... node1: Processing triggers for ca-certificates (20170717~16.04.1) ... node1: Updating certificates in /etc/ssl/certs... node1: 0 added, 0 removed; done. node1: Running hooks in /etc/ca-certificates/update.d... node1: done. node1: Setting up libjpeg-turbo8:amd64 (1.4.2-0ubuntu3) ... node1: Setting up liblcms2-2:amd64 (2.6-3ubuntu2) ... node1: Setting up x11-common (1:7.7+13ubuntu3) ... node1: update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults node1: Setting up libxtst6:amd64 (2:1.2.2-1) ... node1: Setting up libnspr4:amd64 (2:4.13.1-0ubuntu0.16.04.1) ... node1: Setting up java-common (0.56ubuntu2) ... node1: Setting up libavahi-common-data:amd64 (0.6.32~rc+dfsg-1ubuntu2) ... node1: Setting up libavahi-common3:amd64 (0.6.32~rc+dfsg-1ubuntu2) ... node1: Setting up libavahi-client3:amd64 (0.6.32~rc+dfsg-1ubuntu2) ... node1: Setting up libcups2:amd64 (2.1.3-4ubuntu0.3) ... node1: Setting up libjpeg8:amd64 (8c-2ubuntu8) ... node1: Setting up fonts-dejavu-core (2.35-1) ... node1: Setting up fontconfig-config (2.11.94-0ubuntu1.1) ... node1: Setting up libfontconfig1:amd64 (2.11.94-0ubuntu1.1) ... node1: Setting up libpcsclite1:amd64 (1.8.14-1ubuntu1.16.04.1) ... node1: Setting up libxi6:amd64 (2:1.7.6-1) ... node1: Setting up libxrender1:amd64 (1:0.9.9-0ubuntu1) ... node1: Setting up libnss3-nssdb (2:3.28.4-0ubuntu0.16.04.3) ... node1: Setting up libnss3:amd64 (2:3.28.4-0ubuntu0.16.04.3) ... node1: Setting up openjdk-8-jre-headless:amd64 (8u151-b12-0ubuntu0.16.04.2) ... node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/rmid to provide /usr/bin/rmid (rmid) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java to provide /usr/bin/java (java) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/jjs to provide /usr/bin/jjs (jjs) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/pack200 to provide /usr/bin/pack200 (pack200) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/unpack200 to provide /usr/bin/unpack200 (unpack200) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/orbd to provide /usr/bin/orbd (orbd) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/servertool to provide /usr/bin/servertool (servertool) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/tnameserv to provide /usr/bin/tnameserv (tnameserv) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode node1: Setting up default-jre-headless (2:1.8-56ubuntu2) ... node1: Setting up ant (1.9.6-1ubuntu1) ... node1: Setting up ant-optional (1.9.6-1ubuntu1) ... node1: Setting up ca-certificates-java (20160321ubuntu1) ... node1: Adding debian:TWCA_Global_Root_CA.pem node1: Adding debian:GlobalSign_Root_CA.pem node1: Adding debian:TUBITAK_Kamu_SM_SSL_KokSertifikasi-_Surum_1.pem node1: Adding debian:SecureTrust_CA.pem node1: Adding debian:ACEDICOM_Root.pem node1: Adding debian:ePKI_Root_Certification_Authority.pem node1: Adding debian:DigiCert_Trusted_Root_G4.pem node1: Adding debian:GeoTrust_Universal_CA_2.pem node1: Adding debian:Network_Solutions_Certificate_Authority.pem node1: Adding debian:GeoTrust_Primary_Certification_Authority.pem node1: Adding debian:ISRG_Root_X1.pem node1: Adding debian:AffirmTrust_Commercial.pem node1: Adding debian:AffirmTrust_Premium_ECC.pem node1: Adding debian:CA_Disig_Root_R1.pem node1: Adding debian:Certigna.pem node1: Adding debian:QuoVadis_Root_CA_3_G3.pem node1: Adding debian:Certum_Root_CA.pem node1: Adding debian:Entrust_Root_CertificationAuthority-_EC1.pem node1: Adding debian:Entrust_Root_Certification_Authority.pem node1: Adding debian:Starfield_Services_Root_CertificateAuthority-_G2.pem node1: Adding debian:Starfield_Class_2_CA.pem node1: Adding debian:Security_Communication_Root_CA.pem node1: Adding debian:Certplus_Root_CA_G1.pem node1: Adding debian:Amazon_Root_CA_3.pem node1: Adding debian:AC_RAIZ_FNMT-RCM.pem node1: Adding debian:Amazon_Root_CA_1.pem node1: Adding debian:Camerfirma_Global_Chambersign_Root.pem node1: Adding debian:TÜBİTAK_UEKAE_Kök_Sertifika_HizmetSağlayıcısı-_Sürüm_3.pem node1: Adding debian:Staat_der_Nederlanden_RootCA-G3.pem node1: Adding debian:Certinomis-_Autorité_Racine.pem node1: Adding debian:GeoTrust_Global_CA.pem node1: Adding debian:thawte_Primary_RootCA-_G2.pem node1: Adding debian:Security_Communication_RootCA2.pem node1: Adding debian:OpenTrust_Root_CA_G2.pem node1: Adding debian:Comodo_AAA_Services_root.pem node1: Adding debian:IdenTrust_Public_Sector_Root_CA_1.pem node1: Adding debian:Comodo_Trusted_Services_root.pem node1: Adding debian:Hellenic_Academic_and_Research_Institutions_RootCA_2011.pem node1: Adding debian:Microsec_e-Szigno_Root_CA_2009.pem node1: Adding debian:PSCProcert.pem node1: Adding debian:QuoVadis_Root_CA.pem node1: Adding debian:AddTrust_External_Root.pem node1: Adding debian:Staat_der_Nederlanden_RootCA-_G2.pem node1: Adding debian:AddTrust_Public_Services_Root.pem node1: Adding debian:DigiCert_Global_Root_G3.pem node1: Adding debian:Visa_eCommerce_Root.pem node1: Adding debian:NetLockArany=Class_Gold=_Főtanúsítvány.pem node1: Adding debian:Starfield_Root_CertificateAuthority-_G2.pem node1: Adding debian:AddTrust_Qualified_Certificates_Root.pem node1: Adding debian:Camerfirma_Chambers_of_Commerce_Root.pem node1: Adding debian:Swisscom_Root_EV_CA_2.pem node1: Adding debian:USERTrust_ECC_Certification_Authority.pem node1: Adding debian:TWCA_Root_Certification_Authority.pem node1: Adding debian:Go_Daddy_Class_2_CA.pem node1: Adding debian:T-TeleSec_GlobalRoot_Class_3.pem node1: Adding debian:Atos_TrustedRoot_2011.pem node1: Adding debian:CNNIC_ROOT.pem node1: Adding debian:OISTE_WISeKey_Global_Root_GA_CA.pem node1: Adding debian:SwissSign_GoldCA-_G2.pem node1: Adding debian:China_Internet_Network_Information_Center_EV_Certificates_Root.pem node1: Adding debian:Security_Communication_EV_RootCA1.pem node1: Adding debian:DST_ACES_CA_X6.pem node1: Adding debian:AffirmTrust_Networking.pem node1: Adding debian:DigiCert_Global_Root_G2.pem node1: Adding debian:QuoVadis_Root_CA_3.pem node1: Adding debian:Certplus_Class_2_Primary_CA.pem node1: Adding debian:GlobalSign_ECC_RootCA-_R5.pem node1: Adding debian:Amazon_Root_CA_2.pem node1: Adding debian:LuxTrust_Global_Root_2.pem node1: Adding debian:SecureSign_RootCA11.pem node1: Adding debian:GlobalSign_RootCA-_R2.pem node1: Adding debian:Swisscom_Root_CA_1.pem node1: Adding debian:thawte_Primary_Root_CA.pem node1: Adding debian:Deutsche_Telekom_Root_CA_2.pem node1: Adding debian:Izenpe.com.pem node1: Adding debian:OISTE_WISeKey_Global_Root_GB_CA.pem node1: Adding debian:GlobalSign_ECC_RootCA-_R4.pem node1: Adding debian:Certplus_Root_CA_G2.pem node1: Adding debian:COMODO_Certification_Authority.pem node1: Adding debian:DigiCert_High_Assurance_EV_Root_CA.pem node1: Adding debian:Entrust_Root_CertificationAuthority-_G2.pem node1: Adding debian:TURKTRUST_Certificate_Services_Provider_Root_2007.pem node1: Adding debian:GeoTrust_Universal_CA.pem node1: Adding debian:Amazon_Root_CA_4.pem node1: Adding debian:Certum_Trusted_Network_CA.pem node1: Adding debian:COMODO_ECC_Certification_Authority.pem node1: Adding debian:DigiCert_Global_Root_CA.pem node1: Adding debian:Hongkong_Post_Root_CA_1.pem node1: Adding debian:Cybertrust_Global_Root.pem node1: Adding debian:Go_Daddy_Root_CertificateAuthority-_G2.pem node1: Adding debian:IdenTrust_Commercial_Root_CA_1.pem node1: Adding debian:Chambers_of_CommerceRoot-_2008.pem node1: Adding debian:certSIGN_ROOT_CA.pem node1: Adding debian:Baltimore_CyberTrust_Root.pem node1: Adding debian:Certum_Trusted_Network_CA_2.pem node1: Adding debian:D-TRUST_Root_Class_3_CA_2_2009.pem node1: Adding debian:SwissSign_SilverCA-_G2.pem node1: Adding debian:CFCA_EV_ROOT.pem node1: Adding debian:Hellenic_Academic_and_Research_Institutions_RootCA_2015.pem node1: Adding debian:UTN_USERFirst_Hardware_Root_CA.pem node1: Adding debian:ACCVRAIZ1.pem node1: Adding debian:Hellenic_Academic_and_Research_Institutions_ECC_RootCA_2015.pem node1: Adding debian:Staat_der_Nederlanden_EV_Root_CA.pem node1: Adding debian:AffirmTrust_Premium.pem node1: Adding debian:GeoTrust_Global_CA_2.pem node1: Adding debian:Verisign_Class_3_Public_Primary_CertificationAuthority-_G3.pem node1: Adding debian:AddTrust_Low-Value_Services_Root.pem node1: Adding debian:T-TeleSec_GlobalRoot_Class_2.pem node1: Adding debian:CA_Disig_Root_R2.pem node1: Adding debian:TÜRKTRUST_Elektronik_Sertifika_Hizmet_Sağlayıcısı_H5.pem node1: Adding debian:Autoridad_de_Certificacion_Firmaprofesional_CIF_A62634068.pem node1: Adding debian:Taiwan_GRCA.pem node1: Adding debian:USERTrust_RSA_Certification_Authority.pem node1: Adding debian:EE_Certification_Centre_Root_CA.pem node1: Adding debian:EC-ACC.pem node1: Adding debian:GlobalSign_RootCA-_R3.pem node1: Adding debian:Entrust.net_Premium_2048_Secure_Server_CA.pem node1: Adding debian:D-TRUST_Root_Class_3_CA_2_EV_2009.pem node1: Adding debian:COMODO_RSA_Certification_Authority.pem node1: Adding debian:VeriSign_Class_3_Public_Primary_CertificationAuthority-_G4.pem node1: Adding debian:Swisscom_Root_CA_2.pem node1: Adding debian:thawte_Primary_RootCA-_G3.pem node1: Adding debian:TeliaSonera_Root_CA_v1.pem node1: Adding debian:VeriSign_Universal_Root_Certification_Authority.pem node1: Adding debian:DST_Root_CA_X3.pem node1: Adding debian:GeoTrust_Primary_CertificationAuthority-_G3.pem node1: Adding debian:VeriSign_Class_3_Public_Primary_CertificationAuthority-_G5.pem node1: Adding debian:QuoVadis_Root_CA_2_G3.pem node1: Adding debian:Trustis_FPS_Root_CA.pem node1: Adding debian:QuoVadis_Root_CA_2.pem node1: Adding debian:QuoVadis_Root_CA_1G3.pem node1: Adding debian:Certinomis-_Root_CA.pem node1: Adding debian:XRamp_Global_CA_Root.pem node1: Adding debian:Actalis_Authentication_Root_CA.pem node1: Adding debian:Buypass_Class_3_Root_CA.pem node1: Adding debian:SZAFIR_ROOT_CA2.pem node1: Adding debian:OpenTrust_Root_CA_G1.pem node1: Adding debian:E-Tugra_Certification_Authority.pem node1: Adding debian:DigiCert_Assured_ID_Root_G3.pem node1: Adding debian:Sonera_Class_2_Root_CA.pem node1: Adding debian:Buypass_Class_2_Root_CA.pem node1: Adding debian:Secure_Global_CA.pem node1: Adding debian:Global_ChambersignRoot-_2008.pem node1: Adding debian:GeoTrust_Primary_CertificationAuthority-_G2.pem node1: Adding debian:OpenTrust_Root_CA_G3.pem node1: Adding debian:DigiCert_Assured_ID_Root_G2.pem node1: Adding debian:Comodo_Secure_Services_root.pem node1: Adding debian:DigiCert_Assured_ID_Root_CA.pem node1: done. node1: Processing triggers for libc-bin (2.23-0ubuntu10) ... node1: Processing triggers for systemd (229-4ubuntu21) ... node1: Processing triggers for ureadahead (0.100.0-19) ... node1: Processing triggers for ca-certificates (20170717~16.04.1) ... node1: Updating certificates in /etc/ssl/certs... node1: 0 added, 0 removed; done. node1: Running hooks in /etc/ca-certificates/update.d... node1: done. node1: done. node1: Reading package lists... node1: Building dependency tree... node1: node1: Reading state information... node1: Suggested packages: node1: zip node1: The following NEW packages will be installed: node1: unzip node1: 0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded. node1: Need to get 158 kB of archives. node1: After this operation, 530 kB of additional disk space will be used. node1: Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 unzip amd64 6.0-20ubuntu1 [158 kB] node1: dpkg-preconfigure: unable to re-open stdin: No such file or directory node1: Fetched 158 kB in 0s (179 kB/s) node1: Selecting previously unselected package unzip. node1: (Reading database ... (Reading database ... 45%ase ... 5% (Reading database ... 60%ase ... 50% node1: (Reading database ... 65% node1: (Reading database ... 70% node1: (Reading database ... 75% node1: (Reading database ... 80% node1: (Reading database ... 85% node1: (Reading database ... 90% node1: (Reading database ... 95% (Reading database ... 54729 files and directories currently installed.) node1: Preparing to unpack .../unzip_6.0-20ubuntu1_amd64.deb ... node1: Unpacking unzip (6.0-20ubuntu1) ... node1: Processing triggers for mime-support (3.59ubuntu1) ... node1: Processing triggers for man-db (2.7.5-1) ... node1: Setting up unzip (6.0-20ubuntu1) ... node1: Reading package lists... node1: Building dependency tree... node1: node1: Reading state information... node1: The following additional packages will be installed: node1: libpython-stdlib libpython2.7-minimal libpython2.7-stdlib python python2.7 node1: python2.7-minimal node1: Suggested packages: node1: python-doc python-tk python2.7-doc binutils binfmt-support node1: The following NEW packages will be installed: node1: libpython-stdlib libpython2.7-minimal libpython2.7-stdlib python node1: python-minimal python2.7 python2.7-minimal node1: 0 upgraded, 7 newly installed, 0 to remove and 10 not upgraded. node1: Need to get 3,877 kB of archives. node1: After this operation, 16.6 MB of additional disk space will be used. node1: Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython2.7-minimal amd64 2.7.12-1ubuntu0~16.04.3 [340 kB] node1: Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python2.7-minimal amd64 2.7.12-1ubuntu0~16.04.3 [1,261 kB] node1: Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-minimal amd64 2.7.11-1 [28.2 kB] node1: Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython2.7-stdlib amd64 2.7.12-1ubuntu0~16.04.3 [1,880 kB] node1: Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python2.7 amd64 2.7.12-1ubuntu0~16.04.3 [224 kB] node1: Get:6 http://archive.ubuntu.com/ubuntu xenial/main amd64 libpython-stdlib amd64 2.7.11-1 [7,656 B] node1: Get:7 http://archive.ubuntu.com/ubuntu xenial/main amd64 python amd64 2.7.11-1 [137 kB] node1: dpkg-preconfigure: unable to re-open stdin: No such file or directory node1: Fetched 3,877 kB in 10s (386 kB/s) node1: Selecting previously unselected package libpython2.7-minimal:amd64. node1: (Reading database ... (Reading database ... 50%ase ... 5% (Reading database ... 60%ase ... 55% node1: (Reading database ... 65% node1: (Reading database ... 70% node1: (Reading database ... 75% node1: (Reading database ... 80% node1: (Reading database ... 85% node1: (Reading database ... 90% node1: (Reading database ... 95% (Reading database ... 54747 files and directories currently installed.) node1: Preparing to unpack .../libpython2.7-minimal_2.7.12-1ubuntu0~16.04.3_amd64.deb ... node1: Unpacking libpython2.7-minimal:amd64 (2.7.12-1ubuntu0~16.04.3) ... node1: Selecting previously unselected package python2.7-minimal. node1: Preparing to unpack .../python2.7-minimal_2.7.12-1ubuntu0~16.04.3_amd64.deb ... node1: Unpacking python2.7-minimal (2.7.12-1ubuntu0~16.04.3) ... node1: Selecting previously unselected package python-minimal. node1: Preparing to unpack .../python-minimal_2.7.11-1_amd64.deb ... node1: Unpacking python-minimal (2.7.11-1) ... node1: Selecting previously unselected package libpython2.7-stdlib:amd64. node1: Preparing to unpack .../libpython2.7-stdlib_2.7.12-1ubuntu0~16.04.3_amd64.deb ... node1: Unpacking libpython2.7-stdlib:amd64 (2.7.12-1ubuntu0~16.04.3) ... node1: Selecting previously unselected package python2.7. node1: Preparing to unpack .../python2.7_2.7.12-1ubuntu0~16.04.3_amd64.deb ... node1: Unpacking python2.7 (2.7.12-1ubuntu0~16.04.3) ... node1: Selecting previously unselected package libpython-stdlib:amd64. node1: Preparing to unpack .../libpython-stdlib_2.7.11-1_amd64.deb ... node1: Unpacking libpython-stdlib:amd64 (2.7.11-1) ... node1: Processing triggers for man-db (2.7.5-1) ... node1: Processing triggers for mime-support (3.59ubuntu1) ... node1: Setting up libpython2.7-minimal:amd64 (2.7.12-1ubuntu0~16.04.3) ... node1: Setting up python2.7-minimal (2.7.12-1ubuntu0~16.04.3) ... node1: Linking and byte-compiling packages for runtime python2.7... node1: Setting up python-minimal (2.7.11-1) ... node1: Selecting previously unselected package python. node1: (Reading database ... (Reading database ... 65%ase ... 5% node1: (Reading database ... 70% node1: (Reading database ... 75% node1: (Reading database ... 80% node1: (Reading database ... 85% node1: (Reading database ... 90% node1: (Reading database ... 95% (Reading database ... 55493 files and directories currently installed.) node1: Preparing to unpack .../python_2.7.11-1_amd64.deb ... node1: Unpacking python (2.7.11-1) ... node1: Processing triggers for man-db (2.7.5-1) ... node1: Setting up libpython2.7-stdlib:amd64 (2.7.12-1ubuntu0~16.04.3) ... node1: Setting up python2.7 (2.7.12-1ubuntu0~16.04.3) ... node1: Setting up libpython-stdlib:amd64 (2.7.11-1) ... node1: Setting up python (2.7.11-1) ... node1: setup swap daemon node1: Reading package lists... node1: Building dependency tree... node1: node1: Reading state information... node1: The following NEW packages will be installed: node1: swapspace node1: 0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded. node1: Need to get 28.7 kB of archives. node1: After this operation, 122 kB of additional disk space will be used. node1: Get:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 swapspace amd64 1.10-4ubuntu3 [28.7 kB] node1: dpkg-preconfigure: unable to re-open stdin: No such file or directory node1: Fetched 28.7 kB in 0s (61.9 kB/s) node1: Selecting previously unselected package swapspace. node1: (Reading database ... (Reading database ... 65%ase ... 5% node1: (Reading database ... 70% node1: (Reading database ... 75% node1: (Reading database ... 80% node1: (Reading database ... 85% node1: (Reading database ... 90% node1: (Reading database ... 95% (Reading database ... 55548 files and directories currently installed.) node1: Preparing to unpack .../swapspace_1.10-4ubuntu3_amd64.deb ... node1: Unpacking swapspace (1.10-4ubuntu3) ... node1: Processing triggers for man-db (2.7.5-1) ... node1: Processing triggers for systemd (229-4ubuntu21) ... node1: Processing triggers for ureadahead (0.100.0-19) ... node1: Setting up swapspace (1.10-4ubuntu3) ... node1: Processing triggers for systemd (229-4ubuntu21) ... node1: Processing triggers for ureadahead (0.100.0-19) ... node1: ubuntu setup complete ==> node1: Running provisioner: shell... node1: Running: C:/Users/CAP10B~1/AppData/Local/Temp/vagrant-shell20180206-7252-qr5frp.sh node1: /vagrant/scripts/common.sh: line 2: $'\r': command not found node1: /vagrant/scripts/common.sh: line 5: $'\r': command not found node1: /vagrant/scripts/common.sh: line 11: $'\r': command not found node1: /vagrant/scripts/common.sh: line 19: $'\r': command not found node1: /vagrant/scripts/common.sh: line 22: $'\r': command not found node1: /vagrant/scripts/common.sh: line 31: $'\r': command not found node1: /vagrant/scripts/common.sh: line 38: $'\r': command not found node1: /vagrant/scripts/common.sh: line 44: $'\r': command not found node1: /vagrant/scripts/common.sh: line 47: $'\r': command not found node1: /vagrant/scripts/common.sh: line 50: $'\r': command not found node1: /vagrant/scripts/common.sh: line 56: $'\r': command not found node1: /vagrant/scripts/common.sh: line 63: $'\r': command not found node1: /vagrant/scripts/common.sh: line 70: $'\r': command not found node1: /vagrant/scripts/common.sh: line 78: $'\r': command not found node1: /vagrant/scripts/common.sh: line 86: $'\r': command not found node1: /vagrant/scripts/common.sh: line 87: $'\r': command not found node1: /vagrant/scripts/common.sh: line 89: syntax error near unexpected token $'{\r'' ' node1: /vagrant/scripts/common.sh: line 89:function resourceExists { node1: setup java node1: install open jdk node1: Reading package lists... node1: Building dependency tree... node1: node1: Reading state information... node1: Suggested packages: node1: openjdk-8-demo openjdk-8-source node1: The following NEW packages will be installed: node1: openjdk-8-jdk-headless node1: 0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded. node1: Need to get 8,198 kB of archives. node1: After this operation, 39.3 MB of additional disk space will be used. node1: Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 openjdk-8-jdk-headless amd64 8u151-b12-0ubuntu0.16.04.2 [8,198 kB] node1: dpkg-preconfigure: unable to re-open stdin: No such file or directory node1: Fetched 8,198 kB in 2s (3,715 kB/s) node1: Selecting previously unselected package openjdk-8-jdk-headless:amd64. node1: (Reading database ... (Reading database ... 55%ase ... 5% node1: (Reading database ... 60% node1: (Reading database ... 65% node1: (Reading database ... 70% node1: (Reading database ... 75% node1: (Reading database ... 80% node1: (Reading database ... 85% node1: (Reading database ... 90% node1: (Reading database ... 95% (Reading database ... 55557 files and directories currently installed.) node1: Preparing to unpack .../openjdk-8-jdk-headless_8u151-b12-0ubuntu0.16.04.2_amd64.deb ... node1: Unpacking openjdk-8-jdk-headless:amd64 (8u151-b12-0ubuntu0.16.04.2) ... node1: Setting up openjdk-8-jdk-headless:amd64 (8u151-b12-0ubuntu0.16.04.2) ... node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/idlj to provide /usr/bin/idlj (idlj) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jdeps to provide /usr/bin/jdeps (jdeps) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/wsimport to provide /usr/bin/wsimport (wsimport) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/rmic to provide /usr/bin/rmic (rmic) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jinfo to provide /usr/bin/jinfo (jinfo) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jsadebugd to provide /usr/bin/jsadebugd (jsadebugd) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/native2ascii to provide /usr/bin/native2ascii (native2ascii) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jstat to provide /usr/bin/jstat (jstat) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/javadoc to provide /usr/bin/javadoc (javadoc) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/javah to provide /usr/bin/javah (javah) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jstack to provide /usr/bin/jstack (jstack) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jrunscript to provide /usr/bin/jrunscript (jrunscript) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jhat to provide /usr/bin/jhat (jhat) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/javap to provide /usr/bin/javap (javap) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jar to provide /usr/bin/jar (jar) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/extcheck to provide /usr/bin/extcheck (extcheck) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/schemagen to provide /usr/bin/schemagen (schemagen) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jps to provide /usr/bin/jps (jps) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/xjc to provide /usr/bin/xjc (xjc) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jmap to provide /usr/bin/jmap (jmap) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jstatd to provide /usr/bin/jstatd (jstatd) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jdb to provide /usr/bin/jdb (jdb) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/serialver to provide /usr/bin/serialver (serialver) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/wsgen to provide /usr/bin/wsgen (wsgen) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jcmd to provide /usr/bin/jcmd (jcmd) in auto mode node1: update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jarsigner to provide /usr/bin/jarsigner (jarsigner) in auto mode node1: creating java environment variables node1: Setting JAVA_HOME node1: Mysql java connector setup node1: curl: (3) Illegal characters found in URL node1: curl: (3) Illegal characters found in node1: URL 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.

martinprobson commented 6 years ago

HI, I just tried a setup on a spare windows 10 box with the 2.7.4.2 release and it all worked fine. Steps : - 1) Installed Oracle virtualbox 5.2.6 2) Installed Vagrant (Win x64 version). 3) Downloaded the 2.7.4.2 release zip from releases page. 4) Unzip into an empty directory. 5) Ran vagrant up. 6) All configurations and downloads completed successfully and HDFS/yarn/spark/hive all started successfully.

In your case, I can't quite tell what went wrong from the logs above but it looks a bit like a corrupt archive somehow. Can you repeat the steps as above and see if it works for you? Can you also let me know what environment you are running this in? Windows version/ any firewalls etc?

Many thanks,

martinprobson commented 6 years ago

Ok, found the problem. Git clone on windows was converting the shell scripts to windows format which was confusing the VM bash shell (hence the '\r' messages above. Add .gitattributes file to prevent this. Fixed in release 2.7.4.3