A preliminary magnitude 7.1 earthquake has struck Japan. Following the earthquake, a tsunami warning has been issued.