You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "iwasakims (via GitHub)" <gi...@apache.org> on 2025/08/29 17:47:16 UTC
[PR] BIGTOP-4494. Fix compilation error of TestPing.groovy of test-artifacts [bigtop]
iwasakims opened a new pull request, #1374:
URL: https://github.com/apache/bigtop/pull/1374
https://issues.apache.org/jira/browse/BIGTOP-4494
found on [building release artifacts](https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=27849974#Howtorelease-6.BuildandDeployArtifacts) of Bigtop 3.5.0.
```
$ mvn clean install -DskipTests
$ mvn clean install -DskipTests -f bigtop-test-framework/pom.xml
$ mvn clean install -DskipTests -f bigtop-tests/test-artifacts/pom.xml
$ ...
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/iwasakims/srcs/bigtop-3.5/bigtop-tests/test-artifacts/solr/src/main/groovy/org/apache/bigtop/itest/solr/smoke/TestPing.groovy:[1,1] 1. ERROR in /home/iwasakims/srcs/bigtop-3.5/bigtop-tests/test-artifacts/solr/src/main/groovy/org/apache/bigtop/itest/solr/smoke/TestPing.groovy (at line \
1)
/*
^
The type org.apache.http.client.HttpClient cannot be resolved. It is indirectly referenced from required .class files
[ERROR] /home/iwasakims/srcs/bigtop-3.5/bigtop-tests/test-artifacts/solr/src/main/groovy/org/apache/bigtop/itest/solr/smoke/TestPing.groovy:[1,1] 2. ERROR in /home/iwasakims/srcs/bigtop-3.5/bigtop-tests/test-artifacts/solr/src/main/groovy/org/apache/bigtop/itest/solr/smoke/TestPing.groovy (at line \
1)
/*
^
The type org.apache.http.client.methods.HttpRequestBase cannot be resolved. It is indirectly referenced from required .class files
[ERROR] Found 2 errors and 0 warnings.
```
The test artifact assumes quite [old version of solr-solrj](https://github.com/apache/bigtop/blob/branch-3.5/pom.xml#L45).
```
$ mvn dependency:tree
...
[INFO] org.apache.bigtop.itest:solr-smoke:jar:3.5.0
[INFO] +- org.apache.solr:solr-solrj:jar:4.10.4:compile
[INFO] +- org.slf4j:slf4j-simple:jar:1.6.6:compile
[INFO] | \- org.slf4j:slf4j-api:jar:1.6.6:compile
[INFO] +- org.apache.bigtop.itest:itest-common:jar:3.5.0:compile
[INFO] | +- org.codehaus.groovy:groovy-ant:jar:2.5.4:compile
[INFO] | | +- org.codehaus.groovy:groovy-groovydoc:jar:2.5.4:compile
[INFO] | | +- org.apache.ant:ant-launcher:jar:1.8.2:compile
[INFO] | | \- org.apache.ant:ant-antlr:jar:1.9.13:runtime
[INFO] | +- junit:junit:jar:4.11:compile
[INFO] | | \- org.hamcrest:hamcrest-core:jar:1.3:compile
[INFO] | +- commons-logging:commons-logging:jar:1.1:compile
[INFO] | | +- log4j:log4j:jar:1.2.14:compile
[INFO] | | +- logkit:logkit:jar:1.0.1:compile
[INFO] | | +- avalon-framework:avalon-framework:jar:4.1.3:compile
[INFO] | | \- javax.servlet:servlet-api:jar:2.3:compile
[INFO] | +- org.apache.ant:ant:jar:1.8.2:compile
[INFO] | \- org.apache.ant:ant-junit:jar:1.8.2:compile
[INFO] +- org.codehaus.groovy:groovy-json:jar:2.5.4:compile
[INFO] | \- org.codehaus.groovy:groovy:jar:2.5.4:compile
[INFO] \- org.codehaus.groovy:groovy-xml:jar:2.5.4:compile
```
While I don't understand the exact mechanism of the issue, upgrading the solr-solrj fixed the issue.
--
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: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] BIGTOP-4494. Fix compilation error of TestPing.groovy of test-artifacts [bigtop]
Posted by "sekikn (via GitHub)" <gi...@apache.org>.
sekikn merged PR #1374:
URL: https://github.com/apache/bigtop/pull/1374
--
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: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] BIGTOP-4494. Fix compilation error of TestPing.groovy of test-artifacts [bigtop]
Posted by "iwasakims (via GitHub)" <gi...@apache.org>.
iwasakims commented on PR #1374:
URL: https://github.com/apache/bigtop/pull/1374#issuecomment-3237780165
smoke-tests of solr passed (using packages uploaded for preparing Bigtop 3.5.0 release).
```
$ ./docker-hadoop.sh \
--create 1 \
--image bigtop/puppet:3.5.0-ubuntu-24.04 \
--memory 16g \
--repo http://repos.bigtop.apache.org/releases/3.5.0/ubuntu/24.04/amd64 \
--stack zookeeper,solr \
--smoke-tests solr
...
> Task :bigtop-tests:smoke-tests:solr:test
Finished generating test XML results (0.01 secs) into: /bigtop-home/bigtop-tests/smoke-tests/solr/build/test-results/test
Generating HTML test report...
Finished generating test html results (0.019 secs) into: /bigtop-home/bigtop-tests/smoke-tests/solr/build/reports/tests/test
Now testing...
Starting process 'command '/usr/bin/solrctl''. Working directory: /bigtop-home/bigtop-tests/smoke-tests/solr Command: /usr/bin/solrctl collection --delete smoke
Successfully started process 'command '/usr/bin/solrctl''
/usr/bin/solrctl: line 118: warning: command substitution: ignored null byte in input
Starting process 'command '/usr/bin/solrctl''. Working directory: /bigtop-home/bigtop-tests/smoke-tests/solr Command: /usr/bin/solrctl instancedir --delete smoke
Successfully started process 'command '/usr/bin/solrctl''
Starting process 'command '/usr/bin/rm''. Working directory: /bigtop-home/bigtop-tests/smoke-tests/solr Command: /usr/bin/rm -rf /tmp/smoke_data
Successfully started process 'command '/usr/bin/rm''
:bigtop-tests:smoke-tests:solr:test (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 16.129 secs.
BUILD SUCCESSFUL in 43s
28 actionable tasks: 6 executed, 22 up-to-date
```
--
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: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] BIGTOP-4494. Fix compilation error of TestPing.groovy of test-artifacts [bigtop]
Posted by "sekikn (via GitHub)" <gi...@apache.org>.
sekikn commented on PR #1374:
URL: https://github.com/apache/bigtop/pull/1374#issuecomment-3242398949
+1
I was not able to reproduce the issue in my environment, but we should align the version of dependencies in general and shouldn't use HttpSolrServer which is removed from Solr 6.0. Thanks @iwasakims!
--
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: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] BIGTOP-4494. Fix compilation error of TestPing.groovy of test-artifacts [bigtop]
Posted by "iwasakims (via GitHub)" <gi...@apache.org>.
iwasakims commented on PR #1374:
URL: https://github.com/apache/bigtop/pull/1374#issuecomment-3242421908
Thanks, @sekikn.
--
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: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org