TOKYO - An earthquake with a preliminary magnitude of 6.1 shook northeastern Japan early Sunday, but it posed no threat of tsunami, the weather agency said.