deepujain opened a new pull request, #8387: URL: https://github.com/apache/hadoop/pull/8387
Summary Avoid invoking `tput` when it is not installed, so Hadoop shell usage formatting works on minimal distros without ncurses. Change - `hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh`: guard the terminal-width probe with `command -v tput` and fall back cleanly to the default width. - `hadoop-common-project/hadoop-common/src/test/scripts/hadoop_subcommands.bats`: add a regression for the missing-`tput` path. JIRA Fixes HADOOP-19758 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
