You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2014/04/02 00:40:46 UTC
[2/2] git commit: ACCUMULO-2606 Remove system-level packaging stuff
ACCUMULO-2606 Remove system-level packaging stuff
Removing RPM/DEB build tasks and maven profiles, related documentation,
and system-specific packaging resources and scripts, in order to defer such
things to downstream package maintainers.
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/a1814fc0
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/a1814fc0
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/a1814fc0
Branch: refs/heads/1.6.0-SNAPSHOT
Commit: a1814fc0dbdf0fb095ad87385dfb133c5a1f35df
Parents: 86cafd9
Author: Christopher Tubbs <ct...@apache.org>
Authored: Tue Apr 1 17:48:12 2014 -0400
Committer: Christopher Tubbs <ct...@apache.org>
Committed: Tue Apr 1 18:28:38 2014 -0400
----------------------------------------------------------------------
README | 11 +-
assemble/build.sh | 26 +-
assemble/deb/accumulo-custom-conf/control | 27 --
assemble/deb/accumulo-gc/control | 27 --
assemble/deb/accumulo-logger/control | 26 --
assemble/deb/accumulo-master/control | 26 --
assemble/deb/accumulo-monitor/control | 26 --
assemble/deb/accumulo-native/control | 26 --
assemble/deb/accumulo-native/postinst | 34 --
assemble/deb/accumulo-native/postrm | 20 -
assemble/deb/accumulo-single-conf/control | 27 --
assemble/deb/accumulo-singleton/control | 26 --
assemble/deb/accumulo-slave/control | 26 --
assemble/deb/accumulo-test/control | 26 --
assemble/deb/accumulo-tserver/control | 26 --
assemble/deb/accumulo/conffile | 23 --
assemble/deb/accumulo/control | 27 --
assemble/deb/accumulo/postinst | 44 --
assemble/deb/accumulo/postrm | 37 --
assemble/pom.xml | 402 -------------------
assemble/scripts/gc-only-init.sh | 47 ---
assemble/scripts/master-only-init.sh | 46 ---
assemble/scripts/monitor-only-init.sh | 45 ---
assemble/scripts/stand-alone-init.sh | 26 --
assemble/scripts/tracer-only-init.sh | 45 ---
assemble/scripts/tserver-only-init.sh | 46 ---
assemble/src/main/assemblies/component.xml | 32 --
bin/etc_initd_accumulo | 57 ---
contrib/dotfile-rpmmacros | 20 -
core/pom.xml | 161 --------
.../etc/security/limits.d/50-accumulo.conf | 17 -
core/src/main/packaging/etc/sysctl.d/accumulo | 20 -
docs/pom.xml | 44 --
docs/src/main/resources/examples/README.dirlist | 2 +-
examples/simple/pom.xml | 34 --
fate/pom.xml | 33 --
init/pom.xml | 99 -----
.../main/packaging/etc/accumulo/accumulo-env.sh | 65 ---
.../packaging/etc/accumulo/accumulo-site.xml | 87 ----
.../main/packaging/etc/accumulo/auditLog.xml | 41 --
init/src/main/packaging/etc/accumulo/gc | 16 -
.../packaging/etc/accumulo/generic_logger.xml | 83 ----
.../packaging/etc/accumulo/log4j.properties | 41 --
init/src/main/packaging/etc/accumulo/masters | 16 -
.../packaging/etc/accumulo/monitor_logger.xml | 64 ---
init/src/main/packaging/etc/accumulo/monitors | 16 -
init/src/main/packaging/etc/accumulo/slaves | 16 -
init/src/main/packaging/etc/accumulo/tracers | 15 -
pom.xml | 145 +------
proxy/pom.xml | 66 ---
server/base/pom.xml | 48 ---
server/gc/pom.xml | 50 ---
.../src/main/packaging/etc/init.d/accumulo-gc | 159 --------
server/master/pom.xml | 50 ---
.../main/packaging/etc/init.d/accumulo-master | 160 --------
server/monitor/pom.xml | 51 ---
.../main/packaging/etc/init.d/accumulo-monitor | 159 --------
server/native/pom.xml | 63 ---
server/tracer/pom.xml | 50 ---
.../main/packaging/etc/init.d/accumulo-tracer | 159 --------
server/tserver/pom.xml | 50 ---
.../main/packaging/etc/init.d/accumulo-tserver | 161 --------
start/pom.xml | 33 --
trace/pom.xml | 31 --
64 files changed, 8 insertions(+), 3574 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/README
----------------------------------------------------------------------
diff --git a/README b/README
index 759c95b..ee98d92 100644
--- a/README
+++ b/README
@@ -10,7 +10,7 @@ key/value pairs at various points in the data management process.
******************************************************************************
1. Building
-In the normal tarball or RPM release of accumulo, everything is built and
+In the normal tarball release of accumulo, everything is built and
ready to go on x86 GNU/Linux: there is no build step.
However, if you only have source code, or you wish to make changes, you need to
@@ -52,12 +52,6 @@ library into the $ACCUMULO_HOME/lib/native/map.
$ cp libaccumulo.* $ACCUMULO_HOME/lib/native/map
-If you want to build the debian release, use the command "mvn package -Pdeb" to
-generate the .deb files in the target/ directory. Please follow the steps at
-https://cwiki.apache.org/BIGTOP/how-to-install-hadoop-distribution-from-bigtop.html
-to add bigtop to your debian sources list. This will make it substantially
-easier to install.
-
Building Documentation
Use the following command to build the User Manual (docs/target/accumulo_user_manual.pdf)
@@ -72,9 +66,6 @@ Copy the accumulo tar file produced by mvn package from the assemble/target/
directory to the desired destination, then untar it (e.g.
tar xzf accumulo-1.6.0-bin.tar.gz).
-If you are using the RPM, install the RPM on every machine that will run
-accumulo.
-
Another option is to package Accumulo directly to a working directory. For example,
mvn package -DskipTests -DDEV_ACCUMULO_HOME=/var/tmp
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/assemble/build.sh
----------------------------------------------------------------------
diff --git a/assemble/build.sh b/assemble/build.sh
index 065053f..31b2d2c 100755
--- a/assemble/build.sh
+++ b/assemble/build.sh
@@ -45,36 +45,20 @@ cacheGPG() {
touch "${TESTFILE}" && gpg --sign "${TESTFILE}" && rm -f "${TESTFILE}" "${TESTFILE}.gpg"
}
-setupRPM() {
- # if you want the RPM signed, copy contrib/dotfile-rpmmacros to $HOME/.rpmmacros
- diff -q "contrib/dotfile-rpmmacros" "$HOME/.rpmmacros"
- R=$?
- if [[ $R = 0 ]]; then
- true
- elif [[ $R = 1 ]]; then
- run mv -n "$HOME/.rpmmacros" "$HOME/.rpmmacros-bak-$(date -u +%s)"
- run cp "contrib/dotfile-rpmmacros" "$HOME/.rpmmacros"
- elif [[ ! -r "$HOME/.rpmmacros" ]]; then
- run cp "contrib/dotfile-rpmmacros" "$HOME/.rpmmacros"
- else
- fail diff returned $R
- fi
-}
-
if [[ $1 = '--create-release-candidate' ]]; then
- cacheGPG; setupRPM
+ cacheGPG
# create a release candidate from a branch
run mvn clean release:clean release:prepare release:perform
elif [[ $1 = '--seal-jars' ]]; then
- cacheGPG; setupRPM
+ cacheGPG
# build a tag, but with sealed jars
run mvn clean compile javadoc:aggregate install \
- -P apache-release,seal-jars,thrift,native,assemble,docs,rpm,deb
+ -P apache-release,seal-jars,thrift,native,assemble,docs
elif [[ $1 = '--test' ]]; then
- cacheGPG; setupRPM
+ cacheGPG
# build a tag, but with tests
run mvn clean compile javadoc:aggregate install \
- -P apache-release,thrift,native,assemble,docs,rpm,deb
+ -P apache-release,thrift,native,assemble,docs
else
fail "Missing one of: --create-release-candidate, --test, --seal-jars"
fi
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/assemble/deb/accumulo-custom-conf/control
----------------------------------------------------------------------
diff --git a/assemble/deb/accumulo-custom-conf/control b/assemble/deb/accumulo-custom-conf/control
deleted file mode 100644
index c10bf73..0000000
--- a/assemble/deb/accumulo-custom-conf/control
+++ /dev/null
@@ -1,27 +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.
-Source: Apache Accumulo
-Section: misc
-Priority: extra
-Maintainer: Apache Accumulo <de...@accumulo.apache.org>
-Homepage: http://accumulo.apache.org
-Package: accumulo-custom-conf
-Provides: accumulo-config
-Version: [[version]]
-Section: misc
-Architecture: all
-Depends: accumulo
-Description: Configuration for Accumulo
- This package sets up the configuration for all nodes
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/assemble/deb/accumulo-gc/control
----------------------------------------------------------------------
diff --git a/assemble/deb/accumulo-gc/control b/assemble/deb/accumulo-gc/control
deleted file mode 100644
index 132b020..0000000
--- a/assemble/deb/accumulo-gc/control
+++ /dev/null
@@ -1,27 +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.
-Source: Apache Accumulo
-Section: misc
-Priority: extra
-Maintainer: Apache Accumulo <de...@accumulo.apache.org>
-Homepage: http://accumulo.apache.org
-Package: accumulo-gc
-Section: misc
-Version: [[version]]
-Architecture: all
-Depends: accumulo-config
-Description: Sets a node to run as a garbage collector node
- This package sets up the node to run as a garbage collector process
-
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/assemble/deb/accumulo-logger/control
----------------------------------------------------------------------
diff --git a/assemble/deb/accumulo-logger/control b/assemble/deb/accumulo-logger/control
deleted file mode 100644
index 092bf2d..0000000
--- a/assemble/deb/accumulo-logger/control
+++ /dev/null
@@ -1,26 +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.
-Source: Apache Accumulo
-Section: misc
-Priority: extra
-Maintainer: Apache Accumulo <de...@accumulo.apache.org>
-Homepage: http://accumulo.apache.org
-Package: accumulo-logger
-Version: [[version]]
-Section: misc
-Architecture: all
-Depends: accumulo-config
-Description: Sets a node to run as a logger node
- This package sets up the node to run as a logger process
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/assemble/deb/accumulo-master/control
----------------------------------------------------------------------
diff --git a/assemble/deb/accumulo-master/control b/assemble/deb/accumulo-master/control
deleted file mode 100644
index 2911380..0000000
--- a/assemble/deb/accumulo-master/control
+++ /dev/null
@@ -1,26 +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.
-Source: Apache Accumulo
-Section: misc
-Priority: extra
-Maintainer: Apache Accumulo <de...@accumulo.apache.org>
-Homepage: http://accumulo.apache.org
-Package: accumulo-master
-Version: [[version]]
-Section: misc
-Architecture: all
-Depends: accumulo-config
-Description: Sets a node to run as a master node
- This package sets up the node to run as a master process
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/assemble/deb/accumulo-monitor/control
----------------------------------------------------------------------
diff --git a/assemble/deb/accumulo-monitor/control b/assemble/deb/accumulo-monitor/control
deleted file mode 100644
index a6afa22..0000000
--- a/assemble/deb/accumulo-monitor/control
+++ /dev/null
@@ -1,26 +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.
-Source: Apache Accumulo
-Section: misc
-Priority: extra
-Maintainer: Apache Accumulo <de...@accumulo.apache.org>
-Homepage: http://accumulo.apache.org
-Package: accumulo-monitor
-Version: [[version]]
-Section: misc
-Architecture: all
-Depends: accumulo-config
-Description: Sets a node to run as a monitor node
- This package sets up the node to run as a monitor process
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/assemble/deb/accumulo-native/control
----------------------------------------------------------------------
diff --git a/assemble/deb/accumulo-native/control b/assemble/deb/accumulo-native/control
deleted file mode 100644
index a35cc74..0000000
--- a/assemble/deb/accumulo-native/control
+++ /dev/null
@@ -1,26 +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.
-Source: Apache Accumulo
-Section: misc
-Priority: extra
-Maintainer: Apache Accumulo <de...@accumulo.apache.org>
-Homepage: http://accumulo.apache.org
-Package: accumulo-native
-Version: [[version]]
-Section: misc
-Architecture: all
-Depends: java6-sdk, accumulo (=[[version]]), g++, g++-multilib
-Description: Native libraries for Accumulo- locks and InMemoryMap
- This optional package contains native libraries that improve the performance of Accumulo tservers.
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/assemble/deb/accumulo-native/postinst
----------------------------------------------------------------------
diff --git a/assemble/deb/accumulo-native/postinst b/assemble/deb/accumulo-native/postinst
deleted file mode 100644
index cc084ec..0000000
--- a/assemble/deb/accumulo-native/postinst
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-#
-# 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.
-
-# postinst script for Apache Accumulo native libraries
-echo JAVA HOME IS $JAVA_HOME
-if [ -z "$JAVA_HOME" -o ! -f "$JAVA_HOME/jre/bin/" ] ; then
- JAVA_HOME=`readlink -f /usr/bin/java`
- JAVA_HOME=`dirname $JAVA_HOME`
- JAVA_HOME=`cd $JAVA_HOME/../; pwd`
-fi
-export JAVA_HOME
-export PATH=$PATH:$JAVA_HOME/bin
-echo $JAVA_HOME
-echo $PATH
-cd /usr/lib/accumulo/src/server/src/main/c++
-make
-
-if [ $? -ne 0 ]; then
- echo "Issues building native libraries. Make sure root has javah on it's classpath"
-fi
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/assemble/deb/accumulo-native/postrm
----------------------------------------------------------------------
diff --git a/assemble/deb/accumulo-native/postrm b/assemble/deb/accumulo-native/postrm
deleted file mode 100644
index 1344baf..0000000
--- a/assemble/deb/accumulo-native/postrm
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-#
-# 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.
-
-# postinst script for Apache Accumulo native libraries
-rm -Rf /usr/lib/accumulo/src
-rm -Rf /usr/lib/accumulo/lib/native
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/assemble/deb/accumulo-single-conf/control
----------------------------------------------------------------------
diff --git a/assemble/deb/accumulo-single-conf/control b/assemble/deb/accumulo-single-conf/control
deleted file mode 100644
index b501205..0000000
--- a/assemble/deb/accumulo-single-conf/control
+++ /dev/null
@@ -1,27 +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.
-Source: Apache Accumulo
-Section: misc
-Priority: extra
-Maintainer: Apache Accumulo <de...@accumulo.apache.org>
-Homepage: http://accumulo.apache.org
-Package: accumulo-single-conf
-Provides: accumulo-config
-Version: [[version]]
-Section: misc
-Architecture: all
-Depends: accumulo
-Description: Basic single-node configuration for Accumulo
- This package sets up the configuration for a single node with the default single node configuration
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/assemble/deb/accumulo-singleton/control
----------------------------------------------------------------------
diff --git a/assemble/deb/accumulo-singleton/control b/assemble/deb/accumulo-singleton/control
deleted file mode 100644
index a28b605..0000000
--- a/assemble/deb/accumulo-singleton/control
+++ /dev/null
@@ -1,26 +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.
-Source: Apache Accumulo
-Section: misc
-Priority: extra
-Maintainer: Apache Accumulo <de...@accumulo.apache.org>
-Homepage: http://accumulo.apache.org
-Package: accumulo-singleton
-Version: [[version]]
-Section: misc
-Architecture: all
-Depends: accumulo-master, accumulo-monitor, accumulo-gc
-Description: Sets a node to run as the primary node, with master, monitor, and garbage collector
- This package sets up the node to run the master, monitor, and garbage collector processes
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/assemble/deb/accumulo-slave/control
----------------------------------------------------------------------
diff --git a/assemble/deb/accumulo-slave/control b/assemble/deb/accumulo-slave/control
deleted file mode 100644
index 95080ad..0000000
--- a/assemble/deb/accumulo-slave/control
+++ /dev/null
@@ -1,26 +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.
-Source: Apache Accumulo
-Section: misc
-Priority: extra
-Maintainer: Apache Accumulo <de...@accumulo.apache.org>
-Homepage: http://accumulo.apache.org
-Package: accumulo-slave
-Version: [[version]]
-Section: misc
-Architecture: all
-Depends: accumullo-tserver, accumulo-logger
-Description: Sets a node to run as a slave node, with tserver and loggers
- This package sets up the node to run the tserver and logger processes
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/assemble/deb/accumulo-test/control
----------------------------------------------------------------------
diff --git a/assemble/deb/accumulo-test/control b/assemble/deb/accumulo-test/control
deleted file mode 100644
index 96764f5..0000000
--- a/assemble/deb/accumulo-test/control
+++ /dev/null
@@ -1,26 +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.
-Source: Apache Accumulo
-Section: misc
-Priority: extra
-Maintainer: Apache Accumulo <de...@accumulo.apache.org>
-Homepage: http://accumulo.apache.org
-Package: accumulo-test
-Version: [[version]]
-Section: misc
-Architecture: all
-Depends: accumulo (=[[version]]), pssh, python
-Description: Testing code for running the various Accumulo tests
- This optional package contains tests which are used for validating Accumulo functionality
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/assemble/deb/accumulo-tserver/control
----------------------------------------------------------------------
diff --git a/assemble/deb/accumulo-tserver/control b/assemble/deb/accumulo-tserver/control
deleted file mode 100644
index f717005..0000000
--- a/assemble/deb/accumulo-tserver/control
+++ /dev/null
@@ -1,26 +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.
-Source: Apache Accumulo
-Section: misc
-Priority: extra
-Maintainer: Apache Accumulo <de...@accumulo.apache.org>
-Homepage: http://accumulo.apache.org
-Package: accumulo-tserver
-Version: [[version]]
-Section: misc
-Architecture: all
-Depends: accumulo-config
-Description: Sets a node to run as a tserver node
- This package sets up the node to run as a tserver process
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/assemble/deb/accumulo/conffile
----------------------------------------------------------------------
diff --git a/assemble/deb/accumulo/conffile b/assemble/deb/accumulo/conffile
deleted file mode 100644
index 83769d3..0000000
--- a/assemble/deb/accumulo/conffile
+++ /dev/null
@@ -1,23 +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.
-
-/etc/accumulo/conf/accumulo-site.xml
-/etc/accumulo/conf/accumulo-env.sh
-/etc/accumulo/conf/slaves
-/etc/accumulo/conf/masters
-/etc/accumulo/conf/loggers
-/etc/accumulo/conf/accumulo-metrics.xml
-/etc/accumulo/conf/tracers
-/etc/accumulo/conf/gc
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/assemble/deb/accumulo/control
----------------------------------------------------------------------
diff --git a/assemble/deb/accumulo/control b/assemble/deb/accumulo/control
deleted file mode 100644
index 7479484..0000000
--- a/assemble/deb/accumulo/control
+++ /dev/null
@@ -1,27 +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.
-Source: Apache Accumulo
-Section: misc
-Priority: extra
-Maintainer: Apache Accumulo <de...@accumulo.apache.org>
-Homepage: http://accumulo.apache.org
-Package: accumulo
-Version: [[version]]
-Section: misc
-Architecture: all
-Depends: java6-runtime, hadoop, zookeeper, coreutils, ssh-server
-Recommends: accumulo-native
-Description: Accumulo is a large distributed structured store based on Google's BigTable design.
-Distribution: development
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/assemble/deb/accumulo/postinst
----------------------------------------------------------------------
diff --git a/assemble/deb/accumulo/postinst b/assemble/deb/accumulo/postinst
deleted file mode 100644
index 6fa06bb..0000000
--- a/assemble/deb/accumulo/postinst
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-#
-# 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.
-
-# postinst script for Apache Accumulo
-ln -fs /usr/lib/accumulo/bin/accumulo /usr/bin/accumulo
-mkdir -p /etc/accumulo/conf
-mv -f /usr/lib/accumulo/conf/* /etc/accumulo/conf/
-rm -Rf /usr/lib/accumulo/conf
-ln -fs /etc/accumulo/conf /usr/lib/accumulo/conf
-mkdir -p /var/log/accumulo/logs
-mkdir -p /var/lib/accumulo/walogs
-ln -fs /var/log/accumulo/logs /usr/lib/accumulo/logs
-ln -fs /var/lib/accumulo/walogs /usr/lib/accumulo/walogs
-
-if [ -z "$JAVA_HOME" -o ! -f "$JAVA_HOME/jre/bin/" ] ; then
- JAVA_HOME=`readlink -f /usr/bin/java`
- JAVA_HOME=`dirname $JAVA_HOME`
- JAVA_HOME=`cd $JAVA_HOME/../../; pwd`
-fi
-if [ -z $ZOOKEEPER_HOME ]; then
- ZOOKEEPER_HOME="/usr/lib/zookeeper"
-fi
-if [ -z $HADOOP_HOME ]; then
- HADOOP_HOME="/usr/lib/hadoop"
-fi
-for files in `ls /etc/accumulo/conf/examples/*/*/accumulo-env.sh`; do
- sed -i -e "s:/path/to/java:$JAVA_HOME:" $files
- sed -i -e "s:/path/to/zookeeper:$ZOOKEEPER_HOME:" $files
- sed -i -e "s:/path/to/hadoop:$HADOOP_HOME:" $files
-done
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/assemble/deb/accumulo/postrm
----------------------------------------------------------------------
diff --git a/assemble/deb/accumulo/postrm b/assemble/deb/accumulo/postrm
deleted file mode 100644
index 089f615..0000000
--- a/assemble/deb/accumulo/postrm
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-#
-# 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.
-
-# postrm script for Apache Accumulo
-rm -f /usr/lib/accumulo/conf
-rm -f /usr/lib/accumulo/logs
-rm -f /usr/lib/accumulo/walogs
-case "$1" in
- purge)
- rm -Rf /var/log/accumulo
- rm -Rf /var/lib/accumulo
- rm -Rf /etc/accumulo
- ;;
- remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
- ;;
- *)
- echo "postrm called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-rm -f /usr/bin/accumulo
-exit 0
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/assemble/pom.xml
----------------------------------------------------------------------
diff --git a/assemble/pom.xml b/assemble/pom.xml
index 23a2187..a293fb5 100644
--- a/assemble/pom.xml
+++ b/assemble/pom.xml
@@ -240,217 +240,6 @@
</build>
</profile>
<profile>
- <id>deb</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.vafer</groupId>
- <artifactId>jdeb</artifactId>
- <version>0.10</version>
- <inherited>false</inherited>
- <executions>
- <execution>
- <id>accumulo</id>
- <goals>
- <goal>jdeb</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <deb>${project.build.directory}/accumulo-${project.version}.deb</deb>
- <classifier>bin</classifier>
- <controlDir>assemble/deb/accumulo</controlDir>
- <installDir>/usr/lib/accumulo</installDir>
- <dataSet>
- <data>
- <src>${accumulo-top}/lib</src>
- <type>directory</type>
- <mapper>
- <type>perm</type>
- <prefix>/usr/lib/accumulo/lib</prefix>
- </mapper>
- <excludes>**/.svn/**,native/**</excludes>
- </data>
- <data>
- <src>${accumulo-top}/NOTICE</src>
- <type>file</type>
- <mapper>
- <type>perm</type>
- <prefix>/usr/lib/accumulo</prefix>
- </mapper>
- </data>
- <data>
- <src>${accumulo-top}/CHANGES</src>
- <type>file</type>
- <mapper>
- <type>perm</type>
- <prefix>/usr/lib/accumulo</prefix>
- </mapper>
- </data>
- <data>
- <src>${accumulo-top}/README</src>
- <type>file</type>
- <mapper>
- <type>perm</type>
- <prefix>/usr/lib/accumulo</prefix>
- </mapper>
- </data>
- <data>
- <src>${accumulo-top}/LICENSE</src>
- <type>file</type>
- <mapper>
- <type>perm</type>
- <prefix>/usr/lib/accumulo</prefix>
- </mapper>
- </data>
- <data>
- <src>${accumulo-top}/docs</src>
- <type>directory</type>
- <mapper>
- <type>perm</type>
- <prefix>/usr/lib/accumulo/docs</prefix>
- </mapper>
- <excludes>**/.svn/**,src/**</excludes>
- </data>
- <data>
- <src>${accumulo-top}/proxy/README</src>
- <type>file</type>
- <mapper>
- <type>perm</type>
- <prefix>/usr/lib/accumulo/proxy</prefix>
- </mapper>
- <includes>*.thrift</includes>
- </data>
- <data>
- <src>${accumulo-top}/proxy/proxy.properties</src>
- <type>file</type>
- <mapper>
- <type>perm</type>
- <prefix>/usr/lib/accumulo/proxy</prefix>
- </mapper>
- <includes>*.thrift</includes>
- </data>
- <data>
- <src>${accumulo-top}/proxy/examples</src>
- <type>directory</type>
- <mapper>
- <type>perm</type>
- <prefix>/usr/lib/accumulo/proxy/examples</prefix>
- </mapper>
- <excludes>**/.svn/**</excludes>
- </data>
- <data>
- <src>${accumulo-top}/proxy/src/main/thrift</src>
- <type>directory</type>
- <mapper>
- <type>perm</type>
- <prefix>/usr/lib/accumulo/proxy/thrift</prefix>
- </mapper>
- <includes>*.thrift</includes>
- </data>
- <data>
- <src>${accumulo-top}/proxy/src/main/</src>
- <type>directory</type>
- <mapper>
- <type>perm</type>
- <prefix>/usr/lib/accumulo/proxy/thrift</prefix>
- </mapper>
- <includes>cpp/**,python/**,ruby/**</includes>
- </data>
- <data>
- <src>${accumulo-top}/bin</src>
- <type>directory</type>
- <mapper>
- <type>perm</type>
- <prefix>/usr/lib/accumulo/bin</prefix>
- <filemode>755</filemode>
- </mapper>
- <excludes>**/.svn/**</excludes>
- </data>
- <data>
- <src>${accumulo-top}/examples/simple</src>
- <type>directory</type>
- <mapper>
- <type>perm</type>
- <prefix>/usr/lib/accumulo/examples/simple</prefix>
- </mapper>
- <includes>src/main/**</includes>
- <excludes>**/.svn/**</excludes>
- </data>
- <data>
- <src>${accumulo-top}/conf</src>
- <type>directory</type>
- <mapper>
- <type>perm</type>
- <prefix>/usr/lib/accumulo/conf</prefix>
- </mapper>
- <includes>accumulo.policy.example,examples/**</includes>
- <excludes>**/.svn/**</excludes>
- </data>
- </dataSet>
- </configuration>
- </execution>
- <execution>
- <id>accumulo-native</id>
- <goals>
- <goal>jdeb</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <deb>${project.build.directory}/accumulo-native-${project.version}.deb</deb>
- <controlDir>assemble/deb/accumulo-native</controlDir>
- <installDir>/usr/lib/accumulo</installDir>
- <classifier>native</classifier>
- <dataSet>
- <data>
- <src>${accumulo-top}/server/src/main/c++</src>
- <type>directory</type>
- <mapper>
- <type>perm</type>
- <prefix>/usr/lib/accumulo/server/src/main/c++</prefix>
- </mapper>
- <excludes>**/.svn/**</excludes>
- </data>
- <data>
- <src>${accumulo-top}/server/src/main/java/org/apache/accumulo/tserver/NativeMap.java</src>
- <type>file</type>
- <mapper>
- <type>perm</type>
- <prefix>/usr/lib/accumulo/server/src/main/java/org/apache/accumulo/tserver/NativeMap.java</prefix>
- </mapper>
- </data>
- </dataSet>
- </configuration>
- </execution>
- <execution>
- <id>accumulo-test</id>
- <goals>
- <goal>jdeb</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <deb>${project.build.directory}/accumulo-test-${project.version}.deb</deb>
- <controlDir>assemble/deb/accumulo-test</controlDir>
- <installDir>/usr/lib/accumulo</installDir>
- <classifier>test</classifier>
- <dataSet>
- <data>
- <src>${accumulo-top}/test</src>
- <type>directory</type>
- <mapper>
- <type>perm</type>
- <prefix>/usr/lib/accumulo/test</prefix>
- </mapper>
- <excludes>**/.svn/**,**/*.pyc,src/**,target/**,**/walkers.txt,**/ingesters.txt,**/continuous-env.sh,.*/**,**/*.pyc,**/*.pyo,pom.xml</excludes>
- </data>
- </dataSet>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
<id>docs</id>
<dependencies>
<dependency>
@@ -461,196 +250,5 @@
</dependency>
</dependencies>
</profile>
- <profile>
- <id>rpm</id>
- <dependencies>
- <dependency>
- <groupId>org.apache.accumulo</groupId>
- <artifactId>accumulo-core</artifactId>
- <classifier>el6</classifier>
- <type>rpm</type>
- </dependency>
- <dependency>
- <groupId>org.apache.accumulo</groupId>
- <artifactId>accumulo-docs</artifactId>
- <classifier>el6</classifier>
- <type>rpm</type>
- </dependency>
- <dependency>
- <groupId>org.apache.accumulo</groupId>
- <artifactId>accumulo-examples-simple</artifactId>
- <classifier>el6</classifier>
- <type>rpm</type>
- </dependency>
- <dependency>
- <groupId>org.apache.accumulo</groupId>
- <artifactId>accumulo-fate</artifactId>
- <classifier>el6</classifier>
- <type>rpm</type>
- </dependency>
- <dependency>
- <groupId>org.apache.accumulo</groupId>
- <artifactId>accumulo-gc</artifactId>
- <classifier>el6</classifier>
- <type>rpm</type>
- </dependency>
- <dependency>
- <groupId>org.apache.accumulo</groupId>
- <artifactId>accumulo-init</artifactId>
- <classifier>el6</classifier>
- <type>rpm</type>
- </dependency>
- <dependency>
- <groupId>org.apache.accumulo</groupId>
- <artifactId>accumulo-master</artifactId>
- <classifier>el6</classifier>
- <type>rpm</type>
- </dependency>
- <dependency>
- <groupId>org.apache.accumulo</groupId>
- <artifactId>accumulo-monitor</artifactId>
- <classifier>el6</classifier>
- <type>rpm</type>
- </dependency>
- <dependency>
- <groupId>org.apache.accumulo</groupId>
- <artifactId>accumulo-native</artifactId>
- <classifier>el6</classifier>
- <type>rpm</type>
- </dependency>
- <dependency>
- <groupId>org.apache.accumulo</groupId>
- <artifactId>accumulo-proxy</artifactId>
- <classifier>el6</classifier>
- <type>rpm</type>
- </dependency>
- <dependency>
- <groupId>org.apache.accumulo</groupId>
- <artifactId>accumulo-server-base</artifactId>
- <classifier>el6</classifier>
- <type>rpm</type>
- </dependency>
- <dependency>
- <groupId>org.apache.accumulo</groupId>
- <artifactId>accumulo-start</artifactId>
- <classifier>el6</classifier>
- <type>rpm</type>
- </dependency>
- <dependency>
- <groupId>org.apache.accumulo</groupId>
- <artifactId>accumulo-trace</artifactId>
- <classifier>el6</classifier>
- <type>rpm</type>
- </dependency>
- <dependency>
- <groupId>org.apache.accumulo</groupId>
- <artifactId>accumulo-tracer</artifactId>
- <classifier>el6</classifier>
- <type>rpm</type>
- </dependency>
- <dependency>
- <groupId>org.apache.accumulo</groupId>
- <artifactId>accumulo-tserver</artifactId>
- <classifier>el6</classifier>
- <type>rpm</type>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>rpm-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>build-rpm</id>
- <goals>
- <goal>attached-rpm</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <requires>
- <require>accumulo-core = %{version}-%{release}</require>
- <require>accumulo-docs = %{version}-%{release}</require>
- <require>accumulo-examples-simple = %{version}-%{release}</require>
- <require>accumulo-proxy = %{version}-%{release}</require>
- <require>accumulo-gc = %{version}-%{release}</require>
- <require>accumulo-master = %{version}-%{release}</require>
- <require>accumulo-monitor = %{version}-%{release}</require>
- <require>accumulo-native = %{version}-%{release}</require>
- <require>accumulo-tracer = %{version}-%{release}</require>
- <require>accumulo-tserver = %{version}-%{release}</require>
- <require>accumulo-init = %{version}-%{release}</require>
- </requires>
- <mappings>
- <mapping>
- <directory>%{_datadir}/accumulo-meta</directory>
- </mapping>
- </mappings>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-meta-rpm</id>
- <goals>
- <goal>copy</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>${project.groupId}</groupId>
- <artifactId>${project.artifactId}</artifactId>
- <version>${project.version}</version>
- <classifier>el6</classifier>
- <type>rpm</type>
- <overWrite>true</overWrite>
- <outputDirectory>${project.build.directory}/yum-repo</outputDirectory>
- <destFileName>${project.artifactId}-${project.version}.rpm</destFileName>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- <execution>
- <id>Copy RPMs</id>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <outputDirectory>${project.build.directory}/yum-repo</outputDirectory>
- <includeTypes>rpm</includeTypes>
- <stripClassifier>true</stripClassifier>
- <excludeTransitive>true</excludeTransitive>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>Create YUM repo</id>
- <goals>
- <goal>exec</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <executable>createrepo</executable>
- <arguments>
- <argument>${project.build.directory}/yum-repo</argument>
- </arguments>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
</profiles>
</project>
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/assemble/scripts/gc-only-init.sh
----------------------------------------------------------------------
diff --git a/assemble/scripts/gc-only-init.sh b/assemble/scripts/gc-only-init.sh
deleted file mode 100755
index 0771174..0000000
--- a/assemble/scripts/gc-only-init.sh
+++ /dev/null
@@ -1,47 +0,0 @@
-#! /bin/sh
-# 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.
-
-if [ $(id -ur) -ne 0 ]; then
- echo "This script must be run as root" 1>&2
- exit 1
-fi
-
-if [ ! -f /etc/default/accumulo ]; then
- mkdir -p /etc/default
- touch /etc/default/accumulo
-fi
-
-if ! grep "ACCUMULO_USER=" /etc/default/accumulo >> /dev/null ; then
- echo "ACCUMULO_USER=accumulo" >> /etc/default/accumulo
-fi
-
-if ! id -u accumulo >/dev/null 2>&1; then
- groupArg="U"
- if egrep "^accumulo:" /etc/group >> /dev/null; then
- groupArg="g accumulo"
- fi
- useradd -$groupArg -d /usr/lib/accumulo accumulo
-fi
-
-install -m 0755 -o root -g root init.d/accumulo-gc /etc/init.d/
-
-if which update-rc.d >>/dev/null 2>&1; then
- update-rc.d accumulo-gc start 21 2 3 4 5 . stop 20 0 1 6 .
-elif which chkconfig >>/dev/null 2>&1; then
- chkconfig --add accumulo-gc
-else
- echo "No update-rc.d or chkconfig, rc levels not set for accumulo-gc"
-fi
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/assemble/scripts/master-only-init.sh
----------------------------------------------------------------------
diff --git a/assemble/scripts/master-only-init.sh b/assemble/scripts/master-only-init.sh
deleted file mode 100755
index a11473f..0000000
--- a/assemble/scripts/master-only-init.sh
+++ /dev/null
@@ -1,46 +0,0 @@
-#! /bin/sh
-# 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.
-
-if [ $(id -ur) -ne 0 ]; then
- echo "This script must be run as root" 1>&2
- exit 1
-fi
-
-if [ ! -f /etc/default/accumulo ]; then
- mkdir -p /etc/default
- touch /etc/default/accumulo
-fi
-
-if ! grep "ACCUMULO_USER=" /etc/default/accumulo >> /dev/null ; then
- echo "ACCUMULO_USER=accumulo" >> /etc/default/accumulo
-fi
-
-if ! id -u accumulo >/dev/null 2>&1; then
- groupArg="U"
- if egrep "^accumulo:" /etc/group >> /dev/null; then
- groupArg="g accumulo"
- fi
- useradd -$groupArg -d /usr/lib/accumulo accumulo
-fi
-
-install -m 0755 -o root -g root init.d/accumulo-master /etc/init.d/
-if which update-rc.d >>/dev/null 2>&1; then
- update-rc.d accumulo-master start 21 2 3 4 5 . stop 19 0 1 6 .
-elif which chkconfig >>/dev/null 2>&1; then
- chkconfig --add accumulo-master
-else
- echo "No update-rc.d or chkconfig, rc levels not set for accumulo-master"
-fi
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/assemble/scripts/monitor-only-init.sh
----------------------------------------------------------------------
diff --git a/assemble/scripts/monitor-only-init.sh b/assemble/scripts/monitor-only-init.sh
deleted file mode 100755
index f18ae6a..0000000
--- a/assemble/scripts/monitor-only-init.sh
+++ /dev/null
@@ -1,45 +0,0 @@
-#! /bin/sh
-# 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.
-
-if [ $(id -ur) -ne 0 ]; then
- echo "This script must be run as root" 1>&2
- exit 1
-fi
-
-if [ ! -f /etc/default/accumulo ]; then
- mkdir -p /etc/default
- touch /etc/default/accumulo
-fi
-
-if ! grep "ACCUMULO_MONITOR_USER=" /etc/default/accumulo >> /dev/null ; then
- echo "ACCUMULO_MONITOR_USER=accumulo_monitor" >> /etc/default/accumulo
-fi
-
-if ! id -u accumulo_monitor >/dev/null 2>&1; then
- if ! egrep "^accumulo:" /etc/group > /dev/null; then
- groupadd accumulo
- fi
- useradd -d /usr/lib/accumulo -g accumulo accumulo_monitor
-fi
-
-install -m 0755 -o root -g root init.d/accumulo-monitor /etc/init.d/
-if which update-rc.d >>/dev/null 2>&1; then
- update-rc.d accumulo-monitor start 21 2 3 4 5 . stop 20 0 1 6 .
-elif which chkconfig >>/dev/null 2>&1; then
- chkconfig --add accumulo-monitor
-else
- echo "No update-rc.d or chkconfig, rc levels not set for accumulo-monitor"
-fi
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/assemble/scripts/stand-alone-init.sh
----------------------------------------------------------------------
diff --git a/assemble/scripts/stand-alone-init.sh b/assemble/scripts/stand-alone-init.sh
deleted file mode 100755
index fc69f17..0000000
--- a/assemble/scripts/stand-alone-init.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#! /bin/sh
-# 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.
-
-if [ $(id -ur) -ne 0 ]; then
- echo "This script must be run as root" 1>&2
- exit 1
-fi
-
-./gc-only-init.sh
-./monitor-only-init.sh
-./tracer-only-init.sh
-./master-only-init.sh
-./tserver-only-init.sh
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/assemble/scripts/tracer-only-init.sh
----------------------------------------------------------------------
diff --git a/assemble/scripts/tracer-only-init.sh b/assemble/scripts/tracer-only-init.sh
deleted file mode 100755
index ada4cf0..0000000
--- a/assemble/scripts/tracer-only-init.sh
+++ /dev/null
@@ -1,45 +0,0 @@
-#! /bin/sh
-# 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.
-
-if [ $(id -ur) -ne 0 ]; then
- echo "This script must be run as root" 1>&2
- exit 1
-fi
-
-if [ ! -f /etc/default/accumulo ]; then
- mkdir -p /etc/default
- touch /etc/default/accumulo
-fi
-
-if ! grep "ACCUMULO_TRACER_USER=" /etc/default/accumulo >> /dev/null ; then
- echo "ACCUMULO_TRACER_USER=accumulo_tracer" >> /etc/default/accumulo
-fi
-
-if ! id -u accumulo_tracer >/dev/null 2>&1; then
- if ! egrep "^accumulo:" /etc/group >> /dev/null; then
- groupadd accumulo
- fi
- useradd -d /usr/lib/accumulo -g accumulo accumulo_tracer
-fi
-
-install -m 0755 -o root -g root init.d/accumulo-tracer /etc/init.d/
-if which update-rc.d >>/dev/null 2>&1; then
- update-rc.d accumulo-tracer start 22 2 3 4 5 . stop 20 0 1 6 .
-elif which chkconfig >>/dev/null 2>&1; then
- chkconfig --add accumulo-tracer
-else
- echo "No update-rc.d or chkconfig, rc levels not set for accumulo-tracer"
-fi
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/assemble/scripts/tserver-only-init.sh
----------------------------------------------------------------------
diff --git a/assemble/scripts/tserver-only-init.sh b/assemble/scripts/tserver-only-init.sh
deleted file mode 100755
index 79e67df..0000000
--- a/assemble/scripts/tserver-only-init.sh
+++ /dev/null
@@ -1,46 +0,0 @@
-#! /bin/sh
-# 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.
-
-if [ $(id -ur) -ne 0 ]; then
- echo "This script must be run as root" 1>&2
- exit 1
-fi
-
-if [ ! -f /etc/default/accumulo ]; then
- mkdir -p /etc/default
- touch /etc/default/accumulo
-fi
-
-if ! grep "ACCUMULO_USER=" /etc/default/accumulo >> /dev/null ; then
- echo "ACCUMULO_USER=accumulo" >> /etc/default/accumulo
-fi
-
-if ! id -u accumulo >/dev/null 2>&1; then
- groupArg="U"
- if egrep "^accumulo:" /etc/group >> /dev/null; then
- groupArg="g accumulo"
- fi
- useradd -$groupArg -d /usr/lib/accumulo accumulo
-fi
-
-install -m 0755 -o root -g root init.d/accumulo-tserver /etc/init.d/
-if which update-rc.d >>/dev/null 2>&1; then
- update-rc.d accumulo-tserver start 21 2 3 4 5 . stop 15 0 1 6 .
-elif which chkconfig >>/dev/null 2>&1; then
- chkconfig --add accumulo-tserver
-else
- echo "No update-rc.d or chkconfig, rc levels not set for accumulo-tserver"
-fi
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/assemble/src/main/assemblies/component.xml
----------------------------------------------------------------------
diff --git a/assemble/src/main/assemblies/component.xml b/assemble/src/main/assemblies/component.xml
index 24515ea..3c3d9c1 100644
--- a/assemble/src/main/assemblies/component.xml
+++ b/assemble/src/main/assemblies/component.xml
@@ -36,8 +36,6 @@
</includes>
<excludes>
<exclude>${groupId}:${artifactId}-docs</exclude>
- <exclude>${groupId}:${artifactId}-*:rpm</exclude>
- <exclude>${groupId}:${artifactId}-*:deb</exclude>
</excludes>
</dependencySet>
<dependencySet>
@@ -226,36 +224,6 @@
</includes>
</fileSet>
<fileSet>
- <directory>scripts</directory>
- <directoryMode>0755</directoryMode>
- <fileMode>0755</fileMode>
- </fileSet>
- <fileSet>
- <directory>../server/gc/src/main/packaging/etc/init.d</directory>
- <outputDirectory>scripts/init.d</outputDirectory>
- <fileMode>0755</fileMode>
- </fileSet>
- <fileSet>
- <directory>../server/master/src/main/packaging/etc/init.d</directory>
- <outputDirectory>scripts/init.d</outputDirectory>
- <fileMode>0755</fileMode>
- </fileSet>
- <fileSet>
- <directory>../server/monitor/src/main/packaging/etc/init.d</directory>
- <outputDirectory>scripts/init.d</outputDirectory>
- <fileMode>0755</fileMode>
- </fileSet>
- <fileSet>
- <directory>../server/tracer/src/main/packaging/etc/init.d</directory>
- <outputDirectory>scripts/init.d</outputDirectory>
- <fileMode>0755</fileMode>
- </fileSet>
- <fileSet>
- <directory>../server/tserver/src/main/packaging/etc/init.d</directory>
- <outputDirectory>scripts/init.d</outputDirectory>
- <fileMode>0755</fileMode>
- </fileSet>
- <fileSet>
<directory>../</directory>
<fileMode>0644</fileMode>
<includes>
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/bin/etc_initd_accumulo
----------------------------------------------------------------------
diff --git a/bin/etc_initd_accumulo b/bin/etc_initd_accumulo
deleted file mode 100755
index 31f9f66..0000000
--- a/bin/etc_initd_accumulo
+++ /dev/null
@@ -1,57 +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.
-
-#
-# accumulo This shell script takes care of stopping and starting
-# accumulo on a single server
-# chkconfig: - 60 20
-# description: Apache Accumulo: an implementation of Google's BigTable
-# probe: false
-
-. /etc/rc.d/init.d/functions
-
-# Assuming the file is symlinked in from the distro bin directory, the
-# following should assign ACCUMULO_HOME the value of the directory that is
-# the distro root.
-
-ACCUMULO_HOME=$(dirname $(dirname $(readlink -f $0)))
-
-RETVAL=0
-case "$1" in
- start)
- $ACCUMULO_HOME/bin/start-here.sh
- RETVAL=$?
- ;;
- stop)
- $ACCUMULO_HOME/bin/stop-here.sh
- RETVAL=$?
- ;;
- status)
- COUNT=$(pgrep -f "$ACCUMULO_HOME.*org.apache.accumulo.start" | wc -l)
- echo "There are $COUNT accumulo processes on this machine"
- ;;
- restart)
- $0 stop
- $0 start
- ;;
- *)
- echo "Usage: $0 {start|stop|status|restart}"
- exit 1
- ;;
-esac
-
-exit 0
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/contrib/dotfile-rpmmacros
----------------------------------------------------------------------
diff --git a/contrib/dotfile-rpmmacros b/contrib/dotfile-rpmmacros
deleted file mode 100644
index 7145d67..0000000
--- a/contrib/dotfile-rpmmacros
+++ /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.
-
-# Copying this to $HOME/.rpmmacros is a workaround to use gpg-agent
-# to sign RPMs, given http://jira.codehaus.org/browse/MRPM-139
-
-%__gpg_check_password_cmd /bin/true
-%__gpg_sign_cmd %{__gpg} gpg --batch --no-verbose --no-armor --use-agent --no-secmem-warning -sbo %{__signature_filename} %{__plaintext_filename}
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/core/pom.xml
----------------------------------------------------------------------
diff --git a/core/pom.xml b/core/pom.xml
index ab77f46..dbb924d 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -236,166 +236,5 @@
</plugins>
</build>
</profile>
- <profile>
- <id>rpm</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>rpm-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>build-rpm</id>
- <goals>
- <goal>attached-rpm</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <copyright>ASL 2.0 and BSD</copyright>
- <requires>
- <require>jre >= 1.6.0</require>
- <require>hadoop >= 1.0.4</require>
- <require>zookeeper >= 3.3.0</require>
- <require>accumulo-trace = %{version}-%{release}</require>
- <require>accumulo-fate = %{version}-%{release}</require>
- <require>accumulo-start = %{version}-%{release}</require>
- </requires>
- <preinstallScriptlet>
- <script>getent group accumulo >/dev/null || groupadd -r accumulo; getent passwd accumulo >/dev/null || useradd -r -g accumulo -d %{_datadir}/accumulo -s /bin/bash -c "Apache Accumulo" accumulo; exit 0</script>
- </preinstallScriptlet>
- <postinstallScriptlet>
- <script>sysctl -q -p %{_sysconfdir}/sysctl.d/accumulo; ln -s %{_sysconfdir}/accumulo %{_datadir}/accumulo/conf</script>
- </postinstallScriptlet>
- <preremoveScriptlet>
- <script>rm -f %{_datadir}/accumulo/conf</script>
- </preremoveScriptlet>
- <mappings>
- <mapping>
- <directory>%{_datadir}/accumulo</directory>
- <sources>
- <source>
- <location>../CHANGES</location>
- </source>
- <source>
- <location>../LICENSE</location>
- </source>
- <source>
- <location>../NOTICE</location>
- </source>
- <source>
- <location>../README</location>
- </source>
- </sources>
- </mapping>
- <mapping>
- <directory>%{_javadir}/accumulo</directory>
- <artifact />
- </mapping>
- <mapping>
- <directory>%{_datadir}/accumulo/lib</directory>
- <dependency>
- <includes>
- <include>com.google.code.gson:gson</include>
- <include>org.apache.commons:commons-vfs2</include>
- <include>com.beust:jcommander</include>
- <include>com.google.guava:guava</include>
- <include>jline:jline</include>
- <include>org.apache.thrift:libthrift</include>
- </includes>
- <stripVersion>true</stripVersion>
- </dependency>
- </mapping>
- <mapping>
- <configuration>true</configuration>
- <directory>%{_sysconfdir}/accumulo</directory>
- <filemode>640</filemode>
- <username>accumulo</username>
- <sources>
- <source>
- <location>../conf</location>
- <includes>
- <include>*/**</include>
- </includes>
- </source>
- </sources>
- </mapping>
- <mapping>
- <directory>%{_datadir}/accumulo/bin</directory>
- <filemode>755</filemode>
- <sources>
- <source>
- <location>../bin</location>
- </source>
- </sources>
- </mapping>
- <mapping>
- <configuration>true</configuration>
- <directory>%{_sysconfdir}/sysctl.d</directory>
- <directoryIncluded>false</directoryIncluded>
- <sources>
- <source>
- <location>src/main/packaging/etc/sysctl.d/accumulo</location>
- </source>
- </sources>
- </mapping>
- <mapping>
- <configuration>true</configuration>
- <directory>%{_sysconfdir}/security/limits.d</directory>
- <directoryIncluded>false</directoryIncluded>
- <sources>
- <source>
- <location>src/main/packaging/etc/security/limits.d/50-accumulo.conf</location>
- </source>
- </sources>
- </mapping>
- </mappings>
- </configuration>
- </execution>
- <!--
- <execution>
- <id>build-tests-rpm</id>
- <goals>
- <goal>attached-rpm</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <name>accumulo-test</name>
- <classifier>test</classifier>
- <provides>
- <provide>accumulo-test</provide>
- </provides>
- <requires>
- <require>accumulo</require>
- <require>python</require>
- </requires>
- <mappings>
- <mapping>
- <directory>%{_datadir}/accumulo/test</directory>
- <sources>
- <source>
- <location>${accumulo-top}/test</location>
- <excludes>
- <exclude>src/**</exclude>
- <exclude>target/**</exclude>
- <exclude>**/walkers.txt</exclude>
- <exclude>**/ingesters.txt</exclude>
- <exclude>**/continuous-env.sh</exclude>
- <exclude>.*/**</exclude>
- <exclude>**/*.pyc</exclude>
- <exclude>**/*.pyo</exclude>
- <exclude>pom.xml</exclude>
- </excludes>
- </source>
- </sources>
- </mapping>
- </mappings>
- </configuration>
- </execution>
- -->
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
</profiles>
</project>
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/core/src/main/packaging/etc/security/limits.d/50-accumulo.conf
----------------------------------------------------------------------
diff --git a/core/src/main/packaging/etc/security/limits.d/50-accumulo.conf b/core/src/main/packaging/etc/security/limits.d/50-accumulo.conf
deleted file mode 100644
index be05006..0000000
--- a/core/src/main/packaging/etc/security/limits.d/50-accumulo.conf
+++ /dev/null
@@ -1,17 +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.
-
-@accumulo - nofile 100000
-@accumulo - nproc 100000
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/core/src/main/packaging/etc/sysctl.d/accumulo
----------------------------------------------------------------------
diff --git a/core/src/main/packaging/etc/sysctl.d/accumulo b/core/src/main/packaging/etc/sysctl.d/accumulo
deleted file mode 100644
index f8f653b..0000000
--- a/core/src/main/packaging/etc/sysctl.d/accumulo
+++ /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.
-
-vm.swappiness = 0
-vm.vfs_cache_pressure = 50
-vm.nr_hugepages = 0
-vm.dirty_background_ratio = 3
-vm.dirty_expire_centisecs = 1500
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/docs/pom.xml
----------------------------------------------------------------------
diff --git a/docs/pom.xml b/docs/pom.xml
index f7ad760..1518e31 100644
--- a/docs/pom.xml
+++ b/docs/pom.xml
@@ -123,49 +123,5 @@
</plugins>
</build>
</profile>
- <profile>
- <id>rpm</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>rpm-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>build-rpm</id>
- <goals>
- <goal>attached-rpm</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <provides>
- <provide>${project.artifactId} = %{version}-%{release}</provide>
- </provides>
- <requires>
- <require>accumulo-core = %{version}-%{release}</require>
- </requires>
- <mappings>
- <mapping>
- <directory>%{_datadir}/accumulo/docs</directory>
- <sources>
- <source>
- <location>${project.build.directory}/accumulo_user_manual.pdf</location>
- </source>
- <source>
- <location>src/main/resources/</location>
- </source>
- <source>
- <location>${project.build.directory}/config.html</location>
- </source>
- </sources>
- </mapping>
- </mappings>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
</profiles>
</project>
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/docs/src/main/resources/examples/README.dirlist
----------------------------------------------------------------------
diff --git a/docs/src/main/resources/examples/README.dirlist b/docs/src/main/resources/examples/README.dirlist
index eb129dd..50623c6 100644
--- a/docs/src/main/resources/examples/README.dirlist
+++ b/docs/src/main/resources/examples/README.dirlist
@@ -105,7 +105,7 @@ Here is an illustration of what data looks like in the data table:
row colf:colq [vis] value
274af6419a3c4c4a259260ac7017cbf1 refs:e77276a2b56e5c15b540eaae32b12c69\x00filext [exampleVis] README
274af6419a3c4c4a259260ac7017cbf1 refs:e77276a2b56e5c15b540eaae32b12c69\x00name [exampleVis] /local/Accumulo.README
- 274af6419a3c4c4a259260ac7017cbf1 ~chunk:\x00\x0FB@\x00\x00\x00\x00 [exampleVis] *******************************************************************************\x0A1. Building\x0A\x0AIn the normal tarball or RPM release of accumulo, [truncated]
+ 274af6419a3c4c4a259260ac7017cbf1 ~chunk:\x00\x0FB@\x00\x00\x00\x00 [exampleVis] *******************************************************************************\x0A1. Building\x0A\x0AIn the normal tarball release of accumulo, [truncated]
274af6419a3c4c4a259260ac7017cbf1 ~chunk:\x00\x0FB@\x00\x00\x00\x01 [exampleVis]
The rows are the md5 hash of the file. Some column family : column qualifier pairs are "refs" : hash of file name + null byte + property name, in which case the value is property value. There can be multiple references to the same file which are distinguished by the hash of the file name.
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/examples/simple/pom.xml
----------------------------------------------------------------------
diff --git a/examples/simple/pom.xml b/examples/simple/pom.xml
index a9c7e26..7930a54 100644
--- a/examples/simple/pom.xml
+++ b/examples/simple/pom.xml
@@ -102,38 +102,4 @@
</plugins>
</pluginManagement>
</build>
- <profiles>
- <profile>
- <id>rpm</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>rpm-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>build-rpm</id>
- <goals>
- <goal>attached-rpm</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <requires>
- <require>jre >= 1.6.0</require>
- <require>accumulo-core = %{version}-%{release}</require>
- </requires>
- <mappings>
- <mapping>
- <directory>%{_javadir}/accumulo</directory>
- <artifact />
- </mapping>
- </mappings>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
</project>
http://git-wip-us.apache.org/repos/asf/accumulo/blob/a1814fc0/fate/pom.xml
----------------------------------------------------------------------
diff --git a/fate/pom.xml b/fate/pom.xml
index 7026135..b339758 100644
--- a/fate/pom.xml
+++ b/fate/pom.xml
@@ -44,37 +44,4 @@
<scope>test</scope>
</dependency>
</dependencies>
- <profiles>
- <profile>
- <id>rpm</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>rpm-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>build-rpm</id>
- <goals>
- <goal>attached-rpm</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <requires>
- <require>jre >= 1.6.0</require>
- </requires>
- <mappings>
- <mapping>
- <directory>%{_javadir}/accumulo</directory>
- <artifact />
- </mapping>
- </mappings>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
</project>