You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2008/03/08 03:17:50 UTC

[jira] Created: (HBASE-500) Regionserver stuck on exit

Regionserver stuck on exit
--------------------------

                 Key: HBASE-500
                 URL: https://issues.apache.org/jira/browse/HBASE-500
             Project: Hadoop HBase
          Issue Type: Bug
          Components: regionserver
    Affects Versions: 0.1.0, 0.2.0, 0.16.0
            Reporter: stack


Found in 0.16.0 cluster.  We're rolling a log and trying to split it too.  Looks like hung up locks.

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


[jira] Commented: (HBASE-500) Regionserver stuck on exit

Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589270#action_12589270 ] 

Jim Kellerman commented on HBASE-500:
-------------------------------------

In the thread dump, the cacheFlusher thread is not present, so
HRegionServer.run has interrupted it.

HRegionServer.run is now waiting to enter the synchronized block
around logRollerLock which is held by the logRoller thread. This means
that HRegionServer.run has interrupted the compactSplit thread (which
does not protect itself using compactSplitLock as it should while it
is working.

The logRoller, HRegionServer$Worker and compactSplit threads are
waiting to acquire HLog.cacheFlushLock It is not clear why one of the
threads cannot proceed as it appears that there is no thread that
could currently be holding that lock.

Certainly, interrupting the compactSplit thread while it is working is
an error. Creating a patch that will fix this error and see if this
lock up occurs after it is committed.

> Regionserver stuck on exit
> --------------------------
>
>                 Key: HBASE-500
>                 URL: https://issues.apache.org/jira/browse/HBASE-500
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.16.0, 0.2.0, 0.1.0
>            Reporter: stack
>            Assignee: Jim Kellerman
>         Attachments: stacktrace.txt
>
>
> Found in 0.16.0 cluster.  We're rolling a log and trying to split it too.  Looks like hung up locks.

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


[jira] Commented: (HBASE-500) Regionserver stuck on exit

Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589670#action_12589670 ] 

Jim Kellerman commented on HBASE-500:
-------------------------------------

It should be noted that trunk does not have the error that was patched for 0.1

> Regionserver stuck on exit
> --------------------------
>
>                 Key: HBASE-500
>                 URL: https://issues.apache.org/jira/browse/HBASE-500
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.16.0, 0.2.0, 0.1.0
>            Reporter: stack
>         Attachments: patch.txt, stacktrace.txt
>
>
> Found in 0.16.0 cluster.  We're rolling a log and trying to split it too.  Looks like hung up locks.

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


[jira] Updated: (HBASE-500) Regionserver stuck on exit

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

stack updated HBASE-500:
------------------------

    Attachment: stacktrace.txt

> Regionserver stuck on exit
> --------------------------
>
>                 Key: HBASE-500
>                 URL: https://issues.apache.org/jira/browse/HBASE-500
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.1.0, 0.2.0, 0.16.0
>            Reporter: stack
>         Attachments: stacktrace.txt
>
>
> Found in 0.16.0 cluster.  We're rolling a log and trying to split it too.  Looks like hung up locks.

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


[jira] Updated: (HBASE-500) Regionserver stuck on exit

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

Jim Kellerman updated HBASE-500:
--------------------------------

    Attachment: patch.txt

Addresses problem with interrupting compactSplit thread. But do not know if this is root cause of problem.

> Regionserver stuck on exit
> --------------------------
>
>                 Key: HBASE-500
>                 URL: https://issues.apache.org/jira/browse/HBASE-500
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.16.0, 0.2.0, 0.1.0
>            Reporter: stack
>            Assignee: Jim Kellerman
>         Attachments: patch.txt, stacktrace.txt
>
>
> Found in 0.16.0 cluster.  We're rolling a log and trying to split it too.  Looks like hung up locks.

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


[jira] Commented: (HBASE-500) Regionserver stuck on exit

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589637#action_12589637 ] 

stack commented on HBASE-500:
-----------------------------

+1 on patch.

This issue actually occurs pretty often.

> Regionserver stuck on exit
> --------------------------
>
>                 Key: HBASE-500
>                 URL: https://issues.apache.org/jira/browse/HBASE-500
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.16.0, 0.2.0, 0.1.0
>            Reporter: stack
>            Assignee: Jim Kellerman
>         Attachments: patch.txt, stacktrace.txt
>
>
> Found in 0.16.0 cluster.  We're rolling a log and trying to split it too.  Looks like hung up locks.

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


[jira] Updated: (HBASE-500) Regionserver stuck on exit

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

Jim Kellerman updated HBASE-500:
--------------------------------

    Status: Open  (was: Patch Available)

Committed to 0.1 branch.

> Regionserver stuck on exit
> --------------------------
>
>                 Key: HBASE-500
>                 URL: https://issues.apache.org/jira/browse/HBASE-500
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.1.0, 0.16.0, 0.2.0
>            Reporter: stack
>            Assignee: Jim Kellerman
>         Attachments: patch.txt, stacktrace.txt
>
>
> Found in 0.16.0 cluster.  We're rolling a log and trying to split it too.  Looks like hung up locks.

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


[jira] Assigned: (HBASE-500) Regionserver stuck on exit

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

Jim Kellerman reassigned HBASE-500:
-----------------------------------

    Assignee: Jim Kellerman

> Regionserver stuck on exit
> --------------------------
>
>                 Key: HBASE-500
>                 URL: https://issues.apache.org/jira/browse/HBASE-500
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.16.0, 0.2.0, 0.1.0
>            Reporter: stack
>            Assignee: Jim Kellerman
>         Attachments: stacktrace.txt
>
>
> Found in 0.16.0 cluster.  We're rolling a log and trying to split it too.  Looks like hung up locks.

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


[jira] Assigned: (HBASE-500) Regionserver stuck on exit

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

Jim Kellerman reassigned HBASE-500:
-----------------------------------

    Assignee:     (was: Jim Kellerman)

Marking as unassigned since there is no more work to do on this issue unless it re-occurs after the patch.

> Regionserver stuck on exit
> --------------------------
>
>                 Key: HBASE-500
>                 URL: https://issues.apache.org/jira/browse/HBASE-500
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.16.0, 0.2.0, 0.1.0
>            Reporter: stack
>         Attachments: patch.txt, stacktrace.txt
>
>
> Found in 0.16.0 cluster.  We're rolling a log and trying to split it too.  Looks like hung up locks.

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


[jira] Commented: (HBASE-500) Regionserver stuck on exit

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12576472#action_12576472 ] 

stack commented on HBASE-500:
-----------------------------

Attached threaddump

> Regionserver stuck on exit
> --------------------------
>
>                 Key: HBASE-500
>                 URL: https://issues.apache.org/jira/browse/HBASE-500
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.1.0, 0.2.0, 0.16.0
>            Reporter: stack
>         Attachments: stacktrace.txt
>
>
> Found in 0.16.0 cluster.  We're rolling a log and trying to split it too.  Looks like hung up locks.

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


[jira] Resolved: (HBASE-500) Regionserver stuck on exit

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

stack resolved HBASE-500.
-------------------------

    Resolution: Fixed

We don't see this issue any more.   Resolvling.

> Regionserver stuck on exit
> --------------------------
>
>                 Key: HBASE-500
>                 URL: https://issues.apache.org/jira/browse/HBASE-500
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.16.0, 0.1.0, 0.2.0
>            Reporter: stack
>         Attachments: patch.txt, stacktrace.txt
>
>
> Found in 0.16.0 cluster.  We're rolling a log and trying to split it too.  Looks like hung up locks.

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


[jira] Updated: (HBASE-500) Regionserver stuck on exit

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

Jim Kellerman updated HBASE-500:
--------------------------------

    Status: Patch Available  (was: Open)

Although this patch may not address the root cause of this issue, it does fix an obvious error. Please review.

> Regionserver stuck on exit
> --------------------------
>
>                 Key: HBASE-500
>                 URL: https://issues.apache.org/jira/browse/HBASE-500
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.1.0, 0.16.0, 0.2.0
>            Reporter: stack
>            Assignee: Jim Kellerman
>         Attachments: patch.txt, stacktrace.txt
>
>
> Found in 0.16.0 cluster.  We're rolling a log and trying to split it too.  Looks like hung up locks.

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