wForget commented on code in PR #2767:
URL: https://github.com/apache/uniffle/pull/2767#discussion_r3612033395


##########
client/pom.xml:
##########
@@ -48,9 +48,14 @@
       <artifactId>mockito-inline</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>commons-io</groupId>
+      <artifactId>commons-io</artifactId>
+      <scope>test</scope>

Review Comment:
   > The test-scoped commons-io added to the `client` module isn't referenced 
anywhere under `client/src` (neither main nor test). Is it covering a 
transitive test dependency after the hadoop artifact switch, or just added 
along the way? Drop it if it's not needed; add a one-line comment if it is.
   
   Yes, this is needed for a transitive test path after the Hadoop artifact 
switch. `ShuffleReadClientImplTest` exercises storage handlers from 
`shuffle-storage`, whose implementations use `FileUtils`/`IOUtils`. Since 
`commons-io` in `shuffle-storage` follows `${hadoop.scope}`, it may resolve to 
`provided` and is therefore not guaranteed to reach the client test classpath. 
The explicit `test` dependency makes it available only to client tests. I’ve 
added a one-line comment to clarify this.



##########
client/pom.xml:
##########
@@ -48,9 +48,14 @@
       <artifactId>mockito-inline</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>commons-io</groupId>
+      <artifactId>commons-io</artifactId>
+      <scope>test</scope>

Review Comment:
   ~~removed~~



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to