iwasakims commented on PR #6129:
URL: https://github.com/apache/hadoop/pull/6129#issuecomment-1742311769

   > @iwasakims what command you use, I tried on my mac, aarch64 and it passed 
(mvn clean install -DskipTests)
   
   `mvn clean install -DskipTests -DskipShade`.
   
   The cause turned out to be the local repository of my environment in which 
hamcrest is not a transitive dependency of solr-test-framework.
   
   ```
   [INFO] +- org.apache.solr:solr-test-framework:jar:8.11.2:test
   ```
   
   Dependenry tree on other machines shows below.
   
   ```
   [INFO] +- org.apache.solr:solr-test-framework:jar:8.11.2:test
   [INFO] |  +- org.apache.lucene:lucene-test-framework:jar:8.11.2:test
   [INFO] |  +- com.carrotsearch.randomizedtesting:junit4-ant:jar:2.7.2:test
   [INFO] |  +- 
com.carrotsearch.randomizedtesting:randomizedtesting-runner:jar:2.7.2:test
   [INFO] |  +- io.opentracing:opentracing-mock:jar:0.33.0:test
   [INFO] |  +- junit:junit:jar:4.13.2:test
   [INFO] |  +- org.apache.ant:ant:jar:1.10.13:test
   [INFO] |  |  \- com.sun:tools:jar:1.8.0:system
   [INFO] |  \- org.hamcrest:hamcrest-core:jar:1.3:test
   ```
   
   I guess I built Solr 8.11.2 in the past on the aarc64 machine and the pom of 
solr-test-framework is different from the one available in public Maven 
repositories. `rm -rf ~/.m2/repository/org/apache/solr/solr-test-framework` 
fixed the issue on the env.
   
   While I'm not sure the condition when the transitive dependencies are pulled 
in test scope, I'm closing this as invalid. Thanks, @ayushtkn.


-- 
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: common-issues-unsubscr...@hadoop.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to