[
https://issues.apache.org/jira/browse/HIVE-5794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13819460#comment-13819460
]
Brock Noland commented on HIVE-5794:
------------------------------------
bq. Should the total time it keeps retrying be in order of 10s of minutes and
not hours ?
Since it's a daemon I'd prefer that it keeps retrying forever. However, I am
fine with say 30 minutes. Does that sound reasonable to you?
> HiveServer2 should retry startup
> --------------------------------
>
> Key: HIVE-5794
> URL: https://issues.apache.org/jira/browse/HIVE-5794
> Project: Hive
> Issue Type: Improvement
> Affects Versions: 0.13.0
> Reporter: Brock Noland
> Assignee: Brock Noland
> Attachments: HIVE-5794.patch, 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
(v6.1#6144)