<?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: under-replicated blocks in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/under-replicated-blocks/m-p/124006#M26714</link>
    <description>&lt;P&gt;so is this a bug ? why accumlulo is asking for a replication factor of 5 ?   &lt;/P&gt;&lt;P&gt;and how to fix it permanently ?&lt;/P&gt;</description>
    <pubDate>Mon, 02 May 2016 23:51:25 GMT</pubDate>
    <dc:creator>aliyesami</dc:creator>
    <dc:date>2016-05-02T23:51:25Z</dc:date>
    <item>
      <title>under-replicated blocks</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/under-replicated-blocks/m-p/124001#M26709</link>
      <description>&lt;P&gt;I have 18% blocks reported as under-replicated . how can I found out which files are the ones that are not being replicated?&lt;/P&gt;&lt;P&gt;hdfs fsck / -files -blocks -locations is not giving me this info or the information is so huge I am getting lost in it.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2016 04:53:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/under-replicated-blocks/m-p/124001#M26709</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2016-04-30T04:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: under-replicated blocks</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/under-replicated-blocks/m-p/124002#M26710</link>
      <description>&lt;P&gt;How many nodes is this cluster? This data has a replication factor of 5 but only found 3 replicas. In general, this gets autocorrected as long a there are 5 or more live data nodes. But if you have only 3 node cluster, you will obviously not get 5 replicas. &lt;/P&gt;&lt;P&gt;You can correct number of replicas at HDFS level &lt;/P&gt;&lt;PRE&gt;hdfs dfs -setrep -w 3 &amp;lt;hdfs path&amp;gt;&lt;/PRE&gt;&lt;P&gt;I think this is the case of Accumulo using rep factor 5 as default for metadata. &lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/223/jelser.html" nodeid="223"&gt;@Josh Elser&lt;/A&gt; can you confirm? &lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 22:20:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/under-replicated-blocks/m-p/124002#M26710</guid>
      <dc:creator>ravi1</dc:creator>
      <dc:date>2016-05-02T22:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: under-replicated blocks</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/under-replicated-blocks/m-p/124003#M26711</link>
      <description>&lt;P&gt;hi Ravi I installed a 5 node cluster and chose 3 nodes as data nodes , and 1 node as master and 1 node as secondary master .&lt;/P&gt;&lt;P&gt;so how should I have installed and anyway I can correct it? &lt;/P&gt;&lt;P&gt;btw the files he is complaining are not even present in the directory &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[hdfs@ip-172-31-11-183 yarn]$ hdfs dfs -ls /apps/accumulo/data/tables/\!0/table_info/
Found 4 items
-rw-r--r--  5 accumulo hdfs  693003 2016-05-02 11:20 /apps/accumulo/data/tables/!0/table_info/A0000189.rf
-rw-r--r--  5 accumulo hdfs  776606 2016-05-02 11:25 /apps/accumulo/data/tables/!0/table_info/A000018b.rf
-rw-r--r--  5 accumulo hdfs  776606 2016-05-02 11:25 /apps/accumulo/data/tables/!0/table_info/A000018c.rf
-rw-r--r--  5 accumulo hdfs  84829 2016-05-02 11:25 /apps/accumulo/data/tables/!0/table_info/F000018a.rf
[hdfs@ip-172-31-11-183 yarn]$
[hdfs@ip-172-31-11-183 yarn]$&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 22:28:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/under-replicated-blocks/m-p/124003#M26711</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2016-05-02T22:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: under-replicated blocks</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/under-replicated-blocks/m-p/124004#M26712</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;also I just noticed that the all the underreplicated files belong to accumulo , so how are the other files being replicated if I have the replication factor of 5?&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 22:49:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/under-replicated-blocks/m-p/124004#M26712</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2016-05-02T22:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: under-replicated blocks</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/under-replicated-blocks/m-p/124005#M26713</link>
      <description>&lt;P&gt;With 5 nodes, 2 master and 3 datanodes is a good setup. But accumulo by default here is asking for table metadata files to be stores as 5 replicas. While it will not effect running of your system, you will see underreplicated blocks. &lt;/P&gt;&lt;P&gt;Take a look at &lt;A href="https://issues.apache.org/jira/browse/ACCUMULO-683" target="_blank"&gt;https://issues.apache.org/jira/browse/ACCUMULO-683&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This shows how you can switch the replication factor to 3 for table metadata. Making this change with repfactor on hdfs will not have much effect since any new metadata will again ask for replication factor 5. &lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 23:39:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/under-replicated-blocks/m-p/124005#M26713</guid>
      <dc:creator>ravi1</dc:creator>
      <dc:date>2016-05-02T23:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: under-replicated blocks</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/under-replicated-blocks/m-p/124006#M26714</link>
      <description>&lt;P&gt;so is this a bug ? why accumlulo is asking for a replication factor of 5 ?   &lt;/P&gt;&lt;P&gt;and how to fix it permanently ?&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 23:51:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/under-replicated-blocks/m-p/124006#M26714</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2016-05-02T23:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: under-replicated blocks</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/under-replicated-blocks/m-p/124007#M26715</link>
      <description>&lt;P&gt;can you please help me understand this link ? &lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/ACCUMULO-683"&gt;https://issues.apache.org/jira/browse/ACCUMULO-683&lt;/A&gt;&lt;/P&gt;&lt;P&gt;iam not sure what fix they are recommending , I tried the config command suggested there but it returns with error saying "!METADATA: event not found" &lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 00:01:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/under-replicated-blocks/m-p/124007#M26715</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2016-05-03T00:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: under-replicated blocks</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/under-replicated-blocks/m-p/124008#M26716</link>
      <description>&lt;P&gt;hi Ravi &lt;/P&gt;&lt;P&gt;the command you gave earlier fixed the issue   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hdfs dfs -setrep -w 3 / &lt;/P&gt;&lt;P&gt;thanks a lot &lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 00:23:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/under-replicated-blocks/m-p/124008#M26716</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2016-05-03T00:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: under-replicated blocks</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/under-replicated-blocks/m-p/124009#M26717</link>
      <description>&lt;P&gt;Yep, you're exactly right &lt;A rel="user" href="https://community.cloudera.com/users/216/ravi.html" nodeid="216"&gt;@Ravi Mutyala&lt;/A&gt;. Accumulo increases the default replication on these files to 5 to guard against catastrophic failure resulting in data loss. You can either ignore it, or reduce it by hand via the setrep command.&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 00:58:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/under-replicated-blocks/m-p/124009#M26717</guid>
      <dc:creator>elserj</dc:creator>
      <dc:date>2016-05-03T00:58:45Z</dc:date>
    </item>
  </channel>
</rss>

