Police officers responding to a report of a temporary restraining order violation on the small and close-knit Hawaiian island of Molokai shot and killed a man.

Two police officers were responding to the call Sunday morning when they encountered a man wielding a weapon, the Maui Police Department said.

"The male advanced toward the officers, at which time one officer deployed his taser, which proved ineffective before both officers discharged their weapons," police said in a statement.

NEW YORK MURDER SUSPECT ACCUSED OF KILLING COP'S DAUGHTETR MEGAN MCDONALD RELEASED FROM PRISON

The man died at Molokai General Hospital, police said. The officers involved were put on administrative leave and an investigation is ongoing, police said.

Molokai is just 8 miles northwest of the island of Maui. Residents on the Molokai, known for its small-town atmosphere and no traffic lights, were shocked by the fatal shooting. Keani Rawlins-Fernandez, who holds the Molokai seat on the county council, told The Associated Press Monday there have been no similar incidents in recent memory.

Molokai, HI

The Kumimi beach is seen in Molokai. Hawaii. A man wielding a weapon was shot and killed by the police in Molokai.  (Andre Seale/VW PICS/Universal Images Group via Getty Images)

Maui police didn't immediately respond to an AP email asking when was the last time an officer was involved in a shooting on Molokai.

"Most of us are ... related or friends. We mostly know each other," Rawlins-Fernandez said of the island's population of about 7,500. Most of the officers are long-time Molokai residents, she said.

CLICK HERE TO GET THE FOX NEWS APP

While many questions remain about what happened, people are wondering how it could have been prevented. "What more services do we need on this island so that we can prevent these kinds of things from happening?" she said.

She said she went to high school with the man, identified by police Monday as Nathaniel Naki, 40, of Kaunakakai, the largest town on Molokai.

This is "absolutely tragic," Rawlins-Fernandez said. "The community is, you know, trying to figure out together how … to console the family."