You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Alejandro Abdelnur (JIRA)" <ji...@apache.org> on 2011/08/02 23:34:27 UTC

[jira] [Created] (HADOOP-7498) Remove legacy TAR layout creation

Remove legacy TAR layout creation
---------------------------------

                 Key: HADOOP-7498
                 URL: https://issues.apache.org/jira/browse/HADOOP-7498
             Project: Hadoop Common
          Issue Type: Task
          Components: build
    Affects Versions: 0.23.0
            Reporter: Alejandro Abdelnur
             Fix For: 0.23.0


Currently the build creates 2 different tarball layouts.

One is the legacy one, the layout used until 0.22 (ant tar &  mvn package -Ptar)

The other is new new one, the layout used in trunk that mimics the Unix layout (ant binary & mvn package -Pbintar).

The legacy layout is of not use as all the scripts have been modified to work with the new layout only.

We should thus remove the legacy layout generation.

In addition we could rename the current 'bintar' to just 'tar'


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

        

[jira] [Assigned] (HADOOP-7498) Remove legacy TAR layout creation

Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aaron T. Myers reassigned HADOOP-7498:
--------------------------------------

    Assignee: Alejandro Abdelnur

> Remove legacy TAR layout creation
> ---------------------------------
>
>                 Key: HADOOP-7498
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7498
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: build
>    Affects Versions: 0.23.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>             Fix For: 0.23.0
>
>         Attachments: HADOOP-7498v1.patch
>
>
> Currently the build creates 2 different tarball layouts.
> One is the legacy one, the layout used until 0.22 (ant tar &  mvn package -Ptar)
> The other is new new one, the layout used in trunk that mimics the Unix layout (ant binary & mvn package -Pbintar).
> The legacy layout is of not use as all the scripts have been modified to work with the new layout only.
> We should thus remove the legacy layout generation.
> In addition we could rename the current 'bintar' to just 'tar'

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

        

[jira] [Commented] (HADOOP-7498) Remove legacy TAR layout creation

Posted by "Giridharan Kesavan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082525#comment-13082525 ] 

Giridharan Kesavan commented on HADOOP-7498:
--------------------------------------------

+1 for removing the legacy tar layout and renaming bintar to tar.

> Remove legacy TAR layout creation
> ---------------------------------
>
>                 Key: HADOOP-7498
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7498
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: build
>    Affects Versions: 0.23.0
>            Reporter: Alejandro Abdelnur
>             Fix For: 0.23.0
>
>
> Currently the build creates 2 different tarball layouts.
> One is the legacy one, the layout used until 0.22 (ant tar &  mvn package -Ptar)
> The other is new new one, the layout used in trunk that mimics the Unix layout (ant binary & mvn package -Pbintar).
> The legacy layout is of not use as all the scripts have been modified to work with the new layout only.
> We should thus remove the legacy layout generation.
> In addition we could rename the current 'bintar' to just 'tar'

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

        

[jira] [Commented] (HADOOP-7498) Remove legacy TAR layout creation

Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13087149#comment-13087149 ] 

Alejandro Abdelnur commented on HADOOP-7498:
--------------------------------------------

Current patch works on top of HDFS-2096 version 'AJ'

> Remove legacy TAR layout creation
> ---------------------------------
>
>                 Key: HADOOP-7498
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7498
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: build
>    Affects Versions: 0.23.0
>            Reporter: Alejandro Abdelnur
>             Fix For: 0.23.0
>
>         Attachments: HADOOP-7498v1.patch
>
>
> Currently the build creates 2 different tarball layouts.
> One is the legacy one, the layout used until 0.22 (ant tar &  mvn package -Ptar)
> The other is new new one, the layout used in trunk that mimics the Unix layout (ant binary & mvn package -Pbintar).
> The legacy layout is of not use as all the scripts have been modified to work with the new layout only.
> We should thus remove the legacy layout generation.
> In addition we could rename the current 'bintar' to just 'tar'

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

        

[jira] [Updated] (HADOOP-7498) Remove legacy TAR layout creation

Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alejandro Abdelnur updated HADOOP-7498:
---------------------------------------

    Status: Patch Available  (was: Open)

It works both for common & hdfs

> Remove legacy TAR layout creation
> ---------------------------------
>
>                 Key: HADOOP-7498
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7498
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: build
>    Affects Versions: 0.23.0
>            Reporter: Alejandro Abdelnur
>             Fix For: 0.23.0
>
>         Attachments: HADOOP-7498v1.patch
>
>
> Currently the build creates 2 different tarball layouts.
> One is the legacy one, the layout used until 0.22 (ant tar &  mvn package -Ptar)
> The other is new new one, the layout used in trunk that mimics the Unix layout (ant binary & mvn package -Pbintar).
> The legacy layout is of not use as all the scripts have been modified to work with the new layout only.
> We should thus remove the legacy layout generation.
> In addition we could rename the current 'bintar' to just 'tar'

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

        

[jira] [Commented] (HADOOP-7498) Remove legacy TAR layout creation

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13088836#comment-13088836 ] 

Hudson commented on HADOOP-7498:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #762 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/762/])
    HADOOP-7498. Remove legacy TAR layout creation. Contributed by Alejandro Abdelnur.

tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1160341
Files : 
* /hadoop/common/trunk/hadoop-assemblies/src/main/resources/assemblies/hadoop-bintar.xml
* /hadoop/common/trunk/hadoop-assemblies/src/main/resources/assemblies/hadoop-tar.xml
* /hadoop/common/trunk/hadoop-project-distro/pom.xml
* /hadoop/common/trunk/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/BUILDING.txt


> Remove legacy TAR layout creation
> ---------------------------------
>
>                 Key: HADOOP-7498
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7498
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: build
>    Affects Versions: 0.23.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>             Fix For: 0.23.0
>
>         Attachments: HADOOP-7498v1.patch
>
>
> Currently the build creates 2 different tarball layouts.
> One is the legacy one, the layout used until 0.22 (ant tar &  mvn package -Ptar)
> The other is new new one, the layout used in trunk that mimics the Unix layout (ant binary & mvn package -Pbintar).
> The legacy layout is of not use as all the scripts have been modified to work with the new layout only.
> We should thus remove the legacy layout generation.
> In addition we could rename the current 'bintar' to just 'tar'

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

        

[jira] [Updated] (HADOOP-7498) Remove legacy TAR layout creation

Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alejandro Abdelnur updated HADOOP-7498:
---------------------------------------

    Attachment: HADOOP-7498v1.patch

Removes legacy tar creation.

Renames remaining profile to be 'tar'

The TAR itself does not have the '-bin' postfix anymore.

> Remove legacy TAR layout creation
> ---------------------------------
>
>                 Key: HADOOP-7498
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7498
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: build
>    Affects Versions: 0.23.0
>            Reporter: Alejandro Abdelnur
>             Fix For: 0.23.0
>
>         Attachments: HADOOP-7498v1.patch
>
>
> Currently the build creates 2 different tarball layouts.
> One is the legacy one, the layout used until 0.22 (ant tar &  mvn package -Ptar)
> The other is new new one, the layout used in trunk that mimics the Unix layout (ant binary & mvn package -Pbintar).
> The legacy layout is of not use as all the scripts have been modified to work with the new layout only.
> We should thus remove the legacy layout generation.
> In addition we could rename the current 'bintar' to just 'tar'

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

        

[jira] [Commented] (HADOOP-7498) Remove legacy TAR layout creation

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082529#comment-13082529 ] 

Eric Yang commented on HADOOP-7498:
-----------------------------------

+1 for removing the legacy tar layout.  With result of the discussion on HADOOP-7521, we should support using both isolated directory layout as well as merged layout.  Hence, the shell script needs to check and act correctly to the corresponding layout.

> Remove legacy TAR layout creation
> ---------------------------------
>
>                 Key: HADOOP-7498
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7498
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: build
>    Affects Versions: 0.23.0
>            Reporter: Alejandro Abdelnur
>             Fix For: 0.23.0
>
>
> Currently the build creates 2 different tarball layouts.
> One is the legacy one, the layout used until 0.22 (ant tar &  mvn package -Ptar)
> The other is new new one, the layout used in trunk that mimics the Unix layout (ant binary & mvn package -Pbintar).
> The legacy layout is of not use as all the scripts have been modified to work with the new layout only.
> We should thus remove the legacy layout generation.
> In addition we could rename the current 'bintar' to just 'tar'

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

        

[jira] [Updated] (HADOOP-7498) Remove legacy TAR layout creation

Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alejandro Abdelnur updated HADOOP-7498:
---------------------------------------

    Issue Type: Sub-task  (was: Task)
        Parent: HADOOP-7412

> Remove legacy TAR layout creation
> ---------------------------------
>
>                 Key: HADOOP-7498
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7498
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: build
>    Affects Versions: 0.23.0
>            Reporter: Alejandro Abdelnur
>             Fix For: 0.23.0
>
>
> Currently the build creates 2 different tarball layouts.
> One is the legacy one, the layout used until 0.22 (ant tar &  mvn package -Ptar)
> The other is new new one, the layout used in trunk that mimics the Unix layout (ant binary & mvn package -Pbintar).
> The legacy layout is of not use as all the scripts have been modified to work with the new layout only.
> We should thus remove the legacy layout generation.
> In addition we could rename the current 'bintar' to just 'tar'

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

        

[jira] [Updated] (HADOOP-7498) Remove legacy TAR layout creation

Posted by "Tom White (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated HADOOP-7498:
------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

I've just committed this. 

> Remove legacy TAR layout creation
> ---------------------------------
>
>                 Key: HADOOP-7498
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7498
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: build
>    Affects Versions: 0.23.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>             Fix For: 0.23.0
>
>         Attachments: HADOOP-7498v1.patch
>
>
> Currently the build creates 2 different tarball layouts.
> One is the legacy one, the layout used until 0.22 (ant tar &  mvn package -Ptar)
> The other is new new one, the layout used in trunk that mimics the Unix layout (ant binary & mvn package -Pbintar).
> The legacy layout is of not use as all the scripts have been modified to work with the new layout only.
> We should thus remove the legacy layout generation.
> In addition we could rename the current 'bintar' to just 'tar'

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

        

[jira] [Commented] (HADOOP-7498) Remove legacy TAR layout creation

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13088208#comment-13088208 ] 

Eric Yang commented on HADOOP-7498:
-----------------------------------

+1 looks good.

> Remove legacy TAR layout creation
> ---------------------------------
>
>                 Key: HADOOP-7498
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7498
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: build
>    Affects Versions: 0.23.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>             Fix For: 0.23.0
>
>         Attachments: HADOOP-7498v1.patch
>
>
> Currently the build creates 2 different tarball layouts.
> One is the legacy one, the layout used until 0.22 (ant tar &  mvn package -Ptar)
> The other is new new one, the layout used in trunk that mimics the Unix layout (ant binary & mvn package -Pbintar).
> The legacy layout is of not use as all the scripts have been modified to work with the new layout only.
> We should thus remove the legacy layout generation.
> In addition we could rename the current 'bintar' to just 'tar'

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