Access secure Hadoop web UI

Prev Next

Available in VPC

This guide introduces how to configure the web browser proxy for accessing Secure Hadoop Web UI from NAVER Cloud Platform environment.

Preparations

  • The Firefox web browser must be installed.
  • For more information on how to install and use Firefox, see Mozilla official website.

Configure the web browser proxy

This guide introduces how to configure the proxy using the profile feature of the Firefox web browser in 4 steps.

1. Create the profile of Firefox web browser

  • Run the following commands in the terminal to run the profile administrator.
/Applications/Firefox.app/Contents/MacOS/firefox –ProfileManager

hadoop-secure-web-ui-1_ko

hadoop-secure-web-ui-2_ko

  • Click the [Create profile] button and enter test-secure-cluster in the new profile name.

2. Select the profile and start Firefox

  • Select the profile you created.
  • Uncheck the Use the selected profile when starting without asking button and click Start Firefox.

3. Change profile settings

  • Change the network and proxy related settings of the created test-secure-cluster profile as follows:

Change network settings
hadoop-secure-web-ui-3_ko

  • Enter about:config in the address bar and edit the following network related items:
    • network.negotiate-auth.trusted-uris = http://,https://
    • network.stricttransportsecurity.preloadlist = false
    • network.cookie.sameSite.noneRequiresSecure = false

Change proxy settings
hadoop-secure-web-ui-4_ko

  • Enter about:preferences in the address bar or search for "proxy settings" in the Firefox settings menu.
    hadoop-secure-web-ui-proxy-settings_ko
    • HTTP Proxy: 10.0.4.9 (port: 18888)
    • Check Use this proxy for HTTPS.
    • Select SOCKS v5.
    • When you use SOCKS v5, check DNS proxy.

4. Check the HTTP proxy IP

hadoop-secure-web-nslookup-1_ko

  1. Copy the domain address on the cluster details page of Cloud Hadoop.

hadoop-secure-web-nslookup-2_ko

  1. Run nslookup [도메인] in the terminal.
  2. Copy the IP in the Address item and enter it in the HTTP proxy.

5. Open the Firefox web browser with the created profile

Caution

After running Firefox with the created profile, you must rerun all running Firefox web browsers for normal operation.

  • Enter the profile directly to open the Firefox web browser.
/Applications/Firefox.app/Contents/MacOS/firefox -P test-secure-cluster http://e-001-test-secure-cluster-fk6-hd.kr.ch.naverncp.com:8080

Run Firefox with the created profile using the above commands and access Ambari Web UI immediately.

  • Open the Firefox web browser and select a profile.
    hadoop-secure-web-ui-5_ko

    • HTTP Proxy: 10.0.4.9 (port: 18888)
      When you run Firefox, select the test-secure-cluster profile in the Select profile window.
      Enter the following URL in the address bar and access Ambari Web UI.
http://e-001-test-secure-cluster-fk6-hd.kr.ch.naverncp.com:8080
  • Check Ambari Web UI access.
    hadoop-secure-web-ui-6_ko