You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "kazuyukitanimura (via GitHub)" <gi...@apache.org> on 2025/07/01 17:19:59 UTC

[I] Investigate Guava duplicated classes [datafusion-comet]

kazuyukitanimura opened a new issue, #1968:
URL: https://github.com/apache/datafusion-comet/issues/1968

   ### Describe the bug
   
   We now have duplicated classes that we ignore
   
   ```
                       <dependency>
                          <groupId>com.google.guava</groupId>
                          <artifactId>guava</artifactId>
                          <ignoreClasses>
                            <ignoreClass>com.google.thirdparty.publicsuffix.TrieParser</ignoreClass>
                            <ignoreClass>com.google.thirdparty.publicsuffix.PublicSuffixPatterns</ignoreClass>
                            <ignoreClass>com.google.thirdparty.publicsuffix.PublicSuffixType</ignoreClass>
                          </ignoreClasses>
                        </dependency>
   ```
   
   ### Steps to reproduce
   
   Without ignoring, we get
   ```
   [ERROR] Rule 2: org.codehaus.mojo.extraenforcer.dependencies.BanDuplicateClasses failed with message:
   [ERROR] Duplicate classes found:
   [ERROR] 
   [ERROR]   Found in:
   [ERROR]     org.apache.spark:spark-network-common_2.13:jar:4.0.0:provided
   [ERROR]     com.google.guava:guava:jar:33.2.1-jre:compile
   [ERROR]   Duplicate classes:
   [ERROR]     com/google/thirdparty/publicsuffix/TrieParser.class
   [ERROR]     com/google/thirdparty/publicsuffix/PublicSuffixPatterns.class
   [ERROR]     com/google/thirdparty/publicsuffix/PublicSuffixType.class
   ```
   
   ### Expected behavior
   
   We should not ignore this and exclude properly
   
   ### Additional context
   
   _No response_


-- 
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: github-unsubscribe@datafusion.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Investigate Guava duplicated classes [datafusion-comet]

Posted by "kazuyukitanimura (via GitHub)" <gi...@apache.org>.
kazuyukitanimura commented on issue #1968:
URL: https://github.com/apache/datafusion-comet/issues/1968#issuecomment-4185972911

   This is because spark-network-common now pulls those classes. 
   For comet side, we are relocating, so the enforcer ignoring those classes shouldn't be a problem


-- 
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: github-unsubscribe@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Investigate Guava duplicated classes [datafusion-comet]

Posted by "kazuyukitanimura (via GitHub)" <gi...@apache.org>.
kazuyukitanimura closed issue #1968: Investigate Guava duplicated classes
URL: https://github.com/apache/datafusion-comet/issues/1968


-- 
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: github-unsubscribe@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org