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-17929 are complete).
      • We need the change to be easily to be backported in 3.x.

      previous jiras:

      CC: stevel@apache.org, vjasani

      Attachments

        Issue Links

          Activity

            People

              ahussein Ahmed Hussein
              ahussein Ahmed Hussein
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m