<?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: Why to stop Namenode services to taker Metadata backup ? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-to-stop-Namenode-services-to-taker-Metadata-backup/m-p/66859#M77818</link>
    <description>&lt;P&gt;Thanks for your response&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so Stop cluster means - it will stop all the components right(include bothe namenodes and other components like soop, hive, yarn etc....) ? if i am not wrong...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 01 May 2018 14:02:30 GMT</pubDate>
    <dc:creator>balajivsn</dc:creator>
    <dc:date>2018-05-01T14:02:30Z</dc:date>
    <item>
      <title>Why to stop Namenode services to taker Metadata backup ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-to-stop-Namenode-services-to-taker-Metadata-backup/m-p/66825#M77815</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Good Morning!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;why to stop Namenode services to take backup of namenode metadata, instead of stoping namenode services we can put namenode in safe mode&amp;nbsp; "ON" mode right so that cluster will get read-only state and take the backup using #tar -cvf backname metadatapath&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am using Cloudera distribution&amp;nbsp;&lt;/P&gt;&lt;P&gt;in below url i found to stop servies and proceed to take the backup.. why not with safe mode option&amp;nbsp; ?? please help me&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/documentation/enterprise/5-4-x/topics/cm_mc_hdfs_metadata_backup.html" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/5-4-x/topics/cm_mc_hdfs_metadata_backup.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Balaji Vemula&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 15:28:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-to-stop-Namenode-services-to-taker-Metadata-backup/m-p/66825#M77815</guid>
      <dc:creator>balajivsn</dc:creator>
      <dc:date>2022-09-16T15:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why to stop Namenode services to taker Metadata backup ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-to-stop-Namenode-services-to-taker-Metadata-backup/m-p/66834#M77816</link>
      <description>&lt;P&gt;You can perform the below without stopping the namenode .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;hdfs dfsadmin -fetchImage &lt;/PRE&gt;&lt;P&gt;Moreover its good to have HA configured to avoid single point of failure.&lt;/P&gt;&lt;P&gt;I will provide a good link that talks more about the metadata Backup ,its really good blog.&lt;/P&gt;&lt;P&gt;&lt;A href="http://vijayjt.blogspot.in/2013/02/hdfs-file-system-metadata-backup.html" target="_self"&gt;http://vijayjt.blogspot.in/2013/02/hdfs-file-system-metadata-backup.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 18:10:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-to-stop-Namenode-services-to-taker-Metadata-backup/m-p/66834#M77816</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2018-04-30T18:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why to stop Namenode services to taker Metadata backup ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-to-stop-Namenode-services-to-taker-Metadata-backup/m-p/66836#M77817</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/22681"&gt;@balajivsn&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The link that you are referring is belongs to 5.4.x, please refer the below link (5.14.x) for little more details&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are two types of backup&lt;/P&gt;&lt;P&gt;1. HDFS Metadata backup&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/documentation/enterprise/5-14-x/topics/cm_mc_hdfs_metadata_backup.html" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/5-14-x/topics/cm_mc_hdfs_metadata_backup.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need to follow all the steps including "&lt;SPAN&gt;Stop the cluster. It is particularly important that the NameNode role process is not running so that you can make a consistent backup"&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. NameNode Metadata backup&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/documentation/enterprise/5-14-x/topics/cm_mc_nn_metadata_backup.html" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/5-14-x/topics/cm_mc_nn_metadata_backup.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can be done using&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$ hdfs dfsadmin -fetchImage backup_dir &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now to answer your question,&lt;/P&gt;&lt;P&gt;If you see the first link, it says "Cloudera recommends backing up HDFS metadata before a major upgrade". So&amp;nbsp;In the real-time production cluster, we perform the HDFS metadata backup, major upgrade during the downtime. So the given steps are&amp;nbsp;recommended way for&amp;nbsp;consistent backup.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if your situation is just a mater of namenode back-up in a regular interval, then I belive you are correct.. you can switch-on the safe mode and take a backup and leave the safe mode. (or) you can try the option from the 2nd link&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: Please&amp;nbsp;make sure to test it in lower environments before apply in prod&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 19:37:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-to-stop-Namenode-services-to-taker-Metadata-backup/m-p/66836#M77817</guid>
      <dc:creator>saranvisa</dc:creator>
      <dc:date>2018-04-30T19:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why to stop Namenode services to taker Metadata backup ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-to-stop-Namenode-services-to-taker-Metadata-backup/m-p/66859#M77818</link>
      <description>&lt;P&gt;Thanks for your response&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so Stop cluster means - it will stop all the components right(include bothe namenodes and other components like soop, hive, yarn etc....) ? if i am not wrong...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 May 2018 14:02:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-to-stop-Namenode-services-to-taker-Metadata-backup/m-p/66859#M77818</guid>
      <dc:creator>balajivsn</dc:creator>
      <dc:date>2018-05-01T14:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Why to stop Namenode services to taker Metadata backup ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-to-stop-Namenode-services-to-taker-Metadata-backup/m-p/66886#M77819</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/22681"&gt;@balajivsn&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can stop the cluster using CM -&amp;gt; Top left Cluster menu -&amp;gt; Stop&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Yes, It will stop all the avilable services Ex: Hue, Hive, Spark, Flume, Yarn, HDFS, Zookeeper, etc. And it won't disturb your host &amp;amp; Cloudera Management Service.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note:&amp;nbsp;You don't need to separately handle daemons like namenode on this&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2018 11:44:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-to-stop-Namenode-services-to-taker-Metadata-backup/m-p/66886#M77819</guid>
      <dc:creator>saranvisa</dc:creator>
      <dc:date>2018-05-02T11:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Why to stop Namenode services to taker Metadata backup ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-to-stop-Namenode-services-to-taker-Metadata-backup/m-p/66887#M77820</link>
      <description>&lt;P&gt;Thanks for your support&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2018 13:01:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-to-stop-Namenode-services-to-taker-Metadata-backup/m-p/66887#M77820</guid>
      <dc:creator>balajivsn</dc:creator>
      <dc:date>2018-05-02T13:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why to stop Namenode services to taker Metadata backup ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-to-stop-Namenode-services-to-taker-Metadata-backup/m-p/66895#M77821</link>
      <description>&lt;P&gt;yes this will stop all the service like hive impala spark kudu oozie solr etc&amp;nbsp;&lt;/P&gt;&lt;P&gt;sqoop however is a client tool.&lt;/P&gt;&lt;P&gt;Hope this is suffice .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2018 16:02:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-to-stop-Namenode-services-to-taker-Metadata-backup/m-p/66895#M77821</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2018-05-02T16:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why to stop Namenode services to taker Metadata backup ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-to-stop-Namenode-services-to-taker-Metadata-backup/m-p/66933#M77822</link>
      <description>&lt;P&gt;Thank you for your support&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2018 08:33:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-to-stop-Namenode-services-to-taker-Metadata-backup/m-p/66933#M77822</guid>
      <dc:creator>balajivsn</dc:creator>
      <dc:date>2018-05-03T08:33:05Z</dc:date>
    </item>
  </channel>
</rss>

