[jira] [Updated] (HBASE-18765) The value of balancerRan is true even though no plans are executed

2019-04-22 Thread Biju Nair (JIRA)


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

Biju Nair updated HBASE-18765:
--
Labels: balancer  (was: )

> The value of balancerRan is true even though no plans are executed
> --
>
> Key: HBASE-18765
> URL: https://issues.apache.org/jira/browse/HBASE-18765
> Project: HBase
>  Issue Type: Bug
>  Components: rsgroup
>Reporter: Chia-Ping Tsai
>Assignee: Chia-Ping Tsai
>Priority: Minor
>  Labels: balancer
> Fix For: 2.0.0-alpha-3, 2.0.0
>
> Attachments: HBASE-18765.v0.patch
>
>
> {code}
>   //We balance per group instead of per table
>   List plans = new ArrayList<>();
>   for(Map.Entry>> tableMap:
>   getRSGroupAssignmentsByTable(groupName).entrySet()) {
> LOG.info("Creating partial plan for table " + tableMap.getKey() + ": "
> + tableMap.getValue());
> List partialPlans = 
> balancer.balanceCluster(tableMap.getValue());
> LOG.info("Partial plan for table " + tableMap.getKey() + ": " + 
> partialPlans);
> if (partialPlans != null) {
>   plans.addAll(partialPlans);
> }
>   }
>   long startTime = System.currentTimeMillis();
>   balancerRan = plans != null;
> {code}
> The *plans* is never null.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HBASE-18765) The value of balancerRan is true even though no plans are executed

2019-04-22 Thread Biju Nair (JIRA)


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

Biju Nair updated HBASE-18765:
--
Component/s: Balancer

> The value of balancerRan is true even though no plans are executed
> --
>
> Key: HBASE-18765
> URL: https://issues.apache.org/jira/browse/HBASE-18765
> Project: HBase
>  Issue Type: Bug
>  Components: Balancer, rsgroup
>Reporter: Chia-Ping Tsai
>Assignee: Chia-Ping Tsai
>Priority: Minor
>  Labels: balancer
> Fix For: 2.0.0-alpha-3, 2.0.0
>
> Attachments: HBASE-18765.v0.patch
>
>
> {code}
>   //We balance per group instead of per table
>   List plans = new ArrayList<>();
>   for(Map.Entry>> tableMap:
>   getRSGroupAssignmentsByTable(groupName).entrySet()) {
> LOG.info("Creating partial plan for table " + tableMap.getKey() + ": "
> + tableMap.getValue());
> List partialPlans = 
> balancer.balanceCluster(tableMap.getValue());
> LOG.info("Partial plan for table " + tableMap.getKey() + ": " + 
> partialPlans);
> if (partialPlans != null) {
>   plans.addAll(partialPlans);
> }
>   }
>   long startTime = System.currentTimeMillis();
>   balancerRan = plans != null;
> {code}
> The *plans* is never null.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HBASE-18765) The value of balancerRan is true even though no plans are executed

2018-03-21 Thread stack (JIRA)

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

stack updated HBASE-18765:
--
Fix Version/s: 2.0.0

> The value of balancerRan is true even though no plans are executed
> --
>
> Key: HBASE-18765
> URL: https://issues.apache.org/jira/browse/HBASE-18765
> Project: HBase
>  Issue Type: Bug
>  Components: rsgroup
>Reporter: Chia-Ping Tsai
>Assignee: Chia-Ping Tsai
>Priority: Minor
> Fix For: 2.0.0-alpha-3, 2.0.0
>
> Attachments: HBASE-18765.v0.patch
>
>
> {code}
>   //We balance per group instead of per table
>   List plans = new ArrayList<>();
>   for(Map.Entry>> tableMap:
>   getRSGroupAssignmentsByTable(groupName).entrySet()) {
> LOG.info("Creating partial plan for table " + tableMap.getKey() + ": "
> + tableMap.getValue());
> List partialPlans = 
> balancer.balanceCluster(tableMap.getValue());
> LOG.info("Partial plan for table " + tableMap.getKey() + ": " + 
> partialPlans);
> if (partialPlans != null) {
>   plans.addAll(partialPlans);
> }
>   }
>   long startTime = System.currentTimeMillis();
>   balancerRan = plans != null;
> {code}
> The *plans* is never null.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HBASE-18765) The value of balancerRan is true even though no plans are executed

2017-09-07 Thread Chia-Ping Tsai (JIRA)

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

Chia-Ping Tsai updated HBASE-18765:
---
  Resolution: Fixed
Hadoop Flags: Reviewed
  Status: Resolved  (was: Patch Available)

Thanks for the reviews. [~stack]

> The value of balancerRan is true even though no plans are executed
> --
>
> Key: HBASE-18765
> URL: https://issues.apache.org/jira/browse/HBASE-18765
> Project: HBase
>  Issue Type: Bug
>  Components: rsgroup
>Reporter: Chia-Ping Tsai
>Assignee: Chia-Ping Tsai
>Priority: Minor
> Fix For: 2.0.0-alpha-3
>
> Attachments: HBASE-18765.v0.patch
>
>
> {code}
>   //We balance per group instead of per table
>   List plans = new ArrayList<>();
>   for(Map.Entry>> tableMap:
>   getRSGroupAssignmentsByTable(groupName).entrySet()) {
> LOG.info("Creating partial plan for table " + tableMap.getKey() + ": "
> + tableMap.getValue());
> List partialPlans = 
> balancer.balanceCluster(tableMap.getValue());
> LOG.info("Partial plan for table " + tableMap.getKey() + ": " + 
> partialPlans);
> if (partialPlans != null) {
>   plans.addAll(partialPlans);
> }
>   }
>   long startTime = System.currentTimeMillis();
>   balancerRan = plans != null;
> {code}
> The *plans* is never null.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (HBASE-18765) The value of balancerRan is true even though no plans are executed

2017-09-06 Thread Chia-Ping Tsai (JIRA)

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

Chia-Ping Tsai updated HBASE-18765:
---
Description: 
{code}
  //We balance per group instead of per table
  List plans = new ArrayList<>();
  for(Map.Entry>> tableMap:
  getRSGroupAssignmentsByTable(groupName).entrySet()) {
LOG.info("Creating partial plan for table " + tableMap.getKey() + ": "
+ tableMap.getValue());
List partialPlans = 
balancer.balanceCluster(tableMap.getValue());
LOG.info("Partial plan for table " + tableMap.getKey() + ": " + 
partialPlans);
if (partialPlans != null) {
  plans.addAll(partialPlans);
}
  }
  long startTime = System.currentTimeMillis();
  balancerRan = plans != null;
{code}
The *plans* is never null.

  was:
{code}
  //We balance per group instead of per table
  List plans = new ArrayList<>();
  for(Map.Entry>> tableMap:
  getRSGroupAssignmentsByTable(groupName).entrySet()) {
LOG.info("Creating partial plan for table " + tableMap.getKey() + ": "
+ tableMap.getValue());
List partialPlans = 
balancer.balanceCluster(tableMap.getValue());
LOG.info("Partial plan for table " + tableMap.getKey() + ": " + 
partialPlans);
if (partialPlans != null) {
  plans.addAll(partialPlans);
}
  }
  long startTime = System.currentTimeMillis();
  balancerRan = plans != null;
{code}
The *plans* never be null.


> The value of balancerRan is true even though no plans are executed
> --
>
> Key: HBASE-18765
> URL: https://issues.apache.org/jira/browse/HBASE-18765
> Project: HBase
>  Issue Type: Bug
>  Components: rsgroup
>Reporter: Chia-Ping Tsai
>Assignee: Chia-Ping Tsai
>Priority: Minor
> Fix For: 2.0.0-alpha-3
>
> Attachments: HBASE-18765.v0.patch
>
>
> {code}
>   //We balance per group instead of per table
>   List plans = new ArrayList<>();
>   for(Map.Entry>> tableMap:
>   getRSGroupAssignmentsByTable(groupName).entrySet()) {
> LOG.info("Creating partial plan for table " + tableMap.getKey() + ": "
> + tableMap.getValue());
> List partialPlans = 
> balancer.balanceCluster(tableMap.getValue());
> LOG.info("Partial plan for table " + tableMap.getKey() + ": " + 
> partialPlans);
> if (partialPlans != null) {
>   plans.addAll(partialPlans);
> }
>   }
>   long startTime = System.currentTimeMillis();
>   balancerRan = plans != null;
> {code}
> The *plans* is never null.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (HBASE-18765) The value of balancerRan is true even though no plans are executed

2017-09-06 Thread Chia-Ping Tsai (JIRA)

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

Chia-Ping Tsai updated HBASE-18765:
---
Attachment: HBASE-18765.v0.patch

I don't add any tests because the related tests are disabled by HBASE-14614, 
and the disabled tests are traced by HBASE-18350.

> The value of balancerRan is true even though no plans are executed
> --
>
> Key: HBASE-18765
> URL: https://issues.apache.org/jira/browse/HBASE-18765
> Project: HBase
>  Issue Type: Bug
>  Components: rsgroup
>Reporter: Chia-Ping Tsai
>Assignee: Chia-Ping Tsai
>Priority: Minor
> Fix For: 2.0.0-alpha-3
>
> Attachments: HBASE-18765.v0.patch
>
>
> {code}
>   //We balance per group instead of per table
>   List plans = new ArrayList<>();
>   for(Map.Entry>> tableMap:
>   getRSGroupAssignmentsByTable(groupName).entrySet()) {
> LOG.info("Creating partial plan for table " + tableMap.getKey() + ": "
> + tableMap.getValue());
> List partialPlans = 
> balancer.balanceCluster(tableMap.getValue());
> LOG.info("Partial plan for table " + tableMap.getKey() + ": " + 
> partialPlans);
> if (partialPlans != null) {
>   plans.addAll(partialPlans);
> }
>   }
>   long startTime = System.currentTimeMillis();
>   balancerRan = plans != null;
> {code}
> The *plans* never be null.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (HBASE-18765) The value of balancerRan is true even though no plans are executed

2017-09-06 Thread Chia-Ping Tsai (JIRA)

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

Chia-Ping Tsai updated HBASE-18765:
---
Status: Patch Available  (was: Open)

> The value of balancerRan is true even though no plans are executed
> --
>
> Key: HBASE-18765
> URL: https://issues.apache.org/jira/browse/HBASE-18765
> Project: HBase
>  Issue Type: Bug
>  Components: rsgroup
>Reporter: Chia-Ping Tsai
>Assignee: Chia-Ping Tsai
>Priority: Minor
> Fix For: 2.0.0-alpha-3
>
> Attachments: HBASE-18765.v0.patch
>
>
> {code}
>   //We balance per group instead of per table
>   List plans = new ArrayList<>();
>   for(Map.Entry>> tableMap:
>   getRSGroupAssignmentsByTable(groupName).entrySet()) {
> LOG.info("Creating partial plan for table " + tableMap.getKey() + ": "
> + tableMap.getValue());
> List partialPlans = 
> balancer.balanceCluster(tableMap.getValue());
> LOG.info("Partial plan for table " + tableMap.getKey() + ": " + 
> partialPlans);
> if (partialPlans != null) {
>   plans.addAll(partialPlans);
> }
>   }
>   long startTime = System.currentTimeMillis();
>   balancerRan = plans != null;
> {code}
> The *plans* never be null.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (HBASE-18765) The value of balancerRan is true even though no plans are executed

2017-09-06 Thread Chia-Ping Tsai (JIRA)

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

Chia-Ping Tsai updated HBASE-18765:
---
Component/s: rsgroup

> The value of balancerRan is true even though no plans are executed
> --
>
> Key: HBASE-18765
> URL: https://issues.apache.org/jira/browse/HBASE-18765
> Project: HBase
>  Issue Type: Bug
>  Components: rsgroup
>Reporter: Chia-Ping Tsai
>Assignee: Chia-Ping Tsai
>Priority: Minor
> Fix For: 2.0.0-alpha-3
>
>
> {code}
>   //We balance per group instead of per table
>   List plans = new ArrayList<>();
>   for(Map.Entry>> tableMap:
>   getRSGroupAssignmentsByTable(groupName).entrySet()) {
> LOG.info("Creating partial plan for table " + tableMap.getKey() + ": "
> + tableMap.getValue());
> List partialPlans = 
> balancer.balanceCluster(tableMap.getValue());
> LOG.info("Partial plan for table " + tableMap.getKey() + ": " + 
> partialPlans);
> if (partialPlans != null) {
>   plans.addAll(partialPlans);
> }
>   }
>   long startTime = System.currentTimeMillis();
>   balancerRan = plans != null;
> {code}
> The *plans* never be null.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)