Spark history server service fixed, run-example patch to fix bug