[
https://issues.apache.org/jira/browse/HADOOP-7521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13080156#comment-13080156
]
Eric Yang commented on HADOOP-7521:
-----------------------------------
Allen, the isolated tarball (pkgname-version) is still supported by tar
profile. We are discussing merged layout here.
Alejandro, with your proposal, we introduce an extra directory "usr" than
necessary. The original recommendation supports the layout that you propose
where usr = <FOO>/usr.
Hence, it is better to have package.prefix = "usr". RPM/DEB work already move
usr/etc/* to /etc/*, and usr/var/* to /var/* in the build process. In case if
we decided "usr" was not a good choice, it is possible to change by override
the maven property.
> bintar created tarball should use a common directory for prefix
> ---------------------------------------------------------------
>
> Key: HADOOP-7521
> URL: https://issues.apache.org/jira/browse/HADOOP-7521
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 0.23.0
> Environment: Java 6, Maven, Linux/Mac
> Reporter: Eric Yang
> Assignee: Eric Yang
> Attachments: HADOOP-7521.patch
>
>
> The binary tarball contains the directory structure like:
> {noformat}
> hadoop-common-0.23.0-SNAPSHOT-bin/bin
> /etc/hadoop
> /libexec
> /sbin
> /share/hadoop/common
> {noformat}
> It would be nice to rename the prefix directory to a common directory where
> it is common to all Hadoop stack software. Therefore, user can untar hbase,
> hadoop, zookeeper, pig, hive all into the same location and run from the top
> level directory without manually renaming them to the same directory again.
> By default the prefix directory can be /usr. Hence, it could merge with the
> base OS.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira