You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2011/09/18 03:23:08 UTC
[jira] [Created] (HBASE-4429) Provide synchronous balanceSwitch()
Provide synchronous balanceSwitch()
-----------------------------------
Key: HBASE-4429
URL: https://issues.apache.org/jira/browse/HBASE-4429
Project: HBase
Issue Type: Task
Reporter: Ted Yu
Assignee: Ted Yu
Currently balanceSwitch() doesn't guarantee that balancer isn't running upon return.
During code review of HBASE-4213, we found that synchronous behavior for turning off balancer is desired.
We can add blockingBalanceSwitch() to HMasterInterface upon whose return balancer is guaranteed not running.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HBASE-4429) Provide synchronous balanceSwitch()
Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-4429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu updated HBASE-4429:
--------------------------
Attachment: 4429.txt
Patch v1 adds the blocking version of balanceSwitch().
> Provide synchronous balanceSwitch()
> -----------------------------------
>
> Key: HBASE-4429
> URL: https://issues.apache.org/jira/browse/HBASE-4429
> Project: HBase
> Issue Type: Task
> Reporter: Ted Yu
> Assignee: Ted Yu
> Attachments: 4429.txt
>
>
> Currently balanceSwitch() doesn't guarantee that balancer isn't running upon return.
> During code review of HBASE-4213, we found that synchronous behavior for turning off balancer is desired.
> We can add blockingBalanceSwitch() to HMasterInterface upon whose return balancer is guaranteed not running.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HBASE-4429) Provide synchronous balanceSwitch()
Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-4429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu updated HBASE-4429:
--------------------------
Fix Version/s: 0.94.0
> Provide synchronous balanceSwitch()
> -----------------------------------
>
> Key: HBASE-4429
> URL: https://issues.apache.org/jira/browse/HBASE-4429
> Project: HBase
> Issue Type: Task
> Reporter: Ted Yu
> Assignee: Ted Yu
> Fix For: 0.94.0
>
> Attachments: 4429.txt
>
>
> Currently balanceSwitch() doesn't guarantee that balancer isn't running upon return.
> During code review of HBASE-4213, we found that synchronous behavior for turning off balancer is desired.
> We can add blockingBalanceSwitch() to HMasterInterface upon whose return balancer is guaranteed not running.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HBASE-4429) Provide synchronous balanceSwitch()
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-4429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13107958#comment-13107958 ]
stack commented on HBASE-4429:
------------------------------
+1
> Provide synchronous balanceSwitch()
> -----------------------------------
>
> Key: HBASE-4429
> URL: https://issues.apache.org/jira/browse/HBASE-4429
> Project: HBase
> Issue Type: Task
> Reporter: Ted Yu
> Assignee: Ted Yu
> Fix For: 0.94.0
>
> Attachments: 4429.txt
>
>
> Currently balanceSwitch() doesn't guarantee that balancer isn't running upon return.
> During code review of HBASE-4213, we found that synchronous behavior for turning off balancer is desired.
> We can add blockingBalanceSwitch() to HMasterInterface upon whose return balancer is guaranteed not running.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (HBASE-4429) Provide synchronous balanceSwitch()
Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-4429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu resolved HBASE-4429.
---------------------------
Resolution: Fixed
Release Note:
synchronousBalanceSwitch() has been added to HMaster.
It waits until current balance() call, if outstanding, to return.
Hadoop Flags: [Reviewed]
> Provide synchronous balanceSwitch()
> -----------------------------------
>
> Key: HBASE-4429
> URL: https://issues.apache.org/jira/browse/HBASE-4429
> Project: HBase
> Issue Type: Task
> Reporter: Ted Yu
> Assignee: Ted Yu
> Fix For: 0.94.0
>
> Attachments: 4429.txt
>
>
> Currently balanceSwitch() doesn't guarantee that balancer isn't running upon return.
> During code review of HBASE-4213, we found that synchronous behavior for turning off balancer is desired.
> We can add blockingBalanceSwitch() to HMasterInterface upon whose return balancer is guaranteed not running.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Work started] (HBASE-4429) Provide synchronous
balanceSwitch()
Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-4429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on HBASE-4429 started by Ted Yu.
> Provide synchronous balanceSwitch()
> -----------------------------------
>
> Key: HBASE-4429
> URL: https://issues.apache.org/jira/browse/HBASE-4429
> Project: HBase
> Issue Type: Task
> Reporter: Ted Yu
> Assignee: Ted Yu
> Fix For: 0.94.0
>
> Attachments: 4429.txt
>
>
> Currently balanceSwitch() doesn't guarantee that balancer isn't running upon return.
> During code review of HBASE-4213, we found that synchronous behavior for turning off balancer is desired.
> We can add blockingBalanceSwitch() to HMasterInterface upon whose return balancer is guaranteed not running.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HBASE-4429) Provide synchronous balanceSwitch()
Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-4429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13108095#comment-13108095 ]
Ted Yu commented on HBASE-4429:
-------------------------------
Integrated to TRUNK.
Thanks for the review Stack.
> Provide synchronous balanceSwitch()
> -----------------------------------
>
> Key: HBASE-4429
> URL: https://issues.apache.org/jira/browse/HBASE-4429
> Project: HBase
> Issue Type: Task
> Reporter: Ted Yu
> Assignee: Ted Yu
> Fix For: 0.94.0
>
> Attachments: 4429.txt
>
>
> Currently balanceSwitch() doesn't guarantee that balancer isn't running upon return.
> During code review of HBASE-4213, we found that synchronous behavior for turning off balancer is desired.
> We can add blockingBalanceSwitch() to HMasterInterface upon whose return balancer is guaranteed not running.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HBASE-4429) Provide synchronous balanceSwitch()
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-4429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13108111#comment-13108111 ]
Hudson commented on HBASE-4429:
-------------------------------
Integrated in HBase-TRUNK #2234 (See [https://builds.apache.org/job/HBase-TRUNK/2234/])
HBASE-4429 Provide synchronous balanceSwitch()
tedyu :
Files :
* /hbase/trunk/CHANGES.txt
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/ipc/HMasterInterface.java
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
> Provide synchronous balanceSwitch()
> -----------------------------------
>
> Key: HBASE-4429
> URL: https://issues.apache.org/jira/browse/HBASE-4429
> Project: HBase
> Issue Type: Task
> Reporter: Ted Yu
> Assignee: Ted Yu
> Fix For: 0.94.0
>
> Attachments: 4429.txt
>
>
> Currently balanceSwitch() doesn't guarantee that balancer isn't running upon return.
> During code review of HBASE-4213, we found that synchronous behavior for turning off balancer is desired.
> We can add blockingBalanceSwitch() to HMasterInterface upon whose return balancer is guaranteed not running.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira