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

MapReduceTrackingUriPlugin can not return the right URI of history server with HTTPS

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.3, 2.8.1, 3.0.0-alpha3
    • 2.9.0, 3.0.0-beta1, 2.8.2
    • jobhistoryserver
    • None

    Description

      When the MapReduceTrackingUriPlugin enabled, the URI requests from proxy server or RM UI which are also out of yarn.resourcemanager.max-completed-applications should be redirect to the history server URI.
      But when I access a HTTPS history server with the properties:

      <property>
      <name>mapreduce.jobhistory.http.policy</name>
      <value>HTTPS_ONLY</value>
      </property>
      <property>
      <name>mapreduce.jobhistory.webapp.https.address</name>
      <value>history.example.com:12345</value>
      </property>

      The MapReduceTrackingUriPlugin still returns a default HTTP URI:
      http://0.0.0.0:19888
      or
      http://history.example.com:67890
      if mapreduce.jobhistory.webapp.address is engaged at same time.

      <property>
      <name>mapreduce.jobhistory.webapp.address</name>
      <value>history.example.com:67890</value>
      </property>

      Attachments

        1. MAPREDUCE-6910.002.patch
          2 kB
          Lantao Jin
        2. MAPREDUCE-6910.001.patch
          5 kB
          Lantao Jin

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            cltlfcjin Lantao Jin
            cltlfcjin Lantao Jin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment