SPARK-1291: Link the spark UI to RM ui in yarn-client mode

  `System.setProperty("spark.ui.filters", amFilter)` in  `addAmIpFilter` method is called after the sparkConf is initialized