Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.8.0
-
None
-
None
-
CentOS release 6.9 (Final)
OpenJDK version "1.8.0_131"
Hadoop 2.8.0
Description
When running behind a proxy Hadoop Web UI throws the following exception because it tries to make Ajax requests to the base server URL:
Failed to retrieve data from /jmx?qry=java.lang:type=Memory, cause:
A good solution could be to adjust the Ajax URL based on the actual window URL using the jQuery Ajax "beforeSend" pre-request callback function: http://api.jquery.com/jquery.ajax/