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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to