CDAP-652: updated Spark job UI to display the collected metrics in blocks

where does the `S` variable come from?