forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
20 lines
3.3 KiB
HTML
20 lines
3.3 KiB
HTML
<a name="mrs_01_2015"></a><a name="mrs_01_2015"></a>
|
|
|
|
<h1 class="topictitle1">What Can I Do If the Error Message "DNS query failed" Is Displayed When I Access the Aggregated Logs Page of Spark Applications?</h1>
|
|
<div id="body1595920219929"><div class="section" id="mrs_01_2015__sb13e0777a1f1402ebf9a8fdfc8add27b"><h4 class="sectiontitle">Question</h4><p id="mrs_01_2015__ae05fbf9766bf42fa918d05730c33ab5d">When the <strong id="mrs_01_2015__b38033032220">http(s)://<spark ip>:<spark port></strong> 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 <strong id="mrs_01_2015__b48043042210">https://<oms ip>:20026/Spark2x/JobHistory2x/xx/</strong>), click an application and click <strong id="mrs_01_2015__b1880415052219">AggregatedLogs</strong>, click the logs of an executor to be viewed. An error message in <a href="#mrs_01_2015__fig446833702017">Figure 1</a> is displayed.</p>
|
|
<div class="fignone" id="mrs_01_2015__fig446833702017"><a name="mrs_01_2015__fig446833702017"></a><a name="fig446833702017"></a><span class="figcap"><b>Figure 1 </b>DNS query failure</span><br><span><img id="mrs_01_2015__image176004272202" src="en-us_image_0000001389422168.png"></span></div>
|
|
</div>
|
|
<div class="section" id="mrs_01_2015__s87bf153d20de4085972c1227f610cb11"><h4 class="sectiontitle">Answer</h4><p id="mrs_01_2015__a2994adbe7dbe4e468f4f34d1abe90b07"><strong id="mrs_01_2015__b172376054992419">Cause</strong>: The domain name is not added to the <strong id="mrs_01_2015__b11580975692419">hosts</strong> file of the Windows OS in the pop-up URL (for example, <strong id="mrs_01_2015__b7960853992419">https://<hostname>:20026/Spark2x/JobHistory2x/xx/history/application_xxx/jobs/</strong>). As a result, the DNS query fails and the web page cannot be displayed.</p>
|
|
<p id="mrs_01_2015__a935fdb3fcee34b3cbd6b3cdcb18f7250"><strong id="mrs_01_2015__ae348eaad631c4a3e8613ae40d91ceede">Solution:</strong></p>
|
|
<ul id="mrs_01_2015__u41f61fb81fe24e7dbec962bfcfbd2cce"><li id="mrs_01_2015__la419e12d11814019b0d0eb31e45d5829">You are advised to visit <strong id="mrs_01_2015__b209116762210">Spark JobHistory</strong> page using the FusionInsight Manager. Click the links in the blue box in <a href="#mrs_01_2015__fig3432163744119">Figure 2</a>.<div class="fignone" id="mrs_01_2015__fig3432163744119"><a name="mrs_01_2015__fig3432163744119"></a><a name="fig3432163744119"></a><span class="figcap"><b>Figure 2 </b>Spark2x page of FusionInsight Manager</span><br><span><img id="mrs_01_2015__image14288831184115" src="en-us_image_0000001388065252.png"></span></div>
|
|
</li><li id="mrs_01_2015__l9df2054a205c4549a6c2d399b4d10b78">If you do not want to access the <strong id="mrs_01_2015__b174589564992419">Spark JobHistory</strong> page using the FusionInsight Manager, change <strong id="mrs_01_2015__b110667959092419"><hostname></strong> in the URL to the IP address or add the domain name to the <strong id="mrs_01_2015__b200713826492419">hosts</strong> file of the Windows OS.</li></ul>
|
|
<p id="mrs_01_2015__a82103511a643411483846ec9772b0a58"></p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_2003.html">Spark Core</a></div>
|
|
</div>
|
|
</div>
|
|
|