Bakersfield and Kern County Fire crews put out a fire at the Golden Empire Gleaners Thursday afternoon.
Flames were out just before 2:30 p.m.
A pile of pallets outside the building caught fire.
It's not clear if anyone was hurt.
The cause of the fire was not immediately clear.