Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
1869aee3
Commit
1869aee3
authored
Oct 27, 2017
by
Nigel Jones
Committed by
David Radley
Nov 01, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-2233: Remove -XX:MaxPermSize Parm as removed in Java 8
Signed-off-by:
David Radley
<
david_radley@uk.ibm.com
>
parent
c7a61629
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
11 additions
and
23 deletions
+11
-23
README.txt
README.txt
+1
-1
pom.xml
addons/hbase-bridge/pom.xml
+0
-1
pom.xml
addons/hdfs-model/pom.xml
+0
-1
pom.xml
addons/storm-bridge/pom.xml
+0
-1
atlas_start.py
distro/src/bin/atlas_start.py
+1
-1
atlas-env.sh
distro/src/conf/atlas-env.sh
+0
-2
TestMetadata.py
distro/src/test/python/scripts/TestMetadata.py
+4
-4
EclipseSetup.twiki
docs/src/site/twiki/EclipseSetup.twiki
+1
-1
InstallationSteps.twiki
docs/src/site/twiki/InstallationSteps.twiki
+1
-6
pom.xml
pom.xml
+2
-2
pom.xml
repository/pom.xml
+0
-1
pom.xml
typesystem/pom.xml
+0
-1
pom.xml
webapp/pom.xml
+1
-1
No files found.
README.txt
View file @
1869aee3
...
...
@@ -49,7 +49,7 @@ Build Process
2. Execute the following commands to build Apache Atlas
$ export MAVEN_OPTS="-Xms2g -Xmx2g
-XX:MaxPermSize=512M
"
$ export MAVEN_OPTS="-Xms2g -Xmx2g"
$ mvn clean install
# currently few tests might fail in some environments
...
...
addons/hbase-bridge/pom.xml
View file @
1869aee3
...
...
@@ -219,7 +219,6 @@
</args>
<jvmArgs>
<jvmArg>
-Xmx512m
</jvmArg>
<jvmArg>
-XX:MaxPermSize=128m
</jvmArg>
</jvmArgs>
</configuration>
</plugin>
...
...
addons/hdfs-model/pom.xml
View file @
1869aee3
...
...
@@ -127,7 +127,6 @@
</args>
<jvmArgs>
<jvmArg>
-Xmx512m
</jvmArg>
<jvmArg>
-XX:MaxPermSize=128m
</jvmArg>
</jvmArgs>
<!--
<javacArgs>
...
...
addons/storm-bridge/pom.xml
View file @
1869aee3
...
...
@@ -379,7 +379,6 @@
</args>
<jvmArgs>
<jvmArg>
-Xmx512m
</jvmArg>
<jvmArg>
-XX:MaxPermSize=128m
</jvmArg>
</jvmArgs>
<!--
<javacArgs>
...
...
distro/src/bin/atlas_start.py
View file @
1869aee3
...
...
@@ -24,7 +24,7 @@ import atlas_config as mc
ATLAS_LOG_OPTS
=
"-Datlas.log.dir=
%
s -Datlas.log.file=
%
s.log"
ATLAS_COMMAND_OPTS
=
"-Datlas.home=
%
s"
ATLAS_CONFIG_OPTS
=
"-Datlas.conf=
%
s"
DEFAULT_JVM_HEAP_OPTS
=
"-Xmx1024m
-XX:MaxPermSize=512m
"
DEFAULT_JVM_HEAP_OPTS
=
"-Xmx1024m"
DEFAULT_JVM_OPTS
=
"-Dlog4j.configuration=atlas-log4j.xml -Djava.net.preferIPv4Stack=true -server"
def
main
():
...
...
distro/src/conf/atlas-env.sh
View file @
1869aee3
...
...
@@ -37,8 +37,6 @@
# java heap size we want to set for the atlas server. Default is 1024MB
#export ATLAS_SERVER_HEAP=
# indicative values for large number of metadata entities (equal or more than 10,000s) for JDK 7
#export ATLAS_SERVER_HEAP="-Xms15360m -Xmx15360m -XX:MaxNewSize=3072m -XX:PermSize=100M -XX:MaxPermSize=512m"
# indicative values for large number of metadata entities (equal or more than 10,000s) for JDK 8
#export ATLAS_SERVER_HEAP="-Xms15360m -Xmx15360m -XX:MaxNewSize=5120m -XX:MetaspaceSize=100M -XX:MaxMetaspaceSize=512m"
...
...
distro/src/test/python/scripts/TestMetadata.py
View file @
1869aee3
...
...
@@ -128,7 +128,7 @@ class TestMetadata(unittest.TestCase):
[
'-app'
,
'atlas_home
\\
server
\\
webapp
\\
atlas'
],
'atlas_home
\\
conf;atlas_home
\\
server
\\
webapp
\\
atlas
\\
WEB-INF
\\
classes;atlas_home
\\
server
\\
webapp
\\
atlas
\\
WEB-INF
\\
lib
\\
*;atlas_home
\\
libext
\\
*;atlas_home
\\
hbase
\\
conf'
,
[
'-Datlas.log.dir=atlas_home
\\
logs'
,
'-Datlas.log.file=application.log'
,
'-Datlas.home=atlas_home'
,
'-Datlas.conf=atlas_home
\\
conf'
,
'-Xmx1024m'
,
'-XX:MaxPermSize=512m'
,
'-Datlas.conf=atlas_home
\\
conf'
,
'-Xmx1024m'
,
'-Dlog4j.configuration=atlas-log4j.xml'
,
'-Djava.net.preferIPv4Stack=true'
,
'-server'
],
'atlas_home
\\
logs'
)
...
...
@@ -138,7 +138,7 @@ class TestMetadata(unittest.TestCase):
[
'-app'
,
'atlas_home/server/webapp/atlas'
],
'atlas_home/conf:atlas_home/server/webapp/atlas/WEB-INF/classes:atlas_home/server/webapp/atlas/WEB-INF/lib/*:atlas_home/libext/*:atlas_home/hbase/conf'
,
[
'-Datlas.log.dir=atlas_home/logs'
,
'-Datlas.log.file=application.log'
,
'-Datlas.home=atlas_home'
,
'-Datlas.conf=atlas_home/conf'
,
'-Xmx1024m'
,
'-XX:MaxPermSize=512m'
,
'-Datlas.conf=atlas_home/conf'
,
'-Xmx1024m'
,
'-Dlog4j.configuration=atlas-log4j.xml'
,
'-Djava.net.preferIPv4Stack=true'
,
'-server'
],
'atlas_home/logs'
)
...
...
@@ -221,7 +221,7 @@ class TestMetadata(unittest.TestCase):
[
'-app'
,
'atlas_home
\\
server
\\
webapp
\\
atlas'
],
'atlas_home
\\
conf;atlas_home
\\
server
\\
webapp
\\
atlas
\\
WEB-INF
\\
classes;atlas_home
\\
server
\\
webapp
\\
atlas
\\
WEB-INF
\\
lib
\\
*;atlas_home
\\
libext
\\
*;atlas_home
\\
hbase
\\
conf'
,
[
'-Datlas.log.dir=atlas_home
\\
logs'
,
'-Datlas.log.file=application.log'
,
'-Datlas.home=atlas_home'
,
'-Datlas.conf=atlas_home
\\
conf'
,
'-Xmx1024m'
,
'-XX:MaxPermSize=512m'
,
'-Datlas.conf=atlas_home
\\
conf'
,
'-Xmx1024m'
,
'-Dlog4j.configuration=atlas-log4j.xml'
,
'-Djava.net.preferIPv4Stack=true'
,
'-server'
],
'atlas_home
\\
logs'
)
...
...
@@ -231,7 +231,7 @@ class TestMetadata(unittest.TestCase):
[
'-app'
,
'atlas_home/server/webapp/atlas'
],
'atlas_home/conf:atlas_home/server/webapp/atlas/WEB-INF/classes:atlas_home/server/webapp/atlas/WEB-INF/lib/*:atlas_home/libext/*:atlas_home/hbase/conf'
,
[
'-Datlas.log.dir=atlas_home/logs'
,
'-Datlas.log.file=application.log'
,
'-Datlas.home=atlas_home'
,
'-Datlas.conf=atlas_home/conf'
,
'-Xmx1024m'
,
'-XX:MaxPermSize=512m'
,
'-Datlas.conf=atlas_home/conf'
,
'-Xmx1024m'
,
'-Dlog4j.configuration=atlas-log4j.xml'
,
'-Djava.net.preferIPv4Stack=true'
,
'-server'
],
'atlas_home/logs'
)
...
...
docs/src/site/twiki/EclipseSetup.twiki
View file @
1869aee3
...
...
@@ -92,7 +92,7 @@ export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Hom
export M2_HOME=/Applications/apache-maven-3.3.9 # Git is installed in the system path
export PYTHON_HOME='/Applications/Python 2.7'
export PATH=$PYTHON_HOME:$M2_HOME/bin:$JAVA_HOME/bin:$PATH
export MAVEN_OPTS="-Xmx1536m -Drat.numUnapprovedLicenses=100
-XX:MaxPermSize=256m
"
export MAVEN_OPTS="-Xmx1536m -Drat.numUnapprovedLicenses=100"
</verbatim>
* If you do not want to set Java 8 as your system java, you can use this bash script to setup the environment and run Eclipse (which you can drop in Applications and rename to neon).
...
...
docs/src/site/twiki/InstallationSteps.twiki
View file @
1869aee3
...
...
@@ -7,7 +7,7 @@ git clone https://git-wip-us.apache.org/repos/asf/atlas.git atlas
cd atlas
export MAVEN_OPTS="-Xmx1536m
-XX:MaxPermSize=512m
" && mvn clean install
export MAVEN_OPTS="-Xmx1536m" && mvn clean install
</verbatim>
Once the build successfully completes, artifacts can be packaged for deployment.
...
...
@@ -198,11 +198,6 @@ export ATLAS_SERVER_OPTS="-server -XX:SoftRefLRUPolicyMSPerMB=0 -XX:+CMSClassUnl
The =-XX:SoftRefLRUPolicyMSPerMB= option was found to be particularly helpful to regulate GC performance for
query heavy workloads with many concurrent users.
The following values are recommended for JDK 7:
<verbatim>
export ATLAS_SERVER_HEAP="-Xms15360m -Xmx15360m -XX:MaxNewSize=3072m -XX:PermSize=100M -XX:MaxPermSize=512m"
</verbatim>
The following values are recommended for JDK 8:
<verbatim>
export ATLAS_SERVER_HEAP="-Xms15360m -Xmx15360m -XX:MaxNewSize=5120m -XX:MetaspaceSize=100M -XX:MaxMetaspaceSize=512m"
...
...
pom.xml
View file @
1869aee3
...
...
@@ -1968,7 +1968,7 @@
<redirectTestOutputToFile>
true
</redirectTestOutputToFile>
<argLine>
-Djava.awt.headless=true -Dproject.version=${project.version}
-Dhadoop.tmp.dir="${project.build.directory}/tmp-hadoop-${user.name}"
-Xmx1024m -
XX:MaxPermSize=512m -
Djava.net.preferIPv4Stack=true ${atlas.surefire.options}
-Xmx1024m -Djava.net.preferIPv4Stack=true ${atlas.surefire.options}
</argLine>
<skip>
${skipUTs}
</skip>
</configuration>
...
...
@@ -1994,7 +1994,7 @@
<redirectTestOutputToFile>
true
</redirectTestOutputToFile>
<argLine>
-Djava.awt.headless=true -Dproject.version=${project.version}
-Dhadoop.tmp.dir="${project.build.directory}/tmp-hadoop-${user.name}"
-Xmx1024m
-XX:MaxPermSize=512m
${atlas.surefire.options}
-Xmx1024m ${atlas.surefire.options}
</argLine>
<skip>
${skipITs}
</skip>
<reuseForks>
false
</reuseForks>
...
...
repository/pom.xml
View file @
1869aee3
...
...
@@ -205,7 +205,6 @@
</args>
<jvmArgs>
<jvmArg>
-Xmx512m
</jvmArg>
<jvmArg>
-XX:MaxPermSize=128m
</jvmArg>
</jvmArgs>
</configuration>
</plugin>
...
...
typesystem/pom.xml
View file @
1869aee3
...
...
@@ -143,7 +143,6 @@
</args>
<jvmArgs>
<jvmArg>
-Xmx512m
</jvmArg>
<jvmArg>
-XX:MaxPermSize=128m
</jvmArg>
</jvmArgs>
</configuration>
</plugin>
...
...
webapp/pom.xml
View file @
1869aee3
...
...
@@ -525,7 +525,7 @@
<redirectTestOutputToFile>
true
</redirectTestOutputToFile>
<argLine>
-Djava.awt.headless=true -Dproject.version=${project.version}
-Dhadoop.tmp.dir=${project.build.directory}/tmp-hadoop-${user.name}
-Xmx1024m
-XX:MaxPermSize=512m
-Xmx1024m
</argLine>
</configuration>
<executions>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment