Authorities said 117 inmates attacked a guard, set fire to the facility and threw items out shattered windows.