You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org> on 2012/02/24 01:25:54 UTC
[jira] [Commented] (MESOS-74) Create Mesos Debian Package
[ https://issues.apache.org/jira/browse/MESOS-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13215254#comment-13215254 ]
jiraposter@reviews.apache.org commented on MESOS-74:
----------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2850/
-----------------------------------------------------------
(Updated 2012-02-24 00:24:13.327062)
Review request for mesos.
Changes
-------
Update diff for autotools build system changes.
Summary
-------
This adds files sufficient to build a package for Ubuntu 11.10. After the patch and a fix for MESOS-81, running
./debian/make_snapshot_changelog.sh && debuild -us -uc
should produce a .deb. It is currently necessary that 'java' and 'javac' be configured (as through update-alternatives) to be OpenJDK 7 for this to work.
The resulting package installs Mesos components into /usr/local/mesos, and uses python2.7 and OpenJDK 7. Upstart scripts are installed for mesos-master and mesos-slave along with an /etc/default/mesos to configure them.
Things still to be done to make more generally acceptable Debian packages:
- allow building against other JDKs and python versions, so this package can be built for other Debian-based distros (at least earlier versions of Ubuntu);
- install configuration templates;
- make default configuration use places in /var/log for logging and /var/spool (??) or /var/tmp (??) for work directories.
- fix various lintian violations:
- install Mesos to standard directories: binaries to /usr/sbin and /usr/bin; libraries to /usr/lib; headers to /usr/include (?); python libraries to ??
- don't use RPATH to make linking against libjvm work at test time
- don't install .py files as executable
- add documentation on how to configure the given startup scripts;
This addresses bug MESOS-74.
https://issues.apache.org/jira/browse/MESOS-74
Diffs (updated)
-----
debian/compat PRE-CREATION
debian/control PRE-CREATION
debian/copyright PRE-CREATION
debian/make_snapshot_changelog.sh PRE-CREATION
debian/mesos.default PRE-CREATION
debian/mesos.mesos-master.upstart PRE-CREATION
debian/mesos.mesos-slave.upstart PRE-CREATION
debian/rules PRE-CREATION
debian/source/format PRE-CREATION
third_party/libprocess/install-sh 4fbbae7
Diff: https://reviews.apache.org/r/2850/diff
Testing
-------
Package installed, configured to get webui on Ubuntu 11.10 server.
Thanks,
Charles
> Create Mesos Debian Package
> ---------------------------
>
> Key: MESOS-74
> URL: https://issues.apache.org/jira/browse/MESOS-74
> Project: Mesos
> Issue Type: New Feature
> Reporter: Andy Konwinski
> Assignee: Charles Reiss
>
> Having Mesos be installable via debian package (i.e. using dpkg -i) would make it easier for folks to download, install, and try out Mesos!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira