There's a heartbeat signal sent to the driver to inform it that the executor is still alive and then the driver updates the metrics. To update the metrics, you can change the time interval of the heartbeat. By default, it set to 10s. To change it, refer to the following command:
val sc = new SparkContext(new SparkConf())
./bin/spark-submit <all your existing options> --spark.executor.heartbeatInterval=<time in seconds>