Repository: hadoop Updated Branches: refs/heads/branch-2.7 7eb70a8b3 -> 06eafeedf
HADOOP-15279. increase maven heap size recommendations Signed-off-by: Jason Lowe <[email protected]> Signed-off-by: Chris Douglas <[email protected]> (cherry picked from commit d4cc50f62279dc4d607cd05c16de480a76f05880) (cherry picked from commit dbd69cb2ce2a060e36280b222cac05fc05e065d1) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/06eafeed Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/06eafeed Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/06eafeed Branch: refs/heads/branch-2.7 Commit: 06eafeedf1234daff3ac6687cce90fde169d9bc7 Parents: 7eb70a8 Author: Allen Wittenauer <[email protected]> Authored: Thu Mar 1 12:53:19 2018 -0800 Committer: Akira Ajisaka <[email protected]> Committed: Tue Mar 6 14:02:44 2018 -0800 ---------------------------------------------------------------------- BUILDING.txt | 4 ++-- dev-support/docker/Dockerfile | 2 +- hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/06eafeed/BUILDING.txt ---------------------------------------------------------------------- diff --git a/BUILDING.txt b/BUILDING.txt index e130250..ba60e4e 100644 --- a/BUILDING.txt +++ b/BUILDING.txt @@ -219,10 +219,10 @@ If the build process fails with an out of memory error, you should be able to fi it by increasing the memory used by maven -which can be done via the environment variable MAVEN_OPTS. -Here is an example setting to allocate between 256 and 512 MB of heap space to +Here is an example setting to allocate between 256 MB and 1.5 GB of heap space to Maven -export MAVEN_OPTS="-Xms256m -Xmx512m" +export MAVEN_OPTS="-Xms256m -Xmx1536m" ---------------------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/06eafeed/dev-support/docker/Dockerfile ---------------------------------------------------------------------- diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile index b1852fa..c1ff988 100644 --- a/dev-support/docker/Dockerfile +++ b/dev-support/docker/Dockerfile @@ -76,7 +76,7 @@ RUN cabal update && cabal install shellcheck --global ### # Avoid out of memory errors in builds ### -ENV MAVEN_OPTS -Xms256m -Xmx512m +ENV MAVEN_OPTS -Xms256m -Xmx1536m ### # Everything past this point is either not needed for testing or breaks Yetus. http://git-wip-us.apache.org/repos/asf/hadoop/blob/06eafeed/hadoop-common-project/hadoop-common/CHANGES.txt ---------------------------------------------------------------------- diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index a228a00..44575b1 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -27,6 +27,9 @@ Release 2.7.6 - UNRELEASED HADOOP-15283. Upgrade from findbugs 3.0.1 to spotbugs 3.1.2 in branch-2 to fix docker image build. (aajisaka) + HADOOP-15279. Increase maven heap size recommendations. + (Allen Wittenauer via aajisaka) + OPTIMIZATIONS BUG FIXES --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
