[jira] [Updated] (HBASE-4478) Improve AssignmentManager.handleRegion so that it can process certain ZK state in the case of RS offline

2015-11-09 Thread Lars Francke (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-4478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lars Francke updated HBASE-4478:

Fix Version/s: 0.92.0
   0.94.0

> Improve AssignmentManager.handleRegion so that it can process certain ZK 
> state in the case of RS offline
> 
>
> Key: HBASE-4478
> URL: https://issues.apache.org/jira/browse/HBASE-4478
> Project: HBase
>  Issue Type: Bug
>Reporter: Ming Ma
>Assignee: ramkrishna.s.vasudevan
> Fix For: 0.92.0, 0.94.0
>
> Attachments: 4478-v2.txt, HBASE-4478_1.patch
>
>
> Currently AssignmentManager.handleRegion skips processing of ZK event change 
> if the RS is offline. It relies on TimeoutMonitor and ServerShutdownHandler 
> to process RIT.
>   // Verify this is a known server
>   if (!serverManager.isServerOnline(sn) &&
>   !this.master.getServerName().equals(sn)) {
> LOG.warn("Attempted to handle region transition for server but " +
>   "server is not online: " + Bytes.toString(data.getRegionName()));
> return;
>   }
> For certain states like OPENED, OPENING, FAILED_OPEN, CLOSED, it can continue 
> the progressing even if the RS is offline.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-4478) Improve AssignmentManager.handleRegion so that it can process certain ZK state in the case of RS offline

2011-11-12 Thread Ted Yu (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-4478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu updated HBASE-4478:
--

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

 Improve AssignmentManager.handleRegion so that it can process certain ZK 
 state in the case of RS offline
 

 Key: HBASE-4478
 URL: https://issues.apache.org/jira/browse/HBASE-4478
 Project: HBase
  Issue Type: Bug
Reporter: Ming Ma
Assignee: ramkrishna.s.vasudevan
 Attachments: 4478-v2.txt, HBASE-4478_1.patch


 Currently AssignmentManager.handleRegion skips processing of ZK event change 
 if the RS is offline. It relies on TimeoutMonitor and ServerShutdownHandler 
 to process RIT.
   // Verify this is a known server
   if (!serverManager.isServerOnline(sn) 
   !this.master.getServerName().equals(sn)) {
 LOG.warn(Attempted to handle region transition for server but  +
   server is not online:  + Bytes.toString(data.getRegionName()));
 return;
   }
 For certain states like OPENED, OPENING, FAILED_OPEN, CLOSED, it can continue 
 the progressing even if the RS is offline.

--
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-4478) Improve AssignmentManager.handleRegion so that it can process certain ZK state in the case of RS offline

2011-11-10 Thread Ted Yu (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-4478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu updated HBASE-4478:
--

Attachment: HBASE-4478_1.patch

Patch from Ramkrishna.

 Improve AssignmentManager.handleRegion so that it can process certain ZK 
 state in the case of RS offline
 

 Key: HBASE-4478
 URL: https://issues.apache.org/jira/browse/HBASE-4478
 Project: HBase
  Issue Type: Bug
Reporter: Ming Ma
Assignee: ramkrishna.s.vasudevan
 Attachments: HBASE-4478_1.patch


 Currently AssignmentManager.handleRegion skips processing of ZK event change 
 if the RS is offline. It relies on TimeoutMonitor and ServerShutdownHandler 
 to process RIT.
   // Verify this is a known server
   if (!serverManager.isServerOnline(sn) 
   !this.master.getServerName().equals(sn)) {
 LOG.warn(Attempted to handle region transition for server but  +
   server is not online:  + Bytes.toString(data.getRegionName()));
 return;
   }
 For certain states like OPENED, OPENING, FAILED_OPEN, CLOSED, it can continue 
 the progressing even if the RS is offline.

--
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-4478) Improve AssignmentManager.handleRegion so that it can process certain ZK state in the case of RS offline

2011-11-10 Thread Ted Yu (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-4478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu updated HBASE-4478:
--

Status: Patch Available  (was: Open)

 Improve AssignmentManager.handleRegion so that it can process certain ZK 
 state in the case of RS offline
 

 Key: HBASE-4478
 URL: https://issues.apache.org/jira/browse/HBASE-4478
 Project: HBase
  Issue Type: Bug
Reporter: Ming Ma
Assignee: ramkrishna.s.vasudevan
 Attachments: HBASE-4478_1.patch


 Currently AssignmentManager.handleRegion skips processing of ZK event change 
 if the RS is offline. It relies on TimeoutMonitor and ServerShutdownHandler 
 to process RIT.
   // Verify this is a known server
   if (!serverManager.isServerOnline(sn) 
   !this.master.getServerName().equals(sn)) {
 LOG.warn(Attempted to handle region transition for server but  +
   server is not online:  + Bytes.toString(data.getRegionName()));
 return;
   }
 For certain states like OPENED, OPENING, FAILED_OPEN, CLOSED, it can continue 
 the progressing even if the RS is offline.

--
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-4478) Improve AssignmentManager.handleRegion so that it can process certain ZK state in the case of RS offline

2011-11-10 Thread Ted Yu (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-4478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu updated HBASE-4478:
--

Status: Open  (was: Patch Available)

 Improve AssignmentManager.handleRegion so that it can process certain ZK 
 state in the case of RS offline
 

 Key: HBASE-4478
 URL: https://issues.apache.org/jira/browse/HBASE-4478
 Project: HBase
  Issue Type: Bug
Reporter: Ming Ma
Assignee: ramkrishna.s.vasudevan
 Attachments: 4478-v2.txt, HBASE-4478_1.patch


 Currently AssignmentManager.handleRegion skips processing of ZK event change 
 if the RS is offline. It relies on TimeoutMonitor and ServerShutdownHandler 
 to process RIT.
   // Verify this is a known server
   if (!serverManager.isServerOnline(sn) 
   !this.master.getServerName().equals(sn)) {
 LOG.warn(Attempted to handle region transition for server but  +
   server is not online:  + Bytes.toString(data.getRegionName()));
 return;
   }
 For certain states like OPENED, OPENING, FAILED_OPEN, CLOSED, it can continue 
 the progressing even if the RS is offline.

--
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-4478) Improve AssignmentManager.handleRegion so that it can process certain ZK state in the case of RS offline

2011-11-10 Thread Ted Yu (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-4478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu updated HBASE-4478:
--

Attachment: 4478-v2.txt

Rebased Ramkrishna's patch on TRUNK.

 Improve AssignmentManager.handleRegion so that it can process certain ZK 
 state in the case of RS offline
 

 Key: HBASE-4478
 URL: https://issues.apache.org/jira/browse/HBASE-4478
 Project: HBase
  Issue Type: Bug
Reporter: Ming Ma
Assignee: ramkrishna.s.vasudevan
 Attachments: 4478-v2.txt, HBASE-4478_1.patch


 Currently AssignmentManager.handleRegion skips processing of ZK event change 
 if the RS is offline. It relies on TimeoutMonitor and ServerShutdownHandler 
 to process RIT.
   // Verify this is a known server
   if (!serverManager.isServerOnline(sn) 
   !this.master.getServerName().equals(sn)) {
 LOG.warn(Attempted to handle region transition for server but  +
   server is not online:  + Bytes.toString(data.getRegionName()));
 return;
   }
 For certain states like OPENED, OPENING, FAILED_OPEN, CLOSED, it can continue 
 the progressing even if the RS is offline.

--
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-4478) Improve AssignmentManager.handleRegion so that it can process certain ZK state in the case of RS offline

2011-11-10 Thread Ted Yu (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-4478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu updated HBASE-4478:
--

Status: Patch Available  (was: Open)

Patch testing v2.

 Improve AssignmentManager.handleRegion so that it can process certain ZK 
 state in the case of RS offline
 

 Key: HBASE-4478
 URL: https://issues.apache.org/jira/browse/HBASE-4478
 Project: HBase
  Issue Type: Bug
Reporter: Ming Ma
Assignee: ramkrishna.s.vasudevan
 Attachments: 4478-v2.txt, HBASE-4478_1.patch


 Currently AssignmentManager.handleRegion skips processing of ZK event change 
 if the RS is offline. It relies on TimeoutMonitor and ServerShutdownHandler 
 to process RIT.
   // Verify this is a known server
   if (!serverManager.isServerOnline(sn) 
   !this.master.getServerName().equals(sn)) {
 LOG.warn(Attempted to handle region transition for server but  +
   server is not online:  + Bytes.toString(data.getRegionName()));
 return;
   }
 For certain states like OPENED, OPENING, FAILED_OPEN, CLOSED, it can continue 
 the progressing even if the RS is offline.

--
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