You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Akash Ashok (JIRA)" <ji...@apache.org> on 2011/06/25 08:08:47 UTC

[jira] [Created] (HBASE-4034) HRegionServer should be stopped even if no META regions are hosted by the HRegionServer

HRegionServer should be stopped even if no META regions are hosted by the HRegionServer
---------------------------------------------------------------------------------------

                 Key: HBASE-4034
                 URL: https://issues.apache.org/jira/browse/HBASE-4034
             Project: HBase
          Issue Type: Bug
            Reporter: Akash Ashok


HRegionServer always makes sure one META region is hosted for it to stop. This should be changed so that even if no META regions are hosted, the HRegionServer should be stopped once all user regions are closed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4034) HRegionServer should be stopped even if no META regions are hosted by the HRegionServer

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

Akash Ashok updated HBASE-4034:
-------------------------------

    Attachment:     (was: hbase-4029.patch)

> HRegionServer should be stopped even if no META regions are hosted by the HRegionServer
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-4034
>                 URL: https://issues.apache.org/jira/browse/HBASE-4034
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>            Reporter: Akash Ashok
>            Assignee: Akash Ashok
>              Labels: regionserver
>             Fix For: 0.92.0
>
>         Attachments: hbase-4034.patch
>
>
> HRegionServer always makes sure one META region is hosted for it to stop. This should be changed so that even if no META regions are hosted, the HRegionServer should be stopped once all user regions are closed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4034) HRegionServer should be stopped even if no META regions are hosted by the HRegionServer

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

Akash Ashok updated HBASE-4034:
-------------------------------

    Component/s: regionserver

> HRegionServer should be stopped even if no META regions are hosted by the HRegionServer
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-4034
>                 URL: https://issues.apache.org/jira/browse/HBASE-4034
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>            Reporter: Akash Ashok
>            Assignee: Akash Ashok
>              Labels: regionserver
>             Fix For: 0.92.0
>
>         Attachments: hbase-4034.patch
>
>
> HRegionServer always makes sure one META region is hosted for it to stop. This should be changed so that even if no META regions are hosted, the HRegionServer should be stopped once all user regions are closed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (HBASE-4034) HRegionServer should be stopped even if no META regions are hosted by the HRegionServer

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

Akash Ashok reassigned HBASE-4034:
----------------------------------

    Assignee: Akash Ashok

> HRegionServer should be stopped even if no META regions are hosted by the HRegionServer
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-4034
>                 URL: https://issues.apache.org/jira/browse/HBASE-4034
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Akash Ashok
>            Assignee: Akash Ashok
>              Labels: regionserver
>
> HRegionServer always makes sure one META region is hosted for it to stop. This should be changed so that even if no META regions are hosted, the HRegionServer should be stopped once all user regions are closed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4034) HRegionServer should be stopped even if no META regions are hosted by the HRegionServer

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

Ted Yu commented on HBASE-4034:
-------------------------------

+1 on patch version 2.

> HRegionServer should be stopped even if no META regions are hosted by the HRegionServer
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-4034
>                 URL: https://issues.apache.org/jira/browse/HBASE-4034
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>            Reporter: Akash Ashok
>            Assignee: Akash Ashok
>              Labels: regionserver
>             Fix For: 0.92.0
>
>         Attachments: hbase-4034.patch, hbase-4034_v2.patch
>
>
> HRegionServer always makes sure one META region is hosted for it to stop. This should be changed so that even if no META regions are hosted, the HRegionServer should be stopped once all user regions are closed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4034) HRegionServer should be stopped even if no META regions are hosted by the HRegionServer

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

Hudson commented on HBASE-4034:
-------------------------------

Integrated in HBase-TRUNK #2002 (See [https://builds.apache.org/job/HBase-TRUNK/2002/])
    HBASE-4034 HRegionServer should be stopped even if no META regions are hosted by the HRegionServer

stack : 
Files : 
* /hbase/trunk/CHANGES.txt
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java


> HRegionServer should be stopped even if no META regions are hosted by the HRegionServer
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-4034
>                 URL: https://issues.apache.org/jira/browse/HBASE-4034
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>            Reporter: Akash Ashok
>            Assignee: Akash Ashok
>              Labels: regionserver
>             Fix For: 0.92.0
>
>         Attachments: hbase-4034.patch, hbase-4034_v2.patch
>
>
> HRegionServer always makes sure one META region is hosted for it to stop. This should be changed so that even if no META regions are hosted, the HRegionServer should be stopped once all user regions are closed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4034) HRegionServer should be stopped even if no META regions are hosted by the HRegionServer

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

Akash Ashok updated HBASE-4034:
-------------------------------

    Fix Version/s: 0.92.0
           Status: Patch Available  (was: In Progress)

> HRegionServer should be stopped even if no META regions are hosted by the HRegionServer
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-4034
>                 URL: https://issues.apache.org/jira/browse/HBASE-4034
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>            Reporter: Akash Ashok
>            Assignee: Akash Ashok
>              Labels: regionserver
>             Fix For: 0.92.0
>
>         Attachments: hbase-4034.patch
>
>
> HRegionServer always makes sure one META region is hosted for it to stop. This should be changed so that even if no META regions are hosted, the HRegionServer should be stopped once all user regions are closed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4034) HRegionServer should be stopped even if no META regions are hosted by the HRegionServer

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

Akash Ashok updated HBASE-4034:
-------------------------------

    Attachment: hbase-4034.patch

> HRegionServer should be stopped even if no META regions are hosted by the HRegionServer
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-4034
>                 URL: https://issues.apache.org/jira/browse/HBASE-4034
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Akash Ashok
>            Assignee: Akash Ashok
>              Labels: regionserver
>         Attachments: hbase-4034.patch
>
>
> HRegionServer always makes sure one META region is hosted for it to stop. This should be changed so that even if no META regions are hosted, the HRegionServer should be stopped once all user regions are closed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4034) HRegionServer should be stopped even if no META regions are hosted by the HRegionServer

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

stack updated HBASE-4034:
-------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

Committed to TRUNK.  Thank you for the patch Akash

> HRegionServer should be stopped even if no META regions are hosted by the HRegionServer
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-4034
>                 URL: https://issues.apache.org/jira/browse/HBASE-4034
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>            Reporter: Akash Ashok
>            Assignee: Akash Ashok
>              Labels: regionserver
>             Fix For: 0.92.0
>
>         Attachments: hbase-4034.patch, hbase-4034_v2.patch
>
>
> HRegionServer always makes sure one META region is hosted for it to stop. This should be changed so that even if no META regions are hosted, the HRegionServer should be stopped once all user regions are closed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4034) HRegionServer should be stopped even if no META regions are hosted by the HRegionServer

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

Akash Ashok commented on HBASE-4034:
------------------------------------

I ran only the regionsserver tests. That should be fine right ?

> HRegionServer should be stopped even if no META regions are hosted by the HRegionServer
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-4034
>                 URL: https://issues.apache.org/jira/browse/HBASE-4034
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>            Reporter: Akash Ashok
>            Assignee: Akash Ashok
>              Labels: regionserver
>             Fix For: 0.92.0
>
>         Attachments: hbase-4034.patch, hbase-4034_v2.patch
>
>
> HRegionServer always makes sure one META region is hosted for it to stop. This should be changed so that even if no META regions are hosted, the HRegionServer should be stopped once all user regions are closed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4034) HRegionServer should be stopped even if no META regions are hosted by the HRegionServer

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

Akash Ashok commented on HBASE-4034:
------------------------------------

I have made the change and I have attached the new patch. I have run the test suite. 2 Tests DisabledTestRegionServerExit and TestSplitTransactionOnCluster FAILED before and after the patch. So I believe it wasn't caused by the patch.

> HRegionServer should be stopped even if no META regions are hosted by the HRegionServer
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-4034
>                 URL: https://issues.apache.org/jira/browse/HBASE-4034
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>            Reporter: Akash Ashok
>            Assignee: Akash Ashok
>              Labels: regionserver
>             Fix For: 0.92.0
>
>         Attachments: hbase-4034.patch, hbase-4034_v2.patch
>
>
> HRegionServer always makes sure one META region is hosted for it to stop. This should be changed so that even if no META regions are hosted, the HRegionServer should be stopped once all user regions are closed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Work started] (HBASE-4034) HRegionServer should be stopped even if no META regions are hosted by the HRegionServer

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

Work on HBASE-4034 started by Akash Ashok.

> HRegionServer should be stopped even if no META regions are hosted by the HRegionServer
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-4034
>                 URL: https://issues.apache.org/jira/browse/HBASE-4034
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Akash Ashok
>            Assignee: Akash Ashok
>              Labels: regionserver
>
> HRegionServer always makes sure one META region is hosted for it to stop. This should be changed so that even if no META regions are hosted, the HRegionServer should be stopped once all user regions are closed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4034) HRegionServer should be stopped even if no META regions are hosted by the HRegionServer

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

Akash Ashok updated HBASE-4034:
-------------------------------

    Attachment: hbase-4034_v2.patch

> HRegionServer should be stopped even if no META regions are hosted by the HRegionServer
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-4034
>                 URL: https://issues.apache.org/jira/browse/HBASE-4034
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>            Reporter: Akash Ashok
>            Assignee: Akash Ashok
>              Labels: regionserver
>             Fix For: 0.92.0
>
>         Attachments: hbase-4034.patch, hbase-4034_v2.patch
>
>
> HRegionServer always makes sure one META region is hosted for it to stop. This should be changed so that even if no META regions are hosted, the HRegionServer should be stopped once all user regions are closed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4034) HRegionServer should be stopped even if no META regions are hosted by the HRegionServer

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

Akash Ashok updated HBASE-4034:
-------------------------------

    Attachment: hbase-4029.patch

> HRegionServer should be stopped even if no META regions are hosted by the HRegionServer
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-4034
>                 URL: https://issues.apache.org/jira/browse/HBASE-4034
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>            Reporter: Akash Ashok
>            Assignee: Akash Ashok
>              Labels: regionserver
>             Fix For: 0.92.0
>
>         Attachments: hbase-4034.patch
>
>
> HRegionServer always makes sure one META region is hosted for it to stop. This should be changed so that even if no META regions are hosted, the HRegionServer should be stopped once all user regions are closed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4034) HRegionServer should be stopped even if no META regions are hosted by the HRegionServer

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

Ted Yu commented on HBASE-4034:
-------------------------------

Normally whole test suite should be executed.
If the suite gets stuck in TestSplitTransactionOnCluster, e.g. you should run some other tests manually.

> HRegionServer should be stopped even if no META regions are hosted by the HRegionServer
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-4034
>                 URL: https://issues.apache.org/jira/browse/HBASE-4034
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>            Reporter: Akash Ashok
>            Assignee: Akash Ashok
>              Labels: regionserver
>             Fix For: 0.92.0
>
>         Attachments: hbase-4034.patch, hbase-4034_v2.patch
>
>
> HRegionServer always makes sure one META region is hosted for it to stop. This should be changed so that even if no META regions are hosted, the HRegionServer should be stopped once all user regions are closed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4034) HRegionServer should be stopped even if no META regions are hosted by the HRegionServer

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

Ted Yu commented on HBASE-4034:
-------------------------------

I think allUserRegionsOffline should be declared inside
{code}
} else if (this.stopping) {
{code}
block.

Have you run test suite ?

> HRegionServer should be stopped even if no META regions are hosted by the HRegionServer
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-4034
>                 URL: https://issues.apache.org/jira/browse/HBASE-4034
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>            Reporter: Akash Ashok
>            Assignee: Akash Ashok
>              Labels: regionserver
>             Fix For: 0.92.0
>
>         Attachments: hbase-4034.patch
>
>
> HRegionServer always makes sure one META region is hosted for it to stop. This should be changed so that even if no META regions are hosted, the HRegionServer should be stopped once all user regions are closed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira