启动hiveserver2 ./hiveserver2beeline连接 启动beeline !connect jdbc:hive2://hdp-1:10000hive清除全部分区数据 alter table test.test_table drop partition(DATE_ID <> ‘aaaa’);