You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Sergey Bahchissaraitsev (JIRA)" <ji...@apache.org> on 2017/06/19 13:25:00 UTC
[jira] [Created] (HDFS-11994) Hadoop NameNode Web UI throws "Failed
to retrieve data from /jmx?qry=java.lang:type=Memory, cause:" When running
behind a proxy
Sergey Bahchissaraitsev created HDFS-11994:
----------------------------------------------
Summary: Hadoop NameNode Web UI throws "Failed to retrieve data from /jmx?qry=java.lang:type=Memory, cause:" When running behind a proxy
Key: HDFS-11994
URL: https://issues.apache.org/jira/browse/HDFS-11994
Project: Hadoop HDFS
Issue Type: Bug
Components: ui
Affects Versions: 2.8.0
Environment: CentOS release 6.9 (Final)
OpenJDK version "1.8.0_131"
Hadoop 2.8.0
Reporter: Sergey Bahchissaraitsev
Priority: Minor
When running behind a proxy Hadoop Web UI throws the following exception because it tries to make Ajax requests to the base server URL:
{code:java}
Failed to retrieve data from /jmx?qry=java.lang:type=Memory, cause:
{code}
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/
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org