Intervention: 231 patients with Helicobacter pylori infection are recruited and randomly assigned to receive one of the following therapeutic schemes: group 1, 14-days hybrid therapy: rabeprazole 20mg bid + amoxicillin 1g bid treated for 7 days, then rabeprazole 20mg bid + amoxicillin 1g bid + clarithromycin 0.5g bid + metronidazole 0.5g bid for other 7 days; group 2, 12-days hybrid therapy: rabeprazole 20mg bid + amoxicillin 1g bid treated for 5 days, then rabeprazole 20mg bid + amoxicillin 1g bid + clarithromycin 0.5g bid + metronidazole 0.5g bid for other 7 days; group 3, 10-days hybrid therapy: rabeprazole 20mg bid + amoxicillin 1g bid treated for 3 days, then rabeprazole 20mg bid + amoxicillin 1g bid + clarithromycin 0.5g bid + metronidazole 0.5g bid for other 7 days. Repeat upper endoscopy for histologic evaluation, rapid urease test or 13C-urea breath test after 4 week of treatment to assess the treatment result. The influence on the hybrid therapies of antibiotic resistance of Helicobacter pylori and CYP2C19 genotype of host were determined.