test - Hortonworks Data Platform

Hortonworks Data Platform for Teradata® Administrator Guide

Product
Hortonworks Data Platform
Release Number
SLES 12
3.1.5
3.1.4
3.0.1
Published
August 2020
Language
English (United States)
Last Update
2020-09-14
dita:mapPath
rix1551812220422.ditamap
dita:ditavalPath
jbc1497974574502.ditaval
dita:id
B035-6097
Product Category
Open Source

Purpose

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

Syntax

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

Parameters

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