Reproducibility - experiments-20newsgroups.md #2641
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue: Build Failure with
mvn clean appassembler:assemble
Summary
I wanted to reproduce this (indexing works as expected when I directly used the fatjar), but I ran into the following using the commands in the guide.
Similar to this issue: #1107, but I don't have the
JAVA_HOME
error.The
mvn clean appassembler:assemble
command fails with the following error:Steps to Reproduce
To index train and test together:
Error encountered:
Running the following commands:
mvn clean appassembler:assemble -DskipTests java -cp target/anserini-*-fatjar.jar io.anserini.index.IndexCollection \ -collection TwentyNewsgroupsCollection \ -input collections/20newsgroups/20news-bydate \ -index indexes/lucene-index.20newsgroups.all \ -generator DefaultLuceneDocumentGenerator \ -threads 6 \ -storePositions -storeDocvectors -storeRaw -optimize
Second error encountered (running with
mvn clean appassembler:assemble -DskipTests -e -X
)Maybe it's just a build issue from my end? Or maybe
pom.xml
needs the programs elementEnvironment