The fire broke out in the stationery compartment of the stealth warship at the naval dockyard, a spokesman for the Eastern Naval Command (ENC) told PTI.
The ENC is headquartered in this Andhra Pradesh city.
The vessel was anchored at the dockyard for periodic maintenance, he said.
"Sparks flew while welding works were going on, igniting the fire. But it was very minor inside the stationery compartment and the fire was extinguished within a short time.
"There was no damage to property or injuries to any person," the spokesman said.