hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <>
Subject [jira] [Commented] (HIVE-5794) HiveServer2 should retry startup
Date Mon, 11 Nov 2013 21:30:22 GMT


Thejas M Nair commented on HIVE-5794:

>  LOG.warn("Error starting HiveServer2 on attempt " + attempts, throwable);
It will be useful to indicate in the warning message that it will retry starting in x seconds.

> Thread.sleep(60L * 100L);
Did you mean 60L*1000L ?  ie, 60 seconds ?  

<description>This number of times HiveServer2 will attempt to start before exiting.</description>
Can you also mention the delay between retries here ? That will give an indication of how
long the retries will be happening.
Did you mean the default waiting period to be 2.4 hours or 24 hours ? 

> HiveServer2 should retry startup
> --------------------------------
>                 Key: HIVE-5794
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>    Affects Versions: 0.13.0
>            Reporter: Brock Noland
>            Assignee: Brock Noland
>         Attachments: HIVE-5794.patch
> On startup the CLIService attempts to create scratch directories. If that fails, e.g.
because the nn is also starting, HS2 fails to start. We should retry this operation this a
few times with sleeps.
> It might be preferable todo this directly in HS2 main so that we can catch all errors.

This message was sent by Atlassian JIRA

View raw message