incubator-accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r1238783 - in /incubator/accumulo/branches/1.4: README pom.xml src/packages/ src/packages/deb/ src/packages/deb/accumulo.control/ src/packages/deb/accumulo.control/control
Date Tue, 31 Jan 2012 20:07:31 GMT
Author: vines
Date: Tue Jan 31 20:07:31 2012
New Revision: 1238783

URL: http://svn.apache.org/viewvc?rev=1238783&view=rev
Log:
ACCUMULO-19 - we can now build the debian file for 1.4. Updated the README to include this
information, as well as to describe how to add Bigtop to the debian source list


Added:
    incubator/accumulo/branches/1.4/src/packages/
    incubator/accumulo/branches/1.4/src/packages/deb/
    incubator/accumulo/branches/1.4/src/packages/deb/accumulo.control/
    incubator/accumulo/branches/1.4/src/packages/deb/accumulo.control/control   (with props)
Modified:
    incubator/accumulo/branches/1.4/README
    incubator/accumulo/branches/1.4/pom.xml

Modified: incubator/accumulo/branches/1.4/README
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.4/README?rev=1238783&r1=1238782&r2=1238783&view=diff
==============================================================================
--- incubator/accumulo/branches/1.4/README (original)
+++ incubator/accumulo/branches/1.4/README Tue Jan 31 20:07:31 2012
@@ -16,6 +16,12 @@ but having them available suppresses a r
 
   $ ( cd ./src/server/src/main/c++ ; make )
 
+If you want to build the debian release, use the command "mvn package && maven
+-N jdeb:jdeb" to generate a .deb file 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.
+
 ******************************************************************************
 2. Deployment
 
@@ -23,7 +29,7 @@ Copy the accumulo tar file produced by "
 from the target/ directory to the desired destination, then untar it (e.g. 
 tar xvzf accumulo-1.4.0-incubating-SNAPSHOT-dist.tar.gz).
 
-If you are using the RPM, install the RPM on every machine that will run
+If you are using the RPM/deb, install the RPM/deb on every machine that will run
 accumulo.
 
 ******************************************************************************

Modified: incubator/accumulo/branches/1.4/pom.xml
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.4/pom.xml?rev=1238783&r1=1238782&r2=1238783&view=diff
==============================================================================
--- incubator/accumulo/branches/1.4/pom.xml (original)
+++ incubator/accumulo/branches/1.4/pom.xml Tue Jan 31 20:07:31 2012
@@ -309,6 +309,73 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <artifactId>jdeb</artifactId>
+        <groupId>org.vafer</groupId>
+        <version>0.8</version>
+        <inherited>false</inherited>
+        <configuration>
+          <deb>${project.build.directory}/${artifactId}_${project.version}-${os.arch}.deb</deb>
+          <controlDir>src/packages/deb/accumulo.control</controlDir>
+          <installDir>/opt/accumulo/accumulo-${project-version}</installDir>
+          <dataSet>
+            <data>
+              <src>lib</src>
+              <type>directory</type>
+              <mapper>
+                <type>perm</type>
+                <prefix>/opt/accumulo/accumulo-${project.version}/lib</prefix>
+              </mapper>
+              <excludes>**/.svn/**</excludes>
+            </data>
+            <data>
+              <src>README</src>
+              <type>file</type>
+              <mapper>
+                <type>perm</type>
+              <prefix>/opt/accumulo/accumulo-${project.version}</prefix>
+              </mapper>
+            </data>
+            <data>
+              <src>docs</src>
+              <type>directory</type>
+              <mapper>
+                <type>perm</type>
+                <prefix>/opt/accumulo/accumulo-${project.version}/docs</prefix>
+              </mapper>
+              <excludes>**/.svn/**</excludes>
+            </data>
+            <data>
+              <src>test</src>
+              <type>directory</type>
+              <mapper>
+                <type>perm</type>
+                <prefix>/opt/accumulo/accumulo-${project.version}/test</prefix>
+              </mapper>
+              <excludes>**/.svn/**,**/walkers.txt,**/ingesters.txt,**/continuous-env.sh,**/*.pyc</excludes>
+            </data>
+            <data>
+              <src>bin</src>
+              <type>directory</type>
+              <mapper>
+                <type>perm</type>
+                <prefix>/opt/accumulo/accumulo-${project.version}/bin</prefix>
+                <filemode>755</filemode>
+              </mapper>
+              <excludes>**/.svn/**</excludes>
+            </data>
+            <data>
+              <src>conf</src>
+              <type>directory</type>
+              <mapper>
+                <type>perm</type>
+                <prefix>/opt/accumulo/accumulo-${project.version}/conf</prefix>
+              </mapper>
+              <excludes>**/.svn/**,**/accumulo-site.xml,**/accumulo-env.sh,**/accumulo-metrics.xml,**/test-*,**/slaves,**/masters,**/tracers,**/gc,**/monitor</excludes>
+            </data>
+          </dataSet>
+        </configuration>
+      </plugin>
     </plugins>
     <pluginManagement>
       <plugins>

Added: incubator/accumulo/branches/1.4/src/packages/deb/accumulo.control/control
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.4/src/packages/deb/accumulo.control/control?rev=1238783&view=auto
==============================================================================
--- incubator/accumulo/branches/1.4/src/packages/deb/accumulo.control/control (added)
+++ incubator/accumulo/branches/1.4/src/packages/deb/accumulo.control/control Tue Jan 31 20:07:31
2012
@@ -0,0 +1,9 @@
+Package: [[name]]
+Version: [[version]]
+Section: utilities
+Priority: optional
+Architecture: all
+Depends: default-jre-headless, hadoop, hadoop-zookeeper
+Maintainer: Apache Software Foundation <accumulo-dev@incubator.apache.org>
+Description: Accumulo is a large distributed structured store based on Google's BigTable
design.
+Distribution: development

Propchange: incubator/accumulo/branches/1.4/src/packages/deb/accumulo.control/control
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message