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

Reduce size of jar #109

Merged
merged 1 commit into from Dec 7, 2018
Merged

Reduce size of jar #109

merged 1 commit into from Dec 7, 2018

Commits on Dec 6, 2018

  1. Reduce size of jar

    This applies some filters on what's included in the jar to reduce the
    overall jar size. We filter out:
    
    - Web resources we don't actually need
    - Some java packages that are unnecessary
    - Native libraries for non-linux systems (we don't currently work on
    windows anyway, which isn't a problem for most hadoop installs)
    - The whole maven folder, as we're not a package
    - All the *.proto files, as these aren't needed at runtime
    
    We also make log4j a provided dependency, which should be true as long
    as hadoop doesn't change things.
    
    These changes combined remove around 5 MB from the overall jar,
    bringing us from ~13 MiB to ~8 MiB.
    jcrist committed Dec 6, 2018
    Copy the full SHA
    b2e6d1a View commit details
    Browse the repository at this point in the history