= [wiki:GENIExperimenter/Tutorials/HadoopInASlice Hadoop in a Slice] =
== Part I/Step 1: Obtain Resources: create a slice and reserve resources ==
{{{
#!html
As a slice name use the slice name on your worksheet (the slice name should be of the form portal##), you can leave the description empty and press Create Slice
Add a VM to your slice. The VM should be placed on the rack assigned to you.
Click the i button on the VM to set its properties:
Name: hadoop-master
Sliver Type: XOLarge
Disk Image Name: http://geni-images.renci.org/images/GENIWinterCamp/images/gwc-hadoop.v0.4a.xml
Disk Image Version: 16ff128df4cf10f2472a8d20796146bcd5a5ddc3
Add an install service to install following script in \tmp: http://geni-images.renci.org/images/GENIWinterCamp/master.sh
Add an execute service to execute the script at boot time
chmod +x /tmp/master.sh; /tmp/master.sh