hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anty <anty....@gmail.com>
Subject Re: Issues when splitting regions
Date Wed, 01 Jun 2011 08:26:59 GMT
IMHO, yes.But it do no harm to HBase.

On Tue, May 31, 2011 at 5:04 PM, jiangwen w <wjiangwen@gmail.com> wrote:

>    The following code is from execute method in SplitTransaction class
>    If the region server shut down when the following code is executing.
>    Some files may be left in HDFS forever?
>
>    this.journal.add(JournalEntry.STARTED_REGION_A_CREATION);
>    HRegion a = createDaughterRegion(this.hri_a, this.parent.rsServices);
>
>    // Ditto
>    this.journal.add(JournalEntry.STARTED_REGION_B_CREATION);
>    HRegion b = createDaughterRegion(this.hri_b, this.parent.rsServices);
>
>    // Edit parent in meta
>    if (!testing) {
>      MetaEditor.offlineParentInMeta(server.getCatalogTracker(),
>        this.parent.getRegionInfo(), a.getRegionInfo(), b.getRegionInfo());
>    }
>



-- 
Best Regards
Anty Rao

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message