-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HADOOP-17929. implement non-guava Precondition checkArgument #3473
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
Conversation
🎊 +1 overall
This message was automatically generated. |
f1aaffb
to
9865034
Compare
@virajjasani can you please take a look at the changes? |
💔 -1 overall
This message was automatically generated. |
Thanks @amahussein, changes look good. Looks like mvninstall failure in the latest QA result is not relevant. Good to rerun the build? |
9865034
to
f8c6463
Compare
Thanks @virajjasani ! |
🎊 +1 overall
This message was automatically generated. |
@virajjasani you good with the latest run? |
Yes, looks good. +1 (non-binding) from my side. Thank you @amahussein @jojochuang |
Reviewed-by: Viraj Jasani <vjasani@apache.org> (cherry picked from commit 0c498f2)
Reviewed-by: Viraj Jasani <vjasani@apache.org> (cherry picked from commit 0c498f2)
…3473) Reviewed-by: Viraj Jasani <vjasani@apache.org>
Description of PR
As part In order to replace Guava Preconditions, we need to implement our own versions of the API.
This Jira is to add the implementation
checkArgument
to the existing classorg.apache.hadoop.util.Preconditions
How was this patch tested?
Extended the unit test org.apache.hadoop.util.TestPreconditions
testCheckArgumentWithSuccess()
testCheckArgumentWithFailure()
For code changes: