diff --git a/core/src/main/scala/org/apache/spark/SecurityManager.scala b/core/src/main/scala/org/apache/spark/SecurityManager.scala
index 09ec8932353a..c29895edb8f8 100644
--- a/core/src/main/scala/org/apache/spark/SecurityManager.scala
+++ b/core/src/main/scala/org/apache/spark/SecurityManager.scala
@@ -24,7 +24,7 @@ import java.security.{KeyStore, SecureRandom}
import java.security.cert.X509Certificate
import javax.net.ssl._
-import com.google.common.hash.HashCodes
+import com.google.common.hash.HashCode
import com.google.common.io.Files
import org.apache.hadoop.io.Text
import org.apache.hadoop.security.{Credentials, UserGroupInformation}
@@ -364,7 +364,7 @@ private[spark] class SecurityManager(
rnd.nextBytes(secretBytes)
val creds = new Credentials()
- val secretStr = HashCodes.fromBytes(secretBytes).toString()
+ val secretStr = HashCode.fromBytes(secretBytes).toString()
creds.addSecretKey(SECRET_LOOKUP_KEY, secretStr.getBytes(UTF_8))
UserGroupInformation.getCurrentUser().addCredentials(creds)
}
diff --git a/pom.xml b/pom.xml
index 0a711f287a53..107d951acb7c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -388,7 +388,7 @@
com.google.guava
guava
- 14.0.1
+ 16.0.1
provided