You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Roman Shaposhnik (Created) (JIRA)" <ji...@apache.org> on 2012/02/07 05:22:59 UTC
[jira] [Created] (BIGTOP-389) need to start packaging apache
commons daemon
need to start packaging apache commons daemon
---------------------------------------------
Key: BIGTOP-389
URL: https://issues.apache.org/jira/browse/BIGTOP-389
Project: Bigtop
Issue Type: Bug
Components: General
Affects Versions: 0.2.0
Reporter: Roman Shaposhnik
Assignee: Roman Shaposhnik
Fix For: 0.3.0
The packages for jsvc seem to lag behind on Linux distros, it would be nice if Bigtop provided the packages of the latest ones as they are need by Hadoop DN.
--
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
[jira] [Updated] (BIGTOP-389) need to start packaging apache
commons daemon jsvc
Posted by "Roman Shaposhnik (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roman Shaposhnik updated BIGTOP-389:
------------------------------------
Fix Version/s: (was: 0.3.0)
0.4.0
> need to start packaging apache commons daemon jsvc
> --------------------------------------------------
>
> Key: BIGTOP-389
> URL: https://issues.apache.org/jira/browse/BIGTOP-389
> Project: Bigtop
> Issue Type: Bug
> Components: General
> Affects Versions: 0.2.0
> Reporter: Roman Shaposhnik
> Assignee: Roman Shaposhnik
> Fix For: 0.4.0
>
> Attachments: BIGTOP-389-2.patch.txt, BIGTOP-389-3.patch.txt, BIGTOP-389-hadoop.patch.txt, BIGTOP-389.patch.txt
>
>
> The packages for jsvc seem to lag behind on Linux distros, it would be nice if Bigtop provided the packages of the latest ones as they are need by Hadoop DN.
> Please note we're not attempting to repackage the JAVA part of the commons daemon project.
--
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
[jira] [Updated] (BIGTOP-389) need to start packaging apache
commons daemon jsvc
Posted by "Roman Shaposhnik (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roman Shaposhnik updated BIGTOP-389:
------------------------------------
Description:
The packages for jsvc seem to lag behind on Linux distros, it would be nice if Bigtop provided the packages of the latest ones as they are need by Hadoop DN.
Please note we're not attempting to repackage the JAVA part of the commons daemon project.
was:The packages for jsvc seem to lag behind on Linux distros, it would be nice if Bigtop provided the packages of the latest ones as they are need by Hadoop DN.
Summary: need to start packaging apache commons daemon jsvc (was: need to start packaging apache commons daemon)
> need to start packaging apache commons daemon jsvc
> --------------------------------------------------
>
> Key: BIGTOP-389
> URL: https://issues.apache.org/jira/browse/BIGTOP-389
> Project: Bigtop
> Issue Type: Bug
> Components: General
> Affects Versions: 0.2.0
> Reporter: Roman Shaposhnik
> Assignee: Roman Shaposhnik
> Fix For: 0.3.0
>
> Attachments: BIGTOP-389-2.patch.txt, BIGTOP-389.patch.txt
>
>
> The packages for jsvc seem to lag behind on Linux distros, it would be nice if Bigtop provided the packages of the latest ones as they are need by Hadoop DN.
> Please note we're not attempting to repackage the JAVA part of the commons daemon project.
--
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
[jira] [Commented] (BIGTOP-389) need to start packaging apache
commons daemon jsvc
Posted by "Bruno Mahé (Commented JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13219514#comment-13219514 ]
Bruno Mahé commented on BIGTOP-389:
-----------------------------------
See http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Architecture
{noformat}
+Architecture: i386 amd64
{noformat}
Why not use "any"? Does it only build on i386 and amd64 exclusively? I would rather keep it open unless it really only builds on i386 and amd64 only.
Nitpick: Should we follow Fedora guidelines regarding license names? They already have a standardized and consistent set of short names for license: https://fedoraproject.org/wiki/Licensing#Good_Licenses
{noformat}+BIGTOP_JSVC_RELNOTES_NAME=Apache Commons Daemon (jsvc){noformat}
I don't think it's being used (yet). But it does not hurt either to keep it.
> need to start packaging apache commons daemon jsvc
> --------------------------------------------------
>
> Key: BIGTOP-389
> URL: https://issues.apache.org/jira/browse/BIGTOP-389
> Project: Bigtop
> Issue Type: Bug
> Components: General
> Affects Versions: 0.2.0
> Reporter: Roman Shaposhnik
> Assignee: Roman Shaposhnik
> Fix For: 0.3.0
>
> Attachments: BIGTOP-389-2.patch.txt, BIGTOP-389.patch.txt
>
>
> The packages for jsvc seem to lag behind on Linux distros, it would be nice if Bigtop provided the packages of the latest ones as they are need by Hadoop DN.
> Please note we're not attempting to repackage the JAVA part of the commons daemon project.
--
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
[jira] [Commented] (BIGTOP-389) need to start packaging apache
commons daemon jsvc
Posted by "Bruno Mahé (Commented JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13219503#comment-13219503 ]
Bruno Mahé commented on BIGTOP-389:
-----------------------------------
-1
{noformat}
+# man pages
+#mkdir -p $MAN_DIR/man1
+#gzip -c < $DISTRO_DIR/hadoop.1 > $MAN_DIR/man1/hadoop.1.gz
+#chmod 644 $MAN_DIR/man1/hadoop.1.gz
{noformat}
dead/copy-pasted code should be killed.
{noformat}
diff --git bigtop-packages/src/deb/bigtop-jsvc/.control.swp bigtop-packages/src/deb/bigtop-jsvc/.control.swp
{noformat}
No need for your swp files :)
> need to start packaging apache commons daemon jsvc
> --------------------------------------------------
>
> Key: BIGTOP-389
> URL: https://issues.apache.org/jira/browse/BIGTOP-389
> Project: Bigtop
> Issue Type: Bug
> Components: General
> Affects Versions: 0.2.0
> Reporter: Roman Shaposhnik
> Assignee: Roman Shaposhnik
> Fix For: 0.3.0
>
> Attachments: BIGTOP-389-2.patch.txt, BIGTOP-389.patch.txt
>
>
> The packages for jsvc seem to lag behind on Linux distros, it would be nice if Bigtop provided the packages of the latest ones as they are need by Hadoop DN.
> Please note we're not attempting to repackage the JAVA part of the commons daemon project.
--
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
[jira] [Commented] (BIGTOP-389) need to start packaging apache
commons daemon jsvc
Posted by "Bruno Mahé (Commented JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13219500#comment-13219500 ]
Bruno Mahé commented on BIGTOP-389:
-----------------------------------
I believe %{_docdir} should resolve to the right doc directory.
> need to start packaging apache commons daemon jsvc
> --------------------------------------------------
>
> Key: BIGTOP-389
> URL: https://issues.apache.org/jira/browse/BIGTOP-389
> Project: Bigtop
> Issue Type: Bug
> Components: General
> Affects Versions: 0.2.0
> Reporter: Roman Shaposhnik
> Assignee: Roman Shaposhnik
> Fix For: 0.3.0
>
> Attachments: BIGTOP-389-2.patch.txt, BIGTOP-389.patch.txt
>
>
> The packages for jsvc seem to lag behind on Linux distros, it would be nice if Bigtop provided the packages of the latest ones as they are need by Hadoop DN.
> Please note we're not attempting to repackage the JAVA part of the commons daemon project.
--
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
[jira] [Commented] (BIGTOP-389) need to start packaging apache
commons daemon jsvc
Posted by "Peter Linnell (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13219481#comment-13219481 ]
Peter Linnell commented on BIGTOP-389:
--------------------------------------
+1 LGTM
Nitpick: +%define doc_jsvc %{_docdir}/%{name} << really should be /usr/share/doc/packages on SLES/openSUSE
Nitpick: add lintian to the build so we can clean up anything else
> need to start packaging apache commons daemon jsvc
> --------------------------------------------------
>
> Key: BIGTOP-389
> URL: https://issues.apache.org/jira/browse/BIGTOP-389
> Project: Bigtop
> Issue Type: Bug
> Components: General
> Affects Versions: 0.2.0
> Reporter: Roman Shaposhnik
> Assignee: Roman Shaposhnik
> Fix For: 0.3.0
>
> Attachments: BIGTOP-389-2.patch.txt, BIGTOP-389.patch.txt
>
>
> The packages for jsvc seem to lag behind on Linux distros, it would be nice if Bigtop provided the packages of the latest ones as they are need by Hadoop DN.
> Please note we're not attempting to repackage the JAVA part of the commons daemon project.
--
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
[jira] [Updated] (BIGTOP-389) need to start packaging apache
commons daemon
Posted by "Roman Shaposhnik (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roman Shaposhnik updated BIGTOP-389:
------------------------------------
Attachment: BIGTOP-389.patch.txt
Attaching a trivial packaging for the jsvc part of common daemons. This is not ready for inclusion yet, since we have to resolve the following issues:
# I can't seem to be able to regenerate the man pages from the docbook source.
# We have to make hadoop depend on a very particular version of jsvc (>=1.0.9 at this point) because of the bugs in prior versions. This eliminates the possibility of using virtual packages since they don't honor versions. Suggestions are welcome here.
Other than that -- please review.
> need to start packaging apache commons daemon
> ---------------------------------------------
>
> Key: BIGTOP-389
> URL: https://issues.apache.org/jira/browse/BIGTOP-389
> Project: Bigtop
> Issue Type: Bug
> Components: General
> Affects Versions: 0.2.0
> Reporter: Roman Shaposhnik
> Assignee: Roman Shaposhnik
> Fix For: 0.3.0
>
> Attachments: BIGTOP-389.patch.txt
>
>
> The packages for jsvc seem to lag behind on Linux distros, it would be nice if Bigtop provided the packages of the latest ones as they are need by Hadoop DN.
--
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
[jira] [Updated] (BIGTOP-389) need to start packaging apache
commons daemon jsvc
Posted by "Roman Shaposhnik (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roman Shaposhnik updated BIGTOP-389:
------------------------------------
Attachment: BIGTOP-389-hadoop.patch.txt
BIGTOP-389-3.patch.txt
Thanks for the feedback. Attached is the last version of the jsvc patch plus a patch that migrates hadoop package onto using it instead of bundling its own.
> need to start packaging apache commons daemon jsvc
> --------------------------------------------------
>
> Key: BIGTOP-389
> URL: https://issues.apache.org/jira/browse/BIGTOP-389
> Project: Bigtop
> Issue Type: Bug
> Components: General
> Affects Versions: 0.2.0
> Reporter: Roman Shaposhnik
> Assignee: Roman Shaposhnik
> Fix For: 0.3.0
>
> Attachments: BIGTOP-389-2.patch.txt, BIGTOP-389-3.patch.txt, BIGTOP-389-hadoop.patch.txt, BIGTOP-389.patch.txt
>
>
> The packages for jsvc seem to lag behind on Linux distros, it would be nice if Bigtop provided the packages of the latest ones as they are need by Hadoop DN.
> Please note we're not attempting to repackage the JAVA part of the commons daemon project.
--
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
[jira] [Updated] (BIGTOP-389) need to start packaging apache
commons daemon
Posted by "Roman Shaposhnik (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roman Shaposhnik updated BIGTOP-389:
------------------------------------
Attachment: BIGTOP-389-2.patch.txt
Attaching an updated patch. Things fixed in here:
# moved to the latest jsvc 1.0.10
# installation location has been changed to where bigtop-utils install
# added docs
# given that this is NOT replacement for a system-provided jsvc I decided not to include man pages
> need to start packaging apache commons daemon
> ---------------------------------------------
>
> Key: BIGTOP-389
> URL: https://issues.apache.org/jira/browse/BIGTOP-389
> Project: Bigtop
> Issue Type: Bug
> Components: General
> Affects Versions: 0.2.0
> Reporter: Roman Shaposhnik
> Assignee: Roman Shaposhnik
> Fix For: 0.3.0
>
> Attachments: BIGTOP-389-2.patch.txt, BIGTOP-389.patch.txt
>
>
> The packages for jsvc seem to lag behind on Linux distros, it would be nice if Bigtop provided the packages of the latest ones as they are need by Hadoop DN.
--
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