OKYO - An earthquake with a preliminary magnitude of 6.1 hit northern Japan on Thursday, public broadcaster NHK said.