bsglz commented on pull request #1909:
URL: https://github.com/apache/hbase/pull/1909#issuecomment-654562715


   The hostAndWeights stores weight of hosts for a region, currently the hosts 
in special mode has a bit diff, shows below.
      
   ```
   #local mode(run by IDEA in windows)
   "localhost" -> xxx
   
   #distributed mode
   "hostA" -> xxx
   "hostB" -> yyy
   "hostC" -> zzz
   ```
   
   In local mode, we can not get the weight now, and the code I added could 
solve it.
   In distributed mode, this code would not make effect, because no host named 
"localhost".
   Thanks. @Apache9 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to