A riot at a correctional facility in Tehachapi ended with six inmates being sent to a local hospital.