the / partition is only 8G, after running the script, there is no free space.
[root@ip-10-143-137-174 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 7.9G 7.9G 0 100% /
tmpfs 8.4G 0 8.4G 0% /dev/shm
/dev/xvdf 404G 24G 360G 7% /mnt
[root@ip-10-143-137-174 ~]# du -sh *
227M ephemeral-hdfs
318M hadoop-mesos
27M hive-0.9.0-bin
0 java-app-template
0 kmeans
935M mesos
220K mesos-ec2
227M persistent-hdfs
26M scala-2.9.2
0 scala-app-template
78M shark-0.2
168M spark
1020K spark-ec2
0 streaming
35M training