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

Region server incorrectly reports its own address as master's address

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.92.2, 0.94.2
    • None
    • None
    • Reviewed

    Description

      Region server incorrectly reports its own address as Master's address while announcing successful connection to Master.

      Example: ine-51 is a RS connecting to master at ine-60

      2012-08-22 20:16:02,427 INFO org.apache.hadoop.hbase.regionserver.HRegionServer: Attempting connect to Master server at ine-60.rfiserve.net,60000,1345680901361
      2012-08-22 20:16:09,501 INFO org.apache.hadoop.hbase.regionserver.HRegionServer: Connected to master at ine-51.rfiserve.net/172.22.2.51:60020
      

      Bug is introduced by a typo, the variable isa is declared both as a field in class and local variable in the method printing this line.

      LOG.info("Connected to master at " + isa);
      

      Attachments

        Activity

          People

            shrijeet Shrijeet Paliwal
            shrijeet Shrijeet Paliwal
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: