The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

437567 (6) [Avatar] Offline
When I click on the link "Virtual Machine (Vagrant, 5GB) in,
it will download I never heard of a .box file extension. How do you open this on a Mac ?
Thank you

Kyle J. (13) [Avatar] Offline

This is a Vagrant VM, so you'll need to have Vagrant installed and set up to run it.
437567 (6) [Avatar] Offline
This is very confusing. I installed Vagrant at

I downloaded vagrant_2.1.1_x86_64.dmg and theh double clicked on the icon to begin
the installation. After the installation completed, nothing happened. And I cant even find
Vagrant in my applications folder.

I also tried the other way by using wget. And wget command not found. I want to get this working
so that I can start with the Spark examples.
Please let me know.
Thank you
Kyle J. (13) [Avatar] Offline
You'll probably need to keep reading the documentation to learn how to use Vagrant. I'm not an expert.

It's primarily a command-line (CLI) tool, so you'll be accessing it through terminal.

A quick search yielded these results:
437567 (6) [Avatar] Offline
I got it working. Section 1.5.1 mentioned that you can also use the wget command.
Since I dont have wget, I just copied the json file into my Folder and
then ran
$ vagrant box add spark-in-action-box.json

This downloaded the 6GB VM box from Amazon S3.

Attached screenshot shows
box: Successfully added box 'manning/spark-in-action' (v1.0.0) for 'virtualbox'!

Then initialized the Vagrant VM
$ vagrant init manning/spark-in-action

Kyle J. (13) [Avatar] Offline
Excellent! Happy you got it working.

Thanks for sharing the steps you took to successfully download and run it.
437567 (6) [Avatar] Offline
I have a new problem. Attached is screenshot.
When I double click on SparkinAction_default_1528...., it goes through some initialization
and then asks for login and password
Ubuntu 14.04.4 LTS spark-in-action tty1
spark-in-action login:

I dont know what the login and password are. Is there a way to find out.
Please let me know.
Thank you
437567 (6) [Avatar] Offline
Got it. Its in the book in section 2.1.
login: spark
password: spark

437567 (6) [Avatar] Offline
I now have Spark running and I can go through the examples in the book.
What I need to know, though, is how I can enlarge the window and change
fonts, background, and forward color of terminal. Which document should I
read through. Is there a way to bring up multiple terminal windows ?

Attached is what I see currently
Kyle J. (13) [Avatar] Offline
Section 2.1 on page 19 states the username and password for the VM are both "spark".

Edit: oops, just saw that you'd figured it out. Unfortunately, I don't have additional information for you regarding your other questions as I don't have a copy of the VM myself. The first place I'd start looking, though, is in the bash profile settings in the Ubuntu VM, and in the Virtualbox settings.
Kyle J. (13) [Avatar] Offline