[jira] [Updated] (HBASE-5953) Expose the current state of the balancerSwitch

2012-06-22 Thread Zhihong Ted Yu (JIRA)

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

Zhihong Ted Yu updated HBASE-5953:
--

Resolution: Fixed
Status: Resolved  (was: Patch Available)

 Expose the current state of the balancerSwitch
 --

 Key: HBASE-5953
 URL: https://issues.apache.org/jira/browse/HBASE-5953
 Project: HBase
  Issue Type: Improvement
  Components: master
Affects Versions: 0.96.0
Reporter: David S. Wang
Assignee: Gregory Chanan
Priority: Minor
 Fix For: 0.96.0

 Attachments: 5953-v2.patch, HBASE-5953-v2.patch, HBASE-5953.patch


 The balancerSwitch as in both 0.90 and 0.92.1 is implemented in such a way 
 that it is impossible to retrieve its value without changing it:
 /**
 Turn the load balancer on or off.
 @param b If true, enable balancer. If false, disable balancer.
 @return Previous balancer value
 */
 public boolean balanceSwitch(final boolean b);
 It would be nice to have a way to just get the current state.

--
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-5953) Expose the current state of the balancerSwitch

2012-06-21 Thread Gregory Chanan (JIRA)

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

Gregory Chanan updated HBASE-5953:
--

Attachment: HBASE-5953-v2.patch

* Attached HBASE-5953-v2.patch *

Incorporate Anoop's suggestion.

 Expose the current state of the balancerSwitch
 --

 Key: HBASE-5953
 URL: https://issues.apache.org/jira/browse/HBASE-5953
 Project: HBase
  Issue Type: Improvement
  Components: master
Affects Versions: 0.96.0
Reporter: David S. Wang
Assignee: Gregory Chanan
Priority: Minor
 Attachments: HBASE-5953-v2.patch, HBASE-5953.patch


 The balancerSwitch as in both 0.90 and 0.92.1 is implemented in such a way 
 that it is impossible to retrieve its value without changing it:
 /**
 Turn the load balancer on or off.
 @param b If true, enable balancer. If false, disable balancer.
 @return Previous balancer value
 */
 public boolean balanceSwitch(final boolean b);
 It would be nice to have a way to just get the current state.

--
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-5953) Expose the current state of the balancerSwitch

2012-06-21 Thread Zhihong Ted Yu (JIRA)

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

Zhihong Ted Yu updated HBASE-5953:
--

Attachment: 5953-v2.patch

Patch v2 with formatting.

Will integrate after test suite completes.

 Expose the current state of the balancerSwitch
 --

 Key: HBASE-5953
 URL: https://issues.apache.org/jira/browse/HBASE-5953
 Project: HBase
  Issue Type: Improvement
  Components: master
Affects Versions: 0.96.0
Reporter: David S. Wang
Assignee: Gregory Chanan
Priority: Minor
 Attachments: 5953-v2.patch, HBASE-5953-v2.patch, HBASE-5953.patch


 The balancerSwitch as in both 0.90 and 0.92.1 is implemented in such a way 
 that it is impossible to retrieve its value without changing it:
 /**
 Turn the load balancer on or off.
 @param b If true, enable balancer. If false, disable balancer.
 @return Previous balancer value
 */
 public boolean balanceSwitch(final boolean b);
 It would be nice to have a way to just get the current state.

--
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-5953) Expose the current state of the balancerSwitch

2012-06-21 Thread Zhihong Ted Yu (JIRA)

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

Zhihong Ted Yu updated HBASE-5953:
--

Fix Version/s: 0.96.0
 Hadoop Flags: Reviewed

 Expose the current state of the balancerSwitch
 --

 Key: HBASE-5953
 URL: https://issues.apache.org/jira/browse/HBASE-5953
 Project: HBase
  Issue Type: Improvement
  Components: master
Affects Versions: 0.96.0
Reporter: David S. Wang
Assignee: Gregory Chanan
Priority: Minor
 Fix For: 0.96.0

 Attachments: 5953-v2.patch, HBASE-5953-v2.patch, HBASE-5953.patch


 The balancerSwitch as in both 0.90 and 0.92.1 is implemented in such a way 
 that it is impossible to retrieve its value without changing it:
 /**
 Turn the load balancer on or off.
 @param b If true, enable balancer. If false, disable balancer.
 @return Previous balancer value
 */
 public boolean balanceSwitch(final boolean b);
 It would be nice to have a way to just get the current state.

--
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-5953) Expose the current state of the balancerSwitch

2012-06-19 Thread Gregory Chanan (JIRA)

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

Gregory Chanan updated HBASE-5953:
--

Attachment: HBASE-5953.patch

* Attached HBASE-5953.patch *

Added isBalancerOn to ClusterStatus, so you can get it from getClusterStatus.  
I figure we can move it to zk later if we want.

 Expose the current state of the balancerSwitch
 --

 Key: HBASE-5953
 URL: https://issues.apache.org/jira/browse/HBASE-5953
 Project: HBase
  Issue Type: Improvement
  Components: master
Affects Versions: 0.96.0
Reporter: David S. Wang
Assignee: Gregory Chanan
Priority: Minor
 Attachments: HBASE-5953.patch


 The balancerSwitch as in both 0.90 and 0.92.1 is implemented in such a way 
 that it is impossible to retrieve its value without changing it:
 /**
 Turn the load balancer on or off.
 @param b If true, enable balancer. If false, disable balancer.
 @return Previous balancer value
 */
 public boolean balanceSwitch(final boolean b);
 It would be nice to have a way to just get the current state.

--
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-5953) Expose the current state of the balancerSwitch

2012-06-19 Thread Gregory Chanan (JIRA)

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

Gregory Chanan updated HBASE-5953:
--

Status: Patch Available  (was: Open)

 Expose the current state of the balancerSwitch
 --

 Key: HBASE-5953
 URL: https://issues.apache.org/jira/browse/HBASE-5953
 Project: HBase
  Issue Type: Improvement
  Components: master
Affects Versions: 0.96.0
Reporter: David S. Wang
Assignee: Gregory Chanan
Priority: Minor
 Attachments: HBASE-5953.patch


 The balancerSwitch as in both 0.90 and 0.92.1 is implemented in such a way 
 that it is impossible to retrieve its value without changing it:
 /**
 Turn the load balancer on or off.
 @param b If true, enable balancer. If false, disable balancer.
 @return Previous balancer value
 */
 public boolean balanceSwitch(final boolean b);
 It would be nice to have a way to just get the current state.

--
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-5953) Expose the current state of the balancerSwitch

2012-05-16 Thread David S. Wang (JIRA)

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

David S. Wang updated HBASE-5953:
-

Affects Version/s: (was: 0.92.1)
   (was: 0.94.0)
 Assignee: Gregory Chanan  (was: David S. Wang)

Assigning to Greg at his request.  Removing 0.92 and 0.94 from fixVersions at 
least until we have a compatibility story for ClusterStatus (see HBASE-6009 for 
details).

 Expose the current state of the balancerSwitch
 --

 Key: HBASE-5953
 URL: https://issues.apache.org/jira/browse/HBASE-5953
 Project: HBase
  Issue Type: Improvement
  Components: master
Affects Versions: 0.96.0
Reporter: David S. Wang
Assignee: Gregory Chanan
Priority: Minor

 The balancerSwitch as in both 0.90 and 0.92.1 is implemented in such a way 
 that it is impossible to retrieve its value without changing it:
 /**
 Turn the load balancer on or off.
 @param b If true, enable balancer. If false, disable balancer.
 @return Previous balancer value
 */
 public boolean balanceSwitch(final boolean b);
 It would be nice to have a way to just get the current state.

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