hive important command

hadoop dfsadmin -safemode leave; hadoop exit safe mode
allows prompt displays the current library:

set hive.cli.print.current.db = true;
field names when query results are displayed:
SET = hive.cli.print.header to true; 
SET = hive.resultset.use.unique.column.names to false;
 using local mode run
set hive.exec.mode.local.auto = true;

 

Guess you like

Origin www.cnblogs.com/wangshuang123/p/10965628.html