Officials with the California Department of Public Health issued a warning on Friday to consumers to avoid eating rock crabs from Half Moon Bay and bivalve shellfish and rock crabs from Monterey Bay.