You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "stack (JIRA)" <ji...@apache.org> on 2007/10/12 02:37:50 UTC

[jira] Created: (HADOOP-2038) [hbase] TestCleanRegionServerExit failed in patch build #927

[hbase] TestCleanRegionServerExit failed in patch build #927
------------------------------------------------------------

                 Key: HADOOP-2038
                 URL: https://issues.apache.org/jira/browse/HADOOP-2038
             Project: Hadoop
          Issue Type: Bug
          Components: contrib/hbase
            Reporter: stack
            Assignee: stack
            Priority: Minor
             Fix For: 0.15.0


Looking at the hudson console logs, the region server with -ROOT- region went away.  Usually this is not the region server that goes down.  Its usually the one hosting other regions.  I noticed a while ago that we don't recover from this -ROOT- gone situation (where once we used to).  Chatting with Jim, a shutdown event gets queued and is supposed to be run after a 1/2 lease has expired.  I noticed that shutdown's getDelay always returned 1/2 a lease.  Reading DelayQueue, the queue will not return elements on poll unless the queue'd items getDelay returns a value of <= 0.

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


[jira] Updated: (HADOOP-2038) [hbase] TestCleanRegionServerExit failed in patch build #927

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-2038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HADOOP-2038:
--------------------------

    Attachment: delay-v2.patch

v2. Had the values wrong ways around inside in compare.

> [hbase] TestCleanRegionServerExit failed in patch build #927
> ------------------------------------------------------------
>
>                 Key: HADOOP-2038
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2038
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: stack
>            Assignee: stack
>            Priority: Minor
>             Fix For: 0.15.0
>
>         Attachments: delay-v2.patch, delay.patch
>
>
> Looking at the hudson console logs, the region server with -ROOT- region went away.  Usually this is not the region server that goes down.  Its usually the one hosting other regions.  I noticed a while ago that we don't recover from this -ROOT- gone situation (where once we used to).  Chatting with Jim, a shutdown event gets queued and is supposed to be run after a 1/2 lease has expired.  I noticed that shutdown's getDelay always returned 1/2 a lease.  Reading DelayQueue, the queue will not return elements on poll unless the queue'd items getDelay returns a value of <= 0.

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


[jira] Commented: (HADOOP-2038) [hbase] TestCleanRegionServerExit failed in patch build #927

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-2038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534526 ] 

Hudson commented on HADOOP-2038:
--------------------------------

Integrated in Hadoop-Nightly #270 (See [http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/270/])

> [hbase] TestCleanRegionServerExit failed in patch build #927
> ------------------------------------------------------------
>
>                 Key: HADOOP-2038
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2038
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: stack
>            Assignee: stack
>            Priority: Minor
>             Fix For: 0.15.0
>
>         Attachments: delay-v2.patch, delay.patch
>
>
> Looking at the hudson console logs, the region server with -ROOT- region went away.  Usually this is not the region server that goes down.  Its usually the one hosting other regions.  I noticed a while ago that we don't recover from this -ROOT- gone situation (where once we used to).  Chatting with Jim, a shutdown event gets queued and is supposed to be run after a 1/2 lease has expired.  I noticed that shutdown's getDelay always returned 1/2 a lease.  Reading DelayQueue, the queue will not return elements on poll unless the queue'd items getDelay returns a value of <= 0.

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


[jira] Updated: (HADOOP-2038) [hbase] TestCleanRegionServerExit failed in patch build #927

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-2038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HADOOP-2038:
--------------------------

    Attachment: delay.patch

Here's a patch.  Below is commit message.
{code}
D  src/contrib/hbase/src/test/org/apache/hadoop/hbase/TestCleanRegionServerExit.java
D  src/contrib/hbase/src/test/org/apache/hadoop/hbase/TestRegionServerAbort.java
    Removed.
A src/contrib/hbase/src/test/org/apache/hadoop/hbase/TestRegionServerExit.java
    The two above tests have been amalgamated here.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HMaster.java
    (PendingRegionShutdown.getDelay): Return difference between creation time
    and current time.
{code}

> [hbase] TestCleanRegionServerExit failed in patch build #927
> ------------------------------------------------------------
>
>                 Key: HADOOP-2038
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2038
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: stack
>            Assignee: stack
>            Priority: Minor
>             Fix For: 0.15.0
>
>         Attachments: delay.patch
>
>
> Looking at the hudson console logs, the region server with -ROOT- region went away.  Usually this is not the region server that goes down.  Its usually the one hosting other regions.  I noticed a while ago that we don't recover from this -ROOT- gone situation (where once we used to).  Chatting with Jim, a shutdown event gets queued and is supposed to be run after a 1/2 lease has expired.  I noticed that shutdown's getDelay always returned 1/2 a lease.  Reading DelayQueue, the queue will not return elements on poll unless the queue'd items getDelay returns a value of <= 0.

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


[jira] Updated: (HADOOP-2038) [hbase] TestCleanRegionServerExit failed in patch build #927

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-2038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HADOOP-2038:
--------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed.  Resolving.

> [hbase] TestCleanRegionServerExit failed in patch build #927
> ------------------------------------------------------------
>
>                 Key: HADOOP-2038
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2038
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: stack
>            Assignee: stack
>            Priority: Minor
>             Fix For: 0.15.0
>
>         Attachments: delay-v2.patch, delay.patch
>
>
> Looking at the hudson console logs, the region server with -ROOT- region went away.  Usually this is not the region server that goes down.  Its usually the one hosting other regions.  I noticed a while ago that we don't recover from this -ROOT- gone situation (where once we used to).  Chatting with Jim, a shutdown event gets queued and is supposed to be run after a 1/2 lease has expired.  I noticed that shutdown's getDelay always returned 1/2 a lease.  Reading DelayQueue, the queue will not return elements on poll unless the queue'd items getDelay returns a value of <= 0.

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


[jira] Updated: (HADOOP-2038) [hbase] TestCleanRegionServerExit failed in patch build #927

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-2038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HADOOP-2038:
--------------------------

    Status: Patch Available  (was: Open)

Builds and passes tests locally.  Trying hudson.

> [hbase] TestCleanRegionServerExit failed in patch build #927
> ------------------------------------------------------------
>
>                 Key: HADOOP-2038
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2038
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: stack
>            Assignee: stack
>            Priority: Minor
>             Fix For: 0.15.0
>
>         Attachments: delay-v2.patch, delay.patch
>
>
> Looking at the hudson console logs, the region server with -ROOT- region went away.  Usually this is not the region server that goes down.  Its usually the one hosting other regions.  I noticed a while ago that we don't recover from this -ROOT- gone situation (where once we used to).  Chatting with Jim, a shutdown event gets queued and is supposed to be run after a 1/2 lease has expired.  I noticed that shutdown's getDelay always returned 1/2 a lease.  Reading DelayQueue, the queue will not return elements on poll unless the queue'd items getDelay returns a value of <= 0.

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


[jira] Commented: (HADOOP-2038) [hbase] TestCleanRegionServerExit failed in patch build #927

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-2038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534349 ] 

Hadoop QA commented on HADOOP-2038:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
http://issues.apache.org/jira/secure/attachment/12367614/delay-v2.patch
against trunk revision r584187.

    @author +1.  The patch does not contain any @author tags.

    javadoc +1.  The javadoc tool did not generate any warning messages.

    javac +1.  The applied patch does not generate any new compiler warnings.

    findbugs +1.  The patch does not introduce any new Findbugs warnings.

    core tests +1.  The patch passed core unit tests.

    contrib tests +1.  The patch passed contrib unit tests.

Test results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/933/testReport/
Findbugs warnings: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/933/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/933/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/933/console

This message is automatically generated.

> [hbase] TestCleanRegionServerExit failed in patch build #927
> ------------------------------------------------------------
>
>                 Key: HADOOP-2038
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2038
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: stack
>            Assignee: stack
>            Priority: Minor
>             Fix For: 0.15.0
>
>         Attachments: delay-v2.patch, delay.patch
>
>
> Looking at the hudson console logs, the region server with -ROOT- region went away.  Usually this is not the region server that goes down.  Its usually the one hosting other regions.  I noticed a while ago that we don't recover from this -ROOT- gone situation (where once we used to).  Chatting with Jim, a shutdown event gets queued and is supposed to be run after a 1/2 lease has expired.  I noticed that shutdown's getDelay always returned 1/2 a lease.  Reading DelayQueue, the queue will not return elements on poll unless the queue'd items getDelay returns a value of <= 0.

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