Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
3 changed files
with
49 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters