Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-6657

job history server can fail on startup when NameNode is in start phase

    Details

    • Hadoop Flags:
      Reviewed

      Description

      Job history server will try to create a history directory in HDFS on startup. When NameNode is in safe mode, it will keep retrying for a configurable time period. However, it should also keeps retrying if the name node is in start state. Safe mode does not happen until the NN is out of the startup phase.

      A RetriableException with the text "NameNode still not started" is thrown when the NN is in its internal service startup phase. We should add the check for this specific exception in isBecauseSafeMode() to account for that.

        Attachments

        1. mapreduce6657.007.patch
          9 kB
          Haibo Chen
        2. mapreduce6657.006.patch
          6 kB
          Haibo Chen
        3. mapreduce6657.005.patch
          6 kB
          Haibo Chen
        4. mapreduce6657.004.patch
          5 kB
          Haibo Chen
        5. mapreduce6657.003.patch
          4 kB
          Haibo Chen
        6. mapreduce6657.002.patch
          5 kB
          Haibo Chen
        7. mapreduce6657.001.patch
          5 kB
          Haibo Chen

          Activity

            People

            • Assignee:
              haibochen Haibo Chen
              Reporter:
              haibochen Haibo Chen
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: