gaborgsomogyi commented on a change in pull request #27637: [SPARK-30874][SQL] Support Postgres Kerberos login in JDBC connector URL: https://github.com/apache/spark/pull/27637#discussion_r385111849
########## File path: sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc/JDBCOptions.scala ########## @@ -187,6 +187,12 @@ class JDBCOptions( // An option to allow/disallow pushing down predicate into JDBC data source val pushDownPredicate = parameters.getOrElse(JDBC_PUSHDOWN_PREDICATE, "true").toBoolean + + // The local path of user's keytab file, which is assumed to be pre-uploaded to all nodes either + // by --files option of spark-submit or manually + val keytab = parameters.getOrElse(JDBC_KEYTAB, null) Review comment: > So, this can be tricky. If you upload the keytab with --files, you don't necessarily know its path. Good point, changing. ---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
