This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
########################################################################### | |
# Hacky script that takes a ksck report as input and prints commands | |
# to remove unavailable replicas with the | |
# 'kudu remote_replica unsafe_change_config' tool. It's recommended to | |
# supply output from 'kudu cluster ksck <masters_rpc_endpoints> --verbose' | |
# to the script. | |
# This script should not be used without expert assistance. | |
########################################################################### | |
# Licensed to the Apache Software Foundation (ASF) under one |