This command allows you to view and reset values in Hadoop configuration files.
Syntaxhcli [--option] config [retune | show [--option]]
- hcli config retune
- Apply factory default tuning and overwrite existing configuration settings. Before applying, a prompt requests backup of the existing configuration.Exit code 0 indicates the tuning was successfully completed; exit code 1 indicates the tuning could not be changed.
- hcli config show [OPTIONS]
- Export a Hadoop cluster configuration to stdout.The exit code is 0 if successful; the exit code is 1 if unsuccessful.
Option Description --json Export Hadoop cluster configurations to stdout as a JSON dictionary --shell Produce bash-compatible output