Skip to content

Commit 55522e3

Browse files
Fix failure caused by Preconditions ambiguity.
1 parent 9ef5f1b commit 55522e3

File tree

1 file changed

+1
-1
lines changed
  • yarn/src/main/scala/org/apache/spark/deploy/yarn

1 file changed

+1
-1
lines changed

yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ private[spark] class Client(
563563
def setupCredentials(): Unit = {
564564
if (args.principal != null) {
565565
Preconditions.checkNotNull(
566-
args.keytab, "Keytab must be specified when principal is specified.")
566+
args.keytab, "Keytab must be specified when principal is specified.", Array.empty[Any])
567567
logInfo("Attempting to login to the Kerberos" +
568568
s" using principal: ${args.principal} and keytab: ${args.keytab}")
569569
val f = new File(args.keytab)

0 commit comments

Comments
 (0)