The Hitachi Excavator (EX1100) Operator observed a fire in the engine compartment. The operator climbed out of the vehicle, maintaining a safe distance from the fire. A 9-1-1 call was made and MSHA was notified by phone. The County and City Fire Engines arrived and extinguished the fire within approximately fifty minutes from when it started.