You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "cnauroth (via GitHub)" <gi...@apache.org> on 2025/02/11 05:24:42 UTC

[PR] [SPARK-51154][KAFKA] Remove unused jopt dependency. [spark]

cnauroth opened a new pull request, #49877:
URL: https://github.com/apache/spark/pull/49877

   ### What changes were proposed in this pull request?
   
   The Kafka connector declares a dependecy on the jopt library. This library is not actually used in the code, so we can remove it.
   
   ### Why are the changes needed?
   
   We have no apparent need for this dependency. The version we are including is 15 years old with numerous unresolved bugs.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. This change only impacts tests.
   
   ### How was this patch tested?
   
   Run all Kafka tests.
   
   ```
   build/mvn -pl connector/kafka-0-10,connector/kafka-0-10-sql test
   ```
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   No.
   


-- 
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.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-51154][KAFKA] Remove unused jopt dependency. [spark]

Posted by "cnauroth (via GitHub)" <gi...@apache.org>.
cnauroth commented on PR #49877:
URL: https://github.com/apache/spark/pull/49877#issuecomment-2649825750

   I am seeing some flakiness on these Kafka tests locally, but it's definitely not related to this proposed change. Curious to see how it runs in CI.


-- 
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.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-51154][BUILD][TESTS] Remove unused `jopt` test dependency [spark]

Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun commented on PR #49877:
URL: https://github.com/apache/spark/pull/49877#issuecomment-2649971342

   Merged to master/4.0. Thank you again.


-- 
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.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-51154][BUILD][TESTS] Remove unused `jopt` test dependency [spark]

Posted by "cnauroth (via GitHub)" <gi...@apache.org>.
cnauroth commented on PR #49877:
URL: https://github.com/apache/spark/pull/49877#issuecomment-2649977050

   Thank you for the review and commit, @dongjoon-hyun !


-- 
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.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-51154][KAFKA] Remove unused jopt dependency. [spark]

Posted by "cnauroth (via GitHub)" <gi...@apache.org>.
cnauroth commented on PR #49877:
URL: https://github.com/apache/spark/pull/49877#issuecomment-2649831980

   Apparently this dependency dates all the way back to [SPARK-1022](https://issues.apache.org/jira/browse/SPARK-1022). That patch added the dependency, but didn't include any code that needed it. I couldn't find any discussion of why the dependency was needed, but the current code definitely doesn't use it.
   
   I am seeing some flakiness in the Kafka tests locally. I'm curious to see if they work well in CI.


-- 
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.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-51154][BUILD][TESTS] Remove unused `jopt` test dependency [spark]

Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun closed pull request #49877: [SPARK-51154][BUILD][TESTS] Remove unused `jopt` test dependency
URL: https://github.com/apache/spark/pull/49877


-- 
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.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org