You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/03/12 03:55:00 UTC

[jira] [Commented] (SPARK-34722) Clean up deprecated API usage related to JUnit

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

Apache Spark commented on SPARK-34722:
--------------------------------------

User 'LuciferYang' has created a pull request for this issue:
https://github.com/apache/spark/pull/31815

> Clean up deprecated API usage related to JUnit
> ----------------------------------------------
>
>                 Key: SPARK-34722
>                 URL: https://issues.apache.org/jira/browse/SPARK-34722
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 3.2.0
>            Reporter: Yang Jie
>            Priority: Minor
>
> Maven compile compilation warnings as follows:
>  
> {code:java}
> [WARNING] [Warn] /spark/common/network-common/src/test/java/org/apache/spark/network/client/TransportClientFactorySuite.java:231: org.junit.rules.ExpectedException中的none()已过时
> [WARNING] [Warn] /spark/common/network-common/src/test/java/org/apache/spark/network/client/TransportClientFactorySuite.java:247: org.junit.rules.ExpectedException中的none()已过时
> [WARNING] [Warn] /spark/common/network-common/src/test/java/org/apache/spark/network/crypto/TransportCipherSuite.java:84: org.junit.Assert中的<T>assertThat(T,org.hamcrest.Matcher<? super T>)已过时
> [WARNING] [Warn] /spark/launcher/src/test/java/org/apache/spark/launcher/SparkSubmitCommandBuilderSuite.java:43: org.junit.rules.ExpectedException中的none()已过时
> [WARNING] [Warn] /spark/core/src/test/java/org/apache/spark/unsafe/map/AbstractBytesToBytesMapSuite.java:542: org.junit.Assert中的<T>assertThat(T,org.hamcrest.Matcher<? super T>)已过时
> [WARNING] [Warn] /spark/core/src/test/java/org/apache/spark/util/collection/unsafe/sort/UnsafeExternalSorterSuite.java:227: org.junit.Assert中的<T>assertThat(T,org.hamcrest.Matcher<? super T>)已过时
> [WARNING] [Warn] /spark/core/src/test/java/org/apache/spark/util/collection/unsafe/sort/UnsafeExternalSorterSuite.java:235: org.junit.Assert中的<T>assertThat(T,org.hamcrest.Matcher<? super T>)已过时
> [WARNING] [Warn] /spark/core/src/test/java/org/apache/spark/util/collection/unsafe/sort/UnsafeExternalSorterSuite.java:254: org.junit.Assert中的<T>assertThat(T,org.hamcrest.Matcher<? super T>)已过时
> [WARNING] [Warn] /spark/sql/core/src/test/java/test/org/apache/spark/sql/JavaDatasetSuite.java:915: org.junit.rules.ExpectedException中的none()已过时
> {code}
>  
> "已过时" means  Deprecated
>  



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

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