You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Lantao Jin (JIRA)" <ji...@apache.org> on 2017/07/01 10:25:03 UTC

[jira] [Created] (MAPREDUCE-6910) MapReduceTrackingUriPlugin can not return the right URI of history server with HTTPS

Lantao Jin created MAPREDUCE-6910:
-------------------------------------

             Summary: MapReduceTrackingUriPlugin can not return the right URI of history server with HTTPS
                 Key: MAPREDUCE-6910
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6910
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: jobhistoryserver
    Affects Versions: 2.8.1, 2.7.3
            Reporter: Lantao Jin


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: 
{quote}
    <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>
{quote}

The {{MapReduceTrackingUriPlugin}} still returns a default HTTP URI:
{{http:0.0.0.0:19888}}
or
{{http://history.example.com:56789}}
if {{mapreduce.jobhistory.webapp.address}} is engaged at same time.
{quote}
    <property>
        <name>mapreduce.jobhistory.webapp.address</name>
        <value>history.example.com:67890</value>
    </property>
{quote}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org