The tremor triggered a tsunami warning, which has since been cancelled, according to the US Geological Survey.