Colombia has issued a hurricane warning for San Andres and Providencia .