[ https://issues.apache.org/jira/browse/SPARK-44697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yang Jie resolved SPARK-44697. ------------------------------ Fix Version/s: 4.0.0 Resolution: Fixed Issue resolved by pull request 42370 [https://github.com/apache/spark/pull/42370] > Clean up the usage of org.apache.commons.lang3.RandomUtils > ---------------------------------------------------------- > > Key: SPARK-44697 > URL: https://issues.apache.org/jira/browse/SPARK-44697 > Project: Spark > Issue Type: Improvement > Components: Spark Core > Affects Versions: 4.0.0 > Reporter: Yang Jie > Assignee: Yang Jie > Priority: Minor > Fix For: 4.0.0 > > > {code:java} > /** > * Utility library that supplements the standard {@link Random} class. > * > * <p>Caveat: Instances of {@link Random} are not cryptographically > secure.</p> > * > * <p>Please note that the Apache Commons project provides a component > * dedicated to pseudo-random number generation, namely > * <a href="https://commons.apache.org/proper/commons-rng/">Commons RNG</a>, > that may be > * a better choice for applications with more stringent requirements > * (performance and/or correctness).</p> > * > * @deprecated Use Apache Commons RNG's optimized <a > href="https://commons.apache.org/proper/commons-rng/commons-rng-client-api/apidocs/org/apache/commons/rng/UniformRandomProvider.html">UniformRandomProvider</a> > * @since 3.3 > */ > @Deprecated > public class RandomUtils { {code} > In {{commons-lang3}} 3.13.0, {{RandomUtils}} has been marked as > {{@Deprecated}} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org