You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tez.apache.org by "László Bodor (Jira)" <ji...@apache.org> on 2023/06/23 15:14:00 UTC

[jira] [Resolved] (TEZ-4432) Remove useless maybeAddDefaultLoggingJavaOpts from TezClientUtils

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

László Bodor resolved TEZ-4432.
-------------------------------
    Resolution: Fixed

> Remove useless maybeAddDefaultLoggingJavaOpts from TezClientUtils
> -----------------------------------------------------------------
>
>                 Key: TEZ-4432
>                 URL: https://issues.apache.org/jira/browse/TEZ-4432
>             Project: Apache Tez
>          Issue Type: Improvement
>            Reporter: László Bodor
>            Assignee: Ayush Saxena
>            Priority: Major
>             Fix For: 0.10.3
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> After TEZ-3918, which removed most of the method body, only a null check can be found.
> {code}
>   static void maybeAddDefaultLoggingJavaOpts(String logLevel, List<String> vargs) {
>     Objects.requireNonNull(vargs);
>     TezClientUtils.addLog4jSystemProperties(logLevel, vargs);
>   }
> {code}
> I believe this method should be removed and Objects.requireNonNull should be moved to addLog4jSystemProperties



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