Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions extras/vagrantExample/src/main/vagrant/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ If these files do note exists, open the vagrant file and look for the line `echo

Below is a list of other useful commands on the VMs

#####*Log into the VM*
##### *Log into the VM*

1. Go to the folder containing "vagrantfile", run:
`cd extras/vagrantExample/src/main/vagrant/`
Expand All @@ -103,7 +103,7 @@ Below is a list of other useful commands on the VMs
Alternatively:
1. Log into the vm (run: `ssh vagrant@rya-example-box` with pass: `vagrant`)

#####*Running as Root*
##### *Running as Root*

Most start and stop scripts require running as root with variables, like %HADOOP_PREFIX% assigned.

Expand All @@ -118,20 +118,20 @@ Alternatively:
2. Enter thecommand with parameters after the "#" prompt.
2. Exit when done (run: `exit` )

#####*Restart Tomcat*
##### *Restart Tomcat*

1. Login into the VM, see above.
2. Restart tomcat, run:
`sudo -E service tomcat7 restart`

#####*Restart Accumulo*
##### *Restart Accumulo*

1. Login into the VM, see above.
2. Stop Accumulo (run: `sudo -E /home/vagrant/accumulo-1.6.5/bin/stop-all.sh`)
* If `stop-all` doesn't complete, hit `ctrl-c` once and you should see `Initiating forced shutdown in 15 seconds`. Wait 15 seconds.
1. Start Accumulo (run: `sudo -E /home/vagrant/accumulo-1.6.5/bin/start-all.sh`)

#####*Test and Restart Zookeeper*
##### *Test and Restart Zookeeper*

1. Log into the vm, see above.
2. Ping Zookeeper, run:
Expand Down