[ 
https://issues.apache.org/jira/browse/DRILL-4587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15228902#comment-15228902
 ] 

Paul Rogers edited comment on DRILL-4587 at 4/6/16 8:24 PM:
------------------------------------------------------------

User-settable environment variables:

DRILL_CONF_DIR      Alternate drill conf dir. Default is ${DRILL_HOME}/conf.
DRILL_LOG_DIR       Where log files are stored. Default is /var/log/drill if 
that exists, else $DRILL_HOME/log  
DRILL_PID_DIR       The pid files are stored. /tmp by default.
DRILL_IDENT_STRING  A string representing this instance of drillbit. $USER by 
default
DRILL_NICENESS      The scheduling priority for daemons. Defaults to 0.
DRILL_STOP_TIMEOUT  Time, in seconds, after which we kill -9 the server if it 
has not stopped. Default 120 seconds.
DRILL_HOME                 Drill home (defaults based on this script's path.)
JAVA_HOME                  The java implementation to use.
DRILL_CLASSPATH            Extra Java CLASSPATH entries.
DRILL_CLASSPATH_PREFIX     Extra Java CLASSPATH entries that should be prefixed 
to the system classpath.
HADOOP_HOME                Hadoop home
HBASE_HOME                 HBase home
LOG_OPTS                ??
DRILL_JAVA_OPTS         Optional JVM arguments such as system property overides 
used by both the drillbit and client.
DRILLBIT_JAVA_OPTS      Optional JVM arguments specifically for the drillbit. 
SERVER_GC_OPTS          todo



was (Author: paul-rogers):
User-settable environment variables:

DRILL_CONF_DIR      Alternate drill conf dir. Default is ${DRILL_HOME}/conf.
DRILL_LOG_DIR       Where log files are stored. Default is /var/log/drill if 
that exists, else $DRILL_HOME/log  
DRILL_PID_DIR       The pid files are stored. /tmp by default.
DRILL_IDENT_STRING  A string representing this instance of drillbit. $USER by 
default
DRILL_NICENESS      The scheduling priority for daemons. Defaults to 0.
DRILL_STOP_TIMEOUT  Time, in seconds, after which we kill -9 the server if it 
has not stopped. Default 120 seconds.
DRILL_HOME                 Drill home (defaults based on this script's path.)
JAVA_HOME                  The java implementation to use.
DRILL_CLASSPATH            Extra Java CLASSPATH entries.
DRILL_CLASSPATH_PREFIX     Extra Java CLASSPATH entries that should be prefixed 
to the system classpath.
HADOOP_HOME                Hadoop home
HBASE_HOME                 HBase home
LOG_OPTS                ??
DRILL_JAVA_OPTS         Optional JVM arguments such as system property overides 
used by both the drillbit and client.
DRILLBIT_JAVA_OPTS      Optional JVM arguments specifically for the drillbit. 
SERVER_GC_OPTS          todo


> Document Drillbit launch options
> --------------------------------
>
>                 Key: DRILL-4587
>                 URL: https://issues.apache.org/jira/browse/DRILL-4587
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Documentation
>            Reporter: Paul Rogers
>
> Drill provides the drillbit.sh script to launch Drill. When Drill is run in 
> production environments, or when managed by a tool such as Mesos or YARN, 
> customers have many options to customize the launch options. We should 
> document this information as below.
> The user can configure Drill launch in one of two ways, depending on version.
> $DRILL_HOME/conf/drill-env.sh allows the user to set environment variables 
> that control the Drill launch. See the comment below for the list of these 
> variables.
> In Drill 1.7 and later, the administrator can set Drill configuration options 
> directly on the launch command line in the form:
> drillbit.sh start -Dvariable=value
> For example, to control the control port:
> drillbit.sh start -Ddrill.exec.http.port=8099 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to