[jira] [Updated] (HIVE-5524) Unwanted delay in getting Hive metastore connection with METASTORE_CLIENT_CONNECT_RETRY_DELAY/

2013-12-09 Thread Harsh J (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-5524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Harsh J updated HIVE-5524:
--

Affects Version/s: (was: 0.11.0)
   Status: Patch Available  (was: Open)

Marking as Patch Available for review.

> Unwanted delay in getting Hive metastore connection with 
> METASTORE_CLIENT_CONNECT_RETRY_DELAY/
> --
>
> Key: HIVE-5524
> URL: https://issues.apache.org/jira/browse/HIVE-5524
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 0.10.0
>Reporter: Rajesh Balamohan
> Attachments: HIVE-5524.patch
>
>
> Reference:  
> http://svn.apache.org/repos/asf/hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
> 
>  for (URI store : metastoreUris) {
> 
> ...
>  if (isConnected) {
>   break;
> }
>   }
> // Wait before launching the next round of connection retries.
>   if (retryDelaySeconds > 0) {
> try {
>   LOG.info("Waiting " + retryDelaySeconds + " seconds before next 
> connection attempt.");
>   Thread.sleep(retryDelaySeconds * 1000);
> } catch (InterruptedException ignore) {}
>   }
> 
> By default "hive.metastore.client.connect.retry.delay" is set to 1 second.  
> If it is set to 10 seconds, this code will wait for 10 seconds even if a 
> successful connection is made in first attempt itself.
> This can be avoided by changing to 
> 
>  if (!isConnected && retryDelaySeconds > 0) {
> 
> 



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Updated] (HIVE-5524) Unwanted delay in getting Hive metastore connection with METASTORE_CLIENT_CONNECT_RETRY_DELAY/

2013-12-26 Thread Brock Noland (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-5524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brock Noland updated HIVE-5524:
---

   Resolution: Fixed
Fix Version/s: 0.13.0
   Status: Resolved  (was: Patch Available)

I have committed this to trunk but I am unable to assign to Rajesh since he is 
not a contributor in JIRA. I have requested Rajesh be added as a contributor 
and will give proper credit when that is done.

Thank you for the contribution Rajesh!

> Unwanted delay in getting Hive metastore connection with 
> METASTORE_CLIENT_CONNECT_RETRY_DELAY/
> --
>
> Key: HIVE-5524
> URL: https://issues.apache.org/jira/browse/HIVE-5524
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 0.10.0
>Reporter: Rajesh Balamohan
> Fix For: 0.13.0
>
> Attachments: HIVE-5524.patch
>
>
> Reference:  
> http://svn.apache.org/repos/asf/hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
> 
>  for (URI store : metastoreUris) {
> 
> ...
>  if (isConnected) {
>   break;
> }
>   }
> // Wait before launching the next round of connection retries.
>   if (retryDelaySeconds > 0) {
> try {
>   LOG.info("Waiting " + retryDelaySeconds + " seconds before next 
> connection attempt.");
>   Thread.sleep(retryDelaySeconds * 1000);
> } catch (InterruptedException ignore) {}
>   }
> 
> By default "hive.metastore.client.connect.retry.delay" is set to 1 second.  
> If it is set to 10 seconds, this code will wait for 10 seconds even if a 
> successful connection is made in first attempt itself.
> This can be avoided by changing to 
> 
>  if (!isConnected && retryDelaySeconds > 0) {
> 
> 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (HIVE-5524) Unwanted delay in getting Hive metastore connection with METASTORE_CLIENT_CONNECT_RETRY_DELAY/

2013-12-26 Thread Ashutosh Chauhan (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-5524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashutosh Chauhan updated HIVE-5524:
---

Assignee: Rajesh Balamohan

> Unwanted delay in getting Hive metastore connection with 
> METASTORE_CLIENT_CONNECT_RETRY_DELAY/
> --
>
> Key: HIVE-5524
> URL: https://issues.apache.org/jira/browse/HIVE-5524
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 0.10.0
>Reporter: Rajesh Balamohan
>Assignee: Rajesh Balamohan
> Fix For: 0.13.0
>
> Attachments: HIVE-5524.patch
>
>
> Reference:  
> http://svn.apache.org/repos/asf/hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
> 
>  for (URI store : metastoreUris) {
> 
> ...
>  if (isConnected) {
>   break;
> }
>   }
> // Wait before launching the next round of connection retries.
>   if (retryDelaySeconds > 0) {
> try {
>   LOG.info("Waiting " + retryDelaySeconds + " seconds before next 
> connection attempt.");
>   Thread.sleep(retryDelaySeconds * 1000);
> } catch (InterruptedException ignore) {}
>   }
> 
> By default "hive.metastore.client.connect.retry.delay" is set to 1 second.  
> If it is set to 10 seconds, this code will wait for 10 seconds even if a 
> successful connection is made in first attempt itself.
> This can be avoided by changing to 
> 
>  if (!isConnected && retryDelaySeconds > 0) {
> 
> 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (HIVE-5524) Unwanted delay in getting Hive metastore connection with METASTORE_CLIENT_CONNECT_RETRY_DELAY/

2013-10-11 Thread Rajesh Balamohan (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-5524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rajesh Balamohan updated HIVE-5524:
---

Attachment: HIVE-5524.patch

Attaching the patch

> Unwanted delay in getting Hive metastore connection with 
> METASTORE_CLIENT_CONNECT_RETRY_DELAY/
> --
>
> Key: HIVE-5524
> URL: https://issues.apache.org/jira/browse/HIVE-5524
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 0.10.0, 0.11.0
>Reporter: Rajesh Balamohan
> Attachments: HIVE-5524.patch
>
>
> Reference:  
> http://svn.apache.org/repos/asf/hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
> 
>  for (URI store : metastoreUris) {
> 
> ...
>  if (isConnected) {
>   break;
> }
>   }
> // Wait before launching the next round of connection retries.
>   if (retryDelaySeconds > 0) {
> try {
>   LOG.info("Waiting " + retryDelaySeconds + " seconds before next 
> connection attempt.");
>   Thread.sleep(retryDelaySeconds * 1000);
> } catch (InterruptedException ignore) {}
>   }
> 
> By default "hive.metastore.client.connect.retry.delay" is set to 1 second.  
> If it is set to 10 seconds, this code will wait for 10 seconds even if a 
> successful connection is made in first attempt itself.
> This can be avoided by changing to 
> 
>  if (!isConnected && retryDelaySeconds > 0) {
> 
> 



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (HIVE-5524) Unwanted delay in getting Hive metastore connection with METASTORE_CLIENT_CONNECT_RETRY_DELAY/

2013-10-11 Thread Rajesh Balamohan (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-5524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rajesh Balamohan updated HIVE-5524:
---

Affects Version/s: 0.10.0
   0.11.0
   Status: Patch Available  (was: Open)

> Unwanted delay in getting Hive metastore connection with 
> METASTORE_CLIENT_CONNECT_RETRY_DELAY/
> --
>
> Key: HIVE-5524
> URL: https://issues.apache.org/jira/browse/HIVE-5524
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 0.11.0, 0.10.0
>Reporter: Rajesh Balamohan
> Attachments: HIVE-5524.patch
>
>
> Reference:  
> http://svn.apache.org/repos/asf/hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
> 
>  for (URI store : metastoreUris) {
> 
> ...
>  if (isConnected) {
>   break;
> }
>   }
> // Wait before launching the next round of connection retries.
>   if (retryDelaySeconds > 0) {
> try {
>   LOG.info("Waiting " + retryDelaySeconds + " seconds before next 
> connection attempt.");
>   Thread.sleep(retryDelaySeconds * 1000);
> } catch (InterruptedException ignore) {}
>   }
> 
> By default "hive.metastore.client.connect.retry.delay" is set to 1 second.  
> If it is set to 10 seconds, this code will wait for 10 seconds even if a 
> successful connection is made in first attempt itself.
> This can be avoided by changing to 
> 
>  if (!isConnected && retryDelaySeconds > 0) {
> 
> 



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (HIVE-5524) Unwanted delay in getting Hive metastore connection with METASTORE_CLIENT_CONNECT_RETRY_DELAY/

2013-10-11 Thread Rajesh Balamohan (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-5524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rajesh Balamohan updated HIVE-5524:
---

Status: Open  (was: Patch Available)

> Unwanted delay in getting Hive metastore connection with 
> METASTORE_CLIENT_CONNECT_RETRY_DELAY/
> --
>
> Key: HIVE-5524
> URL: https://issues.apache.org/jira/browse/HIVE-5524
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 0.11.0, 0.10.0
>Reporter: Rajesh Balamohan
> Attachments: HIVE-5524.patch
>
>
> Reference:  
> http://svn.apache.org/repos/asf/hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
> 
>  for (URI store : metastoreUris) {
> 
> ...
>  if (isConnected) {
>   break;
> }
>   }
> // Wait before launching the next round of connection retries.
>   if (retryDelaySeconds > 0) {
> try {
>   LOG.info("Waiting " + retryDelaySeconds + " seconds before next 
> connection attempt.");
>   Thread.sleep(retryDelaySeconds * 1000);
> } catch (InterruptedException ignore) {}
>   }
> 
> By default "hive.metastore.client.connect.retry.delay" is set to 1 second.  
> If it is set to 10 seconds, this code will wait for 10 seconds even if a 
> successful connection is made in first attempt itself.
> This can be avoided by changing to 
> 
>  if (!isConnected && retryDelaySeconds > 0) {
> 
> 



--
This message was sent by Atlassian JIRA
(v6.1#6144)