Ten thousand gallons of untreated wastewater were absorbed into the ground after a sewer pipe cracked, Riverhead official says.