[
https://issues.apache.org/jira/browse/HADOOP-7521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13080257#comment-13080257
]
Milind Bhandarkar commented on HADOOP-7521:
-------------------------------------------
Eric, From the link you mentioned, first para (I have highlighted the "or some
other existing dir" part):
A tarbomb, also sometimes written as tar bomb, is a tarball whose contents
appear to explode into the current directory *or some other existing directory*
containing a large number of items when untarred rather than into a new
directory created by the tarball specifically for such contents.
As a unix user for the last 25 years, my expectation would be that each untar
creates a new directory under $cwd rather than unpacking into an existing
directory.
So, I am -1 on this.
> 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