title: Hbase 0.92.1: how to fix .META. table ，because it lost some regioninfo
body: <p><strong>My Hbase version is 0.92.1.</strong></p>
  
  <p><strong>I found my reduce job have exception like</strong> :</p>
  
  <pre><code>java.io.IOException: HRegionInfo was null or empty in .META., row=keyvalues={single,20150411 hxmyxy2013 REF// 336d5ebc5436534e61d16e63ddfca327 7f92f92e8e693531c12a1dcc773f9ffa,1430298962344.ea72df9a3703e476b9f7e3368be47aa2./info:server/1430356486086/Put/vlen=28, single,20150411 hxmyxy2013 REF// 336d5ebc5436534e61d16e63ddfca327 7f92f92e8e693531c12a1dcc773f9ffa,1430298962344.ea72df9a3703e476b9f7e3368be47aa2./info:serverstartcode/1430356486086/Put/vlen=8}
  </code></pre>
  
  <p><strong>Then i ran command: <code>hbase hbck</code></strong> </p>
  
  <p>which output 57 errors, like:</p>
  
  <pre><code>ERROR: Region hdfs://hadoop01.yupoo-inc.com:9000/hbase/single/fa921b223692d89be274979e1e8f1674 on HDFS, but not listed in META or deployed on any region server
  </code></pre>
  
  <p>=====</p>
  
  <p>Summary:</p>
  
  <p>-ROOT- is okay.</p>
  
  <pre><code>Number of regions: 1
  
  Deployed on:  hadoop02.yupoo-inc.com,60020,1430643409216
  </code></pre>
  
  <p>.META. is okay.</p>
  
  <pre><code>Number of regions: 1
  
  Deployed on:  hadoop01.yupoo-inc.com,60020,1430643412565
  </code></pre>
  
  <p>global is okay.</p>
  
  <pre><code>Number of regions: 1
  
  Deployed on:  hadoop03.yupoo-inc.com,60020,1430643409040
  </code></pre>
  
  <p>single is okay.</p>
  
  <pre><code>Number of regions: 2081
  
  Deployed on:  hadoop01.yupoo-inc.com,60020,1430643412565 hadoop02.yupoo-inc.com,60020,1430643409216 hadoop03.yupoo-inc.com,60020,1430643409040 hadoop04.yupoo-inc.com,60020,1430643408453 hadoop05.yupoo-inc.com,60020,1430643407996
  </code></pre>
  
  <p>summary is okay.</p>
  
  <pre><code>Number of regions: 2540
  
  Deployed on:  hadoop01.yupoo-inc.com,60020,1430643412565 hadoop02.yupoo-inc.com,60020,1430643409216 hadoop03.yupoo-inc.com,60020,1430643409040 hadoop04.yupoo-inc.com,60020,1430643408453 hadoop05.yupoo-inc.com,60020,1430643407996
  </code></pre>
  
  <p>total is okay.</p>
  
  <pre><code>Number of regions: 172
  
  Deployed on:  hadoop01.yupoo-inc.com,60020,1430643412565 hadoop02.yupoo-inc.com,60020,1430643409216 hadoop03.yupoo-inc.com,60020,1430643409040 hadoop04.yupoo-inc.com,60020,1430643408453 hadoop05.yupoo-inc.com,60020,1430643407996
  </code></pre>
  
  <p>urls is okay.</p>
  
  <pre><code>Number of regions: 5
  
  Deployed on:  hadoop02.yupoo-inc.com,60020,1430643409216 hadoop03.yupoo-inc.com,60020,1430643409040
  </code></pre>
  
  <p>57 inconsistencies detected.</p>
  
  <p>Status: INCONSISTENT</p>
  
  <p>=====</p>
  
  <p><strong>It seems like some regioninfo were not in meta table, So i asked google and found command like <code>hbase hbck -repair</code> or <code>-fixMeta -fixAssignments</code> or  <code>-repairHoles</code>
  but my hbase version do not have this command ,i run command <code>hbase hbck --help</code> ,it output:</strong></p>
  
  <p>Unknown command line option : --help</p>
  
  <p>Usage: fsck [opts]</p>
  
  <p>where [opts] are:</p>
  
  <p>-details Display full report of all regions.</p>
  
  <p>-timelag {timeInSeconds}  Process only regions that  have not 
  experienced any metadata updates in the last  {{timeInSeconds} seconds.</p>
  
  <p>-fix Try to fix some of the errors.</p>
  
  <p>-sleepBeforeRerun {timeInSeconds} Sleep this many seconds before checking if the fix worked if run with -fix</p>
  
  <p>-summary Print only summary of the tables and status.</p>
  
  <p>-metaonly Only check the state of ROOT and META tables.</p>
  
  <p><strong>but when i run <code>hbase hbck -fix</code> it do nothing , so can anyone help me with this?</strong></p>