Created 08-24-2017 03:49 PM
I followed the below steps to configure knox to HDP UI'S.
BY default i have the service.xml and rewrite.xml files in /var/lib/knox/data-2.5.3.0-37/services/hdfsui/2.7.0. But still i'm unable use knox to access ui's.
I have changed in topology, Still it shows original server address and port.
This is what i have in advanced-topology
<service> <role>RESOURCEMANAGER</role> <url>http://resource manager server:8088/ws</url> </service>
<service> <role>OOZIE</role> <url>http://oozie server:11000/oozie</url> </service>
<service> <role>HDFSUI</role> <url>http://namenode server:50070</url> </service>
https://community.hortonworks.com/articles/81713/configure-knox-to-access-hdfs-ui.html @Geoffrey Shelton Okot
Created 08-24-2017 10:46 PM
@Mahi chandra
The knox topology global gateway configuration files are in
$ ls -al /usr/hdp/current/knox-server/conf/topologies admin.xml default.xml knoxsso.xml manager.xml README
The file to change is the default.xml Please refer to this official security documentation
Created 02-02-2018 03:52 PM
@Mahi chandra What is the URL you are using for RM?
Created 12-22-2018 11:04 PM
To enable the HDP UI's you will need these additional service definitions in your XML topology file:
<service> <role>NAMENODE</role><url>hdfs://{namenode-server}:8020</url> </service> <service> <role>HDFSUI</role><url>http://{namenode-server}:50070</url> </service> <service> <role>YARNUI</role><url>http://{resourcemanager-server}:8088</url> </service> <service> <role>RESOURCEMANAGER</role><url>http://{resourcemanager-server}:8088/ws</url> </service> <service> <role>JOBHISTORYUI</role><url>http://{mapreduce-history-server}:19888</url> </service> <service> <role>OOZIE</role><url>http://{oozie-server}:11000/oozie</url> </service> <service> <role>OOZIEUI</role><url>http://{oozie-server}:11000/oozie</url> </service> <service> <role>HBASEUI</role><url>http://{hbase-master-server}:16010</url> </service>
Take a look to the service definitions under /usr/hdp/current/knox-server/data/services/ and to the official Knox docs section bellow were you will find the URL mapping to access each service UI:
http://knox.apache.org/books/knox-0-12-0/user-guide.html#UI+Service+Details