While cutting towards the headgate with the longwall shearer, sparks from the cutting drum apparently ignited hydrocarbons coming from the roof resulting in a fire. The fire was extinguished in approximately 20 seconds by the fire suppression system and a water hose.