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

Arvind Prabhakar commented on SQOOP-514:
----------------------------------------

The current layout generates the following structure:

{noformat}
.
├── bin
│   └── sqoop.sh
├── client
│   └── lib
│       ├── ...
│       └── sqoop-common-2.0.0-SNAPSHOT.jar
└── server
    ├── LICENSE
    ├── NOTICE
    ├── RELEASE-NOTES
    ├── RUNNING.txt
    ├── bin
    │   ├── catalina.sh
    │   ├── ...
    │   ├── setenv.bat
    │   ├── setenv.sh
    │   └── ...
    ├── conf
    │   ├── catalina.properties
    │   ├── ...
    │   ├── sqoop.properties
    │   ├── sqoop_bootstrap.properties
    │   └── ...
    ├── lib
    │   ├── ...
    │   └── tomcat-util.jar
    ├── logs
    ├── temp
    │   └── safeToDelete.tmp
    ├── webapps
    │   ├── ROOT
    │   └── sqoop.war
    └── work


{noformat}

This is very different from the source layout which is of the form:

{noformat}
.
├── DISCLAIMER.txt
├── LICENSE.txt
├── NOTICE.txt
├── README.txt
├── client
│   └── ...
├── common
│   └── ...
├── connector
│   └── ...
├── core
│   └── ...
├── dist
│   └── ...
├── docs
│   └── ...
├── pom.xml
├── repository
│   └── ...
├── server
│   └── ...
├── spi
│   └── ...
└── target
    └── ...

{noformat}

It will be good to follow the same source layout with added directories at the 
top to help make sure that top level files exist in the distribution at the 
necessary location among other benefits.

One suggested layout would be as follows:

{noformat}
.
├── DISCLAIMER.txt
├── LICENSE.txt
├── NOTICE.txt
├── README.txt
├── bin
│   └── sqoop
├── client
│   └── ...
├── common
│   └── ...
├── config
|   ├── sqoop_bootstrap.properties
│   └── sqoop.properties
├── connector
│   └── ...
├── core
│   └── ...
├── dist
│   └── ...
├── docs
│   └── ...
├── pom.xml
├── repository
│   └── ...
├── server
│   └── ...
├── spi
│   └── ...
├── target
|   └── ...
├── lib
|   └── <all compiled libs>
└── webserver
    └── <tomcat specific files>

{noformat}

With this layout the config files, bin scripts will remain in the top level 
directory and will be able to run directly form there. Also this distribution 
will be identical to the source distribution without the compiled binaries.
                
> Layout changes for Sqoop 2 distribution
> ---------------------------------------
>
>                 Key: SQOOP-514
>                 URL: https://issues.apache.org/jira/browse/SQOOP-514
>             Project: Sqoop
>          Issue Type: Task
>          Components: sqoop2-build, sqoop2-dist
>    Affects Versions: 2.0.0
>            Reporter: Arvind Prabhakar
>             Fix For: 2.0.0
>
>
> The current layout of the generated tarball is very different from the source 
> layout. This is a request to change the layout so that it is closer to the 
> source layout to help facilitate easy build and testing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to