You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "wanbin (Created) (JIRA)" <ji...@apache.org> on 2011/10/07 06:22:29 UTC

[jira] [Created] (HBASE-4550) When master passed regionserver different address , because regionserver didn't create new zookeeper znode, as a result stop-hbase.sh is hang

When master passed regionserver different address , because regionserver didn't create new zookeeper znode,  as  a result stop-hbase.sh is hang
-----------------------------------------------------------------------------------------------------------------------------------------------

                 Key: HBASE-4550
                 URL: https://issues.apache.org/jira/browse/HBASE-4550
             Project: HBase
          Issue Type: Bug
          Components: regionserver
    Affects Versions: 0.90.3
            Reporter: wanbin
             Fix For: 0.90.4


when master passed regionserver different address, regionserver didn't create new zookeeper znode, master store new address in ServerManager, when call stop-hbase.sh , RegionServerTracker.nodeDeleted received path is old address, serverManager.expireServer is not be called. so stop-hbase.sh is hang.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4550) When master passed regionserver different address , because regionserver didn't create new zookeeper znode, as a result stop-hbase.sh is hang

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

Ted Yu commented on HBASE-4550:
-------------------------------

@Wanbin:
The patch is a diff file.
Can you produce patch files for 0.90 and 0.92 ?

Good job.
                
> When master passed regionserver different address , because regionserver didn't create new zookeeper znode,  as  a result stop-hbase.sh is hang
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-4550
>                 URL: https://issues.apache.org/jira/browse/HBASE-4550
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.90.3
>            Reporter: wanbin
>            Assignee: wanbin
>             Fix For: 0.90.5
>
>         Attachments: patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> when master passed regionserver different address, regionserver didn't create new zookeeper znode, master store new address in ServerManager, when call stop-hbase.sh , RegionServerTracker.nodeDeleted received path is old address, serverManager.expireServer is not be called. so stop-hbase.sh is hang.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4550) When master passed regionserver different address , because regionserver didn't create new zookeeper znode, as a result stop-hbase.sh is hang

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

wanbin updated HBASE-4550:
--------------------------

    Attachment: patch
    
> When master passed regionserver different address , because regionserver didn't create new zookeeper znode,  as  a result stop-hbase.sh is hang
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-4550
>                 URL: https://issues.apache.org/jira/browse/HBASE-4550
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.90.3
>            Reporter: wanbin
>         Attachments: patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> when master passed regionserver different address, regionserver didn't create new zookeeper znode, master store new address in ServerManager, when call stop-hbase.sh , RegionServerTracker.nodeDeleted received path is old address, serverManager.expireServer is not be called. so stop-hbase.sh is hang.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4550) When master passed regionserver different address , because regionserver didn't create new zookeeper znode, as a result stop-hbase.sh is hang

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

stack updated HBASE-4550:
-------------------------

    Fix Version/s: 0.90.5
     Hadoop Flags: Reviewed
           Status: Patch Available  (was: Open)

+1 on patch.  Should we apply to 0.90?
                
> When master passed regionserver different address , because regionserver didn't create new zookeeper znode,  as  a result stop-hbase.sh is hang
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-4550
>                 URL: https://issues.apache.org/jira/browse/HBASE-4550
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.90.3
>            Reporter: wanbin
>             Fix For: 0.90.5
>
>         Attachments: patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> when master passed regionserver different address, regionserver didn't create new zookeeper znode, master store new address in ServerManager, when call stop-hbase.sh , RegionServerTracker.nodeDeleted received path is old address, serverManager.expireServer is not be called. so stop-hbase.sh is hang.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4550) When master passed regionserver different address , because regionserver didn't create new zookeeper znode, as a result stop-hbase.sh is hang

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

wanbin commented on HBASE-4550:
-------------------------------

I use 0.90.3 , so I produce patch files for 0.90.3.
I checkout 0.92 sourcecode, find handleReportForDutyResponse() has more differnce. I don't know if 0.92 has this problem.

                
> When master passed regionserver different address , because regionserver didn't create new zookeeper znode,  as  a result stop-hbase.sh is hang
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-4550
>                 URL: https://issues.apache.org/jira/browse/HBASE-4550
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.90.3
>            Reporter: wanbin
>            Assignee: wanbin
>             Fix For: 0.90.5
>
>         Attachments: patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> when master passed regionserver different address, regionserver didn't create new zookeeper znode, master store new address in ServerManager, when call stop-hbase.sh , RegionServerTracker.nodeDeleted received path is old address, serverManager.expireServer is not be called. so stop-hbase.sh is hang.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4550) When master passed regionserver different address , because regionserver didn't create new zookeeper znode, as a result stop-hbase.sh is hang

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

wanbin commented on HBASE-4550:
-------------------------------

I fixed this problem, somebody can check it. thanks.
                
> When master passed regionserver different address , because regionserver didn't create new zookeeper znode,  as  a result stop-hbase.sh is hang
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-4550
>                 URL: https://issues.apache.org/jira/browse/HBASE-4550
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.90.3
>            Reporter: wanbin
>         Attachments: patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> when master passed regionserver different address, regionserver didn't create new zookeeper znode, master store new address in ServerManager, when call stop-hbase.sh , RegionServerTracker.nodeDeleted received path is old address, serverManager.expireServer is not be called. so stop-hbase.sh is hang.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4550) When master passed regionserver different address , because regionserver didn't create new zookeeper znode, as a result stop-hbase.sh is hang

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

wanbin updated HBASE-4550:
--------------------------

    Attachment: hbase-0.90.3.patch
    
> When master passed regionserver different address , because regionserver didn't create new zookeeper znode,  as  a result stop-hbase.sh is hang
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-4550
>                 URL: https://issues.apache.org/jira/browse/HBASE-4550
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.90.3
>            Reporter: wanbin
>            Assignee: wanbin
>             Fix For: 0.90.5
>
>         Attachments: hbase-0.90.3.patch, patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> when master passed regionserver different address, regionserver didn't create new zookeeper znode, master store new address in ServerManager, when call stop-hbase.sh , RegionServerTracker.nodeDeleted received path is old address, serverManager.expireServer is not be called. so stop-hbase.sh is hang.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4550) When master passed regionserver different address , because regionserver didn't create new zookeeper znode, as a result stop-hbase.sh is hang

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

wanbin commented on HBASE-4550:
-------------------------------

ok.
                
> When master passed regionserver different address , because regionserver didn't create new zookeeper znode,  as  a result stop-hbase.sh is hang
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-4550
>                 URL: https://issues.apache.org/jira/browse/HBASE-4550
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.90.3
>            Reporter: wanbin
>            Assignee: wanbin
>             Fix For: 0.90.5
>
>         Attachments: hbase-0.90.3.patch, patch, patch.txt
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> when master passed regionserver different address, regionserver didn't create new zookeeper znode, master store new address in ServerManager, when call stop-hbase.sh , RegionServerTracker.nodeDeleted received path is old address, serverManager.expireServer is not be called. so stop-hbase.sh is hang.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4550) When master passed regionserver different address , because regionserver didn't create new zookeeper znode, as a result stop-hbase.sh is hang

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

wanbin updated HBASE-4550:
--------------------------

    Fix Version/s:     (was: 0.90.4)
    
> When master passed regionserver different address , because regionserver didn't create new zookeeper znode,  as  a result stop-hbase.sh is hang
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-4550
>                 URL: https://issues.apache.org/jira/browse/HBASE-4550
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.90.3
>            Reporter: wanbin
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> when master passed regionserver different address, regionserver didn't create new zookeeper znode, master store new address in ServerManager, when call stop-hbase.sh , RegionServerTracker.nodeDeleted received path is old address, serverManager.expireServer is not be called. so stop-hbase.sh is hang.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4550) When master passed regionserver different address , because regionserver didn't create new zookeeper znode, as a result stop-hbase.sh is hang

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

Ted Yu commented on HBASE-4550:
-------------------------------

@wanbin:
Can you check out 0.90 HEAD and provide a patch ?

Also, indentation is slightly off.
See HBASE-3678 for Eclipse formatter.

Thanks
                
> When master passed regionserver different address , because regionserver didn't create new zookeeper znode,  as  a result stop-hbase.sh is hang
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-4550
>                 URL: https://issues.apache.org/jira/browse/HBASE-4550
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.90.3
>            Reporter: wanbin
>            Assignee: wanbin
>             Fix For: 0.90.5
>
>         Attachments: hbase-0.90.3.patch, patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> when master passed regionserver different address, regionserver didn't create new zookeeper znode, master store new address in ServerManager, when call stop-hbase.sh , RegionServerTracker.nodeDeleted received path is old address, serverManager.expireServer is not be called. so stop-hbase.sh is hang.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4550) When master passed regionserver different address , because regionserver didn't create new zookeeper znode, as a result stop-hbase.sh is hang

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

wanbin updated HBASE-4550:
--------------------------

    Attachment: patch.txt
    
> When master passed regionserver different address , because regionserver didn't create new zookeeper znode,  as  a result stop-hbase.sh is hang
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-4550
>                 URL: https://issues.apache.org/jira/browse/HBASE-4550
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.90.3
>            Reporter: wanbin
>            Assignee: wanbin
>             Fix For: 0.90.5
>
>         Attachments: hbase-0.90.3.patch, patch, patch.txt
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> when master passed regionserver different address, regionserver didn't create new zookeeper znode, master store new address in ServerManager, when call stop-hbase.sh , RegionServerTracker.nodeDeleted received path is old address, serverManager.expireServer is not be called. so stop-hbase.sh is hang.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4550) When master passed regionserver different address , because regionserver didn't create new zookeeper znode, as a result stop-hbase.sh is hang

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

wanbin commented on HBASE-4550:
-------------------------------

I check hbase trunk code , it's seem no problem.
                
> When master passed regionserver different address , because regionserver didn't create new zookeeper znode,  as  a result stop-hbase.sh is hang
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-4550
>                 URL: https://issues.apache.org/jira/browse/HBASE-4550
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.90.3
>            Reporter: wanbin
>            Assignee: wanbin
>             Fix For: 0.90.7
>
>         Attachments: hbase-0.90.3.patch, patch, patch.txt
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> when master passed regionserver different address, regionserver didn't create new zookeeper znode, master store new address in ServerManager, when call stop-hbase.sh , RegionServerTracker.nodeDeleted received path is old address, serverManager.expireServer is not be called. so stop-hbase.sh is hang.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (HBASE-4550) When master passed regionserver different address , because regionserver didn't create new zookeeper znode, as a result stop-hbase.sh is hang

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

Ted Yu reassigned HBASE-4550:
-----------------------------

    Assignee: wanbin
    
> When master passed regionserver different address , because regionserver didn't create new zookeeper znode,  as  a result stop-hbase.sh is hang
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-4550
>                 URL: https://issues.apache.org/jira/browse/HBASE-4550
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.90.3
>            Reporter: wanbin
>            Assignee: wanbin
>             Fix For: 0.90.5
>
>         Attachments: patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> when master passed regionserver different address, regionserver didn't create new zookeeper znode, master store new address in ServerManager, when call stop-hbase.sh , RegionServerTracker.nodeDeleted received path is old address, serverManager.expireServer is not be called. so stop-hbase.sh is hang.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4550) When master passed regionserver different address , because regionserver didn't create new zookeeper znode, as a result stop-hbase.sh is hang

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

stack commented on HBASE-4550:
------------------------------

+1 on committing to 0.90 branch.  We do not have this issue on 0.92 and TRUNK because we do not register in zk until AFTER we report for duty (report for duty is where master can tell us use a different name).
                
> When master passed regionserver different address , because regionserver didn't create new zookeeper znode,  as  a result stop-hbase.sh is hang
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-4550
>                 URL: https://issues.apache.org/jira/browse/HBASE-4550
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.90.3
>            Reporter: wanbin
>            Assignee: wanbin
>             Fix For: 0.90.5
>
>         Attachments: hbase-0.90.3.patch, patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> when master passed regionserver different address, regionserver didn't create new zookeeper znode, master store new address in ServerManager, when call stop-hbase.sh , RegionServerTracker.nodeDeleted received path is old address, serverManager.expireServer is not be called. so stop-hbase.sh is hang.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4550) When master passed regionserver different address , because regionserver didn't create new zookeeper znode, as a result stop-hbase.sh is hang

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

ramkrishna.s.vasudevan updated HBASE-4550:
------------------------------------------

    Fix Version/s:     (was: 0.90.6)
                   0.90.7

@Wanbin
If you provide a new patch can be integrated to 0.90.7
Moving to 0.90.7
                
> When master passed regionserver different address , because regionserver didn't create new zookeeper znode,  as  a result stop-hbase.sh is hang
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-4550
>                 URL: https://issues.apache.org/jira/browse/HBASE-4550
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.90.3
>            Reporter: wanbin
>            Assignee: wanbin
>             Fix For: 0.90.7
>
>         Attachments: hbase-0.90.3.patch, patch, patch.txt
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> when master passed regionserver different address, regionserver didn't create new zookeeper znode, master store new address in ServerManager, when call stop-hbase.sh , RegionServerTracker.nodeDeleted received path is old address, serverManager.expireServer is not be called. so stop-hbase.sh is hang.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira