hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-1780) [hbase] Regions are still being doubly assigned
Date Fri, 24 Aug 2007 21:57:30 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-1780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

stack updated HADOOP-1780:
--------------------------

    Attachment: hadoop-1780.patch

Here's a fix.  Ran same upload but this time no multiple assigning.

{code}
HADOOP-1780 Regions are still being doubly assigned

M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HStore.java
    Fix outputing fail message on each compaction though there was none.
M  src/contrib/hbase/src/java/org/apache/hadoop/hbase/HStoreFile.java
    (rename): Refactor so return only happens on end..
M  src/contrib/hbase/src/java/org/apache/hadoop/hbase/HMaster.java
    (assignRegions): Make synchronized.  In presence of concurrent visits
    by regionservers, both visiting threads could grab same set of regions
    for assignment.
{code}

> [hbase] Regions are still being doubly assigned
> -----------------------------------------------
>
>                 Key: HADOOP-1780
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1780
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: stack
>            Priority: Minor
>         Attachments: hadoop-1780.patch
>
>
> HADOOP-1747 fixed an obvious failure in assignment code where regions were being handed
out to multiple hosts by the twos and threes but a bug remains.  Over 260 assignments in a
recent upload to a cluster of 4 machines, two regions were assigned to two different hosts.
 Here's log snippet from master showing region being assigned to two different hosts:
> {code}
> ...
> 2007-08-24 02:48:35,077 INFO org.apache.hadoop.hbase.HMaster: assigning region hbaserepository,kABjAiU049peySkC0-5iWk==,6867001475682921877
to server 208.76.44.140:60010
> ...
> 2007-08-24 02:48:36,299 INFO org.apache.hadoop.hbase.HMaster: assigning region hbaserepository,kABjAiU049peySkC0-5iWk==,6867001475682921877
to server 208.76.44.141:60010
> ...
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message