A disgruntled worker opened fire on Wednesday at a Northern California cement plant and quarry, killing two people and injuring six, police said.