hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Navdeep Agrawal <Navdeep_Agra...@symantec.com>
Subject RE: HIveserver jdbc set configurations
Date Mon, 13 Oct 2014 05:58:38 GMT
Thank you for reply .but I tried below solution with mapred.job.queuename which is was unable
to set ,but I set that in connection string after ‘? ‘,which was working for me .

From: Prasad Mujumdar [mailto:prasadm@cloudera.com]
Sent: Friday, October 10, 2014 10:28 PM
To: user@hive.apache.org
Subject: Re: HIveserver jdbc set configurations


  You can execute a 'set property=value' statements using Statement.execute(). Such change
will only be visible in the current session.

thanks
Prasad


On Fri, Oct 10, 2014 at 4:11 AM, Navdeep Agrawal <Navdeep_Agrawal@symantec.com<mailto:Navdeep_Agrawal@symantec.com>>
wrote:
Hi,
I am connecting to hive server2 through jdbc and want to set some properties like mapreduce.queuename;hive.compute.query.using.stats;
how can I achieve that through java .


Thanks,
Navdeep

Mime
View raw message