Description
Now SPARK_DAEMON_JAVA_OPTS and SPARK_DAEMON_MEMORY only work on Master/Worker/HistoryServer/CoarseGrainedExecutorBackend/MesosExecutorBackend/etc but not ThriftServer. We should take ThriftServer as daemon and let it accept these two args.