SLES 12 - test - Hortonworks Data Platform

Hortonworks Data Platform for Teradata® Administrator Guide

prodname
Hortonworks Data Platform
vrm_release
2.6.4
2.6.5
SLES 12
created_date
November 2019
category
Administration
featnum
B035-6097-028K

Purpose

The command runs service checks and performance tests on the cluster.

Syntax

hcli [--option] test | [flume [--options] SIZE] | [test ingest [--options]] [ smoke [--service] | terasort size[K |M |G |T] | testdfsio size[K |M |G |T]]

Parameters

hcli test flume [--options] size[K |M |G |T ]
Run flume test with multiple file sizes.
  • K - kilobytes
  • M - megabytes
  • G - gigabytes
  • T - terabytes
Exit code is 0 if the test completed successfully; exit code is 1 if the test failed.
Option Description
--hdfs Dump flume records to HDFS
--checkpoint arg Checkpoint after every arg record
--timeout arg Fail if test takes longer than arg seconds
--batchsize arg Use flume batch size of arg records
Example:  hcli test flume --hdfs 10M
hcli test ingest [--options]
Perform a parallel load or unload test of dummy data into Hadoop for the specified time.
Exit code is 0 if the test completed successfully; exit code is 1 if the test failed.
Option Description
--block-size= size Buffer block size for loan/unload threads
--file-size= size Bytes to write in each file before rolling over to a new file
--time= secs | -t secs Number of seconds to measure load/unload performance
--ramp= secs | -r secs Number of seconds to start load/unload before starting measurement
--dfs-block-size= size Override DFS block size (must be a factor of 2)
--threads= N Use the specified number of threads
Example:  hcli test ingest -t 3600 --threads=24
hcli test smoke [service]
Run basic service checks for Ambari. Results are output as they occur and as a table of service check results.
  • No service listed. Run service checks for all installed services.
  • NAMENODE RESOURCEMANAGER Run service checks only for the Namenode and Resource Manager services.
Example: Run service checks for only the Namenode and Resource Manager services:

hcli test smoke NAMENODE RESOURCEMANAGER

hcli test terasort size[K |M |G |T]
Run the Hadoop Teragen, Terasort, and Teravalidate of specified size
  • K - kilobytes
  • M - megabytes
  • G - gigabytes
  • T - terabytes
Example:  hcli test terasort 2T
hcli test testdfsio size[K |M |G |T]
Run Hadoop DFSIO test with multiple file sizes.
  • K - kilobytes
  • M - megabytes
  • G - gigabytes
  • T - terabytes
Exit code is 0 if the test completed successfully; exit code is 1 if the test failed.
Example:  hcli test testdfsio 100M