accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ktur...@apache.org
Subject [accumulo-website] branch master updated: Update blog to include openssl path to JAVA_OPTS in accumulo-env.sh (#208)
Date Wed, 13 Nov 2019 18:34:38 GMT
This is an automated email from the ASF dual-hosted git repository.

kturner pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/accumulo-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 818ebed  Update blog to include openssl path to JAVA_OPTS in accumulo-env.sh (#208)
818ebed is described below

commit 818ebed4674c8c978ce65524f9717e44125d3f6e
Author: Karthick Narendran <karthick.narendran@gmail.com>
AuthorDate: Thu Nov 14 00:04:27 2019 +0530

    Update blog to include openssl path to JAVA_OPTS in accumulo-env.sh (#208)
---
 _posts/blog/2019-10-15-accumulo-adlsgen2-notes.md | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/_posts/blog/2019-10-15-accumulo-adlsgen2-notes.md b/_posts/blog/2019-10-15-accumulo-adlsgen2-notes.md
index 03288aa..511f4d4 100644
--- a/_posts/blog/2019-10-15-accumulo-adlsgen2-notes.md
+++ b/_posts/blog/2019-10-15-accumulo-adlsgen2-notes.md
@@ -76,8 +76,20 @@ CLASSPATH="${CLASSPATH}:${HADOOP_HOME}/share/hadoop/common/lib/jackson-mapper-as
 export CLASSPATH
 ```
 
-Tried adding `-Dorg.wildfly.openssl.path` to `JAVA_OPTS` in `accumulo-env.sh`, but it 
-did not appear to work, this needs further investigation.
+Include `-Dorg.wildfly.openssl.path` to `JAVA_OPTS` in `accumulo-env.sh` as shown below.
This
+java property is an optional performance enhancement for TLS.
+
+```bash
+JAVA_OPTS=("${ACCUMULO_JAVA_OPTS[@]}"
+  '-XX:+UseConcMarkSweepGC'
+  '-XX:CMSInitiatingOccupancyFraction=75'
+  '-XX:+CMSClassUnloadingEnabled'
+  '-XX:OnOutOfMemoryError=kill -9 %p'
+  '-XX:-OmitStackTraceInFastThrow'
+  '-Djava.net.preferIPv4Stack=true'
+  '-Dorg.wildfly.openssl.path=/usr/lib64'
+  "-Daccumulo.native.lib.path=${lib}/native")
+```
 
 Set the following in `accumulo.properties` and then run `accumulo init`, but don't start
Accumulo.
 


Mime
View raw message