[ 
https://issues.apache.org/jira/browse/HBASE-27333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17705968#comment-17705968
 ] 

Hudson commented on HBASE-27333:
--------------------------------

Results for branch master
        [build #806 on 
builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/806/]: 
(x) *{color:red}-1 overall{color}*
----
details (if available):

(x) {color:red}-1 general checks{color}
-- For more information [see general 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/806/General_20Nightly_20Build_20Report/]




(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/806/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(x) {color:red}-1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/806/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


(/) {color:green}+1 client integration test{color}


> Abort RS when the hostname is different from master seen
> --------------------------------------------------------
>
>                 Key: HBASE-27333
>                 URL: https://issues.apache.org/jira/browse/HBASE-27333
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 3.0.0-alpha-3, 2.4.13
>            Reporter: Xiaolin Ha
>            Assignee: Xiaolin Ha
>            Priority: Major
>             Fix For: 2.6.0, 3.0.0-alpha-4, 2.5.4
>
>
> For HRegionServer#handleReportForDutyResponse, when the hostname is different 
> from the regionserver and master side, both the two conditions should abort 
> RS.
> {code:java}
> if (
>   !StringUtils.isBlank(useThisHostnameInstead)
>     && !hostnameFromMasterPOV.equals(useThisHostnameInstead)
> ) {
>   String msg = "Master passed us a different hostname to use; was="
>     + this.useThisHostnameInstead + ", but now=" + hostnameFromMasterPOV;
>   LOG.error(msg);
>   throw new IOException(msg);
> }
> if (
>   StringUtils.isBlank(useThisHostnameInstead)
>     && 
> !hostnameFromMasterPOV.equals(rpcServices.getSocketAddress().getHostName())
> ) {
>   String msg = "Master passed us a different hostname to use; was="
>     + rpcServices.getSocketAddress().getHostName() + ", but now=" + 
> hostnameFromMasterPOV;
>   LOG.error(msg);
> } {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to