Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-8648

Call to equals() comparing different types in HRegionServer.handleReportForDutyResponse()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Here is related code:

                if (!this.serverNameFromMasterPOV.equals(this.isa.getHostName())) {
      

      serverNameFromMasterPOV is of type ServerName but this.isa.getHostName() returns String

      Attachments

        1. 8648-v1.txt
          0.9 kB
          Ted Yu
        2. 8648-v2.txt
          0.9 kB
          Ted Yu

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: