A major earthquake struck off Japan's northeastern coast Sunday, prompting tsunami advisories that were later canceled.