We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
terraform-nomad-hive on startup phase, schemaTool binary runs, which attempts to create/upgrade tables in postgres DB.
terraform-nomad-hive
schemaTool
https://github.com/Skatteetaten/terraform-nomad-hive/blob/master/docker/bin/hivemetastore#L4-L5
When nomad restart, hive restart also. terraform-nomad-hive accidentally fail on startup phase when restarts.
We need support redeploys, restart.
I see there is attempt to support restart(s) with || true at the end of cmd. But it is not seem enough to handle restarts.
|| true
hive --service schemaTool -initSchema -dbType postgres --verbose || true hive --service schemaTool -upgradeSchema -dbType postgres --verbose || true
terraform-nomad-hive restarts correctly
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Feature description
terraform-nomad-hive
on startup phase,schemaTool
binary runs, which attempts to create/upgrade tables in postgres DB.https://github.com/Skatteetaten/terraform-nomad-hive/blob/master/docker/bin/hivemetastore#L4-L5
When nomad restart, hive restart also.
terraform-nomad-hive
accidentally fail on startup phase when restarts.Why is it needed?
We need support redeploys, restart.
Suggestion(s)/solution(s) [Optional]
I see there is attempt to support restart(s) with
|| true
at the end of cmd. But it is not seem enough to handle restarts.Definition of done
terraform-nomad-hive
restarts correctlyChecklist (after created issue)
The text was updated successfully, but these errors were encountered: