#!/bin/bash
echo "disable 'TASK20240416000001_20250726'; restore_snapshot 'TASK20240416000001_20250726_snapshot'; enable 'TASK20240416000001_20250726'" | hbase shell -n 
echo "disable 'TASK20240416000002_20250726'; restore_snapshot 'TASK20240416000002_20250726_snapshot'; enable 'TASK20240416000002_20250726'" | hbase shell -n 
echo "disable 'TASK20240416000003_20250726'; restore_snapshot 'TASK20240416000003_20250726_snapshot'; enable 'TASK20240416000003_20250726'" | hbase shell -n 
echo "disable 'TASK20240416000004_20250726'; restore_snapshot 'TASK20240416000004_20250726_snapshot'; enable 'TASK20240416000004_20250726'" | hbase shell -n 
echo "disable 'TASK20240724000001_20250726'; restore_snapshot 'TASK20240724000001_20250726_snapshot'; enable 'TASK20240724000001_20250726'" | hbase shell -n 
echo "disable 'TASK20240725000001_20250726'; restore_snapshot 'TASK20240725000001_20250726_snapshot'; enable 'TASK20240725000001_20250726'" | hbase shell -n 
echo "disable 'TASK20240725000002_20250726'; restore_snapshot 'TASK20240725000002_20250726_snapshot'; enable 'TASK20240725000002_20250726'" | hbase shell -n 
echo "disable 'TASK20240725000003_20250726'; restore_snapshot 'TASK20240725000003_20250726_snapshot'; enable 'TASK20240725000003_20250726'" | hbase shell -n 
echo "disable 'TASK20240730000001_20250726'; restore_snapshot 'TASK20240730000001_20250726_snapshot'; enable 'TASK20240730000001_20250726'" | hbase shell -n 
echo "disable 'TASK20250522000001_20250726'; restore_snapshot 'TASK20250522000001_20250726_snapshot'; enable 'TASK20250522000001_20250726'" | hbase shell -n 
echo "disable 'TASK20250523000001_20250726'; restore_snapshot 'TASK20250523000001_20250726_snapshot'; enable 'TASK20250523000001_20250726'" | hbase shell -n 
echo "disable 'bao_shui_whid_detail'; restore_snapshot 'bao_shui_whid_detail_snapshot'; enable 'bao_shui_whid_detail'" | hbase shell -n 
echo "disable 'channel_to_sale_store_code'; restore_snapshot 'channel_to_sale_store_code_snapshot'; enable 'channel_to_sale_store_code'" | hbase shell -n 
echo "disable 'color_inv_bonded_target'; restore_snapshot 'color_inv_bonded_target_snapshot'; enable 'color_inv_bonded_target'" | hbase shell -n 
echo "disable 'color_sku_dim'; restore_snapshot 'color_sku_dim_snapshot'; enable 'color_sku_dim'" | hbase shell -n 
echo "disable 'dim_week_date'; restore_snapshot 'dim_week_date_snapshot'; enable 'dim_week_date'" | hbase shell -n 
echo "disable 'dwd_channel_erp_product_relation'; restore_snapshot 'dwd_channel_erp_product_relation_snapshot'; enable 'dwd_channel_erp_product_relation'" | hbase shell -n 
echo "disable 'dwd_oms_order'; restore_snapshot 'dwd_oms_order_snapshot'; enable 'dwd_oms_order'" | hbase shell -n 
echo "disable 'dwd_product_sku_exist'; restore_snapshot 'dwd_product_sku_exist_snapshot'; enable 'dwd_product_sku_exist'" | hbase shell -n 
echo "disable 'dwd_search_click_event_data'; restore_snapshot 'dwd_search_click_event_data_snapshot'; enable 'dwd_search_click_event_data'" | hbase shell -n 
echo "disable 'dwd_search_event_data'; restore_snapshot 'dwd_search_event_data_snapshot'; enable 'dwd_search_event_data'" | hbase shell -n 
echo "disable 'dwd_utm_visitor_product_detail'; restore_snapshot 'dwd_utm_visitor_product_detail_snapshot'; enable 'dwd_utm_visitor_product_detail'" | hbase shell -n 
echo "disable 'dwd_utm_visitor_session'; restore_snapshot 'dwd_utm_visitor_session_snapshot'; enable 'dwd_utm_visitor_session'" | hbase shell -n 
echo "disable 'dwd_utm_visitor_user_log'; restore_snapshot 'dwd_utm_visitor_user_log_snapshot'; enable 'dwd_utm_visitor_user_log'" | hbase shell -n 
echo "disable 'erp_sku_color_id'; restore_snapshot 'erp_sku_color_id_snapshot'; enable 'erp_sku_color_id'" | hbase shell -n 
echo "disable 'erp_sku_month_start_qty'; restore_snapshot 'erp_sku_month_start_qty_snapshot'; enable 'erp_sku_month_start_qty'" | hbase shell -n 
echo "disable 'erp_sku_to_channel_sku'; restore_snapshot 'erp_sku_to_channel_sku_snapshot'; enable 'erp_sku_to_channel_sku'" | hbase shell -n 
echo "disable 'flink_delivery_confirm_error_log'; restore_snapshot 'flink_delivery_confirm_error_log_snapshot'; enable 'flink_delivery_confirm_error_log'" | hbase shell -n 
echo "disable 'flink_delivery_confirm_relation'; restore_snapshot 'flink_delivery_confirm_relation_snapshot'; enable 'flink_delivery_confirm_relation'" | hbase shell -n 
echo "disable 'flink_delivery_lock_relation'; restore_snapshot 'flink_delivery_lock_relation_snapshot'; enable 'flink_delivery_lock_relation'" | hbase shell -n 
echo "disable 'flink_delivery_order'; restore_snapshot 'flink_delivery_order_snapshot'; enable 'flink_delivery_order'" | hbase shell -n 
echo "disable 'flink_delivery_order_detail'; restore_snapshot 'flink_delivery_order_detail_snapshot'; enable 'flink_delivery_order_detail'" | hbase shell -n 
echo "disable 'flink_delivery_order_lock'; restore_snapshot 'flink_delivery_order_lock_snapshot'; enable 'flink_delivery_order_lock'" | hbase shell -n 
echo "disable 'flink_oms_order'; restore_snapshot 'flink_oms_order_snapshot'; enable 'flink_oms_order'" | hbase shell -n 
echo "disable 'flink_oms_order_delivery_relation'; restore_snapshot 'flink_oms_order_delivery_relation_snapshot'; enable 'flink_oms_order_delivery_relation'" | hbase shell -n 
echo "disable 'flink_poas_translate_channel_order'; restore_snapshot 'flink_poas_translate_channel_order_snapshot'; enable 'flink_poas_translate_channel_order'" | hbase shell -n 
echo "disable 'hb_add_friends'; restore_snapshot 'hb_add_friends_snapshot'; enable 'hb_add_friends'" | hbase shell -n 
echo "disable 'hb_add_inchat'; restore_snapshot 'hb_add_inchat_snapshot'; enable 'hb_add_inchat'" | hbase shell -n 
echo "disable 'hb_cart_favorite_need_reflush'; restore_snapshot 'hb_cart_favorite_need_reflush_snapshot'; enable 'hb_cart_favorite_need_reflush'" | hbase shell -n 
echo "disable 'hb_channel_member_info'; restore_snapshot 'hb_channel_member_info_snapshot'; enable 'hb_channel_member_info'" | hbase shell -n 
echo "disable 'hb_channel_member_rk_acc'; restore_snapshot 'hb_channel_member_rk_acc_snapshot'; enable 'hb_channel_member_rk_acc'" | hbase shell -n 
echo "disable 'hb_channel_member_rk_user'; restore_snapshot 'hb_channel_member_rk_user_snapshot'; enable 'hb_channel_member_rk_user'" | hbase shell -n 
echo "disable 'hb_dim_channel_store'; restore_snapshot 'hb_dim_channel_store_snapshot'; enable 'hb_dim_channel_store'" | hbase shell -n 
echo "disable 'hb_dim_product_info'; restore_snapshot 'hb_dim_product_info_snapshot'; enable 'hb_dim_product_info'" | hbase shell -n 
echo "disable 'hb_dim_sigoweb_product_info'; restore_snapshot 'hb_dim_sigoweb_product_info_snapshot'; enable 'hb_dim_sigoweb_product_info'" | hbase shell -n 
echo "disable 'hb_dim_source_channel'; restore_snapshot 'hb_dim_source_channel_snapshot'; enable 'hb_dim_source_channel'" | hbase shell -n 
echo "disable 'hb_item_sku_info'; restore_snapshot 'hb_item_sku_info_snapshot'; enable 'hb_item_sku_info'" | hbase shell -n 
echo "disable 'hb_key_word_need_reflush'; restore_snapshot 'hb_key_word_need_reflush_snapshot'; enable 'hb_key_word_need_reflush'" | hbase shell -n 
echo "disable 'hb_logic_brand_info'; restore_snapshot 'hb_logic_brand_info_snapshot'; enable 'hb_logic_brand_info'" | hbase shell -n 
echo "disable 'hb_logic_brand_rel'; restore_snapshot 'hb_logic_brand_rel_snapshot'; enable 'hb_logic_brand_rel'" | hbase shell -n 
echo "disable 'hb_member_bind_relation_union'; restore_snapshot 'hb_member_bind_relation_union_snapshot'; enable 'hb_member_bind_relation_union'" | hbase shell -n 
echo "disable 'hb_member_bind_relation_user'; restore_snapshot 'hb_member_bind_relation_user_snapshot'; enable 'hb_member_bind_relation_user'" | hbase shell -n 
echo "disable 'hb_mes_equipment_info'; restore_snapshot 'hb_mes_equipment_info_snapshot'; enable 'hb_mes_equipment_info'" | hbase shell -n 
echo "disable 'hb_oms_order'; restore_snapshot 'hb_oms_order_snapshot'; enable 'hb_oms_order'" | hbase shell -n 
echo "disable 'hb_oms_order_detail'; restore_snapshot 'hb_oms_order_detail_snapshot'; enable 'hb_oms_order_detail'" | hbase shell -n 
echo "disable 'hb_page_view_need_reflush'; restore_snapshot 'hb_page_view_need_reflush_snapshot'; enable 'hb_page_view_need_reflush'" | hbase shell -n 
echo "disable 'hb_pay_order_first'; restore_snapshot 'hb_pay_order_first_snapshot'; enable 'hb_pay_order_first'" | hbase shell -n 
echo "disable 'hb_pay_order_first_product'; restore_snapshot 'hb_pay_order_first_product_snapshot'; enable 'hb_pay_order_first_product'" | hbase shell -n 
echo "disable 'hb_pay_order_first_union'; restore_snapshot 'hb_pay_order_first_union_snapshot'; enable 'hb_pay_order_first_union'" | hbase shell -n 
echo "disable 'hb_pay_order_first_user'; restore_snapshot 'hb_pay_order_first_user_snapshot'; enable 'hb_pay_order_first_user'" | hbase shell -n 
echo "disable 'hb_pay_order_upload_union'; restore_snapshot 'hb_pay_order_upload_union_snapshot'; enable 'hb_pay_order_upload_union'" | hbase shell -n 
echo "disable 'hb_product_sale_plan'; restore_snapshot 'hb_product_sale_plan_snapshot'; enable 'hb_product_sale_plan'" | hbase shell -n 
echo "disable 'hb_qy_user'; restore_snapshot 'hb_qy_user_snapshot'; enable 'hb_qy_user'" | hbase shell -n 
echo "disable 'hb_register_unionid_rel'; restore_snapshot 'hb_register_unionid_rel_snapshot'; enable 'hb_register_unionid_rel'" | hbase shell -n 
echo "disable 'hb_sdk_channel'; restore_snapshot 'hb_sdk_channel_snapshot'; enable 'hb_sdk_channel'" | hbase shell -n 
echo "disable 'hb_sku_to_product_code'; restore_snapshot 'hb_sku_to_product_code_snapshot'; enable 'hb_sku_to_product_code'" | hbase shell -n 
echo "disable 'hb_udf_user_chats'; restore_snapshot 'hb_udf_user_chats_snapshot'; enable 'hb_udf_user_chats'" | hbase shell -n 
echo "disable 'hb_udf_user_friends'; restore_snapshot 'hb_udf_user_friends_snapshot'; enable 'hb_udf_user_friends'" | hbase shell -n 
echo "disable 'hb_user_account_order_record'; restore_snapshot 'hb_user_account_order_record_snapshot'; enable 'hb_user_account_order_record'" | hbase shell -n 
echo "disable 'hb_user_brand_info'; restore_snapshot 'hb_user_brand_info_snapshot'; enable 'hb_user_brand_info'" | hbase shell -n 
echo "disable 'hb_utm_view_need_reflush'; restore_snapshot 'hb_utm_view_need_reflush_snapshot'; enable 'hb_utm_view_need_reflush'" | hbase shell -n 
echo "disable 'hb_utm_view_need_reflush_test'; restore_snapshot 'hb_utm_view_need_reflush_test_snapshot'; enable 'hb_utm_view_need_reflush_test'" | hbase shell -n 
echo "disable 'hb_view_first'; restore_snapshot 'hb_view_first_snapshot'; enable 'hb_view_first'" | hbase shell -n 
echo "disable 'hb_view_first_union'; restore_snapshot 'hb_view_first_union_snapshot'; enable 'hb_view_first_union'" | hbase shell -n 
echo "disable 'hb_view_first_user'; restore_snapshot 'hb_view_first_user_snapshot'; enable 'hb_view_first_user'" | hbase shell -n 
echo "disable 'hb_visitor_accum'; restore_snapshot 'hb_visitor_accum_snapshot'; enable 'hb_visitor_accum'" | hbase shell -n 
echo "disable 'hb_visitor_user_rel'; restore_snapshot 'hb_visitor_user_rel_snapshot'; enable 'hb_visitor_user_rel'" | hbase shell -n 
echo "disable 'hb_wecom_add_friends'; restore_snapshot 'hb_wecom_add_friends_snapshot'; enable 'hb_wecom_add_friends'" | hbase shell -n 
echo "disable 'hb_wecom_add_inchat'; restore_snapshot 'hb_wecom_add_inchat_snapshot'; enable 'hb_wecom_add_inchat'" | hbase shell -n 
echo "disable 'hb_wecom_first_order'; restore_snapshot 'hb_wecom_first_order_snapshot'; enable 'hb_wecom_first_order'" | hbase shell -n 
echo "disable 'member_action_detail'; restore_snapshot 'member_action_detail_snapshot'; enable 'member_action_detail'" | hbase shell -n 
echo "disable 'member_continuous_login'; restore_snapshot 'member_continuous_login_snapshot'; enable 'member_continuous_login'" | hbase shell -n 
echo "disable 'member_continuous_sign'; restore_snapshot 'member_continuous_sign_snapshot'; enable 'member_continuous_sign'" | hbase shell -n 
echo "disable 'pay_account_order_table'; restore_snapshot 'pay_account_order_table_snapshot'; enable 'pay_account_order_table'" | hbase shell -n 
echo "disable 'pay_order_upload_table'; restore_snapshot 'pay_order_upload_table_snapshot'; enable 'pay_order_upload_table'" | hbase shell -n 
echo "disable 'procure_transit_data'; restore_snapshot 'procure_transit_data_snapshot'; enable 'procure_transit_data'" | hbase shell -n 
echo "disable 'product_color_dim'; restore_snapshot 'product_color_dim_snapshot'; enable 'product_color_dim'" | hbase shell -n 
echo "disable 'product_color_sku_dim'; restore_snapshot 'product_color_sku_dim_snapshot'; enable 'product_color_sku_dim'" | hbase shell -n 
echo "disable 'product_inv_bonded_target'; restore_snapshot 'product_inv_bonded_target_snapshot'; enable 'product_inv_bonded_target'" | hbase shell -n 
echo "disable 'product_sale_plan_target'; restore_snapshot 'product_sale_plan_target_snapshot'; enable 'product_sale_plan_target'" | hbase shell -n 
echo "disable 'rebate_cost'; restore_snapshot 'rebate_cost_snapshot'; enable 'rebate_cost'" | hbase shell -n 
echo "disable 'sigo_web_product_map'; restore_snapshot 'sigo_web_product_map_snapshot'; enable 'sigo_web_product_map'" | hbase shell -n 
echo "disable 'sigoweb_brand_id_code_map'; restore_snapshot 'sigoweb_brand_id_code_map_snapshot'; enable 'sigoweb_brand_id_code_map'" | hbase shell -n 
echo "disable 'sku_bonded_stock_cental_detail'; restore_snapshot 'sku_bonded_stock_cental_detail_snapshot'; enable 'sku_bonded_stock_cental_detail'" | hbase shell -n 
echo "disable 'sku_id_to_code'; restore_snapshot 'sku_id_to_code_snapshot'; enable 'sku_id_to_code'" | hbase shell -n 
echo "disable 'sku_inv_bonded_target'; restore_snapshot 'sku_inv_bonded_target_snapshot'; enable 'sku_inv_bonded_target'" | hbase shell -n 
echo "disable 'sku_sale_msg'; restore_snapshot 'sku_sale_msg_snapshot'; enable 'sku_sale_msg'" | hbase shell -n 
echo "disable 'sku_stock_cental_detail'; restore_snapshot 'sku_stock_cental_detail_snapshot'; enable 'sku_stock_cental_detail'" | hbase shell -n 
echo "disable 'stock_in_transit_detail'; restore_snapshot 'stock_in_transit_detail_snapshot'; enable 'stock_in_transit_detail'" | hbase shell -n 
echo "disable 'subscribe_restocked_hb'; restore_snapshot 'subscribe_restocked_hb_snapshot'; enable 'subscribe_restocked_hb'" | hbase shell -n 
echo "disable 'user_view_pay'; restore_snapshot 'user_view_pay_snapshot'; enable 'user_view_pay'" | hbase shell -n 
echo "disable 'visitor_view_pay'; restore_snapshot 'visitor_view_pay_snapshot'; enable 'visitor_view_pay'" | hbase shell -n 
echo "disable 'whid_color_stock_central_target'; restore_snapshot 'whid_color_stock_central_target_snapshot'; enable 'whid_color_stock_central_target'" | hbase shell -n 
echo "disable 'whid_detail'; restore_snapshot 'whid_detail_snapshot'; enable 'whid_detail'" | hbase shell -n 
echo "disable 'whid_product_stock_central_target'; restore_snapshot 'whid_product_stock_central_target_snapshot'; enable 'whid_product_stock_central_target'" | hbase shell -n 
echo "disable 'whid_sku_stock_cental_target'; restore_snapshot 'whid_sku_stock_cental_target_snapshot'; enable 'whid_sku_stock_cental_target'" | hbase shell -n 
echo "disable 'xhs_ascribe'; restore_snapshot 'xhs_ascribe_snapshot'; enable 'xhs_ascribe'" | hbase shell -n 
echo "disable 'yjq_company_info'; restore_snapshot 'yjq_company_info_snapshot'; enable 'yjq_company_info'" | hbase shell -n 
echo "disable 'yjq_page_tag'; restore_snapshot 'yjq_page_tag_snapshot'; enable 'yjq_page_tag'" | hbase shell -n 
echo "disable 'yjq_page_type'; restore_snapshot 'yjq_page_type_snapshot'; enable 'yjq_page_type'" | hbase shell -n 
echo "disable 'yjq_product_dim'; restore_snapshot 'yjq_product_dim_snapshot'; enable 'yjq_product_dim'" | hbase shell -n 
