hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Bahchissaraitsev (JIRA)" <j...@apache.org>
Subject [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
Date Mon, 19 Jun 2017 13:25:00 GMT
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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org


Mime
View raw message