sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandipan.Ghosh <Sandipan.Gh...@target.com>
Subject Sqoop shell script data goes to .trash
Date Mon, 21 Apr 2014 15:35:06 GMT
Hi,

I have shell script to run a sqoop,

#!/bin/bash
echo "doing cleanup"
hadoop fs -rm -r -f ./euc_inform_temp
echo "done cleanup"
sqoop --options-file /home_dir/z070061/sqoop_import_param_td.txt --fields-terminated-by ','
--query "select * from INOVBIDT.PROD_ACCTDATE where 1=1 and \$CONDITIONS" -m 1 --target-dir
./euc_inform_temp
echo " sqoop export done"

Once I run it data extracted from sqoop end up in .trash

This is very strange. Does anyone know how to resolve this?

Thanks
Sandipan

Mime
View raw message