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-7521) bintar created tarball should use a common directory for prefix
Date Sat, 06 Aug 2011 06:55:27 GMT

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

Eric Yang commented on HADOOP-7521:
-----------------------------------

Milind, by your definition of tarbomb, this means any tarball is also a tarbomb.  As long
as the $cwd contains the same directory name in the tarball.  I extract hadoop-0.23 tarball
to $cwd, then I should never do it again in the same directory because that tarball becomes
a tarbomb by definition.  All debian and slackware packages are composed of tarbombs by the
same definition.  Rather than trolling inconsiderate packaging (far from intent of this jira),
I suggest we stay objective on how to improve Hadoop software stack interoperability.  I am
open to suggestions.

> 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

        

Mime
View raw message