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 "Ahmed Hussein (Jira)" <ji...@apache.org> on 2020/10/21 16:11:00 UTC

[jira] [Commented] (HADOOP-17319) Update the checkstyle config to ban some guava functions

    [ https://issues.apache.org/jira/browse/HADOOP-17319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17218373#comment-17218373 ] 

Ahmed Hussein commented on HADOOP-17319:
----------------------------------------

Thanks [~aajisaka] for following up filing that jira.
I am not a big fan of {{VisibltForTesting}}. It is an empty annotation that could be replaced with an annotation class implementation inside hadoop code. For example we can call it "{{TestingScope}}".
Otherwise,  {{VisibltForTesting}} does not bring anything to the table but loading bunch of irrelevant classes such as {{GwtCompatible, Documented, ..etc}}.
Did anyone consider doing that for the hadoop repository?


> Update the checkstyle config to ban some guava functions
> --------------------------------------------------------
>
>                 Key: HADOOP-17319
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17319
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>            Reporter: Akira Ajisaka
>            Priority: Major
>
> Some guava functions are banned in HADOOP-17111, HADOOP-17099, and HADOOP-17101 via checkstyle, however, the checkstyle configuration does not work after HADOOP-17288 because the package names have been changed.
> Originally reported by [~ahussein] in HADOOP-17315.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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