[
https://issues.apache.org/jira/browse/BIGTOP-1465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14314423#comment-14314423
]
Evans Ye commented on BIGTOP-1465:
----------------------------------
I can have sqoop1 and sqoop2 rpms and sqoop2 debs successfully built. Tested
the sqoop1 rpm in a real cluster as well, it works.
However, I got an error when building sqoop1 debs:
{code}
+ install -d -m 0755 debian/sqoop//usr/lib/sqoop
+ install -d -m 0755 debian/sqoop//usr/lib/sqoop
+ cp 'build/sqoop-/sqoop*.jar' debian/sqoop//usr/lib/sqoop
cp: cannot stat 'build/sqoop-/sqoop*.jar': No such file or directory
make[1]: *** [override_dh_auto_install] Error 1
make[1]: Leaving directory `/host/bigtop-test2/output/sqoop/sqoop-1.4.5'
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1364:
dpkg-buildpackage -rfakeroot -D -us -uc -b
failed
:sqoop-deb FAILED
FAILURE: Build failed with an exception.
{code}
> 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)