[
https://issues.apache.org/jira/browse/ZOOKEEPER-999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069738#comment-13069738
]
[email protected] commented on ZOOKEEPER-999:
---------------------------------------------------------
bq. On 2011-07-22 18:50:04, Patrick Hunt wrote:
bq. > The packaging code itself looks pretty good now. I've moved on to
verifying the installation, however I see issues installing the deb on a clean
ubuntu 10.10. Can you try generating the packages, install them and work
through these? (ie test on ubuntu and rhel/centos).
bq. >
bq. > 1) the following during install:
bq. >
bq. > Setting up zookeeper (3.4.0) ...
bq. > ln: creating symbolic link `/usr/etc/zookeeper': No such file or
directory
bq. >
bq. > 2) I'm unable to start the server, seems like number of issues: a) why
/usr/sbin/../etc/zookeeper for config, should just be /etc/zookeeper no? b)
permission issues, notice I am running this as sudo.
bq. >
bq. > sudo /etc/init.d/zookeeper start
bq. > * Starting Apache ZooKeeper server zookeeper
JMX enabled by default
bq. > Using config: /usr/sbin/../etc/zookeeper/zoo.cfg
bq. > grep: /usr/sbin/../etc/zookeeper/zoo.cfg: No such file or directory
bq. > mkdir: cannot create directory `': No such file or directory
bq. > Starting zookeeper ... /usr/bin/../sbin/zkServer.sh: line 109:
/zookeeper_server.pid: Permission denied
bq. > FAILED TO WRITE PID
bq. > /usr/bin/../sbin/zkServer.sh: line 105: ./zookeeper.out: Permission
denied
bq. >
[fail]
bq. >
1,2) My mistake, it should make /usr/etc and symlink /usr/etc/zookeeper to
/etc/zookeeper. On my test machines (RHEL, Ubuntu), I have Hadoop installed,
which was making /usr/etc. That was why it worked only on my machine. I will
correct this mistake.
bq. On 2011-07-22 18:50:04, Patrick Hunt wrote:
bq. > ./src/packages/deb/zookeeper.control/control, line 6
bq. > <https://reviews.apache.org/r/1143/diff/3-4/?file=26615#file26615line6>
bq. >
bq. > should we depend on either the jre or the jdk?
I have no problem using ZooKeeper with only JRE installed.
bq. On 2011-07-22 18:50:04, Patrick Hunt wrote:
bq. > ./README_packaging.txt, line 1
bq. > <https://reviews.apache.org/r/1143/diff/4/?file=26874#file26874line1>
bq. >
bq. > Nice!
bq. >
bq. > Would be nice to add - when I build where are the generated deb/rpm
files placed?
bq. >
bq. > Are there any requirements for building? (I don't think so, but I'm
not sure)
cppunit, and python-setuptools are required. Will include those in
README_packaging.txt.
bq. On 2011-07-22 18:50:04, Patrick Hunt wrote:
bq. > ./src/contrib/zkpython/src/packages/deb/zkpython.control/control, line 1
bq. > <https://reviews.apache.org/r/1143/diff/4/?file=26885#file26885line1>
bq. >
bq. > missing license - is there a way to add comments here or no?
Will do.
bq. On 2011-07-22 18:50:04, Patrick Hunt wrote:
bq. > ./src/packages/deb/zookeeper.control/conffile, line 1
bq. > <https://reviews.apache.org/r/1143/diff/4/?file=26889#file26889line1>
bq. >
bq. > license?
Will do.
bq. On 2011-07-22 18:50:04, Patrick Hunt wrote:
bq. > ./src/packages/templates/conf/zookeeper-env.sh, line 1
bq. > <https://reviews.apache.org/r/1143/diff/4/?file=26897#file26897line1>
bq. >
bq. > need license header here.
Will do.
bq. On 2011-07-22 18:50:04, Patrick Hunt wrote:
bq. > ./README_packaging.txt, line 9
bq. > <https://reviews.apache.org/r/1143/diff/4/?file=26874#file26874line9>
bq. >
bq. > It's great to document the source layout, could we also provide some
detail on where things are placed on the install machine? (high level is fine).
Included in the README_packaging.txt.
- Eric
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1143/#review1169
-----------------------------------------------------------
On 2011-07-22 18:24:20, Patrick Hunt wrote:
bq.
bq. -----------------------------------------------------------
bq. This is an automatically generated e-mail. To reply, visit:
bq. https://reviews.apache.org/r/1143/
bq. -----------------------------------------------------------
bq.
bq. (Updated 2011-07-22 18:24:20)
bq.
bq.
bq. Review request for zookeeper and Mahadev Konar.
bq.
bq.
bq. Summary
bq. -------
bq.
bq. This goal of this ticket is to generate a set of RPM/debian package which
integrate well with RPM sets created by HADOOP-6255.
bq.
bq.
bq. This addresses bug ZOOKEEPER-999.
bq. https://issues.apache.org/jira/browse/ZOOKEEPER-999
bq.
bq.
bq. Diffs
bq. -----
bq.
bq. ./README_packaging.txt PRE-CREATION
bq. ./bin/zkCleanup.sh 1148587
bq. ./bin/zkCli.sh 1148587
bq. ./bin/zkEnv.sh 1148587
bq. ./bin/zkServer.sh 1148587
bq. ./build.xml 1148587
bq. ./ivy.xml 1148587
bq. ./src/contrib/build-contrib.xml 1148587
bq. ./src/contrib/build.xml 1148587
bq. ./src/contrib/zkpython/build.xml 1148587
bq. ./src/contrib/zkpython/ivy.xml PRE-CREATION
bq. ./src/contrib/zkpython/src/packages/deb/zkpython.control/control
PRE-CREATION
bq. ./src/contrib/zkpython/src/packages/rpm/spec/zkpython.spec PRE-CREATION
bq. ./src/contrib/zkpython/src/python/setup.py 1148587
bq. ./src/packages/deb/init.d/zookeeper PRE-CREATION
bq. ./src/packages/deb/zookeeper.control/conffile PRE-CREATION
bq. ./src/packages/deb/zookeeper.control/control PRE-CREATION
bq. ./src/packages/deb/zookeeper.control/postinst PRE-CREATION
bq. ./src/packages/deb/zookeeper.control/postrm PRE-CREATION
bq. ./src/packages/deb/zookeeper.control/preinst PRE-CREATION
bq. ./src/packages/deb/zookeeper.control/prerm PRE-CREATION
bq. ./src/packages/rpm/init.d/zookeeper PRE-CREATION
bq. ./src/packages/rpm/spec/zookeeper.spec PRE-CREATION
bq. ./src/packages/templates/conf/zookeeper-env.sh PRE-CREATION
bq. ./src/packages/update-zookeeper-env.sh PRE-CREATION
bq. ./src/recipes/build-recipes.xml 1148587
bq. ./src/recipes/build.xml 1148587
bq. ./src/recipes/lock/build.xml 1148587
bq. ./src/recipes/queue/build.xml 1148587
bq.
bq. Diff: https://reviews.apache.org/r/1143/diff
bq.
bq.
bq. Testing
bq. -------
bq.
bq.
bq. Thanks,
bq.
bq. Patrick
bq.
bq.
> Create an package integration project
> -------------------------------------
>
> Key: ZOOKEEPER-999
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-999
> Project: ZooKeeper
> Issue Type: New Feature
> Components: build
> Environment: Java 6, RHEL/Ubuntu
> Reporter: Eric Yang
> Assignee: Eric Yang
> Fix For: 3.4.0
>
> Attachments: ZOOKEEPER-999-1.patch, ZOOKEEPER-999-2.patch,
> ZOOKEEPER-999-3.patch, ZOOKEEPER-999-4.patch, ZOOKEEPER-999-5.patch,
> ZOOKEEPER-999-6.patch, ZOOKEEPER-999-7.patch, ZOOKEEPER-999-8.patch,
> ZOOKEEPER-999.patch
>
>
> This goal of this ticket is to generate a set of RPM/debian package which
> integrate well with RPM sets created by HADOOP-6255.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira