5.7 - Accessing the Hadoop Command-Line Interface - Cloudera Distribution for Hadoop

Cloudera Distribution for Hadoop for Teradata Administrator Guide

prodname
Cloudera Distribution for Hadoop
vrm_release
5.4
5.5
5.7
created_date
June 2016
category
Administration
featnum
B035-6049-095K
You can access hcli from the command shell when logged on as the root user, and hcli executes the command as the appropriate user. For example, commands related to the HDFS file system are actually run by the HDFS user, even though you are logged in as the root user. hcli can be run on any node in the cluster, although some commands only work on certain nodes. You can run the commands from any file system location without navigating to the installation directory.
  1. Log on as root on any node. For example, log onto any node to run hcli node info