百度智能云

All Product Document

          MapReduce

          SSH Connection to Cluster

          Application Scenario

          Interact with the master node when the cluster is running. For example, log in to the master node for interactive query, check log files, use the monitoring function of applications running on the master node, and debug the cluster.

          Use the Secure Shell (SSH) to connect the master node and then monitor and interact with the cluster. By giving the Linux command on the master node, you can run HBase, Hive, and Pig applications interactively, browse the directory, and read log files.

          Operating Steps

          1. After you create the cluster successfully, please obtain public IP and SSH port number of the Master node from "Messages".

            Notes:

            When you connect the SSH, please use the port number specified in the message.

          1. Connect the Master node when the cluster is running. View the cluster’s IP address and port number in the message, and set the user name and password when you create the cluster.

            • In Linux environment: Use the ssh username@eip -p [port number] command to connect the Master node. The eip is the public IP address of the Master node, the username is root, and the password is the administrator password set during the creation of cluster.
            • In Windows environment: Log in through the SSH client (Putty, SecureCRT, Xshell, etc.) or the SSH protocol. Take Putty for example:

          1. After the verification, you can log in to the master node and handle the cluster.
          Previous
          Configure Clusters
          Next
          Use OpenVPN to Access Clusters