UI access and password settings by service
    • PDF

    UI access and password settings by service

    • PDF

    Article Summary

    Available in Classic

    You can submit management tasks or applications through NAVER Cloud Platform's Cloud Hadoop console or web UI (Ambari, Hue, etc.). However, SSH connection to the cluster node is required for executing the client directly.

    Note

    Some web UIs such as HDFS name node UI can only be accessed via SSH tunneling. For more details, see Web UI connection using tunneling.

    Preparations

    In order to access a cluster node, the following preparations need to be made in advance:

    ItemDescriptionGuide
    Set ACGAdd the allowed port of the access page and the fixed IP of the device needed to access the cluster ACG setting
  • Access source: fixed IP of the user (Click the [myIp] button to enter)
  • Allowed port: 8080 for Ambari, 50070 for HDFS NameNode
  • Firewall settings (ACG)
    Authentication keyPrivate key (.pem) required for access to the clusterManaging authentication key for direct cluster connection
    Public IPPublic IP required for access to the cluster node
    The detailed information of the cluster can be viewed from Public IP
    Check cluster details

    Set ACG rules

    The following describes how to change the ACG rules of a cluster.

    1. From the NAVER Cloud Platform console, click Services > Compute > Server > ACG, in order.
    2. Select the ACG of the cluster you want to access, and click the [ACG settings] button.
      chadoop-3-3-01_en.png
    3. Enter the 4 information items below and add an ACG rule.
      • Protocol: TCP
      • Access source: IP of the local equipment used for SSH communication
      • Allowed port: 22
      • Note (optional)
        chadoop-3-3-02_en.png
    Note
    • Application web UI list by cluster version and type

    The following is the list of application web UIs provided for each version and type of Cloud Hadoop clusters.

    • Cloud Hadoop cluster version 1.0
    Cluster versionCluster typeApplication WebApplication Web Reference Site
    1.0Core HadoopAmbari Web Consolehttps://ambari.apache.org/
    Core HadoopHue Adminhttps://gethue.com/
    HBaseAmbari Web Consolehttps://ambari.apache.org/
    SparkAmbari Web Consolehttps://ambari.apache.org/
    SparkHue Adminhttps://gethue.com/
    SparkZeppelin Notebookhttps://zeppelin.apache.org/
    • Cloud Hadoop cluster version 1.1, 1.2
    Cluster versionCluster typeApplication WebApplication Web Reference Site
    1.1
    1.2
    Core HadoopAmbari Web Consolehttps://ambari.apache.org/
    Core HadoopHue Adminhttps://gethue.com/
    HBaseAmbari Web Consolehttps://ambari.apache.org/
    PrestoAmbari Web Consolehttps://ambari.apache.org/
    PrestoHue Adminhttps://gethue.com/
    PrestoPresto Coordinatorhttps://prestodb.io/
    PrestoZeppelin Notebookhttps://zeppelin.apache.org/
    SparkAmbari Web Consolehttps://ambari.apache.org/
    SparkHue Adminhttps://gethue.com/
    SparkZeppelin Notebookhttps://zeppelin.apache.org/

    Web UI access

    You can access the web UI using DNS.

    Note

    From Cloud Hadoop 2.1 and higher, you must complete the NCloud account login authentication to access web UI due to SSO integration.

    The following describes how to access the available web UIs:

    1. From NAVER Cloud Platform console, click the Services > Big Data & Analytics > Cloud Hadoop menus sequentially.

    2. Select the cluster to access the web UI from the cluster list, and then click the [View by application] button.

    3. Click the web UI link in the remarks field from the pop-up window's web UI list.

    4. Go to the NCloud login authentication page and access through the personal information consent after NCloud account login.
      chadoop-sso-1-1.png

      chadoop-sso-1-2.png

    Change password

    Ambari

    To set and change the Ambari UI access password click [Manage cluster] > Initialize cluster admin password menu from Cloud Hadoop console.
    For more details, see Initialize cluster admin password.
    chadoop-3-3-04_en.png

    Hue

    The following describes how to change the password for accessing the HUE UI:

    1. Run PuTTY and access the edge node via SSH. (see SSH cluster node access guide)

    2. Run the command below to change the password.

      $ echo "from django.contrib.auth.models import User; 
      u = User.objects.get(username='existing user name');
      u.set_password('new password');
      u.save()
      " |  /usr/lib/hue/build/env/bin/hue  shell
      

      Or, use the hue changepassword command as below to change the password.

      $ pwd
      /usr/lib/hue/build/env/bin
      
      $ sudo ./hue changepassword 'existing user name'
      Changing password for user 'existing user name'
      Password:
      Password (again):
      Password changed successfully for user 'existing user name'
      

    Zeppelin Notebook

    In Cloud Hadoop, Zeppelin Notebooks are managed by Ambari.
    Therefore, it is recommended to access the Ambari UI and perform tasks rather than directly accessing the cluster to change files and run scripts.

    Here's how to change your Zeppelin Notebook password.

    1. After accessing the Ambari UI, log in with the cluster admin account ID and password.
    2. Click Zeppelin Notebook on the left tab.
    3. Click [Configs] tap at the top.
    4. Click Advanced-zeppelin-shiro-ini item, and edit the password.
      chadoop-3-3-zeppelin_C_ko
    5. Click the [Save] button at the top.
    6. Click [Restart] > Restart All Affected button at the upper right, and click [CONFIRM RESTART ALL].

    If you follow the above sequence and access Zeppelin Notebook, you will see that the password change has been applied.


    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.