You can try the following:
In Ambari, see if the Spark History server is up and functioning.
=> Spark2 in Ambari Replace -Dlog4jspark.root.logger=INFO,RFA,Anonymizer with Dlog4jspark.root.logger=INFO,console,RFA,Anonymizer anywhere the -Dlog4jspark.root.logger=INFO,RFA,Anonymizer is used.
It can be found in the properties listed below. content,spark.driver.extraJavaOptions, spark.executor.extraJavaOptions
Whether or whether you'll be able to get anything using
yarn logs -applicationId <appid>