TOKYO - An earthquake with a preliminary magnitude of 5.8 hit off the coast of Japan's eastern prefecture of Ibaraki on Sunday night, but no tsunami warning was issued, according to the weather agency.