Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 07-24-2017 12:30 PM
Created 07-24-2017 03:08 PM
@Prasad T Please use the xml code below and create a topology file in /etc/knox/conf/topologies directory and replace the YARN_HOSTNAME and YARN_PORT with relevant values. If your newly created topology is named ui.xml, you can access the YARN UI using Web URL: https://KNOX_HOST:KNOX_PORT/gateway/ui/yarn/
<topology>
<gateway>
<provider>
<role>authentication</role>
<name>Anonymous</name>
<enabled>true</enabled>
</provider>
<provider>
<role>identity-assertion</role>
<name>Default</name>
<enabled>false</enabled>
</provider>
</gateway>
<service>
<role>YARN</role>
<url>http://<YARN_HOSTNAME>:<YARN_PORT></url>
</service>
<service>
<role>YARNUI</role>
<url>http://<YARN_HOSTNAME>:<YARN_PORT></url>
</service>
</topology>
Created 07-24-2017 12:43 PM
You need to configure your Knox topology and add YARNUI service snippet
E.g
<service>
<role>YARNUI</role>
<url>http://sandbox.hortonworks.com:8088</url>
</service>
This is a official documentation. The changes should be applied automatically.
With all the other settings unchanged the service has to be accessible from a URL scheme like:
https://{gateway-host}:{gateway-port}/{gateway-path}/{cluster-name}/yarn
E.g.
https://10.0.0.1:8443/gateway/hdc/yarn/
Hope this helps!
Created 08-02-2017 09:07 AM
We need another service entry with role "YARN" as well with same url. Also in URL scheme, "hdc" is not cluster-name but topology name.
Created 07-24-2017 03:08 PM
@Prasad T Please use the xml code below and create a topology file in /etc/knox/conf/topologies directory and replace the YARN_HOSTNAME and YARN_PORT with relevant values. If your newly created topology is named ui.xml, you can access the YARN UI using Web URL: https://KNOX_HOST:KNOX_PORT/gateway/ui/yarn/
<topology>
<gateway>
<provider>
<role>authentication</role>
<name>Anonymous</name>
<enabled>true</enabled>
</provider>
<provider>
<role>identity-assertion</role>
<name>Default</name>
<enabled>false</enabled>
</provider>
</gateway>
<service>
<role>YARN</role>
<url>http://<YARN_HOSTNAME>:<YARN_PORT></url>
</service>
<service>
<role>YARNUI</role>
<url>http://<YARN_HOSTNAME>:<YARN_PORT></url>
</service>
</topology>
Created 10-03-2018 02:47 AM
when i do the above it is asking me username-password when i access the URL..