<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Migrate yarn logs from CDH 6.3.2 to CDP 7.1.6 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Migrate-yarn-logs-from-CDH-6-3-2-to-CDP-7-1-6/m-p/317549#M227219</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/87486"&gt;@apedroso&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for starting this thread.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this reply, I will focus on how the YARN RM stores data about historical applications, which can be accessed via the RM Web UI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The RM keeps data about the applications in its state store [1].&lt;/P&gt;&lt;P&gt;It can be&amp;nbsp;&lt;SPAN&gt;LeveldbRMStateStore,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;FileSystemRMStateStore or&amp;nbsp;ZKRMStateStore.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We recommend using&amp;nbsp;ZKRMStateStore (this is what we use in YARN HA as well), because it is a more robust implementation. For example, you can migrate in RM HA standby RM while the active RM is still running and keep the state-store intact.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Because the RM Web UI is reading the data from the state-store, it is independent of the presence or lack of YARN Application Logs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What are your exact migration steps? Do I understand correctly that you upgrade your cluster to CDP or do you need to move services to a new cluster, please?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[1] Please read section for "yarn.resourcemanager.store.class" in &lt;A href="https://hadoop.apache.org/docs/r3.1.2/hadoop-yarn/hadoop-yarn-site/ResourceManagerRestart.html" target="_blank"&gt;https://hadoop.apache.org/docs/r3.1.2/hadoop-yarn/hadoop-yarn-site/ResourceManagerRestart.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Jun 2021 11:06:42 GMT</pubDate>
    <dc:creator>Bender</dc:creator>
    <dc:date>2021-06-02T11:06:42Z</dc:date>
    <item>
      <title>Migrate yarn logs from CDH 6.3.2 to CDP 7.1.6</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Migrate-yarn-logs-from-CDH-6-3-2-to-CDP-7-1-6/m-p/315925#M226632</link>
      <description>&lt;P&gt;Hey everyone.&lt;/P&gt;
&lt;P&gt;I'm in the process of migrating data from a CDH 6.3.2 cluster to CDP 7.1.6.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using distcp to migrate data as it seems to be impossible to perform in-place migrations from CDH 6.3.2 and CDP 7.1.6 (according to cloudera documentation -- &lt;A href="https://docs.cloudera.com/cdp-private-cloud/latest/upgrade/topics/cdpdc-upgrade-paths.html).&amp;nbsp;&amp;nbsp;" target="_blank" rel="noopener"&gt;https://docs.cloudera.com/cdp-private-cloud/latest/upgrade/topics/cdpdc-upgrade-paths.html).&amp;nbsp;&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I migrated all the resources that I need from HDFS but now I would like to also migrate the yarn application logs (the ones that we can access in resource manager UI or using yarn logs command).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to use distcp to copy the logs from the old cluster to the new, to the directory that is configurable using yarn-site.xml. However, the migrated logs don't appear in resource manager UI neither using yarn logs -applicationId &amp;lt;app-id&amp;gt;. There is any way to make the logs from the old cluster available in the new cluster and accessible via resource manager or using the yarn logs command?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 09:04:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Migrate-yarn-logs-from-CDH-6-3-2-to-CDP-7-1-6/m-p/315925#M226632</guid>
      <dc:creator>apedroso</dc:creator>
      <dc:date>2026-04-21T09:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Migrate yarn logs from CDH 6.3.2 to CDP 7.1.6</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Migrate-yarn-logs-from-CDH-6-3-2-to-CDP-7-1-6/m-p/317549#M227219</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/87486"&gt;@apedroso&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for starting this thread.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this reply, I will focus on how the YARN RM stores data about historical applications, which can be accessed via the RM Web UI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The RM keeps data about the applications in its state store [1].&lt;/P&gt;&lt;P&gt;It can be&amp;nbsp;&lt;SPAN&gt;LeveldbRMStateStore,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;FileSystemRMStateStore or&amp;nbsp;ZKRMStateStore.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We recommend using&amp;nbsp;ZKRMStateStore (this is what we use in YARN HA as well), because it is a more robust implementation. For example, you can migrate in RM HA standby RM while the active RM is still running and keep the state-store intact.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Because the RM Web UI is reading the data from the state-store, it is independent of the presence or lack of YARN Application Logs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What are your exact migration steps? Do I understand correctly that you upgrade your cluster to CDP or do you need to move services to a new cluster, please?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[1] Please read section for "yarn.resourcemanager.store.class" in &lt;A href="https://hadoop.apache.org/docs/r3.1.2/hadoop-yarn/hadoop-yarn-site/ResourceManagerRestart.html" target="_blank"&gt;https://hadoop.apache.org/docs/r3.1.2/hadoop-yarn/hadoop-yarn-site/ResourceManagerRestart.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 11:06:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Migrate-yarn-logs-from-CDH-6-3-2-to-CDP-7-1-6/m-p/317549#M227219</guid>
      <dc:creator>Bender</dc:creator>
      <dc:date>2021-06-02T11:06:42Z</dc:date>
    </item>
  </channel>
</rss>

