We know that set command is used to set some values for properties
hive> SET hive.exec.dynamic.partition=true;
hive> SET hive.exec.dynamic.partition.mode=non-strict;
But how do we read the current value of above property
I tried the below…
Is there any way we can kill hive query without exiting from hive shell ?. For Example, I wrongly ran the select statement from some table which has million rows of data, i just wanted to stop it, but not exiting from the shell. If I pressed CTRL+Z,…
I have hive script custsales.hql now I want to run it from hive cli as
hive (pract5)> run /user/training/hdfs_location/custsales.hql
but it does not execute. Please guide. I know we can run it from command line with
$ hive -f…
After removing JndiLookupClass from the classpath under $HIVE_HOME/lib/log4j-core-2.6.2.jar we are getting multiple warnings when we open hive cli and also while running the queries.
PFA error lines.
2021-12-17 18:47:32,880 main WARN JNDI lookup…
I am using Cloudera Quickview VM 5.10
The following is my implementation which is not working.
Created a new file (sample.sql) in "user/hive/warehouse" using Hue. The extension is sql.
In Edit mode, I wrote some SQL code (use testdb; select * from…
I have a hive script which takes parameters in the form of --hivevar
var_name="value" from beeline and the substitution works well within hive queries.
Within this hive script, I wanted to run a shell script with a variable passed as a parameter.
I…
When I'm using variable substitution in hive, I meet some errors, but I need your help.
My code:
set hievar:b='on t1.id=t2.id where t2.id is null';
select * from t_old as t1 full outer join t_new as t2 ${b};
when I run this code in hive shell, it…
I want Hive to automatically acquire kerberos ticket whenever hive(More specifically hive-shell not hive-server) is executed and also renew it automatically in between if job run more then timeout of ticket.
I found similar functionality in Pig. See…
Hi I am new to Hive and kerberos.
I have some hive jobs which run more then life time of ticket. how can I configure hive so that when I start hive shell if ticket is not cached it automatically request for ticket. After acquiring ticket lets…
I have a sqoop job ran via oozie coordinator. After a major upgrade we can no longer use hive cli and were told to use beeline. I'm not sure how to do this? Here is the current process:
I have a hive file: hive_ddl.hql
use schema_name;
SET…
like
select ho from (select sourceaddress,count(sourceaddress) as
src,hour(eventtime) as ho
from default.fullandfinal
where sourceaddress='0.0.0.0' and eventtime between '2019-05-11 00:00:00' and
'2019-05-11 19:59:59'
group by…