TOKYO — Powerful offshore earthquake shakes eastern Japan, but officials say no tsunami threat.