Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # dev - Issues when splitting regions


Copy link to this message
-
Re: Issues when splitting regions
Anty 2011-06-01, 08:51
IMHO, yes.But it do no harm to HBase.

On Tue, May 31, 2011 at 5:04 PM, jiangwen w <[EMAIL PROTECTED]> 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