sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcin Cylke <mcl.sqoopus...@touk.pl>
Subject import to hive hangs
Date Wed, 07 Mar 2012 14:10:57 GMT

I'm trying to import some tables into Hive. I'm using this kind of CLI 

sqoop import \
--driver oracle.jdbc.driver.OracleDriver \
--connect jdbc:oracle:thin:@localhost:1521:XE \
--username had_test --password abc1234 \
--query "select * from all_tables where \$CONDITIONS" \
--num-mappers 1 \
--hive-import \
--hive-table "sample_rm2" \
--target-dir /user/hive/warehouse/sample_rm2 \
--mysql-delimiters \

The output table is created, everything looks good, but sqoop does not 
exit properly. It just hangs indefinitelly on the last line (look in the 
attached log file).

My environment is:
- Sqoop 1.4.1-incubating
   git commit id
   Compiled by jarcec on Tue Feb  7 20:54:25 CET 2012
- Hadoop 1.0.0
- hive 0.9.0-SNAPSHOT - built from git a few days ago

Is this a know issue?

Thanks for any help
Regards, Marcin

View raw message