Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.7.3, 2.8.1, 3.0.0-alpha3
-
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>