TOKYO - An earthquake with a preliminary magnitude of 5.0 rattled eastern Japan on Wednesday, with no tsunami warning issued, according to the weather agency.