Logging---
$HIVE_HOME/bin/hive -hiveconf hive.root.logger=INFO,console
Resource Add (UDF)—
hive> add jar /home/hduser/hdfs-0.0.1-SNAPSHOT.jar
hive>CREATE TEMPORARY FUNCTION files AS 'usa.ControlFiles';
hive> add FILE /tmp/tt.py; hive> list FILES;
------------------------------------------
ADD { FILE[S] | JAR[S] | ARCHIVE[S] } <filepath1> [<filepath2>]*
LIST { FILE[S] | JAR[S] | ARCHIVE[S] } [<filepath1> <filepath2> ..]
DELETE { FILE[S] | JAR[S] | ARCHIVE[S] } [<filepath1> <filepath2> ..]
Copyright ©2022 coderraj.com. All Rights Reserved.