RE: Setting | Verifying | Hive Query Parameters from Java

2014-03-09 Thread Rohith Sharma K S
o:gw...@gopivotal.com] Sent: 07 March 2014 14:45 To: user Subject: Re: Setting | Verifying | Hive Query Parameters from Java Hi Rinku, I think yarn.nodemanager.resource.memory-mb is a static configuration prop. You can not change this dynamically. The other MR props looks OK to me. On Fri, Mar 7,

Re: Setting | Verifying | Hive Query Parameters from Java

2014-03-09 Thread Gordon Wang
effect ) I suggest that you execute HQL like "set fs.defaultFS=hdfs://hostA:8020;" after an jdbc connection is established. > Please reply > > > > Thanks > > Rinku Garg > > > > *From:* Gordon Wang [mailto:gw...@gopivotal.com] > *Sent:* Friday, March 07,

RE: Setting | Verifying | Hive Query Parameters from Java

2014-03-07 Thread Garg, Rinku
: Setting | Verifying | Hive Query Parameters from Java Hi Rinku, I think yarn.nodemanager.resource.memory-mb is a static configuration prop. You can not change this dynamically. The other MR props looks OK to me. On Fri, Mar 7, 2014 at 2:58 PM, Garg, Rinku mailto:rinku.g...@fisglobal.com>> wro

Re: Setting | Verifying | Hive Query Parameters from Java

2014-03-07 Thread Gordon Wang
48; > > set mapreduce.map.java.opts=-Xmx2048M; > > set yarn.app.mapreduce.am.command-opts=-Xmx2048m; > > > > Please suggest. > > > > Thanks > > Rinku Garg > > > > *From:* Gordon Wang [mailto:gw...@gopivotal.com] > *Sent:* Friday, March 07, 2014 11:49 AM &g

RE: Setting | Verifying | Hive Query Parameters from Java

2014-03-06 Thread Garg, Rinku
mapreduce.map.java.opts=-Xmx2048M; set yarn.app.mapreduce.am.command-opts=-Xmx2048m; Please suggest. Thanks Rinku Garg From: Gordon Wang [mailto:gw...@gopivotal.com] Sent: Friday, March 07, 2014 11:49 AM To: user@hive.apache.org Subject: Re: Setting | Verifying | Hive Query Parameters from Java The 2

Re: Setting | Verifying | Hive Query Parameters from Java

2014-03-06 Thread Gordon Wang
The 2 following props are for hive server2. I don't think you can change it in your jdbc session. I am wondering why you need to change them in your jdbc connection. props.setProperty(hive.server2.async.exec.threads,50); props.setProperty(hive.server2.thrift.max.worker.threads,500); You can s

RE: Setting | Verifying | Hive Query Parameters from Java

2014-03-06 Thread java8964
ku.g...@fisglobal.com To: user@hive.apache.org Subject: RE: Setting | Verifying | Hive Query Parameters from Java Date: Thu, 6 Mar 2014 11:12:52 + Hi All, Can anybody help me on below mail trail. Thanks Rinku Garg From: Garg, Rinku Sent: Tuesday, March 04, 2014 5:14 PM To:

RE: Setting | Verifying | Hive Query Parameters from Java

2014-03-06 Thread Garg, Rinku
Hi All, Can anybody help me on below mail trail. Thanks Rinku Garg From: Garg, Rinku Sent: Tuesday, March 04, 2014 5:14 PM To: user@hive.apache.org Subject: Setting | Verifying | Hive Query Parameters from Java Hi All, We have installed CDH4.2.0 and hive-0.10.0-cdh4.2.0. Both are working as

Setting | Verifying | Hive Query Parameters from Java

2014-03-04 Thread Garg, Rinku
Hi All, We have installed CDH4.2.0 and hive-0.10.0-cdh4.2.0. Both are working as desired. We need to set hive configuration parameter from Java while making JDBC connection. We have written a java program to execute queries on hive server with some configurations properties setting dynamicall