Script exited with non-zero exit status: 8

474 views
Skip to first unread message

Laeeq Ahmed

unread,
Apr 4, 2017, 10:50:27 AM4/4/17
to Packer
Hi,

What can be the reason for exit status: 8 ??

Trying to pack apache spark and hadoop with Ubuntu 14.04 LTS (Trusty Tahr) - latest as base. The last few lines are as under:

all: Creating Hadoop users...

    all: sudo: unable to resolve host sparknow-spark-1

    all: Adding group `hadoop' (GID 1001) ...

    all: Done.

    all: sudo: unable to resolve host sparknow-spark-1

    all: Adding user `hduser' ...

    all: Adding new user `hduser' (1001) with group `hadoop' ...

    all: Creating home directory `/home/hduser' ...

    all: Copying files from `/etc/skel' ...

    all: Disabling IPv6 (not supported by Hadoop)...

    all: sudo: unable to resolve host sparknow-spark-1

    all: sudo: unable to resolve host sparknow-spark-1

    all: sudo: unable to resolve host sparknow-spark-1

    all: Fetching Hadoop...

==> all: Deleted temporary floating IP 130.239.81.90

==> all: Terminating the source server: 056c22a5-4fbf-45e8-952d-af9143191d06 ...

==> all: Deleting temporary keypair: packer 58e3a1d3-137e-4aed-3842-4664af878e72 ...

Build 'all' errored: Script exited with non-zero exit status: 8


==> Some builds didn't complete successfully and had errors:

--> all: Script exited with non-zero exit status: 8


==> Builds finished but no artifacts were created.


Regards,

Laeeq

Laeeq Ahmed

unread,
Apr 4, 2017, 10:55:13 AM4/4/17
to Packer

Rickard von Essen

unread,
Apr 4, 2017, 11:04:15 AM4/4/17
to packe...@googlegroups.com
What's the content of install-hdfs.sh ? The exit code is simply from that script.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/b0996585-21b1-4111-8f61-e49ac66badc0%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Laeeq Ahmed

unread,
Apr 4, 2017, 11:23:50 AM4/4/17
to Packer
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.

Laeeq Ahmed

unread,
Apr 4, 2017, 11:26:02 AM4/4/17
to Packer
OK, it seems like the download link is not working.


Regards,
Laeeq

On Tuesday, 4 April 2017 16:50:27 UTC+2, Laeeq Ahmed wrote:
Reply all
Reply to author
Forward
0 new messages