hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raju Rathi <raju.rathi1...@gmail.com>
Subject Sqoop Export record count mismatch issue ..
Date Mon, 02 May 2016 20:53:46 GMT
Hello All ,

I am running below sqoop Job to export CSV file data into my Sql however I
see strange behavior where number of record exported into table is more
then number of record present in CSV file . CSV file present under location
  $USER_DIR has 108 rows while after export , I can see 114 record present
in DB . please advice what could be root cause .


 sqoop export \

-Dmapred.job.queue.name=$MY_QUEUE \

--connect $MY_SQL_URL \

--direct \

-m 1 \

--table $USER_TBL \

--export-dir $USER_DIR \

--username $MYSQL_USERNMAE \

--password $MYSQL_PWD;


Thanks ,

Raju Rathi

Mime
View raw message