#!/bin/bash

for i in $(cat ./hbaseTable);do

echo "disable '$i'" | hbase shell
echo "restore_snapshot '$i-Snapshot-1220'" | hbase shell
echo "enable '$i'" | hbase shell
done

相关文章:

  • 2021-10-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-10
  • 2022-02-25
猜你喜欢
  • 2022-12-23
  • 2021-05-28
  • 2022-01-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-11
相关资源
相似解决方案