XMLWordPrintableJSON

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 checkArgument to the existing class org.apache.hadoop.util.Preconditions

      The plan is as follows

      • implement org.apache.hadoop.util.Preconditions.checkArgument 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.
      • We need the change to be easily to be backported in 3.x.

      A previous jira HADOOP-17126 was created to replace CheckNotNull. HADOOP-17930 is created to implement checkState.

      CC: stevel@apache.org, vjasani

      Attachments

        Issue Links

          Activity

            People

              ahussein Ahmed Hussein
              ahussein Ahmed Hussein
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 40m
                  1h 40m