Filming. Principal photography began on June 14, 2010, in Hawaii. Filming was moved to California in August 2010, primarily at the Long Beach shore and a recreation of Whitecap Bay done in the Universal Studios backlot, as the original Hawaiian location on Halona Cove was plagued with strong tides.