hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Scheidtmann <jens.scheidtm...@gmail.com>
Subject Re: Hadoop update mysql table
Date Sat, 13 Apr 2013 23:10:53 GMT
Dear Linlin,

seems you are having a SQL problem and not a hadoop one.

If you INSERT another row with the same primary key, you will get this
error. Are you really using UPDATE for writing back?

Also check if MERGE is more appropriate, see
http://en.wikipedia.org/wiki/Merge_%28SQL%29

Best regards,

Jens

Mime
View raw message