Create and manage app
    • PDF

    Create and manage app

    • PDF

    Article Summary

    Available in VPC

    This page explains information about the apps provided by Data Forest, and how to create and manage the apps. Data Forest offers 15 apps. All the apps can be executed with Docker containers, and users can use Data Forest for building a big data system optimized to their needs.

    Note

    For a description of the types of apps provided by Data Forest, see Prerequisites for using Data Forest.

    Create app

    The following describes how to create an app.

    1. Create an account that will own the app.

    2. From the NAVER Cloud Platform console, click the Services > Big Data & Analytics > Data Forest menu, in that order.

    3. Click the Data Forest > Apps menu on the left.

    4. Enter the details of the app you want to create on the basic settings screen.
      df-app_2-1_vpc_ko

      NameDescription
      Account name- The account that will own the app
      - Select the account that will access the app
      App type- Select app type to create
      - GRAFANA-7.5.10 was selected in the example
      App name- Designate the name of the app to create
      - Minimum of 3 characters, maximum of 20 characters including account and app name
      - Only English lowercase letters, numbers, and hyphens (-) are allowed
      Uptime- Running time (seconds) of the created app before it is ended
      - -1 (permanent), or 300 seconds (5 minutes) - 604,800 seconds (7 days)
      Version- The version that gets changed when the app configuration is edited
      - The number increases every time the version changes
      - Enter v1 upon creating an app
      Queue- Specify the YARN queue for running the app
      - Longlived: public queue for service app
      Application Master
      vCPU
      - The number of vCPUs required for running Application Master (fixed value at 1 vCPU)
      Application Master
      Memory
      - The memory required for running Application Master (fixed value at 4 GB)
      Component- The list of components that make up the app
      - Basic components are fixed for each app type, and the user can only set component resources
      - The default value is the recommended resources
    5. When settings are completed, click the [Next] button.

    6. Enter the parameter values for the app you want to create on the user setting screen.
      df-app_2-2_vpc_ko

      NameDescription
      Parameters- List of configurable parameters of the app
      - Parameters are fixed for setting each app type, and users can only set parameter values
      - The default value is the recommended resources
      Import- Restore the settings of the same app previously created
      Reset- Reset the entered parameter values to default
    7. When settings are completed, click the [Next] button.

    8. After final confirmation, click the [Create] button.

    • For all apps, the application is submitted to YARN immediately upon creation request, and it takes about 1 to 2 minutes to complete the app creation.
      df-app_2-3_vpc_ko
    Note

    Uptime: the time elapsed from when the app is started to when it's closed.
    It is created in 604,800 seconds (7 days) by default, and the app is killed after 7 days.

    Check app details

    The following describes how to check the app details.

    1. From the NAVER Cloud Platform console, click the Services > Big Data & Analytics > Data Forest menu, in that order.

    2. Click the Data Forest > Apps menu on the left. You can see the list of apps that the user executed.
      df-app-control_01_vpc_ko(1)

      ItemsDescription
      App nameThe app's name
      AccountThe account that can access the app
      StatusThe app's status. Need to check app details even in Running status
      End TimeThe app's end time
      Elapsed TimeThe app's uptime
    3. Click df-app_open at the end of the app list to see the app details.
      df-app_3-4_vpc_ko

    ItemsDescription
    App typeThe app's type
    StatusApp status
    - ACCEPTED: the YARN scheduler has received a request to run the application
    - RUNNING: a state in which resources are allocated to the Application Master and the application is running
    - KILLED: the application has been closed unexpectedly. It may terminate when Lifetime expires.
    - FINISHED: a state in which the application has been normally terminated by a user's operation
    - STOPPED: application stopped. It can be restarted. It has the same application ID.
    - FAILED: creation of the application has failed. The failure may be due to an internal error. You can retry or submit a customer inquiry.
    - CHANGING: the application is being changed. It usually shows when the lifetime is being edited or flexed. The status changes to Running when the change is completed successfully.
    App nameThe app's name
    LifetimeThe app's remaining uptime.
    The app is stopped when the app's uptime becomes 0 second.
    To extend the app's uptime, click the [Edit] button.
    VersionThe version that gets changed when the app configuration is edited
    The number increases every time the version changes.
    Enter v1 upon creating an app
    Queue nameThe queue selected when creating the app
    Application IDThe application ID received after the app has been submitted to YARN
    AccountThe account that can access the app
    User settingsParameter values set in the app
    Note
    • Even when the app list's Status is Running, it is possible that the app hasn't been started completely. To make sure all the containers that make up the app are running normally, you should check if Status under the app details is Stable.
    • Status in the app list means the status of YARN Application, and Status in the app details means the status of YARN Service.

    Check cluster access information

    The following describes how to check the access information for each application type in a cluster.

    1. From the NAVER Cloud Platform console, click the Services > Big Data & Analytics > Data Forest menu, in that order.
    2. Click the Data Forest > Apps menu on the left.
    3. After selecting the created app, click Quick links > [View details of access information] in the app details.
    4. Check the access information for each application type in the cluster.
      df-account_13_vpc_ko

    Manage apps

    Kill application manager node

    When an app has an issue and doesn't work normally, restart the Application Manager ([Kill AM]). You can assess the situation and normalize the app from the newly started AM.

    1. From the NAVER Cloud Platform console, click the Services > Big Data & Analytics > Data Forest menu, in that order.
    2. Click the Data Forest > Apps menu on the left.
    3. Select the account, and then the app.
    4. Click the [Kill AM] button in the view app details.

    Adjust the number of containers

    You can adjust the number of containers for each component.

    The following describes how to change the number of containers in a component.

    1. From the NAVER Cloud Platform console, click the Services > Big Data & Analytics > Data Forest menu, in that order.
    2. Click the Data Forest > Apps menu on the left.
    3. Select an account and the app to adjust the number of containers, and then click the [Flex] button.
    4. When the pop-up window appears, edit the number of containers, and then click the [Edit] button.
      df-app-control_04_vpc_ko
    Caution

    Changing the number of containers requires appropriate measures such as backup because data may be lost. Only edit the number of containers when absolutely necessary.

    Start the app

    The following describes how to restart a closed app.

    1. From the NAVER Cloud Platform console, click the Services > Big Data & Analytics > Data Forest menu, in that order.
    2. Click the Data Forest > Apps menu on the left.
    3. Select an account and the app to start from the app list, and then click the [Start] button.

    End the app

    The following describes how to close down an app.

    1. From the NAVER Cloud Platform console, click the Services > Big Data & Analytics > Data Forest menu, in that order.
    2. Click the Data Forest > Apps menu on the left.
    3. Select an account and the app to close from the app list, and then click the [End] button.

    Delete the app

    The following describes how to delete an app.

    1. From the NAVER Cloud Platform console, click the Services > Big Data & Analytics > Data Forest menu, in that order.
    2. Click the Data Forest > Apps menu on the left.
    3. Select an account, and then check that the app to be deleted from the app list has been closed.
      • The app needs to be closed before being deleted.
    4. Select the app to delete, and then click the [Delete] button.

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.