<?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: Can we fix the under Under replicated blocks while doing the copyToLocal in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-fix-the-under-Under-replicated-blocks-while-doing-the/m-p/63134#M72885</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/25253"&gt;@Iron&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think it is mandatory to enable the safemode during copyToLocal. May be you can use safemode to make sure nobody is updating/deleting/inserting the data during the data copy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know the difficulties without cloudera manager/hortonworks, etc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Long back, i've used the below export/import method for Hive table backup, again this will export the data to HDFS and you&amp;nbsp;still have to use copyTolocal. The advantage is, it will also take care of metadata&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/Hive/LanguageManual+ImportExport#LanguageManualImportExport-ExportSyntax" target="_blank"&gt;https://cwiki.apache.org/confluence/display/Hive/LanguageManual+ImportExport#LanguageManualImportExport-ExportSyntax&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use these options as temporary solution but&amp;nbsp;once you start using cloudera manager or any other management tool, I would recommend to use the backup option that i've mentioned earlier&lt;/P&gt;</description>
    <pubDate>Thu, 28 Dec 2017 16:08:03 GMT</pubDate>
    <dc:creator>saranvisa</dc:creator>
    <dc:date>2017-12-28T16:08:03Z</dc:date>
    <item>
      <title>Can we fix the under Under replicated blocks while doing the copyToLocal</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-fix-the-under-Under-replicated-blocks-while-doing-the/m-p/63100#M72882</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on a backup task in DEV. I am doing the datanode backup to local. I have set the safemode is OFF and started the data backup. While in the middle of backup, I have noticed there is 1 under replicated blocks and 1 missing block. So i am planning to do the fix. So my doubt is, We can do the fix parallely ?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2017 16:04:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-fix-the-under-Under-replicated-blocks-while-doing-the/m-p/63100#M72882</guid>
      <dc:creator>Iron</dc:creator>
      <dc:date>2017-12-27T16:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can we fix the under Under replicated blocks while doing the copyToLocal</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-fix-the-under-Under-replicated-blocks-while-doing-the/m-p/63101#M72883</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/25253"&gt;@Iron&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my opinion both are two different tasks, and it is upto you to do it in parallel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also the copyToLocal should work even with under replicated block as only one replication out of three (if you follow default 3 replication) will be copied to local&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also not sure i am missing something here, but wondering why you are using copyToLocal option for backup instead of Cloudera Manager -&amp;gt; Backup (menu) -&amp;gt; Replication schedule -&amp;gt; Create schedule (pre-request: set the peer) option, it may reduce your work&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2017 17:16:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-fix-the-under-Under-replicated-blocks-while-doing-the/m-p/63101#M72883</guid>
      <dc:creator>saranvisa</dc:creator>
      <dc:date>2017-12-27T17:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can we fix the under Under replicated blocks while doing the copyToLocal</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-fix-the-under-Under-replicated-blocks-while-doing-the/m-p/63111#M72884</link>
      <description>&lt;P&gt;Currently we dont have cloudera manager. so any other alternate method other than copyToLocal?. and also we have mandatory to enable the Safemode on for doing the copyTolocal?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2017 07:16:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-fix-the-under-Under-replicated-blocks-while-doing-the/m-p/63111#M72884</guid>
      <dc:creator>Iron</dc:creator>
      <dc:date>2017-12-28T07:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can we fix the under Under replicated blocks while doing the copyToLocal</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-fix-the-under-Under-replicated-blocks-while-doing-the/m-p/63134#M72885</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/25253"&gt;@Iron&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think it is mandatory to enable the safemode during copyToLocal. May be you can use safemode to make sure nobody is updating/deleting/inserting the data during the data copy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know the difficulties without cloudera manager/hortonworks, etc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Long back, i've used the below export/import method for Hive table backup, again this will export the data to HDFS and you&amp;nbsp;still have to use copyTolocal. The advantage is, it will also take care of metadata&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/Hive/LanguageManual+ImportExport#LanguageManualImportExport-ExportSyntax" target="_blank"&gt;https://cwiki.apache.org/confluence/display/Hive/LanguageManual+ImportExport#LanguageManualImportExport-ExportSyntax&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use these options as temporary solution but&amp;nbsp;once you start using cloudera manager or any other management tool, I would recommend to use the backup option that i've mentioned earlier&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2017 16:08:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-fix-the-under-Under-replicated-blocks-while-doing-the/m-p/63134#M72885</guid>
      <dc:creator>saranvisa</dc:creator>
      <dc:date>2017-12-28T16:08:03Z</dc:date>
    </item>
  </channel>
</rss>

