List of steps to reproduce
- Delete a previous instance of wikidata-query-rdf; make sure to also delete /home/[USER_NAME]/.m2. This was done because no effective solution could be found to a previous issue.
- Follow steps listed here, namely:
- Clone into the directory /var/lib/mediawiki/extensions using the following: git clone https://gerrit.wikimedia.org/r/wikidata/query/rdf wikidata-query-rdf
- cd wikidata-query-rdf
- Run mvn package, with the following summary:
[INFO] Reactor Summary for Wikidata Query Service 0.3.111-SNAPSHOT: [INFO] [INFO] Wikidata Query Service ............................. SUCCESS [ 3.462 s] [INFO] Shared code ........................................ SUCCESS [ 11.417 s] [INFO] Wikidata Query RDF Testing Tools ................... SUCCESS [ 5.081 s] [INFO] Jetty logging dependencies ......................... SUCCESS [ 9.176 s] [INFO] Blazegraph extension to improve performance for Wikibase SUCCESS [ 31.729 s] [INFO] Blazegraph Service Package ......................... SUCCESS [ 5.181 s] [INFO] Wikidata Query RDF Tools ........................... SUCCESS [ 28.917 s] [INFO] Wikidata Query Service Streaming Updater - Common .. SUCCESS [ 8.044 s] [INFO] Wikidata Query Service Streaming Updater - Producer SUCCESS [01:47 min] [INFO] Wikidata Query Service Streaming Updater - Consumer SUCCESS [ 11.926 s] [INFO] MediaWiki OAuth 1.0a Proxy Service ................. SUCCESS [ 8.003 s] [INFO] rdf-spark-tools .................................... SUCCESS [01:34 min] [INFO] Wikibase RDF Query Service ......................... SUCCESS [ 7.469 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 05:32 min [INFO] Finished at: 2022-05-18T00:11:58Z [INFO] ------------------------------------------------------------------------
- cd dist/target
- tar xf service-0.3.111-SNAPSHOT-dist.tar.gz
- Run cd service-0.3.111-SNAPSHOT/ showcasing the following directory structure:
. ├── RWStore.properties ├── blazegraph-service-0.3.111-SNAPSHOT.war ├── createNamespace.sh ├── default.properties ├── docs ├── forAllCategoryWikis.sh ├── jetty-runner-9.4.12.v20180830.jar ├── ldf-config.json ├── lib ├── loadCategoryDaily.sh ├── loadCategoryDump.sh ├── loadData.sh ├── loadRestAPI.sh ├── munge.sh ├── mw-oauth-proxy-0.3.111-SNAPSHOT.war ├── mwservices.json ├── prefixes-sdc.conf ├── prefixes.conf ├── runBlazegraph.sh ├── runStreamingUpdater.sh ├── runUpdate.sh ├── summarizeEvents.sh └── wcqs-data-reload.sh
- Attempt to launch Blazegraph, using sudo ./runBlazegraph.sh.
What happens?:
The following output is produced:
/var/lib/mediawiki/extensions/wikidata-query-rdf/dist/target/service-0.3.111-SNAPSHOT /var/lib/mediawiki/extensions/wikidata-query-rdf/dist/target/service-0.3.111-SNAPSHOT Running Blazegraph from /var/lib/mediawiki/extensions/wikidata-query-rdf/dist/target/service-0.3.111-SNAPSHOT on :9999/bigdata [0.007s][info][gc,heap] Heap region size: 4M [0.021s][info][gc ] Using G1 [0.021s][info][gc,heap,coops] Heap address: 0x0000000400000000, size: 16384 MB, Compressed Oops mode: Zero based, Oop shift amount: 3 Error: Could not find or load main class org.eclipse.jetty.runner.Runner Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.runner.Runner [0.246s][info][gc,heap,exit ] Heap [0.246s][info][gc,heap,exit ] garbage-first heap total 65536K, used 0K [0x0000000400000000, 0x0000000800000000) [0.246s][info][gc,heap,exit ] region size 4096K, 1 young (4096K), 0 survivors (0K) [0.246s][info][gc,heap,exit ] Metaspace used 5513K, capacity 5543K, committed 5632K, reserved 1056768K [0.246s][info][gc,heap,exit ] class space used 454K, capacity 461K, committed 512K, reserved 1048576K
What should have happened instead?:
Blazegraph should be able detect org.eclipse.jetty.runner.Runner and such detection should happen as a result of following the above installation process.
No matter how many times I delete everything and restart, the error is always the same. I have tried deleting everything and restarting 5 times to no avail.
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
- MediaWiki Version: 1.37
- Wikibase Version: 1.37
- Host OS: Ubuntu 20.04.4 LTS (GNU/Linux 5.13.0-1022-aws x86-64