hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Yang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6255) Create an rpm integration project
Date Fri, 11 Feb 2011 02:23:57 GMT

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

Eric Yang commented on HADOOP-6255:
-----------------------------------

This patch applies to branch-0.20-security-patches.

Usage to build RPM packages for Redhat/CentOS:

ant rpm -Djava5.home=... -Dforrest.home=... -Dlibhdfs=1 -Dcompile.c++=true -Dcompile.native=true

Usage to build DEB package for Ubuntu:

ant deb -Djava5.home=... -Dforrest.home=... -Dlibhdfs=1 -Dcompile.c++=true -Dcompile.native=true

The generated packages are as follow:

{noformat}
hadoop-[version].[arch].rpm
hadoop-conf-pseudo-[version].[arch].rpm
hadoop-[version].src.rpm
hadoop_[version]_[arch].deb
hadoop-conf-pseudo_[version]_[arch].deb
{noformat}

The RPM package is designed to be relocatable.  User can install it with:
rpm -i hadoop-[version].[arch].rpm --relocate /usr=/usr/local

The relocatable directories are:

{noformat}
/etc/hadoop
/var/log/hadoop
/var/run/hadoop
/usr
{noformat}

See Owen's proposal for directory layout.

> Create an rpm integration project
> ---------------------------------
>
>                 Key: HADOOP-6255
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6255
>             Project: Hadoop Common
>          Issue Type: New Feature
>            Reporter: Owen O'Malley
>            Assignee: Eric Yang
>         Attachments: HADOOP-6255.patch
>
>
> We should be able to create RPMs for Hadoop releases.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message