UI access and password settings by service

Prev Next

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:

Item Description Guide
Set ACG Add 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 key Private key (.pem) required for access to the cluster Managing authentication key for direct cluster connection
Public IP Public 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. Click i_menu > Services > Compute > Server > ACG on the Classic environment of the NAVER Cloud Platform console.
  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 version Cluster type Application Web Application Web Reference Site
1.0 Core Hadoop Ambari Web Console https://ambari.apache.org/
Core Hadoop Hue Admin https://gethue.com/
HBase Ambari Web Console https://ambari.apache.org/
Spark Ambari Web Console https://ambari.apache.org/
Spark Hue Admin https://gethue.com/
Spark Zeppelin Notebook https://zeppelin.apache.org/
  • Cloud Hadoop cluster version 1.1, 1.2
Cluster version Cluster type Application Web Application Web Reference Site
1.1
1.2
Core Hadoop Ambari Web Console https://ambari.apache.org/
Core Hadoop Hue Admin https://gethue.com/
HBase Ambari Web Console https://ambari.apache.org/
Presto Ambari Web Console https://ambari.apache.org/
Presto Hue Admin https://gethue.com/
Presto Presto Coordinator https://prestodb.io/
Presto Zeppelin Notebook https://zeppelin.apache.org/
Spark Ambari Web Console https://ambari.apache.org/
Spark Hue Admin https://gethue.com/
Spark Zeppelin Notebook https://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. Click i_menu > Services > Big Data & Analytics > Cloud Hadoop on the Classic environment of the NAVER Cloud Platform console.

  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

    chadoop-sso-1-2

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

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_en
  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.