You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2011/01/04 03:49:45 UTC
[jira] Created: (HBASE-3407) hbck should pause after fixing before
re-checking state
hbck should pause after fixing before re-checking state
-------------------------------------------------------
Key: HBASE-3407
URL: https://issues.apache.org/jira/browse/HBASE-3407
Project: HBase
Issue Type: Improvement
Components: util
Affects Versions: 0.90.1
Reporter: Todd Lipcon
Assignee: Todd Lipcon
Right now when run with the -fix option, hbck tries to fix up the issue and then immediately re-runs itself to see if the fix worked. However most of the fixes require some other nodes in the cluster to take some action, which will take a couple of seconds (eg for them to notice a change in ZK and pick up the fixed region).
So, hbck should pause for some amount of time in between fixing and re-running.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-3407) hbck should pause after fixing
before re-checking state
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12977110#action_12977110 ]
stack commented on HBASE-3407:
------------------------------
+1
I like the '+ sleepBeforeRerun = Long.parseLong(args[i+1])' to ensure we are passed a number rather than anything else.
> hbck should pause after fixing before re-checking state
> -------------------------------------------------------
>
> Key: HBASE-3407
> URL: https://issues.apache.org/jira/browse/HBASE-3407
> Project: HBase
> Issue Type: Improvement
> Components: util
> Affects Versions: 0.90.1
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Attachments: hbase-3407.txt
>
>
> Right now when run with the -fix option, hbck tries to fix up the issue and then immediately re-runs itself to see if the fix worked. However most of the fixes require some other nodes in the cluster to take some action, which will take a couple of seconds (eg for them to notice a change in ZK and pick up the fixed region).
> So, hbck should pause for some amount of time in between fixing and re-running.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HBASE-3407) hbck should pause after fixing before
re-checking state
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon updated HBASE-3407:
-------------------------------
Attachment: hbase-3407.txt
> hbck should pause after fixing before re-checking state
> -------------------------------------------------------
>
> Key: HBASE-3407
> URL: https://issues.apache.org/jira/browse/HBASE-3407
> Project: HBase
> Issue Type: Improvement
> Components: util
> Affects Versions: 0.90.1
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Attachments: hbase-3407.txt
>
>
> Right now when run with the -fix option, hbck tries to fix up the issue and then immediately re-runs itself to see if the fix worked. However most of the fixes require some other nodes in the cluster to take some action, which will take a couple of seconds (eg for them to notice a change in ZK and pick up the fixed region).
> So, hbck should pause for some amount of time in between fixing and re-running.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HBASE-3407) hbck should pause after fixing before
re-checking state
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon resolved HBASE-3407.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.90.0
Hadoop Flags: [Reviewed]
> hbck should pause after fixing before re-checking state
> -------------------------------------------------------
>
> Key: HBASE-3407
> URL: https://issues.apache.org/jira/browse/HBASE-3407
> Project: HBase
> Issue Type: Improvement
> Components: util
> Affects Versions: 0.90.1
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Fix For: 0.90.0
>
> Attachments: hbase-3407.txt
>
>
> Right now when run with the -fix option, hbck tries to fix up the issue and then immediately re-runs itself to see if the fix worked. However most of the fixes require some other nodes in the cluster to take some action, which will take a couple of seconds (eg for them to notice a change in ZK and pick up the fixed region).
> So, hbck should pause for some amount of time in between fixing and re-running.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-3407) hbck should pause after fixing
before re-checking state
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12977111#action_12977111 ]
stack commented on HBASE-3407:
------------------------------
I should say +1 on commit to 0.90 branch and TRUNK.
> hbck should pause after fixing before re-checking state
> -------------------------------------------------------
>
> Key: HBASE-3407
> URL: https://issues.apache.org/jira/browse/HBASE-3407
> Project: HBase
> Issue Type: Improvement
> Components: util
> Affects Versions: 0.90.1
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Attachments: hbase-3407.txt
>
>
> Right now when run with the -fix option, hbck tries to fix up the issue and then immediately re-runs itself to see if the fix worked. However most of the fixes require some other nodes in the cluster to take some action, which will take a couple of seconds (eg for them to notice a change in ZK and pick up the fixed region).
> So, hbck should pause for some amount of time in between fixing and re-running.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-3407) hbck should pause after fixing
before re-checking state
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979007#action_12979007 ]
Hudson commented on HBASE-3407:
-------------------------------
Integrated in HBase-TRUNK #1708 (See [https://hudson.apache.org/hudson/job/HBase-TRUNK/1708/])
> hbck should pause after fixing before re-checking state
> -------------------------------------------------------
>
> Key: HBASE-3407
> URL: https://issues.apache.org/jira/browse/HBASE-3407
> Project: HBase
> Issue Type: Improvement
> Components: util
> Affects Versions: 0.90.1
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Fix For: 0.90.0
>
> Attachments: hbase-3407.txt
>
>
> Right now when run with the -fix option, hbck tries to fix up the issue and then immediately re-runs itself to see if the fix worked. However most of the fixes require some other nodes in the cluster to take some action, which will take a couple of seconds (eg for them to notice a change in ZK and pick up the fixed region).
> So, hbck should pause for some amount of time in between fixing and re-running.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-3407) hbck should pause after fixing
before re-checking state
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12977086#action_12977086 ]
Todd Lipcon commented on HBASE-3407:
------------------------------------
This also re-enables the test case that got disabled some time ago, though many more could be written.
> hbck should pause after fixing before re-checking state
> -------------------------------------------------------
>
> Key: HBASE-3407
> URL: https://issues.apache.org/jira/browse/HBASE-3407
> Project: HBase
> Issue Type: Improvement
> Components: util
> Affects Versions: 0.90.1
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Attachments: hbase-3407.txt
>
>
> Right now when run with the -fix option, hbck tries to fix up the issue and then immediately re-runs itself to see if the fix worked. However most of the fixes require some other nodes in the cluster to take some action, which will take a couple of seconds (eg for them to notice a change in ZK and pick up the fixed region).
> So, hbck should pause for some amount of time in between fixing and re-running.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.