Skip to content
New issue

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

Hbase updates #17

Merged
merged 4 commits into from
Apr 7, 2020
Merged

Hbase updates #17

merged 4 commits into from
Apr 7, 2020

Conversation

nvtkaszpir
Copy link
Contributor

@nvtkaszpir nvtkaszpir commented Apr 7, 2020

Fixes: #9, #12 (hbase only)

Logs:

DNS entries are not registered fast enough in headless services.
This depends on cloud vendor (in GKE it's up to 60s).
Without it pods are up and running only on first start, but after
restart java apps will fail with error messages such as:

  hdfs-namenode-0 namenode java.lang.IllegalArgumentException:
  java.net.UnknownHostException: hdfs-namenode

Set in headless services spec.publishNotReadyAddresses: true,
which will enforce registration of DNS hosts even if they are not ready.
Ready state is based on pod readiness/liveness probes, if they pass,
the given pod is added to the endpoints.

In this setup enforcing publishing DNS entries, which are not ready
is not an issue. Actually this is expected because the way
Hadoop stack was designed. So the DNS entries should be added,
while appropriate java apps will handle the actual availability of the
processes within pods.

Tested for over 5 days on GKE preemptible instances.
@cgiraldo cgiraldo merged commit ff3a917 into Gradiant:master Apr 7, 2020
@nvtkaszpir nvtkaszpir deleted the hbase-updates branch April 8, 2020 10:02
imtiny pushed a commit to student-drawing/charts that referenced this pull request Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

[hbase] HBase master should support setting number of replicas
2 participants