Data Forest quickstart

Prev Next

Available in VPC

The following describes quickstart for Data Forest.

Step 1. Create account

  1. In the VPC environment of the NAVER Cloud Platform console, navigate to i_menu > Services > Big Data & Analytics > Data Forest in order.
  2. Click the [Create account] button under Account.
  3. Enter "df-test" as the account name, enter the account password, and then click the [Create] button.
Note

Step 2. Create app

  1. Click Data Forest > Apps, and then click the [Create app] button.
  2. Enter app information.
    • Account name: enter "df123".
    • App type: select "HUE-4.7.0".
    • App name: enter "my-hue".
    • Uptime: enter "604800".
    • Queue: select "longlived".
      df-quick-start_1-1_ko
  3. Complete basic settings, and then click the [Next] button.
  4. After the final check, click the [Create] button.
Note

Configure proxy in browser

Set proxy in the Firefox browser

To set up a proxy in the Firefox browser, follow these steps:

  1. Open a Firefox browser window.
  2. Click df-quick-start_i-firefox > Settings> Network settings > [Settings] at the upper right of the browser window.
  3. Click Internet proxy access settings > Manual proxy settings.
  4. Enter the SOCKS host information.
    • Select SOCKS v5.
    • SOCKS host: enter 127.0.0.1.
    • Port: 9494
      df-quick-start_firefox_ko
  5. Click the "do not ask upon authentication if the password is saved" and the "proxy DNS when using SOCKS v5" checkboxes.
  6. Once the proxy setting is completed, click the [OK] button.
Note

When not accessing the Data Forest server, you must change the proxy setting to "No Proxy" to use the Internet normally.

Set proxy in the Chrome browser on macOS

To set up a proxy in the Chrome browser on macOS, follow these steps:

Run the following command in cmd.

$ /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --proxy server="socks5://127.0.0.1:9876"

Set proxy in the Chrome browser on Windows

To set up a proxy in the Chrome browser on Windows, follow these steps:

  1. Right-click the Chrome icon, and then click Properties.
  2. When the Chrome properties window appears, add --proxy-server="socks5://127.0.0.1:9876" at the end of the entered text in the [Shortcut] tab > Target (T).

Step 3. Check access to quick links

To check the app's access to quick links, follow these steps:

  1. In the VPC environment of the NAVER Cloud Platform console, navigate to i_menu > Services > Big Data & Analytics > Data Forest > Data Forest >Apps in order.
  2. Click the Hue app to open the Details area.
  3. From the app details area, click the link under Quick links.
  4. Check if you have normal access.
    • If the access is made successfully, it indicates the tunneling has been completed and you can manage the HDFS files through the HUE app.
Note

For more information on quick links, see Access quick links.

Step 4. Integrate Zeppelin and HiveServer apps

To set up integration with the Apache Zeppelin and Apache HiveServer apps, follow these steps:

  1. Create the following apps: "HIVESERVER2-LDAP-3.1.0", "DEV-1.0.0", and "ZEPPELIN-0.10.1".
  2. Click the Zeppelin app created, and access zeppelin URL from Quick links.
    df-quick-start_2-2_ko
  3. Log in using the account name and the password entered when creating the account.
  4. Click your account located at the upper right on the screen, and then click Interpreter.
    df-hive_12_vpc_ko
  5. Search for the JDBC interpreter.
    df-quick-start_zeppelin03
  6. Click the [Edit] button at the upper right of the screen.
    df-quick-start_zeppelin04
  7. Add the hive.password field to Properties as follows:
    df-quick-start_zeppelin05
    • hive.driver: enter JDBC driver class path (org.apache.hive.jdbc.HiveDriver).
    • hive.password: enter the password for the account entered.
    • hive.proxy.user.property: enter hive.server2.proxy.user.
    • hive.splitQueries: enter true.
    • hive.url: enter the JDBC connection string example provided when creating the Hiveserver2-ldap app.
      • If any special character is included in the password set when creating the account, then substitute it to URL encoding when entering it.
    • hive.user: enter the account name (df-test).
  8. Enter /usr/hdp/current/hive-client/jdbc/hive-jdbc-3.1.0.3.1.0.0-78-standalone.jar to Dependencies > artifact.
    df-quick-start_zeppelin06
  9. Click the [Save] button.
  10. Then it becomes available to read and write the Hive DBs and tables created in Data Forest, as in the written code.
    df-quick-start_zeppelin08

Step 5. Delete app

You can delete apps that are no longer in use. To delete an app, follow these steps:

  1. In the VPC environment of the NAVER Cloud Platform console, navigate to i_menu > Services > Big Data & Analytics > Data Forest > Data Forest >Apps in order.
  2. Select the app you want to delete from the app list, and then click the [Finish] button.
  3. Select the finished app and click the [Delete] button.

Step 6. Delete account

You can delete accounts that are no longer in use. To delete an account, follow these steps:

  1. In the VPC environment of the NAVER Cloud Platform console, navigate to i_menu > Services > Big Data & Analytics > Data Forest > Accounts in order.
  2. Select the account you want to delete, and then click the [Delete] button.