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>
16 lines
1.5 KiB
HTML
16 lines
1.5 KiB
HTML
<a name="mrs_01_2058"></a><a name="mrs_01_2058"></a>
|
|
|
|
<h1 class="topictitle1">Why Is not an Application Displayed When I Run the Application with the Empty Part File?</h1>
|
|
<div id="body1595920225550"><div class="section" id="mrs_01_2058__s4750416d78954558999c8f49cf943930"><h4 class="sectiontitle">Question</h4><p id="mrs_01_2058__a2b8b0de8a3334941ae4cbfa05b32c82a">When I run an application with an empty part file in HDFS with the log grouping function enabled, why is not the application displayed on the homepage of JobHistory?</p>
|
|
</div>
|
|
<div class="section" id="mrs_01_2058__sfe94e3e5f7bf4b738cb843a90860156b"><h4 class="sectiontitle">Answer</h4><p id="mrs_01_2058__ad5639eb7244442e5a86f2adbc0835bbc">On the JobHistory page, information about applications is updated only with changed sizes of part files in HDFS. If a file is read for the first time, its size is compared with 0. The file is read only when the file size is greater than 0.</p>
|
|
<p id="mrs_01_2058__a85ab09d4a42b440e810abed93b7c7c2e">When the log grouping function is enabled, if the application you run does not have jobs in running status, the part file is empty. As a result, JobHistory does not read the part file and the application information is not displayed on the JobHistory page. However, if the size of part file is changed later, the application will be displayed on JobHistory.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_2002.html">Common Issues About Spark2x</a></div>
|
|
</div>
|
|
</div>
|
|
|