You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by rl...@apache.org on 2018/05/21 14:03:05 UTC

[ambari] branch trunk updated: add com.sun.jndi.ldap.connect.pool.* settings to AMBARI_JVM_ARGS

This is an automated email from the ASF dual-hosted git repository.

rlevas pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 905c68f  add com.sun.jndi.ldap.connect.pool.* settings to AMBARI_JVM_ARGS
905c68f is described below

commit 905c68f8753218dac264f1096e3795099b717498
Author: quirogadf <qu...@gmail.com>
AuthorDate: Tue May 15 15:49:41 2018 -0700

    add com.sun.jndi.ldap.connect.pool.* settings to AMBARI_JVM_ARGS
---
 ambari-server/conf/unix/ambari-env.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ambari-server/conf/unix/ambari-env.sh b/ambari-server/conf/unix/ambari-env.sh
index 7ee2dc5..b1cfd85 100644
--- a/ambari-server/conf/unix/ambari-env.sh
+++ b/ambari-server/conf/unix/ambari-env.sh
@@ -16,6 +16,8 @@
 
 AMBARI_PASSHPHRASE="DEV"
 export AMBARI_JVM_ARGS="$AMBARI_JVM_ARGS -Xms512m -Xmx2048m -XX:MaxPermSize=128m -Djava.security.auth.login.config=$ROOT/etc/ambari-server/conf/krb5JAASLogin.conf -Djava.security.krb5.conf=/etc/krb5.conf -Djavax.security.auth.useSubjectCredsOnly=false"
+# ldap connection pooling
+export AMBARI_JVM_ARGS=$AMBARI_JVM_ARGS" -Dcom.sun.jndi.ldap.connect.pool.protocol='plain ssl' -Dcom.sun.jndi.ldap.connect.pool.maxsize=20 -Dcom.sun.jndi.ldap.connect.pool.timeout=300000"
 export PATH=$PATH:$ROOT/var/lib/ambari-server
 export PYTHONPATH=$ROOT/usr/lib/ambari-server/lib:$PYTHONPATH
 
@@ -23,4 +25,4 @@ export PYTHONPATH=$ROOT/usr/lib/ambari-server/lib:$PYTHONPATH
 # export PYTHON=/usr/bin/python2
 
 # to add additional directory or jar to server classpath use SERVER_CLASSPATH variable
-# export SERVER_CLASSPATH=/etc/hadoop/conf/secure
\ No newline at end of file
+# export SERVER_CLASSPATH=/etc/hadoop/conf/secure

-- 
To stop receiving notification emails like this one, please contact
rlevas@apache.org.