1. Install git on RedHat6.4:
1.1. setup your local yum repo
1.2. yum install git
2. Install JDK and set PATH
3. Install Scala 2.10.4 and set PATH
4. Download spark src code package
5. go to the src folder
5.1. SPARK_YARN_VERSION=2.2.0 SPARK_YARN=true sbt/sbt assembly
6. found the assembly jar under assembly/scala-2.10