A powerful 7.1-magnitude earthquake rocked the Maluku Islands in eastern Indonesia Saturday, sparking a tsunami warning and causing panicked people to flee their homes.