An earthquake with a magnitude of 6.4 hit Japan's northeastern prefecture of Fukushima and its surrounding areas on Sunday, but there is no danger of a tsunami, the weather agency said.