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

WARC files should use record-at-time compression #7

Closed
jnioche opened this issue Jul 22, 2016 · 1 comment
Closed

WARC files should use record-at-time compression #7

jnioche opened this issue Jul 22, 2016 · 1 comment

Comments

@jnioche
Copy link
Member

jnioche commented Jul 22, 2016

The WARC standard recommends to compress every record independently "record-at-time". This feature is required by wayback machines including http://index.commoncrawl.org/.

Copied from commoncrawl/news-crawl#4

@jnioche
Copy link
Member Author

jnioche commented Jul 22, 2016

Using a SequenceFileBolt won't allow us to generate a well formed WARC file. See [https://github.com/ept/warc-hadoop/blob/master/src/main/java/com/martinkl/warc/mapred/WARCOutputFormat.java] for an example of using a custom outputformat.

CC's WARC writer uses an extension of GZIPOutputStream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant