Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split Protein.txt and SmallMolecule.txt to avoid crashing Solr #67

Closed
gaurav opened this issue Jun 29, 2023 · 2 comments
Closed

Split Protein.txt and SmallMolecule.txt to avoid crashing Solr #67

gaurav opened this issue Jun 29, 2023 · 2 comments
Labels
good first issue Good for newcomers

Comments

@gaurav
Copy link
Contributor

gaurav commented Jun 29, 2023

It's unclear how large a file Solr can ingest without problems (the 20G Gene.txt file appears to work), but the 100+GB Protein.txt file definitely doesn't. We should split it into smaller files for the ingest. The best place to do this is to include it in the Makefile.

@gaurav
Copy link
Contributor Author

gaurav commented Jun 29, 2023

This can be done with split using some variant of split -d -l 10000000 Protein.txt Protein.txt.. Remember to delete the original Protein.txt once you're done to save on disk space.

@gaurav gaurav added the good first issue Good for newcomers label Jun 29, 2023
@gaurav
Copy link
Contributor Author

gaurav commented Sep 27, 2023

This has now been implemented. Closing.

@gaurav gaurav closed this as completed Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant