Accessing the Hadoop Command-Line Interface - Hortonworks Data Platform

Hortonworks Data Platform for Teradata Administrator Guide

Product
Hortonworks Data Platform
Release Number
2.6
Published
July 2017
Language
English (United States)
Last Update
2018-04-12
dita:mapPath
xfe1499786393149.ditamap
dita:ditavalPath
hdp_Hortonworks.ditaval.ditaval
dita:id
B035-6097
lifecycle
previous
Product Category
Open Source
You can access hcli from the command shell when logged on as the root user, and hcli runs 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 on 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 on to a master node to run hcli system restart --stale For example, log on to any node to run hcli node info