When the http(s)://<spark ip>:<spark port> mode is used to access the Spark JobHistory page, if the displayed Spark JobHistory page is not the page of FusionInsight Manager (the URL of FusionInsight Manager is similar to https://<oms ip>:20026/Spark2x/JobHistory2x/xx/), click an application and click AggregatedLogs, click the logs of an executor to be viewed. An error message in Figure 1 is displayed.
Cause: The domain name is not added to the hosts file of the Windows OS in the pop-up URL (for example, https://<hostname>:20026/Spark2x/JobHistory2x/xx/history/application_xxx/jobs/). As a result, the DNS query fails and the web page cannot be displayed.
Solution: