A fire has broken out aboard a supertanker carrying about 2 million barrels of oil in the Indian Ocean off the coast of Sri Lanka.