[
https://issues.apache.org/jira/browse/BIGTOP-1465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Mackrory updated BIGTOP-1465:
----------------------------------
Attachment: 0001-BIGTOP-1465.-Allow-both-Sqoop-1.x-and-Sqoop-1.99.x-S.patch
Attaching a patch. A few notes:
- Tested by building / installing and starting on Fedora 20 and CentOS 6.
Packages do not collide, Sqoop 1.99.x is always referred to as "sqoop2" where
there's ambiguity.
- Compared with the last Sqoop 1.4.x packaging in Bigtop - only differences
were things that we've changed across Bigtop since then, like standardizing on
bash instead of relying on /bin/sh, consolidating locations of bigtop-utils,
etc.
- I can't compile Sqoop 1.4.5, as the test code relies on the API in
commons-lang 2.5+, but they list 2.4 as a dependency. Tried fighting Ivy and
upgrading the dependency, but eventually settled for the sed in
do-component-build for now. I tried Sqoop 1.4.4 and just had other compile
issues.
> Include Sqoop1 in bigtop 0.9
> ----------------------------
>
> Key: BIGTOP-1465
> URL: https://issues.apache.org/jira/browse/BIGTOP-1465
> Project: Bigtop
> Issue Type: Sub-task
> Components: general
> Affects Versions: 0.8.0
> Reporter: Guo Ruijing
> Fix For: backlog
>
> Attachments:
> 0001-BIGTOP-1465.-Allow-both-Sqoop-1.x-and-Sqoop-1.99.x-S.patch
>
>
> Bigtop 0.9 may include sqoop1:
> Sqoop2 is not intended for production deployment(http://sqoop.apache.org/)
> Latest stable release is 1.4.5 (download, documentation). Latest cut of
> Sqoop2 is 1.99.3 (download, documentation). Note that 1.99.3 is not
> compatible with 1.4.5 and not feature complete, it is not intended for
> production deployment.
> How to do?
> 1. port sqoop1 from bigtop 0.5
> 2. separate sqoop1 and sqoop2
> a) sqoop2 keeps same directory
> b) sqoop1 use sqoop1 directory as:
> ./bigtop-packages/src/common/sqoop1
> ./bigtop-packages/src/deb/sqoop1
> ./bigtop-tests/smoke-tests/sqoop1/build.gradle
> 3. sqoop1 and sqoop2 use same RPM name
> sqoop1: sqoop-1.4.4-1.noarch.rpm
> sqoop2: sqoop-1.99.3-1.noarch.rpm
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)