Github user tdas commented on a diff in the pull request:

    https://github.com/apache/spark/pull/6555#discussion_r31490512
  
    --- Diff: external/flume-sink/pom.xml ---
    @@ -42,22 +42,47 @@
         <dependency>
           <groupId>org.apache.flume</groupId>
           <artifactId>flume-ng-sdk</artifactId>
    +      <exclusions>
    +        <exclusion>
    +          <groupId>com.google.guava</groupId>
    +          <artifactId>guava</artifactId>
    +        </exclusion>
    +        <exclusion>
    +          <groupId>org.apache.thrift</groupId>
    +          <artifactId>libthrift</artifactId>
    +        </exclusion>
    +      </exclusions>
         </dependency>
         <dependency>
           <groupId>org.apache.flume</groupId>
           <artifactId>flume-ng-core</artifactId>
    +      <exclusions>
    +        <exclusion>
    +          <groupId>com.google.guava</groupId>
    +          <artifactId>guava</artifactId>
    +        </exclusion>
    +        <exclusion>
    +          <groupId>org.apache.thrift</groupId>
    +          <artifactId>libthrift</artifactId>
    +        </exclusion>
    +      </exclusions>
         </dependency>
         <dependency>
           <groupId>org.scala-lang</groupId>
           <artifactId>scala-library</artifactId>
         </dependency>
    +    <!--
    +      Dependencies explicitly added in test as they have been excluded from
    +      Flume dependency (to avoid runtime problems when running with
    +      Spark) but unit tests need it.
    +    -->
         <dependency>
    -      <!--
    -        Netty explicitly added in test as it has been excluded from
    -        Flume dependency (to avoid runtime problems when running with
    -        Spark) but unit tests need it. Version of Netty on which
    -        Flume 1.4.0 depends on is "3.4.0.Final" .
    -      -->
    +      <groupId>com.google.guava</groupId>
    +      <artifactId>guava</artifactId>
    --- End diff --
    
    I see, I missed the earlier conversation. But instead of randomly adding 
guava back for test, its better to remove the wrong version of guava that is 
coming in from somewhere, and allow Flume's guava dependency to be used. At 
least, it needs to be understood. Could you check the dependency tree to find 
the wrong guava version?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to