You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Shilun Fan (Jira)" <ji...@apache.org> on 2024/02/12 06:24:00 UTC

[jira] [Updated] (HADOOP-17929) implement non-guava Precondition checkArgument

     [ https://issues.apache.org/jira/browse/HADOOP-17929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shilun Fan updated HADOOP-17929:
--------------------------------
         Component/s: command
        Hadoop Flags: Reviewed
    Target Version/s: 3.2.4, 3.3.2, 3.4.0

> implement non-guava Precondition checkArgument
> ----------------------------------------------
>
>                 Key: HADOOP-17929
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17929
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: command
>    Affects Versions: 3.4.0, 3.2.3, 3.3.2
>            Reporter: Ahmed Hussein
>            Assignee: Ahmed Hussein
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.4.0, 3.3.2, 3.2.4
>
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> 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]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org