use randomUUID to generate sparkapp directory name on tachyon;minor code style fix