Skip to content

Commit 01fbe22

Browse files
HBASE-28802 Fix the expected RS hostname message during useIP feature enabled
1 parent 9df62ab commit 01fbe22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1705,7 +1705,7 @@ protected void handleReportForDutyResponse(final RegionServerStartupResponse c)
17051705
if (!isHostnameConsist) {
17061706
String msg = "Master passed us a different hostname to use; was="
17071707
+ (StringUtils.isBlank(useThisHostnameInstead)
1708-
? rpcServices.getSocketAddress().getHostName()
1708+
? expectedHostName
17091709
: this.useThisHostnameInstead)
17101710
+ ", but now=" + hostnameFromMasterPOV;
17111711
LOG.error(msg);

0 commit comments

Comments
 (0)