You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by bi...@apache.org on 2014/06/19 22:27:14 UTC
[3/3] git commit: SLIDER-148 converted accumulo app package to be
built with maven, bumped accumulo version to 1.6.0,
and made it easier to create accumulo app packages for different versions of
accumulo
SLIDER-148 converted accumulo app package to be built with maven, bumped accumulo version to 1.6.0, and made it easier to create accumulo app packages for different versions of accumulo
Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/a95c9b00
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/a95c9b00
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/a95c9b00
Branch: refs/heads/develop
Commit: a95c9b00c6fb944f69eebb5591a9fd58c90f2b59
Parents: 93475e1
Author: Billie Rinaldi <bi...@gmail.com>
Authored: Thu Jun 19 13:26:08 2014 -0700
Committer: Billie Rinaldi <bi...@gmail.com>
Committed: Thu Jun 19 13:26:08 2014 -0700
----------------------------------------------------------------------
.gitignore | 10 +-
app-packages/accumulo-v1_5/README.txt | 33 ---
app-packages/accumulo-v1_5/appConfig.json | 62 -----
.../configuration/accumulo-site.xml | 111 --------
.../accumulo-v1_5/configuration/global.xml | 94 -------
app-packages/accumulo-v1_5/jmx_metrics.json | 41 ---
app-packages/accumulo-v1_5/metainfo.xml | 145 -----------
.../files/accumulo-1.5.1-bin.tar.gz.REPLACE | 14 -
.../package/files/accumulo-metrics.xml | 60 -----
.../accumulo-v1_5/package/files/auditLog.xml | 41 ---
app-packages/accumulo-v1_5/package/files/gc | 16 --
.../package/files/generic_logger.xml | 83 ------
.../package/files/log4j.properties | 41 ---
.../accumulo-v1_5/package/files/masters | 16 --
.../accumulo-v1_5/package/files/monitor | 16 --
.../package/files/monitor_logger.xml | 64 -----
app-packages/accumulo-v1_5/package/files/slaves | 16 --
.../accumulo-v1_5/package/files/tracers | 16 --
.../accumulo-v1_5/package/scripts/__init__.py | 19 --
.../package/scripts/accumulo_client.py | 43 ---
.../package/scripts/accumulo_configuration.py | 134 ----------
.../package/scripts/accumulo_gc.py | 24 --
.../package/scripts/accumulo_master.py | 24 --
.../package/scripts/accumulo_monitor.py | 24 --
.../package/scripts/accumulo_script.py | 110 --------
.../package/scripts/accumulo_service.py | 52 ----
.../package/scripts/accumulo_tracer.py | 24 --
.../package/scripts/accumulo_tserver.py | 24 --
.../accumulo-v1_5/package/scripts/params.py | 72 -----
.../package/scripts/status_params.py | 26 --
.../package/templates/accumulo-env.sh.j2 | 42 ---
app-packages/accumulo-v1_5/resources.json | 31 ---
app-packages/accumulo/LICENSE.txt | 261 +++++++++++++++++++
app-packages/accumulo/NOTICE.txt | 8 +
app-packages/accumulo/README.txt | 51 ++++
app-packages/accumulo/appConfig.json | 62 +++++
.../accumulo/configuration/accumulo-site.xml | 111 ++++++++
app-packages/accumulo/configuration/global.xml | 94 +++++++
app-packages/accumulo/jmx_metrics.json | 41 +++
app-packages/accumulo/metainfo.xml | 145 +++++++++++
.../accumulo/package/files/accumulo-metrics.xml | 60 +++++
.../accumulo/package/files/auditLog.xml | 41 +++
app-packages/accumulo/package/files/gc | 16 ++
.../accumulo/package/files/generic_logger.xml | 83 ++++++
.../accumulo/package/files/log4j.properties | 41 +++
app-packages/accumulo/package/files/masters | 16 ++
app-packages/accumulo/package/files/monitor | 16 ++
.../accumulo/package/files/monitor_logger.xml | 64 +++++
app-packages/accumulo/package/files/slaves | 16 ++
app-packages/accumulo/package/files/tracers | 16 ++
.../accumulo/package/scripts/__init__.py | 19 ++
.../accumulo/package/scripts/accumulo_client.py | 43 +++
.../package/scripts/accumulo_configuration.py | 135 ++++++++++
.../accumulo/package/scripts/accumulo_gc.py | 24 ++
.../accumulo/package/scripts/accumulo_master.py | 24 ++
.../package/scripts/accumulo_monitor.py | 24 ++
.../accumulo/package/scripts/accumulo_script.py | 110 ++++++++
.../package/scripts/accumulo_service.py | 52 ++++
.../accumulo/package/scripts/accumulo_tracer.py | 24 ++
.../package/scripts/accumulo_tserver.py | 24 ++
app-packages/accumulo/package/scripts/params.py | 76 ++++++
.../accumulo/package/scripts/status_params.py | 26 ++
.../package/templates/accumulo-env.sh.j2 | 42 +++
app-packages/accumulo/pom.xml | 93 +++++++
app-packages/accumulo/resources.json | 31 +++
app-packages/accumulo/src/assembly/accumulo.xml | 71 +++++
pom.xml | 3 +-
slider-assembly/pom.xml | 11 +-
.../src/test/resources/example-slider-test.xml | 4 +-
src/site/markdown/developing/building.md | 38 +--
.../slider_specs/creating_app_definitions.md | 12 +-
71 files changed, 1995 insertions(+), 1561 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/a95c9b00/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 9dbb730..6e8763e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,17 +7,9 @@
.classpath
.project
.settings
-/target
+target/
/conf
-/slider-core/target
/slider-core/src/test/resources/slider-test.xml
-/slider-agent/target
-/slider-funtest/target
-/slider-assembly/target
-/slider-providers/hbase/slider-hbase-provider/target
-/slider-providers/hbase/hbase-funtests/target
-/slider-providers/accumulo/slider-accumulo-provider/target
-/slider-providers/accumulo/accumulo-funtests/target
/test-configs
release.properties
*.backup
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/README.txt
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/README.txt b/app-packages/accumulo-v1_5/README.txt
deleted file mode 100644
index c184b0b..0000000
--- a/app-packages/accumulo-v1_5/README.txt
+++ /dev/null
@@ -1,33 +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.
--->
-
-How to create a Slider package?
-
-Replace the placeholder tarball for Accumulo.
- cp ~/Downloads/accumulo-1.5.1-bin.tar.gz package/files/
- rm package/files/accumulo-1.5.1-bin.tar.gz.REPLACE
-
-Create a zip package at the root of the package (<slider enlistment>/app-packages/accumulo-v1_5/)
- zip -r accumulo_v151.zip .
-
-Verify the content using
- unzip -l "$@" accumulo_v151.zip
-
-While appConfig.json and resources.json are not required for the package they work
-well as the default configuration for Slider apps. So its advisable that when you
-create an application package for Slider, include sample/default resources.json and
-appConfig.json for a minimal Yarn cluster.
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/appConfig.json
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/appConfig.json b/app-packages/accumulo-v1_5/appConfig.json
deleted file mode 100644
index aee8213..0000000
--- a/app-packages/accumulo-v1_5/appConfig.json
+++ /dev/null
@@ -1,62 +0,0 @@
-{
- "schema": "http://example.org/specification/v2.0.0",
- "metadata": {
- },
- "global": {
- "agent.conf": "/slider/agent/conf/agent.ini",
- "application.def": "/slider/accumulo_v151.zip",
- "config_types": "accumulo-site",
- "java_home": "/usr/jdk64/jdk1.7.0_45",
- "package_list": "files/accumulo-1.5.1-bin.tar.gz",
- "site.global.app_user": "yarn",
- "site.global.app_log_dir": "${AGENT_LOG_ROOT}/app/log",
- "site.global.app_pid_dir": "${AGENT_WORK_ROOT}/app/run",
- "site.global.app_root": "${AGENT_WORK_ROOT}/app/install/accumulo-1.5.1",
- "site.global.app_install_dir": "${AGENT_WORK_ROOT}/app/install",
- "site.global.tserver_heapsize": "128m",
- "site.global.master_heapsize": "128m",
- "site.global.monitor_heapsize": "64m",
- "site.global.gc_heapsize": "64m",
- "site.global.other_heapsize": "128m",
- "site.global.hadoop_prefix": "/usr/lib/hadoop",
- "site.global.hadoop_conf_dir": "/etc/hadoop/conf",
- "site.global.zookeeper_home": "/usr/lib/zookeeper",
- "site.global.accumulo_instance_name": "instancename",
- "site.global.accumulo_root_password": "secret",
- "site.global.user_group": "hadoop",
- "site.global.security_enabled": "false",
- "site.global.monitor_protocol": "http",
- "site.accumulo-site.instance.dfs.dir": "${DEFAULT_DATA_DIR}/data",
- "site.accumulo-site.instance.zookeeper.host": "${ZK_HOST}",
- "site.accumulo-site.instance.secret": "DEFAULT",
- "site.accumulo-site.tserver.memory.maps.max": "80M",
- "site.accumulo-site.tserver.cache.data.size": "7M",
- "site.accumulo-site.tserver.cache.index.size": "20M",
- "site.accumulo-site.trace.token.property.password": "secret",
- "site.accumulo-site.trace.user": "root",
- "site.accumulo-site.tserver.sort.buffer.size": "50M",
- "site.accumulo-site.tserver.walog.max.size": "100M",
- "site.accumulo-site.master.port.client": "0",
- "site.accumulo-site.trace.port.client": "0",
- "site.accumulo-site.tserver.port.client": "0",
- "site.accumulo-site.gc.port.client": "0",
- "site.accumulo-site.monitor.port.client": "${ACCUMULO_MONITOR.ALLOCATED_PORT}",
- "site.accumulo-site.monitor.port.log4j": "0",
- "site.accumulo-site.general.classpaths": "$ACCUMULO_HOME/lib/accumulo-server.jar,\n$ACCUMULO_HOME/lib/accumulo-core.jar,\n$ACCUMULO_HOME/lib/accumulo-start.jar,\n$ACCUMULO_HOME/lib/accumulo-fate.jar,\n$ACCUMULO_HOME/lib/accumulo-proxy.jar,\n$ACCUMULO_HOME/lib/[^.].*.jar,\n$ZOOKEEPER_HOME/zookeeper[^.].*.jar,\n$HADOOP_CONF_DIR,\n$HADOOP_PREFIX/[^.].*.jar,\n$HADOOP_PREFIX/lib/[^.].*.jar,\n$HADOOP_PREFIX/share/hadoop/common/.*.jar,\n$HADOOP_PREFIX/share/hadoop/common/lib/.*.jar,\n$HADOOP_PREFIX/share/hadoop/hdfs/.*.jar,\n$HADOOP_PREFIX/share/hadoop/mapreduce/.*.jar,\n$HADOOP_PREFIX/share/hadoop/yarn/.*.jar,\n/usr/lib/hadoop/.*.jar,\n/usr/lib/hadoop/lib/.*.jar,\n/usr/lib/hadoop-hdfs/.*.jar,\n/usr/lib/hadoop-mapreduce/.*.jar,\n/usr/lib/hadoop-yarn/.*.jar,"
- },
- "components": {
- "ACCUMULO_MASTER": {
- },
- "slider-appmaster": {
- "jvm.heapsize": "256M"
- },
- "ACCUMULO_TSERVER": {
- },
- "ACCUMULO_MONITOR": {
- },
- "ACCUMULO_GC": {
- },
- "ACCUMULO_TRACER": {
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/configuration/accumulo-site.xml
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/configuration/accumulo-site.xml b/app-packages/accumulo-v1_5/configuration/accumulo-site.xml
deleted file mode 100644
index 269cc2b..0000000
--- a/app-packages/accumulo-v1_5/configuration/accumulo-site.xml
+++ /dev/null
@@ -1,111 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
-<!--
- 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.
--->
-
-<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.token.property.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.classpaths</name>
- <!--
- Add the following for hadoop-2.0
- $HADOOP_PREFIX/share/hadoop/common/.*.jar,
- $HADOOP_PREFIX/share/hadoop/common/lib/.*.jar,
- $HADOOP_PREFIX/share/hadoop/hdfs/.*.jar,
- $HADOOP_PREFIX/share/hadoop/mapreduce/.*.jar,
- $HADOOP_PREFIX/share/hadoop/yarn/.*.jar,
- -->
- <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/[^.].*.jar,
- $HADOOP_PREFIX/lib/[^.].*.jar,
- $HADOOP_PREFIX/share/hadoop/common/.*.jar,
- $HADOOP_PREFIX/share/hadoop/common/lib/.*.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.</description>
- </property>
-</configuration>
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/configuration/global.xml
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/configuration/global.xml b/app-packages/accumulo-v1_5/configuration/global.xml
deleted file mode 100644
index 5d39dca..0000000
--- a/app-packages/accumulo-v1_5/configuration/global.xml
+++ /dev/null
@@ -1,94 +0,0 @@
-<?xml version="1.0"?>
-<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
-<!--
-/**
- * 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.
- */
--->
-
-<configuration>
- <property>
- <name>app_log_dir</name>
- <value>/var/log/accumulo</value>
- <description>Log Directories for Accumulo.</description>
- </property>
- <property>
- <name>app_pid_dir</name>
- <value>/var/run/accumulo</value>
- <description>Pid Directories for Accumulo.</description>
- </property>
- <property>
- <name>tserver_heapsize</name>
- <value>128m</value>
- <description>TServer heap size.</description>
- </property>
- <property>
- <name>master_heapsize</name>
- <value>128m</value>
- <description>Master Heap Size</description>
- </property>
- <property>
- <name>monitor_heapsize</name>
- <value>64m</value>
- <description>Monitor Heap Size</description>
- </property>
- <property>
- <name>gc_heapsize</name>
- <value>64m</value>
- <description>GC Heap Size</description>
- </property>
- <property>
- <name>other_heapsize</name>
- <value>128m</value>
- <description>Other Heap Size</description>
- </property>
- <property>
- <name>accumulo_hdfs_root_dir</name>
- <value>/apps/accumulo/data</value>
- <description>Accumulo Relative Path to HDFS.</description>
- </property>
- <property>
- <name>accumulo_conf_dir</name>
- <value>/etc/accumulo</value>
- <description>Config Directory for Accumulo.</description>
- </property>
- <property>
- <name>app_user</name>
- <value>yarn</value>
- <description>Accumulo User Name.</description>
- </property>
- <property>
- <name>hadoop_prefix</name>
- <value>/usr/lib/hadoop</value>
- <description>Hadoop directory.</description>
- </property>
- <property>
- <name>hadoop_conf_dir</name>
- <value>/etc/hadoop/conf</value>
- <description>Hadoop configuration directory.</description>
- </property>
- <property>
- <name>zookeeper_home</name>
- <value>/usr/lib/zookeeper</value>
- <description>Zookeeper directory.</description>
- </property>
- <property>
- <name>accumulo_instance_name</name>
- <value>accumulo-instance</value>
- <description>Accumulo Instance Name.</description>
- </property>
-</configuration>
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/jmx_metrics.json
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/jmx_metrics.json b/app-packages/accumulo-v1_5/jmx_metrics.json
deleted file mode 100644
index cf410d8..0000000
--- a/app-packages/accumulo-v1_5/jmx_metrics.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "Component": {
- "ACCUMULO_MASTER": {
- "MasterGoalState": {
- "metric": "/stats/masterGoalState",
- "pointInTime": true,
- "temporal": false
- },
- "MasterState": {
- "metric": "/stats/masterState",
- "pointInTime": true,
- "temporal": false
- },
- "DeadTabletServers": {
- "metric": "/stats/deadTabletServers",
- "pointInTime": true,
- "temporal": false
- },
- "TotalIngestRate": {
- "metric": "/stats/totals/ingestrate",
- "pointInTime": true,
- "temporal": false
- },
- "TotalQueryRate": {
- "metric": "/stats/totals/queryrate",
- "pointInTime": true,
- "temporal": false
- },
- "TotalDiskRate": {
- "metric": "/stats/totals/diskrate",
- "pointInTime": true,
- "temporal": false
- },
- "BadTabletServers": {
- "metric": "/stats/badTabletServers",
- "pointInTime": true,
- "temporal": false
- }
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/metainfo.xml
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/metainfo.xml b/app-packages/accumulo-v1_5/metainfo.xml
deleted file mode 100644
index 4b697ca..0000000
--- a/app-packages/accumulo-v1_5/metainfo.xml
+++ /dev/null
@@ -1,145 +0,0 @@
-<?xml version="1.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.
--->
-<metainfo>
- <schemaVersion>2.0</schemaVersion>
- <services>
- <service>
- <name>ACCUMULO</name>
- <comment>
- The Apache Accumulo sorted, distributed key/value store is a robust,
- scalable, high performance data storage system that features cell-based
- access control and customizable server-side processing. It is based on
- Google's BigTable design and is built on top of Apache Hadoop,
- Zookeeper, and Thrift.
- Requirements:
- 1. Ensure parent dir for path (accumulo-site/instance.dfs.dir) is accessible to the App owner.
- </comment>
- <version>1.5.1</version>
- <exportGroups>
- <exportGroup>
- <name>QuickLinks</name>
- <exports>
- <export>
- <name>org.apache.slider.monitor</name>
- <value>${site.global.monitor_protocol}://${ACCUMULO_MONITOR_HOST}:${site.accumulo-site.monitor.port.client}</value>
- </export>
- <export>
- <name>org.apache.slider.jmx</name>
- <value>${site.global.monitor_protocol}://${ACCUMULO_MONITOR_HOST}:${site.accumulo-site.monitor.port.client}/xml</value>
- </export>
- </exports>
- </exportGroup>
- </exportGroups>
- <commandOrders>
- <commandOrder>
- <command>ACCUMULO_MASTER-START</command>
- <requires>ACCUMULO_MONITOR-INSTALLED</requires>
- </commandOrder>
- <commandOrder>
- <command>ACCUMULO_TSERVER-START</command>
- <requires>ACCUMULO_MASTER-STARTED</requires>
- </commandOrder>
- <commandOrder>
- <command>ACCUMULO_MONITOR-START</command>
- <requires>ACCUMULO_MASTER-STARTED</requires>
- </commandOrder>
- <commandOrder>
- <command>ACCUMULO_GC-START</command>
- <requires>ACCUMULO_MASTER-STARTED</requires>
- </commandOrder>
- <commandOrder>
- <command>ACCUMULO_TRACER-START</command>
- <requires>ACCUMULO_MASTER-STARTED</requires>
- </commandOrder>
- </commandOrders>
- <components>
- <component>
- <name>ACCUMULO_MASTER</name>
- <category>MASTER</category>
- <commandScript>
- <script>scripts/accumulo_master.py</script>
- <scriptType>PYTHON</scriptType>
- <timeout>600</timeout>
- </commandScript>
- </component>
-
- <component>
- <name>ACCUMULO_MONITOR</name>
- <category>MASTER</category>
- <publishConfig>true</publishConfig>
- <commandScript>
- <script>scripts/accumulo_monitor.py</script>
- <scriptType>PYTHON</scriptType>
- <timeout>600</timeout>
- </commandScript>
- </component>
-
- <component>
- <name>ACCUMULO_GC</name>
- <category>MASTER</category>
- <commandScript>
- <script>scripts/accumulo_gc.py</script>
- <scriptType>PYTHON</scriptType>
- <timeout>600</timeout>
- </commandScript>
- </component>
-
- <component>
- <name>ACCUMULO_TRACER</name>
- <category>MASTER</category>
- <commandScript>
- <script>scripts/accumulo_tracer.py</script>
- <scriptType>PYTHON</scriptType>
- <timeout>600</timeout>
- </commandScript>
- </component>
-
- <component>
- <name>ACCUMULO_TSERVER</name>
- <category>SLAVE</category>
- <commandScript>
- <script>scripts/accumulo_tserver.py</script>
- <scriptType>PYTHON</scriptType>
- </commandScript>
- </component>
-
- <component>
- <name>ACCUMULO_CLIENT</name>
- <category>CLIENT</category>
- <commandScript>
- <script>scripts/accumulo_client.py</script>
- <scriptType>PYTHON</scriptType>
- </commandScript>
- </component>
- </components>
-
- <osSpecifics>
- <osSpecific>
- <osType>any</osType>
- <packages>
- <package>
- <type>tarball</type>
- <name>files/accumulo-1.5.1-bin.tar.gz</name>
- </package>
- </packages>
- </osSpecific>
- </osSpecifics>
-
- </service>
- </services>
-</metainfo>
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/package/files/accumulo-1.5.1-bin.tar.gz.REPLACE
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/package/files/accumulo-1.5.1-bin.tar.gz.REPLACE b/app-packages/accumulo-v1_5/package/files/accumulo-1.5.1-bin.tar.gz.REPLACE
deleted file mode 100644
index ae1e83e..0000000
--- a/app-packages/accumulo-v1_5/package/files/accumulo-1.5.1-bin.tar.gz.REPLACE
+++ /dev/null
@@ -1,14 +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.
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/package/files/accumulo-metrics.xml
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/package/files/accumulo-metrics.xml b/app-packages/accumulo-v1_5/package/files/accumulo-metrics.xml
deleted file mode 100644
index 60f9f8d..0000000
--- a/app-packages/accumulo-v1_5/package/files/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>
- <logger>
- <enabled type="boolean">false</enabled>
- <logging type="boolean">false</logging>
- </logger>
- <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>
-</config>
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/package/files/auditLog.xml
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/package/files/auditLog.xml b/app-packages/accumulo-v1_5/package/files/auditLog.xml
deleted file mode 100644
index 9b7987e..0000000
--- a/app-packages/accumulo-v1_5/package/files/auditLog.xml
+++ /dev/null
@@ -1,41 +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/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/package/files/gc
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/package/files/gc b/app-packages/accumulo-v1_5/package/files/gc
deleted file mode 100644
index 63fb8bb..0000000
--- a/app-packages/accumulo-v1_5/package/files/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/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/package/files/generic_logger.xml
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/package/files/generic_logger.xml b/app-packages/accumulo-v1_5/package/files/generic_logger.xml
deleted file mode 100644
index db79efe..0000000
--- a/app-packages/accumulo-v1_5/package/files/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}_${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}_${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/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/package/files/log4j.properties
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/package/files/log4j.properties b/app-packages/accumulo-v1_5/package/files/log4j.properties
deleted file mode 100644
index a4bcb2e..0000000
--- a/app-packages/accumulo-v1_5/package/files/log4j.properties
+++ /dev/null
@@ -1,41 +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 compresssor" messages
-log4j.logger.org.apache.hadoop.io.compress=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.core.util.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/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/package/files/masters
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/package/files/masters b/app-packages/accumulo-v1_5/package/files/masters
deleted file mode 100644
index 63fb8bb..0000000
--- a/app-packages/accumulo-v1_5/package/files/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/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/package/files/monitor
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/package/files/monitor b/app-packages/accumulo-v1_5/package/files/monitor
deleted file mode 100644
index 63fb8bb..0000000
--- a/app-packages/accumulo-v1_5/package/files/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/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/package/files/monitor_logger.xml
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/package/files/monitor_logger.xml b/app-packages/accumulo-v1_5/package/files/monitor_logger.xml
deleted file mode 100644
index 91a7671..0000000
--- a/app-packages/accumulo-v1_5/package/files/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/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/package/files/slaves
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/package/files/slaves b/app-packages/accumulo-v1_5/package/files/slaves
deleted file mode 100644
index 63fb8bb..0000000
--- a/app-packages/accumulo-v1_5/package/files/slaves
+++ /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/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/package/files/tracers
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/package/files/tracers b/app-packages/accumulo-v1_5/package/files/tracers
deleted file mode 100644
index 63fb8bb..0000000
--- a/app-packages/accumulo-v1_5/package/files/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/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/package/scripts/__init__.py
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/package/scripts/__init__.py b/app-packages/accumulo-v1_5/package/scripts/__init__.py
deleted file mode 100644
index 5561e10..0000000
--- a/app-packages/accumulo-v1_5/package/scripts/__init__.py
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/env python
-"""
-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.
-
-"""
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/package/scripts/accumulo_client.py
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/package/scripts/accumulo_client.py b/app-packages/accumulo-v1_5/package/scripts/accumulo_client.py
deleted file mode 100644
index 45d07dd..0000000
--- a/app-packages/accumulo-v1_5/package/scripts/accumulo_client.py
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/usr/bin/env python
-"""
-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.
-
-"""
-
-import sys
-from resource_management import *
-
-from accumulo_configuration import setup_conf_dir
-
-
-class AccumuloClient(Script):
- def install(self, env):
- self.install_packages(env)
- self.configure(env)
-
- def configure(self, env):
- import params
- env.set_params(params)
-
- setup_conf_dir(name='client')
-
- def status(self, env):
- raise ClientComponentHasNoStatus()
-
-
-if __name__ == "__main__":
- AccumuloClient().execute()
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/package/scripts/accumulo_configuration.py
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/package/scripts/accumulo_configuration.py b/app-packages/accumulo-v1_5/package/scripts/accumulo_configuration.py
deleted file mode 100644
index 5c15503..0000000
--- a/app-packages/accumulo-v1_5/package/scripts/accumulo_configuration.py
+++ /dev/null
@@ -1,134 +0,0 @@
-#!/usr/bin/env python
-"""
-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.
-
-"""
-
-from resource_management import *
-
-def setup_conf_dir(name=None, # 'master' or 'tserver' or 'monitor' or 'gc' or 'tracer' or 'client'
- extra_params=None):
- import params
-
- # create the conf directory
- Directory( params.conf_dir,
- owner = params.accumulo_user,
- group = params.user_group,
- recursive = True
- )
-
- if name != "client":
- # create pid dir
- Directory( params.pid_dir,
- owner = params.accumulo_user,
- group = params.user_group,
- recursive = True
- )
-
- # create log dir
- Directory (params.log_dir,
- owner = params.accumulo_user,
- group = params.user_group,
- recursive = True
- )
-
- configs = {}
- if extra_params == None:
- configs = params.config['configurations']['accumulo-site']
- else:
- configs.update(params.config['configurations']['accumulo-site'])
- for k in extra_params:
- configs[k] = extra_params[k]
-
- # create a site file for server processes
- XmlConfig( "accumulo-site.xml",
- conf_dir = params.conf_dir,
- configurations = configs,
- owner = params.accumulo_user,
- group = params.user_group,
- mode=0600
- )
- else:
- # create a minimal site file for client processes
- client_configurations = {}
- client_configurations['instance.zookeeper.host'] = params.config['configurations']['accumulo-site']['instance.zookeeper.host']
- client_configurations['instance.dfs.dir'] = params.config['configurations']['accumulo-site']['instance.dfs.dir']
- client_configurations['general.classpaths'] = params.config['configurations']['accumulo-site']['general.classpaths']
- XmlConfig( "accumulo-site.xml",
- conf_dir = params.conf_dir,
- configurations = client_configurations,
- owner = params.accumulo_user,
- group = params.user_group
- )
-
- # create env file
- accumulo_TemplateConfig( 'accumulo-env.sh')
-
- # create host files
- accumulo_StaticFile( 'masters')
- accumulo_StaticFile( 'slaves')
- accumulo_StaticFile( 'monitor')
- accumulo_StaticFile( 'gc')
- accumulo_StaticFile( 'tracers')
-
- # create log4j.properties files
- if (params.log4j_props != None):
- File(format("{params.conf_dir}/log4j.properties"),
- mode=0644,
- group=params.user_group,
- owner=params.accumulo_user,
- content=params.log4j_props
- )
- else:
- accumulo_StaticFile("log4j.properties")
-
- # create other logging configuration files
- accumulo_StaticFile("auditLog.xml")
- accumulo_StaticFile("generic_logger.xml")
- accumulo_StaticFile("monitor_logger.xml")
- accumulo_StaticFile("accumulo-metrics.xml")
-
- # create the policy file
- if 'accumulo-policy' in params.config['configurations']:
- XmlConfig( "accumulo-policy.xml",
- configurations = params.config['configurations']['accumulo-policy'],
- owner = params.accumulo_user,
- group = params.user_group
- )
-
-# create file 'name' from template
-def accumulo_TemplateConfig(name,
- tag=None
- ):
- import params
-
- TemplateConfig( format("{params.conf_dir}/{name}"),
- owner = params.accumulo_user,
- group = params.user_group,
- template_tag = tag
- )
-
-# create static file 'name'
-def accumulo_StaticFile(name):
- import params
-
- File(format("{params.conf_dir}/{name}"),
- mode=0644,
- group=params.user_group,
- owner=params.accumulo_user,
- content=StaticFile(name)
- )
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/package/scripts/accumulo_gc.py
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/package/scripts/accumulo_gc.py b/app-packages/accumulo-v1_5/package/scripts/accumulo_gc.py
deleted file mode 100644
index f8fe499..0000000
--- a/app-packages/accumulo-v1_5/package/scripts/accumulo_gc.py
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env python
-"""
-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.
-
-"""
-
-from accumulo_script import AccumuloScript
-
-if __name__ == "__main__":
- AccumuloScript('gc').execute()
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/package/scripts/accumulo_master.py
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/package/scripts/accumulo_master.py b/app-packages/accumulo-v1_5/package/scripts/accumulo_master.py
deleted file mode 100644
index ea8935b..0000000
--- a/app-packages/accumulo-v1_5/package/scripts/accumulo_master.py
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env python
-"""
-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.
-
-"""
-
-from accumulo_script import AccumuloScript
-
-if __name__ == "__main__":
- AccumuloScript('master').execute()
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/package/scripts/accumulo_monitor.py
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/package/scripts/accumulo_monitor.py b/app-packages/accumulo-v1_5/package/scripts/accumulo_monitor.py
deleted file mode 100644
index c8e7bed..0000000
--- a/app-packages/accumulo-v1_5/package/scripts/accumulo_monitor.py
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env python
-"""
-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.
-
-"""
-
-from accumulo_script import AccumuloScript
-
-if __name__ == "__main__":
- AccumuloScript('monitor').execute()
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/package/scripts/accumulo_script.py
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/package/scripts/accumulo_script.py b/app-packages/accumulo-v1_5/package/scripts/accumulo_script.py
deleted file mode 100644
index 5e2ceba..0000000
--- a/app-packages/accumulo-v1_5/package/scripts/accumulo_script.py
+++ /dev/null
@@ -1,110 +0,0 @@
-#!/usr/bin/env python
-"""
-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.
-
-"""
-
-from resource_management import *
-from resource_management.core.environment import Environment
-
-from accumulo_configuration import setup_conf_dir
-from accumulo_configuration import accumulo_StaticFile
-from accumulo_service import accumulo_service
-
-
-class AccumuloScript(Script):
- def __init__(self, component):
- self.component = component
-
- def install(self, env):
- self.install_packages(env)
-
- def configure(self, env):
- import params
- env.set_params(params)
-
- if params.monitor_security_enabled and self.component == 'monitor':
- import os
- import random
- import string
-
- basedir = Environment.get_instance().config.basedir
- keystore_file = os.path.join(basedir, "files", "keystore.jks")
- truststore_file = os.path.join(basedir, "files", "cacerts.jks")
- cert_file = os.path.join(basedir, "files", "server.cer")
-
- if os.path.exists(keystore_file) or os.path.exists(truststore_file) or os.path.exists(cert_file):
- self.fail_with_error("trying to create monitor certs but they already existed")
-
- goodchars = string.lowercase + string.uppercase + string.digits + '#%+,-./:=?@^_'
- keypass = ''.join(random.choice(goodchars) for x in range(20))
- storepass = ''.join(random.choice(goodchars) for x in range(20))
-
- https_params = {}
- https_params[params.keystore_property] = params.keystore_path
- https_params[params.truststore_property] = params.truststore_path
- https_params[params.keystore_password_property] = keypass
- https_params[params.truststore_password_property] = storepass
-
- setup_conf_dir(name=self.component, extra_params=https_params)
-
- Execute( format("{java64_home}/bin/keytool -genkey -alias \"default\" -keyalg RSA -keypass {keypass} -storepass {storepass} -keystore {keystore_file} -dname \"CN=Unknown, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, C=Unknown\""),
- user=params.accumulo_user)
- Execute( format("{java64_home}/bin/keytool -export -alias \"default\" -storepass {storepass} -file {cert_file} -keystore {keystore_file}"),
- user=params.accumulo_user)
- Execute( format("echo \"yes\" | {java64_home}/bin/keytool -import -v -trustcacerts -alias \"default\" -file {cert_file} -keystore {truststore_file} -keypass {keypass} -storepass {storepass}"),
- user=params.accumulo_user)
-
- accumulo_StaticFile("keystore.jks")
- accumulo_StaticFile("cacerts.jks")
-
- else:
- setup_conf_dir(name=self.component)
-
-
- def start(self, env):
- import params
- env.set_params(params)
- self.configure(env) # for security
-
- if self.component == 'master':
- Execute( format("{daemon_script} init --instance-name {accumulo_instance_name} --password {accumulo_root_password} --clear-instance-name"),
- not_if=format("hadoop fs -stat {accumulo_hdfs_root_dir}"),
- user=params.accumulo_user)
-
- accumulo_service( self.component,
- action = 'start'
- )
-
- def stop(self, env):
- import params
- env.set_params(params)
-
- accumulo_service( self.component,
- action = 'stop'
- )
-
- def status(self, env):
- import status_params
- env.set_params(status_params)
- component = self.component
- pid_file = format("{pid_dir}/accumulo-{accumulo_user}-{component}.pid")
- check_process_status(pid_file)
-
-
-if __name__ == "__main__":
- self.fail_with_error('component unspecified')
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/package/scripts/accumulo_service.py
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/package/scripts/accumulo_service.py b/app-packages/accumulo-v1_5/package/scripts/accumulo_service.py
deleted file mode 100644
index 562ef5d..0000000
--- a/app-packages/accumulo-v1_5/package/scripts/accumulo_service.py
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/usr/bin/env python
-"""
-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.
-
-"""
-
-from resource_management import *
-
-def accumulo_service( name,
- action = 'start'): # 'start' or 'stop' or 'status'
- import params
-
- role = name
- pid_file = format("{pid_dir}/accumulo-{accumulo_user}-{role}.pid")
-
- pid_exists = format("ls {pid_file} >/dev/null 2>&1 && ps `cat {pid_file}` >/dev/null 2>&1")
-
- if action == 'start':
- daemon_cmd = format("{daemon_script} {role} > {log_dir}/accumulo-{accumulo_user}-{role}.out 2>{log_dir}/accumulo-{accumulo_user}-{role}.err & echo $! > {pid_file}")
- Execute ( daemon_cmd,
- not_if=pid_exists,
- user=params.accumulo_user
- )
-
- elif action == 'stop':
- no_pid_exists = format("! ({pid_exists})")
- pid = format("`cat {pid_file}` >/dev/null 2>&1")
- Execute(format("kill {pid}"),
- not_if=no_pid_exists,
- user=params.accumulo_user
- )
- Execute(format("kill -9 {pid}"),
- not_if=format("sleep 2; {no_pid_exists} || sleep 20; {no_pid_exists}"),
- ignore_failures=True,
- user=params.accumulo_user
- )
- Execute(format("rm -f {pid_file}"),
- user=params.accumulo_user)
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/package/scripts/accumulo_tracer.py
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/package/scripts/accumulo_tracer.py b/app-packages/accumulo-v1_5/package/scripts/accumulo_tracer.py
deleted file mode 100644
index b8bb9a0..0000000
--- a/app-packages/accumulo-v1_5/package/scripts/accumulo_tracer.py
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env python
-"""
-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.
-
-"""
-
-from accumulo_script import AccumuloScript
-
-if __name__ == "__main__":
- AccumuloScript('tracer').execute()
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/package/scripts/accumulo_tserver.py
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/package/scripts/accumulo_tserver.py b/app-packages/accumulo-v1_5/package/scripts/accumulo_tserver.py
deleted file mode 100644
index 3117e35..0000000
--- a/app-packages/accumulo-v1_5/package/scripts/accumulo_tserver.py
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env python
-"""
-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.
-
-"""
-
-from accumulo_script import AccumuloScript
-
-if __name__ == "__main__":
- AccumuloScript('tserver').execute()
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/package/scripts/params.py
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/package/scripts/params.py b/app-packages/accumulo-v1_5/package/scripts/params.py
deleted file mode 100644
index 7bd1a51..0000000
--- a/app-packages/accumulo-v1_5/package/scripts/params.py
+++ /dev/null
@@ -1,72 +0,0 @@
-#!/usr/bin/env python
-"""
-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.
-
-"""
-
-from resource_management import *
-import status_params
-
-# server configurations
-config = Script.get_config()
-
-# user and status
-accumulo_user = status_params.accumulo_user
-user_group = config['configurations']['global']['user_group']
-pid_dir = status_params.pid_dir
-
-# accumulo env
-java64_home = config['hostLevelParams']['java_home']
-hadoop_prefix = config['configurations']['global']['hadoop_prefix']
-hadoop_conf_dir = config['configurations']['global']['hadoop_conf_dir']
-zookeeper_home = config['configurations']['global']['zookeeper_home']
-master_heapsize = config['configurations']['global']['master_heapsize']
-tserver_heapsize = config['configurations']['global']['tserver_heapsize']
-monitor_heapsize = config['configurations']['global']['monitor_heapsize']
-gc_heapsize = config['configurations']['global']['gc_heapsize']
-other_heapsize = config['configurations']['global']['other_heapsize']
-
-# accumulo local directory structure
-accumulo_root = config['configurations']['global']['app_root']
-conf_dir = None
-if ('accumulo_conf_dir' in config['configurations']['global']):
- conf_dir = config['configurations']['global']['accumulo_conf_dir']
-else:
- conf_dir = format("{accumulo_root}/conf")
-log_dir = config['configurations']['global']['app_log_dir']
-daemon_script = format("{accumulo_root}/bin/accumulo")
-
-# accumulo monitor certificate properties
-monitor_security_enabled = config['configurations']['global']['monitor_protocol'] == "https"
-keystore_path = format("{accumulo_root}/conf/keystore.jks")
-truststore_path = format("{accumulo_root}/conf/cacerts.jks")
-cert_path = format("{accumulo_root}/conf/server.cer")
-keystore_property = "monitor.ssl.keyStore"
-keystore_password_property = "monitor.ssl.keyStorePassword"
-truststore_property = "monitor.ssl.trustStore"
-truststore_password_property = "monitor.ssl.trustStorePassword"
-
-# accumulo initialization parameters
-accumulo_instance_name = config['configurations']['global']['accumulo_instance_name']
-accumulo_root_password = config['configurations']['global']['accumulo_root_password']
-accumulo_hdfs_root_dir = config['configurations']['accumulo-site']['instance.dfs.dir']
-
-#log4j.properties
-if (('accumulo-log4j' in config['configurations']) and ('content' in config['configurations']['accumulo-log4j'])):
- log4j_props = config['configurations']['accumulo-log4j']['content']
-else:
- log4j_props = None
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/package/scripts/status_params.py
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/package/scripts/status_params.py b/app-packages/accumulo-v1_5/package/scripts/status_params.py
deleted file mode 100644
index 6131880..0000000
--- a/app-packages/accumulo-v1_5/package/scripts/status_params.py
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/env python
-"""
-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.
-
-"""
-
-from resource_management import *
-
-config = Script.get_config()
-
-pid_dir = config['configurations']['global']['app_pid_dir']
-accumulo_user = config['configurations']['global']['app_user']
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/package/templates/accumulo-env.sh.j2
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/package/templates/accumulo-env.sh.j2 b/app-packages/accumulo-v1_5/package/templates/accumulo-env.sh.j2
deleted file mode 100755
index 7ffec53..0000000
--- a/app-packages/accumulo-v1_5/package/templates/accumulo-env.sh.j2
+++ /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.
-
-###
-### 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/local/lib/jdk-1.6.0
-###
-###
-### 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.
-###
-
-export HADOOP_PREFIX={{hadoop_prefix}}
-export HADOOP_CONF_DIR={{hadoop_conf_dir}}
-export JAVA_HOME={{java64_home}}
-export ZOOKEEPER_HOME={{zookeeper_home}}
-export ACCUMULO_LOG_DIR={{log_dir}}
-export ACCUMULO_CONF_DIR={{conf_dir}}
-export ACCUMULO_TSERVER_OPTS="-Xmx{{tserver_heapsize}} -Xms{{tserver_heapsize}}"
-export ACCUMULO_MASTER_OPTS="-Xmx{{master_heapsize}} -Xms{{master_heapsize}}"
-export ACCUMULO_MONITOR_OPTS="-Xmx{{monitor_heapsize}} -Xms{{monitor_heapsize}}"
-export ACCUMULO_GC_OPTS="-Xmx{{gc_heapsize}} -Xms{{gc_heapsize}}"
-export ACCUMULO_GENERAL_OPTS="-XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75"
-export ACCUMULO_OTHER_OPTS="-Xmx{{other_heapsize}} -Xms{{other_heapsize}}"
-# what do when the JVM runs out of heap memory
-export ACCUMULO_KILL_CMD='kill -9 %p'
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/a95c9b00/app-packages/accumulo-v1_5/resources.json
----------------------------------------------------------------------
diff --git a/app-packages/accumulo-v1_5/resources.json b/app-packages/accumulo-v1_5/resources.json
deleted file mode 100644
index 54d054b..0000000
--- a/app-packages/accumulo-v1_5/resources.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "schema": "http://example.org/specification/v2.0.0",
- "metadata": {
- },
- "global": {
- },
- "components": {
- "ACCUMULO_MASTER": {
- "yarn.role.priority": "1",
- "yarn.component.instances": "1"
- },
- "slider-appmaster": {
- },
- "ACCUMULO_TSERVER": {
- "yarn.role.priority": "2",
- "yarn.component.instances": "1"
- },
- "ACCUMULO_MONITOR": {
- "yarn.role.priority": "3",
- "yarn.component.instances": "1"
- },
- "ACCUMULO_GC": {
- "yarn.role.priority": "4",
- "yarn.component.instances": "1"
- },
- "ACCUMULO_TRACER": {
- "yarn.role.priority": "5",
- "yarn.component.instances": "1"
- }
- }
-}