-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.7.3, 2.8.1, 3.0.0-alpha3
-
Fix Version/s: 2.9.0, 3.0.0-beta1, 2.8.2
-
Component/s: jobhistoryserver
-
Labels:None
-
Target Version/s:
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>