Abstract:The paper introduces relevant concepts of parallelization, including Mapreduce programming frame and distributed document system of Hadoop, optimizes the traditional K-means algorithm, establishes parallel K-means clustering model, explores the medication rules of Traditional Chinese Medicine(TCM) for hypertension treatment, digs into 8 groups of prescriptions for differentiation treatment of hypertension through TCM, verifies authenticity of the conclusion by combining the theories of TCM.