A magnitude 7.9 earthquake in Alaska has triggered a tsunami warning