-
Notifications
You must be signed in to change notification settings - Fork 211
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
Use getent instead of nslookup for starting scripts #243
Conversation
Codecov Report
@@ Coverage Diff @@
## master #243 +/- ##
=======================================
Coverage 86.00% 86.00%
=======================================
Files 11 11
Lines 1572 1572
=======================================
Hits 1352 1352
Misses 147 147
Partials 73 73 Continue to review full report at Codecov.
|
@jinfwhuang can you please rebase your patch on top of latest master? thanks |
cfd3571
to
b5268fc
Compare
@amuraru Updated this PR. |
I think the claim that Rather, This being the case, using |
@derekm thanks for your analysis. |
I think getent is simpler than nslookup. It works for more cases. Why not? |
@jinfwhuang Are you still facing issues with nslookup? |
We have been running our zookeeper clusters with the patch in the past year. |
@jinfwhuang Could you please sign-off the commit? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
@jinfwhuang If you see DCO check is failing, because commits are not signed off |
29cfbd3
to
f25be3b
Compare
Signed-off-by: Jin Huang <[email protected]>
f25be3b
to
a454656
Compare
Okay. Updated the commit. Question, why was signoff necessary for this project? |
In Pravega, we are using DCO instead of CLA, so authors acknowledge and retain their copyrights |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will be nice to help a user get off of a private fork!
@jinfwhuang I still see a reference to nslookup here
Should this be updated as well? |
The nslookup only exit with status 0 with successful lookup of dns record for both forward and backward lookups. It would mean that the cluster's DNS setup has to support.
getent
only performs a forward lookup.#76