Police say an officer shot a man after the suspect stabbed him. Both are now in the hospital.