srowen commented on a change in pull request #26911: Remove usage of Guava that breaks in 27; replace with workalikes URL: https://github.com/apache/spark/pull/26911#discussion_r358417986
########## File path: core/src/main/scala/org/apache/spark/util/Utils.scala ########## @@ -2810,7 +2809,7 @@ private[spark] object Utils extends Logging { val rnd = new SecureRandom() val secretBytes = new Array[Byte](bits / JByte.SIZE) rnd.nextBytes(secretBytes) - HashCodes.fromBytes(secretBytes).toString() + Integer.toHexString(Arrays.hashCode(secretBytes)) Review comment: This should still return a 32-bit hexadecimal string ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org