You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by "John Vines (Commented) (JIRA)" <ji...@apache.org> on 2012/02/03 03:35:53 UTC

[jira] [Commented] (ACCUMULO-19) Debian packaging support

    [ https://issues.apache.org/jira/browse/ACCUMULO-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13199486#comment-13199486 ] 

John Vines commented on ACCUMULO-19:
------------------------------------

So, in order to do a proper setup, we should segregate the configuration from the main installation. This means a change in our scripts. I'm proposing half-assing it for 1.4, and then for 1.5 we should have a full, proper installation. This means setting up the config files in /etc, appropriate locations for the walogs and logs. Thoughts?
                
> Debian packaging support
> ------------------------
>
>                 Key: ACCUMULO-19
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-19
>             Project: Accumulo
>          Issue Type: New Feature
>          Components: dist
>    Affects Versions: 1.4.0
>            Reporter: Scott Kuehn
>            Assignee: Scott Kuehn
>            Priority: Minor
>             Fix For: 1.4.0, 1.5.0
>
>         Attachments: ACCUMULO-19.patch, ACCUMULO-19_v2.patch, ACCUMULO-19_v3.patch
>
>
> This ticket is for improving Accumulo ease-of-installation by adding built-in support for debian packing. 
> Debian pkg support requires:
> 1. Creating the deb package lifecycle hook scripts, such as 'preinst' and 'postinst'
> 2. Creating an init.d script (one of these already exists in bin/)
> 3. Integrating deb construction into the build lifecycle.  There are some mvn dpkg plugins, but Im not sure how well these work.  It might just be easier to run the deb construction as a delegated ant task (via the maven's antrun plugin)
> Outline of required files: Putting all related packing files under src/packages, which is consistent with other Apache projects, such as zookeeper.
> The following dpkg hooks go in src/packages/deb/accumulo.control/:
> conffile, control, postinst, postrm, preinst, prerm
> An init.d script (which I think can just be a copy of bin/etc_initd_accumulo) goes in src/packages/init.d:

--
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