[
https://issues.apache.org/jira/browse/ACCUMULO-2349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13901915#comment-13901915
]
Christopher Tubbs commented on ACCUMULO-2349:
---------------------------------------------
[~vines] wrote:
{quote}We offer individual configuration for services, how would we offer that
with your proposed changes?{quote}
Different directories for different configuration, by default, seems sensible
to me:
{code}
/etc/accumulo/
├── common.conf
├── master
│ ├── java.env
│ ├── log4j.properties
│ └── master.conf
└── tserver
├── java.env
├── log4j.properties
└── tserver.conf
{code}
The actual code should accept these as command-line arguments, though. The
directory structure would just be for scripts. A script might look like:
{code}
# /etc/init.d/accumulo-tserver
# ... more SysVInit stuff here
CONF_DIR=/etc/accumulo/tserver
[ -r "${CONF_DIR}/java.env" ] && source "${CONF_DIR}/java.env"
# java.env contains CLASSPATH= and/or TSERVER_OPTS= lines
[ -r "${CONF_DIR}/tserver.conf" ] && CONFIG="--config ${CONF_DIR}/tserver.conf"
java $TSERVER_OPTS org.apache.accumulo.tserver.TServer $CONFIG
# ... more stuff here
{code}
> Accumulo should give some notification if there is no *_logger.xml file
> -----------------------------------------------------------------------
>
> Key: ACCUMULO-2349
> URL: https://issues.apache.org/jira/browse/ACCUMULO-2349
> Project: Accumulo
> Issue Type: Improvement
> Reporter: John Vines
> Fix For: 1.7.0
>
>
> Right now if you're missing general_logger and the appropriate
> service_logger, it seems accumulo just happily carries on with no logs
> whatsoever. We should alter it to complain loudly if it's missing them.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)