You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ja...@apache.org on 2016/09/28 08:09:00 UTC

lucene-solr:branch_6x: SOLR-7436: Solr stops printing stacktraces in log and output (add -XX:-OmitStackTraceInFastThrow to solr.in.{sh|cmd))

Repository: lucene-solr
Updated Branches:
  refs/heads/branch_6x 43334c146 -> 4ce1908a2


SOLR-7436: Solr stops printing stacktraces in log and output (add -XX:-OmitStackTraceInFastThrow to solr.in.{sh|cmd))

(cherry picked from commit eba3939)


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/4ce1908a
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/4ce1908a
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/4ce1908a

Branch: refs/heads/branch_6x
Commit: 4ce1908a21c9210db16033e3a8740cb642695492
Parents: 43334c1
Author: Jan H�ydahl <ja...@apache.org>
Authored: Wed Sep 28 10:06:15 2016 +0200
Committer: Jan H�ydahl <ja...@apache.org>
Committed: Wed Sep 28 10:08:51 2016 +0200

----------------------------------------------------------------------
 solr/CHANGES.txt     | 2 ++
 solr/bin/solr.in.cmd | 3 ++-
 solr/bin/solr.in.sh  | 3 ++-
 3 files changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/4ce1908a/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 83543a8..53f294f 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -175,6 +175,8 @@ Other Changes
 
 * SOLR-9567: Make ReRankQParserPlugin's private ReRankCollector a public class of its own. (Christine Poerschke)
 
+* SOLR-7436: Solr stops printing stacktraces in log and output (janhoy, hossman, Markus Jelsma)
+
 ==================  6.2.1 ==================
 
 Bug Fixes

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/4ce1908a/solr/bin/solr.in.cmd
----------------------------------------------------------------------
diff --git a/solr/bin/solr.in.cmd b/solr/bin/solr.in.cmd
index 5448943..07bffcc 100644
--- a/solr/bin/solr.in.cmd
+++ b/solr/bin/solr.in.cmd
@@ -45,7 +45,8 @@ set GC_TUNE=-XX:NewRatio=3 ^
  -XX:CMSInitiatingOccupancyFraction=50 ^
  -XX:CMSMaxAbortablePrecleanTime=6000 ^
  -XX:+CMSParallelRemarkEnabled ^
- -XX:+ParallelRefProcEnabled
+ -XX:+ParallelRefProcEnabled ^
+ -XX:-OmitStackTraceInFastThrow
 
 REM Set the ZooKeeper connection string if using an external ZooKeeper ensemble
 REM e.g. host1:2181,host2:2181/chroot

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/4ce1908a/solr/bin/solr.in.sh
----------------------------------------------------------------------
diff --git a/solr/bin/solr.in.sh b/solr/bin/solr.in.sh
index 33b2ed0..999e673 100644
--- a/solr/bin/solr.in.sh
+++ b/solr/bin/solr.in.sh
@@ -43,7 +43,8 @@ GC_TUNE="-XX:NewRatio=3 \
 -XX:CMSInitiatingOccupancyFraction=50 \
 -XX:CMSMaxAbortablePrecleanTime=6000 \
 -XX:+CMSParallelRemarkEnabled \
--XX:+ParallelRefProcEnabled"
+-XX:+ParallelRefProcEnabled \
+-XX:-OmitStackTraceInFastThrow"
 
 # Set the ZooKeeper connection string if using an external ZooKeeper ensemble
 # e.g. host1:2181,host2:2181/chroot