Goldschmidt homers to help D-backs beat Dodgers 4-2

Arizona Diamondbacks second baseman Jean Segura, right, leaps after forcing out Los Angeles Dodgers Enrique Hernandez (14), to make the relay to first, but not in time to get Yasiel Puig during the first inning of a baseball game in Los Angeles, Tuesday, April 12, 2016. (AP Photo/Alex Gallardo)

LOS ANGELES (AP) Paul Goldschmidt hit a go-ahead homer in the eighth inning and drove in another run, and the Arizona Diamondbacks beat Los Angeles 4-2 to spoil the Dodgers' home opener Tuesday in Vin Scully's final season.

Goldschmidt gave the D-backs a 2-1 lead with his second homer of the season off Chris Hatcher (1-1), who then gave up a two-out double to Welington Castillo before issuing consecutive walks to Jake Lamb (intentional) and Yasmany Tomas that loaded the bases. Hatcher departed to boos.

Arizona added two more runs in the ninth on Socrates Brito's triple and Goldschmidt's groundout to shortstop.

Kenta Maeda allowed five hits over six scoreless innings, struck out four and walked one in becoming the second Japanese pitcher to start a Dodgers home opener since Hideo Nomo in 1996 and 2004.

Tyler Clippard (2-0) gave up one hit in one inning and striking out one. Brad Ziegler pitched the ninth to earn his first save.