public class BigdataStatics extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
debug
A flag used for a variety of purposes during performance tuning.
|
static int |
echoProcessStartupLineCount
The #of lines of output from a child process which will be echoed onto
System.out when that child process is executed. |
static String |
HOSTNAME
The name of an environment variable whose value will be used as the
canonical host name for the host running this JVM.
|
static boolean |
runKnownBadTests
Used to ignore tests in CI that are known to fail.
|
static boolean |
threadLocalBuffers
Deprecated.
This is ugly. Remove once the issue has been resolved.
|
Constructor and Description |
---|
BigdataStatics() |
Modifier and Type | Method and Description |
---|---|
static String |
getContextPath()
Return the web application context path for the default deployment of the
bigdata web application.
|
static void |
threadDump(Appendable w)
Write a thread dump onto the caller's object.
|
public static final boolean debug
System.err
messages are coming from. This should always be off in the trunk.public static final String HOSTNAME
AbstractStatisticsCollector
,
which is responsible for obtaining and reporting the canonical hostname
for the Banner
and other purposes.public static int echoProcessStartupLineCount
System.out
when that child process is executed. This makes it
easy to track down why a child process dies during service start. If you
want to see all output from the child process, then you should set the
log level for the com.bigdata.jini.start.process.ProcessHelper
class to INFO.
Note: This needs to be more than the length of the
Banner
output in order for anything related to the
process behavior to be echoed on System.out
.
com.bigdata.jini.start.process.ProcessHelper
public static final boolean threadLocalBuffers
(Thread-local
cache combined with unbounded thread pools causes effective memory
leak)
public static final boolean runKnownBadTests
public static final String getContextPath()
public static void threadDump(Appendable w)
Note: This code should not obtain any locks. This is necessary in order for the code to run even when the server is in a deadlock.
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.