vicennial commented on code in PR #49971:
URL: https://github.com/apache/spark/pull/49971#discussion_r1972274605


##########
pom.xml:
##########
@@ -860,6 +861,56 @@
         <version>${protobuf.version}</version>
         <scope>provided</scope>
       </dependency>
+      <dependency>

Review Comment:
   What's the reasoning behind moving/adding these dependencies into the parent 
Spark pom module? 



##########
sql/connect/common/pom.xml:
##########
@@ -142,8 +218,26 @@
                         <includes>
                             <include>org.spark-project.spark:unused</include>
                             
<include>org.apache.tomcat:annotations-api</include>
+                            <include>com.google.guava:*</include>
                         </includes>
                     </artifactSet>
+                    <filters>
+                        <filter>
+                            <artifact>com.google.guava:guava</artifact>
+                            <excludes>
+                                <exclude>com/google/thirdparty/**</exclude>
+                            </excludes>
+                        </filter>
+                    </filters>
+                    <relocations>
+                        <relocation>
+                            <pattern>com.google.common</pattern>
+                            
<shadedPattern>${spark.shade.packageName}.connect.guava</shadedPattern>
+                            <includes>
+                                <include>com.google.common.**</include>
+                            </includes>
+                      </relocation>
+                    </relocations>

Review Comment:
   I'm trying to understand the changes here and in the client pom, which 
address the `org/spark project/guava/cache/CacheLoader` error. Could you help 
explain your thought process?



-- 
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-unsubscr...@spark.apache.org

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


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

Reply via email to