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 "Izaak Rubin (JIRA)" <ji...@apache.org> on 2007/09/04 19:52:44 UTC

[jira] Created: (HADOOP-1833) HBase | bin/stop_hbase.sh returns before it completes

HBase | bin/stop_hbase.sh returns before it completes
-----------------------------------------------------

                 Key: HADOOP-1833
                 URL: https://issues.apache.org/jira/browse/HADOOP-1833
             Project: Hadoop
          Issue Type: Improvement
          Components: contrib/hbase
            Reporter: Izaak Rubin
            Priority: Minor


The HBase shutdown command ${HBASE_HOME}/bin/stop_hbase.sh returns before HBase has actually stopped.  This creates difficulty for users who may then accidentally stop the Hadoop daemons before HBase has stopped.  To address this, the shutdown command should hang until HBase has stopped instead of returning immediately.

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


[jira] Updated: (HADOOP-1833) HBase | bin/stop_hbase.sh returns before it completes

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

stack updated HADOOP-1833:
--------------------------

       Resolution: Fixed
    Fix Version/s: 0.15.0
           Status: Resolved  (was: Patch Available)

Committed.  Resolving the issue.   Thanks for the fix Izaak.

> HBase | bin/stop_hbase.sh returns before it completes
> -----------------------------------------------------
>
>                 Key: HADOOP-1833
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1833
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: contrib/hbase
>            Reporter: Izaak Rubin
>            Priority: Minor
>             Fix For: 0.15.0
>
>         Attachments: hbase-stop.patch
>
>
> The HBase shutdown command ${HBASE_HOME}/bin/stop_hbase.sh returns before HBase has actually stopped.  This creates difficulty for users who may then accidentally stop the Hadoop daemons before HBase has stopped.  To address this, the shutdown command should hang until HBase has stopped instead of returning immediately.

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


[jira] Commented: (HADOOP-1833) HBase | bin/stop_hbase.sh returns before it completes

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

stack commented on HADOOP-1833:
-------------------------------

+1.  Looks good Izaak.  I tried it out on our little cluster.

> HBase | bin/stop_hbase.sh returns before it completes
> -----------------------------------------------------
>
>                 Key: HADOOP-1833
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1833
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: contrib/hbase
>            Reporter: Izaak Rubin
>            Priority: Minor
>         Attachments: hbase-stop.patch
>
>
> The HBase shutdown command ${HBASE_HOME}/bin/stop_hbase.sh returns before HBase has actually stopped.  This creates difficulty for users who may then accidentally stop the Hadoop daemons before HBase has stopped.  To address this, the shutdown command should hang until HBase has stopped instead of returning immediately.

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


[jira] Updated: (HADOOP-1833) HBase | bin/stop_hbase.sh returns before it completes

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

Izaak Rubin updated HADOOP-1833:
--------------------------------

    Attachment: hbase-stop.patch

This patch alters ${HBASE_HOME}/bin/hbase-daemon.sh such that it stalls the bin/stop-hbase.sh command (printing "." every second) until hbase has actually stopped.

All test have passed on my local machine.

> HBase | bin/stop_hbase.sh returns before it completes
> -----------------------------------------------------
>
>                 Key: HADOOP-1833
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1833
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: contrib/hbase
>            Reporter: Izaak Rubin
>            Priority: Minor
>         Attachments: hbase-stop.patch
>
>
> The HBase shutdown command ${HBASE_HOME}/bin/stop_hbase.sh returns before HBase has actually stopped.  This creates difficulty for users who may then accidentally stop the Hadoop daemons before HBase has stopped.  To address this, the shutdown command should hang until HBase has stopped instead of returning immediately.

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


[jira] Commented: (HADOOP-1833) HBase | bin/stop_hbase.sh returns before it completes

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

Hadoop QA commented on HADOOP-1833:
-----------------------------------

+1

http://issues.apache.org/jira/secure/attachment/12365302/hbase-stop.patch applied and successfully tested against trunk revision r573513.

Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/712/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/712/console

> HBase | bin/stop_hbase.sh returns before it completes
> -----------------------------------------------------
>
>                 Key: HADOOP-1833
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1833
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: contrib/hbase
>            Reporter: Izaak Rubin
>            Priority: Minor
>         Attachments: hbase-stop.patch
>
>
> The HBase shutdown command ${HBASE_HOME}/bin/stop_hbase.sh returns before HBase has actually stopped.  This creates difficulty for users who may then accidentally stop the Hadoop daemons before HBase has stopped.  To address this, the shutdown command should hang until HBase has stopped instead of returning immediately.

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


[jira] Updated: (HADOOP-1833) HBase | bin/stop_hbase.sh returns before it completes

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

Izaak Rubin updated HADOOP-1833:
--------------------------------

    Status: Patch Available  (was: Open)

Trying on Hudson.

> HBase | bin/stop_hbase.sh returns before it completes
> -----------------------------------------------------
>
>                 Key: HADOOP-1833
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1833
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: contrib/hbase
>            Reporter: Izaak Rubin
>            Priority: Minor
>         Attachments: hbase-stop.patch
>
>
> The HBase shutdown command ${HBASE_HOME}/bin/stop_hbase.sh returns before HBase has actually stopped.  This creates difficulty for users who may then accidentally stop the Hadoop daemons before HBase has stopped.  To address this, the shutdown command should hang until HBase has stopped instead of returning immediately.

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