[
https://issues.apache.org/jira/browse/BOOKKEEPER-28?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Kelly updated BOOKKEEPER-28:
---------------------------------
Attachment: BOOKKEEPER-28.diff
1.
I've added documentation now and removed the documentation for hw.bash. A lot
of the documentation referred to a benchmark application which doesn't exist in
the source tree, so I removed it.
2.
hw.bash does a whole load of things. It downloads zk & bk. This will be
unnecessary once zk 3.4.0 is released, which our 3.4.0 release is predicated
on. It sets up java. I think we should assume that people who want to run
bookkeeper/hedwig already have java. It sets up yourkit, but assumes a
hardcoded location. It's easier just to run <yourkit>/bin/yjp.sh -attach. It
has a custom command for changing logging levels. The scripts I attached allow
you to specify a custom log4j.properties at runtime. Lastly, it sets up ssh
keys, sudo, limits etc. This is downright dangerous to allow a script to do.
3. I've removed most of the pom.xml changes as they refer to the packaging.
I'll open another JIRA for them. The one thing I have removed is the automatic
generation of giant jars with all dependencies. With the scripts these are not
required to run bookkeeper or hedwig. For redistribution we the packaging jira
I just mentioned will package the dependencies in a way that the scripts can
pick them up.
> Create useful startup scripts for bookkeeper and hedwig
> -------------------------------------------------------
>
> Key: BOOKKEEPER-28
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-28
> Project: Bookkeeper
> Issue Type: Bug
> Reporter: Ivan Kelly
> Assignee: Ivan Kelly
> Fix For: 3.4.0
>
> Attachments: BOOKKEEPER-28.diff, BOOKKEEPER-28.diff,
> BOOKKEEPER-28.diff
>
>
> hedwig's current startup script is messy. bookkeeper doesn't even have one.
> They should be created before initial release
> bookkeeper-server/bin/bookkeeper
> hedwig-server/bin/hedwig
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira