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_agra...@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 >