incubator-accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r1294290 - in /incubator/accumulo/trunk: ./ bin/ src/assemble/ src/packages/ src/packages/deb/ src/packages/deb/accumulo-custom-conf/ src/packages/deb/accumulo-gc/ src/packages/deb/accumulo-logger/ src/packages/deb/accumulo-master/ src/pack...
Date Mon, 27 Feb 2012 19:23:52 GMT
Author: vines
Date: Mon Feb 27 19:23:51 2012
New Revision: 1294290

URL: http://svn.apache.org/viewvc?rev=1294290&view=rev
Log:
Merging ACCUMULO-19


Added:
    incubator/accumulo/trunk/src/packages/
    incubator/accumulo/trunk/src/packages/deb/
    incubator/accumulo/trunk/src/packages/deb/accumulo/
    incubator/accumulo/trunk/src/packages/deb/accumulo-custom-conf/
    incubator/accumulo/trunk/src/packages/deb/accumulo-custom-conf/control   (with props)
    incubator/accumulo/trunk/src/packages/deb/accumulo-gc/
    incubator/accumulo/trunk/src/packages/deb/accumulo-gc/control   (with props)
    incubator/accumulo/trunk/src/packages/deb/accumulo-logger/
    incubator/accumulo/trunk/src/packages/deb/accumulo-logger/control   (with props)
    incubator/accumulo/trunk/src/packages/deb/accumulo-master/
    incubator/accumulo/trunk/src/packages/deb/accumulo-master/control   (with props)
    incubator/accumulo/trunk/src/packages/deb/accumulo-monitor/
    incubator/accumulo/trunk/src/packages/deb/accumulo-monitor/control   (with props)
    incubator/accumulo/trunk/src/packages/deb/accumulo-native/
    incubator/accumulo/trunk/src/packages/deb/accumulo-native/control   (with props)
    incubator/accumulo/trunk/src/packages/deb/accumulo-native/postinst
    incubator/accumulo/trunk/src/packages/deb/accumulo-native/postrm
    incubator/accumulo/trunk/src/packages/deb/accumulo-single-conf/
    incubator/accumulo/trunk/src/packages/deb/accumulo-single-conf/control   (with props)
    incubator/accumulo/trunk/src/packages/deb/accumulo-singleton/
    incubator/accumulo/trunk/src/packages/deb/accumulo-singleton/control   (with props)
    incubator/accumulo/trunk/src/packages/deb/accumulo-slave/
    incubator/accumulo/trunk/src/packages/deb/accumulo-slave/control   (with props)
    incubator/accumulo/trunk/src/packages/deb/accumulo-test/
    incubator/accumulo/trunk/src/packages/deb/accumulo-test/control   (with props)
    incubator/accumulo/trunk/src/packages/deb/accumulo-tserver/
    incubator/accumulo/trunk/src/packages/deb/accumulo-tserver/control   (with props)
    incubator/accumulo/trunk/src/packages/deb/accumulo/conffile
    incubator/accumulo/trunk/src/packages/deb/accumulo/control   (with props)
    incubator/accumulo/trunk/src/packages/deb/accumulo/postinst
    incubator/accumulo/trunk/src/packages/deb/accumulo/postrm
Modified:
    incubator/accumulo/trunk/   (props changed)
    incubator/accumulo/trunk/bin/accumulo
    incubator/accumulo/trunk/bin/config.sh
    incubator/accumulo/trunk/src/assemble/pom.xml

Propchange: incubator/accumulo/trunk/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Mon Feb 27 19:23:51 2012
@@ -1,3 +1,3 @@
 /incubator/accumulo/branches/1.3:1190280,1190413,1190420,1190427,1190500,1195622,1195625,1195629,1195635,1196044,1196054,1196057,1196071-1196072,1196106,1197066,1198935,1199383,1203683,1204625,1205547,1205880,1206169,1208031,1209124,1209526,1209532,1209539,1209541,1209587,1209657,1210518,1210571,1210596,1210598,1213424,1214320,1225006,1227215,1227231,1227611,1228195,1230180,1230736,1231043,1236873,1245632
 /incubator/accumulo/branches/1.3.5rc:1209938
-/incubator/accumulo/branches/1.4:1201902-1293435
+/incubator/accumulo/branches/1.4:1201902-1294288

Modified: incubator/accumulo/trunk/bin/accumulo
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/bin/accumulo?rev=1294290&r1=1294289&r2=1294290&view=diff
==============================================================================
--- incubator/accumulo/trunk/bin/accumulo (original)
+++ incubator/accumulo/trunk/bin/accumulo Mon Feb 27 19:23:51 2012
@@ -16,7 +16,8 @@
 # limitations under the License.
 
 
-bin=`dirname "$0"`
+bin=`readlink -f "$0"`
+bin=`dirname "$bin"`
 bin=`cd "$bin"; pwd`
 
 . "$bin"/config.sh

Modified: incubator/accumulo/trunk/bin/config.sh
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/bin/config.sh?rev=1294290&r1=1294289&r2=1294290&view=diff
==============================================================================
--- incubator/accumulo/trunk/bin/config.sh (original)
+++ incubator/accumulo/trunk/bin/config.sh Mon Feb 27 19:23:51 2012
@@ -15,8 +15,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-#copied below from hadoop-config.sh
-this="$0"
+this=`readlink -f "$0"`
 while [ -h "$this" ]; do
     ls=`ls -ld "$this"`
     link=`expr "$ls" : '.*-> \(.*\)$'`
@@ -59,7 +58,6 @@ then
       exit 1
    fi
    HADOOP_HOME=`dirname $HADOOP_HOME`
-   HADOOP_HOME=`dirname $HADOOP_HOME`
 fi
 export HADOOP_HOME
 

Modified: incubator/accumulo/trunk/src/assemble/pom.xml
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/assemble/pom.xml?rev=1294290&r1=1294289&r2=1294290&view=diff
==============================================================================
--- incubator/accumulo/trunk/src/assemble/pom.xml (original)
+++ incubator/accumulo/trunk/src/assemble/pom.xml Mon Feb 27 19:23:51 2012
@@ -249,5 +249,176 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>deb</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>jdeb</artifactId>
+            <groupId>org.vafer</groupId>
+            <version>0.10</version>
+            <inherited>false</inherited>
+            <executions>
+              <execution>
+                <id>accumulo</id>
+                <phase>package</phase>
+                <goals>
+                  <goal>jdeb</goal>
+                </goals>
+                <configuration>
+                  <deb>${project.build.directory}/${artifactId}_${project.version}.deb</deb>
+                  <attach>false</attach>
+                  <controlDir>src/packages/deb/accumulo</controlDir>
+                  <installDir>/usr/lib/accumulo</installDir>
+                  <dataSet>
+                    <data>
+                      <src>${project.parent.relativePath}/lib</src>
+                      <type>directory</type>
+                      <mapper>
+                        <type>perm</type>
+                        <prefix>/usr/lib/accumulo/lib</prefix>
+                      </mapper>
+                      <excludes>**/.svn/**</excludes>
+                    </data>
+                    <data>
+                      <src>${project.parent.relativePath}/NOTICE</src>
+                      <type>file</type>
+                      <mapper>
+                        <type>perm</type>
+                      <prefix>/usr/lib/accumulo</prefix>
+                      </mapper>
+                    </data>
+                    <data>
+                      <src>${project.parent.relativePath}/DISCLAIMER</src>
+                      <type>file</type>
+                      <mapper>
+                        <type>perm</type>
+                      <prefix>/usr/lib/accumulo</prefix>
+                      </mapper>
+                    </data>
+                    <data>
+                      <src>${project.parent.relativePath}/NOTICE</src>
+                      <type>file</type>
+                      <mapper>
+                        <type>perm</type>
+                      <prefix>/usr/lib/accumulo</prefix>
+                      </mapper>
+                    </data>
+                    <data>
+                      <src>${project.parent.relativePath}/CHANGES</src>
+                      <type>file</type>
+                      <mapper>
+                        <type>perm</type>
+                      <prefix>/usr/lib/accumulo</prefix>
+                      </mapper>
+                    </data>
+                    <data>
+                      <src>${project.parent.relativePath}/README</src>
+                      <type>file</type>
+                      <mapper>
+                        <type>perm</type>
+                      <prefix>/usr/lib/accumulo</prefix>
+                      </mapper>
+                    </data>
+                    <data>
+                      <src>${project.parent.relativePath}/docs</src>
+                      <type>directory</type>
+                      <mapper>
+                        <type>perm</type>
+                        <prefix>/usr/lib/accumulo/docs</prefix>
+                      </mapper>
+                      <excludes>**/.svn/**</excludes>
+                    </data>
+                    <data>
+                      <src>${project.parent.relativePath}/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>${project.parent.relativePath}/conf</src>
+                      <type>directory</type>
+                      <mapper>
+                        <type>perm</type>
+                        <prefix>/usr/lib/accumulo/conf</prefix>
+                      </mapper>
+                      <excludes>**/.svn/**,**/accumulo-site.xml,**/accumulo-env.sh,**/accumulo-metrics.xml,**/test-*,**/slaves,**/masters,**/tracers,**/gc,**/monitor</excludes>
+                    </data>
+                  </dataSet>
+                </configuration>
+              </execution>
+              <execution>
+                <id>accumulo-native</id>
+                <phase>package</phase>
+                <goals>
+                  <goal>jdeb</goal>
+                </goals>
+                <configuration>
+                  <attach>false</attach>
+                  <controlDir>src/packages/deb/accumulo-native</controlDir>
+                  <installDir>/usr/lib/accumulo</installDir>
+                  <deb>${project.build.directory}/${artifactId}-native_${project.version}-${os.arch}.deb</deb>
+                  <dataSet>
+                    <data>
+                      <src>${project.parent.relativePath}/src/server/src/main/c++</src>
+                      <type>directory</type>
+                      <mapper>
+                        <type>perm</type>
+                        <prefix>/usr/lib/accumulo/src/server/src/main/c++</prefix>
+                      </mapper>
+                      <excludes>**/.svn/**</excludes>
+                    </data>
+                    <data>
+                      <src>${project.parent.relativePath}/src/server/src/main/java/org/apache/accumulo/server/tabletserver/MLock.java</src>
+                      <type>file</type>
+                      <mapper>
+                        <type>perm</type>
+                        <prefix>/usr/lib/accumulo/src/server/src/main/java/org/apache/accumulo/server/tabletserver/MLock.java</prefix>
+                      </mapper>
+                    </data>
+                    <data>
+                      <src>${project.parent.relativePath}/src/server/src/main/java/org/apache/accumulo/server/tabletserver/NativeMap.java</src>
+                      <type>file</type>
+                      <mapper>
+                        <type>perm</type>
+                        <prefix>/usr/lib/accumulo/src/server/src/main/java/org/apache/accumulo/server/tabletserver/NativeMap.java</prefix>
+                      </mapper>
+                    </data>
+                  </dataSet>
+                </configuration>
+              </execution>
+              <execution>
+                <id>accumulo-test</id>
+                <phase>package</phase>
+                <goals>
+                  <goal>jdeb</goal>
+                </goals>
+                <configuration>
+                  <attach>false</attach>
+                  <controlDir>src/packages/deb/accumulo-test</controlDir>
+                  <installDir>/usr/lib/accumulo</installDir>
+                  <deb>${project.build.directory}/${artifactId}-test_${project.version}-${os.arch}.deb</deb>
+                  <dataSet>
+                    <data>
+                      <src>${project.parent.relativePath}/test</src>
+                      <type>directory</type>
+                      <mapper>
+                        <type>perm</type>
+                        <prefix>/usr/lib/accumulo/test</prefix>
+                      </mapper>
+                      <excludes>**/.svn/**,**/*.pyc</excludes>
+                    </data>
+                  </dataSet>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 </project>

Added: incubator/accumulo/trunk/src/packages/deb/accumulo-custom-conf/control
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/packages/deb/accumulo-custom-conf/control?rev=1294290&view=auto
==============================================================================
--- incubator/accumulo/trunk/src/packages/deb/accumulo-custom-conf/control (added)
+++ incubator/accumulo/trunk/src/packages/deb/accumulo-custom-conf/control Mon Feb 27 19:23:51
2012
@@ -0,0 +1,27 @@
+# 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 <accumulo-dev@incubator.apache.org>
+Homepage: http://incubator.apache.org/accumulo
+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

Propchange: incubator/accumulo/trunk/src/packages/deb/accumulo-custom-conf/control
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/accumulo/trunk/src/packages/deb/accumulo-gc/control
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/packages/deb/accumulo-gc/control?rev=1294290&view=auto
==============================================================================
--- incubator/accumulo/trunk/src/packages/deb/accumulo-gc/control (added)
+++ incubator/accumulo/trunk/src/packages/deb/accumulo-gc/control Mon Feb 27 19:23:51 2012
@@ -0,0 +1,27 @@
+# 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 <accumulo-dev@incubator.apache.org>
+Homepage: http://incubator.apache.org/accumulo
+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
+

Propchange: incubator/accumulo/trunk/src/packages/deb/accumulo-gc/control
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/accumulo/trunk/src/packages/deb/accumulo-logger/control
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/packages/deb/accumulo-logger/control?rev=1294290&view=auto
==============================================================================
--- incubator/accumulo/trunk/src/packages/deb/accumulo-logger/control (added)
+++ incubator/accumulo/trunk/src/packages/deb/accumulo-logger/control Mon Feb 27 19:23:51
2012
@@ -0,0 +1,26 @@
+# 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 <accumulo-dev@incubator.apache.org>
+Homepage: http://incubator.apache.org/accumulo
+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

Propchange: incubator/accumulo/trunk/src/packages/deb/accumulo-logger/control
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/accumulo/trunk/src/packages/deb/accumulo-master/control
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/packages/deb/accumulo-master/control?rev=1294290&view=auto
==============================================================================
--- incubator/accumulo/trunk/src/packages/deb/accumulo-master/control (added)
+++ incubator/accumulo/trunk/src/packages/deb/accumulo-master/control Mon Feb 27 19:23:51
2012
@@ -0,0 +1,26 @@
+# 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 <accumulo-dev@incubator.apache.org>
+Homepage: http://incubator.apache.org/accumulo
+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

Propchange: incubator/accumulo/trunk/src/packages/deb/accumulo-master/control
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/accumulo/trunk/src/packages/deb/accumulo-monitor/control
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/packages/deb/accumulo-monitor/control?rev=1294290&view=auto
==============================================================================
--- incubator/accumulo/trunk/src/packages/deb/accumulo-monitor/control (added)
+++ incubator/accumulo/trunk/src/packages/deb/accumulo-monitor/control Mon Feb 27 19:23:51
2012
@@ -0,0 +1,26 @@
+# 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 <accumulo-dev@incubator.apache.org>
+Homepage: http://incubator.apache.org/accumulo
+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

Propchange: incubator/accumulo/trunk/src/packages/deb/accumulo-monitor/control
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/accumulo/trunk/src/packages/deb/accumulo-native/control
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/packages/deb/accumulo-native/control?rev=1294290&view=auto
==============================================================================
--- incubator/accumulo/trunk/src/packages/deb/accumulo-native/control (added)
+++ incubator/accumulo/trunk/src/packages/deb/accumulo-native/control Mon Feb 27 19:23:51
2012
@@ -0,0 +1,26 @@
+# 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 <accumulo-dev@incubator.apache.org>
+Homepage: http://incubator.apache.org/accumulo
+Package: accumulo-native
+Version: [[version]]
+Section: misc
+Architecture: all
+Depends: default-jdk, 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.

Propchange: incubator/accumulo/trunk/src/packages/deb/accumulo-native/control
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/accumulo/trunk/src/packages/deb/accumulo-native/postinst
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/packages/deb/accumulo-native/postinst?rev=1294290&view=auto
==============================================================================
--- incubator/accumulo/trunk/src/packages/deb/accumulo-native/postinst (added)
+++ incubator/accumulo/trunk/src/packages/deb/accumulo-native/postinst Mon Feb 27 19:23:51
2012
@@ -0,0 +1,22 @@
+#!/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
+export JAVA_HOME=/usr/lib/jvm/default-java
+cd /usr/lib/accumulo/src/server/src/main/c++
+make
+

Added: incubator/accumulo/trunk/src/packages/deb/accumulo-native/postrm
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/packages/deb/accumulo-native/postrm?rev=1294290&view=auto
==============================================================================
--- incubator/accumulo/trunk/src/packages/deb/accumulo-native/postrm (added)
+++ incubator/accumulo/trunk/src/packages/deb/accumulo-native/postrm Mon Feb 27 19:23:51 2012
@@ -0,0 +1,20 @@
+#!/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

Added: incubator/accumulo/trunk/src/packages/deb/accumulo-single-conf/control
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/packages/deb/accumulo-single-conf/control?rev=1294290&view=auto
==============================================================================
--- incubator/accumulo/trunk/src/packages/deb/accumulo-single-conf/control (added)
+++ incubator/accumulo/trunk/src/packages/deb/accumulo-single-conf/control Mon Feb 27 19:23:51
2012
@@ -0,0 +1,27 @@
+# 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 <accumulo-dev@incubator.apache.org>
+Homepage: http://incubator.apache.org/accumulo
+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

Propchange: incubator/accumulo/trunk/src/packages/deb/accumulo-single-conf/control
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/accumulo/trunk/src/packages/deb/accumulo-singleton/control
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/packages/deb/accumulo-singleton/control?rev=1294290&view=auto
==============================================================================
--- incubator/accumulo/trunk/src/packages/deb/accumulo-singleton/control (added)
+++ incubator/accumulo/trunk/src/packages/deb/accumulo-singleton/control Mon Feb 27 19:23:51
2012
@@ -0,0 +1,26 @@
+# 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 <accumulo-dev@incubator.apache.org>
+Homepage: http://incubator.apache.org/accumulo
+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

Propchange: incubator/accumulo/trunk/src/packages/deb/accumulo-singleton/control
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/accumulo/trunk/src/packages/deb/accumulo-slave/control
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/packages/deb/accumulo-slave/control?rev=1294290&view=auto
==============================================================================
--- incubator/accumulo/trunk/src/packages/deb/accumulo-slave/control (added)
+++ incubator/accumulo/trunk/src/packages/deb/accumulo-slave/control Mon Feb 27 19:23:51 2012
@@ -0,0 +1,26 @@
+# 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 <accumulo-dev@incubator.apache.org>
+Homepage: http://incubator.apache.org/accumulo
+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

Propchange: incubator/accumulo/trunk/src/packages/deb/accumulo-slave/control
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/accumulo/trunk/src/packages/deb/accumulo-test/control
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/packages/deb/accumulo-test/control?rev=1294290&view=auto
==============================================================================
--- incubator/accumulo/trunk/src/packages/deb/accumulo-test/control (added)
+++ incubator/accumulo/trunk/src/packages/deb/accumulo-test/control Mon Feb 27 19:23:51 2012
@@ -0,0 +1,26 @@
+# 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 <accumulo-dev@incubator.apache.org>
+Homepage: http://incubator.apache.org/accumulo
+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

Propchange: incubator/accumulo/trunk/src/packages/deb/accumulo-test/control
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/accumulo/trunk/src/packages/deb/accumulo-tserver/control
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/packages/deb/accumulo-tserver/control?rev=1294290&view=auto
==============================================================================
--- incubator/accumulo/trunk/src/packages/deb/accumulo-tserver/control (added)
+++ incubator/accumulo/trunk/src/packages/deb/accumulo-tserver/control Mon Feb 27 19:23:51
2012
@@ -0,0 +1,26 @@
+# 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 <accumulo-dev@incubator.apache.org>
+Homepage: http://incubator.apache.org/accumulo
+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

Propchange: incubator/accumulo/trunk/src/packages/deb/accumulo-tserver/control
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/accumulo/trunk/src/packages/deb/accumulo/conffile
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/packages/deb/accumulo/conffile?rev=1294290&view=auto
==============================================================================
--- incubator/accumulo/trunk/src/packages/deb/accumulo/conffile (added)
+++ incubator/accumulo/trunk/src/packages/deb/accumulo/conffile Mon Feb 27 19:23:51 2012
@@ -0,0 +1,8 @@
+/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

Added: incubator/accumulo/trunk/src/packages/deb/accumulo/control
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/packages/deb/accumulo/control?rev=1294290&view=auto
==============================================================================
--- incubator/accumulo/trunk/src/packages/deb/accumulo/control (added)
+++ incubator/accumulo/trunk/src/packages/deb/accumulo/control Mon Feb 27 19:23:51 2012
@@ -0,0 +1,27 @@
+# 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 <accumulo-dev@incubator.apache.org>
+Homepage: http://incubator.apache.org/accumulo
+Package: accumulo
+Version: [[version]]
+Section: misc
+Architecture: all
+Depends: default-jre-headless, hadoop, hadoop-zookeeper, coreutils
+Recommends: accumulo-native
+Description: Accumulo is a large distributed structured store based on Google's BigTable
design.
+Distribution: development

Propchange: incubator/accumulo/trunk/src/packages/deb/accumulo/control
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/accumulo/trunk/src/packages/deb/accumulo/postinst
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/packages/deb/accumulo/postinst?rev=1294290&view=auto
==============================================================================
--- incubator/accumulo/trunk/src/packages/deb/accumulo/postinst (added)
+++ incubator/accumulo/trunk/src/packages/deb/accumulo/postinst Mon Feb 27 19:23:51 2012
@@ -0,0 +1,33 @@
+#!/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/log/accumulo/walogs
+ln -fs /var/log/accumulo/logs /usr/lib/accumulo/logs 
+ln -fs /var/log/accumulo/walogs /usr/lib/accumulo/walogs 
+
+for files in `ls /etc/accumulo/conf/accumulo-env.sh.*`; do
+  sed -i -e 's:/path/to/java:/usr/lib/jvm/default-java:' $files 
+  sed -i -e 's:/path/to/zookeeper:/usr/lib/zookeeper:' $files 
+  sed -i -e 's:/path/to/hadoop:/usr/lib/hadoop:' $files 
+done 

Added: incubator/accumulo/trunk/src/packages/deb/accumulo/postrm
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/packages/deb/accumulo/postrm?rev=1294290&view=auto
==============================================================================
--- incubator/accumulo/trunk/src/packages/deb/accumulo/postrm (added)
+++ incubator/accumulo/trunk/src/packages/deb/accumulo/postrm Mon Feb 27 19:23:51 2012
@@ -0,0 +1,36 @@
+#!/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/logs
+rm -f /usr/lib/accumulo/walogs
+rm -f /usr/lib/accumulo/conf
+rm -f /usr/bin/accumulo
+case "$1" in
+  purge)
+    rm -Rf /var/log/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
+
+exit 0



Mime
View raw message