Yang, Tong 3f5759eed2 MRS comp-lts 2.0.38.SP20 version
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>
2023-01-19 17:08:45 +00:00

20 lines
4.2 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="body8662426"><div class="section" id="mrs_01_2015__en-us_topic_0000001219231305_sb13e0777a1f1402ebf9a8fdfc8add27b"><h4 class="sectiontitle">Question</h4><p id="mrs_01_2015__en-us_topic_0000001219231305_ae05fbf9766bf42fa918d05730c33ab5d">When the <strong id="mrs_01_2015__en-us_topic_0000001219231305_b38033032220">http(s)://&lt;spark ip&gt;:&lt;spark port&gt;</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__en-us_topic_0000001219231305_b48043042210">https://&lt;oms ip&gt;:20026/Spark2x/JobHistory2x/xx/</strong>), click an application and click <strong id="mrs_01_2015__en-us_topic_0000001219231305_b1880415052219">AggregatedLogs</strong>, click the logs of an executor to be viewed. An error message in <a href="#mrs_01_2015__en-us_topic_0000001219231305_fa5532996a7a74910b0d8a19be7ffc2c0">Figure 1</a> is displayed.</p>
<div class="fignone" id="mrs_01_2015__en-us_topic_0000001219231305_fa5532996a7a74910b0d8a19be7ffc2c0"><a name="mrs_01_2015__en-us_topic_0000001219231305_fa5532996a7a74910b0d8a19be7ffc2c0"></a><a name="en-us_topic_0000001219231305_fa5532996a7a74910b0d8a19be7ffc2c0"></a><span class="figcap"><b>Figure 1 </b>DNS query failure</span><br><span><img id="mrs_01_2015__image1278592321" src="en-us_image_0000001389312782.png"></span></div>
</div>
<div class="section" id="mrs_01_2015__en-us_topic_0000001219231305_s87bf153d20de4085972c1227f610cb11"><h4 class="sectiontitle">Answer</h4><p id="mrs_01_2015__en-us_topic_0000001219231305_a2994adbe7dbe4e468f4f34d1abe90b07"><strong id="mrs_01_2015__en-us_topic_0000001219231305_b172376054992419">Cause</strong>: The domain name is not added to the <strong id="mrs_01_2015__en-us_topic_0000001219231305_b11580975692419">hosts</strong> file of the Windows OS in the pop-up URL (for example, <strong id="mrs_01_2015__en-us_topic_0000001219231305_b7960853992419">https://&lt;hostname&gt;: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__en-us_topic_0000001219231305_a935fdb3fcee34b3cbd6b3cdcb18f7250"><strong id="mrs_01_2015__en-us_topic_0000001219231305_ae348eaad631c4a3e8613ae40d91ceede">Solution:</strong></p>
<ul id="mrs_01_2015__en-us_topic_0000001219231305_u41f61fb81fe24e7dbec962bfcfbd2cce"><li id="mrs_01_2015__en-us_topic_0000001219231305_la419e12d11814019b0d0eb31e45d5829">You are advised to visit <strong id="mrs_01_2015__en-us_topic_0000001219231305_b209116762210">Spark JobHistory</strong> page using the FusionInsight Manager. Click the links in the blue box in <a href="#mrs_01_2015__en-us_topic_0000001219231305_f4748f8aec3164955b2d8942bee9ddef3">Figure 2</a>.<div class="fignone" id="mrs_01_2015__en-us_topic_0000001219231305_f4748f8aec3164955b2d8942bee9ddef3"><a name="mrs_01_2015__en-us_topic_0000001219231305_f4748f8aec3164955b2d8942bee9ddef3"></a><a name="en-us_topic_0000001219231305_f4748f8aec3164955b2d8942bee9ddef3"></a><span class="figcap"><b>Figure 2 </b>Spark2x page of FusionInsight Manager</span><br><span><img id="mrs_01_2015__image594417259335" src="en-us_image_0000001389632602.png"></span></div>
</li><li id="mrs_01_2015__en-us_topic_0000001219231305_l9df2054a205c4549a6c2d399b4d10b78">If you do not want to access the <strong id="mrs_01_2015__en-us_topic_0000001219231305_b174589564992419">Spark JobHistory</strong> page using the FusionInsight Manager, change <strong id="mrs_01_2015__en-us_topic_0000001219231305_b110667959092419">&lt;hostname&gt;</strong> in the URL to the IP address or add the domain name to the <strong id="mrs_01_2015__en-us_topic_0000001219231305_b200713826492419">hosts</strong> file of the Windows OS.</li></ul>
<p id="mrs_01_2015__en-us_topic_0000001219231305_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>