The game remained tied at 7-7 and ended that way after one extra inning.
Duda had just the one hit in two at-bats on the day, his first homer of the Spring.
Flourishing for the oft-injured Mets last season, Duda batted .292 with 10 homers and 50 RBI in 100 games. He is expected to be the Mets' regular right fielder this season.
Later on, Rivera got his home run groove on, socking his third fence-clearing smash of Spring, driving in two more runs.
Rivera left the Angels for the Toronto after the 2010 season, and then went to the Dodgers after playing in 70 games for the Blue Jays. A skilled RBI guy, Rivera had 23 doubles and 11 homers last season, driving in 74 runs with a .258 batting average.
The Dodgers lead the Cactus League with a 6-1 record.