Sometimes we may need to clear the screen or console window of commands or any output generated from the previous task.
The following commands are used to clear the contents of the screen from Hive, Impala, and HDFS terminal windows. If you have already worked in Ms-DOS, you would definitely search for such command in other terminals.
By the way, CLS is the command in DOS.
HDFS:
clear; is the command to clean-up the contents of the screen in Impala.
Impala:
!clear; is the command to clean-up the contents of the screen in Impala.
Hive:
!clear; is the command to clean-up the contents of the screen in Hive.