From commits-return-23546-archive-asf-public=cust-asf.ponee.io@accumulo.apache.org Wed Nov 13 18:34:39 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 5C3F3180621 for ; Wed, 13 Nov 2019 19:34:39 +0100 (CET) Received: (qmail 29170 invoked by uid 500); 13 Nov 2019 18:34:38 -0000 Mailing-List: contact commits-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list commits@accumulo.apache.org Received: (qmail 29161 invoked by uid 99); 13 Nov 2019 18:34:38 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Nov 2019 18:34:38 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 364EB851DB; Wed, 13 Nov 2019 18:34:38 +0000 (UTC) Date: Wed, 13 Nov 2019 18:34:38 +0000 To: "commits@accumulo.apache.org" Subject: [accumulo-website] branch master updated: Update blog to include openssl path to JAVA_OPTS in accumulo-env.sh (#208) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <157367007814.29737.14972439155556581606@gitbox.apache.org> From: kturner@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: accumulo-website X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: d13f36566ee52c1e63e970007b2fba0bff3594c0 X-Git-Newrev: 818ebed4674c8c978ce65524f9717e44125d3f6e X-Git-Rev: 818ebed4674c8c978ce65524f9717e44125d3f6e X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated 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 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.