accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject [3/3] git commit: ACCUMULO-1652 allow user-specified command to be used when OOM errors occur
Date Wed, 11 Sep 2013 16:47:52 GMT
ACCUMULO-1652 allow user-specified command to be used when OOM errors occur


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/31411771
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/31411771
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/31411771

Branch: refs/heads/master
Commit: 31411771495ef51fddf507d7e3fd2082e75fb13d
Parents: 2816cb9 62425ba
Author: Eric Newton <eric.newton@gmail.com>
Authored: Wed Sep 11 12:48:00 2013 -0400
Committer: Eric Newton <eric.newton@gmail.com>
Committed: Wed Sep 11 12:48:00 2013 -0400

----------------------------------------------------------------------
 bin/accumulo | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/31411771/bin/accumulo
----------------------------------------------------------------------
diff --cc bin/accumulo
index 7d05bfd,4ffed5c..3b15ac6
--- a/bin/accumulo
+++ b/bin/accumulo
@@@ -118,11 -118,7 +118,11 @@@ if [ ! -d "${LIB_PATH}" ]; the
  fi
  #
  # app isn't used anywhere, but it makes the process easier to spot when ps/top/snmp truncate
the command line
 -exec $JAVA "-Dapp=$1" $ACCUMULO_OPTS -classpath "${CLASSPATH}" -XX:OnOutOfMemoryError="${ACCUMULO_KILL_CMD:-kill
-9 %p}" \
 +exec $JAVA "-Dapp=$1" \
 +   $ACCUMULO_OPTS \
 +   -classpath "${CLASSPATH}" \
-    -XX:OnOutOfMemoryError="kill -9 %p" \
++   -XX:OnOutOfMemoryError="${ACCUMULO_KILL_CMD:-kill -9 %p}" \
 +   -XX:-OmitStackTraceInFastThrow \
     -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
\
     -Djava.library.path="${LIB_PATH}" \
     -Dorg.apache.accumulo.core.home.dir="${ACCUMULO_HOME}" \


Mime
View raw message