bsglz commented on pull request #1909: URL: https://github.com/apache/hbase/pull/1909#issuecomment-650525663
> I do not fully understand the logic here, why it is OK to use localhost if the returned hostAndWeight is null? We will only use the related methods to get hostAndWeight for the local machine? Good question, the input host might be other machine, but in this case the hostAndWeights will not use localhost as host name(get from BlockLocation.hosts), so it is ok. ---------------------------------------------------------------- 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]
