sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Cecho" <jar...@apache.org>
Subject Re: Review Request 13524: SQOOP-1172 Make Sqoop compatible with HBase 0.95+
Date Tue, 13 Aug 2013 15:47:48 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/13524/
-----------------------------------------------------------

(Updated Aug. 13, 2013, 3:47 p.m.)


Review request for Sqoop.


Changes
-------

Removed the need to manually specify HBase compat profile, new testing instructions:

1) Create list of HBase related test cases:
find . -iname "*HBase*Test.java"  | cut -d"/" -f 8 | sed -re "s/.java//" > hbase-tests

2) Execute each test case one-by-one

2.1) For HBase 0.95 on Hadoop 2.0.0:
for test in `cat hbase-tests`; do ant clean test -Dhadoopversion=200 -Dhbaseprofile=95 -Dtestcase=$test
; done > log

2.2) For HBase 0.95 on Hadoop 1.0.0:
for test in `cat hbase-tests`; do ant clean test -Dhadoopversion=100 -Dhbaseprofile=95 -Dtestcase=$test
; done > log

2.2) For HBase 0.94:
for test in `cat hbase-tests`; do ant clean test -Dhadoopversion=100 -Dtestcase=$test ; done
> log

3) See the results:
cat log | grep "\[junit\]" 


Bugs: SQOOP-1172
    https://issues.apache.org/jira/browse/SQOOP-1172


Repository: sqoop-trunk


Description
-------

Tweaked the build system to support both HBase 0.94 and 0.95.


Diffs (updated)
-----

  build.xml 1a2128815d8cab33a24d9d97fe7392d53215f2f1 
  ivy.xml 63fdc80b6d8a0155ddc558126cf0082289f15372 

Diff: https://reviews.apache.org/r/13524/diff/


Testing
-------

It seems that ant do not accepts "*" for test case names, so one need to execute them one
by one:

1) Create list of HBase related test cases:
find . -iname "*HBase*Test.java"  | cut -d"/" -f 8 | sed -re "s/.java//" > hbase-tests

2) Execute each test case one-by-one

2.1) For HBase 0.95 on Hadoop 2.0.0:
for test in `cat hbase-tests`; do ant clean test -Dhadoopversion=200 -Dhbaseprofile=95 -Dhbasecompatprofile=2
-Dtestcase=$test ; done > log

2.2) For HBase 0.95 on Hadoop 1.0.0:
for test in `cat hbase-tests`; do ant clean test -Dhadoopversion=100 -Dhbaseprofile=95 -Dhbasecompatprofile=1
-Dtestcase=$test ; done > log

2.2) For HBase 0.94:
for test in `cat hbase-tests`; do ant clean test -Dhadoopversion=100 -Dtestcase=$test ; done
> log

3) See the results:
cat log | grep "\[junit\]" 


Thanks,

Jarek Cecho


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message