Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

question about ambari-env.sh file

avatar
Super Collaborator

I have to setup proxy in this file but not clear how , is the following correct ? because the baseurls are being rejected by the install program whereas I can access them in the browser window which tells me that something is wrong with ambari setup.

AMBARI_PASSHPHRASE="DEV"
export AMBARI_JVM_ARGS=$AMBARI_JVM_ARGS' -Xms512m -Xmx2048m -Djava.security.auth.login.config=/etc/ambari-server/conf/krb5JAASLogin.conf -Djava.security.krb5.conf=/etc/krb5.conf -Djavax.security.auth.useSubjectCredsOnly=false'
export PATH=$PATH:/var/lib/ambari-server
-Dhttp.proxyHost=dotatofwproxy.tolls.dot.state.fl.us -Dhttp.proxyPort=8080

1 ACCEPTED SOLUTION

avatar
Not applicable

@Sami Ahmad

You can set it like following inside the 'AMBARI_JVM_ARGS' in '/var/lib/ambari-server/ambari-env.sh' script : The you will need to restart the ambari server.

export AMBARI_JVM_ARGS=$AMBARI_JVM_ARGS' -Xms512m -Xmx2048m -Djava.security.auth.login.config=/etc/ambari-server/conf/krb5JAASLogin.conf -Djava.security.krb5.conf=/etc/krb5.conf -Djavax.security.auth.useSubjectCredsOnly=false  -Dhttp.proxyHost=dotatofwproxy.tolls.dot.state.fl.us -Dhttp.proxyPort=8080'

View solution in original post

1 REPLY 1

avatar
Not applicable

@Sami Ahmad

You can set it like following inside the 'AMBARI_JVM_ARGS' in '/var/lib/ambari-server/ambari-env.sh' script : The you will need to restart the ambari server.

export AMBARI_JVM_ARGS=$AMBARI_JVM_ARGS' -Xms512m -Xmx2048m -Djava.security.auth.login.config=/etc/ambari-server/conf/krb5JAASLogin.conf -Djava.security.krb5.conf=/etc/krb5.conf -Djavax.security.auth.useSubjectCredsOnly=false  -Dhttp.proxyHost=dotatofwproxy.tolls.dot.state.fl.us -Dhttp.proxyPort=8080'