TOKYO - An earthquake with a preliminary magnitude of 5.0 rattled eastern Japan early Wednesday, but no tsunami warning was issued.