Details
Description
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 checkState to the existing class org.apache.hadoop.util.Preconditions
The plan is as follows
- implement org.apache.hadoop.util.Preconditions.checkState with the minimum set of interface used in the current hadoop repo.
- we can replace guava.Preconditions by org.apache.hadoop.util.Preconditions once all the interfaces have been implemented (both this jira and
HADOOP-17929are complete). - We need the change to be easily to be backported in 3.x.
previous jiras:
HADOOP-17126was created to implement CheckNotNull.HADOOP-17929implementing checkArgument.
CC: stevel@apache.org, vjasani
Attachments
Issue Links
- is required by
-
HADOOP-17123 remove guava Preconditions from Hadoop-common-project modules
- Resolved
- links to