Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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
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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB