Q12.Which of the following is true of running a Spark application on Hadoop YARN?
1. In Hadoop YARN mode, the RDDs and variables are always in the same memory space
2. Running in Hadoop YARN has the advantage of having multiple users running the Spark interactive shell
3. There are two deploy modes that can be used to launch Spark applications on YARN - client mode and cluster mode
4. Irrespective of the mode, the driver is launched in the client process that submitted the job