CLI command notes for Hive management

hive enters CLI command mode

quit; exit; exit command mode

clear screen command

- Ctrl +l 或者 !clear

View tables in the data warehouse

- show tables;

View built-in functions in the database

- show functions;

View table structure

- desc 表名

View files on HDFS

- dfs -ls 目录

Execute operating system commands

- ! 命令

enter silent mode

- hive -s

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325699782&siteId=291194637