Tsunami warnings were issued and then canceled across the northern Pacific Ocean after small waves raised by a potent undersea earthquake northeast of Japan swept from Asia to western Alaska but did no damage .