Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10386

Log proxy hostname in various exceptions being thrown in a HA setup

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.4.0
    • Component/s: ha
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In a HA setup any time we see an exception such as safemode or namenode in standby etc we dont know which namenode it came from. The user has to go to the logs of the namenode and determine which one was active and/or standby around the same time.
      I think it would help with debugging if any such exceptions could include the namenode hostname so the user could know exactly which namenode served the request.

        Attachments

        1. HDFS-5653.000.patch
          8 kB
          Haohui Mai
        2. HDFS-5653.001.patch
          8 kB
          Haohui Mai
        3. HDFS-5653.002.patch
          8 kB
          Haohui Mai
        4. HDFS-5653.003.patch
          8 kB
          Haohui Mai
        5. HDFS-5653.004.patch
          10 kB
          Haohui Mai
        6. HDFS-5653.005.patch
          11 kB
          Haohui Mai
        7. HDFS-5653.006.patch
          11 kB
          Haohui Mai

          Activity

            People

            • Assignee:
              wheat9 Haohui Mai
              Reporter:
              arpitgupta Arpit Gupta
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: