(CNN) Hours of heavy rain caused flooding in parts of Houston on Wednesday, leading officials to tell residents to avoid driving and sparking uncomfortable memories of last summer's Hurricane Harvey.

Rain quickly drenched the Houston area Wednesday, including 6 inches at Hobby Airport. Because of the rain, parts of Harris County, which includes Houston, remain under flash flood warning until Thursday evening, according to the National Weather Service

Houston Mayor Sylvester Turner said parts of the city got as much as 8 inches of rain, but things tapered off in the afternoon.

"From all indications, I think we should be OK," Turner said.

The city canceled its Fourth of July concert and festival, forcing many residents to watch the fireworks show from home.