[ https://issues.apache.org/jira/browse/AMBARI-18291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15469709#comment-15469709 ]
JaySenSharma commented on AMBARI-18291: --------------------------------------- - Users can simply change the java's default temp dir "/tmp" using the standard java options like following. - In case of ambari as well it will work if we set the "AMBARI_JVM_ARGS" inside the file "/var/lib/ambari-server/ambari-env.sh" to include the "-Djava.io.tmpdir=/PATH" system properly. {code} export AMBARI_JVM_ARGS=$AMBARI_JVM_ARGS' -Xms2048m -Xmx2048m -Djava.security.auth.login.config=/etc/ambari-server/conf/krb5JAASLogin.conf -Djava.security.krb5.conf=/etc/krb5.conf -Djavax.security.auth.useSubjectCredsOnly=false -Djava.io.tmpdir=/PATH/Of/YourChoice' {code} > Ambari tempory path configuration > --------------------------------- > > Key: AMBARI-18291 > URL: https://issues.apache.org/jira/browse/AMBARI-18291 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.4.0, 2.2.2 > Environment: all > Reporter: amarnathreddy > Assignee: amarnathreddy > Priority: Trivial > > By default Ambari uses "/tmp" as temporary path, > 1. while using Ambari-server it creates so many temporary files under /tmp > path. > 2. While doing the file upload in the File View, Ambari uses /tmp path during > the file upload and if there is no enough space left then file upload would > fail. > Proposing solution: > path should be configurable in ambari.properties -- This message was sent by Atlassian JIRA (v6.3.4#6332)