Set number of reducers to be 10 (Assume 1 per million)
Insert with PreparedStatement and a temp file

o Insert every 1 million records or 1 reduce task,
  with a temp file and delete the temp file afterwards.
o Set city name using PreparedStatement. PreparedStatement
  escapes the city string conveniently.
o Make mysql connection once and close at the end.