Changes to make Spark TS work correctly both in secure and non-secure environment.
1. Spark TS runs using hive account.
2. Spark pid and log dir should be accessed by hive account.
3. Hive principal and keytab should be existed in the machine where Spark TS launched.
4. Spark TS port should be changed to avoid conflicts with HS2.