[jira] [Commented] (HBASE-8705) RS holding META when restarted in a single node setup may hang infinitely without META assignment

2013-07-22 Thread rajeshbabu (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-8705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13714954#comment-13714954
 ] 

rajeshbabu commented on HBASE-8705:
---

[~ram_krish],[~jxiang]
if we stop all region servers by hbase-deamon.sh stop command then .META. is 
never online with 10 seconds delay in starting a region server.
In single node cluster, many times .META. in transition after stopping the RS.
Can we retry meta assignment even after max attempts until we find some online 
region server. Otherwise we need to run hbck everytime in this common case.
What do you say?
 



 RS holding META when restarted in a single node setup may hang infinitely 
 without META assignment
 -

 Key: HBASE-8705
 URL: https://issues.apache.org/jira/browse/HBASE-8705
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.95.1
Reporter: ramkrishna.s.vasudevan
Assignee: ramkrishna.s.vasudevan
Priority: Minor
 Fix For: 0.98.0, 0.95.2

 Attachments: HBASE-8705_1.patch, HBASE-8705_2.patch, HBASE-8705.patch


 This bug may be minor as it likely to happen in a single node setup.
 I restarted the RS holding META. The master tried assigning META using 
 MetaSSH. But tried this before the new RS came up.
 So as not region plan is found 
 {code}
  if (plan == null) {
 LOG.warn(Unable to determine a plan to assign  + region);
 if (tomActivated){
   this.timeoutMonitor.setAllRegionServersOffline(true);
 } else {
   regionStates.updateRegionState(region, 
 RegionState.State.FAILED_OPEN);
 }
 return;
   }
 {code}
 we just return without assigment.  And this being the META the small cluster 
 just hangs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-8705) RS holding META when restarted in a single node setup may hang infinitely without META assignment

2013-07-22 Thread ramkrishna.s.vasudevan (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-8705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13715064#comment-13715064
 ] 

ramkrishna.s.vasudevan commented on HBASE-8705:
---

In single node cluster, many times .META. in transition after stopping the RS.
Is there any easy way to identify a single node cluster?  Or you mean to say if 
online servers are 0 keep waiting till it becomes atleast 1?

 RS holding META when restarted in a single node setup may hang infinitely 
 without META assignment
 -

 Key: HBASE-8705
 URL: https://issues.apache.org/jira/browse/HBASE-8705
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.95.1
Reporter: ramkrishna.s.vasudevan
Assignee: ramkrishna.s.vasudevan
Priority: Minor
 Fix For: 0.98.0, 0.95.2

 Attachments: HBASE-8705_1.patch, HBASE-8705_2.patch, HBASE-8705.patch


 This bug may be minor as it likely to happen in a single node setup.
 I restarted the RS holding META. The master tried assigning META using 
 MetaSSH. But tried this before the new RS came up.
 So as not region plan is found 
 {code}
  if (plan == null) {
 LOG.warn(Unable to determine a plan to assign  + region);
 if (tomActivated){
   this.timeoutMonitor.setAllRegionServersOffline(true);
 } else {
   regionStates.updateRegionState(region, 
 RegionState.State.FAILED_OPEN);
 }
 return;
   }
 {code}
 we just return without assigment.  And this being the META the small cluster 
 just hangs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-8705) RS holding META when restarted in a single node setup may hang infinitely without META assignment

2013-07-22 Thread rajeshbabu (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-8705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13715076#comment-13715076
 ] 

rajeshbabu commented on HBASE-8705:
---

I mean we can retry until we find one online server to assign META.
After reaching max attempts if we reset i value to 0(only for META region), 
then we can check for online servers even after max attempts. If any one RS is 
online then META will be assinged.
{code}
  if (plan == null) {
LOG.warn(Unable to determine a plan to assign  + region);
if (tomActivated){
  this.timeoutMonitor.setAllRegionServersOffline(true);
} else {
  if (region.isMetaRegion()) {
try {
  if (i == maximumAttempts) {
i = 0;
  }
  Thread.sleep(this.sleepTimeBeforeRetryingMetaAssignment);
  continue;
} catch (InterruptedException e) {
  LOG.error(Got exception while waiting for META assignment);
  Thread.currentThread().interrupt();
}
  }
  regionStates.updateRegionState(region, RegionState.State.FAILED_OPEN);
}
return;
  }
{code}

 RS holding META when restarted in a single node setup may hang infinitely 
 without META assignment
 -

 Key: HBASE-8705
 URL: https://issues.apache.org/jira/browse/HBASE-8705
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.95.1
Reporter: ramkrishna.s.vasudevan
Assignee: ramkrishna.s.vasudevan
Priority: Minor
 Fix For: 0.98.0, 0.95.2

 Attachments: HBASE-8705_1.patch, HBASE-8705_2.patch, HBASE-8705.patch


 This bug may be minor as it likely to happen in a single node setup.
 I restarted the RS holding META. The master tried assigning META using 
 MetaSSH. But tried this before the new RS came up.
 So as not region plan is found 
 {code}
  if (plan == null) {
 LOG.warn(Unable to determine a plan to assign  + region);
 if (tomActivated){
   this.timeoutMonitor.setAllRegionServersOffline(true);
 } else {
   regionStates.updateRegionState(region, 
 RegionState.State.FAILED_OPEN);
 }
 return;
   }
 {code}
 we just return without assigment.  And this being the META the small cluster 
 just hangs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-8705) RS holding META when restarted in a single node setup may hang infinitely without META assignment

2013-07-22 Thread ramkrishna.s.vasudevan (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-8705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13715094#comment-13715094
 ] 

ramkrishna.s.vasudevan commented on HBASE-8705:
---

I got your point. If you are running a single cluster setup
{code}
sleepTimeBeforeRetryingMetaAssignment
{code}
Can you increase this config and if needed the maxTries also. Should a fix in 
the code needed here?

 RS holding META when restarted in a single node setup may hang infinitely 
 without META assignment
 -

 Key: HBASE-8705
 URL: https://issues.apache.org/jira/browse/HBASE-8705
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.95.1
Reporter: ramkrishna.s.vasudevan
Assignee: ramkrishna.s.vasudevan
Priority: Minor
 Fix For: 0.98.0, 0.95.2

 Attachments: HBASE-8705_1.patch, HBASE-8705_2.patch, HBASE-8705.patch


 This bug may be minor as it likely to happen in a single node setup.
 I restarted the RS holding META. The master tried assigning META using 
 MetaSSH. But tried this before the new RS came up.
 So as not region plan is found 
 {code}
  if (plan == null) {
 LOG.warn(Unable to determine a plan to assign  + region);
 if (tomActivated){
   this.timeoutMonitor.setAllRegionServersOffline(true);
 } else {
   regionStates.updateRegionState(region, 
 RegionState.State.FAILED_OPEN);
 }
 return;
   }
 {code}
 we just return without assigment.  And this being the META the small cluster 
 just hangs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-8705) RS holding META when restarted in a single node setup may hang infinitely without META assignment

2013-07-22 Thread rajeshbabu (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-8705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13715100#comment-13715100
 ] 

rajeshbabu commented on HBASE-8705:
---

bq. Can you increase this config and if needed the maxTries also. 
We can increase these values, but may not know the delay before starting new RS.
bq. Should a fix in the code needed here?
It will be better I feel. 

 RS holding META when restarted in a single node setup may hang infinitely 
 without META assignment
 -

 Key: HBASE-8705
 URL: https://issues.apache.org/jira/browse/HBASE-8705
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.95.1
Reporter: ramkrishna.s.vasudevan
Assignee: ramkrishna.s.vasudevan
Priority: Minor
 Fix For: 0.98.0, 0.95.2

 Attachments: HBASE-8705_1.patch, HBASE-8705_2.patch, HBASE-8705.patch


 This bug may be minor as it likely to happen in a single node setup.
 I restarted the RS holding META. The master tried assigning META using 
 MetaSSH. But tried this before the new RS came up.
 So as not region plan is found 
 {code}
  if (plan == null) {
 LOG.warn(Unable to determine a plan to assign  + region);
 if (tomActivated){
   this.timeoutMonitor.setAllRegionServersOffline(true);
 } else {
   regionStates.updateRegionState(region, 
 RegionState.State.FAILED_OPEN);
 }
 return;
   }
 {code}
 we just return without assigment.  And this being the META the small cluster 
 just hangs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-8705) RS holding META when restarted in a single node setup may hang infinitely without META assignment

2013-07-22 Thread ramkrishna.s.vasudevan (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-8705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13715151#comment-13715151
 ] 

ramkrishna.s.vasudevan commented on HBASE-8705:
---

Okie.. Come up with a patch.  If others agree we can commit it.  

 RS holding META when restarted in a single node setup may hang infinitely 
 without META assignment
 -

 Key: HBASE-8705
 URL: https://issues.apache.org/jira/browse/HBASE-8705
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.95.1
Reporter: ramkrishna.s.vasudevan
Assignee: ramkrishna.s.vasudevan
Priority: Minor
 Fix For: 0.98.0, 0.95.2

 Attachments: HBASE-8705_1.patch, HBASE-8705_2.patch, HBASE-8705.patch


 This bug may be minor as it likely to happen in a single node setup.
 I restarted the RS holding META. The master tried assigning META using 
 MetaSSH. But tried this before the new RS came up.
 So as not region plan is found 
 {code}
  if (plan == null) {
 LOG.warn(Unable to determine a plan to assign  + region);
 if (tomActivated){
   this.timeoutMonitor.setAllRegionServersOffline(true);
 } else {
   regionStates.updateRegionState(region, 
 RegionState.State.FAILED_OPEN);
 }
 return;
   }
 {code}
 we just return without assigment.  And this being the META the small cluster 
 just hangs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-8705) RS holding META when restarted in a single node setup may hang infinitely without META assignment

2013-06-22 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-8705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13691114#comment-13691114
 ] 

Hadoop QA commented on HBASE-8705:
--

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12588410/HBASE-8705_2.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:red}-1 tests included{color}.  The patch doesn't appear to include 
any new or modified tests.
Please justify why no new tests are needed for this 
patch.
Also please list what manual steps were performed to 
verify this patch.

{color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: 
https://builds.apache.org/job/PreCommit-HBASE-Build/6100//console

This message is automatically generated.

 RS holding META when restarted in a single node setup may hang infinitely 
 without META assignment
 -

 Key: HBASE-8705
 URL: https://issues.apache.org/jira/browse/HBASE-8705
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.95.1
Reporter: ramkrishna.s.vasudevan
Assignee: ramkrishna.s.vasudevan
Priority: Minor
 Fix For: 0.98.0, 0.95.2

 Attachments: HBASE-8705_1.patch, HBASE-8705_2.patch, HBASE-8705.patch


 This bug may be minor as it likely to happen in a single node setup.
 I restarted the RS holding META. The master tried assigning META using 
 MetaSSH. But tried this before the new RS came up.
 So as not region plan is found 
 {code}
  if (plan == null) {
 LOG.warn(Unable to determine a plan to assign  + region);
 if (tomActivated){
   this.timeoutMonitor.setAllRegionServersOffline(true);
 } else {
   regionStates.updateRegionState(region, 
 RegionState.State.FAILED_OPEN);
 }
 return;
   }
 {code}
 we just return without assigment.  And this being the META the small cluster 
 just hangs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-8705) RS holding META when restarted in a single node setup may hang infinitely without META assignment

2013-06-22 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-8705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13691152#comment-13691152
 ] 

Hudson commented on HBASE-8705:
---

Integrated in HBase-TRUNK #4196 (See 
[https://builds.apache.org/job/HBase-TRUNK/4196/])
HBASE-8705-RS holding META when restarted in a single node setup may hang 
infinitely without META assignment (Ram) (Revision 1495705)

 Result = SUCCESS
ramkrishna : 
Files : 
* 
/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java


 RS holding META when restarted in a single node setup may hang infinitely 
 without META assignment
 -

 Key: HBASE-8705
 URL: https://issues.apache.org/jira/browse/HBASE-8705
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.95.1
Reporter: ramkrishna.s.vasudevan
Assignee: ramkrishna.s.vasudevan
Priority: Minor
 Fix For: 0.98.0, 0.95.2

 Attachments: HBASE-8705_1.patch, HBASE-8705_2.patch, HBASE-8705.patch


 This bug may be minor as it likely to happen in a single node setup.
 I restarted the RS holding META. The master tried assigning META using 
 MetaSSH. But tried this before the new RS came up.
 So as not region plan is found 
 {code}
  if (plan == null) {
 LOG.warn(Unable to determine a plan to assign  + region);
 if (tomActivated){
   this.timeoutMonitor.setAllRegionServersOffline(true);
 } else {
   regionStates.updateRegionState(region, 
 RegionState.State.FAILED_OPEN);
 }
 return;
   }
 {code}
 we just return without assigment.  And this being the META the small cluster 
 just hangs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-8705) RS holding META when restarted in a single node setup may hang infinitely without META assignment

2013-06-22 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-8705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13691160#comment-13691160
 ] 

Hudson commented on HBASE-8705:
---

Integrated in hbase-0.95 #259 (See 
[https://builds.apache.org/job/hbase-0.95/259/])
HBASE-8705-RS holding META when restarted in a single node setup may hang 
infinitely without META assignment (Ram) (Revision 1495707)

 Result = SUCCESS
ramkrishna : 
Files : 
* 
/hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java


 RS holding META when restarted in a single node setup may hang infinitely 
 without META assignment
 -

 Key: HBASE-8705
 URL: https://issues.apache.org/jira/browse/HBASE-8705
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.95.1
Reporter: ramkrishna.s.vasudevan
Assignee: ramkrishna.s.vasudevan
Priority: Minor
 Fix For: 0.98.0, 0.95.2

 Attachments: HBASE-8705_1.patch, HBASE-8705_2.patch, HBASE-8705.patch


 This bug may be minor as it likely to happen in a single node setup.
 I restarted the RS holding META. The master tried assigning META using 
 MetaSSH. But tried this before the new RS came up.
 So as not region plan is found 
 {code}
  if (plan == null) {
 LOG.warn(Unable to determine a plan to assign  + region);
 if (tomActivated){
   this.timeoutMonitor.setAllRegionServersOffline(true);
 } else {
   regionStates.updateRegionState(region, 
 RegionState.State.FAILED_OPEN);
 }
 return;
   }
 {code}
 we just return without assigment.  And this being the META the small cluster 
 just hangs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-8705) RS holding META when restarted in a single node setup may hang infinitely without META assignment

2013-06-22 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-8705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13691291#comment-13691291
 ] 

Hudson commented on HBASE-8705:
---

Integrated in hbase-0.95-on-hadoop2 #143 (See 
[https://builds.apache.org/job/hbase-0.95-on-hadoop2/143/])
HBASE-8705-RS holding META when restarted in a single node setup may hang 
infinitely without META assignment (Ram) (Revision 1495707)

 Result = FAILURE
ramkrishna : 
Files : 
* 
/hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java


 RS holding META when restarted in a single node setup may hang infinitely 
 without META assignment
 -

 Key: HBASE-8705
 URL: https://issues.apache.org/jira/browse/HBASE-8705
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.95.1
Reporter: ramkrishna.s.vasudevan
Assignee: ramkrishna.s.vasudevan
Priority: Minor
 Fix For: 0.98.0, 0.95.2

 Attachments: HBASE-8705_1.patch, HBASE-8705_2.patch, HBASE-8705.patch


 This bug may be minor as it likely to happen in a single node setup.
 I restarted the RS holding META. The master tried assigning META using 
 MetaSSH. But tried this before the new RS came up.
 So as not region plan is found 
 {code}
  if (plan == null) {
 LOG.warn(Unable to determine a plan to assign  + region);
 if (tomActivated){
   this.timeoutMonitor.setAllRegionServersOffline(true);
 } else {
   regionStates.updateRegionState(region, 
 RegionState.State.FAILED_OPEN);
 }
 return;
   }
 {code}
 we just return without assigment.  And this being the META the small cluster 
 just hangs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-8705) RS holding META when restarted in a single node setup may hang infinitely without META assignment

2013-06-22 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-8705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13691307#comment-13691307
 ] 

Hudson commented on HBASE-8705:
---

Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #578 (See 
[https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/578/])
HBASE-8705-RS holding META when restarted in a single node setup may hang 
infinitely without META assignment (Ram) (Revision 1495705)

 Result = FAILURE
ramkrishna : 
Files : 
* 
/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java


 RS holding META when restarted in a single node setup may hang infinitely 
 without META assignment
 -

 Key: HBASE-8705
 URL: https://issues.apache.org/jira/browse/HBASE-8705
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.95.1
Reporter: ramkrishna.s.vasudevan
Assignee: ramkrishna.s.vasudevan
Priority: Minor
 Fix For: 0.98.0, 0.95.2

 Attachments: HBASE-8705_1.patch, HBASE-8705_2.patch, HBASE-8705.patch


 This bug may be minor as it likely to happen in a single node setup.
 I restarted the RS holding META. The master tried assigning META using 
 MetaSSH. But tried this before the new RS came up.
 So as not region plan is found 
 {code}
  if (plan == null) {
 LOG.warn(Unable to determine a plan to assign  + region);
 if (tomActivated){
   this.timeoutMonitor.setAllRegionServersOffline(true);
 } else {
   regionStates.updateRegionState(region, 
 RegionState.State.FAILED_OPEN);
 }
 return;
   }
 {code}
 we just return without assigment.  And this being the META the small cluster 
 just hangs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-8705) RS holding META when restarted in a single node setup may hang infinitely without META assignment

2013-06-20 Thread ramkrishna.s.vasudevan (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-8705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13689139#comment-13689139
 ] 

ramkrishna.s.vasudevan commented on HBASE-8705:
---

Am not able to reproduce this scenario every time.  But after seeing the logs 
the restart of RS will not solve the problem because the META location is 
already unset in the ZK.
I can commit this patch unless objections.

 RS holding META when restarted in a single node setup may hang infinitely 
 without META assignment
 -

 Key: HBASE-8705
 URL: https://issues.apache.org/jira/browse/HBASE-8705
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.95.1
Reporter: ramkrishna.s.vasudevan
Assignee: ramkrishna.s.vasudevan
Priority: Minor
 Fix For: 0.98.0

 Attachments: HBASE-8705_1.patch, HBASE-8705_2.patch, HBASE-8705.patch


 This bug may be minor as it likely to happen in a single node setup.
 I restarted the RS holding META. The master tried assigning META using 
 MetaSSH. But tried this before the new RS came up.
 So as not region plan is found 
 {code}
  if (plan == null) {
 LOG.warn(Unable to determine a plan to assign  + region);
 if (tomActivated){
   this.timeoutMonitor.setAllRegionServersOffline(true);
 } else {
   regionStates.updateRegionState(region, 
 RegionState.State.FAILED_OPEN);
 }
 return;
   }
 {code}
 we just return without assigment.  And this being the META the small cluster 
 just hangs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-8705) RS holding META when restarted in a single node setup may hang infinitely without META assignment

2013-06-17 Thread ramkrishna.s.vasudevan (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-8705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13686416#comment-13686416
 ] 

ramkrishna.s.vasudevan commented on HBASE-8705:
---

Will update the patch and upload it. Thanks for the reviews.

 RS holding META when restarted in a single node setup may hang infinitely 
 without META assignment
 -

 Key: HBASE-8705
 URL: https://issues.apache.org/jira/browse/HBASE-8705
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.95.1
Reporter: ramkrishna.s.vasudevan
Assignee: ramkrishna.s.vasudevan
Priority: Minor
 Fix For: 0.98.0

 Attachments: HBASE-8705_1.patch, HBASE-8705.patch


 This bug may be minor as it likely to happen in a single node setup.
 I restarted the RS holding META. The master tried assigning META using 
 MetaSSH. But tried this before the new RS came up.
 So as not region plan is found 
 {code}
  if (plan == null) {
 LOG.warn(Unable to determine a plan to assign  + region);
 if (tomActivated){
   this.timeoutMonitor.setAllRegionServersOffline(true);
 } else {
   regionStates.updateRegionState(region, 
 RegionState.State.FAILED_OPEN);
 }
 return;
   }
 {code}
 we just return without assigment.  And this being the META the small cluster 
 just hangs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-8705) RS holding META when restarted in a single node setup may hang infinitely without META assignment

2013-06-15 Thread Himanshu Vashishtha (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-8705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13684245#comment-13684245
 ] 

Himanshu Vashishtha commented on HBASE-8705:


Thanks for the patch. Couple of comments:

So, it suggests that one needs to run hbck when there is no regionserver? What 
if I restart the regionserver?

nit: +  LOG.error(Unable to deteramine a plan to assign META even 
after repeated attempts. Run HBCK to fix this);
typo: determine

 RS holding META when restarted in a single node setup may hang infinitely 
 without META assignment
 -

 Key: HBASE-8705
 URL: https://issues.apache.org/jira/browse/HBASE-8705
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.95.1
Reporter: ramkrishna.s.vasudevan
Assignee: ramkrishna.s.vasudevan
Priority: Minor
 Fix For: 0.98.0

 Attachments: HBASE-8705_1.patch, HBASE-8705.patch


 This bug may be minor as it likely to happen in a single node setup.
 I restarted the RS holding META. The master tried assigning META using 
 MetaSSH. But tried this before the new RS came up.
 So as not region plan is found 
 {code}
  if (plan == null) {
 LOG.warn(Unable to determine a plan to assign  + region);
 if (tomActivated){
   this.timeoutMonitor.setAllRegionServersOffline(true);
 } else {
   regionStates.updateRegionState(region, 
 RegionState.State.FAILED_OPEN);
 }
 return;
   }
 {code}
 we just return without assigment.  And this being the META the small cluster 
 just hangs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-8705) RS holding META when restarted in a single node setup may hang infinitely without META assignment

2013-06-14 Thread stack (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-8705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13684061#comment-13684061
 ] 

stack commented on HBASE-8705:
--

+1

 RS holding META when restarted in a single node setup may hang infinitely 
 without META assignment
 -

 Key: HBASE-8705
 URL: https://issues.apache.org/jira/browse/HBASE-8705
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.95.1
Reporter: ramkrishna.s.vasudevan
Assignee: ramkrishna.s.vasudevan
Priority: Minor
 Fix For: 0.98.0

 Attachments: HBASE-8705_1.patch, HBASE-8705.patch


 This bug may be minor as it likely to happen in a single node setup.
 I restarted the RS holding META. The master tried assigning META using 
 MetaSSH. But tried this before the new RS came up.
 So as not region plan is found 
 {code}
  if (plan == null) {
 LOG.warn(Unable to determine a plan to assign  + region);
 if (tomActivated){
   this.timeoutMonitor.setAllRegionServersOffline(true);
 } else {
   regionStates.updateRegionState(region, 
 RegionState.State.FAILED_OPEN);
 }
 return;
   }
 {code}
 we just return without assigment.  And this being the META the small cluster 
 just hangs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-8705) RS holding META when restarted in a single node setup may hang infinitely without META assignment

2013-06-12 Thread Jimmy Xiang (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-8705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13681397#comment-13681397
 ] 

Jimmy Xiang commented on HBASE-8705:


+1, just one nit, should we reset the interruption flag in case an interrupted 
exception?

 RS holding META when restarted in a single node setup may hang infinitely 
 without META assignment
 -

 Key: HBASE-8705
 URL: https://issues.apache.org/jira/browse/HBASE-8705
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.95.1
Reporter: ramkrishna.s.vasudevan
Assignee: ramkrishna.s.vasudevan
Priority: Minor
 Fix For: 0.98.0

 Attachments: HBASE-8705.patch


 This bug may be minor as it likely to happen in a single node setup.
 I restarted the RS holding META. The master tried assigning META using 
 MetaSSH. But tried this before the new RS came up.
 So as not region plan is found 
 {code}
  if (plan == null) {
 LOG.warn(Unable to determine a plan to assign  + region);
 if (tomActivated){
   this.timeoutMonitor.setAllRegionServersOffline(true);
 } else {
   regionStates.updateRegionState(region, 
 RegionState.State.FAILED_OPEN);
 }
 return;
   }
 {code}
 we just return without assigment.  And this being the META the small cluster 
 just hangs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-8705) RS holding META when restarted in a single node setup may hang infinitely without META assignment

2013-06-11 Thread stack (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-8705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13680555#comment-13680555
 ] 

stack commented on HBASE-8705:
--

+1 Seems innocuous and could help...



 RS holding META when restarted in a single node setup may hang infinitely 
 without META assignment
 -

 Key: HBASE-8705
 URL: https://issues.apache.org/jira/browse/HBASE-8705
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.95.1
Reporter: ramkrishna.s.vasudevan
Assignee: ramkrishna.s.vasudevan
Priority: Minor
 Fix For: 0.98.0

 Attachments: HBASE-8705.patch


 This bug may be minor as it likely to happen in a single node setup.
 I restarted the RS holding META. The master tried assigning META using 
 MetaSSH. But tried this before the new RS came up.
 So as not region plan is found 
 {code}
  if (plan == null) {
 LOG.warn(Unable to determine a plan to assign  + region);
 if (tomActivated){
   this.timeoutMonitor.setAllRegionServersOffline(true);
 } else {
   regionStates.updateRegionState(region, 
 RegionState.State.FAILED_OPEN);
 }
 return;
   }
 {code}
 we just return without assigment.  And this being the META the small cluster 
 just hangs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-8705) RS holding META when restarted in a single node setup may hang infinitely without META assignment

2013-06-11 Thread ramkrishna.s.vasudevan (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-8705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13680901#comment-13680901
 ] 

ramkrishna.s.vasudevan commented on HBASE-8705:
---

Thanks Stack.  Will wait for another day before committing this.

 RS holding META when restarted in a single node setup may hang infinitely 
 without META assignment
 -

 Key: HBASE-8705
 URL: https://issues.apache.org/jira/browse/HBASE-8705
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.95.1
Reporter: ramkrishna.s.vasudevan
Assignee: ramkrishna.s.vasudevan
Priority: Minor
 Fix For: 0.98.0

 Attachments: HBASE-8705.patch


 This bug may be minor as it likely to happen in a single node setup.
 I restarted the RS holding META. The master tried assigning META using 
 MetaSSH. But tried this before the new RS came up.
 So as not region plan is found 
 {code}
  if (plan == null) {
 LOG.warn(Unable to determine a plan to assign  + region);
 if (tomActivated){
   this.timeoutMonitor.setAllRegionServersOffline(true);
 } else {
   regionStates.updateRegionState(region, 
 RegionState.State.FAILED_OPEN);
 }
 return;
   }
 {code}
 we just return without assigment.  And this being the META the small cluster 
 just hangs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira