LuciferYang commented on a change in pull request #31323:
URL: https://github.com/apache/spark/pull/31323#discussion_r564230679
##########
File path:
external/kafka-0-10-sql/src/test/scala/org/apache/spark/sql/kafka010/KafkaTestUtils.scala
##########
@@ -167,29 +167,31 @@ class KafkaTestUtils(
* In this method we rewrite krb5.conf to make kdc and client use the same
enctypes
*/
private def rewriteKrb5Conf(): Unit = {
Review comment:
replace with `Utils.tryWithResource(Source.fromFile(kdc.getKrb5conf,
"UTF-8"))(_.getLines().toList)`, only 1 line changed
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]