http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/examples/accumulo-metrics.xml ---------------------------------------------------------------------- diff --git a/assemble/conf/examples/accumulo-metrics.xml b/assemble/conf/examples/accumulo-metrics.xml new file mode 100644 index 0000000..3b97809 --- /dev/null +++ b/assemble/conf/examples/accumulo-metrics.xml @@ -0,0 +1,60 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<!-- + This file follows the conventions for XMLConfiguration files specified in the Apache Commons Configuration 1.5 Library. Changes to this file will be noticed + at runtime (see the FileChangedReloadingStrategy class in Commons Configuration). +--> +<config> +<!-- + Metrics log directory +--> + <logging> + <dir>${ACCUMULO_HOME}/metrics</dir> + </logging> +<!-- + Enable/Disable metrics accumulation on the different servers and their components + NOTE: Turning on logging can be expensive because it will use several more file handles and will create a lot of short lived objects. +--> + <master> + <enabled type="boolean">false</enabled> + <logging type="boolean">false</logging> + </master> + <tserver> + <enabled type="boolean">false</enabled> + <logging type="boolean">false</logging> + <update> + <enabled type="boolean">false</enabled> + <logging type="boolean">false</logging> + </update> + <scan> + <enabled type="boolean">false</enabled> + <logging type="boolean">false</logging> + </scan> + <minc> + <enabled type="boolean">false</enabled> + <logging type="boolean">false</logging> + </minc> + </tserver> + <thrift> + <enabled type="boolean">false</enabled> + <logging type="boolean">false</logging> + </thrift> + <replication> + <enabled type="boolean">false</enabled> + <logging type="boolean">false</logging> + </replication> +</config>
http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/examples/auditLog.xml ---------------------------------------------------------------------- diff --git a/assemble/conf/examples/auditLog.xml b/assemble/conf/examples/auditLog.xml new file mode 100644 index 0000000..9111811 --- /dev/null +++ b/assemble/conf/examples/auditLog.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> +<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> + + <!-- Write out Audit info to an Audit file --> + <appender name="Audit" class="org.apache.log4j.DailyRollingFileAppender"> + <param name="File" value="${org.apache.accumulo.core.dir.log}/${org.apache.accumulo.core.ip.localhost.hostname}.audit"/> + <param name="MaxBackupIndex" value="10"/> + <param name="DatePattern" value="'.'yyyy-MM-dd"/> + <layout class="org.apache.log4j.PatternLayout"> + <param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss,SSS/Z} [%c{2}] %-5p: %m%n"/> + </layout> + </appender> + <logger name="Audit" additivity="false"> + <appender-ref ref="Audit" /> + <level value="OFF"/> + </logger> + +</log4j:configuration> http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/examples/client.conf ---------------------------------------------------------------------- diff --git a/assemble/conf/examples/client.conf b/assemble/conf/examples/client.conf new file mode 100644 index 0000000..5256b13 --- /dev/null +++ b/assemble/conf/examples/client.conf @@ -0,0 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# instance.zookeeper.host=localhost:2181 +# instance.rpc.ssl.enabled=false + +# instance.rcp.sasl.enabled=false +# rpc.sasl.qop=auth http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/examples/crypto/README ---------------------------------------------------------------------- diff --git a/assemble/conf/examples/crypto/README b/assemble/conf/examples/crypto/README deleted file mode 100644 index 75fa6b1..0000000 --- a/assemble/conf/examples/crypto/README +++ /dev/null @@ -1,23 +0,0 @@ -Title: Apache Accumulo Crypto Configuration Example -Notice: Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - . - http://www.apache.org/licenses/LICENSE-2.0 - . - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - -This accumulo-site.xml file demonstrates how to configure the basic encryption at rest feature. - -The default configuration shown here is not entirely secure, as the master key for all encryption keys -is stored alongside the encrypted files. Placing that master key somewhere secure is an exercise -left to the reader. http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/examples/crypto/accumulo-site.xml ---------------------------------------------------------------------- diff --git a/assemble/conf/examples/crypto/accumulo-site.xml b/assemble/conf/examples/crypto/accumulo-site.xml deleted file mode 100644 index acc946f..0000000 --- a/assemble/conf/examples/crypto/accumulo-site.xml +++ /dev/null @@ -1,162 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<?xml-stylesheet type="text/xsl" href="configuration.xsl"?> - -<configuration> - <!-- - Put your site-specific accumulo configurations here. - - The available configuration values along with their defaults - are documented in docs/config.html - - Unless you are simply testing at your workstation, you will most - definitely need to change the three entries below. - --> - - <property> - <name>instance.zookeeper.host</name> - <value>localhost:2181</value> - <description>comma separated list of zookeeper servers</description> - </property> - - <property> - <name>instance.secret</name> - <value>DEFAULT</value> - <description>A secret unique to a given instance that all servers must know in order to communicate with one another. - Change it before initialization. To change it later use ./bin/accumulo org.apache.accumulo.server.util.ChangeSecret [oldpasswd] [newpasswd], - and then update this file. - </description> - </property> - - <property> - <name>tserver.memory.maps.max</name> - <value>80M</value> - </property> - - <property> - <name>tserver.cache.data.size</name> - <value>7M</value> - </property> - - <property> - <name>tserver.cache.index.size</name> - <value>20M</value> - </property> - - <property> - <name>trace.password</name> - <!-- - change this to the root user's password, and/or change the user below - --> - <value>password</value> - </property> - - <property> - <name>trace.user</name> - <value>root</value> - </property> - - <property> - <name>tserver.sort.buffer.size</name> - <value>50M</value> - </property> - - <property> - <name>tserver.walog.max.size</name> - <value>100M</value> - </property> - - <property> - <name>general.classpaths</name> - <value> - $ACCUMULO_HOME/server/target/classes/, - $ACCUMULO_HOME/core/target/classes/, - $ACCUMULO_HOME/start/target/classes/, - $ACCUMULO_HOME/fate/target/classes/, - $ACCUMULO_HOME/proxy/target/classes/, - $ACCUMULO_HOME/examples/target/classes/, - $ACCUMULO_HOME/lib/[^.].$ACCUMULO_VERSION.jar, - $ACCUMULO_HOME/lib/[^.].*.jar, - $ZOOKEEPER_HOME/zookeeper[^.].*.jar, - $HADOOP_CONF_DIR, - $HADOOP_PREFIX/share/hadoop/common/.*.jar, - $HADOOP_PREFIX/share/hadoop/common/lib/(?!slf4j)[^.].*.jar, - $HADOOP_PREFIX/share/hadoop/hdfs/.*.jar, - $HADOOP_PREFIX/share/hadoop/mapreduce/.*.jar, - $HADOOP_PREFIX/share/hadoop/yarn/.*.jar, - /usr/lib/hadoop/.*.jar, - /usr/lib/hadoop/lib/.*.jar, - /usr/lib/hadoop-hdfs/.*.jar, - /usr/lib/hadoop-mapreduce/.*.jar, - /usr/lib/hadoop-yarn/.*.jar, - </value> - <description>Classpaths that accumulo checks for updates and class files. - When using the Security Manager, please remove the ".../target/classes/" values. - </description> - </property> - - <property> - <name>crypto.module.class</name> - <value>org.apache.accumulo.core.security.crypto.DefaultCryptoModule</value> - </property> - <property> - <name>crypto.cipher.suite</name> - <value>AES/CFB/NoPadding</value> - </property> - <property> - <name>crypto.cipher.algorithm.name</name> - <value>AES</value> - </property> - <property> - <name>crypto.cipher.key.length</name> - <value>128</value> - </property> - <property> - <name>crypto.secure.rng</name> - <value>SHA1PRNG</value> - </property> - <property> - <name>crypto.secure.rng.provider</name> - <value>SUN</value> - </property> - - <property> - <name>crypto.secret.key.encryption.strategy.class</name> - <value>org.apache.accumulo.core.security.crypto.CachingHDFSSecretKeyEncryptionStrategy</value> - </property> - - <property> - <name>crypto.default.key.strategy.cipher.suite</name> - <value>AES/ECB/NoPadding</value> - </property> -<!-- - These properties can be useful for situations where you are conducting unit tests without HDFS - running. ---> - -<!-- - <property> - <name>crypto.default.key.strategy.hdfs.uri</name> - <value>file:///</value> - </property> - <property> - <name>crypto.default.key.strategy.key.location</name> - <value>/tmp/test.secret.key</value> - </property> ---> -</configuration> http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/examples/gc ---------------------------------------------------------------------- diff --git a/assemble/conf/examples/gc b/assemble/conf/examples/gc new file mode 100644 index 0000000..63fb8bb --- /dev/null +++ b/assemble/conf/examples/gc @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +localhost http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/examples/generic_logger.properties ---------------------------------------------------------------------- diff --git a/assemble/conf/examples/generic_logger.properties b/assemble/conf/examples/generic_logger.properties new file mode 100644 index 0000000..dbe12cf --- /dev/null +++ b/assemble/conf/examples/generic_logger.properties @@ -0,0 +1,58 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Write out everything at the DEBUG level to the debug log +log4j.appender.A2=org.apache.log4j.RollingFileAppender +log4j.appender.A2.File=${org.apache.accumulo.core.dir.log}/${org.apache.accumulo.core.application}_${accumulo.service.instance}${org.apache.accumulo.core.ip.localhost.hostname}_fromprops.debug.log +log4j.appender.A2.MaxFileSize=1000MB +log4j.appender.A2.MaxBackupIndex=10 +log4j.appender.A2.Threshold=DEBUG +log4j.appender.A2.layout=org.apache.log4j.PatternLayout +log4j.appender.A2.layout.ConversionPattern=%d{ISO8601} [%-8c{2}] %-5p: %m%n + +# Write out INFO and higher to the regular log +log4j.appender.A3=org.apache.log4j.RollingFileAppender +log4j.appender.A3.File=${org.apache.accumulo.core.dir.log}/${org.apache.accumulo.core.application}_${accumulo.service.instance}${org.apache.accumulo.core.ip.localhost.hostname}_fromprops.log +log4j.appender.A3.MaxFileSize=1000MB +log4j.appender.A3.MaxBackupIndex=10 +log4j.appender.A3.Threshold=INFO +log4j.appender.A3.layout=org.apache.log4j.PatternLayout +log4j.appender.A3.layout.ConversionPattern=%d{ISO8601} [%-8c{2}] %-5p: %m%n + +# Send all logging data to a centralized logger +# If the centralized logger is down, buffer the log events, but drop them if it stays down +log4j.appender.ASYNC=org.apache.accumulo.core.util.AsyncSocketAppender +log4j.appender.ASYNC.RemoteHost=${org.apache.accumulo.core.host.log} +log4j.appender.ASYNC.Port=${org.apache.accumulo.core.host.log.port} +log4j.appender.ASYNC.Application=${org.apache.accumulo.core.application}:${org.apache.accumulo.core.ip.localhost.hostname} +log4j.appender.ASYNC.Threshold=WARN + +# Log accumulo events to the debug, normal and remote logs. +log4j.logger.org.apache.accumulo=DEBUG, A2, A3, ASYNC +log4j.additivity.org.apache.accumulo=false + +# change to INFO for authorization events +log4j.logger.org.apache.accumulo.server.security.Auditor=WARN + +log4j.logger.org.apache.accumulo.core.file.rfile.bcfile=INFO + +log4j.logger.org.apache.accumulo.examples.wikisearch=INFO + +log4j.logger.org.mortbay.log=WARN + +log4j.logger.com.yahoo.zookeeper=ERROR + +# Log non-accumulo events to the debug and normal logs +log4j.rootLogger=INFO, A2, A3 http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/examples/generic_logger.xml ---------------------------------------------------------------------- diff --git a/assemble/conf/examples/generic_logger.xml b/assemble/conf/examples/generic_logger.xml new file mode 100644 index 0000000..a71effe --- /dev/null +++ b/assemble/conf/examples/generic_logger.xml @@ -0,0 +1,83 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> +<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> + + <!-- Write out everything at the DEBUG level to the debug log --> + <appender name="A2" class="org.apache.log4j.RollingFileAppender"> + <param name="File" value="${org.apache.accumulo.core.dir.log}/${org.apache.accumulo.core.application}_${accumulo.service.instance}${org.apache.accumulo.core.ip.localhost.hostname}.debug.log"/> + <param name="MaxFileSize" value="1000MB"/> + <param name="MaxBackupIndex" value="10"/> + <param name="Threshold" value="DEBUG"/> + <layout class="org.apache.log4j.PatternLayout"> + <param name="ConversionPattern" value="%d{ISO8601} [%-8c{2}] %-5p: %m%n"/> + </layout> + </appender> + + <!-- Write out INFO and higher to the regular log --> + <appender name="A3" class="org.apache.log4j.RollingFileAppender"> + <param name="File" value="${org.apache.accumulo.core.dir.log}/${org.apache.accumulo.core.application}_${accumulo.service.instance}${org.apache.accumulo.core.ip.localhost.hostname}.log"/> + <param name="MaxFileSize" value="1000MB"/> + <param name="MaxBackupIndex" value="10"/> + <param name="Threshold" value="INFO"/> + <layout class="org.apache.log4j.PatternLayout"> + <param name="ConversionPattern" value="%d{ISO8601} [%-8c{2}] %-5p: %m%n"/> + </layout> + </appender> + + <!-- Send all logging data to a centralized logger --> + <appender name="N1" class="org.apache.log4j.net.SocketAppender"> + <param name="remoteHost" value="${org.apache.accumulo.core.host.log}"/> + <param name="port" value="${org.apache.accumulo.core.host.log.port}"/> + <param name="application" value="${org.apache.accumulo.core.application}:${org.apache.accumulo.core.ip.localhost.hostname}"/> + <param name="Threshold" value="WARN"/> + </appender> + + <!-- If the centralized logger is down, buffer the log events, but drop them if it stays down --> + <appender name="ASYNC" class="org.apache.log4j.AsyncAppender"> + <appender-ref ref="N1" /> + </appender> + + <!-- Log accumulo events to the debug, normal and remote logs. --> + <logger name="org.apache.accumulo" additivity="false"> + <level value="DEBUG"/> + <appender-ref ref="A2" /> + <appender-ref ref="A3" /> + <appender-ref ref="ASYNC" /> + </logger> + + <logger name="org.apache.accumulo.core.file.rfile.bcfile"> + <level value="INFO"/> + </logger> + + <logger name="org.mortbay.log"> + <level value="WARN"/> + </logger> + + <logger name="org.apache.zookeeper"> + <level value="ERROR"/> + </logger> + + <!-- Log non-accumulo events to the debug and normal logs. --> + <root> + <level value="INFO"/> + <appender-ref ref="A2" /> + <appender-ref ref="A3" /> + </root> + +</log4j:configuration> http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/examples/hadoop-metrics2-accumulo.properties ---------------------------------------------------------------------- diff --git a/assemble/conf/examples/hadoop-metrics2-accumulo.properties b/assemble/conf/examples/hadoop-metrics2-accumulo.properties new file mode 100644 index 0000000..7e3c7c0 --- /dev/null +++ b/assemble/conf/examples/hadoop-metrics2-accumulo.properties @@ -0,0 +1,86 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Poll collectors every ten seconds +*.period=10 + +# +# MetricSink configuration +# +# Uncomment a sink (and configuration) to enable it. By default, +# no sinks are enabled. +# + +# +# Configure file logging +# + +# File sink for all metrics +# accumulo.sink.file-all.class=org.apache.hadoop.metrics2.sink.FileSink +# accumulo.sink.file-all.filename=all.metrics + +# File sink for tserver metrics +# accumulo.sink.file-tserver.class=org.apache.hadoop.metrics2.sink.FileSink +# accumulo.sink.file-tserver.context=tserver +# accumulo.sink.file-tserver.filename=tserver.metrics + +# File sink for master metrics +# accumulo.sink.file-master.class=org.apache.hadoop.metrics2.sink.FileSink +# accumulo.sink.file-master.context=master +# accumulo.sink.file-master.filename=master.metrics + +# File sink for thrift server metrics +# accumulo.sink.file-thrift.class=org.apache.hadoop.metrics2.sink.FileSink +# accumulo.sink.file-thrift.context=thrift +# accumulo.sink.file-thrift.filename=thrift.metrics + +# +# Configure Graphite +# + +# Configure all sources to be written to a Graphite instance +# accumulo.sink.graphite.class=org.apache.hadoop.metrics2.sink.GraphiteSink +# accumulo.sink.graphite.server_host=localhost +# accumulo.sink.graphite.server_port=2003 + +# +# Configure Ganglia +# + +# for Ganglia 3.0 support +# accumulo.sink.ganglia.class=org.apache.hadoop.metrics2.sink.ganglia.GangliaSink30 + +# for Ganglia 3.1 support +# accumulo.sink.ganglia.class=org.apache.hadoop.metrics2.sink.ganglia.GangliaSink31 + +# accumulo.sink.ganglia.period=10 + +# default for supportsparse is false +# accumulo.sink.ganglia.supportsparse=true + +# accumulo.sink.ganglia.slope=jvm.metrics.gcCount=zero,jvm.metrics.memHeapUsedM=both +# accumulo.sink.ganglia.dmax=jvm.metrics.threadsBlocked=70,jvm.metrics.memHeapUsedM=40 + +# Tag values to use for the ganglia prefix. If not defined no tags are used. +# If '*' all tags are used. If specifiying multiple tags separate them with +# commas. Note that the last segment of the property name is the context name. +# +# accumulo.sink.ganglia.tagsForPrefix.jvm=ProcesName +# accumulo.sink.ganglia.tagsForPrefix.tserver= +# accumulo.sink.ganglia.tagsForPrefix.master= +# accumulo.sink.ganglia.tagsForPrefix.thrift= + +# Ganglia host(s) +# accumulo.sink.ganglia.servers=yourgangliahost_1:8649,yourgangliahost_2:8649 http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/examples/log4j.properties ---------------------------------------------------------------------- diff --git a/assemble/conf/examples/log4j.properties b/assemble/conf/examples/log4j.properties new file mode 100644 index 0000000..9858795 --- /dev/null +++ b/assemble/conf/examples/log4j.properties @@ -0,0 +1,42 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# default logging properties: +# by default, log everything at INFO or higher to the console +log4j.rootLogger=INFO,A1 + +# hide Jetty junk +log4j.logger.org.mortbay.log=WARN,A1 + +# hide "Got brand-new compressor" messages +log4j.logger.org.apache.hadoop.io.compress=WARN,A1 +log4j.logger.org.apache.accumulo.core.file.rfile.bcfile.Compression=WARN,A1 + +# hide junk from TestRandomDeletes +log4j.logger.org.apache.accumulo.test.TestRandomDeletes=WARN,A1 + +# hide junk from VFS +log4j.logger.org.apache.commons.vfs2.impl.DefaultFileSystemManager=WARN,A1 + +# hide almost everything from zookeeper +log4j.logger.org.apache.zookeeper=ERROR,A1 + +# hide AUDIT messages in the shell, alternatively you could send them to a different logger +log4j.logger.org.apache.accumulo.shell.Shell.audit=WARN,A1 + +# Send most things to the console +log4j.appender.A1=org.apache.log4j.ConsoleAppender +log4j.appender.A1.layout.ConversionPattern=%d{ISO8601} [%-8c{2}] %-5p: %m%n +log4j.appender.A1.layout=org.apache.log4j.PatternLayout http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/examples/masters ---------------------------------------------------------------------- diff --git a/assemble/conf/examples/masters b/assemble/conf/examples/masters new file mode 100644 index 0000000..63fb8bb --- /dev/null +++ b/assemble/conf/examples/masters @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +localhost http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/examples/monitor ---------------------------------------------------------------------- diff --git a/assemble/conf/examples/monitor b/assemble/conf/examples/monitor new file mode 100644 index 0000000..63fb8bb --- /dev/null +++ b/assemble/conf/examples/monitor @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +localhost http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/examples/monitor_logger.properties ---------------------------------------------------------------------- diff --git a/assemble/conf/examples/monitor_logger.properties b/assemble/conf/examples/monitor_logger.properties new file mode 100644 index 0000000..4dada2d --- /dev/null +++ b/assemble/conf/examples/monitor_logger.properties @@ -0,0 +1,44 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Write out everything at the DEBUG level to the debug log +log4j.appender.A2=org.apache.log4j.RollingFileAppender +log4j.appender.A2.File=${org.apache.accumulo.core.dir.log}/${org.apache.accumulo.core.application}_${org.apache.accumulo.core.ip.localhost.hostname}_fromprops.debug.log +log4j.appender.A2.MaxFileSize=100MB +log4j.appender.A2.MaxBackupIndex=10 +log4j.appender.A2.Threshold=DEBUG +log4j.appender.A2.layout=org.apache.log4j.PatternLayout +log4j.appender.A2.layout.ConversionPattern=%d{ISO8601} [%-8c{2}] %-5p: %X{application} %m%n + +# Write out INFO and higher to the regular log +log4j.appender.A3=org.apache.log4j.RollingFileAppender +log4j.appender.A3.File=${org.apache.accumulo.core.dir.log}/${org.apache.accumulo.core.application}_${org.apache.accumulo.core.ip.localhost.hostname}_fromprops.log +log4j.appender.A3.MaxFileSize=100MB +log4j.appender.A3.MaxBackupIndex=10 +log4j.appender.A3.Threshold=INFO +log4j.appender.A3.layout=org.apache.log4j.PatternLayout +log4j.appender.A3.layout.ConversionPattern=%d{ISO8601} [%-8c{2}] %-5p: %X{application} %m%n + +# Keep the last few log messages for display to the user +log4j.appender.GUI=org.apache.accumulo.server.monitor.LogService +log4j.appender.GUI.Keep=50 +log4j.appender.GUI.Threshold=WARN + +# Log accumulo messages to debug, normal and GUI +log4j.logger.org.apache.accumulo=DEBUG, A2, A3, GUI +log4j.additivity.org.apache.accumulo=false + +# Log non-accumulo messages to debug, normal logs. +log4j.rootLogger=INFO, A2, A3 http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/examples/monitor_logger.xml ---------------------------------------------------------------------- diff --git a/assemble/conf/examples/monitor_logger.xml b/assemble/conf/examples/monitor_logger.xml new file mode 100644 index 0000000..91a7671 --- /dev/null +++ b/assemble/conf/examples/monitor_logger.xml @@ -0,0 +1,64 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> +<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> + + <!-- Write out everything at the DEBUG level to the debug log --> + <appender name="A2" class="org.apache.log4j.RollingFileAppender"> + <param name="File" value="${org.apache.accumulo.core.dir.log}/${org.apache.accumulo.core.application}_${org.apache.accumulo.core.ip.localhost.hostname}.debug.log"/> + <param name="MaxFileSize" value="100MB"/> + <param name="MaxBackupIndex" value="10"/> + <param name="Threshold" value="DEBUG"/> + <layout class="org.apache.log4j.PatternLayout"> + <param name="ConversionPattern" value="%d{ISO8601} [%-8c{2}] %-5p: %X{application} %m%n"/> + </layout> + </appender> + + <!-- Write out INFO and higher to the regular log --> + <appender name="A3" class="org.apache.log4j.RollingFileAppender"> + <param name="File" value="${org.apache.accumulo.core.dir.log}/${org.apache.accumulo.core.application}_${org.apache.accumulo.core.ip.localhost.hostname}.log"/> + <param name="MaxFileSize" value="100MB"/> + <param name="MaxBackupIndex" value="10"/> + <param name="Threshold" value="INFO"/> + <layout class="org.apache.log4j.PatternLayout"> + <param name="ConversionPattern" value="%d{ISO8601} [%-8c{2}] %-5p: %X{application} %m%n"/> + </layout> + </appender> + + <!-- Keep the last few log messages for display to the user --> + <appender name="GUI" class="org.apache.accumulo.server.monitor.LogService"> + <param name="keep" value="40"/> + <param name="Threshold" value="WARN"/> + </appender> + + <!-- Log accumulo messages to debug, normal and GUI --> + <logger name="org.apache.accumulo" additivity="false"> + <level value="DEBUG"/> + <appender-ref ref="A2" /> + <appender-ref ref="A3" /> + <appender-ref ref="GUI" /> + </logger> + + <!-- Log non-accumulo messages to debug, normal logs. --> + <root> + <level value="INFO"/> + <appender-ref ref="A2" /> + <appender-ref ref="A3" /> + </root> + +</log4j:configuration> http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/examples/tracers ---------------------------------------------------------------------- diff --git a/assemble/conf/examples/tracers b/assemble/conf/examples/tracers new file mode 100644 index 0000000..63fb8bb --- /dev/null +++ b/assemble/conf/examples/tracers @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +localhost http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/examples/tservers ---------------------------------------------------------------------- diff --git a/assemble/conf/examples/tservers b/assemble/conf/examples/tservers new file mode 100644 index 0000000..63fb8bb --- /dev/null +++ b/assemble/conf/examples/tservers @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +localhost http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/examples/vfs-classloader/accumulo-site.xml ---------------------------------------------------------------------- diff --git a/assemble/conf/examples/vfs-classloader/accumulo-site.xml b/assemble/conf/examples/vfs-classloader/accumulo-site.xml deleted file mode 100644 index 7cb64e6..0000000 --- a/assemble/conf/examples/vfs-classloader/accumulo-site.xml +++ /dev/null @@ -1,165 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<?xml-stylesheet type="text/xsl" href="configuration.xsl"?> - -<configuration> - <!-- Put your site-specific accumulo configurations here. The available configuration values along with their defaults are documented in docs/config.html Unless - you are simply testing at your workstation, you will most definitely need to change the three entries below. --> - - <property> - <name>instance.zookeeper.host</name> - <value>localhost:2181</value> - <description>comma separated list of zookeeper servers</description> - </property> - - <property> - <name>instance.secret</name> - <value>DEFAULT</value> - <description>A secret unique to a given instance that all servers must know in order to communicate with one another. - Change it before initialization. To - change it later use ./bin/accumulo org.apache.accumulo.server.util.ChangeSecret --old [oldpasswd] --new [newpasswd], - and then update this file. - </description> - </property> - - <property> - <name>tserver.memory.maps.max</name> - <value>80M</value> - </property> - - <property> - <name>tserver.cache.data.size</name> - <value>7M</value> - </property> - - <property> - <name>tserver.cache.index.size</name> - <value>20M</value> - </property> - - <property> - <name>trace.password</name> - <!-- change this to the root user's password, and/or change the user below --> - <value>secret</value> - </property> - - <property> - <name>trace.user</name> - <value>root</value> - </property> - - <property> - <name>tserver.sort.buffer.size</name> - <value>50M</value> - </property> - - <property> - <name>tserver.walog.max.size</name> - <value>100M</value> - </property> - - <property> - <name>general.maven.project.basedir</name> - <value></value> - </property> - - <property> - <name>general.classpaths</name> - <value> - $ACCUMULO_HOME/lib/accumulo-server.jar, - $ACCUMULO_HOME/lib/accumulo-core.jar, - $ACCUMULO_HOME/lib/accumulo-start.jar, - $ACCUMULO_HOME/lib/accumulo-fate.jar, - $ACCUMULO_HOME/lib/accumulo-proxy.jar, - $ACCUMULO_HOME/lib/[^.].*.jar, - $ZOOKEEPER_HOME/zookeeper[^.].*.jar, - $HADOOP_CONF_DIR, - $HADOOP_PREFIX/share/hadoop/common/.*.jar, - $HADOOP_PREFIX/share/hadoop/common/lib/(?!slf4j)[^.].*.jar, - $HADOOP_PREFIX/share/hadoop/hdfs/.*.jar, - $HADOOP_PREFIX/share/hadoop/mapreduce/.*.jar, - $HADOOP_PREFIX/share/hadoop/yarn/.*.jar, - $HADOOP_PREFIX/share/hadoop/yarn/lib/jersey.*.jar, - /usr/lib/hadoop/.*.jar, - /usr/lib/hadoop/lib/.*.jar, - /usr/lib/hadoop-hdfs/.*.jar, - /usr/lib/hadoop-mapreduce/.*.jar, - /usr/lib/hadoop-yarn/.*.jar, - /usr/lib/hadoop-yarn/lib/jersey.*.jar, - </value> - <description>Classpaths that accumulo checks for updates and class files.</description> - </property> - - <!-- VFS ClassLoader Settings --> - - <!-- - At a minimum the general.vfs.classpath property must be set. After this is set in the configuration, the bin/bootstrap_hdfs.sh can be - run to move the jars into the required locations. All other properties are optional. This example demonstrates using hdfs, other - protocols supported by the Apache Commons VFS software can be used but are not demonstrated here. If the accumulo-site.xml changes - after initial configuration, you will want to copy the file to all of the tserver hosts. - --> - <property> - <name>general.vfs.classpaths</name> - <value>hdfs://localhost:8020/accumulo/system-classpath</value> - <description>Configuration for a system level vfs classloader. Accumulo jars can be configured here and loaded out of HDFS.</description> - </property> - - <property> - <name>general.vfs.cache.dir</name> - <value>/tmp</value> - <description>Directory to use for the vfs cache. The cache will keep a soft reference to all of the classes loaded in the VM. - This should be on local disk on - each node with sufficient space. It defaults to /tmp and will use a directory with the - format "accumulo-vfs-cache-" + System.getProperty("user.name", - "nouser") - </description> - </property> - - <!-- - Properties in this category define a classpath for a named context. These properties start with the category prefix, followed by a context name. - The value is a comma seperated list of URIs. Supports full regex on filename alone. For example - general.vfs.context.classpath.cx1=hdfs://nn1:9902/mylibdir/[^.].*.jar. You can enable post delegation for a context, which will load classes from - the context first instead of the parent first. Do this by setting general.vfs.context.classpath.<name>.delegation=post, where <name> - is your context name. If delegation is not specified, it defaults to loading from parent classloader first. - --> - - <property> - <name>general.vfs.context.classpath.application1</name> - <value>hdfs://localhost:8020/application1/classpath/[^.].*.jar</value> - <description>classpath for the application1 context</description> - </property> - - <property> - <name>general.vfs.context.classpath.application1.delegation=post</name> - <value>hdfs://localhost:8020/application1/classpath/[^.].*.jar</value> - <description>classpath for the application1 context, but the classloader parent delegation model is inverted to prefer the jars/classes in this directory - </description> - </property> - - <property> - <name>general.vfs.context.classpath.application2</name> - <value>hdfs://localhost:8020/application1/classpath/[^.].*.jar,hdfs://localhost:8020/application2/classpath/[^.].*.jar</value> - <description>classpath for the application2 context, includes all of the jars in app1 context</description> - </property> - - <!-- - Once classpath contexts are configured, tables can be configured in the shell to use them via the table.classpath.context property. - For example, all of the tables related to application1 would have the context.classpath property set to 'application1'. - --> - -</configuration> http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/templates/accumulo-env.sh ---------------------------------------------------------------------- diff --git a/assemble/conf/templates/accumulo-env.sh b/assemble/conf/templates/accumulo-env.sh deleted file mode 100644 index a91b4b3..0000000 --- a/assemble/conf/templates/accumulo-env.sh +++ /dev/null @@ -1,89 +0,0 @@ -#! /usr/bin/env bash - -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -### -### Configure these environment variables to point to your local installations. -### -### The functional tests require conditional values, so keep this style: -### -### test -z "$JAVA_HOME" && export JAVA_HOME=/usr/lib/jvm/java -### -### -### Note that the -Xmx -Xms settings below require substantial free memory: -### you may want to use smaller values, especially when running everything -### on a single machine. -### -if [[ -z $HADOOP_HOME ]] ; then - test -z "$HADOOP_PREFIX" && export HADOOP_PREFIX=/path/to/hadoop -else - HADOOP_PREFIX="$HADOOP_HOME" - unset HADOOP_HOME -fi - -# hadoop-2.0: -test -z "$HADOOP_CONF_DIR" && export HADOOP_CONF_DIR="$HADOOP_PREFIX/etc/hadoop" - -test -z "$JAVA_HOME" && export JAVA_HOME=/path/to/java -test -z "$ZOOKEEPER_HOME" && export ZOOKEEPER_HOME=/path/to/zookeeper -test -z "$ACCUMULO_LOG_DIR" && export ACCUMULO_LOG_DIR=$ACCUMULO_HOME/logs -test -z "$ACCUMULO_TSERVER_OPTS" && export ACCUMULO_TSERVER_OPTS="${tServerHigh_tServerLow} " -test -z "$ACCUMULO_MASTER_OPTS" && export ACCUMULO_MASTER_OPTS="${masterHigh_masterLow}" -test -z "$ACCUMULO_MONITOR_OPTS" && export ACCUMULO_MONITOR_OPTS="${monitorHigh_monitorLow}" -test -z "$ACCUMULO_GC_OPTS" && export ACCUMULO_GC_OPTS="${gcHigh_gcLow}" -test -z "$ACCUMULO_SHELL_OPTS" && export ACCUMULO_SHELL_OPTS="${shellHigh_shellLow}" -test -z "$ACCUMULO_GENERAL_OPTS" && export ACCUMULO_GENERAL_OPTS="-XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -Djava.net.preferIPv4Stack=true -XX:+CMSClassUnloadingEnabled" -test -z "$ACCUMULO_OTHER_OPTS" && export ACCUMULO_OTHER_OPTS="${otherHigh_otherLow}" -test -z "${ACCUMULO_PID_DIR}" && export ACCUMULO_PID_DIR="${ACCUMULO_HOME}/run" -# what do when the JVM runs out of heap memory -export ACCUMULO_KILL_CMD='kill -9 %p' - -### Optionally look for hadoop and accumulo native libraries for your -### platform in additional directories. (Use DYLD_LIBRARY_PATH on Mac OS X.) -### May not be necessary for Hadoop 2.x or using an RPM that installs to -### the correct system library directory. -# export LD_LIBRARY_PATH=${HADOOP_PREFIX}/lib/native/${PLATFORM}:${LD_LIBRARY_PATH} - -# Should the monitor bind to all network interfaces -- default: false -# export ACCUMULO_MONITOR_BIND_ALL="true" - -# Should process be automatically restarted -# export ACCUMULO_WATCHER="true" - -# What settings should we use for the watcher, if enabled -export UNEXPECTED_TIMESPAN="3600" -export UNEXPECTED_RETRIES="2" - -export OOM_TIMESPAN="3600" -export OOM_RETRIES="5" - -export ZKLOCK_TIMESPAN="600" -export ZKLOCK_RETRIES="5" - -# The number of .out and .err files per process to retain -# export ACCUMULO_NUM_OUT_FILES=5 - -export NUM_TSERVERS=1 - -### Example for configuring multiple tservers per host. Note that the ACCUMULO_NUMACTL_OPTIONS -### environment variable is used when NUM_TSERVERS is 1 to preserve backwards compatibility. -### If NUM_TSERVERS is greater than 2, then the TSERVER_NUMA_OPTIONS array is used if defined. -### If TSERVER_NUMA_OPTIONS is declared but not the correct size, then the service will not start. -### -### export NUM_TSERVERS=2 -### declare -a TSERVER_NUMA_OPTIONS -### TSERVER_NUMA_OPTIONS[1]="--cpunodebind 0" -### TSERVER_NUMA_OPTIONS[2]="--cpunodebind 1" http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/templates/accumulo-metrics.xml ---------------------------------------------------------------------- diff --git a/assemble/conf/templates/accumulo-metrics.xml b/assemble/conf/templates/accumulo-metrics.xml deleted file mode 100644 index 3b97809..0000000 --- a/assemble/conf/templates/accumulo-metrics.xml +++ /dev/null @@ -1,60 +0,0 @@ -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<!-- - This file follows the conventions for XMLConfiguration files specified in the Apache Commons Configuration 1.5 Library. Changes to this file will be noticed - at runtime (see the FileChangedReloadingStrategy class in Commons Configuration). ---> -<config> -<!-- - Metrics log directory ---> - <logging> - <dir>${ACCUMULO_HOME}/metrics</dir> - </logging> -<!-- - Enable/Disable metrics accumulation on the different servers and their components - NOTE: Turning on logging can be expensive because it will use several more file handles and will create a lot of short lived objects. ---> - <master> - <enabled type="boolean">false</enabled> - <logging type="boolean">false</logging> - </master> - <tserver> - <enabled type="boolean">false</enabled> - <logging type="boolean">false</logging> - <update> - <enabled type="boolean">false</enabled> - <logging type="boolean">false</logging> - </update> - <scan> - <enabled type="boolean">false</enabled> - <logging type="boolean">false</logging> - </scan> - <minc> - <enabled type="boolean">false</enabled> - <logging type="boolean">false</logging> - </minc> - </tserver> - <thrift> - <enabled type="boolean">false</enabled> - <logging type="boolean">false</logging> - </thrift> - <replication> - <enabled type="boolean">false</enabled> - <logging type="boolean">false</logging> - </replication> -</config> http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/templates/accumulo-site.xml ---------------------------------------------------------------------- diff --git a/assemble/conf/templates/accumulo-site.xml b/assemble/conf/templates/accumulo-site.xml deleted file mode 100644 index ff490b1..0000000 --- a/assemble/conf/templates/accumulo-site.xml +++ /dev/null @@ -1,176 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<?xml-stylesheet type="text/xsl" href="configuration.xsl"?> - -<configuration> - <!-- Put your site-specific accumulo configurations here. The available configuration values along with their defaults are documented in docs/config.html Unless - you are simply testing at your workstation, you will most definitely need to change the three entries below. --> - - <property> - <name>instance.volumes</name> - <value></value> - <description>comma separated list of URIs for volumes. example: hdfs://localhost:9000/accumulo</description> - </property> - - <property> - <name>instance.zookeeper.host</name> - <value>localhost:2181</value> - <description>comma separated list of zookeeper servers</description> - </property> - - <property> - <name>instance.secret</name> - <value>DEFAULT</value> - <description>A secret unique to a given instance that all servers must know in order to communicate with one another. - Change it before initialization. To - change it later use ./bin/accumulo org.apache.accumulo.server.util.ChangeSecret --old [oldpasswd] --new [newpasswd], - and then update this file. - </description> - </property> - - <property> - <name>tserver.memory.maps.max</name> - <value>${memMapMax}</value> - </property> - - <property> - <name>tserver.memory.maps.native.enabled</name> - <value>${nativeEnabled}</value> - </property> - - <property> - <name>tserver.cache.data.size</name> - <value>${cacheDataSize}</value> - </property> - - <property> - <name>tserver.cache.index.size</name> - <value>${cacheIndexSize}</value> - </property> - - <property> - <name>trace.token.property.password</name> - <!-- change this to the root user's password, and/or change the user below --> - <value>secret</value> - </property> - - <!-- Kerberos requirements --> - <property> - <name>instance.rpc.sasl.enabled</name> - <value>true</value> - </property> - - <property> - <name>general.kerberos.keytab</name> - <value>${keytab}</value> - </property> - - <property> - <name>general.kerberos.principal</name> - <value>${principal}</value> - </property> - - <property> - <name>trace.token.type</name> - <value>org.apache.accumulo.core.client.security.tokens.KerberosToken</value> - </property> - - <property> - <name>instance.security.authenticator</name> - <value>org.apache.accumulo.server.security.handler.KerberosAuthenticator</value> - </property> - - <property> - <name>instance.security.authorizor</name> - <value>org.apache.accumulo.server.security.handler.KerberosAuthorizor</value> - </property> - - <property> - <name>instance.security.permissionHandler</name> - <value>org.apache.accumulo.server.security.handler.KerberosPermissionHandler</value> - </property> - <!-- End Kerberos requirements --> - - <property> - <name>trace.user</name> - <value>${traceUser}</value> - </property> - - <property> - <name>tserver.sort.buffer.size</name> - <value>${sortBufferSize}</value> - </property> - - <property> - <name>tserver.walog.max.size</name> - <value>${waLogMaxSize}</value> - </property> -${mvnProjBaseDir} - <property> - <name>general.classpaths</name> - - <value> - <!-- Accumulo requirements --> - $ACCUMULO_HOME/lib/accumulo-server.jar, - $ACCUMULO_HOME/lib/accumulo-core.jar, - $ACCUMULO_HOME/lib/accumulo-start.jar, - $ACCUMULO_HOME/lib/accumulo-fate.jar, - $ACCUMULO_HOME/lib/accumulo-proxy.jar, - $ACCUMULO_HOME/lib/[^.].*.jar, - <!-- ZooKeeper requirements --> - $ZOOKEEPER_HOME/zookeeper[^.].*.jar, - <!-- Common Hadoop requirements --> - $HADOOP_CONF_DIR, - <!-- Hadoop 2 requirements --> - $HADOOP_PREFIX/share/hadoop/common/[^.].*.jar, - $HADOOP_PREFIX/share/hadoop/common/lib/(?!slf4j)[^.].*.jar, - $HADOOP_PREFIX/share/hadoop/hdfs/[^.].*.jar, - $HADOOP_PREFIX/share/hadoop/mapreduce/[^.].*.jar, - $HADOOP_PREFIX/share/hadoop/yarn/[^.].*.jar, - $HADOOP_PREFIX/share/hadoop/yarn/lib/jersey.*.jar, - <!-- End Hadoop 2 requirements --> - <!-- HDP 2.0 requirements --> - /usr/lib/hadoop/[^.].*.jar, - /usr/lib/hadoop/lib/[^.].*.jar, - /usr/lib/hadoop-hdfs/[^.].*.jar, - /usr/lib/hadoop-mapreduce/[^.].*.jar, - /usr/lib/hadoop-yarn/[^.].*.jar, - /usr/lib/hadoop-yarn/lib/jersey.*.jar, - <!-- End HDP 2.0 requirements --> - <!-- HDP 2.2 requirements --> - /usr/hdp/current/hadoop-client/[^.].*.jar, - /usr/hdp/current/hadoop-client/lib/(?!slf4j)[^.].*.jar, - /usr/hdp/current/hadoop-hdfs-client/[^.].*.jar, - /usr/hdp/current/hadoop-mapreduce-client/[^.].*.jar, - /usr/hdp/current/hadoop-yarn-client/[^.].*.jar, - /usr/hdp/current/hadoop-yarn-client/lib/jersey.*.jar, - /usr/hdp/current/hive-client/lib/hive-accumulo-handler.jar - <!-- End HDP 2.2 requirements --> - <!-- IOP 4.1 requirements --> - /usr/iop/current/hadoop-client/[^.].*.jar, - /usr/iop/current/hadoop-client/lib/(?!slf4j)[^.].*.jar, - /usr/iop/current/hadoop-hdfs-client/[^.].*.jar, - /usr/iop/current/hadoop-mapreduce-client/[^.].*.jar, - /usr/iop/current/hadoop-yarn-client/[^.].*.jar, - /usr/iop/current/hadoop-yarn-client/lib/jersey.*.jar, - /usr/iop/current/hive-client/lib/hive-accumulo-handler.jar - <!-- End IOP 4.1 requirements --> - </value> - <description>Classpaths that accumulo checks for updates and class files.</description> - </property> -</configuration> http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/templates/auditLog.xml ---------------------------------------------------------------------- diff --git a/assemble/conf/templates/auditLog.xml b/assemble/conf/templates/auditLog.xml deleted file mode 100644 index 9111811..0000000 --- a/assemble/conf/templates/auditLog.xml +++ /dev/null @@ -1,35 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> -<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> - - <!-- Write out Audit info to an Audit file --> - <appender name="Audit" class="org.apache.log4j.DailyRollingFileAppender"> - <param name="File" value="${org.apache.accumulo.core.dir.log}/${org.apache.accumulo.core.ip.localhost.hostname}.audit"/> - <param name="MaxBackupIndex" value="10"/> - <param name="DatePattern" value="'.'yyyy-MM-dd"/> - <layout class="org.apache.log4j.PatternLayout"> - <param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss,SSS/Z} [%c{2}] %-5p: %m%n"/> - </layout> - </appender> - <logger name="Audit" additivity="false"> - <appender-ref ref="Audit" /> - <level value="OFF"/> - </logger> - -</log4j:configuration> http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/templates/client.conf ---------------------------------------------------------------------- diff --git a/assemble/conf/templates/client.conf b/assemble/conf/templates/client.conf deleted file mode 100644 index 5256b13..0000000 --- a/assemble/conf/templates/client.conf +++ /dev/null @@ -1,20 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# instance.zookeeper.host=localhost:2181 -# instance.rpc.ssl.enabled=false - -# instance.rcp.sasl.enabled=false -# rpc.sasl.qop=auth http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/templates/gc ---------------------------------------------------------------------- diff --git a/assemble/conf/templates/gc b/assemble/conf/templates/gc deleted file mode 100644 index 63fb8bb..0000000 --- a/assemble/conf/templates/gc +++ /dev/null @@ -1,16 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -localhost http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/templates/generic_logger.properties ---------------------------------------------------------------------- diff --git a/assemble/conf/templates/generic_logger.properties b/assemble/conf/templates/generic_logger.properties deleted file mode 100644 index dbe12cf..0000000 --- a/assemble/conf/templates/generic_logger.properties +++ /dev/null @@ -1,58 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# Write out everything at the DEBUG level to the debug log -log4j.appender.A2=org.apache.log4j.RollingFileAppender -log4j.appender.A2.File=${org.apache.accumulo.core.dir.log}/${org.apache.accumulo.core.application}_${accumulo.service.instance}${org.apache.accumulo.core.ip.localhost.hostname}_fromprops.debug.log -log4j.appender.A2.MaxFileSize=1000MB -log4j.appender.A2.MaxBackupIndex=10 -log4j.appender.A2.Threshold=DEBUG -log4j.appender.A2.layout=org.apache.log4j.PatternLayout -log4j.appender.A2.layout.ConversionPattern=%d{ISO8601} [%-8c{2}] %-5p: %m%n - -# Write out INFO and higher to the regular log -log4j.appender.A3=org.apache.log4j.RollingFileAppender -log4j.appender.A3.File=${org.apache.accumulo.core.dir.log}/${org.apache.accumulo.core.application}_${accumulo.service.instance}${org.apache.accumulo.core.ip.localhost.hostname}_fromprops.log -log4j.appender.A3.MaxFileSize=1000MB -log4j.appender.A3.MaxBackupIndex=10 -log4j.appender.A3.Threshold=INFO -log4j.appender.A3.layout=org.apache.log4j.PatternLayout -log4j.appender.A3.layout.ConversionPattern=%d{ISO8601} [%-8c{2}] %-5p: %m%n - -# Send all logging data to a centralized logger -# If the centralized logger is down, buffer the log events, but drop them if it stays down -log4j.appender.ASYNC=org.apache.accumulo.core.util.AsyncSocketAppender -log4j.appender.ASYNC.RemoteHost=${org.apache.accumulo.core.host.log} -log4j.appender.ASYNC.Port=${org.apache.accumulo.core.host.log.port} -log4j.appender.ASYNC.Application=${org.apache.accumulo.core.application}:${org.apache.accumulo.core.ip.localhost.hostname} -log4j.appender.ASYNC.Threshold=WARN - -# Log accumulo events to the debug, normal and remote logs. -log4j.logger.org.apache.accumulo=DEBUG, A2, A3, ASYNC -log4j.additivity.org.apache.accumulo=false - -# change to INFO for authorization events -log4j.logger.org.apache.accumulo.server.security.Auditor=WARN - -log4j.logger.org.apache.accumulo.core.file.rfile.bcfile=INFO - -log4j.logger.org.apache.accumulo.examples.wikisearch=INFO - -log4j.logger.org.mortbay.log=WARN - -log4j.logger.com.yahoo.zookeeper=ERROR - -# Log non-accumulo events to the debug and normal logs -log4j.rootLogger=INFO, A2, A3 http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/templates/generic_logger.xml ---------------------------------------------------------------------- diff --git a/assemble/conf/templates/generic_logger.xml b/assemble/conf/templates/generic_logger.xml deleted file mode 100644 index a71effe..0000000 --- a/assemble/conf/templates/generic_logger.xml +++ /dev/null @@ -1,83 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> -<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> - - <!-- Write out everything at the DEBUG level to the debug log --> - <appender name="A2" class="org.apache.log4j.RollingFileAppender"> - <param name="File" value="${org.apache.accumulo.core.dir.log}/${org.apache.accumulo.core.application}_${accumulo.service.instance}${org.apache.accumulo.core.ip.localhost.hostname}.debug.log"/> - <param name="MaxFileSize" value="1000MB"/> - <param name="MaxBackupIndex" value="10"/> - <param name="Threshold" value="DEBUG"/> - <layout class="org.apache.log4j.PatternLayout"> - <param name="ConversionPattern" value="%d{ISO8601} [%-8c{2}] %-5p: %m%n"/> - </layout> - </appender> - - <!-- Write out INFO and higher to the regular log --> - <appender name="A3" class="org.apache.log4j.RollingFileAppender"> - <param name="File" value="${org.apache.accumulo.core.dir.log}/${org.apache.accumulo.core.application}_${accumulo.service.instance}${org.apache.accumulo.core.ip.localhost.hostname}.log"/> - <param name="MaxFileSize" value="1000MB"/> - <param name="MaxBackupIndex" value="10"/> - <param name="Threshold" value="INFO"/> - <layout class="org.apache.log4j.PatternLayout"> - <param name="ConversionPattern" value="%d{ISO8601} [%-8c{2}] %-5p: %m%n"/> - </layout> - </appender> - - <!-- Send all logging data to a centralized logger --> - <appender name="N1" class="org.apache.log4j.net.SocketAppender"> - <param name="remoteHost" value="${org.apache.accumulo.core.host.log}"/> - <param name="port" value="${org.apache.accumulo.core.host.log.port}"/> - <param name="application" value="${org.apache.accumulo.core.application}:${org.apache.accumulo.core.ip.localhost.hostname}"/> - <param name="Threshold" value="WARN"/> - </appender> - - <!-- If the centralized logger is down, buffer the log events, but drop them if it stays down --> - <appender name="ASYNC" class="org.apache.log4j.AsyncAppender"> - <appender-ref ref="N1" /> - </appender> - - <!-- Log accumulo events to the debug, normal and remote logs. --> - <logger name="org.apache.accumulo" additivity="false"> - <level value="DEBUG"/> - <appender-ref ref="A2" /> - <appender-ref ref="A3" /> - <appender-ref ref="ASYNC" /> - </logger> - - <logger name="org.apache.accumulo.core.file.rfile.bcfile"> - <level value="INFO"/> - </logger> - - <logger name="org.mortbay.log"> - <level value="WARN"/> - </logger> - - <logger name="org.apache.zookeeper"> - <level value="ERROR"/> - </logger> - - <!-- Log non-accumulo events to the debug and normal logs. --> - <root> - <level value="INFO"/> - <appender-ref ref="A2" /> - <appender-ref ref="A3" /> - </root> - -</log4j:configuration> http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/templates/hadoop-metrics2-accumulo.properties ---------------------------------------------------------------------- diff --git a/assemble/conf/templates/hadoop-metrics2-accumulo.properties b/assemble/conf/templates/hadoop-metrics2-accumulo.properties deleted file mode 100644 index 7e3c7c0..0000000 --- a/assemble/conf/templates/hadoop-metrics2-accumulo.properties +++ /dev/null @@ -1,86 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# Poll collectors every ten seconds -*.period=10 - -# -# MetricSink configuration -# -# Uncomment a sink (and configuration) to enable it. By default, -# no sinks are enabled. -# - -# -# Configure file logging -# - -# File sink for all metrics -# accumulo.sink.file-all.class=org.apache.hadoop.metrics2.sink.FileSink -# accumulo.sink.file-all.filename=all.metrics - -# File sink for tserver metrics -# accumulo.sink.file-tserver.class=org.apache.hadoop.metrics2.sink.FileSink -# accumulo.sink.file-tserver.context=tserver -# accumulo.sink.file-tserver.filename=tserver.metrics - -# File sink for master metrics -# accumulo.sink.file-master.class=org.apache.hadoop.metrics2.sink.FileSink -# accumulo.sink.file-master.context=master -# accumulo.sink.file-master.filename=master.metrics - -# File sink for thrift server metrics -# accumulo.sink.file-thrift.class=org.apache.hadoop.metrics2.sink.FileSink -# accumulo.sink.file-thrift.context=thrift -# accumulo.sink.file-thrift.filename=thrift.metrics - -# -# Configure Graphite -# - -# Configure all sources to be written to a Graphite instance -# accumulo.sink.graphite.class=org.apache.hadoop.metrics2.sink.GraphiteSink -# accumulo.sink.graphite.server_host=localhost -# accumulo.sink.graphite.server_port=2003 - -# -# Configure Ganglia -# - -# for Ganglia 3.0 support -# accumulo.sink.ganglia.class=org.apache.hadoop.metrics2.sink.ganglia.GangliaSink30 - -# for Ganglia 3.1 support -# accumulo.sink.ganglia.class=org.apache.hadoop.metrics2.sink.ganglia.GangliaSink31 - -# accumulo.sink.ganglia.period=10 - -# default for supportsparse is false -# accumulo.sink.ganglia.supportsparse=true - -# accumulo.sink.ganglia.slope=jvm.metrics.gcCount=zero,jvm.metrics.memHeapUsedM=both -# accumulo.sink.ganglia.dmax=jvm.metrics.threadsBlocked=70,jvm.metrics.memHeapUsedM=40 - -# Tag values to use for the ganglia prefix. If not defined no tags are used. -# If '*' all tags are used. If specifiying multiple tags separate them with -# commas. Note that the last segment of the property name is the context name. -# -# accumulo.sink.ganglia.tagsForPrefix.jvm=ProcesName -# accumulo.sink.ganglia.tagsForPrefix.tserver= -# accumulo.sink.ganglia.tagsForPrefix.master= -# accumulo.sink.ganglia.tagsForPrefix.thrift= - -# Ganglia host(s) -# accumulo.sink.ganglia.servers=yourgangliahost_1:8649,yourgangliahost_2:8649 http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/templates/log4j.properties ---------------------------------------------------------------------- diff --git a/assemble/conf/templates/log4j.properties b/assemble/conf/templates/log4j.properties deleted file mode 100644 index 9858795..0000000 --- a/assemble/conf/templates/log4j.properties +++ /dev/null @@ -1,42 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# default logging properties: -# by default, log everything at INFO or higher to the console -log4j.rootLogger=INFO,A1 - -# hide Jetty junk -log4j.logger.org.mortbay.log=WARN,A1 - -# hide "Got brand-new compressor" messages -log4j.logger.org.apache.hadoop.io.compress=WARN,A1 -log4j.logger.org.apache.accumulo.core.file.rfile.bcfile.Compression=WARN,A1 - -# hide junk from TestRandomDeletes -log4j.logger.org.apache.accumulo.test.TestRandomDeletes=WARN,A1 - -# hide junk from VFS -log4j.logger.org.apache.commons.vfs2.impl.DefaultFileSystemManager=WARN,A1 - -# hide almost everything from zookeeper -log4j.logger.org.apache.zookeeper=ERROR,A1 - -# hide AUDIT messages in the shell, alternatively you could send them to a different logger -log4j.logger.org.apache.accumulo.shell.Shell.audit=WARN,A1 - -# Send most things to the console -log4j.appender.A1=org.apache.log4j.ConsoleAppender -log4j.appender.A1.layout.ConversionPattern=%d{ISO8601} [%-8c{2}] %-5p: %m%n -log4j.appender.A1.layout=org.apache.log4j.PatternLayout http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/templates/masters ---------------------------------------------------------------------- diff --git a/assemble/conf/templates/masters b/assemble/conf/templates/masters deleted file mode 100644 index 63fb8bb..0000000 --- a/assemble/conf/templates/masters +++ /dev/null @@ -1,16 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -localhost http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/templates/monitor ---------------------------------------------------------------------- diff --git a/assemble/conf/templates/monitor b/assemble/conf/templates/monitor deleted file mode 100644 index 63fb8bb..0000000 --- a/assemble/conf/templates/monitor +++ /dev/null @@ -1,16 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -localhost http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/templates/monitor_logger.properties ---------------------------------------------------------------------- diff --git a/assemble/conf/templates/monitor_logger.properties b/assemble/conf/templates/monitor_logger.properties deleted file mode 100644 index 4dada2d..0000000 --- a/assemble/conf/templates/monitor_logger.properties +++ /dev/null @@ -1,44 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# Write out everything at the DEBUG level to the debug log -log4j.appender.A2=org.apache.log4j.RollingFileAppender -log4j.appender.A2.File=${org.apache.accumulo.core.dir.log}/${org.apache.accumulo.core.application}_${org.apache.accumulo.core.ip.localhost.hostname}_fromprops.debug.log -log4j.appender.A2.MaxFileSize=100MB -log4j.appender.A2.MaxBackupIndex=10 -log4j.appender.A2.Threshold=DEBUG -log4j.appender.A2.layout=org.apache.log4j.PatternLayout -log4j.appender.A2.layout.ConversionPattern=%d{ISO8601} [%-8c{2}] %-5p: %X{application} %m%n - -# Write out INFO and higher to the regular log -log4j.appender.A3=org.apache.log4j.RollingFileAppender -log4j.appender.A3.File=${org.apache.accumulo.core.dir.log}/${org.apache.accumulo.core.application}_${org.apache.accumulo.core.ip.localhost.hostname}_fromprops.log -log4j.appender.A3.MaxFileSize=100MB -log4j.appender.A3.MaxBackupIndex=10 -log4j.appender.A3.Threshold=INFO -log4j.appender.A3.layout=org.apache.log4j.PatternLayout -log4j.appender.A3.layout.ConversionPattern=%d{ISO8601} [%-8c{2}] %-5p: %X{application} %m%n - -# Keep the last few log messages for display to the user -log4j.appender.GUI=org.apache.accumulo.server.monitor.LogService -log4j.appender.GUI.Keep=50 -log4j.appender.GUI.Threshold=WARN - -# Log accumulo messages to debug, normal and GUI -log4j.logger.org.apache.accumulo=DEBUG, A2, A3, GUI -log4j.additivity.org.apache.accumulo=false - -# Log non-accumulo messages to debug, normal logs. -log4j.rootLogger=INFO, A2, A3 http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/templates/monitor_logger.xml ---------------------------------------------------------------------- diff --git a/assemble/conf/templates/monitor_logger.xml b/assemble/conf/templates/monitor_logger.xml deleted file mode 100644 index 91a7671..0000000 --- a/assemble/conf/templates/monitor_logger.xml +++ /dev/null @@ -1,64 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> -<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> - - <!-- Write out everything at the DEBUG level to the debug log --> - <appender name="A2" class="org.apache.log4j.RollingFileAppender"> - <param name="File" value="${org.apache.accumulo.core.dir.log}/${org.apache.accumulo.core.application}_${org.apache.accumulo.core.ip.localhost.hostname}.debug.log"/> - <param name="MaxFileSize" value="100MB"/> - <param name="MaxBackupIndex" value="10"/> - <param name="Threshold" value="DEBUG"/> - <layout class="org.apache.log4j.PatternLayout"> - <param name="ConversionPattern" value="%d{ISO8601} [%-8c{2}] %-5p: %X{application} %m%n"/> - </layout> - </appender> - - <!-- Write out INFO and higher to the regular log --> - <appender name="A3" class="org.apache.log4j.RollingFileAppender"> - <param name="File" value="${org.apache.accumulo.core.dir.log}/${org.apache.accumulo.core.application}_${org.apache.accumulo.core.ip.localhost.hostname}.log"/> - <param name="MaxFileSize" value="100MB"/> - <param name="MaxBackupIndex" value="10"/> - <param name="Threshold" value="INFO"/> - <layout class="org.apache.log4j.PatternLayout"> - <param name="ConversionPattern" value="%d{ISO8601} [%-8c{2}] %-5p: %X{application} %m%n"/> - </layout> - </appender> - - <!-- Keep the last few log messages for display to the user --> - <appender name="GUI" class="org.apache.accumulo.server.monitor.LogService"> - <param name="keep" value="40"/> - <param name="Threshold" value="WARN"/> - </appender> - - <!-- Log accumulo messages to debug, normal and GUI --> - <logger name="org.apache.accumulo" additivity="false"> - <level value="DEBUG"/> - <appender-ref ref="A2" /> - <appender-ref ref="A3" /> - <appender-ref ref="GUI" /> - </logger> - - <!-- Log non-accumulo messages to debug, normal logs. --> - <root> - <level value="INFO"/> - <appender-ref ref="A2" /> - <appender-ref ref="A3" /> - </root> - -</log4j:configuration> http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/templates/tracers ---------------------------------------------------------------------- diff --git a/assemble/conf/templates/tracers b/assemble/conf/templates/tracers deleted file mode 100644 index 63fb8bb..0000000 --- a/assemble/conf/templates/tracers +++ /dev/null @@ -1,16 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -localhost http://git-wip-us.apache.org/repos/asf/accumulo/blob/24ba5568/assemble/conf/templates/tservers ---------------------------------------------------------------------- diff --git a/assemble/conf/templates/tservers b/assemble/conf/templates/tservers deleted file mode 100644 index 63fb8bb..0000000 --- a/assemble/conf/templates/tservers +++ /dev/null @@ -1,16 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -localhost