Review Board 1.7.22


ZOOKEEPER-999 Create an package integration project

Review Request #1143 - Created July 19, 2011 and updated

Patrick Hunt
trunk
ZOOKEEPER-999
Reviewers
zookeeper
mahadev
zookeeper
This goal of this ticket is to generate a set of RPM/debian package which integrate well with RPM sets created by HADOOP-6255.

 
./README_packaging.txt
New File

    
   
1
README file for Packaging Notes

    
   
2

   

    
   
3
Package build command

    
   
4
---------------------

    
   
5

   

    
   
6
Command to build Debian package: ant deb

    
   
7
Command to build RPM Package: ant rpm

    
   
8

   

    
   
9
File structure layout

    
   
10
---------------------

    
   
11

   

    
   
12
src/packages/update-zookeeper-env.sh 

    
   
13
  - setup environment variables and symlink $PREFIX/etc/zookeeper to /etc/zookeeper.

    
   
14
  - This script is designed to run in post installation, and pre-remove phase of ZooKeeper package.

    
   
15
  - Run update-zookeeper-env.sh -h to get a list of supported parameters.

    
   
16

   

    
   
17
src/packages/template

    
   
18
  - Standard configuration template

    
   
19

   

    
   
20
src/packages/deb 

    
   
21
  Meta data for creating Debian package

    
   
22

   

    
   
23
src/packages/deb/init.d

    
   
24
  Daemon start/stop script for Debian flavor of Linux

    
   
25

   

    
   
26
src/packages/rpm 

    
   
27
  Meta data for creating RPM package

    
   
28

   

    
   
29
src/packages/rpm/init.d

    
   
30
  Daemon start/stop script for Redhat flavor of Linux
./bin/zkServer.sh
Diff Revision 3 Diff Revision 4
 
./src/packages/update-zookeeper-env.sh
Diff Revision 3 Diff Revision 4
 
./src/packages/deb/init.d/zookeeper
Diff Revision 3 Diff Revision 4
 
./src/packages/deb/zookeeper.control/control
Diff Revision 3 Diff Revision 4
 
./src/packages/templates/conf/zookeeper-env.sh
Diff Revision 3 Diff Revision 4
 
  1. ./README_packaging.txt: Loading...
  2. ./bin/zkServer.sh: Loading...
  3. ./src/packages/update-zookeeper-env.sh: Loading...
  4. ./src/packages/deb/init.d/zookeeper: Loading...
  5. ./src/packages/deb/zookeeper.control/control: Loading...
  6. ./src/packages/templates/conf/zookeeper-env.sh: Loading...