TOKYO - An earthquake with a preliminary magnitude of 5.0 rattled eastern Japan including the Tokyo metropolitan area early Tuesday, the weather agency said.