Skip to content

Commit

Permalink
HBASE-28802 Log the IP when hbase.server.useip.enabled is set to true (
Browse files Browse the repository at this point in the history
…#6176)

Signed-off-by: Pankaj Kumar<[email protected]>
Reviewed-by: Vineet Kumar Maheshwari <[email protected]>
(cherry picked from commit 9d3ceb8)
  • Loading branch information
srinireddy2020 authored and pankaj72981 committed Aug 31, 2024
1 parent c2f37b7 commit d852cc2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1420,7 +1420,7 @@ protected void handleReportForDutyResponse(final RegionServerStartupResponse c)
if (!isHostnameConsist) {
String msg = "Master passed us a different hostname to use; was="
+ (StringUtils.isBlank(useThisHostnameInstead)
? rpcServices.getSocketAddress().getHostName()
? expectedHostName
: this.useThisHostnameInstead)
+ ", but now=" + hostnameFromMasterPOV;
LOG.error(msg);
Expand Down

0 comments on commit d852cc2

Please sign in to comment.