xkrogen commented on a change in pull request #30701:
URL: https://github.com/apache/spark/pull/30701#discussion_r710217171



##########
File path: core/pom.xml
##########
@@ -66,7 +66,13 @@
     </dependency>
     <dependency>
       <groupId>org.apache.hadoop</groupId>
-      <artifactId>hadoop-client</artifactId>
+      <artifactId>${hadoop-client-api.artifact}</artifactId>

Review comment:
       This behavior looks expected to me... If you specify `-pl 
resource-managers/yarn` without the `-am` flag, then you're explicitly telling 
Maven _not_ to rebuild the `core` module. If the `core` module has previously 
been built with Hadoop 3.3.1, then you will just use it as-is with the old 
dependencies. IMO, this is just an example of how `-pl` without `-am` needs to 
be used with care.




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